Skip to content

Commit

Permalink
[Librarian] Regenerated @ 85d420e85461ff1892d00b72852ff7e138514cbc
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Jul 13, 2022
1 parent af2c4b9 commit f9ecee9
Show file tree
Hide file tree
Showing 380 changed files with 1,840 additions and 58 deletions.
20 changes: 20 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
twilio-go changelog
====================
[2022-07-13] Version 1.0.0-rc.3
-------------------------------
**Library - Fix**
- [PR #175](https://github.com/twilio/twilio-go/pull/175): useragent regrex unit test for RC branch. Thanks to [@claudiachua](https://github.com/claudiachua)!
- [PR #173](https://github.com/twilio/twilio-go/pull/173): request validator logic. Thanks to [@claudiachua](https://github.com/claudiachua)!

**Conversations**
- Allowed to use `identity` as part of Participant's resource **(breaking change)**

**Lookups**
- Remove `enhanced_line_type` from the lookup response **(breaking change)**

**Supersim**
- Add support for `sim_ip_addresses` resource to helper libraries

**Verify**
- Changed summary param `service_sid` to `verify_service_sid` to be consistent with list attempts API **(breaking change)**
- Make `code` optional on Verification check to support `sna` attempts.


[2022-06-29] Version 1.0.0-rc.2
-------------------------------
**Library - Test**
Expand Down
2 changes: 1 addition & 1 deletion rest/accounts/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.30.0
- API version: 1.31.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)
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v2010/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.30.0
- API version: 1.31.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)
Expand Down
4 changes: 4 additions & 0 deletions rest/api/v2010/accounts_addresses.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ func (params *CreateAddressParams) SetStreet(Street string) *CreateAddressParams
return params
}

