Skip to content

Commit 9cc4002

Browse files
committed
[Librarian] Regenerated @ b32d3e1eba2177c81eeca51181f67e618fe86dbe
1 parent 479d877 commit 9cc4002

Some content is hidden

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

64 files changed

+142
-75
lines changed

CHANGES.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
twilio-go changelog
22
====================
3+
[2023-09-07] Version 1.13.0
4+
---------------------------
5+
**Api**
6+
- Make message tagging parameters public **(breaking change)**
7+
8+
**Flex**
9+
- Adding `agent_conv_end_methods` to Flex Configuration
10+
11+
**Messaging**
12+
- Mark Mesasging Services fallback_to_long_code feature obsolete
13+
14+
**Numbers**
15+
- Add Create Port In request api
16+
- Renaming sid for bulk_hosting_sid and remove account_sid response field in numbers/v2/BulkHostedNumberOrders **(breaking change)**
17+
18+
**Pricing**
19+
- gate resources behind a beta_feature
20+
21+
322
[2023-08-24] Version 1.12.0
423
---------------------------
524
**Api**

rest/accounts/v1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This is the public Twilio REST API.
55
## Overview
66
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.
77

8-
- API version: 1.48.0
8+
- API version: 1.49.0
99
- Package version: 1.0.0
1010
- Build package: com.twilio.oai.TwilioGoGenerator
1111
For more information, please visit [https://support.twilio.com](https://support.twilio.com)

rest/api/v2010/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This is the public Twilio REST API.
55
## Overview
66
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.
77

8-
- API version: 1.48.0
8+
- API version: 1.49.0
99
- Package version: 1.0.0
1010
- Build package: com.twilio.oai.TwilioGoGenerator
1111
For more information, please visit [https://support.twilio.com](https://support.twilio.com)

rest/api/v2010/accounts_messages.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ type CreateMessageParams struct {
6262
SendAsMms *bool `json:"SendAsMms,omitempty"`
6363
// 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.
6464
ContentVariables *string `json:"ContentVariables,omitempty"`
65+
// 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.
66+
Tags *string `json:"Tags,omitempty"`
6567
//
6668
RiskCheck *string `json:"RiskCheck,omitempty"`
6769
// 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.
@@ -148,6 +150,10 @@ func (params *CreateMessageParams) SetContentVariables(ContentVariables string)
148150
params.ContentVariables = &ContentVariables
149151
return params
150152
}
153+
func (params *CreateMessageParams) SetTags(Tags string) *CreateMessageParams {
154+
params.Tags = &Tags
155+
return params
156+
}
151157
func (params *CreateMessageParams) SetRiskCheck(RiskCheck string) *CreateMessageParams {
152158
params.RiskCheck = &RiskCheck
153159
return params
@@ -238,6 +244,9 @@ func (c *ApiService) CreateMessage(params *CreateMessageParams) (*ApiV2010Messag
238244
if params != nil && params.ContentVariables != nil {
239245
data.Set("ContentVariables", *params.ContentVariables)
240246
}
247+
if params != nil && params.Tags != nil {
248+
data.Set("Tags", *params.Tags)
249+
}
241250
if params != nil && params.RiskCheck != nil {
242251
data.Set("RiskCheck", *params.RiskCheck)
243252
}

rest/api/v2010/accounts_messages_feedback.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
// Optional parameters for the method 'CreateMessageFeedback'
2424
type CreateMessageFeedbackParams struct {
25-
// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
25+
// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with the Message resource for which to create MessageFeedback.
2626
PathAccountSid *string `json:"PathAccountSid,omitempty"`
2727
//
2828
Outcome *string `json:"Outcome,omitempty"`
@@ -37,7 +37,7 @@ func (params *CreateMessageFeedbackParams) SetOutcome(Outcome string) *CreateMes
3737
return params
3838
}
3939

40-
//
40+
// Create Message Feedback to confirm a tracked user action was performed by the recipient of the associated Message
4141
func (c *ApiService) CreateMessageFeedback(MessageSid string, params *CreateMessageFeedbackParams) (*ApiV2010MessageFeedback, error) {
4242
path := "/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Feedback.json"
4343
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/docs/AccountsMessagesApi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Name | Type | Description
4949
**SendAt** | **time.Time** | The time that Twilio will send the message. Must be in ISO 8601 format.
5050
**SendAsMms** | **bool** | If set to `true`, Twilio delivers the message as a single MMS message, regardless of the presence of media.
5151
**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.
52+
**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.
5253
**RiskCheck** | **string** |
5354
**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.
5455
**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.

rest/api/v2010/docs/AccountsMessagesFeedbackApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ Method | HTTP request | Description
1414
1515

1616

17-
17+
Create Message Feedback to confirm a tracked user action was performed by the recipient of the associated Message
1818

1919
### Path Parameters
2020

2121

2222
Name | Type | Description
2323
------------- | ------------- | -------------
2424
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
25-
**MessageSid** | **string** | The SID of the Message resource for which the feedback was provided.
25+
**MessageSid** | **string** | The SID of the Message resource for which to create MessageFeedback.
2626

2727
### Other Parameters
2828

@@ -31,7 +31,7 @@ Other parameters are passed through a pointer to a CreateMessageFeedbackParams s
3131

3232
Name | Type | Description
3333
------------- | ------------- | -------------
34-
**PathAccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
34+
**PathAccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with the Message resource for which to create MessageFeedback.
3535
**Outcome** | **string** |
3636

3737
### Return type

rest/api/v2010/docs/ApiV2010Message.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Name | Type | Description | Notes
2424
**PriceUnit** | Pointer to **string** | The currency in which `price` is measured, in [ISO 4127](https://www.iso.org/iso/home/standards/currency_codes.htm) format (e.g. `usd`, `eur`, `jpy`). |
2525
**ApiVersion** | Pointer to **string** | The API version used to process the Message |
2626
**SubresourceUris** | Pointer to **map[string]interface{}** | A list of related resources identified by their URIs relative to `https://api.twilio.com` |
27+
**Tags** | Pointer to **interface{}** | A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message. |
2728

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

rest/api/v2010/docs/ApiV2010MessageFeedback.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**AccountSid** | Pointer to **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the MessageFeedback resource. |
8-
**MessageSid** | Pointer to **string** | The SID of the Message resource for which the feedback was provided. |
7+
**AccountSid** | Pointer to **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with this MessageFeedback resource. |
8+
**MessageSid** | Pointer to **string** | The SID of the Message resource associated with this MessageFeedback resource. |
99
**Outcome** | Pointer to [**string**](MessageFeedbackEnumOutcome.md) | |
10-
**DateCreated** | Pointer to **string** | The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. |
11-
**DateUpdated** | Pointer to **string** | The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. |
10+
**DateCreated** | Pointer to **string** | The date and time in GMT when this MessageFeedback resource was created, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. |
11+
**DateUpdated** | Pointer to **string** | The date and time in GMT when this MessageFeedback resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. |
1212
**Uri** | Pointer to **string** | The URI of the resource, relative to `https://api.twilio.com`. |
1313

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

rest/api/v2010/model_api_v2010_message.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,6 @@ type ApiV2010Message struct {
5454
ApiVersion *string `json:"api_version,omitempty"`
5555
// A list of related resources identified by their URIs relative to `https://api.twilio.com`
5656
SubresourceUris *map[string]interface{} `json:"subresource_uris,omitempty"`
57+
// A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message.
58+
Tags *interface{} `json:"tags,omitempty"`
5759
}

0 commit comments

Comments
 (0)