diff --git a/CHANGES.md b/CHANGES.md index a54bfe23ae..0a81879cfa 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,30 @@ twilio-php Changelog ==================== +[2019-09-18] Version 5.36.0 +---------------------------- +**Library** +- [PR #570](https://github.com/twilio/twilio-php/pull/570): Revert to using composer to install apigen for doc generation. Thanks to [@childish-sambino](https://github.com/childish-sambino)! +- [PR #569](https://github.com/twilio/twilio-php/pull/569): Re-add DeserializeTest.php. Thanks to [@thinkingserious](https://github.com/thinkingserious)! +- [PR #568](https://github.com/twilio/twilio-php/pull/568): Update the Dockerfile for PHP 7.1 and new code structure. Thanks to [@childish-sambino](https://github.com/childish-sambino)! +- [PR #567](https://github.com/twilio/twilio-php/pull/567): Put back the parent directory directive in 'autoload'. Thanks to [@childish-sambino](https://github.com/childish-sambino)! +- [PR #563](https://github.com/twilio/twilio-php/pull/563): Support running docker tests in Jenkins. Thanks to [@thinkingserious](https://github.com/thinkingserious)! +- [PR #562](https://github.com/twilio/twilio-php/pull/562): Allow for usage of older PHP unit versions. Thanks to [@thinkingserious](https://github.com/thinkingserious)! +- [PR #561](https://github.com/twilio/twilio-php/pull/561): Make docker-build work with new Dockerfile format. Thanks to [@thinkingserious](https://github.com/thinkingserious)! +- [PR #560](https://github.com/twilio/twilio-php/pull/560): Loosen hard php version restriction. Thanks to [@thinkingserious](https://github.com/thinkingserious)! +- [PR #557](https://github.com/twilio/twilio-php/pull/557): Prevent null date-time strings from deserializing to 'now'. Thanks to [@childish-sambino](https://github.com/childish-sambino)! +- [PR #549](https://github.com/twilio/twilio-php/pull/549): [RFC] Test SDK on PHP 7.2 and 7.3. Thanks to [@rvanlaak](https://github.com/rvanlaak)! + +**Numbers** +- Add v2 of the Identites API + +**Preview** +- Changed authentication method for SDK Trusted Comms endpoints: `/CPS`, `/CurrentCall`, and `/Devices`. Please use `Authorization: Bearer ` **(breaking change)** + +**Voice** +- Add Recordings endpoints + + [2019-09-04] Version 5.35.0 ---------------------------- **Library** diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d1e58bf065..e252402731 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,7 +10,6 @@ even better than it is today! Here are the guidelines we'd like you to follow: - [Documentation fixes](#docs) - [Submission Guidelines](#submit) - [Coding Rules](#rules) - - [Local Testing with Docker](#testing) ## Code of Conduct @@ -155,22 +154,6 @@ you are working: * All features or bug fixes **must be tested** by one or more tests. * All classes and methods **must be documented**. -## Local Testing with Docker - -We have included a [Dockerfile](https://github.com/twilio/twilio-php/blob/master/Dockerfile-dev) that enables easy local testing, given a specified PHP version. - -Sample simple workflow: - -1. `git clone https://github.com/twilio/twilio-php.git` -1. `cd twilio-php` -1. `make install` -1. `make docker-dev-build VERSION=7.4-rc` -1. `make docker-dev-test VERSION=7.4-rc` -1. Modify code -1. `make docker-dev-test VERSION=7.4-rc` - -Tested versions: 7.1.32, 7.2.22, 7.3.9 and 7.4-rc. A complete list of supported PHP versions can be found at the [Docker docs page](https://docs.docker.com/samples/library/php). - [docs-link]: https://www.twilio.com/docs/libraries/php [issue-link]: https://github.com/twilio/twilio-php/issues/new [github]: https://github.com/twilio/twilio-php \ No newline at end of file diff --git a/VERSIONS.md b/VERSIONS.md index 7527cac2fd..cdf0c26ee6 100644 --- a/VERSIONS.md +++ b/VERSIONS.md @@ -5,11 +5,11 @@ all changes to the helper library. It is strongly encouraged that you pin at least the major version and potentially the minor version to avoid pulling in breaking changes. -Semantic Versions take the form of `MAJOR`.`MINOR`.`PATCH` +Semantic Versions take the form of `MAJOR.MINOR.PATCH` -When bugs are fixed in the library in a backwards compatible way, the `PATCH` +When bugs are fixed in the library in a backwards-compatible way, the `PATCH` level will be incremented by one. When new features are added to the library -in a backwards compatible way, the `PATCH` level will be incremented by one. +in a backwards-compatible way, the `PATCH` level will be incremented by one. `PATCH` changes should _not_ break your code and are generally safe for upgrade. When a new large feature set comes online or a small breaking change is @@ -19,8 +19,8 @@ change for upgrade. These backwards-incompatible changes will generally be limited to a small number of function signature changes. The `MAJOR` version is used to indicate the family of technology represented by -the helper library. Breaking changes that requires extensive reworking of code -will case the `MAJOR` version to be incremented by one, and the `MINOR` and +the helper library. Breaking changes that require extensive reworking of code +will cause the `MAJOR` version to be incremented by one, and the `MINOR` and `PATCH` versions will be reset to zero. Twilio understands that this can be very disruptive, so we will only introduce this type of breaking change when absolutely necessary. New `MAJOR` versions will be communicated in advance with @@ -28,9 +28,8 @@ absolutely necessary. New `MAJOR` versions will be communicated in advance with ## Supported Versions -`twilio-php` follows an evergreen model of support. New features and -functionality will only be added to the current version. The current version - -1 will continue to be supported with bug fixes and security updates, but no new -features. +Only the current `MAJOR` version of `twilio-php` is supported. New +features, functionality, bug fixes, and security updates will only be added to +the current `MAJOR` version. -[semver]: http://semver.org/ \ No newline at end of file +[semver]: https://semver.org \ No newline at end of file diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/LocalOptions.php b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/LocalOptions.php index 6a55c98b85..e934cff341 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/LocalOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/LocalOptions.php @@ -117,7 +117,7 @@ public function setAreaCode($areaCode) { } /** - * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-3). If specified, this value must have at least two characters. + * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. * * @param string $contains The pattern on which to match phone numbers * @return $this Fluent Builder @@ -161,7 +161,7 @@ public function setVoiceEnabled($voiceEnabled) { } /** - * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeAllAddressRequired Whether to exclude phone numbers that * require an Address @@ -173,7 +173,7 @@ public function setExcludeAllAddressRequired($excludeAllAddressRequired) { } /** - * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeLocalAddressRequired Whether to exclude phone numbers * that require a local address @@ -185,7 +185,7 @@ public function setExcludeLocalAddressRequired($excludeLocalAddressRequired) { } /** - * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeForeignAddressRequired Whether to exclude phone numbers * that require a foreign address @@ -282,7 +282,7 @@ public function setInRateCenter($inRateCenter) { } /** - * Limit results to a specific local access and transport area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. + * Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. * * @param string $inLata Limit results to a specific local access and transport * area. (US/Canada only) diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MachineToMachineOptions.php b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MachineToMachineOptions.php index af10b52e26..386c9f57d7 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MachineToMachineOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MachineToMachineOptions.php @@ -117,7 +117,7 @@ public function setAreaCode($areaCode) { } /** - * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-3). If specified, this value must have at least two characters. + * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. * * @param string $contains The pattern on which to match phone numbers * @return $this Fluent Builder @@ -161,7 +161,7 @@ public function setVoiceEnabled($voiceEnabled) { } /** - * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeAllAddressRequired Whether to exclude phone numbers that * require an Address @@ -173,7 +173,7 @@ public function setExcludeAllAddressRequired($excludeAllAddressRequired) { } /** - * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeLocalAddressRequired Whether to exclude phone numbers * that require a local address @@ -185,7 +185,7 @@ public function setExcludeLocalAddressRequired($excludeLocalAddressRequired) { } /** - * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeForeignAddressRequired Whether to exclude phone numbers * that require a foreign address @@ -282,7 +282,7 @@ public function setInRateCenter($inRateCenter) { } /** - * Limit results to a specific local access and transport area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. + * Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. * * @param string $inLata Limit results to a specific local access and transport * area. (US/Canada only) diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MobileOptions.php b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MobileOptions.php index 17b0dd02a9..ef3dc107c4 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MobileOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/MobileOptions.php @@ -117,7 +117,7 @@ public function setAreaCode($areaCode) { } /** - * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-3). If specified, this value must have at least two characters. + * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. * * @param string $contains The pattern on which to match phone numbers * @return $this Fluent Builder @@ -161,7 +161,7 @@ public function setVoiceEnabled($voiceEnabled) { } /** - * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeAllAddressRequired Whether to exclude phone numbers that * require an Address @@ -173,7 +173,7 @@ public function setExcludeAllAddressRequired($excludeAllAddressRequired) { } /** - * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeLocalAddressRequired Whether to exclude phone numbers * that require a local address @@ -185,7 +185,7 @@ public function setExcludeLocalAddressRequired($excludeLocalAddressRequired) { } /** - * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeForeignAddressRequired Whether to exclude phone numbers * that require a foreign address @@ -282,7 +282,7 @@ public function setInRateCenter($inRateCenter) { } /** - * Limit results to a specific local access and transport area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. + * Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. * * @param string $inLata Limit results to a specific local access and transport * area. (US/Canada only) diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/NationalOptions.php b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/NationalOptions.php index 0bcfb9f3f5..9af8a059c9 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/NationalOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/NationalOptions.php @@ -117,7 +117,7 @@ public function setAreaCode($areaCode) { } /** - * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-3). If specified, this value must have at least two characters. + * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. * * @param string $contains The pattern on which to match phone numbers * @return $this Fluent Builder @@ -161,7 +161,7 @@ public function setVoiceEnabled($voiceEnabled) { } /** - * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeAllAddressRequired Whether to exclude phone numbers that * require an Address @@ -173,7 +173,7 @@ public function setExcludeAllAddressRequired($excludeAllAddressRequired) { } /** - * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeLocalAddressRequired Whether to exclude phone numbers * that require a local address @@ -185,7 +185,7 @@ public function setExcludeLocalAddressRequired($excludeLocalAddressRequired) { } /** - * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeForeignAddressRequired Whether to exclude phone numbers * that require a foreign address @@ -282,7 +282,7 @@ public function setInRateCenter($inRateCenter) { } /** - * Limit results to a specific local access and transport area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. + * Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. * * @param string $inLata Limit results to a specific local access and transport * area. (US/Canada only) diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/SharedCostOptions.php b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/SharedCostOptions.php index 8f92801e45..9a55d897ac 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/SharedCostOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/SharedCostOptions.php @@ -117,7 +117,7 @@ public function setAreaCode($areaCode) { } /** - * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-3). If specified, this value must have at least two characters. + * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. * * @param string $contains The pattern on which to match phone numbers * @return $this Fluent Builder @@ -161,7 +161,7 @@ public function setVoiceEnabled($voiceEnabled) { } /** - * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeAllAddressRequired Whether to exclude phone numbers that * require an Address @@ -173,7 +173,7 @@ public function setExcludeAllAddressRequired($excludeAllAddressRequired) { } /** - * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeLocalAddressRequired Whether to exclude phone numbers * that require a local address @@ -185,7 +185,7 @@ public function setExcludeLocalAddressRequired($excludeLocalAddressRequired) { } /** - * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeForeignAddressRequired Whether to exclude phone numbers * that require a foreign address @@ -282,7 +282,7 @@ public function setInRateCenter($inRateCenter) { } /** - * Limit results to a specific local access and transport area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. + * Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. * * @param string $inLata Limit results to a specific local access and transport * area. (US/Canada only) diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/TollFreeOptions.php b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/TollFreeOptions.php index ff42ee52e7..dd75178d58 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/TollFreeOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/TollFreeOptions.php @@ -117,7 +117,7 @@ public function setAreaCode($areaCode) { } /** - * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-3). If specified, this value must have at least two characters. + * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. * * @param string $contains The pattern on which to match phone numbers * @return $this Fluent Builder @@ -161,7 +161,7 @@ public function setVoiceEnabled($voiceEnabled) { } /** - * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeAllAddressRequired Whether to exclude phone numbers that * require an Address @@ -173,7 +173,7 @@ public function setExcludeAllAddressRequired($excludeAllAddressRequired) { } /** - * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeLocalAddressRequired Whether to exclude phone numbers * that require a local address @@ -185,7 +185,7 @@ public function setExcludeLocalAddressRequired($excludeLocalAddressRequired) { } /** - * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeForeignAddressRequired Whether to exclude phone numbers * that require a foreign address @@ -282,7 +282,7 @@ public function setInRateCenter($inRateCenter) { } /** - * Limit results to a specific local access and transport area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. + * Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. * * @param string $inLata Limit results to a specific local access and transport * area. (US/Canada only) diff --git a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/VoipOptions.php b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/VoipOptions.php index 8ae2503938..28807fb365 100644 --- a/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/VoipOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/AvailablePhoneNumberCountry/VoipOptions.php @@ -117,7 +117,7 @@ public function setAreaCode($areaCode) { } /** - * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/api/rest/available-phone-numbers#local-get-basic-example-3). If specified, this value must have at least two characters. + * The pattern on which to match phone numbers. Valid characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any single digit. For examples, see [Example 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters. * * @param string $contains The pattern on which to match phone numbers * @return $this Fluent Builder @@ -161,7 +161,7 @@ public function setVoiceEnabled($voiceEnabled) { } /** - * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require an [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeAllAddressRequired Whether to exclude phone numbers that * require an Address @@ -173,7 +173,7 @@ public function setExcludeAllAddressRequired($excludeAllAddressRequired) { } /** - * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a local [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeLocalAddressRequired Whether to exclude phone numbers * that require a local address @@ -185,7 +185,7 @@ public function setExcludeLocalAddressRequired($excludeLocalAddressRequired) { } /** - * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/addresses). Can be: `true` or `false` and the default is `false`. + * Whether to exclude phone numbers that require a foreign [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or `false` and the default is `false`. * * @param bool $excludeForeignAddressRequired Whether to exclude phone numbers * that require a foreign address @@ -282,7 +282,7 @@ public function setInRateCenter($inRateCenter) { } /** - * Limit results to a specific local access and transport area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. + * Limit results to a specific local access and transport area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)). Given a phone number, search within the same [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that number. Applies to only phone numbers in the US and Canada. * * @param string $inLata Limit results to a specific local access and transport * area. (US/Canada only) diff --git a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumberOptions.php b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumberOptions.php index af885f117a..d6810ef6aa 100644 --- a/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumberOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumberOptions.php @@ -183,7 +183,7 @@ public function __construct($accountSid = Values::NONE, $apiVersion = Values::NO } /** - * The SID of the [Account](https://www.twilio.com/docs/api/rest/account) that created the IncomingPhoneNumber resource to update. For more information, see [Exchanging Numbers Between Subaccounts](https://www.twilio.com/docs/iam/api/subaccounts#exchanging-numbers). + * The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IncomingPhoneNumber resource to update. For more information, see [Exchanging Numbers Between Subaccounts](https://www.twilio.com/docs/iam/api/subaccounts#exchanging-numbers). * * @param string $accountSid The SID of the Account that created the resource * to update diff --git a/src/Twilio/Rest/Api/V2010/Account/Message/FeedbackOptions.php b/src/Twilio/Rest/Api/V2010/Account/Message/FeedbackOptions.php index 6bd34f3045..631d9bfaa1 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Message/FeedbackOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/Message/FeedbackOptions.php @@ -31,7 +31,7 @@ public function __construct($outcome = Values::NONE) { } /** - * Whether the feedback has arrived. Can be: `unconfirmed` or `confirmed`. If `provide_feedback`=`true` in [the initial HTTP POST](https://www.twilio.com/docs/sms/api/message#create-a-message-resource), the initial value of this property is `unconfirmed`. After the message arrives, update the value to `confirmed`. + * Whether the feedback has arrived. Can be: `unconfirmed` or `confirmed`. If `provide_feedback`=`true` in [the initial HTTP POST](https://www.twilio.com/docs/sms/api/message-resource#create-a-message-resource), the initial value of this property is `unconfirmed`. After the message arrives, update the value to `confirmed`. * * @param string $outcome Whether the feedback has arrived * @return $this Fluent Builder diff --git a/src/Twilio/Rest/Api/V2010/Account/MessageOptions.php b/src/Twilio/Rest/Api/V2010/Account/MessageOptions.php index d73450dcbe..8a19ee2503 100644 --- a/src/Twilio/Rest/Api/V2010/Account/MessageOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/MessageOptions.php @@ -85,7 +85,7 @@ public function __construct($from = Values::NONE, $messagingServiceSid = Values: } /** - * A Twilio phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, an [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), or a [Channel Endpoint address](https://www.twilio.com/docs/sms/channels#channel-addresses) that is enabled for the type of message you want to send. Phone numbers or [short codes](https://www.twilio.com/docs/sms/api/short-codes) purchased from Twilio also work here. You cannot, for example, spoof messages from a private cell phone number. If you are using `messaging_service_sid`, this parameter must be empty. + * A Twilio phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, an [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), or a [Channel Endpoint address](https://www.twilio.com/docs/sms/channels#channel-addresses) that is enabled for the type of message you want to send. Phone numbers or [short codes](https://www.twilio.com/docs/sms/api/short-code) purchased from Twilio also work here. You cannot, for example, spoof messages from a private cell phone number. If you are using `messaging_service_sid`, this parameter must be empty. * * @param string $from The phone number that initiated the message * @return $this Fluent Builder @@ -166,7 +166,7 @@ public function setMaxPrice($maxPrice) { } /** - * Whether to confirm delivery of the message. Set this value to `true` if you are sending messages that have a trackable user action and you intend to confirm delivery of the message using the [Message Feedback API](https://www.twilio.com/docs/sms/api/message-feedback). This parameter is `false` by default. + * Whether to confirm delivery of the message. Set this value to `true` if you are sending messages that have a trackable user action and you intend to confirm delivery of the message using the [Message Feedback API](https://www.twilio.com/docs/sms/api/message-feedback-resource). This parameter is `false` by default. * * @param bool $provideFeedback Whether to confirm delivery of the message * @return $this Fluent Builder diff --git a/src/Twilio/Rest/Api/V2010/Account/RecordingOptions.php b/src/Twilio/Rest/Api/V2010/Account/RecordingOptions.php index 16da0f5879..a332ccb41d 100644 --- a/src/Twilio/Rest/Api/V2010/Account/RecordingOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/RecordingOptions.php @@ -82,7 +82,7 @@ public function setDateCreatedAfter($dateCreatedAfter) { } /** - * The [Call](https://www.twilio.com/docs/api/voice/call) SID of the resources to read. + * The [Call](https://www.twilio.com/docs/voice/api/call) SID of the resources to read. * * @param string $callSid The Call SID of the resources to read * @return $this Fluent Builder diff --git a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/AllTimeOptions.php b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/AllTimeOptions.php index 442e1332fa..73315a150a 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/AllTimeOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/AllTimeOptions.php @@ -48,7 +48,7 @@ public function __construct($category = Values::NONE, $startDate = Values::NONE, } /** - * The [usage category](https://www.twilio.com/docs/api/rest/usage-records#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. + * The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. * * @param string $category The usage category of the UsageRecord resources to * read diff --git a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/DailyOptions.php b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/DailyOptions.php index 22ae37a8b9..b6f9766bf8 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/DailyOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/DailyOptions.php @@ -48,7 +48,7 @@ public function __construct($category = Values::NONE, $startDate = Values::NONE, } /** - * The [usage category](https://www.twilio.com/docs/api/rest/usage-records#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. + * The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. * * @param string $category The usage category of the UsageRecord resources to * read diff --git a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/LastMonthOptions.php b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/LastMonthOptions.php index 1a6d3c53e8..f344dbf7a6 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/LastMonthOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/LastMonthOptions.php @@ -48,7 +48,7 @@ public function __construct($category = Values::NONE, $startDate = Values::NONE, } /** - * The [usage category](https://www.twilio.com/docs/api/rest/usage-records#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. + * The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. * * @param string $category The usage category of the UsageRecord resources to * read diff --git a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/MonthlyOptions.php b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/MonthlyOptions.php index 58c33cdead..8e907e2158 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/MonthlyOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/MonthlyOptions.php @@ -48,7 +48,7 @@ public function __construct($category = Values::NONE, $startDate = Values::NONE, } /** - * The [usage category](https://www.twilio.com/docs/api/rest/usage-records#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. + * The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. * * @param string $category The usage category of the UsageRecord resources to * read diff --git a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/ThisMonthOptions.php b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/ThisMonthOptions.php index a6c98b6615..571fa81c2e 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/ThisMonthOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/ThisMonthOptions.php @@ -48,7 +48,7 @@ public function __construct($category = Values::NONE, $startDate = Values::NONE, } /** - * The [usage category](https://www.twilio.com/docs/api/rest/usage-records#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. + * The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. * * @param string $category The usage category of the UsageRecord resources to * read diff --git a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/TodayOptions.php b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/TodayOptions.php index 9ba7b7f89d..1e6e94392c 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/TodayOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/TodayOptions.php @@ -48,7 +48,7 @@ public function __construct($category = Values::NONE, $startDate = Values::NONE, } /** - * The [usage category](https://www.twilio.com/docs/api/rest/usage-records#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. + * The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. * * @param string $category The usage category of the UsageRecord resources to * read diff --git a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/YearlyOptions.php b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/YearlyOptions.php index 0f1947dbfa..5ec9e0e19f 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/YearlyOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/YearlyOptions.php @@ -48,7 +48,7 @@ public function __construct($category = Values::NONE, $startDate = Values::NONE, } /** - * The [usage category](https://www.twilio.com/docs/api/rest/usage-records#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. + * The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. * * @param string $category The usage category of the UsageRecord resources to * read diff --git a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/YesterdayOptions.php b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/YesterdayOptions.php index efcb539ed8..40f7553453 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Usage/Record/YesterdayOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/Usage/Record/YesterdayOptions.php @@ -48,7 +48,7 @@ public function __construct($category = Values::NONE, $startDate = Values::NONE, } /** - * The [usage category](https://www.twilio.com/docs/api/rest/usage-records#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. + * The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. * * @param string $category The usage category of the UsageRecord resources to * read diff --git a/src/Twilio/Rest/Api/V2010/Account/Usage/RecordOptions.php b/src/Twilio/Rest/Api/V2010/Account/Usage/RecordOptions.php index 12c301999b..085f0ca79f 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Usage/RecordOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/Usage/RecordOptions.php @@ -48,7 +48,7 @@ public function __construct($category = Values::NONE, $startDate = Values::NONE, } /** - * The [usage category](https://www.twilio.com/docs/api/rest/usage-records#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. + * The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. * * @param string $category The usage category of the UsageRecord resources to * read diff --git a/src/Twilio/Rest/Api/V2010/Account/Usage/TriggerOptions.php b/src/Twilio/Rest/Api/V2010/Account/Usage/TriggerOptions.php index f0f48f041f..cda1fcd0af 100644 --- a/src/Twilio/Rest/Api/V2010/Account/Usage/TriggerOptions.php +++ b/src/Twilio/Rest/Api/V2010/Account/Usage/TriggerOptions.php @@ -156,7 +156,7 @@ public function setRecurring($recurring) { } /** - * The field in the [UsageRecord](https://www.twilio.com/docs/api/rest/usage-records) resource that should fire the trigger. Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/api/rest/usage-records#usage-count-price). The default is `usage`. + * The field in the [UsageRecord](https://www.twilio.com/docs/usage/api/usage-record) resource that should fire the trigger. Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price). The default is `usage`. * * @param string $triggerBy The field in the UsageRecord resource that fires * the trigger @@ -207,7 +207,7 @@ public function setRecurring($recurring) { } /** - * The trigger field of the UsageTriggers to read. Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/api/rest/usage-records#usage-count-price). + * The trigger field of the UsageTriggers to read. Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price). * * @param string $triggerBy The trigger field of the UsageTriggers to read * @return $this Fluent Builder @@ -218,7 +218,7 @@ public function setTriggerBy($triggerBy) { } /** - * The usage category of the UsageTriggers to read. Must be a supported [usage categories](https://www.twilio.com/docs/api/rest/usage-records#usage-categories). + * The usage category of the UsageTriggers to read. Must be a supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories). * * @param string $usageCategory The usage category of the UsageTriggers to read * @return $this Fluent Builder diff --git a/src/Twilio/Rest/Authy/V1/Service/Entity/Factor/ChallengeOptions.php b/src/Twilio/Rest/Authy/V1/Service/Entity/Factor/ChallengeOptions.php index 75a7c91982..23595c884b 100644 --- a/src/Twilio/Rest/Authy/V1/Service/Entity/Factor/ChallengeOptions.php +++ b/src/Twilio/Rest/Authy/V1/Service/Entity/Factor/ChallengeOptions.php @@ -52,7 +52,7 @@ public function __construct($expirationDate = Values::NONE, $details = Values::N } /** - * The future date in which this Challenge will expire, given in ISO 8601 format (https://en.wikipedia.org/wiki/ISO_8601). + * The future date in which this Challenge will expire, given in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. * * @param \DateTime $expirationDate The future date in which this Challenge * will expire diff --git a/src/Twilio/Rest/Chat/V2/Service/BindingOptions.php b/src/Twilio/Rest/Chat/V2/Service/BindingOptions.php index b0f18d5f07..ff37463cbd 100644 --- a/src/Twilio/Rest/Chat/V2/Service/BindingOptions.php +++ b/src/Twilio/Rest/Chat/V2/Service/BindingOptions.php @@ -48,7 +48,7 @@ public function setBindingType($bindingType) { } /** - * The [User](https://www.twilio.com/docs/chat/rest/users)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. + * The [User](https://www.twilio.com/docs/chat/rest/user-resource)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. * * @param string $identity The `identity` value of the resources to read * @return $this Fluent Builder diff --git a/src/Twilio/Rest/Chat/V2/Service/Channel/InviteOptions.php b/src/Twilio/Rest/Chat/V2/Service/Channel/InviteOptions.php index c6363872cb..2e8114e5dd 100644 --- a/src/Twilio/Rest/Chat/V2/Service/Channel/InviteOptions.php +++ b/src/Twilio/Rest/Chat/V2/Service/Channel/InviteOptions.php @@ -39,7 +39,7 @@ public function __construct($roleSid = Values::NONE) { } /** - * The SID of the [Role](https://www.twilio.com/docs/chat/rest/roles) assigned to the new member. + * The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) assigned to the new member. * * @param string $roleSid The Role assigned to the new member * @return $this Fluent Builder @@ -74,7 +74,7 @@ public function __construct($identity = Values::NONE) { } /** - * The [User](https://www.twilio.com/docs/chat/rest/users)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. + * The [User](https://www.twilio.com/docs/chat/rest/user-resource)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. * * @param string $identity The `identity` value of the resources to read * @return $this Fluent Builder diff --git a/src/Twilio/Rest/Chat/V2/Service/Channel/MemberOptions.php b/src/Twilio/Rest/Chat/V2/Service/Channel/MemberOptions.php index e43d803f10..cef24f793a 100644 --- a/src/Twilio/Rest/Chat/V2/Service/Channel/MemberOptions.php +++ b/src/Twilio/Rest/Chat/V2/Service/Channel/MemberOptions.php @@ -88,7 +88,7 @@ public function __construct($roleSid = Values::NONE, $lastConsumedMessageIndex = } /** - * The SID of the [Role](https://www.twilio.com/docs/chat/rest/roles) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/api/services). + * The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/rest/service-resource). * * @param string $roleSid The SID of the Role to assign to the member * @return $this Fluent Builder @@ -99,7 +99,7 @@ public function setRoleSid($roleSid) { } /** - * The index of the last [Message](https://www.twilio.com/docs/chat/rest/messages) in the [Channel](https://www.twilio.com/docs/chat/channels) that the Member has read. This parameter should only be used when recreating a Member from a backup/separate source. + * The index of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) in the [Channel](https://www.twilio.com/docs/chat/channels) that the Member has read. This parameter should only be used when recreating a Member from a backup/separate source. * * @param int $lastConsumedMessageIndex The index of the last Message in the * Channel the Member has read @@ -111,7 +111,7 @@ public function setLastConsumedMessageIndex($lastConsumedMessageIndex) { } /** - * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp of the last [Message](https://www.twilio.com/docs/chat/rest/messages) read event for the Member within the [Channel](https://www.twilio.com/docs/chat/channels). + * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) read event for the Member within the [Channel](https://www.twilio.com/docs/chat/channels). * * @param \DateTime $lastConsumptionTimestamp The ISO 8601 based timestamp * string representing the datetime @@ -185,7 +185,7 @@ public function __construct($identity = Values::NONE) { } /** - * The [User](https://www.twilio.com/docs/chat/rest/users)'s `identity` value of the Member resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. + * The [User](https://www.twilio.com/docs/chat/rest/user-resource)'s `identity` value of the Member resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. * * @param string $identity The `identity` value of the resources to read * @return $this Fluent Builder @@ -237,7 +237,7 @@ public function __construct($roleSid = Values::NONE, $lastConsumedMessageIndex = } /** - * The SID of the [Role](https://www.twilio.com/docs/chat/rest/roles) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/api/services). + * The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/rest/service-resource). * * @param string $roleSid The SID of the Role to assign to the member * @return $this Fluent Builder @@ -248,7 +248,7 @@ public function setRoleSid($roleSid) { } /** - * The index of the last [Message](https://www.twilio.com/docs/chat/rest/messages) that the Member has read within the [Channel](https://www.twilio.com/docs/chat/channels). + * The index of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) that the Member has read within the [Channel](https://www.twilio.com/docs/chat/channels). * * @param int $lastConsumedMessageIndex The index of the last consumed Message * for the Channel for the Member @@ -260,7 +260,7 @@ public function setLastConsumedMessageIndex($lastConsumedMessageIndex) { } /** - * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp of the last [Message](https://www.twilio.com/docs/chat/rest/messages) read event for the Member within the [Channel](https://www.twilio.com/docs/chat/channels). + * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) read event for the Member within the [Channel](https://www.twilio.com/docs/chat/channels). * * @param \DateTime $lastConsumptionTimestamp The ISO 8601 based timestamp * string representing the datetime diff --git a/src/Twilio/Rest/Chat/V2/Service/UserOptions.php b/src/Twilio/Rest/Chat/V2/Service/UserOptions.php index 5efa68c78c..267d3b0d8f 100644 --- a/src/Twilio/Rest/Chat/V2/Service/UserOptions.php +++ b/src/Twilio/Rest/Chat/V2/Service/UserOptions.php @@ -50,7 +50,7 @@ public function __construct($roleSid = Values::NONE, $attributes = Values::NONE, } /** - * The SID of the [Role](https://www.twilio.com/docs/chat/rest/roles) to assign to the new User. + * The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the new User. * * @param string $roleSid The SID of the Role assigned to this user * @return $this Fluent Builder @@ -113,7 +113,7 @@ public function __construct($roleSid = Values::NONE, $attributes = Values::NONE, } /** - * The SID of the [Role](https://www.twilio.com/docs/chat/rest/roles) to assign to the User. + * The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the User. * * @param string $roleSid The SID id of the Role assigned to this user * @return $this Fluent Builder diff --git a/src/Twilio/Rest/Chat/V2/ServiceOptions.php b/src/Twilio/Rest/Chat/V2/ServiceOptions.php index 5a0875a88c..59815982cc 100644 --- a/src/Twilio/Rest/Chat/V2/ServiceOptions.php +++ b/src/Twilio/Rest/Chat/V2/ServiceOptions.php @@ -232,7 +232,7 @@ public function setFriendlyName($friendlyName) { } /** - * The service role assigned to users when they are added to the service. See the [Role resource](https://www.twilio.com/docs/chat/api/roles) for more info about roles. + * The service role assigned to users when they are added to the service. See the [Role resource](https://www.twilio.com/docs/chat/rest/role-resource) for more info about roles. * * @param string $defaultServiceRoleSid The service role assigned to users when * they are added to the service @@ -244,7 +244,7 @@ public function setDefaultServiceRoleSid($defaultServiceRoleSid) { } /** - * The channel role assigned to users when they are added to a channel. See the [Role resource](https://www.twilio.com/docs/chat/api/roles) for more info about roles. + * The channel role assigned to users when they are added to a channel. See the [Role resource](https://www.twilio.com/docs/chat/rest/role-resource) for more info about roles. * * @param string $defaultChannelRoleSid The channel role assigned to users when * they are added to a channel @@ -256,7 +256,7 @@ public function setDefaultChannelRoleSid($defaultChannelRoleSid) { } /** - * The channel role assigned to a channel creator when they join a new channel. See the [Role resource](https://www.twilio.com/docs/chat/api/roles) for more info about roles. + * The channel role assigned to a channel creator when they join a new channel. See the [Role resource](https://www.twilio.com/docs/chat/rest/role-resource) for more info about roles. * * @param string $defaultChannelCreatorRoleSid The channel role assigned to a * channel creator when they join a diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/MessageContext.php b/src/Twilio/Rest/Conversations/V1/Conversation/MessageContext.php index de7bc8f89d..dafcac20dd 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/MessageContext.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/MessageContext.php @@ -17,7 +17,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class MessageContext extends InstanceContext { /** diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/MessageInstance.php b/src/Twilio/Rest/Conversations/V1/Conversation/MessageInstance.php index 7d2b408a82..e97158149b 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/MessageInstance.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/MessageInstance.php @@ -17,7 +17,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. * * @property string $accountSid * @property string $conversationSid diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/MessageList.php b/src/Twilio/Rest/Conversations/V1/Conversation/MessageList.php index 9d8a048add..793c2a7e95 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/MessageList.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/MessageList.php @@ -17,7 +17,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class MessageList extends ListResource { /** diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/MessageOptions.php b/src/Twilio/Rest/Conversations/V1/Conversation/MessageOptions.php index 9c9b1750c7..08e27d3e3f 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/MessageOptions.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/MessageOptions.php @@ -13,7 +13,7 @@ use Twilio\Values; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ abstract class MessageOptions { /** diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/MessagePage.php b/src/Twilio/Rest/Conversations/V1/Conversation/MessagePage.php index 2426a398e7..bc6c07d487 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/MessagePage.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/MessagePage.php @@ -12,7 +12,7 @@ use Twilio\Page; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class MessagePage extends Page { public function __construct($version, $response, $solution) { diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantContext.php b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantContext.php index 9c167ef288..620379f2e4 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantContext.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantContext.php @@ -17,7 +17,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class ParticipantContext extends InstanceContext { /** diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantInstance.php b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantInstance.php index 6f3f1d6121..8966b43cf8 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantInstance.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantInstance.php @@ -17,7 +17,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. * * @property string $accountSid * @property string $conversationSid diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantList.php b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantList.php index 7f3b785273..9fca66c29b 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantList.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantList.php @@ -17,7 +17,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class ParticipantList extends ListResource { /** diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantOptions.php b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantOptions.php index 564f0cc5ed..19534cdba6 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantOptions.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantOptions.php @@ -13,7 +13,7 @@ use Twilio\Values; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ abstract class ParticipantOptions { /** diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantPage.php b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantPage.php index 7603627480..2ccbc2dcc9 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantPage.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/ParticipantPage.php @@ -12,7 +12,7 @@ use Twilio\Page; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class ParticipantPage extends Page { public function __construct($version, $response, $solution) { diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookContext.php b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookContext.php index 3df11588dc..6b4a3c0d4e 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookContext.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookContext.php @@ -17,7 +17,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class WebhookContext extends InstanceContext { /** diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookInstance.php b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookInstance.php index ba996d3686..ffb3c42972 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookInstance.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookInstance.php @@ -17,7 +17,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. * * @property string $sid * @property string $accountSid diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookList.php b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookList.php index 291293a8d9..309d462c40 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookList.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookList.php @@ -17,7 +17,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class WebhookList extends ListResource { /** diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookOptions.php b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookOptions.php index 9a49608d85..8783fb34e4 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookOptions.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookOptions.php @@ -13,7 +13,7 @@ use Twilio\Values; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ abstract class WebhookOptions { /** diff --git a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookPage.php b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookPage.php index 24a66b34ec..790460fc94 100644 --- a/src/Twilio/Rest/Conversations/V1/Conversation/WebhookPage.php +++ b/src/Twilio/Rest/Conversations/V1/Conversation/WebhookPage.php @@ -12,7 +12,7 @@ use Twilio\Page; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class WebhookPage extends Page { public function __construct($version, $response, $solution) { diff --git a/src/Twilio/Rest/Conversations/V1/ConversationContext.php b/src/Twilio/Rest/Conversations/V1/ConversationContext.php index 5a197496fa..cd0660a759 100644 --- a/src/Twilio/Rest/Conversations/V1/ConversationContext.php +++ b/src/Twilio/Rest/Conversations/V1/ConversationContext.php @@ -20,7 +20,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. * * @property \Twilio\Rest\Conversations\V1\Conversation\ParticipantList $participants * @property \Twilio\Rest\Conversations\V1\Conversation\MessageList $messages diff --git a/src/Twilio/Rest/Conversations/V1/ConversationInstance.php b/src/Twilio/Rest/Conversations/V1/ConversationInstance.php index 45576af57b..ddc83ac60a 100644 --- a/src/Twilio/Rest/Conversations/V1/ConversationInstance.php +++ b/src/Twilio/Rest/Conversations/V1/ConversationInstance.php @@ -17,7 +17,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. * * @property string $accountSid * @property string $chatServiceSid diff --git a/src/Twilio/Rest/Conversations/V1/ConversationList.php b/src/Twilio/Rest/Conversations/V1/ConversationList.php index 4fa4d44142..f243a74556 100644 --- a/src/Twilio/Rest/Conversations/V1/ConversationList.php +++ b/src/Twilio/Rest/Conversations/V1/ConversationList.php @@ -17,7 +17,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class ConversationList extends ListResource { /** diff --git a/src/Twilio/Rest/Conversations/V1/ConversationOptions.php b/src/Twilio/Rest/Conversations/V1/ConversationOptions.php index 7eeb9732eb..f942747a4b 100644 --- a/src/Twilio/Rest/Conversations/V1/ConversationOptions.php +++ b/src/Twilio/Rest/Conversations/V1/ConversationOptions.php @@ -13,7 +13,7 @@ use Twilio\Values; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ abstract class ConversationOptions { /** diff --git a/src/Twilio/Rest/Conversations/V1/ConversationPage.php b/src/Twilio/Rest/Conversations/V1/ConversationPage.php index c01e582706..45e6695f0b 100644 --- a/src/Twilio/Rest/Conversations/V1/ConversationPage.php +++ b/src/Twilio/Rest/Conversations/V1/ConversationPage.php @@ -12,7 +12,7 @@ use Twilio\Page; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class ConversationPage extends Page { public function __construct($version, $response, $solution) { diff --git a/src/Twilio/Rest/Conversations/V1/WebhookContext.php b/src/Twilio/Rest/Conversations/V1/WebhookContext.php index 5e38432b4a..707fae22db 100644 --- a/src/Twilio/Rest/Conversations/V1/WebhookContext.php +++ b/src/Twilio/Rest/Conversations/V1/WebhookContext.php @@ -17,7 +17,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class WebhookContext extends InstanceContext { /** diff --git a/src/Twilio/Rest/Conversations/V1/WebhookInstance.php b/src/Twilio/Rest/Conversations/V1/WebhookInstance.php index c28759570b..2f4efc2fc2 100644 --- a/src/Twilio/Rest/Conversations/V1/WebhookInstance.php +++ b/src/Twilio/Rest/Conversations/V1/WebhookInstance.php @@ -16,7 +16,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. * * @property string $accountSid * @property string $method diff --git a/src/Twilio/Rest/Conversations/V1/WebhookList.php b/src/Twilio/Rest/Conversations/V1/WebhookList.php index 0e6d2f1f2a..d9c32a6104 100644 --- a/src/Twilio/Rest/Conversations/V1/WebhookList.php +++ b/src/Twilio/Rest/Conversations/V1/WebhookList.php @@ -13,7 +13,7 @@ use Twilio\Version; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class WebhookList extends ListResource { /** diff --git a/src/Twilio/Rest/Conversations/V1/WebhookOptions.php b/src/Twilio/Rest/Conversations/V1/WebhookOptions.php index 7bac257253..260aa44b50 100644 --- a/src/Twilio/Rest/Conversations/V1/WebhookOptions.php +++ b/src/Twilio/Rest/Conversations/V1/WebhookOptions.php @@ -13,7 +13,7 @@ use Twilio\Values; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ abstract class WebhookOptions { /** diff --git a/src/Twilio/Rest/Conversations/V1/WebhookPage.php b/src/Twilio/Rest/Conversations/V1/WebhookPage.php index c3c8f9e3c2..7134876580 100644 --- a/src/Twilio/Rest/Conversations/V1/WebhookPage.php +++ b/src/Twilio/Rest/Conversations/V1/WebhookPage.php @@ -12,7 +12,7 @@ use Twilio\Page; /** - * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. + * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ class WebhookPage extends Page { public function __construct($version, $response, $solution) { diff --git a/src/Twilio/Rest/Fax/V1/FaxOptions.php b/src/Twilio/Rest/Fax/V1/FaxOptions.php index 3ba018aba3..51a860b381 100644 --- a/src/Twilio/Rest/Fax/V1/FaxOptions.php +++ b/src/Twilio/Rest/Fax/V1/FaxOptions.php @@ -153,7 +153,7 @@ public function __construct($quality = Values::NONE, $statusCallback = Values::N } /** - * The [Fax Quality value](https://www.twilio.com/docs/api/fax/rest/faxes-resource#fax-quality-values) that describes the fax quality. Can be: `standard`, `fine`, or `superfine` and defaults to `fine`. + * The [Fax Quality value](https://www.twilio.com/docs/fax/api/faxes-resource#fax-quality-values) that describes the fax quality. Can be: `standard`, `fine`, or `superfine` and defaults to `fine`. * * @param string $quality The quality of this fax * @return $this Fluent Builder @@ -164,7 +164,7 @@ public function setQuality($quality) { } /** - * The URL we should call using the `POST` method to send [status information](https://www.twilio.com/docs/api/fax/rest/faxes-resource#fax-status-callback) to your application when the status of the fax changes. + * The URL we should call using the `POST` method to send [status information](https://www.twilio.com/docs/fax/api/faxes-resource#fax-status-callback) to your application when the status of the fax changes. * * @param string $statusCallback The URL we should call to send status * information to your application @@ -255,7 +255,7 @@ public function __construct($status = Values::NONE) { } /** - * The new [status](https://www.twilio.com/docs/api/fax/rest/faxes-resource#fax-status-values) of the resource. Can be only `canceled`. This may fail if transmission has already started. + * The new [status](https://www.twilio.com/docs/fax/api/faxes-resource#fax-status-values) of the resource. Can be only `canceled`. This may fail if transmission has already started. * * @param string $status The new status of the resource * @return $this Fluent Builder diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/BindingOptions.php b/src/Twilio/Rest/IpMessaging/V2/Service/BindingOptions.php index fdb816c48a..9b42a2a85b 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/BindingOptions.php +++ b/src/Twilio/Rest/IpMessaging/V2/Service/BindingOptions.php @@ -48,7 +48,7 @@ public function setBindingType($bindingType) { } /** - * The [User](https://www.twilio.com/docs/chat/rest/users)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. + * The [User](https://www.twilio.com/docs/chat/rest/user-resource)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. * * @param string $identity The `identity` value of the resources to read * @return $this Fluent Builder diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/InviteOptions.php b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/InviteOptions.php index 697168da85..f887878bba 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/InviteOptions.php +++ b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/InviteOptions.php @@ -39,7 +39,7 @@ public function __construct($roleSid = Values::NONE) { } /** - * The SID of the [Role](https://www.twilio.com/docs/chat/rest/roles) assigned to the new member. + * The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) assigned to the new member. * * @param string $roleSid The Role assigned to the new member * @return $this Fluent Builder @@ -74,7 +74,7 @@ public function __construct($identity = Values::NONE) { } /** - * The [User](https://www.twilio.com/docs/chat/rest/users)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. + * The [User](https://www.twilio.com/docs/chat/rest/user-resource)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. * * @param string $identity The `identity` value of the resources to read * @return $this Fluent Builder diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MemberOptions.php b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MemberOptions.php index 9f38e53f78..b87b76f1b1 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MemberOptions.php +++ b/src/Twilio/Rest/IpMessaging/V2/Service/Channel/MemberOptions.php @@ -88,7 +88,7 @@ public function __construct($roleSid = Values::NONE, $lastConsumedMessageIndex = } /** - * The SID of the [Role](https://www.twilio.com/docs/chat/rest/roles) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/api/services). + * The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/rest/service-resource). * * @param string $roleSid The SID of the Role to assign to the member * @return $this Fluent Builder @@ -99,7 +99,7 @@ public function setRoleSid($roleSid) { } /** - * The index of the last [Message](https://www.twilio.com/docs/chat/rest/messages) in the [Channel](https://www.twilio.com/docs/chat/channels) that the Member has read. This parameter should only be used when recreating a Member from a backup/separate source. + * The index of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) in the [Channel](https://www.twilio.com/docs/chat/channels) that the Member has read. This parameter should only be used when recreating a Member from a backup/separate source. * * @param int $lastConsumedMessageIndex The index of the last Message in the * Channel the Member has read @@ -111,7 +111,7 @@ public function setLastConsumedMessageIndex($lastConsumedMessageIndex) { } /** - * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp of the last [Message](https://www.twilio.com/docs/chat/rest/messages) read event for the Member within the [Channel](https://www.twilio.com/docs/chat/channels). + * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) read event for the Member within the [Channel](https://www.twilio.com/docs/chat/channels). * * @param \DateTime $lastConsumptionTimestamp The ISO 8601 based timestamp * string representing the datetime @@ -185,7 +185,7 @@ public function __construct($identity = Values::NONE) { } /** - * The [User](https://www.twilio.com/docs/chat/rest/users)'s `identity` value of the Member resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. + * The [User](https://www.twilio.com/docs/chat/rest/user-resource)'s `identity` value of the Member resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details. * * @param string $identity The `identity` value of the resources to read * @return $this Fluent Builder @@ -237,7 +237,7 @@ public function __construct($roleSid = Values::NONE, $lastConsumedMessageIndex = } /** - * The SID of the [Role](https://www.twilio.com/docs/chat/rest/roles) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/api/services). + * The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/rest/service-resource). * * @param string $roleSid The SID of the Role to assign to the member * @return $this Fluent Builder @@ -248,7 +248,7 @@ public function setRoleSid($roleSid) { } /** - * The index of the last [Message](https://www.twilio.com/docs/chat/rest/messages) that the Member has read within the [Channel](https://www.twilio.com/docs/chat/channels). + * The index of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) that the Member has read within the [Channel](https://www.twilio.com/docs/chat/channels). * * @param int $lastConsumedMessageIndex The index of the last consumed Message * for the Channel for the Member @@ -260,7 +260,7 @@ public function setLastConsumedMessageIndex($lastConsumedMessageIndex) { } /** - * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp of the last [Message](https://www.twilio.com/docs/chat/rest/messages) read event for the Member within the [Channel](https://www.twilio.com/docs/chat/channels). + * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) read event for the Member within the [Channel](https://www.twilio.com/docs/chat/channels). * * @param \DateTime $lastConsumptionTimestamp The ISO 8601 based timestamp * string representing the datetime diff --git a/src/Twilio/Rest/IpMessaging/V2/Service/UserOptions.php b/src/Twilio/Rest/IpMessaging/V2/Service/UserOptions.php index 47a96a2460..9c19f7509f 100644 --- a/src/Twilio/Rest/IpMessaging/V2/Service/UserOptions.php +++ b/src/Twilio/Rest/IpMessaging/V2/Service/UserOptions.php @@ -50,7 +50,7 @@ public function __construct($roleSid = Values::NONE, $attributes = Values::NONE, } /** - * The SID of the [Role](https://www.twilio.com/docs/chat/rest/roles) to assign to the new User. + * The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the new User. * * @param string $roleSid The SID of the Role assigned to this user * @return $this Fluent Builder @@ -113,7 +113,7 @@ public function __construct($roleSid = Values::NONE, $attributes = Values::NONE, } /** - * The SID of the [Role](https://www.twilio.com/docs/chat/rest/roles) to assign to the User. + * The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the User. * * @param string $roleSid The SID id of the Role assigned to this user * @return $this Fluent Builder diff --git a/src/Twilio/Rest/IpMessaging/V2/ServiceOptions.php b/src/Twilio/Rest/IpMessaging/V2/ServiceOptions.php index 4961dcea18..f674fd3515 100644 --- a/src/Twilio/Rest/IpMessaging/V2/ServiceOptions.php +++ b/src/Twilio/Rest/IpMessaging/V2/ServiceOptions.php @@ -232,7 +232,7 @@ public function setFriendlyName($friendlyName) { } /** - * The service role assigned to users when they are added to the service. See the [Role resource](https://www.twilio.com/docs/chat/api/roles) for more info about roles. + * The service role assigned to users when they are added to the service. See the [Role resource](https://www.twilio.com/docs/chat/rest/role-resource) for more info about roles. * * @param string $defaultServiceRoleSid The service role assigned to users when * they are added to the service @@ -244,7 +244,7 @@ public function setDefaultServiceRoleSid($defaultServiceRoleSid) { } /** - * The channel role assigned to users when they are added to a channel. See the [Role resource](https://www.twilio.com/docs/chat/api/roles) for more info about roles. + * The channel role assigned to users when they are added to a channel. See the [Role resource](https://www.twilio.com/docs/chat/rest/role-resource) for more info about roles. * * @param string $defaultChannelRoleSid The channel role assigned to users when * they are added to a channel @@ -256,7 +256,7 @@ public function setDefaultChannelRoleSid($defaultChannelRoleSid) { } /** - * The channel role assigned to a channel creator when they join a new channel. See the [Role resource](https://www.twilio.com/docs/chat/api/roles) for more info about roles. + * The channel role assigned to a channel creator when they join a new channel. See the [Role resource](https://www.twilio.com/docs/chat/rest/role-resource) for more info about roles. * * @param string $defaultChannelCreatorRoleSid The channel role assigned to a * channel creator when they join a diff --git a/src/Twilio/Rest/Lookups/V1/PhoneNumberOptions.php b/src/Twilio/Rest/Lookups/V1/PhoneNumberOptions.php index 3e01f32b85..a06af2aa88 100644 --- a/src/Twilio/Rest/Lookups/V1/PhoneNumberOptions.php +++ b/src/Twilio/Rest/Lookups/V1/PhoneNumberOptions.php @@ -42,7 +42,7 @@ public function __construct($countryCode = Values::NONE, $type = Values::NONE, $ } /** - * The [ISO country code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the phone number to fetch. This is used to specify the country when the phone number is provided in a national format. + * The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the phone number to fetch. This is used to specify the country when the phone number is provided in a national format. * * @param string $countryCode The ISO country code of the phone number * @return $this Fluent Builder @@ -64,7 +64,7 @@ public function setType($type) { } /** - * The `unique_name` of an Add-on you would like to invoke. Can be the `unique_name` of an Add-on that is installed on your account. You can specify multiple instances of this parameter to invoke multiple Add-ons. For more information about Add-ons, see the [Add-ons documentation](https://www.twilio.com/docs/api/addons). + * The `unique_name` of an Add-on you would like to invoke. Can be the `unique_name` of an Add-on that is installed on your account. You can specify multiple instances of this parameter to invoke multiple Add-ons. For more information about Add-ons, see the [Add-ons documentation](https://www.twilio.com/docs/add-ons). * * @param string $addOns The unique_name of an Add-on you would like to invoke * @return $this Fluent Builder diff --git a/src/Twilio/Rest/Monitor.php b/src/Twilio/Rest/Monitor.php index bdbaf8d379..4cc52ae240 100644 --- a/src/Twilio/Rest/Monitor.php +++ b/src/Twilio/Rest/Monitor.php @@ -87,7 +87,7 @@ protected function getAlerts() { } /** - * @param string $sid The sid + * @param string $sid A 34 character string that uniquely identifies this Alert. * @return \Twilio\Rest\Monitor\V1\AlertContext */ protected function contextAlerts($sid) { diff --git a/src/Twilio/Rest/Monitor/V1/AlertContext.php b/src/Twilio/Rest/Monitor/V1/AlertContext.php index b551036c82..7ee5a1e48b 100644 --- a/src/Twilio/Rest/Monitor/V1/AlertContext.php +++ b/src/Twilio/Rest/Monitor/V1/AlertContext.php @@ -19,7 +19,7 @@ class AlertContext extends InstanceContext { * Initialize the AlertContext * * @param \Twilio\Version $version Version that contains the resource - * @param string $sid The sid + * @param string $sid A 34 character string that uniquely identifies this Alert. * @return \Twilio\Rest\Monitor\V1\AlertContext */ public function __construct(Version $version, $sid) { @@ -49,16 +49,6 @@ public function fetch() { return new AlertInstance($this->version, $payload, $this->solution['sid']); } - /** - * Deletes the AlertInstance - * - * @return boolean True if delete succeeds, false otherwise - * @throws TwilioException When an HTTP error occurs. - */ - public function delete() { - return $this->version->delete('delete', $this->uri); - } - /** * Provide a friendly representation * diff --git a/src/Twilio/Rest/Monitor/V1/AlertInstance.php b/src/Twilio/Rest/Monitor/V1/AlertInstance.php index d251706f71..9430cf903a 100644 --- a/src/Twilio/Rest/Monitor/V1/AlertInstance.php +++ b/src/Twilio/Rest/Monitor/V1/AlertInstance.php @@ -33,6 +33,8 @@ * @property string $responseHeaders * @property string $sid * @property string $url + * @property string $requestHeaders + * @property string $serviceSid */ class AlertInstance extends InstanceResource { /** @@ -40,7 +42,7 @@ class AlertInstance extends InstanceResource { * * @param \Twilio\Version $version Version that contains the resource * @param mixed[] $payload The response payload - * @param string $sid The sid + * @param string $sid A 34 character string that uniquely identifies this Alert. * @return \Twilio\Rest\Monitor\V1\AlertInstance */ public function __construct(Version $version, array $payload, $sid = null) { @@ -62,9 +64,11 @@ public function __construct(Version $version, array $payload, $sid = null) { 'resourceSid' => Values::array_get($payload, 'resource_sid'), 'sid' => Values::array_get($payload, 'sid'), 'url' => Values::array_get($payload, 'url'), + 'serviceSid' => Values::array_get($payload, 'service_sid'), 'requestVariables' => Values::array_get($payload, 'request_variables'), 'responseBody' => Values::array_get($payload, 'response_body'), 'responseHeaders' => Values::array_get($payload, 'response_headers'), + 'requestHeaders' => Values::array_get($payload, 'request_headers'), ); $this->solution = array('sid' => $sid ?: $this->properties['sid'], ); @@ -94,16 +98,6 @@ public function fetch() { return $this->proxy()->fetch(); } - /** - * Deletes the AlertInstance - * - * @return boolean True if delete succeeds, false otherwise - * @throws TwilioException When an HTTP error occurs. - */ - public function delete() { - return $this->proxy()->delete(); - } - /** * Magic getter to access properties * diff --git a/src/Twilio/Rest/Monitor/V1/AlertList.php b/src/Twilio/Rest/Monitor/V1/AlertList.php index 059095ca5f..26676d7edd 100644 --- a/src/Twilio/Rest/Monitor/V1/AlertList.php +++ b/src/Twilio/Rest/Monitor/V1/AlertList.php @@ -127,7 +127,7 @@ public function getPage($targetUrl) { /** * Constructs a AlertContext * - * @param string $sid The sid + * @param string $sid A 34 character string that uniquely identifies this Alert. * @return \Twilio\Rest\Monitor\V1\AlertContext */ public function getContext($sid) { diff --git a/src/Twilio/Rest/Preview/TrustedComms/CurrentCallOptions.php b/src/Twilio/Rest/Preview/TrustedComms/CurrentCallOptions.php deleted file mode 100644 index 1351545a4a..0000000000 --- a/src/Twilio/Rest/Preview/TrustedComms/CurrentCallOptions.php +++ /dev/null @@ -1,75 +0,0 @@ -options['from'] = $from; - $this->options['to'] = $to; - } - - /** - * The originating Phone Number, given in E.164 format (https://en.wikipedia.org/wiki/E.164). This phone number should be a Twilio number, otherwise it will return an error with HTTP Status Code 400. - * - * @param string $from The originating Phone Number - * @return $this Fluent Builder - */ - public function setFrom($from) { - $this->options['from'] = $from; - return $this; - } - - /** - * The terminating Phone Number, given in E.164 format (https://en.wikipedia.org/wiki/E.164). - * - * @param string $to The terminating Phone Number - * @return $this Fluent Builder - */ - public function setTo($to) { - $this->options['to'] = $to; - return $this; - } - - /** - * Provide a friendly representation - * - * @return string Machine friendly representation - */ - public function __toString() { - $options = array(); - foreach ($this->options as $key => $value) { - if ($value != Values::NONE) { - $options[] = "$key=$value"; - } - } - return '[Twilio.Preview.TrustedComms.FetchCurrentCallOptions ' . implode(' ', $options) . ']'; - } -} \ No newline at end of file diff --git a/tests/Twilio/Integration/Monitor/V1/AlertTest.php b/tests/Twilio/Integration/Monitor/V1/AlertTest.php index 7ad393caa2..e9771f0f7a 100644 --- a/tests/Twilio/Integration/Monitor/V1/AlertTest.php +++ b/tests/Twilio/Integration/Monitor/V1/AlertTest.php @@ -50,8 +50,10 @@ public function testFetchResponse() { "resource_sid": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "response_body": "response_body", "response_headers": "response_headers", + "request_headers": "request_headers", "sid": "NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "url": "https://monitor.twilio.com/v1/Alerts/NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "url": "https://monitor.twilio.com/v1/Alerts/NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "service_sid": "PNe2cd757cd5257b0217a447933a0290d2" } ' )); @@ -61,31 +63,6 @@ public function testFetchResponse() { $this->assertNotNull($actual); } - public function testDeleteRequest() { - $this->holodeck->mock(new Response(500, '')); - - try { - $this->twilio->monitor->v1->alerts("NOXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")->delete(); - } catch (DeserializeException $e) {} - catch (TwilioException $e) {} - - $this->assertRequest(new Request( - 'delete', - 'https://monitor.twilio.com/v1/Alerts/NOXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' - )); - } - - public function testDeleteResponse() { - $this->holodeck->mock(new Response( - 204, - null - )); - - $actual = $this->twilio->monitor->v1->alerts("NOXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")->delete(); - - $this->assertTrue($actual); - } - public function testReadRequest() { $this->holodeck->mock(new Response(500, '')); @@ -144,7 +121,8 @@ public function testReadFullResponse() { "request_url": "http://www.example.com", "resource_sid": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "sid": "NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "url": "https://monitor.twilio.com/v1/Alerts/NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + "url": "https://monitor.twilio.com/v1/Alerts/NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "service_sid": "PNe2cd757cd5257b0217a447933a0290d2" } ], "meta": {