Skip to content

Commit 861a795

Browse files
committed
[Librarian] Regenerated @ 78bf2bbef74e4846ca8353fbdee038a6b8080c59 2250ef3ba08540233f688bf6aaa55e9c94febf3b
1 parent 97e1a80 commit 861a795

File tree

199 files changed

+1395
-332
lines changed

Some content is hidden

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

199 files changed

+1395
-332
lines changed

CHANGES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
twilio-go changelog
22
====================
3+
[2024-09-05] Version 1.23.0
4+
---------------------------
5+
**Iam**
6+
- updated library_visibility public for new public apikeys
7+
8+
**Numbers**
9+
- Add new field in Error Codes for Regulatory Compliance.
10+
- Change typing of Port In Request date_created field to date_time instead of date **(breaking change)**
11+
12+
313
[2024-08-26] Version 1.22.4
414
---------------------------
515
**Api**

rest/api/v2010/docs/ApiV2010CallRecording.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
1818
**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. |
1919
**PriceUnit** | Pointer to **string** | The currency used in the `price` property. Example: `USD`. |
2020
**Status** | Pointer to [**string**](CallRecordingEnumStatus.md) | |
21-
**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]
21+
**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]
2222
**Source** | Pointer to [**string**](CallRecordingEnumSource.md) | |
2323
**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`. |
2424
**Track** | Pointer to **string** | The recorded track. Can be: `inbound`, `outbound`, or `both`. |

rest/api/v2010/docs/ApiV2010ConferenceRecording.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
1616
**Price** | Pointer to **string** | The one-time cost of creating the recording in the `price_unit` currency. |
1717
**PriceUnit** | Pointer to **string** | The currency used in the `price` property. Example: `USD`. |
1818
**Status** | Pointer to [**string**](ConferenceRecordingEnumStatus.md) | |
19-
**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]
19+
**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]
2020
**Source** | Pointer to [**string**](ConferenceRecordingEnumSource.md) | |
2121
**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`. |
2222
**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. |

rest/api/v2010/docs/ApiV2010Member.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**CallSid** | Pointer to **string** | The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Member resource is associated with. |
88
**DateEnqueued** | Pointer to **string** | The date that the member was enqueued, given in RFC 2822 format. |
9-
**Position** | Pointer to **int** | This member's current position in the queue. |[default to 0]
9+
**Position** | **int** | This member's current position in the queue. |[optional] [default to 0]
1010
**Uri** | Pointer to **string** | The URI of the resource, relative to `https://api.twilio.com`. |
11-
**WaitTime** | Pointer to **int** | The number of seconds the member has been in the queue. |[default to 0]
11+
**WaitTime** | **int** | The number of seconds the member has been in the queue. |[optional] [default to 0]
1212
**QueueSid** | Pointer to **string** | The SID of the Queue the member is in. |
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/docs/ApiV2010Queue.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**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. |
8-
**CurrentSize** | Pointer to **int** | The number of calls currently in the queue. |[default to 0]
8+
**CurrentSize** | **int** | The number of calls currently in the queue. |[optional] [default to 0]
99
**FriendlyName** | Pointer to **string** | A string that you assigned to describe this resource. |
1010
**Uri** | Pointer to **string** | The URI of this resource, relative to `https://api.twilio.com`. |
1111
**AccountSid** | Pointer to **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this Queue resource. |
12-
**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]
12+
**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]
1313
**Sid** | Pointer to **string** | The unique string that that we created to identify this Queue resource. |
1414
**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. |
15-
**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]
15+
**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]
1616

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

rest/api/v2010/docs/ApiV2010Recording.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
1616
**Price** | Pointer to **string** | The one-time cost of creating the recording in the `price_unit` currency. |
1717
**PriceUnit** | Pointer to **string** | The currency used in the `price` property. Example: `USD`. |
1818
**Status** | Pointer to [**string**](RecordingEnumStatus.md) | |
19-
**Channels** | Pointer to **int** | The number of channels in the final recording file. Can be: `1` or `2`. |[default to 0]
19+
**Channels** | **int** | The number of channels in the final recording file. Can be: `1` or `2`. |[optional] [default to 0]
2020
**Source** | Pointer to [**string**](RecordingEnumSource.md) | |
2121
**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`. |
2222
**Uri** | Pointer to **string** | The URI of the resource, relative to `https://api.twilio.com`. |

rest/api/v2010/docs/ApiV2010SipIpAddress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**AccountSid** | Pointer to **string** | The unique id of the Account that is responsible for this resource. |
99
**FriendlyName** | Pointer to **string** | A human readable descriptive text for this resource, up to 255 characters long. |
1010
**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. |
11-
**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]
11+
**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]
1212
**IpAccessControlListSid** | Pointer to **string** | The unique id of the IpAccessControlList resource that includes this resource. |
1313
**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. |
1414
**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. |

rest/api/v2010/model_api_v2010_call_recording.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ type ApiV2010CallRecording struct {
5050
PriceUnit *string `json:"price_unit,omitempty"`
5151
Status *string `json:"status,omitempty"`
5252
// 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.
53-
Channels *int `json:"channels,omitempty"`
53+
Channels int `json:"channels,omitempty"`
5454
Source *string `json:"source,omitempty"`
5555
// 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`.
5656
ErrorCode *int `json:"error_code,omitempty"`
@@ -74,7 +74,7 @@ func (response *ApiV2010CallRecording) UnmarshalJSON(bytes []byte) (err error) {
7474
EncryptionDetails *interface{} `json:"encryption_details"`
7575
PriceUnit *string `json:"price_unit"`
7676
Status *string `json:"status"`
77-
Channels *int `json:"channels"`
77+
Channels int `json:"channels"`
7878
Source *string `json:"source"`
7979
ErrorCode *int `json:"error_code"`
8080
Track *string `json:"track"`

rest/api/v2010/model_api_v2010_conference_recording.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type ApiV2010ConferenceRecording struct {
4040
PriceUnit *string `json:"price_unit,omitempty"`
4141
Status *string `json:"status,omitempty"`
4242
// 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.
43-
Channels *int `json:"channels,omitempty"`
43+
Channels int `json:"channels,omitempty"`
4444
Source *string `json:"source,omitempty"`
4545
// 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`.
4646
ErrorCode *int `json:"error_code,omitempty"`

rest/api/v2010/model_api_v2010_member.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ type ApiV2010Member struct {
2121
// The date that the member was enqueued, given in RFC 2822 format.
2222
DateEnqueued *string `json:"date_enqueued,omitempty"`
2323
// This member's current position in the queue.
24-
Position *int `json:"position,omitempty"`
24+
Position int `json:"position,omitempty"`
2525
// The URI of the resource, relative to `https://api.twilio.com`.
2626
Uri *string `json:"uri,omitempty"`
2727
// The number of seconds the member has been in the queue.
28-
WaitTime *int `json:"wait_time,omitempty"`
28+
WaitTime int `json:"wait_time,omitempty"`
2929
// The SID of the Queue the member is in.
3030
QueueSid *string `json:"queue_sid,omitempty"`
3131
}

0 commit comments

Comments
 (0)