Skip to content

Commit

Permalink
[Librarian] Regenerated @ 07a9a183b1077d5a881e6cd53ef76b0d75ccc6b0
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Jul 27, 2023
1 parent 8bee4d7 commit 664ca3e
Show file tree
Hide file tree
Showing 16 changed files with 185 additions and 145 deletions.
20 changes: 20 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
twilio-php Changelog
====================

[2023-07-27] Version 7.7.1
--------------------------
**Api**
- Added `voice-intelligence`, `voice-intelligence-transcription` and `voice-intelligence-operators` to `usage_record` API.
- Added `tts-google` to `usage_record` API.

**Lookups**
- Add new `disposable_phone_number_risk` package to the lookup response

**Verify**
- Documentation of list attempts API was improved by correcting `date_created_after` and `date_created_before` expected date format.
- Documentation was improved by correcting `date_created_after` and `date_created_before` expected date format parameter on attempts summary API.
- Documentation was improved by adding `WHATSAPP` as optional valid parameter on attempts summary API.

**Twiml**
- Added support for he-il inside of ssm_lang.json that was missing
- Added support for he-il language in say.json that was missing
- Add `statusCallback` and `statusCallbackMethod` attributes to `<Siprec>`.


[2023-07-13] Version 7.7.0
--------------------------
**Flex**
Expand Down
6 changes: 3 additions & 3 deletions src/Twilio/Rest/Api/V2010/Account/Message/MediaContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ class MediaContext extends InstanceContext
* Initialize the MediaContext
*
* @param Version $version Version that contains the resource
* @param string $accountSid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Media resource(s) to delete.
* @param string $messageSid The SID of the Message resource that this Media resource belongs to.
* @param string $sid The Twilio-provided string that uniquely identifies the Media resource to delete
* @param string $accountSid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is associated with the Media resource.
* @param string $messageSid The SID of the Message resource that is associated with the Media resource.
* @param string $sid The unique identifier of the to-be-deleted Media resource.
*/
public function __construct(
Version $version,
Expand Down
6 changes: 3 additions & 3 deletions src/Twilio/Rest/Api/V2010/Account/Message/MediaInstance.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ class MediaInstance extends InstanceResource
*
* @param Version $version Version that contains the resource
* @param mixed[] $payload The response payload
* @param string $accountSid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Media resource(s) to delete.
* @param string $messageSid The SID of the Message resource that this Media resource belongs to.
* @param string $sid The Twilio-provided string that uniquely identifies the Media resource to delete
* @param string $accountSid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is associated with the Media resource.
* @param string $messageSid The SID of the Message resource that is associated with the Media resource.
* @param string $sid The unique identifier of the to-be-deleted Media resource.
*/
public function __construct(Version $version, array $payload, string $accountSid, string $messageSid, string $sid = null)
{
Expand Down
6 changes: 3 additions & 3 deletions src/Twilio/Rest/Api/V2010/Account/Message/MediaList.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class MediaList extends ListResource
* Construct the MediaList
*
* @param Version $version Version that contains the resource
* @param string $accountSid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Media resource(s) to delete.
* @param string $messageSid The SID of the Message resource that this Media resource belongs to.
* @param string $accountSid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is associated with the Media resource.
* @param string $messageSid The SID of the Message resource that is associated with the Media resource.
*/
public function __construct(
Version $version,
Expand Down Expand Up @@ -160,7 +160,7 @@ public function getPage(string $targetUrl): MediaPage
/**
* Constructs a MediaContext
*
* @param string $sid The Twilio-provided string that uniquely identifies the Media resource to delete
* @param string $sid The unique identifier of the to-be-deleted Media resource.
*/
public function getContext(
string $sid
Expand Down
24 changes: 12 additions & 12 deletions src/Twilio/Rest/Api/V2010/Account/Message/MediaOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ abstract class MediaOptions


/**
* @param string $dateCreatedBefore Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
* @param string $dateCreated Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
* @param string $dateCreatedAfter Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
* @param string $dateCreatedBefore Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
* @param string $dateCreated Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
* @param string $dateCreatedAfter Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
* @return ReadMediaOptions Options builder
*/
public static function read(
Expand All @@ -50,9 +50,9 @@ public static function read(
class ReadMediaOptions extends Options
{
/**
* @param string $dateCreatedBefore Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
* @param string $dateCreated Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
* @param string $dateCreatedAfter Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
* @param string $dateCreatedBefore Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
* @param string $dateCreated Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
* @param string $dateCreatedAfter Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
*/
public function __construct(

Expand All @@ -67,9 +67,9 @@ public function __construct(
}

/**
* Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
* Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
*
* @param string $dateCreatedBefore Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
* @param string $dateCreatedBefore Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
* @return $this Fluent Builder
*/
public function setDateCreatedBefore(string $dateCreatedBefore): self
Expand All @@ -79,9 +79,9 @@ public function setDateCreatedBefore(string $dateCreatedBefore): self
}

/**
* Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
* Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
*
* @param string $dateCreated Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
* @param string $dateCreated Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
* @return $this Fluent Builder
*/
public function setDateCreated(string $dateCreated): self
Expand All @@ -91,9 +91,9 @@ public function setDateCreated(string $dateCreated): self
}

/**
* Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
* Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
*
* @param string $dateCreatedAfter Only include media that was created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read media that was created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read media that was created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read media that was created on or after midnight of this date.
* @param string $dateCreatedAfter Only include Media resources that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read Media that were created on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read Media that were created on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read Media that were created on or after midnight of this date.
* @return $this Fluent Builder
*/
public function setDateCreatedAfter(string $dateCreatedAfter): self
Expand Down
4 changes: 2 additions & 2 deletions src/Twilio/Rest/Api/V2010/Account/MessageContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ class MessageContext extends InstanceContext
* Initialize the MessageContext
*
* @param Version $version Version that contains the resource
* @param string $accountSid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
* @param string $sid The Twilio-provided string that uniquely identifies the Message resource to delete.
* @param string $accountSid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) creating the Message resource.
* @param string $sid The SID of the Message resource you wish to delete
*/
public function __construct(
Version $version,
Expand Down
4 changes: 2 additions & 2 deletions src/Twilio/Rest/Api/V2010/Account/MessageInstance.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ class MessageInstance extends InstanceResource
*
* @param Version $version Version that contains the resource
* @param mixed[] $payload The response payload
* @param string $accountSid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
* @param string $sid The Twilio-provided string that uniquely identifies the Message resource to delete.
* @param string $accountSid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) creating the Message resource.
* @param string $sid The SID of the Message resource you wish to delete
*/
public function __construct(Version $version, array $payload, string $accountSid, string $sid = null)
{
Expand Down
6 changes: 3 additions & 3 deletions src/Twilio/Rest/Api/V2010/Account/MessageList.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class MessageList extends ListResource
* Construct the MessageList
*
* @param Version $version Version that contains the resource
* @param string $accountSid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
* @param string $accountSid The SID of the [Account](https://www.twilio.com/docs/iam/api/account) creating the Message resource.
*/
public function __construct(
Version $version,
Expand All @@ -53,7 +53,7 @@ public function __construct(
/**
* Create the MessageInstance
*
* @param string $to The destination phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format for SMS/MMS or [Channel user address](https://www.twilio.com/docs/sms/channels#channel-addresses) for other 3rd-party channels.
* @param string $to The recipient's phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format (for SMS/MMS) or [channel address](https://www.twilio.com/docs/sms/channels#channel-addresses), e.g. `whatsapp:+15552229999`.
* @param array|Options $options Optional Arguments
* @return MessageInstance Created MessageInstance
* @throws TwilioException When an HTTP error occurs.
Expand Down Expand Up @@ -229,7 +229,7 @@ public function getPage(string $targetUrl): MessagePage
/**
* Constructs a MessageContext
*
* @param string $sid The Twilio-provided string that uniquely identifies the Message resource to delete.
* @param string $sid The SID of the Message resource you wish to delete
*/
public function getContext(
string $sid
Expand Down

0 comments on commit 664ca3e

Please sign in to comment.