twilio-ruby 7.0.0.pre.rc.3 → 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +95 -23
  3. data/README.md +2 -2
  4. data/UPGRADE.md +3 -2
  5. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +22 -22
  6. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +7 -0
  7. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +22 -22
  8. data/lib/twilio-ruby/rest/client.rb +0 -5
  9. data/lib/twilio-ruby/rest/content/v1/content/approval_create.rb +6 -6
  10. data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +11 -11
  11. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +6 -6
  12. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +6 -6
  13. data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +6 -0
  14. data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +17 -4
  15. data/lib/twilio-ruby/rest/messaging/v1/service.rb +7 -0
  16. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_fetch.rb +7 -0
  17. data/lib/twilio-ruby/rest/oauth/v1/token.rb +10 -4
  18. data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +95 -4
  19. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +18 -18
  20. data/lib/twilio-ruby/rest/trusthub/v1.rb +12 -3
  21. data/lib/twilio-ruby/rest/verify/v2/service.rb +25 -0
  22. data/lib/twilio-ruby/version.rb +1 -1
  23. metadata +4 -11
  24. data/lib/twilio-ruby/rest/media/v1/media_processor.rb +0 -424
  25. data/lib/twilio-ruby/rest/media/v1/media_recording.rb +0 -405
  26. data/lib/twilio-ruby/rest/media/v1/player_streamer/playback_grant.rb +0 -255
  27. data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +0 -436
  28. data/lib/twilio-ruby/rest/media/v1.rb +0 -79
  29. data/lib/twilio-ruby/rest/media.rb +0 -35
  30. data/lib/twilio-ruby/rest/media_base.rb +0 -38
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b26986efc81d3a3fffc2b6d307adc1c448f93691
4
- data.tar.gz: e7e446ff01aa4c4ca736cf1f231304ae52da786d
3
+ metadata.gz: 87282b59934c59ef97afb9ec219bf3e4b84834b1
4
+ data.tar.gz: daab71d45a3dd7d2cf1a92b54303506c1f474de6
5
5
  SHA512:
