Skip to content

Commit

Permalink
[Librarian] Regenerated @ 01f08ee7ea770beb526f655c6e616695f7eab4e0
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Oct 31, 2022
1 parent d917d24 commit 177df7e
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 19 deletions.
17 changes: 17 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
terraform-provider-twilio changelog
====================
[2022-10-31] Version 0.18.8
---------------------------
**Api**
- Added `contentSid` and `contentVariables` to Message resource with public visibility as Beta
- Add `UserDefinedMessageSubscription` and `UserDefinedMessage` resource

**Proxy**
- Remove FailOnParticipantConflict param from Proxy Session create and update and Proxy Participant create

**Supersim**
- Update SettingsUpdates resource to remove PackageSid

**Taskrouter**
- Add `Ordering` query parameter to Workers and TaskQueues for sorting by
- Add `worker_sid` query param for list reservations endpoint


[2022-10-19] Version 0.18.7
---------------------------
**Api**
Expand Down
2 changes: 2 additions & 0 deletions twilio/resources/api/v2010/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ Name | Type | Requirement | Description
**schedule_type** | string | Optional |
**send_at** | string | Optional | The time that Twilio will send the message. Must be in ISO 8601 format.
**send_as_mms** | bool | Optional | If set to True, Twilio will deliver the message as a single MMS message, regardless of the presence of media.
**content_sid** | string | Optional | The SID of the Content object returned at Content API content create time (https://www.twilio.com/docs/content-api/create-and-send-your-first-content-api-template#create-a-template). If this parameter is not specified, then the Content API will not be utilized.
**content_variables** | string | Optional | Key-value pairs of variable names to substitution values, used alongside a content_sid. If not specified, Content API will default to the default variables defined at create time.
**from** | string | Optional | A Twilio phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, an [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), or a [Channel Endpoint address](https://www.twilio.com/docs/sms/channels#channel-addresses) that is enabled for the type of message you want to send. Phone numbers or [short codes](https://www.twilio.com/docs/sms/api/short-code) purchased from Twilio also work here. You cannot, for example, spoof messages from a private cell phone number. If you are using `messaging_service_sid`, this parameter must be empty.
**messaging_service_sid** | string | Optional | The SID of the [Messaging Service](https://www.twilio.com/docs/sms/services#send-a-message-with-copilot) you want to associate with the Message. Set this parameter to use the [Messaging Service Settings and Copilot Features](https://www.twilio.com/console/sms/services) you have configured and leave the `from` parameter empty. When only this parameter is set, Twilio will use your enabled Copilot Features to select the `from` phone number for delivery.
**body** | string | Optional | The text of the message you want to send. Can be up to 1,600 characters in length.
Expand Down
2 changes: 2 additions & 0 deletions twilio/resources/api/v2010/api_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,8 @@ func ResourceAccountsMessages() *schema.Resource {
"schedule_type": AsString(SchemaForceNewOptional),
"send_at": AsString(SchemaForceNewOptional),
"send_as_mms": AsBool(SchemaForceNewOptional),
"content_sid": AsString(SchemaForceNewOptional),
"content_variables": AsString(SchemaForceNewOptional),
"from": AsString(SchemaForceNewOptional),
"messaging_service_sid": AsString(SchemaForceNewOptional),
"body": AsString(SchemaComputedOptional),
Expand Down
2 changes: 0 additions & 2 deletions twilio/resources/proxy/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Name | Type | Requirement | Description
**friendly_name** | string | Optional | The string that you assigned to describe the participant. This value must be 255 characters or fewer. **This value should not have PII.**
**proxy_identifier** | string | Optional | The proxy phone number to use for the Participant. If not specified, Proxy will select a number from the pool.
**proxy_identifier_sid** | string | Optional | The SID of the Proxy Identifier to assign to the Participant.
**fail_on_participant_conflict** | bool | Optional | [Experimental] For accounts with the ProxyAllowParticipantConflict account flag, setting to true enables per-request opt-in to allowing Proxy to reject a Participant create request that could cause the same Identifier/ProxyIdentifier pair to be active in multiple Sessions. Depending on the context, this could be a 409 error (Twilio error code 80623) or a 400 error (Twilio error code 80604). If not provided, requests will be allowed to succeed and a Debugger notification (80802) will be emitted. Having multiple, active Participants with the same Identifier/ProxyIdentifier pair causes calls and messages from affected Participants to be routed incorrectly. Please note, the default behavior for accounts without the ProxyAllowParticipantConflict flag is to reject the request as described. This will eventually be the default for all accounts.
**sid** | string | *Computed* | The Twilio-provided string that uniquely identifies the Participant resource to fetch.

## twilio_proxy_services_phone_numbers_v1
Expand Down Expand Up @@ -54,7 +53,6 @@ Name | Type | Requirement | Description
**mode** | string | Optional |
**status** | string | Optional |
**participants** | list(string) | Optional | The Participant objects to include in the new session.
**fail_on_participant_conflict** | bool | Optional | [Experimental] For accounts with the ProxyAllowParticipantConflict account flag, setting to true enables per-request opt-in to allowing Proxy to reject a Session create (with Participants) request that could cause the same Identifier/ProxyIdentifier pair to be active in multiple Sessions. Depending on the context, this could be a 409 error (Twilio error code 80623) or a 400 error (Twilio error code 80604). If not provided, requests will be allowed to succeed and a Debugger notification (80802) will be emitted. Having multiple, active Participants with the same Identifier/ProxyIdentifier pair causes calls and messages from affected Participants to be routed incorrectly. Please note, the default behavior for accounts without the ProxyAllowParticipantConflict flag is to reject the request as described. This will eventually be the default for all accounts.
**sid** | string | *Computed* | The Twilio-provided string that uniquely identifies the Session resource to update.

## twilio_proxy_services_short_codes_v1
Expand Down
32 changes: 15 additions & 17 deletions twilio/resources/proxy/v1/api_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,13 @@ func ResourceServicesSessionsParticipants() *schema.Resource {
ReadContext: readServicesSessionsParticipants,
DeleteContext: deleteServicesSessionsParticipants,
Schema: map[string]*schema.Schema{
"service_sid": AsString(SchemaForceNewRequired),
"session_sid": AsString(SchemaForceNewRequired),
"identifier": AsString(SchemaForceNewRequired),
"friendly_name": AsString(SchemaForceNewOptional),
"proxy_identifier": AsString(SchemaForceNewOptional),
"proxy_identifier_sid": AsString(SchemaForceNewOptional),
"fail_on_participant_conflict": AsBool(SchemaForceNewOptional),
"sid": AsString(SchemaComputed),
"service_sid": AsString(SchemaForceNewRequired),
"session_sid": AsString(SchemaForceNewRequired),
"identifier": AsString(SchemaForceNewRequired),
"friendly_name": AsString(SchemaForceNewOptional),
"proxy_identifier": AsString(SchemaForceNewOptional),
"proxy_identifier_sid": AsString(SchemaForceNewOptional),
"sid": AsString(SchemaComputed),
},
Importer: &schema.ResourceImporter{
StateContext: func(ctx context.Context, d *schema.ResourceData, m interface{}) ([]*schema.ResourceData, error) {
Expand Down Expand Up @@ -371,15 +370,14 @@ func ResourceServicesSessions() *schema.Resource {
UpdateContext: updateServicesSessions,
DeleteContext: deleteServicesSessions,
Schema: map[string]*schema.Schema{
"service_sid": AsString(SchemaRequired),
"unique_name": AsString(SchemaForceNewOptional),
"date_expiry": AsString(SchemaComputedOptional),
"ttl": AsInt(SchemaComputedOptional),
"mode": AsString(SchemaForceNewOptional),
"status": AsString(SchemaComputedOptional),
"participants": AsList(AsString(SchemaForceNewOptional), SchemaForceNewOptional),
"fail_on_participant_conflict": AsBool(SchemaComputedOptional),
"sid": AsString(SchemaComputed),
"service_sid": AsString(SchemaRequired),
"unique_name": AsString(SchemaForceNewOptional),
"date_expiry": AsString(SchemaComputedOptional),
"ttl": AsInt(SchemaComputedOptional),
"mode": AsString(SchemaForceNewOptional),
"status": AsString(SchemaComputedOptional),
"participants": AsList(AsString(SchemaForceNewOptional), SchemaForceNewOptional),
"sid": AsString(SchemaComputed),
},
Importer: &schema.ResourceImporter{
StateContext: func(ctx context.Context, d *schema.ResourceData, m interface{}) ([]*schema.ResourceData, error) {
Expand Down

0 comments on commit 177df7e

Please sign in to comment.