Skip to content

Commit ec9eb58

Browse files
committed
V25.2.0 - 2025-02-15
1 parent d08926f commit ec9eb58

18 files changed

+610
-246
lines changed

src/ConstantContact/Definition/ActivityDeleteListResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<li>failed - job failed to complete</li>
1616
<li>timed_out - the request timed out before completing"</li>
1717
* </ul> </p>
18-
* @property \PHPFUI\ConstantContact\DateTime $created_at Date and time that the request was received, in ISO-8601 formmat.
18+
* @property \PHPFUI\ConstantContact\DateTime $created_at Date and time that the request was received, in ISO-8601 format.
1919
* @property \PHPFUI\ConstantContact\DateTime $updated_at Date and time that the request status was updated, in ISO-8601 format.
2020
* @property int $percent_done Job completion percentage
2121
* @property array $activity_errors Array of messages describing the errors that occurred.

src/ConstantContact/Definition/ContactCreateOrUpdateInput.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* @property int $birthday_month The month value for the contact's birthday. Valid values are from 1 through 12. The <code>birthday_month</code> property is required if you use <code>birthday_day</code>.
1818
* @property int $birthday_day The day value for the contact's birthday. Valid values are from 1 through 31. The <code>birthday_day</code> property is required if you use <code>birthday_month</code>.
1919
* @property \PHPFUI\ConstantContact\Definition\StreetAddress $street_address
20+
* @property string $sms_channel The contact's SMS compatible phone number.
2021
*/
2122
class ContactCreateOrUpdateInput extends \PHPFUI\ConstantContact\Definition\Base
2223
{
@@ -33,6 +34,7 @@ class ContactCreateOrUpdateInput extends \PHPFUI\ConstantContact\Definition\Base
3334
'birthday_month' => 'int',
3435
'birthday_day' => 'int',
3536
'street_address' => '\PHPFUI\ConstantContact\Definition\StreetAddress',
37+
'sms_channel' => 'string',
3638

3739
];
3840

src/ConstantContact/Definition/ContactPostRequest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* @property array<\PHPFUI\ConstantContact\UUID> $list_memberships Array of <code>list_id</code>s to which the contact is being subscribed, up to a maximum of 50.
2121
* @property array<\PHPFUI\ConstantContact\UUID> $taggings Array of tags (<code>tag_id</code>) assigned to the contact, up to a maximum of 50.
2222
* @property array<\PHPFUI\ConstantContact\Definition\Note> $notes An array of notes about the contact.
23+
* @property \PHPFUI\ConstantContact\Definition\ContactSmsChannel $sms_channel
2324
*/
2425
class ContactPostRequest extends \PHPFUI\ConstantContact\Definition\Base
2526
{
@@ -39,6 +40,7 @@ class ContactPostRequest extends \PHPFUI\ConstantContact\Definition\Base
3940
'list_memberships' => 'array<\PHPFUI\ConstantContact\UUID>',
4041
'taggings' => 'array<\PHPFUI\ConstantContact\UUID>',
4142
'notes' => 'array<\PHPFUI\ConstantContact\Definition\Note>',
43+
'sms_channel' => '\PHPFUI\ConstantContact\Definition\ContactSmsChannel',
4244

4345
];
4446

