diff --git a/src/ConstantContact/Definition/ActivityDeleteListResponse.php b/src/ConstantContact/Definition/ActivityDeleteListResponse.php index 5a51512..3f1383f 100644 --- a/src/ConstantContact/Definition/ActivityDeleteListResponse.php +++ b/src/ConstantContact/Definition/ActivityDeleteListResponse.php @@ -7,13 +7,13 @@ /** * @property \PHPFUI\ConstantContact\UUID $activity_id Unique ID for the delete list batch job. * @property string $state The state of the request: - *
The state of the request:
segment_id
integers.
* @property int $count The number of contacts that Constant Contact sent this email campaign activity to. This property is specific to each send history object. When you resend an email campaign activity, Constant Contact only sends it to new contacts in the contact lists or segments you are using.
* @property \PHPFUI\ConstantContact\DateTime $run_date The system generated date and time that Constant Contact sent the email campaign activity to contacts in ISO-8601 format.
- * @property string $send_status The send status for the email campaign activity. Valid values are: COMPLETED
: Constant Contact successfully sent the email campaign activity.ERRORED
: Constant Contact encountered an error when sending the email campaign activity.0
if Constant Contact successfully sent the email campaign activity to contacts. Possible reason_code
values are: reason_code
12 as a send attempt with a send_status
of COMPLETED and a count
of 0.reason_code
12 as a send attempt with a send_status
of COMPLETED and a count
of 0.plan_type
from TRIAL
to any other billing plan type, you cannot change it back to TRIAL
.
* TRIAL
: A non-billable account with an expiration date that allows clients to try Constant Contact product features.GOLD
: A billable client account plan.SILVER
: A billable client account plan.BRONZE
: A billable client account plan.GOLD
: A billable client account plan.SILVER
: A billable client account plan.BRONZE
: A billable client account plan.plan_type
value changes from a TRIAL
plan to a different plan_type
. For trial accounts, the value defaults to null. You can only change the billing_day_of_month
when changing the plan_type
value from TRIAL
to a different plan_type
, otherwise the value you enter is ignored.
diff --git a/src/ConstantContact/Definition/PlanTiersObject.php b/src/ConstantContact/Definition/PlanTiersObject.php
index 7bf7fa2..459e99e 100644
--- a/src/ConstantContact/Definition/PlanTiersObject.php
+++ b/src/ConstantContact/Definition/PlanTiersObject.php
@@ -7,7 +7,7 @@
/**
* @property string $plan_type The billing plan that is associated with a client's Constant Contact account. The billing plan determines which Constant Contact product features that the client account can access. If you are not on the latest billing plan, contact the Constant Contact Partner Team. However, older billing plans and plan_type
enum values will continue to be supported. TRIAL
: Provides limited product features for a non-billed account and the account has an expiration date.BRONZE
: Billable plan that provides basic email and marketing tools.BRONZE
: Billable plan that provides basic email and marketing tools.SILVER
: Billable plan that provides all features available in the BRONZE
plan, and adds some additional email campaign to features, such as contact segmentation and social media ads integration.GOLD
: Billable plan that provides all available product features.N
: not_setT
: temp_holdP
: pending_confirmationI
: implicitE
: explicitO
: unsubscribedD
:deprecatedT
: temp_holdP
: pending_confirmationI
: implicitE
: explicitO
: unsubscribedD
:deprecatedcountry_code
does not match the contacts country_code
.
* @property string $formatted_national The formatted SMS number returned if the SMS country_code
matches the contacts country_code
.
*/
diff --git a/src/ConstantContact/V3/Account/Emails.php b/src/ConstantContact/V3/Account/Emails.php
index 5cc80c3..3a102ce 100644
--- a/src/ConstantContact/V3/Account/Emails.php
+++ b/src/ConstantContact/V3/Account/Emails.php
@@ -28,7 +28,7 @@ public function __construct(\PHPFUI\ConstantContact\Client $client)
*
*
* @param string $confirm_status Use the `confirm_status` query parameter to search for account emails using the email status. Possible values are `CONFIRMED` or `UNCONFIRMED`. You can also abbreviate the values of this query parameter and use `C` or `U`.
- *
+
* @param string $role_code Use the `role_code` query parameter to search for account emails that have a specific role. Each each email address in an account can have multiple roles or no role. Possible values are `CONTACT`, `BILLING`, `REPLY_TO`, `JOURNALING`, or `OTHER`. You can also abbreviate the value of this query parameter and use `C`,`B`,`R`,`J`, or `O`.
* @param string $email_address Use the `email_address` query parameter to search for a specific account email address.
*/
@@ -58,21 +58,12 @@ public function get(?string $confirm_status = null, ?string $role_code = null, ?
return $this->doGet(['confirm_status' => $confirm_status, 'role_code' => $role_code, 'email_address' => $email_address, ]);
}
- /**
- * @return array<\PHPFUI\ConstantContact\Definition\AccountEmails>
- */
- public function getReturnSchema(?string $confirm_status = null, ?string $role_code = null, ?string $email_address = null) : array
+ public function getReturnSchema(?string $confirm_status = null, ?string $role_code = null, ?string $email_address = null) : \PHPFUI\ConstantContact\Definition\AccountEmails
{
- $array = [];
-
- foreach ($this->get($confirm_status, $role_code, $email_address) as $object)
- {
- $array[] = new \PHPFUI\ConstantContact\Definition\AccountEmails($object);
- }
-
- return $array;
+ return new \PHPFUI\ConstantContact\Definition\AccountEmails($this->get($confirm_status, $role_code, $email_address));
}
+
/**
* POST Add an Account Email Address
*
@@ -101,4 +92,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\AccountEmail
{
return new \PHPFUI\ConstantContact\Definition\AccountEmailCreateResponse($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Account/Summary.php b/src/ConstantContact/V3/Account/Summary.php
index 896d0f1..1fa409a 100644
--- a/src/ConstantContact/V3/Account/Summary.php
+++ b/src/ConstantContact/V3/Account/Summary.php
@@ -47,6 +47,7 @@ public function getReturnSchema(?string $extra_fields = null) : \PHPFUI\Constant
return new \PHPFUI\ConstantContact\Definition\Customer($this->get($extra_fields));
}
+
/**
* PUT (update) Account Details
*
@@ -69,4 +70,5 @@ public function putReturnSchema(\PHPFUI\ConstantContact\Definition\CustomerPut $
{
return new \PHPFUI\ConstantContact\Definition\CustomerPut($this->put($body));
}
+
}
diff --git a/src/ConstantContact/V3/Account/Summary/PhysicalAddress.php b/src/ConstantContact/V3/Account/Summary/PhysicalAddress.php
index 4142c66..32c09a0 100644
--- a/src/ConstantContact/V3/Account/Summary/PhysicalAddress.php
+++ b/src/ConstantContact/V3/Account/Summary/PhysicalAddress.php
@@ -31,6 +31,7 @@ public function getReturnSchema() : \PHPFUI\ConstantContact\Definition\AccountPh
return new \PHPFUI\ConstantContact\Definition\AccountPhysicalAddress($this->get());
}
+
/**
* POST the Physical Address for the Account
*
@@ -55,6 +56,7 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\AccountPhysi
return new \PHPFUI\ConstantContact\Definition\AccountPhysicalAddress($this->post($body));
}
+
/**
* PUT (update) the Physical Address for an Account
*
@@ -82,4 +84,5 @@ public function putReturnSchema(\PHPFUI\ConstantContact\Definition\AccountPhysic
{
return new \PHPFUI\ConstantContact\Definition\AccountPhysicalAddress($this->put($body));
}
+
}
diff --git a/src/ConstantContact/V3/Account/User/Privileges.php b/src/ConstantContact/V3/Account/User/Privileges.php
index dc7d60f..3b2142c 100644
--- a/src/ConstantContact/V3/Account/User/Privileges.php
+++ b/src/ConstantContact/V3/Account/User/Privileges.php
@@ -28,18 +28,9 @@ public function get() : array
return $this->doGet([]);
}
- /**
- * @return array<\PHPFUI\ConstantContact\Definition\UserPrivilegesResource>
- */
- public function getReturnSchema() : array
+ public function getReturnSchema() : \PHPFUI\ConstantContact\Definition\UserPrivilegesResource
{
- $array = [];
-
- foreach ($this->get() as $object)
- {
- $array[] = new \PHPFUI\ConstantContact\Definition\UserPrivilegesResource($object);
- }
-
- return $array;
+ return new \PHPFUI\ConstantContact\Definition\UserPrivilegesResource($this->get());
}
+
}
diff --git a/src/ConstantContact/V3/Activities.php b/src/ConstantContact/V3/Activities.php
index c6156ba..5e0009a 100644
--- a/src/ConstantContact/V3/Activities.php
+++ b/src/ConstantContact/V3/Activities.php
@@ -43,4 +43,5 @@ public function getReturnSchema(?int $limit = null, ?string $state = null) : \PH
{
return new \PHPFUI\ConstantContact\Definition\Activities($this->get($limit, $state));
}
+
}
diff --git a/src/ConstantContact/V3/Activities/AddListMemberships.php b/src/ConstantContact/V3/Activities/AddListMemberships.php
index d05f374..1a6a0c1 100644
--- a/src/ConstantContact/V3/Activities/AddListMemberships.php
+++ b/src/ConstantContact/V3/Activities/AddListMemberships.php
@@ -32,4 +32,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\ListActivity
{
return new \PHPFUI\ConstantContact\Definition\ActivityListsMembership($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Activities/ContactDelete.php b/src/ConstantContact/V3/Activities/ContactDelete.php
index 294adba..57b88b3 100644
--- a/src/ConstantContact/V3/Activities/ContactDelete.php
+++ b/src/ConstantContact/V3/Activities/ContactDelete.php
@@ -34,4 +34,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\ContactDelet
{
return new \PHPFUI\ConstantContact\Definition\ActivityDeleteStatus($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Activities/ContactExports.php b/src/ConstantContact/V3/Activities/ContactExports.php
index cbf3660..d46e04d 100644
--- a/src/ConstantContact/V3/Activities/ContactExports.php
+++ b/src/ConstantContact/V3/Activities/ContactExports.php
@@ -37,4 +37,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\ContactsExpo
{
return new \PHPFUI\ConstantContact\Definition\ActivityExportStatus($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Activities/ContactsFileImport.php b/src/ConstantContact/V3/Activities/ContactsFileImport.php
index 949479d..af1c643 100644
--- a/src/ConstantContact/V3/Activities/ContactsFileImport.php
+++ b/src/ConstantContact/V3/Activities/ContactsFileImport.php
@@ -30,8 +30,8 @@ public function __construct(\PHPFUI\ConstantContact\Client $client)
* and the remaining data is dropped.
*
* @param string $file The CSV file you are importing. The column headings that you can use in the file are: `first_name`, `last_name`, `email`, `phone`, `job_title`, `anniversary`, `birthday_day`, `birthday_month`, `company_name`, `street`, `street2`, `city`, `state`, `zip`, and `country`. The only required column heading is `email`.
- *
- * You can also use custom fields as column headings. Enter the custom field name prefixed with `cf:` as the column heading. For example, use `cf:first_name` as the header name if you have a custom field named "first_name". The custom field must already exist in the Constant Contact account you are using. Depending on the custom field data type, you can enter dates or strings as the value of the custom field. Each contact can contain up to 25 different custom fields.
+
+You can also use custom fields as column headings. Enter the custom field name prefixed with `cf:` as the column heading. For example, use `cf:first_name` as the header name if you have a custom field named "first_name". The custom field must already exist in the Constant Contact account you are using. Depending on the custom field data type, you can enter dates or strings as the value of the custom field. Each contact can contain up to 25 different custom fields.
* @param array $list_ids Specify which contact lists you are adding all imported contacts to as an array of up to 50 contact `list_id` values.
*/
public function post(string $file, array $list_ids) : array
@@ -44,4 +44,5 @@ public function postReturnSchema(string $file, array $list_ids) : \PHPFUI\Consta
{
return new \PHPFUI\ConstantContact\Definition\ActivityImport($this->post($file, $list_ids));
}
+
}
diff --git a/src/ConstantContact/V3/Activities/ContactsJsonImport.php b/src/ConstantContact/V3/Activities/ContactsJsonImport.php
index dac4ad5..9fdd378 100644
--- a/src/ConstantContact/V3/Activities/ContactsJsonImport.php
+++ b/src/ConstantContact/V3/Activities/ContactsJsonImport.php
@@ -49,4 +49,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\ContactsJson
{
return new \PHPFUI\ConstantContact\Definition\ActivityImport($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Activities/ContactsTaggingsAdd.php b/src/ConstantContact/V3/Activities/ContactsTaggingsAdd.php
index f8e435a..1787608 100644
--- a/src/ConstantContact/V3/Activities/ContactsTaggingsAdd.php
+++ b/src/ConstantContact/V3/Activities/ContactsTaggingsAdd.php
@@ -37,4 +37,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\TagAddRemove
{
return new \PHPFUI\ConstantContact\Definition\ActivityTagging($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Activities/ContactsTaggingsRemove.php b/src/ConstantContact/V3/Activities/ContactsTaggingsRemove.php
index 8a7e877..859275e 100644
--- a/src/ConstantContact/V3/Activities/ContactsTaggingsRemove.php
+++ b/src/ConstantContact/V3/Activities/ContactsTaggingsRemove.php
@@ -37,4 +37,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\TagAddRemove
{
return new \PHPFUI\ConstantContact\Definition\ActivityTagging($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Activities/ContactsTagsDelete.php b/src/ConstantContact/V3/Activities/ContactsTagsDelete.php
index 47cd458..f8e0c8c 100644
--- a/src/ConstantContact/V3/Activities/ContactsTagsDelete.php
+++ b/src/ConstantContact/V3/Activities/ContactsTagsDelete.php
@@ -31,4 +31,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\TagIdList500
{
return new \PHPFUI\ConstantContact\Definition\ActivityTagging($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Activities/CustomFieldsDelete.php b/src/ConstantContact/V3/Activities/CustomFieldsDelete.php
index 1db42a5..b6b5c4c 100644
--- a/src/ConstantContact/V3/Activities/CustomFieldsDelete.php
+++ b/src/ConstantContact/V3/Activities/CustomFieldsDelete.php
@@ -29,4 +29,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\CustomFieldI
{
return new \PHPFUI\ConstantContact\Definition\ActivityDeleteCustomFields($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Activities/ListDelete.php b/src/ConstantContact/V3/Activities/ListDelete.php
index 3138b3c..e5818aa 100644
--- a/src/ConstantContact/V3/Activities/ListDelete.php
+++ b/src/ConstantContact/V3/Activities/ListDelete.php
@@ -28,4 +28,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\ListIdList10
{
return new \PHPFUI\ConstantContact\Definition\ActivityDeleteListsResponse($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Activities/RemoveListMemberships.php b/src/ConstantContact/V3/Activities/RemoveListMemberships.php
index 7cd7d23..9f2345d 100644
--- a/src/ConstantContact/V3/Activities/RemoveListMemberships.php
+++ b/src/ConstantContact/V3/Activities/RemoveListMemberships.php
@@ -34,4 +34,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\ListActivity
{
return new \PHPFUI\ConstantContact\Definition\ActivityListsMembership($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Activity.php b/src/ConstantContact/V3/Activity.php
index bf1b1ff..593527c 100644
--- a/src/ConstantContact/V3/Activity.php
+++ b/src/ConstantContact/V3/Activity.php
@@ -28,4 +28,5 @@ public function getReturnSchema(string $activity_id) : \PHPFUI\ConstantContact\D
{
return new \PHPFUI\ConstantContact\Definition\Activity($this->get($activity_id));
}
+
}
diff --git a/src/ConstantContact/V3/Contact.php b/src/ConstantContact/V3/Contact.php
index edb7e8b..96977fe 100644
--- a/src/ConstantContact/V3/Contact.php
+++ b/src/ConstantContact/V3/Contact.php
@@ -63,6 +63,7 @@ public function getReturnSchema(string $contact_id, ?string $include = null) : \
return new \PHPFUI\ConstantContact\Definition\ContactResource($this->get($contact_id, $include));
}
+
/**
* PUT (update) a Contact
*
@@ -89,4 +90,5 @@ public function putReturnSchema(string $contact_id, \PHPFUI\ConstantContact\Defi
{
return new \PHPFUI\ConstantContact\Definition\ContactResource($this->put($contact_id, $body));
}
+
}
diff --git a/src/ConstantContact/V3/ContactCustomField.php b/src/ConstantContact/V3/ContactCustomField.php
index de12c09..4207209 100644
--- a/src/ConstantContact/V3/ContactCustomField.php
+++ b/src/ConstantContact/V3/ContactCustomField.php
@@ -43,6 +43,7 @@ public function getReturnSchema(string $custom_field_id) : \PHPFUI\ConstantConta
return new \PHPFUI\ConstantContact\Definition\CustomFieldResource($this->get($custom_field_id));
}
+
/**
* PUT (update) a custom_field
*
@@ -61,4 +62,5 @@ public function putReturnSchema(string $custom_field_id, \PHPFUI\ConstantContact
{
return new \PHPFUI\ConstantContact\Definition\CustomFieldResource($this->put($custom_field_id, $body));
}
+
}
diff --git a/src/ConstantContact/V3/ContactCustomFields.php b/src/ConstantContact/V3/ContactCustomFields.php
index 5aa9ccb..d755a1f 100644
--- a/src/ConstantContact/V3/ContactCustomFields.php
+++ b/src/ConstantContact/V3/ContactCustomFields.php
@@ -33,6 +33,7 @@ public function getReturnSchema(?int $limit = null) : \PHPFUI\ConstantContact\De
return new \PHPFUI\ConstantContact\Definition\CustomFields($this->get($limit));
}
+
/**
* POST (create) a custom_field
*
@@ -51,4 +52,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\CustomFieldI
{
return new \PHPFUI\ConstantContact\Definition\CustomFieldResource($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/ContactExports.php b/src/ConstantContact/V3/ContactExports.php
index ac617b6..c915a20 100644
--- a/src/ConstantContact/V3/ContactExports.php
+++ b/src/ConstantContact/V3/ContactExports.php
@@ -30,4 +30,5 @@ public function getReturnSchema(string $file_export_id) : \PHPFUI\ConstantContac
{
return new \PHPFUI\ConstantContact\Definition\ActivityExportStatus($this->get($file_export_id));
}
+
}
diff --git a/src/ConstantContact/V3/ContactList.php b/src/ConstantContact/V3/ContactList.php
index 091667d..15e72c2 100644
--- a/src/ConstantContact/V3/ContactList.php
+++ b/src/ConstantContact/V3/ContactList.php
@@ -32,6 +32,7 @@ public function deleteReturnSchema(string $list_id) : \PHPFUI\ConstantContact\De
return new \PHPFUI\ConstantContact\Definition\ActivityDeleteListResponse($this->delete($list_id));
}
+
/**
* GET a List
*
@@ -62,6 +63,7 @@ public function getReturnSchema(string $list_id, ?string $include_membership_cou
return new \PHPFUI\ConstantContact\Definition\ContactList($this->get($list_id, $include_membership_count));
}
+
/**
* PUT (update) a List
*
@@ -80,4 +82,5 @@ public function putReturnSchema(string $list_id, \PHPFUI\ConstantContact\Definit
{
return new \PHPFUI\ConstantContact\Definition\ContactListPutPost($this->put($list_id, $JSON_PUT_body));
}
+
}
diff --git a/src/ConstantContact/V3/ContactLists.php b/src/ConstantContact/V3/ContactLists.php
index e89ff64..dcf2fcb 100644
--- a/src/ConstantContact/V3/ContactLists.php
+++ b/src/ConstantContact/V3/ContactLists.php
@@ -57,6 +57,7 @@ public function getReturnSchema(?int $limit = null, ?bool $include_count = null,
return new \PHPFUI\ConstantContact\Definition\ContactListArray($this->get($limit, $include_count, $include_membership_count, $name, $status));
}
+
/**
* POST (create) a List
*
@@ -74,4 +75,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\ListInput $b
{
return new \PHPFUI\ConstantContact\Definition\ContactListPutPost($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/ContactLists/ListIdXrefs.php b/src/ConstantContact/V3/ContactLists/ListIdXrefs.php
index 66302fa..c296266 100644
--- a/src/ConstantContact/V3/ContactLists/ListIdXrefs.php
+++ b/src/ConstantContact/V3/ContactLists/ListIdXrefs.php
@@ -41,4 +41,5 @@ public function getReturnSchema(string $sequence_ids) : \PHPFUI\ConstantContact\
{
return new \PHPFUI\ConstantContact\Definition\ListXrefs($this->get($sequence_ids));
}
+
}
diff --git a/src/ConstantContact/V3/ContactTag.php b/src/ConstantContact/V3/ContactTag.php
index 6a5e0c8..7175c51 100644
--- a/src/ConstantContact/V3/ContactTag.php
+++ b/src/ConstantContact/V3/ContactTag.php
@@ -33,6 +33,7 @@ public function deleteReturnSchema(string $tag_id) : \PHPFUI\ConstantContact\Def
return new \PHPFUI\ConstantContact\Definition\ActivityGeneric($this->delete($tag_id));
}
+
/**
* GET Tag Details
*
@@ -56,6 +57,7 @@ public function getReturnSchema(string $tag_id, ?bool $include_count = null) : \
return new \PHPFUI\ConstantContact\Definition\Tag($this->get($tag_id, $include_count));
}
+
/**
* PUT (Update) a Tag
*
@@ -78,4 +80,5 @@ public function putReturnSchema(string $tag_id, \PHPFUI\ConstantContact\Definiti
{
return new \PHPFUI\ConstantContact\Definition\Tag($this->put($tag_id, $body));
}
+
}
diff --git a/src/ConstantContact/V3/ContactTags.php b/src/ConstantContact/V3/ContactTags.php
index 4bb3730..1a3b989 100644
--- a/src/ConstantContact/V3/ContactTags.php
+++ b/src/ConstantContact/V3/ContactTags.php
@@ -41,6 +41,7 @@ public function getReturnSchema(?int $limit = null, ?bool $include_count = null)
return new \PHPFUI\ConstantContact\Definition\Tags($this->get($limit, $include_count));
}
+
/**
* POST (Create) a Tag
*
@@ -62,4 +63,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\TagPost $bod
{
return new \PHPFUI\ConstantContact\Definition\Tag($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Contacts.php b/src/ConstantContact/V3/Contacts.php
index f760742..52f185f 100644
--- a/src/ConstantContact/V3/Contacts.php
+++ b/src/ConstantContact/V3/Contacts.php
@@ -97,6 +97,7 @@ public function getReturnSchema(?string $status = null, ?string $email = null, ?
return new \PHPFUI\ConstantContact\Definition\Contacts($this->get($status, $email, $lists, $segment_id, $tags, $updated_after, $updated_before, $created_after, $created_before, $optout_after, $optout_before, $include, $sms_status, $include_count, $limit));
}
+
/**
* POST (create) a Contact
*
@@ -117,4 +118,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\ContactPostR
{
return new \PHPFUI\ConstantContact\Definition\ContactResource($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Contacts/ContactIdXrefs.php b/src/ConstantContact/V3/Contacts/ContactIdXrefs.php
index c3e6e68..2568d84 100644
--- a/src/ConstantContact/V3/Contacts/ContactIdXrefs.php
+++ b/src/ConstantContact/V3/Contacts/ContactIdXrefs.php
@@ -41,4 +41,5 @@ public function getReturnSchema(string $sequence_ids) : \PHPFUI\ConstantContact\
{
return new \PHPFUI\ConstantContact\Definition\ContactXrefs($this->get($sequence_ids));
}
+
}
diff --git a/src/ConstantContact/V3/Contacts/Counts.php b/src/ConstantContact/V3/Contacts/Counts.php
index 5618341..5fa7c92 100644
--- a/src/ConstantContact/V3/Contacts/Counts.php
+++ b/src/ConstantContact/V3/Contacts/Counts.php
@@ -44,4 +44,5 @@ public function getReturnSchema(?string $include = null) : \PHPFUI\ConstantConta
{
return new \PHPFUI\ConstantContact\Definition\ContactsCounts($this->get($include));
}
+
}
diff --git a/src/ConstantContact/V3/Contacts/SignUpForm.php b/src/ConstantContact/V3/Contacts/SignUpForm.php
index 4691ee0..9d253f3 100644
--- a/src/ConstantContact/V3/Contacts/SignUpForm.php
+++ b/src/ConstantContact/V3/Contacts/SignUpForm.php
@@ -62,4 +62,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\ContactCreat
{
return new \PHPFUI\ConstantContact\Definition\ContactCreateOrUpdateResponse($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Contacts/SmsEngagementHistory.php b/src/ConstantContact/V3/Contacts/SmsEngagementHistory.php
index 6cb3fa4..7f5205b 100644
--- a/src/ConstantContact/V3/Contacts/SmsEngagementHistory.php
+++ b/src/ConstantContact/V3/Contacts/SmsEngagementHistory.php
@@ -25,18 +25,9 @@ public function get(string $contact_id) : array
return $this->doGet(['contact_id' => $contact_id, ]);
}
- /**
- * @return array<\PHPFUI\ConstantContact\Definition\SmsEngagementHistory>
- */
- public function getReturnSchema(string $contact_id) : array
+ public function getReturnSchema(string $contact_id) : \PHPFUI\ConstantContact\Definition\SmsEngagementHistory
{
- $array = [];
-
- foreach ($this->get($contact_id) as $object)
- {
- $array[] = new \PHPFUI\ConstantContact\Definition\SmsEngagementHistory($object);
- }
-
- return $array;
+ return new \PHPFUI\ConstantContact\Definition\SmsEngagementHistory($this->get($contact_id));
}
+
}
diff --git a/src/ConstantContact/V3/Email.php b/src/ConstantContact/V3/Email.php
index a61b67e..10a56bd 100644
--- a/src/ConstantContact/V3/Email.php
+++ b/src/ConstantContact/V3/Email.php
@@ -51,6 +51,7 @@ public function getReturnSchema(string $campaign_id) : \PHPFUI\ConstantContact\D
return new \PHPFUI\ConstantContact\Definition\EmailCampaign($this->get($campaign_id));
}
+
/**
* PATCH (Update) an Email Campaign Name
*
@@ -71,4 +72,5 @@ public function patchReturnSchema(string $campaign_id, \PHPFUI\ConstantContact\D
{
return new \PHPFUI\ConstantContact\Definition\EmailCampaign($this->patch($campaign_id, $body));
}
+
}
diff --git a/src/ConstantContact/V3/Emails.php b/src/ConstantContact/V3/Emails.php
index 812e5e8..c48ec73 100644
--- a/src/ConstantContact/V3/Emails.php
+++ b/src/ConstantContact/V3/Emails.php
@@ -43,6 +43,7 @@ public function getReturnSchema(?int $limit = null, ?string $before_date = null,
return new \PHPFUI\ConstantContact\Definition\PagedEmailCampaignResponse($this->get($limit, $before_date, $after_date));
}
+
/**
* POST (Create) a New Email Campaign
*
@@ -72,4 +73,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\EmailCampaig
{
return new \PHPFUI\ConstantContact\Definition\EmailCampaign($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Emails/Activities.php b/src/ConstantContact/V3/Emails/Activities.php
index 4e4e480..69b4a65 100644
--- a/src/ConstantContact/V3/Emails/Activities.php
+++ b/src/ConstantContact/V3/Emails/Activities.php
@@ -51,6 +51,7 @@ public function getReturnSchema(string $campaign_activity_id, ?string $include =
return new \PHPFUI\ConstantContact\Definition\EmailCampaignActivity($this->get($campaign_activity_id, $include));
}
+
/**
* PUT (Update) An Email Campaign Activity
*
@@ -82,4 +83,5 @@ public function putReturnSchema(string $campaign_activity_id, \PHPFUI\ConstantCo
{
return new \PHPFUI\ConstantContact\Definition\EmailCampaignActivity($this->put($campaign_activity_id, $body));
}
+
}
diff --git a/src/ConstantContact/V3/Emails/Activities/Abtest.php b/src/ConstantContact/V3/Emails/Activities/Abtest.php
index 6426454..27c7c5a 100644
--- a/src/ConstantContact/V3/Emails/Activities/Abtest.php
+++ b/src/ConstantContact/V3/Emails/Activities/Abtest.php
@@ -51,6 +51,7 @@ public function getReturnSchema(string $campaign_activity_id) : \PHPFUI\Constant
return new \PHPFUI\ConstantContact\Definition\ABTestData($this->get($campaign_activity_id));
}
+
/**
* POST (Create) an A/B Test for an Email Campaign Activity
*
@@ -75,4 +76,5 @@ public function postReturnSchema(string $campaign_activity_id, \PHPFUI\ConstantC
{
return new \PHPFUI\ConstantContact\Definition\ABTestData($this->post($campaign_activity_id, $abtest));
}
+
}
diff --git a/src/ConstantContact/V3/Emails/Activities/NonOpenerResends.php b/src/ConstantContact/V3/Emails/Activities/NonOpenerResends.php
index 356cebf..11ab819 100644
--- a/src/ConstantContact/V3/Emails/Activities/NonOpenerResends.php
+++ b/src/ConstantContact/V3/Emails/Activities/NonOpenerResends.php
@@ -27,21 +27,12 @@ public function get(string $campaign_activity_id) : array
return $this->doGet(['campaign_activity_id' => $campaign_activity_id, ]);
}
- /**
- * @return array<\PHPFUI\ConstantContact\Definition\ResendToNonOpeners>
- */
- public function getReturnSchema(string $campaign_activity_id) : array
+ public function getReturnSchema(string $campaign_activity_id) : \PHPFUI\ConstantContact\Definition\ResendToNonOpeners
{
- $array = [];
-
- foreach ($this->get($campaign_activity_id) as $object)
- {
- $array[] = new \PHPFUI\ConstantContact\Definition\ResendToNonOpeners($object);
- }
-
- return $array;
+ return new \PHPFUI\ConstantContact\Definition\ResendToNonOpeners($this->get($campaign_activity_id));
}
+
/**
* POST a Resend to Non-openers Campaign Activity
*
@@ -73,4 +64,5 @@ public function postReturnSchema(string $campaign_activity_id, \PHPFUI\ConstantC
{
return new \PHPFUI\ConstantContact\Definition\ResendToNonOpenersObject($this->post($campaign_activity_id, $resend_schedule));
}
+
}
diff --git a/src/ConstantContact/V3/Emails/Activities/Previews.php b/src/ConstantContact/V3/Emails/Activities/Previews.php
index 4be4dfc..8f2a322 100644
--- a/src/ConstantContact/V3/Emails/Activities/Previews.php
+++ b/src/ConstantContact/V3/Emails/Activities/Previews.php
@@ -38,4 +38,5 @@ public function getReturnSchema(string $campaign_activity_id) : \PHPFUI\Constant
{
return new \PHPFUI\ConstantContact\Definition\EmailCampaignActivityPreview($this->get($campaign_activity_id));
}
+
}
diff --git a/src/ConstantContact/V3/Emails/Activities/Schedules.php b/src/ConstantContact/V3/Emails/Activities/Schedules.php
index 0e4ceee..704bd6a 100644
--- a/src/ConstantContact/V3/Emails/Activities/Schedules.php
+++ b/src/ConstantContact/V3/Emails/Activities/Schedules.php
@@ -44,21 +44,12 @@ public function get(string $campaign_activity_id) : array
return $this->doGet(['campaign_activity_id' => $campaign_activity_id, ]);
}
- /**
- * @return array<\PHPFUI\ConstantContact\Definition\EmailScheduleResponse>
- */
- public function getReturnSchema(string $campaign_activity_id) : array
+ public function getReturnSchema(string $campaign_activity_id) : \PHPFUI\ConstantContact\Definition\EmailScheduleResponse
{
- $array = [];
-
- foreach ($this->get($campaign_activity_id) as $object)
- {
- $array[] = new \PHPFUI\ConstantContact\Definition\EmailScheduleResponse($object);
- }
-
- return $array;
+ return new \PHPFUI\ConstantContact\Definition\EmailScheduleResponse($this->get($campaign_activity_id));
}
+
/**
* POST (Create) an Email Campaign Activity Schedule
*
@@ -90,18 +81,9 @@ public function post(string $campaign_activity_id, \PHPFUI\ConstantContact\Defin
return $this->doPost(['campaign_activity_id' => $campaign_activity_id, 'body' => $body->getData(), ]);
}
- /**
- * @return array<\PHPFUI\ConstantContact\Definition\EmailScheduleResponse>
- */
- public function postReturnSchema(string $campaign_activity_id, \PHPFUI\ConstantContact\Definition\EmailScheduleInput $body) : array
+ public function postReturnSchema(string $campaign_activity_id, \PHPFUI\ConstantContact\Definition\EmailScheduleInput $body) : \PHPFUI\ConstantContact\Definition\EmailScheduleResponse
{
- $array = [];
-
- foreach ($this->post($campaign_activity_id, $body) as $object)
- {
- $array[] = new \PHPFUI\ConstantContact\Definition\EmailScheduleResponse($object);
- }
-
- return $array;
+ return new \PHPFUI\ConstantContact\Definition\EmailScheduleResponse($this->post($campaign_activity_id, $body));
}
+
}
diff --git a/src/ConstantContact/V3/Emails/Activities/SendHistory.php b/src/ConstantContact/V3/Emails/Activities/SendHistory.php
index 512beaf..cb78290 100644
--- a/src/ConstantContact/V3/Emails/Activities/SendHistory.php
+++ b/src/ConstantContact/V3/Emails/Activities/SendHistory.php
@@ -38,18 +38,9 @@ public function get(string $campaign_activity_id) : array
return $this->doGet(['campaign_activity_id' => $campaign_activity_id, ]);
}
- /**
- * @return array<\PHPFUI\ConstantContact\Definition\EmailSendHistory>
- */
- public function getReturnSchema(string $campaign_activity_id) : array
+ public function getReturnSchema(string $campaign_activity_id) : \PHPFUI\ConstantContact\Definition\EmailSendHistory
{
- $array = [];
-
- foreach ($this->get($campaign_activity_id) as $object)
- {
- $array[] = new \PHPFUI\ConstantContact\Definition\EmailSendHistory($object);
- }
-
- return $array;
+ return new \PHPFUI\ConstantContact\Definition\EmailSendHistory($this->get($campaign_activity_id));
}
+
}
diff --git a/src/ConstantContact/V3/Emails/CampaignIdXrefs.php b/src/ConstantContact/V3/Emails/CampaignIdXrefs.php
index b425a9c..7d9ba10 100644
--- a/src/ConstantContact/V3/Emails/CampaignIdXrefs.php
+++ b/src/ConstantContact/V3/Emails/CampaignIdXrefs.php
@@ -41,4 +41,5 @@ public function getReturnSchema(string $v2_email_campaign_ids) : \PHPFUI\Constan
{
return new \PHPFUI\ConstantContact\Definition\CrossReferenceResponse($this->get($v2_email_campaign_ids));
}
+
}
diff --git a/src/ConstantContact/V3/Partner/Accounts.php b/src/ConstantContact/V3/Partner/Accounts.php
index b2c0fe5..7a678b9 100644
--- a/src/ConstantContact/V3/Partner/Accounts.php
+++ b/src/ConstantContact/V3/Partner/Accounts.php
@@ -49,6 +49,7 @@ public function getReturnSchema(?string $offset = null, ?string $limit = null, ?
return new \PHPFUI\ConstantContact\Definition\PartnerAccount($this->get($offset, $limit, $account_type));
}
+
/**
* POST (create) a Partner Client Account
*
@@ -90,4 +91,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\Provision $p
{
return new \PHPFUI\ConstantContact\Definition\ProvisionResponse($this->post($provision));
}
+
}
diff --git a/src/ConstantContact/V3/Partner/Accounts/Plan.php b/src/ConstantContact/V3/Partner/Accounts/Plan.php
index e2e27c7..dc54a34 100644
--- a/src/ConstantContact/V3/Partner/Accounts/Plan.php
+++ b/src/ConstantContact/V3/Partner/Accounts/Plan.php
@@ -38,6 +38,7 @@ public function getReturnSchema(string $encoded_account_id) : \PHPFUI\ConstantCo
return new \PHPFUI\ConstantContact\Definition\PlanTiersObject($this->get($encoded_account_id));
}
+
/**
* PUT (update) Billing Plan Details for a Client Account
*
@@ -72,15 +73,15 @@ public function getReturnSchema(string $encoded_account_id) : \PHPFUI\ConstantCo
* in the API guide.
*
* @param string $encoded_account_id Specify the client's unique `encoded_account_id`.
- * @param \PHPFUI\ConstantContact\Definition\PlanInfo $body `plan_type`: Updates the billing plan assigned to a client account to a different `plan_type`.
- *
- * `plan_group_id`: To update an older `plan_type` to a current a `plan_type`, use the `plan_group_id` parameter to specify the older billing `plan_type` number.
- *
- * - If the specified `plan_group_id` does not exist under the account's current plan group, the default partner plan group is used.
- * - If the specified `plan_group_id` exists but does not match the account's current plan group, an error is returned.
- * - If the `plan_group_id` parameter is not included in the request, the accounts current plan group is used.
- *
- * `billing_day_of _month`: Updates the day of month in which to bill the client account. This property is required if a client account is not set up to use single billing.
+ * @param \PHPFUI\ConstantContact\Definition\PlanInfo $body `plan_type`: Updates the billing plan assigned to a client account to a different `plan_type`.
+
+`plan_group_id`: To update an older `plan_type` to a current a `plan_type`, use the `plan_group_id` parameter to specify the older billing `plan_type` number.
+
+- If the specified `plan_group_id` does not exist under the account's current plan group, the default partner plan group is used.
+- If the specified `plan_group_id` exists but does not match the account's current plan group, an error is returned.
+- If the `plan_group_id` parameter is not included in the request, the accounts current plan group is used.
+
+`billing_day_of _month`: Updates the day of month in which to bill the client account. This property is required if a client account is not set up to use single billing.
*/
public function put(string $encoded_account_id, ?\PHPFUI\ConstantContact\Definition\PlanInfo $body = null) : array
{
@@ -92,4 +93,5 @@ public function putReturnSchema(string $encoded_account_id, ?\PHPFUI\ConstantCon
{
return new \PHPFUI\ConstantContact\Definition\PlanTiersObject($this->put($encoded_account_id, $body));
}
+
}
diff --git a/src/ConstantContact/V3/Partner/Accounts/Status/Cancel.php b/src/ConstantContact/V3/Partner/Accounts/Status/Cancel.php
index 6027295..6b7c50f 100644
--- a/src/ConstantContact/V3/Partner/Accounts/Status/Cancel.php
+++ b/src/ConstantContact/V3/Partner/Accounts/Status/Cancel.php
@@ -44,4 +44,5 @@ public function putReturnSchema(string $encoded_account_id, ?\PHPFUI\ConstantCon
{
return new \PHPFUI\ConstantContact\Definition\AccountCancellation($this->put($encoded_account_id, $body));
}
+
}
diff --git a/src/ConstantContact/V3/Partner/Accounts/Users/Sso.php b/src/ConstantContact/V3/Partner/Accounts/Users/Sso.php
index 703d237..285495e 100644
--- a/src/ConstantContact/V3/Partner/Accounts/Users/Sso.php
+++ b/src/ConstantContact/V3/Partner/Accounts/Users/Sso.php
@@ -17,7 +17,7 @@ public function __construct(\PHPFUI\ConstantContact\Client $client)
* Use this endpoint to create a new user under a partner client account
* that has the Single Sign On (SSO) for all users feature enabled.
*
- * @param string $encoded_account_id The encoded account ID that identifies the partner's client account to which to add the new user.
+ * @param string $encoded_account_id The encoded account ID that identifies the partner's client account to which to add the new user.
* @param \PHPFUI\ConstantContact\Definition\SSOUser $SSO_User The JSON payload used to create a new user under the specified partner's client account. All request body properties are required (`first_name`, `last_name`, `role_name`, `contact_email`, `login_name`, `external_id`, `external_provider`).
*/
public function post(string $encoded_account_id, \PHPFUI\ConstantContact\Definition\SSOUser $SSO_User) : array
diff --git a/src/ConstantContact/V3/Partner/Webhooks/Subscription.php b/src/ConstantContact/V3/Partner/Webhooks/Subscription.php
index df627b4..9913cee 100644
--- a/src/ConstantContact/V3/Partner/Webhooks/Subscription.php
+++ b/src/ConstantContact/V3/Partner/Webhooks/Subscription.php
@@ -54,6 +54,7 @@ public function getReturnSchema(string $topic_id) : \PHPFUI\ConstantContact\Defi
return new \PHPFUI\ConstantContact\Definition\WebhooksSubscriptionResponse($this->get($topic_id));
}
+
/**
* PUT Webhook Topic Subscription
*
@@ -95,4 +96,5 @@ public function putReturnSchema(string $topic_id, \PHPFUI\ConstantContact\Defini
{
return new \PHPFUI\ConstantContact\Definition\WebhooksSubscriptionPutResp($this->put($topic_id, $body));
}
+
}
diff --git a/src/ConstantContact/V3/Partner/Webhooks/Subscriptions.php b/src/ConstantContact/V3/Partner/Webhooks/Subscriptions.php
index 849d12f..1f06ebe 100644
--- a/src/ConstantContact/V3/Partner/Webhooks/Subscriptions.php
+++ b/src/ConstantContact/V3/Partner/Webhooks/Subscriptions.php
@@ -24,18 +24,9 @@ public function get() : array
return $this->doGet([]);
}
- /**
- * @return array<\PHPFUI\ConstantContact\Definition\WebhooksSubscriptionCollection>
- */
- public function getReturnSchema() : array
+ public function getReturnSchema() : \PHPFUI\ConstantContact\Definition\WebhooksSubscriptionCollection
{
- $array = [];
-
- foreach ($this->get() as $object)
- {
- $array[] = new \PHPFUI\ConstantContact\Definition\WebhooksSubscriptionCollection($object);
- }
-
- return $array;
+ return new \PHPFUI\ConstantContact\Definition\WebhooksSubscriptionCollection($this->get());
}
+
}
diff --git a/src/ConstantContact/V3/Partner/Webhooks/Subscriptions/Tests.php b/src/ConstantContact/V3/Partner/Webhooks/Subscriptions/Tests.php
index 3495380..a7b22c0 100644
--- a/src/ConstantContact/V3/Partner/Webhooks/Subscriptions/Tests.php
+++ b/src/ConstantContact/V3/Partner/Webhooks/Subscriptions/Tests.php
@@ -39,4 +39,5 @@ public function postReturnSchema(string $topic_id) : \PHPFUI\ConstantContact\Def
{
return new \PHPFUI\ConstantContact\Definition\WebhooksTestSend($this->post($topic_id));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/ContactReports/ActivityDetails.php b/src/ConstantContact/V3/Reports/ContactReports/ActivityDetails.php
index e7e1439..00d8da7 100644
--- a/src/ConstantContact/V3/Reports/ContactReports/ActivityDetails.php
+++ b/src/ConstantContact/V3/Reports/ContactReports/ActivityDetails.php
@@ -56,4 +56,5 @@ public function getReturnSchema(string $contact_id, ?string $tracking_activities
{
return new \PHPFUI\ConstantContact\Definition\ContactTrackingActivitiesPage($this->get($contact_id, $tracking_activities_list, $tracking_activity_type, $include_campaign_activity_names, $limit));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/ContactReports/ActivitySummary.php b/src/ConstantContact/V3/Reports/ContactReports/ActivitySummary.php
index ae8c04e..2749e8a 100644
--- a/src/ConstantContact/V3/Reports/ContactReports/ActivitySummary.php
+++ b/src/ConstantContact/V3/Reports/ContactReports/ActivitySummary.php
@@ -32,4 +32,5 @@ public function getReturnSchema(string $contact_id, string $start, string $end)
{
return new \PHPFUI\ConstantContact\Definition\ContactCampaignActivitiesSummary($this->get($contact_id, $start, $end));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/ContactReports/OpenAndClickRates.php b/src/ConstantContact/V3/Reports/ContactReports/OpenAndClickRates.php
index d81c4c6..5583523 100644
--- a/src/ConstantContact/V3/Reports/ContactReports/OpenAndClickRates.php
+++ b/src/ConstantContact/V3/Reports/ContactReports/OpenAndClickRates.php
@@ -36,4 +36,5 @@ public function getReturnSchema(string $contact_id, string $start, string $end)
{
return new \PHPFUI\ConstantContact\Definition\ContactOpenAndClickRates($this->get($contact_id, $start, $end));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/EmailReports/Links.php b/src/ConstantContact/V3/Reports/EmailReports/Links.php
index 98c49b7..ad2a401 100644
--- a/src/ConstantContact/V3/Reports/EmailReports/Links.php
+++ b/src/ConstantContact/V3/Reports/EmailReports/Links.php
@@ -38,4 +38,5 @@ public function getReturnSchema(string $campaign_activity_id, ?bool $no_clicks =
{
return new \PHPFUI\ConstantContact\Definition\EmailLinks($this->get($campaign_activity_id, $no_clicks));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Bounces.php b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Bounces.php
index 22bd2f1..41b6f95 100644
--- a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Bounces.php
+++ b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Bounces.php
@@ -39,4 +39,5 @@ public function getReturnSchema(string $campaign_activity_id, ?array $bounce_cod
{
return new \PHPFUI\ConstantContact\Definition\BouncesTrackingActivitiesPage($this->get($campaign_activity_id, $bounce_code, $limit));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Clicks.php b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Clicks.php
index 1c58452..6d167b5 100644
--- a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Clicks.php
+++ b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Clicks.php
@@ -33,4 +33,5 @@ public function getReturnSchema(string $campaign_activity_id, ?int $url_id = nul
{
return new \PHPFUI\ConstantContact\Definition\ClicksTrackingActivitiesPage($this->get($campaign_activity_id, $url_id, $limit));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Didnotopens.php b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Didnotopens.php
index 3891b9f..b716f12 100644
--- a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Didnotopens.php
+++ b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Didnotopens.php
@@ -35,4 +35,5 @@ public function getReturnSchema(string $campaign_activity_id, ?string $limit = n
{
return new \PHPFUI\ConstantContact\Definition\DidNotOpensTrackingActivitiesPage($this->get($campaign_activity_id, $limit));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Forwards.php b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Forwards.php
index ef030f5..291532d 100644
--- a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Forwards.php
+++ b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Forwards.php
@@ -36,4 +36,5 @@ public function getReturnSchema(string $campaign_activity_id, ?string $limit = n
{
return new \PHPFUI\ConstantContact\Definition\ForwardsTrackingActivitiesPage($this->get($campaign_activity_id, $limit));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Opens.php b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Opens.php
index 534b8f0..6bb60c4 100644
--- a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Opens.php
+++ b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Opens.php
@@ -35,4 +35,5 @@ public function getReturnSchema(string $campaign_activity_id, ?string $limit = n
{
return new \PHPFUI\ConstantContact\Definition\OpensTrackingActivitiesPage($this->get($campaign_activity_id, $limit));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Optouts.php b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Optouts.php
index f571329..96f2da8 100644
--- a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Optouts.php
+++ b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Optouts.php
@@ -36,4 +36,5 @@ public function getReturnSchema(string $campaign_activity_id, ?string $limit = n
{
return new \PHPFUI\ConstantContact\Definition\OptoutsTrackingActivitiesPage($this->get($campaign_activity_id, $limit));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Sends.php b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Sends.php
index 1664f73..e8aa841 100644
--- a/src/ConstantContact/V3/Reports/EmailReports/Tracking/Sends.php
+++ b/src/ConstantContact/V3/Reports/EmailReports/Tracking/Sends.php
@@ -35,4 +35,5 @@ public function getReturnSchema(string $campaign_activity_id, ?string $limit = n
{
return new \PHPFUI\ConstantContact\Definition\SendsTrackingActivitiesPage($this->get($campaign_activity_id, $limit));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/EmailReports/Tracking/UniqueOpens.php b/src/ConstantContact/V3/Reports/EmailReports/Tracking/UniqueOpens.php
index 4bb96bb..a900a9e 100644
--- a/src/ConstantContact/V3/Reports/EmailReports/Tracking/UniqueOpens.php
+++ b/src/ConstantContact/V3/Reports/EmailReports/Tracking/UniqueOpens.php
@@ -36,4 +36,5 @@ public function getReturnSchema(string $campaign_activity_id, ?string $limit = n
{
return new \PHPFUI\ConstantContact\Definition\OpensTrackingActivitiesPage($this->get($campaign_activity_id, $limit));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PContactOpens.php b/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PContactOpens.php
index 2b183c6..5b00867 100644
--- a/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PContactOpens.php
+++ b/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PContactOpens.php
@@ -32,4 +32,5 @@ public function getReturnSchema(string $campaign_activity_id, ?string $limit = n
{
return new \PHPFUI\ConstantContact\Definition\PContactOpensTrackingActivitiesPage($this->get($campaign_activity_id, $limit, $contacts_filter));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactAdds.php b/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactAdds.php
index 1aa526e..0aeb8f9 100644
--- a/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactAdds.php
+++ b/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactAdds.php
@@ -33,4 +33,5 @@ public function getReturnSchema(string $campaign_activity_id, ?string $limit = n
{
return new \PHPFUI\ConstantContact\Definition\PContactAddTrackingActivitiesPage($this->get($campaign_activity_id, $limit, $contacts_filter));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactClicks.php b/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactClicks.php
index 8f8af3a..e38f813 100644
--- a/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactClicks.php
+++ b/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactClicks.php
@@ -35,4 +35,5 @@ public function getReturnSchema(string $campaign_activity_id, ?string $limit = n
{
return new \PHPFUI\ConstantContact\Definition\PContactClickTrackingActivitiesPage($this->get($campaign_activity_id, $limit, $contacts_filter));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactOpens.php b/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactOpens.php
index 16516c8..6f00f63 100644
--- a/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactOpens.php
+++ b/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactOpens.php
@@ -32,4 +32,5 @@ public function getReturnSchema(string $campaign_activity_id, ?string $limit = n
{
return new \PHPFUI\ConstantContact\Definition\PContactOpensTrackingActivitiesPage($this->get($campaign_activity_id, $limit, $contacts_filter));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactSmsOptins.php b/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactSmsOptins.php
index 9dc1d57..85c502f 100644
--- a/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactSmsOptins.php
+++ b/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactSmsOptins.php
@@ -33,4 +33,5 @@ public function getReturnSchema(string $campaign_activity_id, ?string $limit = n
{
return new \PHPFUI\ConstantContact\Definition\PContactSMSOptInTrackingActivitiesPage($this->get($campaign_activity_id, $limit, $contacts_filter));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactUpdates.php b/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactUpdates.php
index c616ae0..fb611c5 100644
--- a/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactUpdates.php
+++ b/src/ConstantContact/V3/Reports/LandingPages/CampaignDetails/PUniqueContactUpdates.php
@@ -33,4 +33,5 @@ public function getReturnSchema(string $campaign_activity_id, ?string $limit = n
{
return new \PHPFUI\ConstantContact\Definition\PContactUpdateTrackingActivitiesPage($this->get($campaign_activity_id, $limit, $contacts_filter));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/Stats/EmailCampaignActivities.php b/src/ConstantContact/V3/Reports/Stats/EmailCampaignActivities.php
index 5327937..5580e27 100644
--- a/src/ConstantContact/V3/Reports/Stats/EmailCampaignActivities.php
+++ b/src/ConstantContact/V3/Reports/Stats/EmailCampaignActivities.php
@@ -42,4 +42,5 @@ public function getReturnSchema(string $campaign_activity_ids) : \PHPFUI\Constan
{
return new \PHPFUI\ConstantContact\Definition\CampaignActivityStatsQueryResultEmail($this->get($campaign_activity_ids));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/Stats/EmailCampaigns.php b/src/ConstantContact/V3/Reports/Stats/EmailCampaigns.php
index 0029a6a..50fd1f0 100644
--- a/src/ConstantContact/V3/Reports/Stats/EmailCampaigns.php
+++ b/src/ConstantContact/V3/Reports/Stats/EmailCampaigns.php
@@ -37,4 +37,5 @@ public function getReturnSchema(string $campaign_ids) : \PHPFUI\ConstantContact\
{
return new \PHPFUI\ConstantContact\Definition\CampaignStatsQueryResultEmail($this->get($campaign_ids));
}
+
}
diff --git a/src/ConstantContact/V3/Reports/SummaryReports/EmailCampaignSummaries.php b/src/ConstantContact/V3/Reports/SummaryReports/EmailCampaignSummaries.php
index fac8c9a..86e975c 100644
--- a/src/ConstantContact/V3/Reports/SummaryReports/EmailCampaignSummaries.php
+++ b/src/ConstantContact/V3/Reports/SummaryReports/EmailCampaignSummaries.php
@@ -41,4 +41,5 @@ public function getReturnSchema(?string $limit = null) : \PHPFUI\ConstantContact
{
return new \PHPFUI\ConstantContact\Definition\BulkEmailCampaignSummariesPage($this->get($limit));
}
+
}
diff --git a/src/ConstantContact/V3/Segment.php b/src/ConstantContact/V3/Segment.php
index ce37988..15fa560 100644
--- a/src/ConstantContact/V3/Segment.php
+++ b/src/ConstantContact/V3/Segment.php
@@ -56,6 +56,7 @@ public function getReturnSchema(int $segment_id) : \PHPFUI\ConstantContact\Defin
return new \PHPFUI\ConstantContact\Definition\SegmentDetail($this->get($segment_id));
}
+
/**
* PUT (update) a Segment
*
@@ -83,4 +84,5 @@ public function putReturnSchema(int $segment_id, \PHPFUI\ConstantContact\Definit
{
return new \PHPFUI\ConstantContact\Definition\SegmentDetail($this->put($segment_id, $body));
}
+
}
diff --git a/src/ConstantContact/V3/Segments.php b/src/ConstantContact/V3/Segments.php
index c9d9760..df6f5f8 100644
--- a/src/ConstantContact/V3/Segments.php
+++ b/src/ConstantContact/V3/Segments.php
@@ -34,6 +34,7 @@ public function getReturnSchema(?string $limit = null, ?string $sort_by = null)
return new \PHPFUI\ConstantContact\Definition\SegmentsDTO($this->get($limit, $sort_by));
}
+
/**
* POST (create) a Segment
*
@@ -76,4 +77,5 @@ public function postReturnSchema(\PHPFUI\ConstantContact\Definition\SegmentData
{
return new \PHPFUI\ConstantContact\Definition\SegmentDetail($this->post($body));
}
+
}
diff --git a/src/ConstantContact/V3/Segments/Name.php b/src/ConstantContact/V3/Segments/Name.php
index 37e4e73..dcdc698 100644
--- a/src/ConstantContact/V3/Segments/Name.php
+++ b/src/ConstantContact/V3/Segments/Name.php
@@ -32,4 +32,5 @@ public function patchReturnSchema(int $segment_id, \PHPFUI\ConstantContact\Defin
{
return new \PHPFUI\ConstantContact\Definition\SegmentDetail($this->patch($segment_id, $body));
}
+
}