Skip to content

Commit

Permalink
[Librarian] Regenerated @ 78bf2bbef74e4846ca8353fbdee038a6b8080c59 22…
Browse files Browse the repository at this point in the history
…50ef3ba08540233f688bf6aaa55e9c94febf3b
  • Loading branch information
twilio-dx committed Sep 5, 2024
1 parent 97e1a80 commit 861a795
Show file tree
Hide file tree
Showing 199 changed files with 1,395 additions and 332 deletions.
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
twilio-go changelog
====================
[2024-09-05] Version 1.23.0
---------------------------
**Iam**
- updated library_visibility public for new public apikeys

**Numbers**
- Add new field in Error Codes for Regulatory Compliance.
- Change typing of Port In Request date_created field to date_time instead of date **(breaking change)**


[2024-08-26] Version 1.22.4
---------------------------
**Api**
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v2010/docs/ApiV2010CallRecording.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
**EncryptionDetails** | Pointer to **interface{}** | How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature. |
**PriceUnit** | Pointer to **string** | The currency used in the `price` property. Example: `USD`. |
**Status** | Pointer to [**string**](CallRecordingEnumStatus.md) | |
**Channels** | Pointer to **int** | The number of channels in the final recording file. Can be: `1`, or `2`. Separating a two leg call into two separate channels of the recording file is supported in [Dial](https://www.twilio.com/docs/voice/twiml/dial#attributes-record) and [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls) record options. |[default to 0]
**Channels** | **int** | The number of channels in the final recording file. Can be: `1`, or `2`. Separating a two leg call into two separate channels of the recording file is supported in [Dial](https://www.twilio.com/docs/voice/twiml/dial#attributes-record) and [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls) record options. |[optional] [default to 0]
**Source** | Pointer to [**string**](CallRecordingEnumSource.md) | |
**ErrorCode** | Pointer to **int** | The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). This value is null if the recording `status` is not `absent`. |
**Track** | Pointer to **string** | The recorded track. Can be: `inbound`, `outbound`, or `both`. |
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v2010/docs/ApiV2010ConferenceRecording.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Name | Type | Description | Notes
**Price** | Pointer to **string** | The one-time cost of creating the recording in the `price_unit` currency. |
**PriceUnit** | Pointer to **string** | The currency used in the `price` property. Example: `USD`. |
**Status** | Pointer to [**string**](ConferenceRecordingEnumStatus.md) | |
**Channels** | Pointer to **int** | The number of channels in the final recording file. Can be: `1`, or `2`. Separating a two leg call into two separate channels of the recording file is supported in [Dial](https://www.twilio.com/docs/voice/twiml/dial#attributes-record) and [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls) record options. |[default to 0]
**Channels** | **int** | The number of channels in the final recording file. Can be: `1`, or `2`. Separating a two leg call into two separate channels of the recording file is supported in [Dial](https://www.twilio.com/docs/voice/twiml/dial#attributes-record) and [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls) record options. |[optional] [default to 0]
**Source** | Pointer to [**string**](ConferenceRecordingEnumSource.md) | |
**ErrorCode** | Pointer to **int** | The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). This value is null if the recording `status` is not `absent`. |
**EncryptionDetails** | Pointer to **interface{}** | How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature. |
Expand Down
4 changes: 2 additions & 2 deletions rest/api/v2010/docs/ApiV2010Member.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CallSid** | Pointer to **string** | The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Member resource is associated with. |
**DateEnqueued** | Pointer to **string** | The date that the member was enqueued, given in RFC 2822 format. |
**Position** | Pointer to **int** | This member's current position in the queue. |[default to 0]
**Position** | **int** | This member's current position in the queue. |[optional] [default to 0]
**Uri** | Pointer to **string** | The URI of the resource, relative to `https://api.twilio.com`. |
**WaitTime** | Pointer to **int** | The number of seconds the member has been in the queue. |[default to 0]
**WaitTime** | **int** | The number of seconds the member has been in the queue. |[optional] [default to 0]
**QueueSid** | Pointer to **string** | The SID of the Queue the member is in. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
6 changes: 3 additions & 3 deletions rest/api/v2010/docs/ApiV2010Queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**DateUpdated** | Pointer to **string** | The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. |
**CurrentSize** | Pointer to **int** | The number of calls currently in the queue. |[default to 0]
**CurrentSize** | **int** | The number of calls currently in the queue. |[optional] [default to 0]
**FriendlyName** | Pointer to **string** | A string that you assigned to describe this resource. |
**Uri** | Pointer to **string** | The URI of this resource, relative to `https://api.twilio.com`. |
**AccountSid** | Pointer to **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Queue resource. |
**AverageWaitTime** | Pointer to **int** | The average wait time in seconds of the members in this queue. This is calculated at the time of the request. |[default to 0]
**AverageWaitTime** | **int** | The average wait time in seconds of the members in this queue. This is calculated at the time of the request. |[optional] [default to 0]
**Sid** | Pointer to **string** | The unique string that that we created to identify this Queue resource. |
**DateCreated** | Pointer to **string** | The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. |
**MaxSize** | Pointer to **int** | The maximum number of calls that can be in the queue. The default is 1000 and the maximum is 5000. |[default to 0]
**MaxSize** | **int** | The maximum number of calls that can be in the queue. The default is 1000 and the maximum is 5000. |[optional] [default to 0]

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

Expand Down
2 changes: 1 addition & 1 deletion rest/api/v2010/docs/ApiV2010Recording.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Name | Type | Description | Notes
**Price** | Pointer to **string** | The one-time cost of creating the recording in the `price_unit` currency. |
**PriceUnit** | Pointer to **string** | The currency used in the `price` property. Example: `USD`. |
**Status** | Pointer to [**string**](RecordingEnumStatus.md) | |
**Channels** | Pointer to **int** | The number of channels in the final recording file. Can be: `1` or `2`. |[default to 0]
**Channels** | **int** | The number of channels in the final recording file. Can be: `1` or `2`. |[optional] [default to 0]
**Source** | Pointer to [**string**](RecordingEnumSource.md) | |
**ErrorCode** | Pointer to **int** | The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). This value is null if the recording `status` is not `absent`. |
**Uri** | Pointer to **string** | The URI of the resource, relative to `https://api.twilio.com`. |
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v2010/docs/ApiV2010SipIpAddress.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**AccountSid** | Pointer to **string** | The unique id of the Account that is responsible for this resource. |
**FriendlyName** | Pointer to **string** | A human readable descriptive text for this resource, up to 255 characters long. |
**IpAddress** | Pointer to **string** | An IP address in dotted decimal notation from which you want to accept traffic. Any SIP requests from this IP address will be allowed by Twilio. IPv4 only supported today. |
**CidrPrefixLength** | Pointer to **int** | An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used. |[default to 0]
**CidrPrefixLength** | **int** | An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used. |[optional] [default to 0]
**IpAccessControlListSid** | Pointer to **string** | The unique id of the IpAccessControlList resource that includes this resource. |
**DateCreated** | Pointer to **string** | The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. |
**DateUpdated** | Pointer to **string** | The date that this resource was last updated, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. |
Expand Down
4 changes: 2 additions & 2 deletions rest/api/v2010/model_api_v2010_call_recording.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type ApiV2010CallRecording struct {
PriceUnit *string `json:"price_unit,omitempty"`
Status *string `json:"status,omitempty"`
// The number of channels in the final recording file. Can be: `1`, or `2`. Separating a two leg call into two separate channels of the recording file is supported in [Dial](https://www.twilio.com/docs/voice/twiml/dial#attributes-record) and [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls) record options.
Channels *int `json:"channels,omitempty"`
Channels int `json:"channels,omitempty"`
Source *string `json:"source,omitempty"`
// The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). This value is null if the recording `status` is not `absent`.
ErrorCode *int `json:"error_code,omitempty"`
Expand All @@ -74,7 +74,7 @@ func (response *ApiV2010CallRecording) UnmarshalJSON(bytes []byte) (err error) {
EncryptionDetails *interface{} `json:"encryption_details"`
PriceUnit *string `json:"price_unit"`
Status *string `json:"status"`
Channels *int `json:"channels"`
Channels int `json:"channels"`
Source *string `json:"source"`
ErrorCode *int `json:"error_code"`
Track *string `json:"track"`
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v2010/model_api_v2010_conference_recording.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type ApiV2010ConferenceRecording struct {
PriceUnit *string `json:"price_unit,omitempty"`
Status *string `json:"status,omitempty"`
// The number of channels in the final recording file. Can be: `1`, or `2`. Separating a two leg call into two separate channels of the recording file is supported in [Dial](https://www.twilio.com/docs/voice/twiml/dial#attributes-record) and [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls) record options.
Channels *int `json:"channels,omitempty"`
Channels int `json:"channels,omitempty"`
Source *string `json:"source,omitempty"`
// The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). This value is null if the recording `status` is not `absent`.
ErrorCode *int `json:"error_code,omitempty"`
Expand Down
4 changes: 2 additions & 2 deletions rest/api/v2010/model_api_v2010_member.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ type ApiV2010Member struct {
// The date that the member was enqueued, given in RFC 2822 format.
DateEnqueued *string `json:"date_enqueued,omitempty"`
// This member's current position in the queue.
Position *int `json:"position,omitempty"`
Position int `json:"position,omitempty"`
// The URI of the resource, relative to `https://api.twilio.com`.
Uri *string `json:"uri,omitempty"`
// The number of seconds the member has been in the queue.
WaitTime *int `json:"wait_time,omitempty"`
WaitTime int `json:"wait_time,omitempty"`
// The SID of the Queue the member is in.
QueueSid *string `json:"queue_sid,omitempty"`
}
6 changes: 3 additions & 3 deletions rest/api/v2010/model_api_v2010_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ type ApiV2010Queue struct {
// The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
DateUpdated *string `json:"date_updated,omitempty"`
// The number of calls currently in the queue.
CurrentSize *int `json:"current_size,omitempty"`
CurrentSize int `json:"current_size,omitempty"`
// A string that you assigned to describe this resource.
FriendlyName *string `json:"friendly_name,omitempty"`
// The URI of this resource, relative to `https://api.twilio.com`.
Uri *string `json:"uri,omitempty"`
// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Queue resource.
AccountSid *string `json:"account_sid,omitempty"`
// The average wait time in seconds of the members in this queue. This is calculated at the time of the request.
AverageWaitTime *int `json:"average_wait_time,omitempty"`
AverageWaitTime int `json:"average_wait_time,omitempty"`
// The unique string that that we created to identify this Queue resource.
Sid *string `json:"sid,omitempty"`
// The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
DateCreated *string `json:"date_created,omitempty"`
// The maximum number of calls that can be in the queue. The default is 1000 and the maximum is 5000.
MaxSize *int `json:"max_size,omitempty"`
MaxSize int `json:"max_size,omitempty"`
}
2 changes: 1 addition & 1 deletion rest/api/v2010/model_api_v2010_recording.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type ApiV2010Recording struct {
PriceUnit *string `json:"price_unit,omitempty"`
Status *string `json:"status,omitempty"`
// The number of channels in the final recording file. Can be: `1` or `2`.
Channels *int `json:"channels,omitempty"`
Channels int `json:"channels,omitempty"`
Source *string `json:"source,omitempty"`
// The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). This value is null if the recording `status` is not `absent`.
ErrorCode *int `json:"error_code,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v2010/model_api_v2010_sip_ip_address.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type ApiV2010SipIpAddress struct {
// An IP address in dotted decimal notation from which you want to accept traffic. Any SIP requests from this IP address will be allowed by Twilio. IPv4 only supported today.
IpAddress *string `json:"ip_address,omitempty"`
// An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used.
CidrPrefixLength *int `json:"cidr_prefix_length,omitempty"`
CidrPrefixLength int `json:"cidr_prefix_length,omitempty"`
// The unique id of the IpAccessControlList resource that includes this resource.
IpAccessControlListSid *string `json:"ip_access_control_list_sid,omitempty"`
// The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
Expand Down
2 changes: 1 addition & 1 deletion rest/bulkexports/v1/docs/BulkexportsV1Day.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Day** | Pointer to **string** | The ISO 8601 format date of the resources in the file, for a UTC day |
**Size** | Pointer to **int** | The size of the day's data file in bytes |[default to 0]
**Size** | **int** | The size of the day's data file in bytes |[optional] [default to 0]
**CreateDate** | Pointer to **string** | The ISO 8601 format date when resources is created |
**FriendlyName** | Pointer to **string** | The friendly name specified when creating the job |
**ResourceType** | Pointer to **string** | The type of communication – Messages, Calls, Conferences, and Participants |
Expand Down
2 changes: 1 addition & 1 deletion rest/bulkexports/v1/model_bulkexports_v1_day.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type BulkexportsV1Day struct {
// The ISO 8601 format date of the resources in the file, for a UTC day
Day *string `json:"day,omitempty"`
// The size of the day's data file in bytes
Size *int `json:"size,omitempty"`
Size int `json:"size,omitempty"`
// The ISO 8601 format date when resources is created
CreateDate *string `json:"create_date,omitempty"`
// The friendly name specified when creating the job
Expand Down
4 changes: 2 additions & 2 deletions rest/chat/v1/docs/ChatV1Channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Name | Type | Description | Notes
**DateCreated** | Pointer to [**time.Time**](time.Time.md) | The date and time in GMT when the resource was created specified in [RFC 2822](http://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](http://www.ietf.org/rfc/rfc2822.txt) format. |
**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. |[default to 0]
**MessagesCount** | Pointer to **int** | The number of Messages in the Channel. |[default to 0]
**MembersCount** | **int** | The number of Members in the Channel. |[optional] [default to 0]
**MessagesCount** | **int** | The number of Messages in the Channel. |[optional] [default to 0]
**Url** | Pointer to **string** | The absolute URL of the Channel resource. |
**Links** | Pointer to **map[string]interface{}** | The absolute URLs of the [Members](https://www.twilio.com/docs/chat/api/members), [Messages](https://www.twilio.com/docs/chat/api/messages) , [Invites](https://www.twilio.com/docs/chat/api/invites) and, if it exists, the last [Message](https://www.twilio.com/docs/chat/api/messages) for the Channel. |

Expand Down
2 changes: 1 addition & 1 deletion rest/chat/v1/docs/ChatV1Message.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**WasEdited** | Pointer to **bool** | Whether the message has been edited since it was created. |
**From** | Pointer to **string** | The [identity](https://www.twilio.com/docs/api/chat/guides/identity) of the message's author. The default value is `system`. |
**Body** | Pointer to **string** | The content of the message. |
**Index** | Pointer to **int** | The index of the message within the [Channel](https://www.twilio.com/docs/chat/api/channels). |[default to 0]
**Index** | **int** | The index of the message within the [Channel](https://www.twilio.com/docs/chat/api/channels). |[optional] [default to 0]
**Url** | Pointer to **string** | The absolute URL of the Message 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)
Expand Down
Loading

0 comments on commit 861a795

Please sign in to comment.