Skip to content

Commit 821de37

Browse files
committed
[Librarian] Regenerated @ 556cffc21d7318f27d71e40146d324df61aba54f 0d6654ebfab8c5a41c8454374cbb1c93d806bfae
1 parent bebbdf4 commit 821de37

File tree

129 files changed

+2508
-174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+2508
-174
lines changed

CHANGES.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
twilio-go changelog
22
====================
3+
[2025-09-18] Version 1.28.1
4+
---------------------------
5+
**Api**
6+
- Add `date_created` property to media resource and date_created filtering parameters for read action
7+
- Updated the Recordings Resource `channels` property to clarify channels = # of channels in the recording resource and how to specify the # of channels in recording download
8+
9+
**Intelligence**
10+
- Add encryption_credential_sid field in transcripts and services in v2
11+
12+
**Trusthub**
13+
- Remove beta feature flag for all TH APIs
14+
- Remove beta feature flag for ComplianceInquiries API to support OneConsole traffic
15+
16+
**Twiml**
17+
- Add new noun `<AiSession>`
18+
19+
320
[2025-09-04] Version 1.28.0
421
---------------------------
522
**Api**

rest/api/v2010/accounts_available_phone_numbers_local.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type ListAvailablePhoneNumberLocalParams struct {
2929
PathAccountSid *string `json:"PathAccountSid,omitempty"`
3030
// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
3131
AreaCode *int `json:"AreaCode,omitempty"`
32-
// 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/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters.
32+
// Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
3333
Contains *string `json:"Contains,omitempty"`
3434
// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
3535
SmsEnabled *bool `json:"SmsEnabled,omitempty"`

rest/api/v2010/accounts_available_phone_numbers_machine_to_machine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type ListAvailablePhoneNumberMachineToMachineParams struct {
2929
PathAccountSid *string `json:"PathAccountSid,omitempty"`
3030
// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
3131
AreaCode *int `json:"AreaCode,omitempty"`
32-
// 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.
32+
// Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
3333
Contains *string `json:"Contains,omitempty"`
3434
// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
3535
SmsEnabled *bool `json:"SmsEnabled,omitempty"`

rest/api/v2010/accounts_available_phone_numbers_mobile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type ListAvailablePhoneNumberMobileParams struct {
2929
PathAccountSid *string `json:"PathAccountSid,omitempty"`
3030
// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
3131
AreaCode *int `json:"AreaCode,omitempty"`
32-
// 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.
32+
// Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
3333
Contains *string `json:"Contains,omitempty"`
3434
// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
3535
SmsEnabled *bool `json:"SmsEnabled,omitempty"`

rest/api/v2010/accounts_available_phone_numbers_national.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type ListAvailablePhoneNumberNationalParams struct {
2929
PathAccountSid *string `json:"PathAccountSid,omitempty"`
3030
// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
3131
AreaCode *int `json:"AreaCode,omitempty"`
32-
// 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.
32+
// Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
3333
Contains *string `json:"Contains,omitempty"`
3434
// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
3535
SmsEnabled *bool `json:"SmsEnabled,omitempty"`

rest/api/v2010/accounts_available_phone_numbers_shared_cost.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type ListAvailablePhoneNumberSharedCostParams struct {
2929
PathAccountSid *string `json:"PathAccountSid,omitempty"`
3030
// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
3131
AreaCode *int `json:"AreaCode,omitempty"`
32-
// 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.
32+
// Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
3333
Contains *string `json:"Contains,omitempty"`
3434
// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
3535
SmsEnabled *bool `json:"SmsEnabled,omitempty"`

rest/api/v2010/accounts_available_phone_numbers_toll_free.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type ListAvailablePhoneNumberTollFreeParams struct {
2929
PathAccountSid *string `json:"PathAccountSid,omitempty"`
3030
// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
3131
AreaCode *int `json:"AreaCode,omitempty"`
32-
// 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.
32+
// Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
3333
Contains *string `json:"Contains,omitempty"`
3434
// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
3535
SmsEnabled *bool `json:"SmsEnabled,omitempty"`

rest/api/v2010/accounts_available_phone_numbers_voip.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type ListAvailablePhoneNumberVoipParams struct {
2929
PathAccountSid *string `json:"PathAccountSid,omitempty"`
3030
// The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
3131
AreaCode *int `json:"AreaCode,omitempty"`
32-
// 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.
32+
// Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
3333
Contains *string `json:"Contains,omitempty"`
3434
// Whether the phone numbers can receive text messages. Can be: `true` or `false`.
3535
SmsEnabled *bool `json:"SmsEnabled,omitempty"`

rest/api/v2010/docs/AccountsAvailablePhoneNumbersLocalApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Name | Type | Description
3333
------------- | ------------- | -------------
3434
**PathAccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
3535
**AreaCode** | **int** | The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
36-
**Contains** | **string** | 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/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-number-pattern) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumberlocal-resource?code-sample=code-find-phone-numbers-by-character-pattern). If specified, this value must have at least two characters.
36+
**Contains** | **string** | Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
3737
**SmsEnabled** | **bool** | Whether the phone numbers can receive text messages. Can be: `true` or `false`.
3838
**MmsEnabled** | **bool** | Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
3939
**VoiceEnabled** | **bool** | Whether the phone numbers can receive calls. Can be: `true` or `false`.

rest/api/v2010/docs/AccountsAvailablePhoneNumbersMachineToMachineApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Name | Type | Description
3333
------------- | ------------- | -------------
3434
**PathAccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) requesting the AvailablePhoneNumber resources.
3535
**AreaCode** | **int** | The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
36-
**Contains** | **string** | 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.
36+
**Contains** | **string** | Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
3737
**SmsEnabled** | **bool** | Whether the phone numbers can receive text messages. Can be: `true` or `false`.
3838
**MmsEnabled** | **bool** | Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
3939
**VoiceEnabled** | **bool** | Whether the phone numbers can receive calls. Can be: `true` or `false`.

0 commit comments

Comments
 (0)