Skip to content

Commit c790abd

Browse files
committed
[Librarian] Regenerated @ 18375def60d612c8e8bd57ea6e45050211ba4c08
1 parent 79f196e commit c790abd

Some content is hidden

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

60 files changed

+464
-65
lines changed

CHANGES.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
twilio-go changelog
22
====================
3+
[2022-11-10] Version 1.2.0
4+
--------------------------
5+
**Library - Feature**
6+
- [PR #197](https://github.com/twilio/twilio-go/pull/197): add context.Context support. Thanks to [@natebrennand](https://github.com/natebrennand)!
7+
- [PR #196](https://github.com/twilio/twilio-go/pull/196): introduce base client that utilizes context. Thanks to [@natebrennand](https://github.com/natebrennand)!
8+
9+
**Flex**
10+
- Adding two new authorization API 'user_roles' and 'gooddata' in version `v1`
11+
12+
**Messaging**
13+
- Add new Campaign properties (MessageFlow, OptInMessage, OptInKeywords, OptOutMessage, OptOutKeywords, HelpMessage, HelpKeywords)
14+
15+
316
[2022-10-31] Version 1.1.1
417
--------------------------
518
**Library - Miscellaneous**

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.37.1
8+
- API version: 1.37.2
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.37.1
8+
- API version: 1.37.2
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_calls_user_defined_message_subscriptions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func (params *CreateUserDefinedMessageSubscriptionParams) SetIdempotencyKey(Idem
4949
return params
5050
}
5151

52-
// Subscribe to User Defined Messages for a given call sid.
52+
// Subscribe to User Defined Messages for a given Call SID.
5353
func (c *ApiService) CreateUserDefinedMessageSubscription(CallSid string, params *CreateUserDefinedMessageSubscriptionParams) (*ApiV2010UserDefinedMessageSubscription, error) {
5454
path := "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessageSubscriptions.json"
5555
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_calls_user_defined_messages.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
type CreateUserDefinedMessageParams struct {
2525
// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created User Defined Message.
2626
PathAccountSid *string `json:"PathAccountSid,omitempty"`
27-
// A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated.
27+
// The User Defined Message in the form of URL-encoded JSON string.
2828
Content *string `json:"Content,omitempty"`
2929
// A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated.
3030
IdempotencyKey *string `json:"IdempotencyKey,omitempty"`
@@ -43,7 +43,7 @@ func (params *CreateUserDefinedMessageParams) SetIdempotencyKey(IdempotencyKey s
4343
return params
4444
}
4545

46-
// Create a new User Defined Message for the given call sid.
46+
// Create a new User Defined Message for the given Call SID.
4747
func (c *ApiService) CreateUserDefinedMessage(CallSid string, params *CreateUserDefinedMessageParams) (*ApiV2010UserDefinedMessage, error) {
4848
path := "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessages.json"
4949
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/docs/AccountsCallsUserDefinedMessageSubscriptionsApi.md

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

1717

18-
Subscribe to User Defined Messages for a given call sid.
18+
Subscribe to User Defined Messages for a given Call SID.
1919

2020
### Path Parameters
2121

2222

2323
Name | Type | Description
2424
------------- | ------------- | -------------
2525
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
26-
**CallSid** | **string** | The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the User Defined Messages subscription is associated with. This refers to the call sid that is producing the user defined messages.
26+
**CallSid** | **string** | The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the User Defined Messages subscription is associated with. This refers to the Call SID that is producing the user defined messages.
2727

2828
### Other Parameters
2929

@@ -69,7 +69,7 @@ Delete a specific User Defined Message Subscription.
6969
Name | Type | Description
7070
------------- | ------------- | -------------
7171
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
72-
**CallSid** | **string** | The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the User Defined Messages subscription is associated with. This refers to the call sid that is producing the user defined messages.
72+
**CallSid** | **string** | The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the User Defined Message Subscription is associated with. This refers to the Call SID that is producing the User Defined Messages.
7373
**Sid** | **string** | The SID that uniquely identifies this User Defined Message Subscription.
7474

7575
### Other Parameters

rest/api/v2010/docs/AccountsCallsUserDefinedMessagesApi.md

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

1616

17-
Create a new User Defined Message for the given call sid.
17+
Create a new User Defined Message for the given Call SID.
1818

1919
### Path Parameters
2020

@@ -32,7 +32,7 @@ Other parameters are passed through a pointer to a CreateUserDefinedMessageParam
3232
Name | Type | Description
3333
------------- | ------------- | -------------
3434
**PathAccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created User Defined Message.
35-
**Content** | **string** | A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated.
35+
**Content** | **string** | The User Defined Message in the form of URL-encoded JSON string.
3636
**IdempotencyKey** | **string** | A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated.
3737

3838
### Return type

rest/api/v2010/docs/ApiV2010UserDefinedMessage.md

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

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**AccountSid** | Pointer to **string** | Account Sid. |
8-
**CallSid** | Pointer to **string** | Call Sid. |
9-
**Sid** | Pointer to **string** | A string that uniquely identifies this User Defined Message. |
10-
**DateCreated** | Pointer to **string** | The date this User Defined Message was created |
7+
**AccountSid** | Pointer to **string** | Account SID. |
8+
**CallSid** | Pointer to **string** | Call SID. |
9+
**Sid** | Pointer to **string** | User Defined Message SID. |
10+
**DateCreated** | Pointer to **string** | The date this User Defined Message was created. |
1111

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

rest/api/v2010/docs/ApiV2010UserDefinedMessageSubscription.md

Lines changed: 5 additions & 5 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** | Account Sid. |
8-
**CallSid** | Pointer to **string** | Call Sid. |
9-
**Sid** | Pointer to **string** | User Defined Message Subscription Sid |
10-
**DateCreated** | Pointer to **string** | The date this User Defined Message Subscription was created |
11-
**Uri** | Pointer to **string** | The URI of the resource, relative to `https://api.twilio.com`. |
7+
**AccountSid** | Pointer to **string** | Account SID. |
8+
**CallSid** | Pointer to **string** | Call SID. |
9+
**Sid** | Pointer to **string** | User Defined Message Subscription SID. |
10+
**DateCreated** | Pointer to **string** | The date this User Defined Message Subscription was created. |
11+
**Uri** | Pointer to **string** | The URI of the User Defined Message Subscription Resource, relative to `https://api.twilio.com`. |
1212

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

rest/api/v2010/model_api_v2010_user_defined_message.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ package openapi
1616

1717
// ApiV2010UserDefinedMessage struct for ApiV2010UserDefinedMessage
1818
type ApiV2010UserDefinedMessage struct {
19-
// Account Sid.
19+
// Account SID.
2020
AccountSid *string `json:"account_sid,omitempty"`
21-
// Call Sid.
21+
// Call SID.
2222
CallSid *string `json:"call_sid,omitempty"`
23-
// A string that uniquely identifies this User Defined Message.
23+
// User Defined Message SID.
2424
Sid *string `json:"sid,omitempty"`
25-
// The date this User Defined Message was created
25+
// The date this User Defined Message was created.
2626
DateCreated *string `json:"date_created,omitempty"`
2727
}

0 commit comments

Comments
 (0)