Skip to content

Commit 8750e7a

Browse files
committed
[Librarian] Regenerated @ d122b05026327019e18cb5763c557a68138cc2c8 0e8634d10afc0145e18ccb8d90598b642b67ad87
1 parent f2c6ab2 commit 8750e7a

File tree

513 files changed

+3790
-6277
lines changed

Some content is hidden

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

513 files changed

+3790
-6277
lines changed

CHANGES.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
twilio-go changelog
22
====================
3+
[2025-07-03] Version 1.26.4
4+
---------------------------
5+
**Bulkexports**
6+
- Changed the type of 'details' field to be a list of objects instead of a single object
7+
8+
**Conversations**
9+
- Updates to `method` casing for ConfgurationAddress, ConversationScopedWebhook, and ServiceConversationScopedWebhook for RestProxy compatibility
10+
11+
**Proxy**
12+
- remove shortcodes resource as its no longer used
13+
14+
**Serverless**
15+
- Change log field level from type `ienum` to `string` in Logs api
16+
17+
**Taskrouter**
18+
- Remove `URL-encoded` from attributes param definition in tasks
19+
20+
**Trunking**
21+
- Added `symmetric_rtp_enabled` property on Trunks.
22+
23+
**Twiml**
24+
- Add support for `<WhatsApp>` noun under `<Dial>` verb
25+
26+
327
[2025-06-12] Version 1.26.3
428
---------------------------
529
**Api**

