diff --git a/CHANGES.md b/CHANGES.md index 7315443dc..e775c47ee 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,20 @@ twilio-go changelog ==================== +[2023-09-21] Version 1.14.0 +--------------------------- +**Conversations** +- Enable conversation email bindings, email address configurations and email message subjects + +**Flex** +- Adding `console_errors_included` to Flex Configuration field `debugger_integrations` +- Introducing new channel status as `inactive` in modify channel endpoint for leave functionality **(breaking change)** +- Adding `citrix_voice_vdi` to Flex Configuration + +**Taskrouter** +- Add Update Queues, Workers, Workflow Real Time Statistics API to flex-rt-data-api-v2 endpoint +- Add Update Workspace Real Time Statistics API to flex-rt-data-api-v2 endpoint + + [2023-09-07] Version 1.13.0 --------------------------- **Api** diff --git a/client/version.go b/client/version.go index 9247c7385..8d17d2bc7 100644 --- a/client/version.go +++ b/client/version.go @@ -2,4 +2,4 @@ package client // LibraryVersion specifies the current version of twilio-go. -const LibraryVersion = "1.13.0" +const LibraryVersion = "1.14.0" diff --git a/rest/accounts/v1/README.md b/rest/accounts/v1/README.md index 93217eb8e..f368e0ac1 100644 --- a/rest/accounts/v1/README.md +++ b/rest/accounts/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/api/v2010/README.md b/rest/api/v2010/README.md index 116e4f20a..228b760e3 100644 --- a/rest/api/v2010/README.md +++ b/rest/api/v2010/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) @@ -230,6 +230,9 @@ Class | Method | HTTP request | Description *AccountsUsageTriggersApi* | [**FetchUsageTrigger**](docs/AccountsUsageTriggersApi.md#fetchusagetrigger) | **Get** /2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json | *AccountsUsageTriggersApi* | [**ListUsageTrigger**](docs/AccountsUsageTriggersApi.md#listusagetrigger) | **Get** /2010-04-01/Accounts/{AccountSid}/Usage/Triggers.json | *AccountsUsageTriggersApi* | [**UpdateUsageTrigger**](docs/AccountsUsageTriggersApi.md#updateusagetrigger) | **Post** /2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json | +*SafeListNumbersApi* | [**CreateSafelist**](docs/SafeListNumbersApi.md#createsafelist) | **Post** /2010-04-01/SafeList/Numbers.json | +*SafeListNumbersApi* | [**DeleteSafelist**](docs/SafeListNumbersApi.md#deletesafelist) | **Delete** /2010-04-01/SafeList/Numbers.json | +*SafeListNumbersApi* | [**FetchSafelist**](docs/SafeListNumbersApi.md#fetchsafelist) | **Get** /2010-04-01/SafeList/Numbers.json | ## Documentation For Models @@ -280,6 +283,7 @@ Class | Method | HTTP request | Description - [ApiV2010UsageRecordThisMonth](docs/ApiV2010UsageRecordThisMonth.md) - [ListAvailablePhoneNumberVoipResponse](docs/ListAvailablePhoneNumberVoipResponse.md) - [ListShortCodeResponse](docs/ListShortCodeResponse.md) + - [ApiV2010Safelist](docs/ApiV2010Safelist.md) - [ApiV2010Call](docs/ApiV2010Call.md) - [ListCallResponse](docs/ListCallResponse.md) - [ApiV2010ShortCode](docs/ApiV2010ShortCode.md) diff --git a/rest/api/v2010/accounts_messages.go b/rest/api/v2010/accounts_messages.go index b1bfb263a..823a9fc6a 100644 --- a/rest/api/v2010/accounts_messages.go +++ b/rest/api/v2010/accounts_messages.go @@ -66,7 +66,7 @@ type CreateMessageParams struct { Tags *string `json:"Tags,omitempty"` // RiskCheck *string `json:"RiskCheck,omitempty"` - // The sender's Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belong to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service's Sender Pool) or you can provide a specific sender from your Sender Pool. + // The sender's Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belongs to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service's Sender Pool) or you can provide a specific sender from your Sender Pool. From *string `json:"From,omitempty"` // The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services) you want to associate with the Message. When this parameter is provided and the `from` parameter is omitted, Twilio selects the optimal sender from the Messaging Service's Sender Pool. You may also provide a `from` parameter if you want to use a specific Sender from the Sender Pool. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` diff --git a/rest/api/v2010/docs/AccountsMessagesApi.md b/rest/api/v2010/docs/AccountsMessagesApi.md index 37d08c068..064b4507e 100644 --- a/rest/api/v2010/docs/AccountsMessagesApi.md +++ b/rest/api/v2010/docs/AccountsMessagesApi.md @@ -51,7 +51,7 @@ Name | Type | Description **ContentVariables** | **string** | For [Content Editor/API](https://www.twilio.com/docs/content) only: Key-value pairs of [Template variables](https://www.twilio.com/docs/content/using-variables-with-content-api) and their substitution values. `content_sid` parameter must also be provided. If values are not defined in the `content_variables` parameter, the [Template's default placeholder values](https://www.twilio.com/docs/content/content-api-resources#create-templates) are used. **Tags** | **string** | A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message. The object may contain up to 10 tags. Keys and values can each be up to 128 characters in length. **RiskCheck** | **string** | -**From** | **string** | The sender's Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belong to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service's Sender Pool) or you can provide a specific sender from your Sender Pool. +**From** | **string** | The sender's Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belongs to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service's Sender Pool) or you can provide a specific sender from your Sender Pool. **MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services) you want to associate with the Message. When this parameter is provided and the `from` parameter is omitted, Twilio selects the optimal sender from the Messaging Service's Sender Pool. You may also provide a `from` parameter if you want to use a specific Sender from the Sender Pool. **Body** | **string** | The text content of the outgoing message. Can be up to 1,600 characters in length. SMS only: If the `body` contains more than 160 [GSM-7](https://www.twilio.com/docs/glossary/what-is-gsm-7-character-encoding) characters (or 70 [UCS-2](https://www.twilio.com/docs/glossary/what-is-ucs-2-character-encoding) characters), the message is segmented and charged accordingly. For long `body` text, consider using the [send_as_mms parameter](https://www.twilio.com/blog/mms-for-long-text-messages). **MediaUrl** | **[]string** | The URL of media to include in the Message content. `jpeg`, `jpg`, `gif`, and `png` file types are fully supported by Twilio and content is formatted for delivery on destination devices. The media size limit is 5 MB for supported file types (`jpeg`, `jpg`, `png`, `gif`) and 500 KB for [other types](https://www.twilio.com/docs/sms/accepted-mime-types) of accepted media. To send more than one image in the message, provide multiple `media_url` parameters in the POST request. You can include up to ten `media_url` parameters per message. [International](https://support.twilio.com/hc/en-us/articles/223179808-Sending-and-receiving-MMS-messages) and [carrier](https://support.twilio.com/hc/en-us/articles/223133707-Is-MMS-supported-for-all-carriers-in-US-and-Canada-) limits apply. diff --git a/rest/api/v2010/docs/ApiV2010Safelist.md b/rest/api/v2010/docs/ApiV2010Safelist.md new file mode 100644 index 000000000..9d249db35 --- /dev/null +++ b/rest/api/v2010/docs/ApiV2010Safelist.md @@ -0,0 +1,12 @@ +# ApiV2010Safelist + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Sid** | Pointer to **string** | The unique string that we created to identify the SafeList resource. | +**PhoneNumber** | Pointer to **string** | The phone number in SafeList. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/rest/api/v2010/docs/SafeListNumbersApi.md b/rest/api/v2010/docs/SafeListNumbersApi.md new file mode 100644 index 000000000..1b7cdaeaa --- /dev/null +++ b/rest/api/v2010/docs/SafeListNumbersApi.md @@ -0,0 +1,128 @@ +# SafeListNumbersApi + +All URIs are relative to *https://api.twilio.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateSafelist**](SafeListNumbersApi.md#CreateSafelist) | **Post** /2010-04-01/SafeList/Numbers.json | +[**DeleteSafelist**](SafeListNumbersApi.md#DeleteSafelist) | **Delete** /2010-04-01/SafeList/Numbers.json | +[**FetchSafelist**](SafeListNumbersApi.md#FetchSafelist) | **Get** /2010-04-01/SafeList/Numbers.json | + + + +## CreateSafelist + +> ApiV2010Safelist CreateSafelist(ctx, optional) + + + +Add a new phone number to SafeList. + +### Path Parameters + +This endpoint does not need any path parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a CreateSafelistParams struct + + +Name | Type | Description +------------- | ------------- | ------------- +**PhoneNumber** | **string** | The phone number to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). + +### Return type + +[**ApiV2010Safelist**](ApiV2010Safelist.md) + +### Authorization + +[accountSid_authToken](../README.md#accountSid_authToken) + +### HTTP request headers + +- **Content-Type**: application/x-www-form-urlencoded +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteSafelist + +> DeleteSafelist(ctx, optional) + + + +Remove a phone number from SafeList. + +### Path Parameters + +This endpoint does not need any path parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a DeleteSafelistParams struct + + +Name | Type | Description +------------- | ------------- | ------------- +**PhoneNumber** | **string** | The phone number to be removed from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). + +### Return type + + (empty response body) + +### Authorization + +[accountSid_authToken](../README.md#accountSid_authToken) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## FetchSafelist + +> ApiV2010Safelist FetchSafelist(ctx, optional) + + + +Check if a phone number exists in SafeList. + +### Path Parameters + +This endpoint does not need any path parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a FetchSafelistParams struct + + +Name | Type | Description +------------- | ------------- | ------------- +**PhoneNumber** | **string** | The phone number to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). + +### Return type + +[**ApiV2010Safelist**](ApiV2010Safelist.md) + +### Authorization + +[accountSid_authToken](../README.md#accountSid_authToken) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/rest/api/v2010/model_api_v2010_safelist.go b/rest/api/v2010/model_api_v2010_safelist.go new file mode 100644 index 000000000..2aa6eae12 --- /dev/null +++ b/rest/api/v2010/model_api_v2010_safelist.go @@ -0,0 +1,23 @@ +/* + * This code was generated by + * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ + * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ + * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ + * + * Twilio - Api + * This is the public Twilio REST API. + * + * NOTE: This class is auto generated by OpenAPI Generator. + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package openapi + +// ApiV2010Safelist struct for ApiV2010Safelist +type ApiV2010Safelist struct { + // The unique string that we created to identify the SafeList resource. + Sid *string `json:"sid,omitempty"` + // The phone number in SafeList. + PhoneNumber *string `json:"phone_number,omitempty"` +} diff --git a/rest/api/v2010/safe_list_numbers.go b/rest/api/v2010/safe_list_numbers.go new file mode 100644 index 000000000..12a6e866c --- /dev/null +++ b/rest/api/v2010/safe_list_numbers.go @@ -0,0 +1,126 @@ +/* + * This code was generated by + * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ + * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ + * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ + * + * Twilio - Api + * This is the public Twilio REST API. + * + * NOTE: This class is auto generated by OpenAPI Generator. + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package openapi + +import ( + "encoding/json" + "net/url" +) + +// Optional parameters for the method 'CreateSafelist' +type CreateSafelistParams struct { + // The phone number to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). + PhoneNumber *string `json:"PhoneNumber,omitempty"` +} + +func (params *CreateSafelistParams) SetPhoneNumber(PhoneNumber string) *CreateSafelistParams { + params.PhoneNumber = &PhoneNumber + return params +} + +// Add a new phone number to SafeList. +func (c *ApiService) CreateSafelist(params *CreateSafelistParams) (*ApiV2010Safelist, error) { + path := "/2010-04-01/SafeList/Numbers.json" + + data := url.Values{} + headers := make(map[string]interface{}) + + if params != nil && params.PhoneNumber != nil { + data.Set("PhoneNumber", *params.PhoneNumber) + } + + resp, err := c.requestHandler.Post(c.baseURL+path, data, headers) + if err != nil { + return nil, err + } + + defer resp.Body.Close() + + ps := &ApiV2010Safelist{} + if err := json.NewDecoder(resp.Body).Decode(ps); err != nil { + return nil, err + } + + return ps, err +} + +// Optional parameters for the method 'DeleteSafelist' +type DeleteSafelistParams struct { + // The phone number to be removed from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). + PhoneNumber *string `json:"PhoneNumber,omitempty"` +} + +func (params *DeleteSafelistParams) SetPhoneNumber(PhoneNumber string) *DeleteSafelistParams { + params.PhoneNumber = &PhoneNumber + return params +} + +// Remove a phone number from SafeList. +func (c *ApiService) DeleteSafelist(params *DeleteSafelistParams) error { + path := "/2010-04-01/SafeList/Numbers.json" + + data := url.Values{} + headers := make(map[string]interface{}) + + if params != nil && params.PhoneNumber != nil { + data.Set("PhoneNumber", *params.PhoneNumber) + } + + resp, err := c.requestHandler.Delete(c.baseURL+path, data, headers) + if err != nil { + return err + } + + defer resp.Body.Close() + + return nil +} + +// Optional parameters for the method 'FetchSafelist' +type FetchSafelistParams struct { + // The phone number to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164). + PhoneNumber *string `json:"PhoneNumber,omitempty"` +} + +func (params *FetchSafelistParams) SetPhoneNumber(PhoneNumber string) *FetchSafelistParams { + params.PhoneNumber = &PhoneNumber + return params +} + +// Check if a phone number exists in SafeList. +func (c *ApiService) FetchSafelist(params *FetchSafelistParams) (*ApiV2010Safelist, error) { + path := "/2010-04-01/SafeList/Numbers.json" + + data := url.Values{} + headers := make(map[string]interface{}) + + if params != nil && params.PhoneNumber != nil { + data.Set("PhoneNumber", *params.PhoneNumber) + } + + resp, err := c.requestHandler.Get(c.baseURL+path, data, headers) + if err != nil { + return nil, err + } + + defer resp.Body.Close() + + ps := &ApiV2010Safelist{} + if err := json.NewDecoder(resp.Body).Decode(ps); err != nil { + return nil, err + } + + return ps, err +} diff --git a/rest/autopilot/v1/README.md b/rest/autopilot/v1/README.md index f60884a06..09820bed7 100644 --- a/rest/autopilot/v1/README.md +++ b/rest/autopilot/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/bulkexports/v1/README.md b/rest/bulkexports/v1/README.md index 11bdff909..7d356b94d 100644 --- a/rest/bulkexports/v1/README.md +++ b/rest/bulkexports/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/chat/v1/README.md b/rest/chat/v1/README.md index 7f95a5523..6d33b51f3 100644 --- a/rest/chat/v1/README.md +++ b/rest/chat/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/chat/v2/README.md b/rest/chat/v2/README.md index 547028ebf..8f9225c78 100644 --- a/rest/chat/v2/README.md +++ b/rest/chat/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/chat/v3/README.md b/rest/chat/v3/README.md index 46134ba09..c045db803 100644 --- a/rest/chat/v3/README.md +++ b/rest/chat/v3/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/chat/v3/docs/ChatV3Channel.md b/rest/chat/v3/docs/ChatV3Channel.md index 3279f72e5..bd105becb 100644 --- a/rest/chat/v3/docs/ChatV3Channel.md +++ b/rest/chat/v3/docs/ChatV3Channel.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **CreatedBy** | Pointer to **string** | The `identity` of the User that created the channel. If the Channel was created by using the API, the value is `system`. | **MembersCount** | Pointer to **int** | The number of Members in the Channel. | **MessagesCount** | Pointer to **int** | The number of Messages that have been passed in the Channel. | -**MessagingServiceSid** | Pointer to **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this channel belongs to. | +**MessagingServiceSid** | Pointer to **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this channel belongs to. | **Url** | Pointer to **string** | The absolute URL of the Channel resource. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rest/chat/v3/docs/ServicesChannelsApi.md b/rest/chat/v3/docs/ServicesChannelsApi.md index 9cd001c63..bd8126ae9 100644 --- a/rest/chat/v3/docs/ServicesChannelsApi.md +++ b/rest/chat/v3/docs/ServicesChannelsApi.md @@ -34,7 +34,7 @@ Name | Type | Description ------------- | ------------- | ------------- **XTwilioWebhookEnabled** | **string** | The X-Twilio-Webhook-Enabled HTTP request header **Type** | **string** | -**MessagingServiceSid** | **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this channel belongs to. +**MessagingServiceSid** | **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this channel belongs to. ### Return type diff --git a/rest/chat/v3/model_chat_v3_channel.go b/rest/chat/v3/model_chat_v3_channel.go index 29928cbd6..70f9bb36e 100644 --- a/rest/chat/v3/model_chat_v3_channel.go +++ b/rest/chat/v3/model_chat_v3_channel.go @@ -43,7 +43,7 @@ type ChatV3Channel struct { MembersCount *int `json:"members_count,omitempty"` // The number of Messages that have been passed in the Channel. MessagesCount *int `json:"messages_count,omitempty"` - // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this channel belongs to. + // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this channel belongs to. MessagingServiceSid *string `json:"messaging_service_sid,omitempty"` // The absolute URL of the Channel resource. Url *string `json:"url,omitempty"` diff --git a/rest/chat/v3/services_channels.go b/rest/chat/v3/services_channels.go index 7a564aec8..4a6e82462 100644 --- a/rest/chat/v3/services_channels.go +++ b/rest/chat/v3/services_channels.go @@ -26,7 +26,7 @@ type UpdateChannelParams struct { XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // Type *string `json:"Type,omitempty"` - // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this channel belongs to. + // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this channel belongs to. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` } diff --git a/rest/content/v1/README.md b/rest/content/v1/README.md index ee1008bef..bec0d518b 100644 --- a/rest/content/v1/README.md +++ b/rest/content/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/conversations/v1/README.md b/rest/conversations/v1/README.md index 5b3b4f432..2aa565b7b 100644 --- a/rest/conversations/v1/README.md +++ b/rest/conversations/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/conversations/v1/configuration.go b/rest/conversations/v1/configuration.go index 851b3afaf..04e02a8ac 100644 --- a/rest/conversations/v1/configuration.go +++ b/rest/conversations/v1/configuration.go @@ -45,7 +45,7 @@ func (c *ApiService) FetchConfiguration() (*ConversationsV1Configuration, error) type UpdateConfigurationParams struct { // The SID of the default [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) to use when creating a conversation. DefaultChatServiceSid *string `json:"DefaultChatServiceSid,omitempty"` - // The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to use when creating a conversation. + // The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to use when creating a conversation. DefaultMessagingServiceSid *string `json:"DefaultMessagingServiceSid,omitempty"` // Default ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. DefaultInactiveTimer *string `json:"DefaultInactiveTimer,omitempty"` diff --git a/rest/conversations/v1/conversations.go b/rest/conversations/v1/conversations.go index 9cdf7ba9b..02ab5a2bc 100644 --- a/rest/conversations/v1/conversations.go +++ b/rest/conversations/v1/conversations.go @@ -36,7 +36,7 @@ type CreateConversationParams struct { DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"DateUpdated,omitempty"` - // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. + // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` @@ -46,6 +46,10 @@ type CreateConversationParams struct { TimersInactive *string `json:"Timers.Inactive,omitempty"` // ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. TimersClosed *string `json:"Timers.Closed,omitempty"` + // The default email address that will be used when sending outbound emails in this conversation. + BindingsEmailAddress *string `json:"Bindings.Email.Address,omitempty"` + // The default name that will be used when sending outbound emails in this conversation. + BindingsEmailName *string `json:"Bindings.Email.Name,omitempty"` } func (params *CreateConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateConversationParams { @@ -88,6 +92,14 @@ func (params *CreateConversationParams) SetTimersClosed(TimersClosed string) *Cr params.TimersClosed = &TimersClosed return params } +func (params *CreateConversationParams) SetBindingsEmailAddress(BindingsEmailAddress string) *CreateConversationParams { + params.BindingsEmailAddress = &BindingsEmailAddress + return params +} +func (params *CreateConversationParams) SetBindingsEmailName(BindingsEmailName string) *CreateConversationParams { + params.BindingsEmailName = &BindingsEmailName + return params +} // Create a new conversation in your account's default service func (c *ApiService) CreateConversation(params *CreateConversationParams) (*ConversationsV1Conversation, error) { @@ -123,6 +135,12 @@ func (c *ApiService) CreateConversation(params *CreateConversationParams) (*Conv if params != nil && params.TimersClosed != nil { data.Set("Timers.Closed", *params.TimersClosed) } + if params != nil && params.BindingsEmailAddress != nil { + data.Set("Bindings.Email.Address", *params.BindingsEmailAddress) + } + if params != nil && params.BindingsEmailName != nil { + data.Set("Bindings.Email.Name", *params.BindingsEmailName) + } if params != nil && params.XTwilioWebhookEnabled != nil { headers["X-Twilio-Webhook-Enabled"] = *params.XTwilioWebhookEnabled @@ -374,7 +392,7 @@ type UpdateConversationParams struct { DateUpdated *time.Time `json:"DateUpdated,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` - // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. + // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` // State *string `json:"State,omitempty"` @@ -384,6 +402,10 @@ type UpdateConversationParams struct { TimersClosed *string `json:"Timers.Closed,omitempty"` // An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. UniqueName *string `json:"UniqueName,omitempty"` + // The default email address that will be used when sending outbound emails in this conversation. + BindingsEmailAddress *string `json:"Bindings.Email.Address,omitempty"` + // The default name that will be used when sending outbound emails in this conversation. + BindingsEmailName *string `json:"Bindings.Email.Name,omitempty"` } func (params *UpdateConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateConversationParams { @@ -426,6 +448,14 @@ func (params *UpdateConversationParams) SetUniqueName(UniqueName string) *Update params.UniqueName = &UniqueName return params } +func (params *UpdateConversationParams) SetBindingsEmailAddress(BindingsEmailAddress string) *UpdateConversationParams { + params.BindingsEmailAddress = &BindingsEmailAddress + return params +} +func (params *UpdateConversationParams) SetBindingsEmailName(BindingsEmailName string) *UpdateConversationParams { + params.BindingsEmailName = &BindingsEmailName + return params +} // Update an existing conversation in your account's default service func (c *ApiService) UpdateConversation(Sid string, params *UpdateConversationParams) (*ConversationsV1Conversation, error) { @@ -462,6 +492,12 @@ func (c *ApiService) UpdateConversation(Sid string, params *UpdateConversationPa if params != nil && params.UniqueName != nil { data.Set("UniqueName", *params.UniqueName) } + if params != nil && params.BindingsEmailAddress != nil { + data.Set("Bindings.Email.Address", *params.BindingsEmailAddress) + } + if params != nil && params.BindingsEmailName != nil { + data.Set("Bindings.Email.Name", *params.BindingsEmailName) + } if params != nil && params.XTwilioWebhookEnabled != nil { headers["X-Twilio-Webhook-Enabled"] = *params.XTwilioWebhookEnabled diff --git a/rest/conversations/v1/conversations_messages.go b/rest/conversations/v1/conversations_messages.go index 812bfd74a..04c750436 100644 --- a/rest/conversations/v1/conversations_messages.go +++ b/rest/conversations/v1/conversations_messages.go @@ -44,6 +44,8 @@ type CreateConversationMessageParams struct { ContentSid *string `json:"ContentSid,omitempty"` // A structurally valid JSON string that contains values to resolve Rich Content template variables. ContentVariables *string `json:"ContentVariables,omitempty"` + // The subject of the message, can be up to 256 characters long. + Subject *string `json:"Subject,omitempty"` } func (params *CreateConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateConversationMessageParams { @@ -82,6 +84,10 @@ func (params *CreateConversationMessageParams) SetContentVariables(ContentVariab params.ContentVariables = &ContentVariables return params } +func (params *CreateConversationMessageParams) SetSubject(Subject string) *CreateConversationMessageParams { + params.Subject = &Subject + return params +} // Add a new message to the conversation func (c *ApiService) CreateConversationMessage(ConversationSid string, params *CreateConversationMessageParams) (*ConversationsV1ConversationMessage, error) { @@ -115,6 +121,9 @@ func (c *ApiService) CreateConversationMessage(ConversationSid string, params *C if params != nil && params.ContentVariables != nil { data.Set("ContentVariables", *params.ContentVariables) } + if params != nil && params.Subject != nil { + data.Set("Subject", *params.Subject) + } if params != nil && params.XTwilioWebhookEnabled != nil { headers["X-Twilio-Webhook-Enabled"] = *params.XTwilioWebhookEnabled @@ -354,6 +363,8 @@ type UpdateConversationMessageParams struct { DateUpdated *time.Time `json:"DateUpdated,omitempty"` // A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` + // The subject of the message, can be up to 256 characters long. + Subject *string `json:"Subject,omitempty"` } func (params *UpdateConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateConversationMessageParams { @@ -380,6 +391,10 @@ func (params *UpdateConversationMessageParams) SetAttributes(Attributes string) params.Attributes = &Attributes return params } +func (params *UpdateConversationMessageParams) SetSubject(Subject string) *UpdateConversationMessageParams { + params.Subject = &Subject + return params +} // Update an existing message in the conversation func (c *ApiService) UpdateConversationMessage(ConversationSid string, Sid string, params *UpdateConversationMessageParams) (*ConversationsV1ConversationMessage, error) { @@ -405,6 +420,9 @@ func (c *ApiService) UpdateConversationMessage(ConversationSid string, Sid strin if params != nil && params.Attributes != nil { data.Set("Attributes", *params.Attributes) } + if params != nil && params.Subject != nil { + data.Set("Subject", *params.Subject) + } if params != nil && params.XTwilioWebhookEnabled != nil { headers["X-Twilio-Webhook-Enabled"] = *params.XTwilioWebhookEnabled diff --git a/rest/conversations/v1/docs/ConfigurationApi.md b/rest/conversations/v1/docs/ConfigurationApi.md index f1b1ef9c0..6c7106fa3 100644 --- a/rest/conversations/v1/docs/ConfigurationApi.md +++ b/rest/conversations/v1/docs/ConfigurationApi.md @@ -64,7 +64,7 @@ Other parameters are passed through a pointer to a UpdateConfigurationParams str Name | Type | Description ------------- | ------------- | ------------- **DefaultChatServiceSid** | **string** | The SID of the default [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) to use when creating a conversation. -**DefaultMessagingServiceSid** | **string** | The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to use when creating a conversation. +**DefaultMessagingServiceSid** | **string** | The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to use when creating a conversation. **DefaultInactiveTimer** | **string** | Default ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. **DefaultClosedTimer** | **string** | Default ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. diff --git a/rest/conversations/v1/docs/ConversationsApi.md b/rest/conversations/v1/docs/ConversationsApi.md index d6422a625..aed70795b 100644 --- a/rest/conversations/v1/docs/ConversationsApi.md +++ b/rest/conversations/v1/docs/ConversationsApi.md @@ -36,11 +36,13 @@ Name | Type | Description **UniqueName** | **string** | An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. **DateCreated** | **time.Time** | The date that this resource was created. **DateUpdated** | **time.Time** | The date that this resource was last updated. -**MessagingServiceSid** | **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. +**MessagingServiceSid** | **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. **Attributes** | **string** | An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. **State** | **string** | **TimersInactive** | **string** | ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. **TimersClosed** | **string** | ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. +**BindingsEmailAddress** | **string** | The default email address that will be used when sending outbound emails in this conversation. +**BindingsEmailName** | **string** | The default name that will be used when sending outbound emails in this conversation. ### Return type @@ -216,11 +218,13 @@ Name | Type | Description **DateCreated** | **time.Time** | The date that this resource was created. **DateUpdated** | **time.Time** | The date that this resource was last updated. **Attributes** | **string** | An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. -**MessagingServiceSid** | **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. +**MessagingServiceSid** | **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. **State** | **string** | **TimersInactive** | **string** | ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. **TimersClosed** | **string** | ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. **UniqueName** | **string** | An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. +**BindingsEmailAddress** | **string** | The default email address that will be used when sending outbound emails in this conversation. +**BindingsEmailName** | **string** | The default name that will be used when sending outbound emails in this conversation. ### Return type diff --git a/rest/conversations/v1/docs/ConversationsMessagesApi.md b/rest/conversations/v1/docs/ConversationsMessagesApi.md index 9cde0d302..eec008381 100644 --- a/rest/conversations/v1/docs/ConversationsMessagesApi.md +++ b/rest/conversations/v1/docs/ConversationsMessagesApi.md @@ -44,6 +44,7 @@ Name | Type | Description **MediaSid** | **string** | The Media SID to be attached to the new Message. **ContentSid** | **string** | The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content-api) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. **ContentVariables** | **string** | A structurally valid JSON string that contains values to resolve Rich Content template variables. +**Subject** | **string** | The subject of the message, can be up to 256 characters long. ### Return type @@ -225,6 +226,7 @@ Name | Type | Description **DateCreated** | **time.Time** | The date that this resource was created. **DateUpdated** | **time.Time** | The date that this resource was last updated. `null` if the message has not been edited. **Attributes** | **string** | A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. +**Subject** | **string** | The subject of the message, can be up to 256 characters long. ### Return type diff --git a/rest/conversations/v1/docs/ConversationsV1Configuration.md b/rest/conversations/v1/docs/ConversationsV1Configuration.md index fdc0c3a28..e8e990aee 100644 --- a/rest/conversations/v1/docs/ConversationsV1Configuration.md +++ b/rest/conversations/v1/docs/ConversationsV1Configuration.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AccountSid** | Pointer to **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this configuration. | **DefaultChatServiceSid** | Pointer to **string** | The SID of the default [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) used when creating a conversation. | -**DefaultMessagingServiceSid** | Pointer to **string** | The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/services/api) used when creating a conversation. | +**DefaultMessagingServiceSid** | Pointer to **string** | The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) used when creating a conversation. | **DefaultInactiveTimer** | Pointer to **string** | Default ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. | **DefaultClosedTimer** | Pointer to **string** | Default ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. | **Url** | Pointer to **string** | An absolute API resource URL for this global configuration. | diff --git a/rest/conversations/v1/docs/ConversationsV1Conversation.md b/rest/conversations/v1/docs/ConversationsV1Conversation.md index d67e82bbe..7e0fb5181 100644 --- a/rest/conversations/v1/docs/ConversationsV1Conversation.md +++ b/rest/conversations/v1/docs/ConversationsV1Conversation.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AccountSid** | Pointer to **string** | The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation. | **ChatServiceSid** | Pointer to **string** | The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to. | -**MessagingServiceSid** | Pointer to **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. | +**MessagingServiceSid** | Pointer to **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. | **Sid** | Pointer to **string** | A 34 character string that uniquely identifies this resource. | **FriendlyName** | Pointer to **string** | The human-readable name of this conversation, limited to 256 characters. Optional. | **UniqueName** | Pointer to **string** | An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. | diff --git a/rest/conversations/v1/docs/ConversationsV1ServiceConversation.md b/rest/conversations/v1/docs/ConversationsV1ServiceConversation.md index 2547724cf..5fe644ffd 100644 --- a/rest/conversations/v1/docs/ConversationsV1ServiceConversation.md +++ b/rest/conversations/v1/docs/ConversationsV1ServiceConversation.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AccountSid** | Pointer to **string** | The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation. | **ChatServiceSid** | Pointer to **string** | The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to. | -**MessagingServiceSid** | Pointer to **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. | +**MessagingServiceSid** | Pointer to **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. | **Sid** | Pointer to **string** | A 34 character string that uniquely identifies this resource. | **FriendlyName** | Pointer to **string** | The human-readable name of this conversation, limited to 256 characters. Optional. | **UniqueName** | Pointer to **string** | An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. | diff --git a/rest/conversations/v1/docs/ServicesConversationsApi.md b/rest/conversations/v1/docs/ServicesConversationsApi.md index 5abd1a5f3..1ce5acdb1 100644 --- a/rest/conversations/v1/docs/ServicesConversationsApi.md +++ b/rest/conversations/v1/docs/ServicesConversationsApi.md @@ -39,12 +39,14 @@ Name | Type | Description **FriendlyName** | **string** | The human-readable name of this conversation, limited to 256 characters. Optional. **UniqueName** | **string** | An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. **Attributes** | **string** | An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. -**MessagingServiceSid** | **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. +**MessagingServiceSid** | **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. **DateCreated** | **time.Time** | The date that this resource was created. **DateUpdated** | **time.Time** | The date that this resource was last updated. **State** | **string** | **TimersInactive** | **string** | ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. **TimersClosed** | **string** | ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. +**BindingsEmailAddress** | **string** | The default email address that will be used when sending outbound emails in this conversation. +**BindingsEmailName** | **string** | The default name that will be used when sending outbound emails in this conversation. ### Return type @@ -227,11 +229,13 @@ Name | Type | Description **DateCreated** | **time.Time** | The date that this resource was created. **DateUpdated** | **time.Time** | The date that this resource was last updated. **Attributes** | **string** | An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. -**MessagingServiceSid** | **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. +**MessagingServiceSid** | **string** | The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. **State** | **string** | **TimersInactive** | **string** | ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. **TimersClosed** | **string** | ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. **UniqueName** | **string** | An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. +**BindingsEmailAddress** | **string** | The default email address that will be used when sending outbound emails in this conversation. +**BindingsEmailName** | **string** | The default name that will be used when sending outbound emails in this conversation. ### Return type diff --git a/rest/conversations/v1/docs/ServicesConversationsMessagesApi.md b/rest/conversations/v1/docs/ServicesConversationsMessagesApi.md index fe96e09bb..1d69608ad 100644 --- a/rest/conversations/v1/docs/ServicesConversationsMessagesApi.md +++ b/rest/conversations/v1/docs/ServicesConversationsMessagesApi.md @@ -45,6 +45,7 @@ Name | Type | Description **MediaSid** | **string** | The Media SID to be attached to the new Message. **ContentSid** | **string** | The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content-api) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. **ContentVariables** | **string** | A structurally valid JSON string that contains values to resolve Rich Content template variables. +**Subject** | **string** | The subject of the message, can be up to 256 characters long. ### Return type @@ -230,6 +231,7 @@ Name | Type | Description **DateCreated** | **time.Time** | The date that this resource was created. **DateUpdated** | **time.Time** | The date that this resource was last updated. `null` if the message has not been edited. **Attributes** | **string** | A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. +**Subject** | **string** | The subject of the message, can be up to 256 characters long. ### Return type diff --git a/rest/conversations/v1/model_conversations_v1_configuration.go b/rest/conversations/v1/model_conversations_v1_configuration.go index 3f1e336be..00626e941 100644 --- a/rest/conversations/v1/model_conversations_v1_configuration.go +++ b/rest/conversations/v1/model_conversations_v1_configuration.go @@ -20,7 +20,7 @@ type ConversationsV1Configuration struct { AccountSid *string `json:"account_sid,omitempty"` // The SID of the default [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) used when creating a conversation. DefaultChatServiceSid *string `json:"default_chat_service_sid,omitempty"` - // The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/services/api) used when creating a conversation. + // The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) used when creating a conversation. DefaultMessagingServiceSid *string `json:"default_messaging_service_sid,omitempty"` // Default ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. DefaultInactiveTimer *string `json:"default_inactive_timer,omitempty"` diff --git a/rest/conversations/v1/model_conversations_v1_conversation.go b/rest/conversations/v1/model_conversations_v1_conversation.go index a13951462..c3b56a0d2 100644 --- a/rest/conversations/v1/model_conversations_v1_conversation.go +++ b/rest/conversations/v1/model_conversations_v1_conversation.go @@ -24,7 +24,7 @@ type ConversationsV1Conversation struct { AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` - // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. + // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. MessagingServiceSid *string `json:"messaging_service_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` diff --git a/rest/conversations/v1/model_conversations_v1_service_conversation.go b/rest/conversations/v1/model_conversations_v1_service_conversation.go index e11dc066e..7005d3965 100644 --- a/rest/conversations/v1/model_conversations_v1_service_conversation.go +++ b/rest/conversations/v1/model_conversations_v1_service_conversation.go @@ -24,7 +24,7 @@ type ConversationsV1ServiceConversation struct { AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` - // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. + // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. MessagingServiceSid *string `json:"messaging_service_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` diff --git a/rest/conversations/v1/services_conversations.go b/rest/conversations/v1/services_conversations.go index 48d45aa02..219bb97d5 100644 --- a/rest/conversations/v1/services_conversations.go +++ b/rest/conversations/v1/services_conversations.go @@ -34,7 +34,7 @@ type CreateServiceConversationParams struct { UniqueName *string `json:"UniqueName,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` - // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. + // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` @@ -46,6 +46,10 @@ type CreateServiceConversationParams struct { TimersInactive *string `json:"Timers.Inactive,omitempty"` // ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. TimersClosed *string `json:"Timers.Closed,omitempty"` + // The default email address that will be used when sending outbound emails in this conversation. + BindingsEmailAddress *string `json:"Bindings.Email.Address,omitempty"` + // The default name that will be used when sending outbound emails in this conversation. + BindingsEmailName *string `json:"Bindings.Email.Name,omitempty"` } func (params *CreateServiceConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateServiceConversationParams { @@ -88,6 +92,14 @@ func (params *CreateServiceConversationParams) SetTimersClosed(TimersClosed stri params.TimersClosed = &TimersClosed return params } +func (params *CreateServiceConversationParams) SetBindingsEmailAddress(BindingsEmailAddress string) *CreateServiceConversationParams { + params.BindingsEmailAddress = &BindingsEmailAddress + return params +} +func (params *CreateServiceConversationParams) SetBindingsEmailName(BindingsEmailName string) *CreateServiceConversationParams { + params.BindingsEmailName = &BindingsEmailName + return params +} // Create a new conversation in your service func (c *ApiService) CreateServiceConversation(ChatServiceSid string, params *CreateServiceConversationParams) (*ConversationsV1ServiceConversation, error) { @@ -124,6 +136,12 @@ func (c *ApiService) CreateServiceConversation(ChatServiceSid string, params *Cr if params != nil && params.TimersClosed != nil { data.Set("Timers.Closed", *params.TimersClosed) } + if params != nil && params.BindingsEmailAddress != nil { + data.Set("Bindings.Email.Address", *params.BindingsEmailAddress) + } + if params != nil && params.BindingsEmailName != nil { + data.Set("Bindings.Email.Name", *params.BindingsEmailName) + } if params != nil && params.XTwilioWebhookEnabled != nil { headers["X-Twilio-Webhook-Enabled"] = *params.XTwilioWebhookEnabled @@ -379,7 +397,7 @@ type UpdateServiceConversationParams struct { DateUpdated *time.Time `json:"DateUpdated,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` - // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) this conversation belongs to. + // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` // State *string `json:"State,omitempty"` @@ -389,6 +407,10 @@ type UpdateServiceConversationParams struct { TimersClosed *string `json:"Timers.Closed,omitempty"` // An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. UniqueName *string `json:"UniqueName,omitempty"` + // The default email address that will be used when sending outbound emails in this conversation. + BindingsEmailAddress *string `json:"Bindings.Email.Address,omitempty"` + // The default name that will be used when sending outbound emails in this conversation. + BindingsEmailName *string `json:"Bindings.Email.Name,omitempty"` } func (params *UpdateServiceConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateServiceConversationParams { @@ -431,6 +453,14 @@ func (params *UpdateServiceConversationParams) SetUniqueName(UniqueName string) params.UniqueName = &UniqueName return params } +func (params *UpdateServiceConversationParams) SetBindingsEmailAddress(BindingsEmailAddress string) *UpdateServiceConversationParams { + params.BindingsEmailAddress = &BindingsEmailAddress + return params +} +func (params *UpdateServiceConversationParams) SetBindingsEmailName(BindingsEmailName string) *UpdateServiceConversationParams { + params.BindingsEmailName = &BindingsEmailName + return params +} // Update an existing conversation in your service func (c *ApiService) UpdateServiceConversation(ChatServiceSid string, Sid string, params *UpdateServiceConversationParams) (*ConversationsV1ServiceConversation, error) { @@ -468,6 +498,12 @@ func (c *ApiService) UpdateServiceConversation(ChatServiceSid string, Sid string if params != nil && params.UniqueName != nil { data.Set("UniqueName", *params.UniqueName) } + if params != nil && params.BindingsEmailAddress != nil { + data.Set("Bindings.Email.Address", *params.BindingsEmailAddress) + } + if params != nil && params.BindingsEmailName != nil { + data.Set("Bindings.Email.Name", *params.BindingsEmailName) + } if params != nil && params.XTwilioWebhookEnabled != nil { headers["X-Twilio-Webhook-Enabled"] = *params.XTwilioWebhookEnabled diff --git a/rest/conversations/v1/services_conversations_messages.go b/rest/conversations/v1/services_conversations_messages.go index 21f00952f..be944b1fc 100644 --- a/rest/conversations/v1/services_conversations_messages.go +++ b/rest/conversations/v1/services_conversations_messages.go @@ -44,6 +44,8 @@ type CreateServiceConversationMessageParams struct { ContentSid *string `json:"ContentSid,omitempty"` // A structurally valid JSON string that contains values to resolve Rich Content template variables. ContentVariables *string `json:"ContentVariables,omitempty"` + // The subject of the message, can be up to 256 characters long. + Subject *string `json:"Subject,omitempty"` } func (params *CreateServiceConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateServiceConversationMessageParams { @@ -82,6 +84,10 @@ func (params *CreateServiceConversationMessageParams) SetContentVariables(Conten params.ContentVariables = &ContentVariables return params } +func (params *CreateServiceConversationMessageParams) SetSubject(Subject string) *CreateServiceConversationMessageParams { + params.Subject = &Subject + return params +} // Add a new message to the conversation in a specific service func (c *ApiService) CreateServiceConversationMessage(ChatServiceSid string, ConversationSid string, params *CreateServiceConversationMessageParams) (*ConversationsV1ServiceConversationMessage, error) { @@ -116,6 +122,9 @@ func (c *ApiService) CreateServiceConversationMessage(ChatServiceSid string, Con if params != nil && params.ContentVariables != nil { data.Set("ContentVariables", *params.ContentVariables) } + if params != nil && params.Subject != nil { + data.Set("Subject", *params.Subject) + } if params != nil && params.XTwilioWebhookEnabled != nil { headers["X-Twilio-Webhook-Enabled"] = *params.XTwilioWebhookEnabled @@ -358,6 +367,8 @@ type UpdateServiceConversationMessageParams struct { DateUpdated *time.Time `json:"DateUpdated,omitempty"` // A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` + // The subject of the message, can be up to 256 characters long. + Subject *string `json:"Subject,omitempty"` } func (params *UpdateServiceConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateServiceConversationMessageParams { @@ -384,6 +395,10 @@ func (params *UpdateServiceConversationMessageParams) SetAttributes(Attributes s params.Attributes = &Attributes return params } +func (params *UpdateServiceConversationMessageParams) SetSubject(Subject string) *UpdateServiceConversationMessageParams { + params.Subject = &Subject + return params +} // Update an existing message in the conversation func (c *ApiService) UpdateServiceConversationMessage(ChatServiceSid string, ConversationSid string, Sid string, params *UpdateServiceConversationMessageParams) (*ConversationsV1ServiceConversationMessage, error) { @@ -410,6 +425,9 @@ func (c *ApiService) UpdateServiceConversationMessage(ChatServiceSid string, Con if params != nil && params.Attributes != nil { data.Set("Attributes", *params.Attributes) } + if params != nil && params.Subject != nil { + data.Set("Subject", *params.Subject) + } if params != nil && params.XTwilioWebhookEnabled != nil { headers["X-Twilio-Webhook-Enabled"] = *params.XTwilioWebhookEnabled diff --git a/rest/events/v1/README.md b/rest/events/v1/README.md index 88118fc0c..c8f88ae2d 100644 --- a/rest/events/v1/README.md +++ b/rest/events/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/flex/v1/README.md b/rest/flex/v1/README.md index 0db5398d4..f63cd3a80 100644 --- a/rest/flex/v1/README.md +++ b/rest/flex/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/flex/v1/docs/FlexV1Configuration.md b/rest/flex/v1/docs/FlexV1Configuration.md index 55129b59d..05a7f0344 100644 --- a/rest/flex/v1/docs/FlexV1Configuration.md +++ b/rest/flex/v1/docs/FlexV1Configuration.md @@ -50,6 +50,7 @@ Name | Type | Description | Notes **DebuggerIntegration** | Pointer to **interface{}** | Configurable parameters for Debugger Integration. | **FlexUiStatusReport** | Pointer to **interface{}** | Configurable parameters for Flex UI Status report. | **AgentConvEndMethods** | Pointer to **interface{}** | Agent conversation end methods. | +**CitrixVoiceVdi** | Pointer to **interface{}** | Citrix voice vdi configuration and settings. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rest/flex/v1/docs/InteractionsChannelsApi.md b/rest/flex/v1/docs/InteractionsChannelsApi.md index 3627caf67..a2a2a5293 100644 --- a/rest/flex/v1/docs/InteractionsChannelsApi.md +++ b/rest/flex/v1/docs/InteractionsChannelsApi.md @@ -122,7 +122,7 @@ Other parameters are passed through a pointer to a UpdateInteractionChannelParam Name | Type | Description ------------- | ------------- | ------------- **Status** | **string** | -**Routing** | [**interface{}**](interface{}.md) | Optional. The state of associated tasks. If not specified, all tasks will be set to `wrapping`. +**Routing** | [**interface{}**](interface{}.md) | It changes the state of associated tasks. Routing status is required, When the channel status is set to `inactive`. Allowed Value for routing status is `closed`. Otherwise Optional, if not specified, all tasks will be set to `wrapping`. ### Return type diff --git a/rest/flex/v1/interactions_channels.go b/rest/flex/v1/interactions_channels.go index 000cf957a..594818e16 100644 --- a/rest/flex/v1/interactions_channels.go +++ b/rest/flex/v1/interactions_channels.go @@ -189,7 +189,7 @@ func (c *ApiService) getNextListInteractionChannelResponse(nextPageUrl string) ( type UpdateInteractionChannelParams struct { // Status *string `json:"Status,omitempty"` - // Optional. The state of associated tasks. If not specified, all tasks will be set to `wrapping`. + // It changes the state of associated tasks. Routing status is required, When the channel status is set to `inactive`. Allowed Value for routing status is `closed`. Otherwise Optional, if not specified, all tasks will be set to `wrapping`. Routing *interface{} `json:"Routing,omitempty"` } diff --git a/rest/flex/v1/model_flex_v1_configuration.go b/rest/flex/v1/model_flex_v1_configuration.go index b9d4766ef..5325b7036 100644 --- a/rest/flex/v1/model_flex_v1_configuration.go +++ b/rest/flex/v1/model_flex_v1_configuration.go @@ -111,4 +111,6 @@ type FlexV1Configuration struct { FlexUiStatusReport *interface{} `json:"flex_ui_status_report,omitempty"` // Agent conversation end methods. AgentConvEndMethods *interface{} `json:"agent_conv_end_methods,omitempty"` + // Citrix voice vdi configuration and settings. + CitrixVoiceVdi *interface{} `json:"citrix_voice_vdi,omitempty"` } diff --git a/rest/flex/v2/README.md b/rest/flex/v2/README.md index c20283f5e..ad07d6c47 100644 --- a/rest/flex/v2/README.md +++ b/rest/flex/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/frontline/v1/README.md b/rest/frontline/v1/README.md index c9c3a022f..f3691a499 100644 --- a/rest/frontline/v1/README.md +++ b/rest/frontline/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/insights/v1/README.md b/rest/insights/v1/README.md index 5cc5dcfaa..6286297d2 100644 --- a/rest/insights/v1/README.md +++ b/rest/insights/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/intelligence/v2/README.md b/rest/intelligence/v2/README.md index 020ce5a9a..b772cb49f 100644 --- a/rest/intelligence/v2/README.md +++ b/rest/intelligence/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/ip_messaging/v1/README.md b/rest/ip_messaging/v1/README.md index 3a202f2cc..596ebc0a7 100644 --- a/rest/ip_messaging/v1/README.md +++ b/rest/ip_messaging/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/ip_messaging/v2/README.md b/rest/ip_messaging/v2/README.md index 3f46b67a7..65f9cd170 100644 --- a/rest/ip_messaging/v2/README.md +++ b/rest/ip_messaging/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/lookups/v1/README.md b/rest/lookups/v1/README.md index bec18ff9f..485c03a9e 100644 --- a/rest/lookups/v1/README.md +++ b/rest/lookups/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/lookups/v2/README.md b/rest/lookups/v2/README.md index 310e262c8..422214c05 100644 --- a/rest/lookups/v2/README.md +++ b/rest/lookups/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/media/v1/README.md b/rest/media/v1/README.md index a43f6dbb6..58dc7f95c 100644 --- a/rest/media/v1/README.md +++ b/rest/media/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/messaging/v1/README.md b/rest/messaging/v1/README.md index dd7e7770d..85c1afa46 100644 --- a/rest/messaging/v1/README.md +++ b/rest/messaging/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/messaging/v1/docs/MessagingV1ExternalCampaign.md b/rest/messaging/v1/docs/MessagingV1ExternalCampaign.md index ea072c6d0..4b347869a 100644 --- a/rest/messaging/v1/docs/MessagingV1ExternalCampaign.md +++ b/rest/messaging/v1/docs/MessagingV1ExternalCampaign.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Sid** | Pointer to **string** | The unique string that identifies a US A2P Compliance resource `QE2c6890da8086d771620e9b13fadeba0b`. | **AccountSid** | Pointer to **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that the Campaign belongs to. | **CampaignId** | Pointer to **string** | ID of the preregistered campaign. | -**MessagingServiceSid** | Pointer to **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with. | +**MessagingServiceSid** | Pointer to **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with. | **DateCreated** | Pointer to [**time.Time**](time.Time.md) | The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rest/messaging/v1/docs/MessagingV1Service.md b/rest/messaging/v1/docs/MessagingV1Service.md index 2d7935ada..a526a4b53 100644 --- a/rest/messaging/v1/docs/MessagingV1Service.md +++ b/rest/messaging/v1/docs/MessagingV1Service.md @@ -24,7 +24,7 @@ Name | Type | Description | Notes **ValidityPeriod** | Pointer to **int** | How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `14,400`. | **Url** | Pointer to **string** | The absolute URL of the Service resource. | **Links** | Pointer to **map[string]interface{}** | The absolute URLs of related resources. | -**Usecase** | Pointer to **string** | A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..] | +**Usecase** | Pointer to **string** | A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`. | **UsAppToPersonRegistered** | Pointer to **bool** | Whether US A2P campaign is registered for this Service. | **UseInboundWebhookOnNumber** | Pointer to **bool** | A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service. | diff --git a/rest/messaging/v1/docs/MessagingV1UsAppToPerson.md b/rest/messaging/v1/docs/MessagingV1UsAppToPerson.md index 40aa7e178..44d416565 100644 --- a/rest/messaging/v1/docs/MessagingV1UsAppToPerson.md +++ b/rest/messaging/v1/docs/MessagingV1UsAppToPerson.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **Sid** | Pointer to **string** | The unique string that identifies a US A2P Compliance resource `QE2c6890da8086d771620e9b13fadeba0b`. | **AccountSid** | Pointer to **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that the Campaign belongs to. | **BrandRegistrationSid** | Pointer to **string** | The unique string to identify the A2P brand. | -**MessagingServiceSid** | Pointer to **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with. | +**MessagingServiceSid** | Pointer to **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with. | **Description** | Pointer to **string** | A short description of what this SMS campaign does. Min length: 40 characters. Max length: 4096 characters. | **MessageSamples** | Pointer to **[]string** | Message samples, at least 1 and up to 5 sample messages (at least 2 for starter/sole proprietor), >=20 chars, <=1024 chars each. | **UsAppToPersonUsecase** | Pointer to **string** | A2P Campaign Use Case. Examples: [ 2FA, EMERGENCY, MARKETING, SOLE_PROPRIETOR...]. SOLE_PROPRIETOR campaign use cases can only be created by SOLE_PROPRIETOR Brands, and there can only be one SOLE_PROPRIETOR campaign created per SOLE_PROPRIETOR Brand. | diff --git a/rest/messaging/v1/docs/ServicesApi.md b/rest/messaging/v1/docs/ServicesApi.md index dec4bfae0..691e3f76e 100644 --- a/rest/messaging/v1/docs/ServicesApi.md +++ b/rest/messaging/v1/docs/ServicesApi.md @@ -45,7 +45,7 @@ Name | Type | Description **AreaCodeGeomatch** | **bool** | Whether to enable [Area Code Geomatch](https://www.twilio.com/docs/messaging/services#area-code-geomatch) on the Service Instance. **ValidityPeriod** | **int** | How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `14,400`. **SynchronousValidation** | **bool** | Reserved. -**Usecase** | **string** | A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..]. +**Usecase** | **string** | A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`. **UseInboundWebhookOnNumber** | **bool** | A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service. ### Return type @@ -227,7 +227,7 @@ Name | Type | Description **AreaCodeGeomatch** | **bool** | Whether to enable [Area Code Geomatch](https://www.twilio.com/docs/messaging/services#area-code-geomatch) on the Service Instance. **ValidityPeriod** | **int** | How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `14,400`. **SynchronousValidation** | **bool** | Reserved. -**Usecase** | **string** | A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..] +**Usecase** | **string** | A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`. **UseInboundWebhookOnNumber** | **bool** | A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service. ### Return type diff --git a/rest/messaging/v1/docs/ServicesComplianceUsa2pApi.md b/rest/messaging/v1/docs/ServicesComplianceUsa2pApi.md index 094e6c746..919df8024 100644 --- a/rest/messaging/v1/docs/ServicesComplianceUsa2pApi.md +++ b/rest/messaging/v1/docs/ServicesComplianceUsa2pApi.md @@ -25,7 +25,7 @@ Method | HTTP request | Description Name | Type | Description ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to create the resources from. +**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to create the resources from. ### Other Parameters @@ -80,7 +80,7 @@ Name | Type | Description Name | Type | Description ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to delete the resource from. +**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to delete the resource from. **Sid** | **string** | The SID of the US A2P Compliance resource to delete `QE2c6890da8086d771620e9b13fadeba0b`. ### Other Parameters @@ -123,7 +123,7 @@ Name | Type | Description Name | Type | Description ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to fetch the resource from. +**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to fetch the resource from. **Sid** | **string** | The SID of the US A2P Compliance resource to fetch `QE2c6890da8086d771620e9b13fadeba0b`. ### Other Parameters @@ -166,7 +166,7 @@ Name | Type | Description Name | Type | Description ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to fetch the resource from. +**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to fetch the resource from. ### Other Parameters diff --git a/rest/messaging/v1/docs/ServicesComplianceUsa2pUsecasesApi.md b/rest/messaging/v1/docs/ServicesComplianceUsa2pUsecasesApi.md index 94118b1e9..e7c8bd18d 100644 --- a/rest/messaging/v1/docs/ServicesComplianceUsa2pUsecasesApi.md +++ b/rest/messaging/v1/docs/ServicesComplianceUsa2pUsecasesApi.md @@ -22,7 +22,7 @@ Method | HTTP request | Description Name | Type | Description ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to fetch the resource from. +**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to fetch the resource from. ### Other Parameters diff --git a/rest/messaging/v1/docs/ServicesPreregisteredUsa2pApi.md b/rest/messaging/v1/docs/ServicesPreregisteredUsa2pApi.md index d9b6afdad..526c164bd 100644 --- a/rest/messaging/v1/docs/ServicesPreregisteredUsa2pApi.md +++ b/rest/messaging/v1/docs/ServicesPreregisteredUsa2pApi.md @@ -28,7 +28,7 @@ Other parameters are passed through a pointer to a CreateExternalCampaignParams Name | Type | Description ------------- | ------------- | ------------- **CampaignId** | **string** | ID of the preregistered campaign. -**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with. +**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with. ### Return type diff --git a/rest/messaging/v1/model_messaging_v1_external_campaign.go b/rest/messaging/v1/model_messaging_v1_external_campaign.go index 22afb0301..0c4aba528 100644 --- a/rest/messaging/v1/model_messaging_v1_external_campaign.go +++ b/rest/messaging/v1/model_messaging_v1_external_campaign.go @@ -26,7 +26,7 @@ type MessagingV1ExternalCampaign struct { AccountSid *string `json:"account_sid,omitempty"` // ID of the preregistered campaign. CampaignId *string `json:"campaign_id,omitempty"` - // The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with. + // The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with. MessagingServiceSid *string `json:"messaging_service_sid,omitempty"` // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateCreated *time.Time `json:"date_created,omitempty"` diff --git a/rest/messaging/v1/model_messaging_v1_service.go b/rest/messaging/v1/model_messaging_v1_service.go index c340d4682..95346397c 100644 --- a/rest/messaging/v1/model_messaging_v1_service.go +++ b/rest/messaging/v1/model_messaging_v1_service.go @@ -59,7 +59,7 @@ type MessagingV1Service struct { Url *string `json:"url,omitempty"` // The absolute URLs of related resources. Links *map[string]interface{} `json:"links,omitempty"` - // A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..] + // A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`. Usecase *string `json:"usecase,omitempty"` // Whether US A2P campaign is registered for this Service. UsAppToPersonRegistered *bool `json:"us_app_to_person_registered,omitempty"` diff --git a/rest/messaging/v1/model_messaging_v1_us_app_to_person.go b/rest/messaging/v1/model_messaging_v1_us_app_to_person.go index 82a832e71..e0ae00c7c 100644 --- a/rest/messaging/v1/model_messaging_v1_us_app_to_person.go +++ b/rest/messaging/v1/model_messaging_v1_us_app_to_person.go @@ -26,7 +26,7 @@ type MessagingV1UsAppToPerson struct { AccountSid *string `json:"account_sid,omitempty"` // The unique string to identify the A2P brand. BrandRegistrationSid *string `json:"brand_registration_sid,omitempty"` - // The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with. + // The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with. MessagingServiceSid *string `json:"messaging_service_sid,omitempty"` // A short description of what this SMS campaign does. Min length: 40 characters. Max length: 4096 characters. Description *string `json:"description,omitempty"` diff --git a/rest/messaging/v1/services.go b/rest/messaging/v1/services.go index 951bac4c9..df8bfbe4a 100644 --- a/rest/messaging/v1/services.go +++ b/rest/messaging/v1/services.go @@ -53,7 +53,7 @@ type CreateServiceParams struct { ValidityPeriod *int `json:"ValidityPeriod,omitempty"` // Reserved. SynchronousValidation *bool `json:"SynchronousValidation,omitempty"` - // A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..]. + // A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`. Usecase *string `json:"Usecase,omitempty"` // A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service. UseInboundWebhookOnNumber *bool `json:"UseInboundWebhookOnNumber,omitempty"` @@ -402,7 +402,7 @@ type UpdateServiceParams struct { ValidityPeriod *int `json:"ValidityPeriod,omitempty"` // Reserved. SynchronousValidation *bool `json:"SynchronousValidation,omitempty"` - // A string that describes the scenario in which the Messaging Service will be used. Examples: [notification, marketing, verification, poll ..] + // A string that describes the scenario in which the Messaging Service will be used. Possible values are `notifications`, `marketing`, `verification`, `discussion`, `poll`, `undeclared`. Usecase *string `json:"Usecase,omitempty"` // A boolean value that indicates either the webhook url configured on the phone number will be used or `inbound_request_url`/`fallback_url` url will be called when a message is received from the phone number. If this field is enabled then the webhook url defined on the phone number will override the `inbound_request_url`/`fallback_url` defined for the Messaging Service. UseInboundWebhookOnNumber *bool `json:"UseInboundWebhookOnNumber,omitempty"` diff --git a/rest/messaging/v1/services_preregistered_usa2p.go b/rest/messaging/v1/services_preregistered_usa2p.go index 246c876c7..f188b45af 100644 --- a/rest/messaging/v1/services_preregistered_usa2p.go +++ b/rest/messaging/v1/services_preregistered_usa2p.go @@ -23,7 +23,7 @@ import ( type CreateExternalCampaignParams struct { // ID of the preregistered campaign. CampaignId *string `json:"CampaignId,omitempty"` - // The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) that the resource is associated with. + // The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` } diff --git a/rest/microvisor/v1/README.md b/rest/microvisor/v1/README.md index 7c9e6047b..4d0724d58 100644 --- a/rest/microvisor/v1/README.md +++ b/rest/microvisor/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/monitor/v1/README.md b/rest/monitor/v1/README.md index b5e96c081..da21a4343 100644 --- a/rest/monitor/v1/README.md +++ b/rest/monitor/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/notify/v1/README.md b/rest/notify/v1/README.md index 491e0b555..7baba9486 100644 --- a/rest/notify/v1/README.md +++ b/rest/notify/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/numbers/v1/README.md b/rest/numbers/v1/README.md index 0ea5e7bb7..5c42141b9 100644 --- a/rest/numbers/v1/README.md +++ b/rest/numbers/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/numbers/v2/README.md b/rest/numbers/v2/README.md index 6554c9ced..f8c743052 100644 --- a/rest/numbers/v2/README.md +++ b/rest/numbers/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/numbers/v2/docs/HostedNumberAuthorizationDocumentsApi.md b/rest/numbers/v2/docs/HostedNumberAuthorizationDocumentsApi.md index 0dd04ba5c..f8db843a8 100644 --- a/rest/numbers/v2/docs/HostedNumberAuthorizationDocumentsApi.md +++ b/rest/numbers/v2/docs/HostedNumberAuthorizationDocumentsApi.md @@ -159,7 +159,7 @@ Other parameters are passed through a pointer to a ListAuthorizationDocumentPara Name | Type | Description ------------- | ------------- | ------------- **Email** | **string** | Email that this AuthorizationDocument will be sent to for signing. -**Status** | **string** | Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. +**Status** | **string** | Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. **Limit** | **int** | Max number of records to return. diff --git a/rest/numbers/v2/docs/HostedNumberAuthorizationDocumentsDependentHostedNumberOrdersApi.md b/rest/numbers/v2/docs/HostedNumberAuthorizationDocumentsDependentHostedNumberOrdersApi.md index a6fcfd8cd..ea516cb79 100644 --- a/rest/numbers/v2/docs/HostedNumberAuthorizationDocumentsDependentHostedNumberOrdersApi.md +++ b/rest/numbers/v2/docs/HostedNumberAuthorizationDocumentsDependentHostedNumberOrdersApi.md @@ -31,7 +31,7 @@ Other parameters are passed through a pointer to a ListDependentHostedNumberOrde Name | Type | Description ------------- | ------------- | ------------- -**Status** | **string** | Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. +**Status** | **string** | Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. **PhoneNumber** | **string** | An E164 formatted phone number hosted by this HostedNumberOrder. **IncomingPhoneNumberSid** | **string** | A 34 character string that uniquely identifies the IncomingPhoneNumber resource created by this HostedNumberOrder. **FriendlyName** | **string** | A human readable description of this resource, up to 128 characters. diff --git a/rest/numbers/v2/docs/NumbersV2HostedNumberOrder.md b/rest/numbers/v2/docs/NumbersV2HostedNumberOrder.md index 592c53578..4bce5db51 100644 --- a/rest/numbers/v2/docs/NumbersV2HostedNumberOrder.md +++ b/rest/numbers/v2/docs/NumbersV2HostedNumberOrder.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Sid** | Pointer to **string** | A 34 character string that uniquely identifies this HostedNumberOrder. | **AccountSid** | Pointer to **string** | A 34 character string that uniquely identifies the account. | -**IncomingPhoneNumberSid** | Pointer to **string** | A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/api/rest/incoming-phone-numbers) resource that represents the phone number being hosted. | +**IncomingPhoneNumberSid** | Pointer to **string** | A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource) resource that represents the phone number being hosted. | **AddressSid** | Pointer to **string** | A 34 character string that uniquely identifies the Address resource that represents the address of the owner of this phone number. | -**SigningDocumentSid** | Pointer to **string** | A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents) the user needs to sign. | +**SigningDocumentSid** | Pointer to **string** | A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource) the user needs to sign. | **PhoneNumber** | Pointer to **string** | Phone number to be hosted. This must be in [E.164](https://en.wikipedia.org/wiki/E.164) format, e.g., +16175551212 | **Capabilities** | Pointer to [**NumbersV2HostedNumberOrderCapabilities**](NumbersV2HostedNumberOrderCapabilities.md) | | **FriendlyName** | Pointer to **string** | A 128 character string that is a human-readable text that describes this resource. | diff --git a/rest/numbers/v2/hosted_number_authorization_documents.go b/rest/numbers/v2/hosted_number_authorization_documents.go index a7af0affc..f258fe604 100644 --- a/rest/numbers/v2/hosted_number_authorization_documents.go +++ b/rest/numbers/v2/hosted_number_authorization_documents.go @@ -154,7 +154,7 @@ func (c *ApiService) FetchAuthorizationDocument(Sid string) (*NumbersV2Authoriza type ListAuthorizationDocumentParams struct { // Email that this AuthorizationDocument will be sent to for signing. Email *string `json:"Email,omitempty"` - // Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. + // Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. Status *string `json:"Status,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` diff --git a/rest/numbers/v2/hosted_number_authorization_documents_dependent_hosted_number_orders.go b/rest/numbers/v2/hosted_number_authorization_documents_dependent_hosted_number_orders.go index 79fc36b88..5e5c55323 100644 --- a/rest/numbers/v2/hosted_number_authorization_documents_dependent_hosted_number_orders.go +++ b/rest/numbers/v2/hosted_number_authorization_documents_dependent_hosted_number_orders.go @@ -25,7 +25,7 @@ import ( // Optional parameters for the method 'ListDependentHostedNumberOrder' type ListDependentHostedNumberOrderParams struct { - // Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents#status-values) for more information on each of these statuses. + // Status of an instance resource. It can hold one of the values: 1. opened 2. signing, 3. signed LOA, 4. canceled, 5. failed. See the section entitled [Status Values](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource#status-values) for more information on each of these statuses. Status *string `json:"Status,omitempty"` // An E164 formatted phone number hosted by this HostedNumberOrder. PhoneNumber *string `json:"PhoneNumber,omitempty"` diff --git a/rest/numbers/v2/model_numbers_v2_hosted_number_order.go b/rest/numbers/v2/model_numbers_v2_hosted_number_order.go index 2084f896b..ee421226d 100644 --- a/rest/numbers/v2/model_numbers_v2_hosted_number_order.go +++ b/rest/numbers/v2/model_numbers_v2_hosted_number_order.go @@ -24,11 +24,11 @@ type NumbersV2HostedNumberOrder struct { Sid *string `json:"sid,omitempty"` // A 34 character string that uniquely identifies the account. AccountSid *string `json:"account_sid,omitempty"` - // A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/api/rest/incoming-phone-numbers) resource that represents the phone number being hosted. + // A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource) resource that represents the phone number being hosted. IncomingPhoneNumberSid *string `json:"incoming_phone_number_sid,omitempty"` // A 34 character string that uniquely identifies the Address resource that represents the address of the owner of this phone number. AddressSid *string `json:"address_sid,omitempty"` - // A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/api/phone-numbers/hosted-number-authorization-documents) the user needs to sign. + // A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource) the user needs to sign. SigningDocumentSid *string `json:"signing_document_sid,omitempty"` // Phone number to be hosted. This must be in [E.164](https://en.wikipedia.org/wiki/E.164) format, e.g., +16175551212 PhoneNumber *string `json:"phone_number,omitempty"` diff --git a/rest/oauth/v1/README.md b/rest/oauth/v1/README.md index e14eafb73..5f2e6c824 100644 --- a/rest/oauth/v1/README.md +++ b/rest/oauth/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/pricing/v1/README.md b/rest/pricing/v1/README.md index 41d7c1dc9..be37b8272 100644 --- a/rest/pricing/v1/README.md +++ b/rest/pricing/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/pricing/v2/README.md b/rest/pricing/v2/README.md index 338f95ae0..8e09fa27d 100644 --- a/rest/pricing/v2/README.md +++ b/rest/pricing/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/proxy/v1/README.md b/rest/proxy/v1/README.md index f6b80adb6..9bce20025 100644 --- a/rest/proxy/v1/README.md +++ b/rest/proxy/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/proxy/v1/docs/ProxyV1Service.md b/rest/proxy/v1/docs/ProxyV1Service.md index 379a4297c..0c94eb68e 100644 --- a/rest/proxy/v1/docs/ProxyV1Service.md +++ b/rest/proxy/v1/docs/ProxyV1Service.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **NumberSelectionBehavior** | Pointer to [**string**](ServiceEnumNumberSelectionBehavior.md) | | **GeoMatchLevel** | Pointer to [**string**](ServiceEnumGeoMatchLevel.md) | | **InterceptCallbackUrl** | Pointer to **string** | The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues. | -**OutOfSessionCallbackUrl** | Pointer to **string** | The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. | +**OutOfSessionCallbackUrl** | Pointer to **string** | The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. | **DateCreated** | Pointer to [**time.Time**](time.Time.md) | The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was created. | **DateUpdated** | Pointer to [**time.Time**](time.Time.md) | The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was last updated. | **Url** | Pointer to **string** | The absolute URL of the Service resource. | diff --git a/rest/proxy/v1/docs/ServicesApi.md b/rest/proxy/v1/docs/ServicesApi.md index c0f6fc80b..891633bcd 100644 --- a/rest/proxy/v1/docs/ServicesApi.md +++ b/rest/proxy/v1/docs/ServicesApi.md @@ -37,7 +37,7 @@ Name | Type | Description **GeoMatchLevel** | **string** | **NumberSelectionBehavior** | **string** | **InterceptCallbackUrl** | **string** | The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues. -**OutOfSessionCallbackUrl** | **string** | The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. +**OutOfSessionCallbackUrl** | **string** | The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. **ChatInstanceSid** | **string** | The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship. ### Return type @@ -211,7 +211,7 @@ Name | Type | Description **GeoMatchLevel** | **string** | **NumberSelectionBehavior** | **string** | **InterceptCallbackUrl** | **string** | The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues. -**OutOfSessionCallbackUrl** | **string** | The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. +**OutOfSessionCallbackUrl** | **string** | The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. **ChatInstanceSid** | **string** | The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship. ### Return type diff --git a/rest/proxy/v1/model_proxy_v1_service.go b/rest/proxy/v1/model_proxy_v1_service.go index 559df8a89..21f01a951 100644 --- a/rest/proxy/v1/model_proxy_v1_service.go +++ b/rest/proxy/v1/model_proxy_v1_service.go @@ -36,7 +36,7 @@ type ProxyV1Service struct { GeoMatchLevel *string `json:"geo_match_level,omitempty"` // The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues. InterceptCallbackUrl *string `json:"intercept_callback_url,omitempty"` - // The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. + // The URL we call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. OutOfSessionCallbackUrl *string `json:"out_of_session_callback_url,omitempty"` // The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was created. DateCreated *time.Time `json:"date_created,omitempty"` diff --git a/rest/proxy/v1/services.go b/rest/proxy/v1/services.go index 4e7d4dc6b..20600cde4 100644 --- a/rest/proxy/v1/services.go +++ b/rest/proxy/v1/services.go @@ -37,7 +37,7 @@ type CreateServiceParams struct { NumberSelectionBehavior *string `json:"NumberSelectionBehavior,omitempty"` // The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues. InterceptCallbackUrl *string `json:"InterceptCallbackUrl,omitempty"` - // The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. + // The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. OutOfSessionCallbackUrl *string `json:"OutOfSessionCallbackUrl,omitempty"` // The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship. ChatInstanceSid *string `json:"ChatInstanceSid,omitempty"` @@ -314,7 +314,7 @@ type UpdateServiceParams struct { NumberSelectionBehavior *string `json:"NumberSelectionBehavior,omitempty"` // The URL we call on each interaction. If we receive a 403 status, we block the interaction; otherwise the interaction continues. InterceptCallbackUrl *string `json:"InterceptCallbackUrl,omitempty"` - // The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. + // The URL we should call when an inbound call or SMS action occurs on a closed or non-existent Session. If your server (or a Twilio [function](https://www.twilio.com/en-us/serverless/functions)) responds with valid [TwiML](https://www.twilio.com/docs/voice/twiml), we will process it. This means it is possible, for example, to play a message for a call, send an automated text message response, or redirect a call to another Phone Number. See [Out-of-Session Callback Response Guide](https://www.twilio.com/docs/proxy/out-session-callback-response-guide) for more information. OutOfSessionCallbackUrl *string `json:"OutOfSessionCallbackUrl,omitempty"` // The SID of the Chat Service Instance managed by Proxy Service. The Chat Service enables Proxy to forward SMS and channel messages to this chat instance. This is a one-to-one relationship. ChatInstanceSid *string `json:"ChatInstanceSid,omitempty"` diff --git a/rest/routes/v2/README.md b/rest/routes/v2/README.md index 20e44990d..ba64e827d 100644 --- a/rest/routes/v2/README.md +++ b/rest/routes/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/serverless/v1/README.md b/rest/serverless/v1/README.md index 3946d8117..fbab34c81 100644 --- a/rest/serverless/v1/README.md +++ b/rest/serverless/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/studio/v1/README.md b/rest/studio/v1/README.md index 0ebbf82fb..222363734 100644 --- a/rest/studio/v1/README.md +++ b/rest/studio/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/studio/v2/README.md b/rest/studio/v2/README.md index ddee50ffd..c3cc76739 100644 --- a/rest/studio/v2/README.md +++ b/rest/studio/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/supersim/v1/README.md b/rest/supersim/v1/README.md index adb8b35d6..0c07408a4 100644 --- a/rest/supersim/v1/README.md +++ b/rest/supersim/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/sync/v1/README.md b/rest/sync/v1/README.md index f1dcab9f9..315bc7dd4 100644 --- a/rest/sync/v1/README.md +++ b/rest/sync/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/taskrouter/v1/README.md b/rest/taskrouter/v1/README.md index 3803b5a81..32670aa25 100644 --- a/rest/taskrouter/v1/README.md +++ b/rest/taskrouter/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/trunking/v1/README.md b/rest/trunking/v1/README.md index 6220915e2..166464257 100644 --- a/rest/trunking/v1/README.md +++ b/rest/trunking/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/trusthub/v1/README.md b/rest/trusthub/v1/README.md index 17fa4fb60..4e69dd33c 100644 --- a/rest/trusthub/v1/README.md +++ b/rest/trusthub/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/verify/v2/README.md b/rest/verify/v2/README.md index a94426036..2b9f1b093 100644 --- a/rest/verify/v2/README.md +++ b/rest/verify/v2/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/verify/v2/docs/ServicesMessagingConfigurationsApi.md b/rest/verify/v2/docs/ServicesMessagingConfigurationsApi.md index 0738a0917..66ae566a4 100644 --- a/rest/verify/v2/docs/ServicesMessagingConfigurationsApi.md +++ b/rest/verify/v2/docs/ServicesMessagingConfigurationsApi.md @@ -36,7 +36,7 @@ Other parameters are passed through a pointer to a CreateMessagingConfigurationP Name | Type | Description ------------- | ------------- | ------------- **Country** | **string** | The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country this configuration will be applied to. If this is a global configuration, Country will take the value `all`. -**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration. +**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration. ### Return type @@ -210,7 +210,7 @@ Other parameters are passed through a pointer to a UpdateMessagingConfigurationP Name | Type | Description ------------- | ------------- | ------------- -**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration. +**MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration. ### Return type diff --git a/rest/verify/v2/docs/VerifyV2MessagingConfiguration.md b/rest/verify/v2/docs/VerifyV2MessagingConfiguration.md index cdd319c14..325a47477 100644 --- a/rest/verify/v2/docs/VerifyV2MessagingConfiguration.md +++ b/rest/verify/v2/docs/VerifyV2MessagingConfiguration.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **AccountSid** | Pointer to **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Service resource. | **ServiceSid** | Pointer to **string** | The SID of the [Service](https://www.twilio.com/docs/verify/api/service) that the resource is associated with. | **Country** | Pointer to **string** | The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country this configuration will be applied to. If this is a global configuration, Country will take the value `all`. | -**MessagingServiceSid** | Pointer to **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration. | +**MessagingServiceSid** | Pointer to **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration. | **DateCreated** | Pointer to [**time.Time**](time.Time.md) | The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. | **DateUpdated** | Pointer to [**time.Time**](time.Time.md) | The date and time in GMT when the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. | **Url** | Pointer to **string** | The URL of this resource. | diff --git a/rest/verify/v2/model_verify_v2_messaging_configuration.go b/rest/verify/v2/model_verify_v2_messaging_configuration.go index 82cbdc483..ecb013649 100644 --- a/rest/verify/v2/model_verify_v2_messaging_configuration.go +++ b/rest/verify/v2/model_verify_v2_messaging_configuration.go @@ -26,7 +26,7 @@ type VerifyV2MessagingConfiguration struct { ServiceSid *string `json:"service_sid,omitempty"` // The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country this configuration will be applied to. If this is a global configuration, Country will take the value `all`. Country *string `json:"country,omitempty"` - // The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration. + // The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration. MessagingServiceSid *string `json:"messaging_service_sid,omitempty"` // The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. DateCreated *time.Time `json:"date_created,omitempty"` diff --git a/rest/verify/v2/services_messaging_configurations.go b/rest/verify/v2/services_messaging_configurations.go index 7e975c3c2..06b8f916a 100644 --- a/rest/verify/v2/services_messaging_configurations.go +++ b/rest/verify/v2/services_messaging_configurations.go @@ -27,7 +27,7 @@ import ( type CreateMessagingConfigurationParams struct { // The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country this configuration will be applied to. If this is a global configuration, Country will take the value `all`. Country *string `json:"Country,omitempty"` - // The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration. + // The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` } @@ -253,7 +253,7 @@ func (c *ApiService) getNextListMessagingConfigurationResponse(nextPageUrl strin // Optional parameters for the method 'UpdateMessagingConfiguration' type UpdateMessagingConfigurationParams struct { - // The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration. + // The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` } diff --git a/rest/video/v1/README.md b/rest/video/v1/README.md index 17c177ad9..66c72ae76 100644 --- a/rest/video/v1/README.md +++ b/rest/video/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/voice/v1/README.md b/rest/voice/v1/README.md index a81b90bcc..538976fad 100644 --- a/rest/voice/v1/README.md +++ b/rest/voice/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com) diff --git a/rest/wireless/v1/README.md b/rest/wireless/v1/README.md index 4fb26d5a0..642e63f2a 100644 --- a/rest/wireless/v1/README.md +++ b/rest/wireless/v1/README.md @@ -5,7 +5,7 @@ This is the public Twilio REST API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project from the OpenAPI specs located at [twilio/twilio-oai](https://github.com/twilio/twilio-oai/tree/main/spec). By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.49.0 +- API version: 1.50.0 - Package version: 1.0.0 - Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit [https://support.twilio.com](https://support.twilio.com)