src/ConstantContact/Definition/ContactPutRequest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* @property array<\PHPFUI\ConstantContact\UUID> $list_memberships Array of up to 50 <code>list_ids</code> to which the contact is subscribed.
2121
* @property array<\PHPFUI\ConstantContact\UUID> $taggings Array of tags (<code>tag_id</code>) assigned to the contact, up to a maximum of 50.
2222
* @property array<\PHPFUI\ConstantContact\Definition\Note> $notes An array of notes about the contact listed by most recent note first.
23+
* @property \PHPFUI\ConstantContact\Definition\ContactSmsChannel $sms_channel
2324
*/
2425
class ContactPutRequest extends \PHPFUI\ConstantContact\Definition\Base
2526
{
@@ -39,6 +40,7 @@ class ContactPutRequest extends \PHPFUI\ConstantContact\Definition\Base
3940
'list_memberships' => 'array<\PHPFUI\ConstantContact\UUID>',
4041
'taggings' => 'array<\PHPFUI\ConstantContact\UUID>',
4142
'notes' => 'array<\PHPFUI\ConstantContact\Definition\Note>',
43+
'sms_channel' => '\PHPFUI\ConstantContact\Definition\ContactSmsChannel',
4244

4345
];
4446

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use update.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\Definition;
6+
7+
/**
8+
* @property array<\PHPFUI\ConstantContact\UUID> $list_ids Array of list id values. Constant Contact adds the resubscribed contact to the contact lists you provide in the array.
9+
*/
10+
class ContactResubscribeRequest extends \PHPFUI\ConstantContact\Definition\Base
11+
{
12+
protected static array $fields = [
13+
'list_ids' => 'array<\PHPFUI\ConstantContact\UUID>',
14+
15+
];
16+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use update.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\Definition;
6+
7+
/**
8+
* @property string $full_sms_address The SMS-capable phone number for the Contact, including the dial code
9+
* @property array<\PHPFUI\ConstantContact\Definition\ContactSmsChannelConsents> $sms_channel_consents The consents for the SMS Channel.
10+
*/
11+
class ContactSmsChannel extends \PHPFUI\ConstantContact\Definition\Base
12+
{
13+
protected static array $fields = [
14+
'full_sms_address' => 'string',
15+
'sms_channel_consents' => 'array<\PHPFUI\ConstantContact\Definition\ContactSmsChannelConsents>',
16+
17+
];
18+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use update.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\Definition;
6+
7+
/**
8+
* @property string $sms_consent_permission The current status of the SMS channel.
9+
* @property string $consent_type The type of consent provided.
10+
* @property string $consent_medium_details Additional information about the consent such as the type of device used.
11+
*/
12+
class ContactSmsChannelConsents extends \PHPFUI\ConstantContact\Definition\Base
13+
{
14+
protected static array $fields = [
15+
'sms_consent_permission' => 'string',
16+
'consent_type' => 'string',
17+
'consent_medium_details' => 'string',
18+
19+
];
20+
}

src/ConstantContact/Definition/HistoryDetails.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* @property string $consent_action_type The type of consent action provided.
1313
* @property string $consent_medium_type The code representing the medium used to provide consent. Medium types include mobile device (<code>MD</code>). lead generation form(<code>LF</code>), deactivation by carrier(<code>CD</code>), import_file:(<code>FI</code>), and system (<code>SY</code>).
1414
* @property string $source_consent_timestamp The time that SMS consent was last updated.
15-
* @property string $source_ip If applicable, the IP address from which the consent came.
1615
* @property string $source_sms_number If applicable, the SMS consent number associated with the source.
1716
* @property int $advertised_frequency If applicable, the advertising numeric component used to advertise to the contact.. For example, if <code>advertised_frequency</code> is set to <code> 2</code> , and <code>advertised_interval</code> is set to <code>M</code>, the contact receives advertisements twice a month.
1817
* @property string $advertised_interval If applicable, the interval component used to advertise to the contact. For example, if <code>advertised_frequency</code> is set to <code> 2</code> , and <code>advertised_interval</code> is set to <code>M</code>, the contact receives advertisements twice a month.
@@ -27,7 +26,6 @@ class HistoryDetails extends \PHPFUI\ConstantContact\Definition\Base
2726
'consent_action_type' => 'string',
2827
'consent_medium_type' => 'string',
2928
'source_consent_timestamp' => 'string',
30-
'source_ip' => 'string',
3129
'source_sms_number' => 'string',
3230
'advertised_frequency' => 'int',
3331
'advertised_interval' => 'string',
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use update.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\Definition;
6+
7+
/**
8+
* @property string $sms_address The contact's SMS-capable phone number, excluding the country code.
9+
* @property string $dial_code The dial code the country uses. For example, use <code>1</code> for the United States dial code.
10+
* @property string $country_code The two-digit code that identifies the country.
11+
* @property array<\PHPFUI\ConstantContact\Definition\JmmlSmsChannelConsents> $sms_channel_consents The consents provided for the SMS Channel.
12+
*/
13+
class JmmlSmsChannel extends \PHPFUI\ConstantContact\Definition\Base
14+
{
15+
protected static array $fields = [
16+
'sms_address' => 'string',
17+
'dial_code' => 'string',
18+
'country_code' => 'string',
19+
'sms_channel_consents' => 'array<\PHPFUI\ConstantContact\Definition\JmmlSmsChannelConsents>',
20+
21+
];
22+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
3+
// Generated file. Do not edit by hand. Use update.php in project root.
4+
5+
namespace PHPFUI\ConstantContact\Definition;
6+
7+
/**
8+
* @property string $sms_consent_permission The current consent status of the SMS Channel.
9+
* @property string $consent_type The type of consent provided.
10+
* @property string $consent_medium_type A code representing where the consent was retrieved.
11+
* @property string $consent_medium_url The URL for which the consent was gathered, such as a landing page.
12+
* @property string $consent_medium_details Additional information for the consent
13+
* @property int $advertised_frequency The numeric component used to indicate how often to send advertising. For example, <code>1</code> indicates once. Use with <code>advertised_internal</code> property to indicate when on the calender to send it. For example, to send once (<code>1</code>) daily, weekly, or monthly.
14+
* @property string $advertised_interval The calender interval used to indicate when advertising is sent. For example <code>weekly</code>.
15+
*/
16+
class JmmlSmsChannelConsents extends \PHPFUI\ConstantContact\Definition\Base
17+
{
18+
protected static array $fields = [
19+
'sms_consent_permission' => 'string',
20+
'consent_type' => 'string',
21+
'consent_medium_type' => 'string',
22+
'consent_medium_url' => 'string',
23+
'consent_medium_details' => 'string',
24+
'advertised_frequency' => 'int',
25+
'advertised_interval' => 'string',
26+
27+
];
28+
}

0 commit comments

Comments
 (0)