rest/accounts/v1/consents_bulk.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ import (
2222
// Optional parameters for the method 'CreateBulkConsents'
2323
type CreateBulkConsentsParams struct {
2424
// This is a list of objects that describes a contact's opt-in status. Each object contains the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID used to uniquely map the request item with the response item; `sender_id`, which can be either a valid messaging service SID or a from phone number; `status`, a string representing the consent status. Can be one of [`opt-in`, `opt-out`]; `source`, a string indicating the medium through which the consent was collected. Can be one of [`website`, `offline`, `opt-in-message`, `opt-out-message`, `others`]; `date_of_consent`, an optional datetime string field in ISO-8601 format that captures the exact date and time when the user gave or revoked consent. If not provided, it will be empty.
25-
Items *[]map[string]interface{} `json:"Items,omitempty"`
25+
Items *[]interface{} `json:"Items,omitempty"`
2626
}
2727

28-
func (params *CreateBulkConsentsParams) SetItems(Items []map[string]interface{}) *CreateBulkConsentsParams {
28+
func (params *CreateBulkConsentsParams) SetItems(Items []interface{}) *CreateBulkConsentsParams {
2929
params.Items = &Items
3030
return params
3131
}

rest/accounts/v1/contacts_bulk.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ import (
2222
// Optional parameters for the method 'CreateBulkContacts'
2323
type CreateBulkContactsParams struct {
2424
// A list of objects where each object represents a contact's details. Each object includes the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID that maps the response to the original request; `country_iso_code`, a string representing the country using the ISO format (e.g., US for the United States); and `zip_code`, a string representing the postal code.
25-
Items *[]map[string]interface{} `json:"Items,omitempty"`
25+
Items *[]interface{} `json:"Items,omitempty"`
2626
}
2727

28-
func (params *CreateBulkContactsParams) SetItems(Items []map[string]interface{}) *CreateBulkContactsParams {
28+
func (params *CreateBulkContactsParams) SetItems(Items []interface{}) *CreateBulkContactsParams {
2929
params.Items = &Items
3030
return params
3131
}

rest/accounts/v1/docs/AccountsV1BulkConsents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**Items** | Pointer to **map[string]interface{}** | A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty. |
7+
**Items** | Pointer to **interface{}** | A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty. |
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1010

rest/accounts/v1/docs/AccountsV1BulkContacts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**Items** | Pointer to **map[string]interface{}** | A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty. |
7+
**Items** | Pointer to **interface{}** | A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty. |
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1010

rest/accounts/v1/docs/ConsentsBulkApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Other parameters are passed through a pointer to a CreateBulkConsentsParams stru
2727

2828
Name | Type | Description
2929
------------- | ------------- | -------------
30-
**Items** | **[]map[string]interface{}** | This is a list of objects that describes a contact's opt-in status. Each object contains the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID used to uniquely map the request item with the response item; `sender_id`, which can be either a valid messaging service SID or a from phone number; `status`, a string representing the consent status. Can be one of [`opt-in`, `opt-out`]; `source`, a string indicating the medium through which the consent was collected. Can be one of [`website`, `offline`, `opt-in-message`, `opt-out-message`, `others`]; `date_of_consent`, an optional datetime string field in ISO-8601 format that captures the exact date and time when the user gave or revoked consent. If not provided, it will be empty.
30+
**Items** | **[]interface{}** | This is a list of objects that describes a contact's opt-in status. Each object contains the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID used to uniquely map the request item with the response item; `sender_id`, which can be either a valid messaging service SID or a from phone number; `status`, a string representing the consent status. Can be one of [`opt-in`, `opt-out`]; `source`, a string indicating the medium through which the consent was collected. Can be one of [`website`, `offline`, `opt-in-message`, `opt-out-message`, `others`]; `date_of_consent`, an optional datetime string field in ISO-8601 format that captures the exact date and time when the user gave or revoked consent. If not provided, it will be empty.
3131

3232
### Return type
3333

rest/accounts/v1/docs/ContactsBulkApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Other parameters are passed through a pointer to a CreateBulkContactsParams stru
2727

2828
Name | Type | Description
2929
------------- | ------------- | -------------
30-
**Items** | **[]map[string]interface{}** | A list of objects where each object represents a contact's details. Each object includes the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID that maps the response to the original request; `country_iso_code`, a string representing the country using the ISO format (e.g., US for the United States); and `zip_code`, a string representing the postal code.
30+
**Items** | **[]interface{}** | A list of objects where each object represents a contact's details. Each object includes the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID that maps the response to the original request; `country_iso_code`, a string representing the country using the ISO format (e.g., US for the United States); and `zip_code`, a string representing the postal code.
3131

3232
### Return type
3333

rest/accounts/v1/model_accounts_v1_bulk_consents.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ package openapi
1717
// AccountsV1BulkConsents struct for AccountsV1BulkConsents
1818
type AccountsV1BulkConsents struct {
1919
// A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.
20-
Items *map[string]interface{} `json:"items,omitempty"`
20+
Items *interface{} `json:"items,omitempty"`
2121
}

rest/accounts/v1/model_accounts_v1_bulk_contacts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ package openapi
1717
// AccountsV1BulkContacts struct for AccountsV1BulkContacts
1818
type AccountsV1BulkContacts struct {
1919
// A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.
20-
Items *map[string]interface{} `json:"items,omitempty"`
20+
Items *interface{} `json:"items,omitempty"`
2121
}

rest/api/v2010/accounts_calls_payments.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ type CreatePaymentsParams struct {
4242
// A positive integer that is used to validate the length of the `PostalCode` inputted by the user. User must enter this many digits.
4343
MinPostalCodeLength *int `json:"MinPostalCodeLength,omitempty"`
4444
// A single-level JSON object used to pass custom parameters to payment processors. (Required for ACH payments). The information that has to be included here depends on the <Pay> Connector. [Read more](https://www.twilio.com/console/voice/pay-connectors).
45-
Parameter *map[string]interface{} `json:"Parameter,omitempty"`
45+
Parameter *interface{} `json:"Parameter,omitempty"`
4646
// This is the unique name corresponding to the Pay Connector installed in the Twilio Add-ons. Learn more about [<Pay> Connectors](https://www.twilio.com/console/voice/pay-connectors). The default value is `Default`.
4747
PaymentConnector *string `json:"PaymentConnector,omitempty"`
4848
//
@@ -95,7 +95,7 @@ func (params *CreatePaymentsParams) SetMinPostalCodeLength(MinPostalCodeLength i
9595
params.MinPostalCodeLength = &MinPostalCodeLength
9696
return params
9797
}
98-
func (params *CreatePaymentsParams) SetParameter(Parameter map[string]interface{}) *CreatePaymentsParams {
98+
func (params *CreatePaymentsParams) SetParameter(Parameter interface{}) *CreatePaymentsParams {
9999
params.Parameter = &Parameter
100100
return params
101101
}

0 commit comments

Comments
 (0)