//
func (c *ApiService) CreateAddress(params *CreateAddressParams) (*ApiV2010Address, error) {
path := "/2010-04-01/Accounts/{AccountSid}/Addresses.json"
if params != nil && params.PathAccountSid != nil {
Expand Down Expand Up @@ -153,6 +154,7 @@ func (params *DeleteAddressParams) SetPathAccountSid(PathAccountSid string) *Del
return params
}

//
func (c *ApiService) DeleteAddress(Sid string, params *DeleteAddressParams) error {
path := "/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down Expand Up @@ -186,6 +188,7 @@ func (params *FetchAddressParams) SetPathAccountSid(PathAccountSid string) *Fetc
return params
}

//
func (c *ApiService) FetchAddress(Sid string, params *FetchAddressParams) (*ApiV2010Address, error) {
path := "/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down Expand Up @@ -447,6 +450,7 @@ func (params *UpdateAddressParams) SetStreet(Street string) *UpdateAddressParams
return params
}

//
func (c *ApiService) UpdateAddress(Sid string, params *UpdateAddressParams) (*ApiV2010Address, error) {
path := "/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
1 change: 1 addition & 0 deletions rest/api/v2010/accounts_available_phone_numbers.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func (params *FetchAvailablePhoneNumberCountryParams) SetPathAccountSid(PathAcco
return params
}

//
func (c *ApiService) FetchAvailablePhoneNumberCountry(CountryCode string, params *FetchAvailablePhoneNumberCountryParams) (*ApiV2010AvailablePhoneNumberCountry, error) {
path := "/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
1 change: 1 addition & 0 deletions rest/api/v2010/accounts_calls_notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func (params *FetchCallNotificationParams) SetPathAccountSid(PathAccountSid stri
return params
}

//
func (c *ApiService) FetchCallNotification(CallSid string, Sid string, params *FetchCallNotificationParams) (*ApiV2010CallNotificationInstance, error) {
path := "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
1 change: 1 addition & 0 deletions rest/api/v2010/accounts_conferences.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ func (params *UpdateConferenceParams) SetStatus(Status string) *UpdateConference
return params
}

//
func (c *ApiService) UpdateConference(Sid string, params *UpdateConferenceParams) (*ApiV2010Conference, error) {
path := "/2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
1 change: 1 addition & 0 deletions rest/api/v2010/accounts_conferences_participants.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ func (params *CreateParticipantParams) SetWaitUrl(WaitUrl string) *CreatePartici
return params
}

//
func (c *ApiService) CreateParticipant(ConferenceSid string, params *CreateParticipantParams) (*ApiV2010Participant, error) {
path := "/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
1 change: 1 addition & 0 deletions rest/api/v2010/accounts_incoming_phone_numbers_local.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ func (params *CreateIncomingPhoneNumberLocalParams) SetVoiceUrl(VoiceUrl string)
return params
}

//
func (c *ApiService) CreateIncomingPhoneNumberLocal(params *CreateIncomingPhoneNumberLocalParams) (*ApiV2010IncomingPhoneNumberLocal, error) {
path := "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Local.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
1 change: 1 addition & 0 deletions rest/api/v2010/accounts_incoming_phone_numbers_mobile.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ func (params *CreateIncomingPhoneNumberMobileParams) SetVoiceUrl(VoiceUrl string
return params
}

//
func (c *ApiService) CreateIncomingPhoneNumberMobile(params *CreateIncomingPhoneNumberMobileParams) (*ApiV2010IncomingPhoneNumberMobile, error) {
path := "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Mobile.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ func (params *CreateIncomingPhoneNumberTollFreeParams) SetVoiceUrl(VoiceUrl stri
return params
}

//
func (c *ApiService) CreateIncomingPhoneNumberTollFree(params *CreateIncomingPhoneNumberTollFreeParams) (*ApiV2010IncomingPhoneNumberTollFree, error) {
path := "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/TollFree.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
4 changes: 4 additions & 0 deletions rest/api/v2010/accounts_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func (params *CreateNewKeyParams) SetFriendlyName(FriendlyName string) *CreateNe
return params
}

//
func (c *ApiService) CreateNewKey(params *CreateNewKeyParams) (*ApiV2010NewKey, error) {
path := "/2010-04-01/Accounts/{AccountSid}/Keys.json"
if params != nil && params.PathAccountSid != nil {
Expand Down Expand Up @@ -81,6 +82,7 @@ func (params *DeleteKeyParams) SetPathAccountSid(PathAccountSid string) *DeleteK
return params
}

//
func (c *ApiService) DeleteKey(Sid string, params *DeleteKeyParams) error {
path := "/2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down Expand Up @@ -114,6 +116,7 @@ func (params *FetchKeyParams) SetPathAccountSid(PathAccountSid string) *FetchKey
return params
}

//
func (c *ApiService) FetchKey(Sid string, params *FetchKeyParams) (*ApiV2010Key, error) {
path := "/2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down Expand Up @@ -306,6 +309,7 @@ func (params *UpdateKeyParams) SetFriendlyName(FriendlyName string) *UpdateKeyPa
return params
}

//
func (c *ApiService) UpdateKey(Sid string, params *UpdateKeyParams) (*ApiV2010Key, error) {
path := "/2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
1 change: 1 addition & 0 deletions rest/api/v2010/accounts_messages_feedback.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func (params *CreateMessageFeedbackParams) SetOutcome(Outcome string) *CreateMes
return params
}

//
func (c *ApiService) CreateMessageFeedback(MessageSid string, params *CreateMessageFeedbackParams) (*ApiV2010MessageFeedback, error) {
path := "/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Feedback.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
1 change: 1 addition & 0 deletions rest/api/v2010/accounts_outgoing_caller_ids.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func (params *CreateValidationRequestParams) SetStatusCallbackMethod(StatusCallb
return params
}

//
func (c *ApiService) CreateValidationRequest(params *CreateValidationRequestParams) (*ApiV2010ValidationRequest, error) {
path := "/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
2 changes: 2 additions & 0 deletions rest/api/v2010/accounts_recordings_transcriptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func (params *DeleteRecordingTranscriptionParams) SetPathAccountSid(PathAccountS
return params
}

//
func (c *ApiService) DeleteRecordingTranscription(RecordingSid string, Sid string, params *DeleteRecordingTranscriptionParams) error {
path := "/2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down Expand Up @@ -68,6 +69,7 @@ func (params *FetchRecordingTranscriptionParams) SetPathAccountSid(PathAccountSi
return params
}

//
func (c *ApiService) FetchRecordingTranscription(RecordingSid string, Sid string, params *FetchRecordingTranscriptionParams) (*ApiV2010RecordingTranscription, error) {
path := "/2010-04-01/Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
3 changes: 3 additions & 0 deletions rest/api/v2010/accounts_signing_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ func (params *DeleteSigningKeyParams) SetPathAccountSid(PathAccountSid string) *
return params
}

//
func (c *ApiService) DeleteSigningKey(Sid string, params *DeleteSigningKeyParams) error {
path := "/2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down Expand Up @@ -115,6 +116,7 @@ func (params *FetchSigningKeyParams) SetPathAccountSid(PathAccountSid string) *F
return params
}

//
func (c *ApiService) FetchSigningKey(Sid string, params *FetchSigningKeyParams) (*ApiV2010SigningKey, error) {
path := "/2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down Expand Up @@ -307,6 +309,7 @@ func (params *UpdateSigningKeyParams) SetFriendlyName(FriendlyName string) *Upda
return params
}

//
func (c *ApiService) UpdateSigningKey(Sid string, params *UpdateSigningKeyParams) (*ApiV2010SigningKey, error) {
path := "/2010-04-01/Accounts/{AccountSid}/SigningKeys/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
1 change: 1 addition & 0 deletions rest/api/v2010/accounts_usage_triggers.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ func (params *DeleteUsageTriggerParams) SetPathAccountSid(PathAccountSid string)
return params
}

//
func (c *ApiService) DeleteUsageTrigger(Sid string, params *DeleteUsageTriggerParams) error {
path := "/2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json"
if params != nil && params.PathAccountSid != nil {
Expand Down
10 changes: 10 additions & 0 deletions rest/api/v2010/docs/AccountsAddressesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Method | HTTP request | Description




### Path Parameters

This endpoint does not need any path parameter.
Expand Down Expand Up @@ -64,6 +66,8 @@ Name | Type | Description




### Path Parameters


Expand Down Expand Up @@ -105,6 +109,8 @@ Name | Type | Description




### Path Parameters


Expand Down Expand Up @@ -146,6 +152,8 @@ Name | Type | Description




### Path Parameters

This endpoint does not need any path parameter.
Expand Down Expand Up @@ -188,6 +196,8 @@ Name | Type | Description




### Path Parameters


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Method | HTTP request | Description




### Path Parameters


Expand Down
4 changes: 4 additions & 0 deletions rest/api/v2010/docs/AccountsAvailablePhoneNumbersApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Method | HTTP request | Description




### Path Parameters


Expand Down Expand Up @@ -56,6 +58,8 @@ Name | Type | Description




### Path Parameters

This endpoint does not need any path parameter.
Expand Down
2 changes: 2 additions & 0 deletions rest/api/v2010/docs/AccountsAvailablePhoneNumbersLocalApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Method | HTTP request | Description




### Path Parameters


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Method | HTTP request | Description




### Path Parameters


Expand Down
2 changes: 2 additions & 0 deletions rest/api/v2010/docs/AccountsAvailablePhoneNumbersMobileApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Method | HTTP request | Description




### Path Parameters


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Method | HTTP request | Description




### Path Parameters


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Method | HTTP request | Description




### Path Parameters


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Method | HTTP request | Description




### Path Parameters


Expand Down
2 changes: 2 additions & 0 deletions rest/api/v2010/docs/AccountsAvailablePhoneNumbersVoipApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Method | HTTP request | Description




### Path Parameters


Expand Down
4 changes: 4 additions & 0 deletions rest/api/v2010/docs/AccountsCallsNotificationsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Method | HTTP request | Description




### Path Parameters


Expand Down Expand Up @@ -57,6 +59,8 @@ Name | Type | Description




### Path Parameters


Expand Down
2 changes: 2 additions & 0 deletions rest/api/v2010/docs/AccountsConferencesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ Name | Type | Description




### Path Parameters


Expand Down
2 changes: 2 additions & 0 deletions rest/api/v2010/docs/AccountsConferencesParticipantsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Method | HTTP request | Description




### Path Parameters


Expand Down
Loading

0 comments on commit f9ecee9

Please sign in to comment.