6
- metadata.gz: 3420cc10ea1b8f7bca5772d2bcfe7cdf041b166245d292f82bde90206b32d40bc5685e8553918df81ee264f84b3ca6aae4e31de1d071d63de55abcb658712465
7
- data.tar.gz: b07b4864e25cbf7971e63b71fad9681fd5763f86070a87246bb09e4b44a079c5d98a94e2ecad10b7650205d87c1e39c3f3f1da0dba59f213175e434e5e15a746
6
+ metadata.gz: 675d66180d805096fc40152ec2de327a00a28e2bcd96784c454b3859a2aa51da4c70651822f9a99a581d8984f91940017b388d096b464db35f5917b204f6da21
7
+ data.tar.gz: 53c10c95ff94ee894cac40055152f0f439cd7c32dc51276839231673b5abf9fb82d88b11883730e5ef01ced4b50cd2fc7264baa68333efb799d82c657cdbb586
data/CHANGES.md CHANGED
@@ -1,37 +1,91 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2024-04-04] Version 7.0.1
5
+ --------------------------
6
+ **Api**
7
+ - Correct conference filtering by date_created and date_updated documentation, clarifying that times are UTC.
8
+
9
+ **Flex**
10
+ - Remove optional parameter from `plugins` and it to `plugin_versions`
11
+
12
+ **Lookups**
13
+ - Add new `pre_fill` package to the lookup response
14
+
15
+ **Messaging**
16
+ - Cleanup api.messaging.next-gen from Messaging Services endpoints
17
+ - Readd Sending-Window after fixing test failure
18
+
19
+ **Verify**
20
+ - Add `whatsapp.msg_service_sid` and `whatsapp.from` parameters to create, update, get and list of services endpoints
21
+
22
+ **Voice**
23
+ - Correct conference filtering by date_created and date_updated documentation, clarifying that times are UTC.
24
+
25
+ **Twiml**
26
+ - Add new `token_type` value `payment-method` for `Pay` verb
27
+
28
+
29
+ [2024-04-01] Version 7.0.0
30
+ --------------------------
31
+ **Note:** This release contains breaking changes, check our [upgrade guide](./UPGRADE.md#2024-01-19-6xx-to-7xx) for detailed migration notes.
32
+
33
+ **Library - Feature**
34
+ - [PR #719](https://github.com/twilio/twilio-ruby/pull/719): Merge '7.0.0-rc' into main. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)! **(breaking change)**
35
+
36
+ **Library - Chore**
37
+ - [PR #715](https://github.com/twilio/twilio-ruby/pull/715): remove media endpoint. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
38
+
39
+ **Api**
40
+ - Add property `queue_time` to conference participant resource
41
+ - Update RiskCheck documentation
42
+ - Correct call filtering by start and end time documentation, clarifying that times are UTC.
43
+
44
+ **Flex**
45
+ - Adding optional parameter to `plugins`
46
+
47
+ **Media**
48
+ - Remove API: MediaProcessor
49
+
50
+ **Messaging**
51
+ - Remove Sending-Window due to test failure
52
+ - Add Sending-Window as a response property to Messaging Services, gated by a beta feature flag
53
+
54
+ **Numbers**
55
+ - Correct valid_until_date field to be visible in Bundles resource
56
+ - Adding port_in_status field to the Port In resource and phone_number_status and sid fields to the Port In Phone Number resource
4
57
 
5
- [2024-03-14] Version 7.0.0-rc.3
6
- -------------------------------
7
58
  **Oauth**
59
+ - Modified token endpoint response
60
+ - Added refresh_token and scope as optional parameter to token endpoint
8
61
  - Add new APIs for vendor authorize and token endpoints
9
62
 
63
+ **Trusthub**
64
+ - Add update inquiry endpoint in compliance_registration.
65
+ - Add new field in themeSetId in compliance_registration.
10
66
 
11
- [2024-03-12] Version 7.0.0-rc.2
12
- -------------------------------
13
- **Library - Chore**
14
- - [PR #714](https://github.com/twilio/twilio-ruby/pull/714): enable cluster test. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
67
+ **Voice**
68
+ - Correct call filtering by start and end time documentation, clarifying that times are UTC.
69
+
70
+ **Twiml**
71
+ - Add support for new Google voices (Q1 2024) for `Say` verb - gu-IN voices
72
+ - Add support for new Amazon Polly and Google voices (Q1 2024) for `Say` verb - Niamh (en-IE) and Sofie (da-DK) voices
15
73
 
74
+
75
+ [2024-03-12] Version 6.12.1
76
+ ---------------------------
16
77
  **Api**
17
78
  - Correct precedence documentation for application_sid vs status_callback in message creation
18
79
  - Mark MaxPrice as deprecated
19
- - remove feedback and feedback summary from call resource
20
80
 
21
81
  **Flex**
22
82
  - Making `plugins` visibility to public
23
- - Adding `routing_properties` to Interactions Channels Participant
24
-
25
- **Lookups**
26
- - Add new `line_status` package to the lookup response
27
- - Remove `live_activity` package from the lookup response **(breaking change)**
28
83
 
29
84
  **Messaging**
30
85
  - Add new `errors` attribute to the Brand Registration resource.
31
86
  - Mark `brand_feedback` attribute as deprecated.
32
87
  - Mark `failure_reason` attribute as deprecated.
33
88
  - The new `errors` attribute is expected to provide additional information about Brand registration failures and feedback (if any has been provided by The Campaign Registry). Consumers should use this attribute instead of `brand_feedback` and `failure_reason`.
34
- - Add tollfree multiple rejection reasons response array
35
89
 
36
90
  **Numbers**
37
91
  - Correcting mount_name for porting port in fetch API
@@ -39,20 +93,43 @@ twilio-ruby changelog
39
93
  **Trusthub**
40
94
  - Add new field in statusCallbackUrl in compliance_registration.
41
95
  - Add new field in isvRegisteringForSelfOrTenant in compliance_registration.
96
+
97
+ **Twiml**
98
+ - Expanded description of Action parameter for Message verb
99
+
100
+
101
+ [2024-02-27] Version 6.12.0
102
+ ---------------------------
103
+ **Library - Chore**
104
+ - [PR #712](https://github.com/twilio/twilio-ruby/pull/712): cluster tests enabled. Thanks to [@sbansla](https://github.com/sbansla)!
105
+
106
+ **Api**
107
+ - remove feedback and feedback summary from call resource
108
+
109
+ **Flex**
110
+ - Adding `routing_properties` to Interactions Channels Participant
111
+
112
+ **Lookups**
113
+ - Add new `line_status` package to the lookup response
114
+ - Remove `live_activity` package from the lookup response **(breaking change)**
115
+
116
+ **Messaging**
117
+ - Add tollfree multiple rejection reasons response array
118
+
119
+ **Trusthub**
42
120
  - Add ENUM for businessRegistrationAuthority in compliance_registration. **(breaking change)**
43
121
  - Add new field in isIsvEmbed in compliance_registration.
44
122
  - Add additional optional fields in compliance_registration for Individual business type.
45
123
 
46
124
  **Twiml**
47
- - Expanded description of Action parameter for Message verb
48
125
  - Add support for new Amazon Polly and Google voices (Q1 2024) for `Say` verb
49
126
 
50
127
 
51
- [2024-02-09] Version 7.0.0-rc.1
52
- -------------------------------
128
+ [2024-02-09] Version 6.11.0
129
+ ---------------------------
53
130
  **Library - Chore**
54
- - [PR #711](https://github.com/twilio/twilio-ruby/pull/711): disable-cluster-test. Thanks to [@sbansla](https://github.com/sbansla)!
55
- - [PR #709](https://github.com/twilio/twilio-ruby/pull/709): removed ssl ca file from http client. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
131
+ - [PR #710](https://github.com/twilio/twilio-ruby/pull/710): remove live media endpoint. Thanks to [@califlower](https://github.com/califlower)!
132
+ - [PR #708](https://github.com/twilio/twilio-ruby/pull/708): removing oauth and autopilot references. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
56
133
 
57
134
  **Api**
58
135
  - Updated service base url for connect apps and authorized connect apps APIs **(breaking change)**
@@ -112,11 +189,6 @@ twilio-ruby changelog
112
189
  - Update Verify TOTP maturity to GA.
113
190
 
114
191
 
115
- [2024-01-26] Version 7.0.0-rc.0
116
- --------------------------
117
- - Release Candidate preparation
118
-
119
-
120
192
  [2024-01-25] Version 6.10.0
121
193
  ---------------------------
122
194
  **Oauth**
data/README.md CHANGED
@@ -39,13 +39,13 @@ This library supports the following Ruby implementations:
39
39
  To install using [Bundler][bundler] grab the latest stable version:
40
40
 
41
41
  ```ruby
42
- gem 'twilio-ruby', '~> 7.0.0-rc.3'
42
+ gem 'twilio-ruby', '~> 7.0.1'
43
43
  ```
44
44
 
45
45
  To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
46
46
 
47
47
  ```bash
48
- gem install twilio-ruby -v 7.0.0-rc.3
48
+ gem install twilio-ruby -v 7.0.1
49
49
  ```
50
50
 
51
51
  To build and install the development branch yourself from the latest source:
data/UPGRADE.md CHANGED
@@ -7,9 +7,10 @@ posted here._
7
7
  -----------------------------
8
8
  ### Overview
9
9
 
10
- ##### Twilio Ruby Helper Library’s major version 7.0.0-rc.x is now available. We ensured that you can upgrade to Ruby helper Library 7.0.0-rc.x version without any breaking changes
10
+ ##### Twilio Ruby Helper Library’s major version 7.0.0 is now available. We ensured that you can upgrade to Ruby helper Library 7.0.0 version without any breaking changes of existing apis
11
11
 
12
- Twilio Helper libraries now support nested json body while sending requests.
12
+ Behind the scenes Ruby Helper is now auto-generated via OpenAPI with this release. This enables us to rapidly add new features and enhance consistency across versions and languages.
13
+ We're pleased to inform you that version 7.0.0 adds support for the application/json content type in the request body.
13
14
 
14
15
  To learn more about the Ruby Helper Library, check out [our docs](https://www.twilio.com/docs/libraries/ruby).
15
16
 
@@ -164,12 +164,12 @@ module Twilio
164
164
  # @param [String] from Only include calls from this phone number, SIP address, Client identifier or SIM SID.
165
165
  # @param [String] parent_call_sid Only include calls spawned by calls with this SID.
166
166
  # @param [Status] status The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.
167
- # @param [Time] start_time Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
168
- # @param [Time] start_time_before Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
169
- # @param [Time] start_time_after Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
170
- # @param [Time] end_time Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
171
- # @param [Time] end_time_before Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
172
- # @param [Time] end_time_after Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
167
+ # @param [Time] start_time Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
168
+ # @param [Time] start_time_before Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
169
+ # @param [Time] start_time_after Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
170
+ # @param [Time] end_time Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
171
+ # @param [Time] end_time_before Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
172
+ # @param [Time] end_time_after Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
173
173
  # @param [Integer] limit Upper limit for the number of records to return. stream()
174
174
  # guarantees to never return more than limit. Default is no limit
175
175
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -202,12 +202,12 @@ module Twilio
202
202
  # @param [String] from Only include calls from this phone number, SIP address, Client identifier or SIM SID.
203
203
  # @param [String] parent_call_sid Only include calls spawned by calls with this SID.
204
204
  # @param [Status] status The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.
205
- # @param [Time] start_time Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
206
- # @param [Time] start_time_before Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
207
- # @param [Time] start_time_after Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
208
- # @param [Time] end_time Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
209
- # @param [Time] end_time_before Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
210
- # @param [Time] end_time_after Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
205
+ # @param [Time] start_time Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
206
+ # @param [Time] start_time_before Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
207
+ # @param [Time] start_time_after Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
208
+ # @param [Time] end_time Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
209
+ # @param [Time] end_time_before Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
210
+ # @param [Time] end_time_after Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
211
211
  # @param [Integer] limit Upper limit for the number of records to return. stream()
212
212
  # guarantees to never return more than limit. Default is no limit
213
213
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -255,12 +255,12 @@ module Twilio
255
255
  # @param [String] from Only include calls from this phone number, SIP address, Client identifier or SIM SID.
256
256
  # @param [String] parent_call_sid Only include calls spawned by calls with this SID.
257
257
  # @param [Status] status The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.
258
- # @param [Time] start_time Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
259
- # @param [Time] start_time_before Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
260
- # @param [Time] start_time_after Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
261
- # @param [Time] end_time Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
262
- # @param [Time] end_time_before Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
263
- # @param [Time] end_time_after Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
258
+ # @param [Time] start_time Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
259
+ # @param [Time] start_time_before Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
260
+ # @param [Time] start_time_after Only include calls that started on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on this date. You can also specify an inequality, such as `StartTime<=YYYY-MM-DD`, to read calls that started on or before midnight of this date, and `StartTime>=YYYY-MM-DD` to read calls that started on or after midnight of this date.
261
+ # @param [Time] end_time Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
262
+ # @param [Time] end_time_before Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
263
+ # @param [Time] end_time_after Only include calls that ended on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on this date. You can also specify an inequality, such as `EndTime<=YYYY-MM-DD`, to read calls that ended on or before midnight of this date, and `EndTime>=YYYY-MM-DD` to read calls that ended on or after midnight of this date.
264
264
  # @param [String] page_token PageToken provided by the API
265
265
  # @param [Integer] page_number Page Number, this value is simply for client state
266
266
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -649,13 +649,13 @@ module Twilio
649
649
  end
650
650
 
651
651
  ##
652
- # @return [Time] The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
652
+ # @return [Time] The date and time in UTC that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
653
653
  def date_created
654
654
  @properties['date_created']
655
655
  end
656
656
 
657
657
  ##
658
- # @return [Time] The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
658
+ # @return [Time] The date and time in UTC that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
659
659
  def date_updated
660
660
  @properties['date_updated']
661
661
  end
@@ -709,13 +709,13 @@ module Twilio
709
709
  end
710
710
 
711
711
  ##
712
- # @return [Time] The start time of the call, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. Empty if the call has not yet been dialed.
712
+ # @return [Time] The start time of the call, given as UTC in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. Empty if the call has not yet been dialed.
713
713
  def start_time
714
714
  @properties['start_time']
715
715
  end
716
716
 
717
717
  ##
718
- # @return [Time] The time the call ended, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. Empty if the call did not complete successfully.
718
+ # @return [Time] The time the call ended, given as UTC in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. Empty if the call did not complete successfully.
719
719
  def end_time
720
720
  @properties['end_time']
721
721
  end
@@ -478,6 +478,7 @@ module Twilio
478
478
  'hold' => payload['hold'],
479
479
  'start_conference_on_enter' => payload['start_conference_on_enter'],
480
480
  'status' => payload['status'],
481
+ 'queue_time' => payload['queue_time'],
481
482
  'uri' => payload['uri'],
482
483
  }
483
484
 
@@ -575,6 +576,12 @@ module Twilio
575
576
  @properties['status']
576
577
  end
577
578
 
579
+ ##
580
+ # @return [String] The wait time in milliseconds before participant's call is placed. Only available in the response to a create participant request.
581
+ def queue_time
582
+ @properties['queue_time']
583
+ end
584
+
578
585
  ##
579
586
  # @return [String] The URI of the resource, relative to `https://api.twilio.com`.
580
587
  def uri
@@ -37,12 +37,12 @@ module Twilio
37
37
  # Lists ConferenceInstance records from the API as a list.
38
38
  # Unlike stream(), this operation is eager and will load `limit` records into
39
39
  # memory before returning.
40
- # @param [Date] date_created The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`.
41
- # @param [Date] date_created_before The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`.
42
- # @param [Date] date_created_after The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`.
43
- # @param [Date] date_updated The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`.
44
- # @param [Date] date_updated_before The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`.
45
- # @param [Date] date_updated_after The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`.
40
+ # @param [Date] date_created Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
41
+ # @param [Date] date_created_before Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
42
+ # @param [Date] date_created_after Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
43
+ # @param [Date] date_updated Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
44
+ # @param [Date] date_updated_before Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
45
+ # @param [Date] date_updated_after Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
46
46
  # @param [String] friendly_name The string that identifies the Conference resources to read.
47
47
  # @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`.
48
48
  # @param [Integer] limit Upper limit for the number of records to return. stream()
@@ -71,12 +71,12 @@ module Twilio
71
71
  # Streams Instance records from the API as an Enumerable.
72
72
  # This operation lazily loads records as efficiently as possible until the limit
73
73
  # is reached.
74
- # @param [Date] date_created The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`.
75
- # @param [Date] date_created_before The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`.
76
- # @param [Date] date_created_after The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`.
77
- # @param [Date] date_updated The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`.
78
- # @param [Date] date_updated_before The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`.
79
- # @param [Date] date_updated_after The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`.
74
+ # @param [Date] date_created Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
75
+ # @param [Date] date_created_before Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
76
+ # @param [Date] date_created_after Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
77
+ # @param [Date] date_updated Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
78
+ # @param [Date] date_updated_before Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
79
+ # @param [Date] date_updated_after Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
80
80
  # @param [String] friendly_name The string that identifies the Conference resources to read.
81
81
  # @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`.
82
82
  # @param [Integer] limit Upper limit for the number of records to return. stream()
@@ -120,12 +120,12 @@ module Twilio
120
120
  ##
121
121
  # Retrieve a single page of ConferenceInstance records from the API.
122
122
  # Request is executed immediately.
123
- # @param [Date] date_created The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`.
124
- # @param [Date] date_created_before The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`.
125
- # @param [Date] date_created_after The `date_created` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that started on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that started on or after midnight on a date, use `>=YYYY-MM-DD`.
126
- # @param [Date] date_updated The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`.
127
- # @param [Date] date_updated_before The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`.
128
- # @param [Date] date_updated_after The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to read. To read conferences that were last updated on or before midnight on a date, use `<=YYYY-MM-DD`, and to specify conferences that were last updated on or after midnight on a given date, use `>=YYYY-MM-DD`.
123
+ # @param [Date] date_created Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
124
+ # @param [Date] date_created_before Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
125
+ # @param [Date] date_created_after Only include conferences that were created on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read conferences that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read conferences that were created on or after midnight of this date.
126
+ # @param [Date] date_updated Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
127
+ # @param [Date] date_updated_before Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
128
+ # @param [Date] date_updated_after Only include conferences that were last updated on this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only conferences that were last updated on this date. You can also specify an inequality, such as `DateUpdated<=YYYY-MM-DD`, to read conferences that were last updated on or before midnight of this date, and `DateUpdated>=YYYY-MM-DD` to read conferences that were last updated on or after midnight of this date.
129
129
  # @param [String] friendly_name The string that identifies the Conference resources to read.
130
130
  # @param [Status] status The status of the resources to read. Can be: `init`, `in-progress`, or `completed`.
131
131
  # @param [String] page_token PageToken provided by the API
@@ -369,13 +369,13 @@ module Twilio
369
369
  end
370
370
 
371
371
  ##
372
- # @return [Time] The date and time in GMT that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
372
+ # @return [Time] The date and time in UTC that this resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
373
373
  def date_created
374
374
  @properties['date_created']
375
375
  end
376
376
 
377
377
  ##
378
- # @return [Time] The date and time in GMT that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
378
+ # @return [Time] The date and time in UTC that this resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
379
379
  def date_updated
380
380
  @properties['date_updated']
381
381
  end
@@ -387,7 +387,7 @@ module Twilio
387
387
  end
388
388
 
389
389
  ##
390
- # @return [String] A string that you assigned to describe this conference room. Maxiumum length is 128 characters.
390
+ # @return [String] A string that you assigned to describe this conference room. Maximum length is 128 characters.
391
391
  def friendly_name
392
392
  @properties['friendly_name']
393
393
  end
@@ -399,7 +399,7 @@ module Twilio
399
399
  end
400
400
 
401
401
  ##
402
- # @return [String] The unique string that that we created to identify this Conference resource.
402
+ # @return [String] The unique, Twilio-provided string used to identify this Conference resource.
403
403
  def sid
404
404
  @properties['sid']
405
405
  end
@@ -82,11 +82,6 @@ module Twilio
82
82
  @lookups ||= Lookups.new self
83
83
  end
84
84
  ##
85
- # Access the Media Twilio Domain
86
- def media
87
- @media ||= Media.new self
88
- end
89
- ##
90
85
  # Access the PreviewMessaging Twilio Domain
91
86
  def preview_messaging
92
87
  @preview_messaging ||= PreviewMessaging.new self
@@ -41,11 +41,11 @@ module Twilio
41
41
  # Initialize the ApprovalCreateList
42
42
  # @param [Version] version Version that contains the resource
43
43
  # @return [ApprovalCreateList] ApprovalCreateList
44
- def initialize(version, sid: nil)
44
+ def initialize(version, content_sid: nil)
45
45
  super(version)
46
46
  # Path Solution
47
- @solution = { sid: sid }
48
- @uri = "/Content/#{@solution[:sid]}/ApprovalRequests/whatsapp"
47
+ @solution = { content_sid: content_sid }
48
+ @uri = "/Content/#{@solution[:content_sid]}/ApprovalRequests/whatsapp"
49
49
 
50
50
  end
51
51
  ##
@@ -60,7 +60,7 @@ module Twilio
60
60
  ApprovalCreateInstance.new(
61
61
  @version,
62
62
  payload,
63
- sid: @solution[:sid],
63
+ content_sid: @solution[:content_sid],
64
64
  )
65
65
  end
66
66
 
@@ -92,7 +92,7 @@ module Twilio
92
92
  # @param [Hash] payload Payload response from the API
93
93
  # @return [ApprovalCreateInstance] ApprovalCreateInstance
94
94
  def get_instance(payload)
95
- ApprovalCreateInstance.new(@version, payload, sid: @solution[:sid])
95
+ ApprovalCreateInstance.new(@version, payload, content_sid: @solution[:content_sid])
96
96
  end
97
97
 
98
98
  ##
@@ -111,7 +111,7 @@ module Twilio
111
111
  # resource.
112
112
  # @param [String] sid The SID of the Call resource to fetch.
113
113
  # @return [ApprovalCreateInstance] ApprovalCreateInstance
114
- def initialize(version, payload , sid: nil)
114
+ def initialize(version, payload , content_sid: nil)
115
115
  super(version)
116
116
 
117
117
  # Marshaled Properties
@@ -25,10 +25,10 @@ module Twilio
25
25
  # Initialize the ApprovalFetchList
26
26
  # @param [Version] version Version that contains the resource
27
27
  # @return [ApprovalFetchList] ApprovalFetchList
28
- def initialize(version, sid: nil)
28
+ def initialize(version, content_sid: nil)
29
29
  super(version)
30
30
  # Path Solution
31
- @solution = { sid: sid }
31
+ @solution = { content_sid: content_sid }
32
32
 
33
33
 
34
34
  end
@@ -46,14 +46,14 @@ module Twilio
46
46
  ##
47
47
  # Initialize the ApprovalFetchContext
48
48
  # @param [Version] version Version that contains the resource
49
- # @param [String] sid The Twilio-provided string that uniquely identifies the Content resource whose approval information to fetch.
49
+ # @param [String] content_sid The Twilio-provided string that uniquely identifies the Content resource whose approval information to fetch.
50
50
  # @return [ApprovalFetchContext] ApprovalFetchContext
51
- def initialize(version, sid)
51
+ def initialize(version, content_sid)
52
52
  super(version)
53
53
 
54
54
  # Path Solution
55
- @solution = { sid: sid, }
56
- @uri = "/Content/#{@solution[:sid]}/ApprovalRequests"
55
+ @solution = { content_sid: content_sid, }
56
+ @uri = "/Content/#{@solution[:content_sid]}/ApprovalRequests"
57
57
 
58
58
 
59
59
  end
@@ -67,7 +67,7 @@ module Twilio
67
67
  ApprovalFetchInstance.new(
68
68
  @version,
69
69
  payload,
70
- sid: @solution[:sid],
70
+ content_sid: @solution[:content_sid],
71
71
  )
72
72
  end
73
73
 
@@ -106,7 +106,7 @@ module Twilio
106
106
  # @param [Hash] payload Payload response from the API
107
107
  # @return [ApprovalFetchInstance] ApprovalFetchInstance
108
108
  def get_instance(payload)
109
- ApprovalFetchInstance.new(@version, payload, sid: @solution[:sid])
109
+ ApprovalFetchInstance.new(@version, payload, content_sid: @solution[:content_sid])
110
110
  end
111
111
 
112
112
  ##
@@ -125,7 +125,7 @@ module Twilio
125
125
  # resource.
126
126
  # @param [String] sid The SID of the Call resource to fetch.
127
127
  # @return [ApprovalFetchInstance] ApprovalFetchInstance
128
- def initialize(version, payload , sid: nil)
128
+ def initialize(version, payload , content_sid: nil)
129
129
  super(version)
130
130
 
131
131
  # Marshaled Properties
@@ -138,7 +138,7 @@ module Twilio
138
138
 
139
139
  # Context
140
140
  @instance_context = nil
141
- @params = { 'sid' => sid || @properties['sid'] , }
141
+ @params = { 'content_sid' => content_sid || @properties['content_sid'] , }
142
142
  end
143
143
 
144
144
  ##
@@ -147,7 +147,7 @@ module Twilio
147
147
  # @return [ApprovalFetchContext] CallContext for this CallInstance
148
148
  def context
149
149
  unless @instance_context
150
- @instance_context = ApprovalFetchContext.new(@version , @params['sid'])
150
+ @instance_context = ApprovalFetchContext.new(@version , @params['content_sid'])
151
151
  end
152
152
  @instance_context
153
153
  end