twilio-ruby 7.10.1 → 7.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.github/workflows/test-and-deploy.yml +2 -1
- data/CHANGES.md +89 -0
- data/Dockerfile +1 -1
- data/README.md +2 -2
- data/cluster/cluster_oauth_spec.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +14 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +12 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -8
- data/lib/twilio-ruby/rest/flex_api/v1/create_flex_instance.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api_base.rb +1 -6
- data/lib/twilio-ruby/rest/insights/v2/inbound.rb +570 -0
- data/lib/twilio-ruby/rest/insights/v2/outbound.rb +641 -0
- data/lib/twilio-ruby/rest/insights/v2/report.rb +940 -0
- data/lib/twilio-ruby/rest/insights/v2.rb +79 -0
- data/lib/twilio-ruby/rest/insights_base.rb +6 -1
- data/lib/twilio-ruby/rest/intelligence/v2/operator_type.rb +12 -4
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +93 -19
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +21 -21
- data/lib/twilio-ruby/rest/messaging/v2/channels_sender.rb +2 -2
- data/lib/twilio-ruby/rest/numbers/v1/embedded_session.rb +251 -0
- data/lib/twilio-ruby/rest/numbers/v1/sender_id_registration.rb +333 -0
- data/lib/twilio-ruby/rest/numbers/v1.rb +12 -0
- data/lib/twilio-ruby/rest/numbers/v2/application.rb +153 -8
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +20 -4
- data/lib/twilio-ruby/rest/preview_iam/versionless/organization/user.rb +197 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +14 -0
- data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +7 -0
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +7 -0
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +2 -2
- data/lib/twilio-ruby/rest/video/v1/room/transcriptions.rb +12 -3
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +10 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 18a72cbd3261cddb2f97f5239b288f8c6b294f148251908b68fddb06ebb51dfa
|
|
4
|
+
data.tar.gz: 9260e02029af0a3df06ec115313c48593fd96e6b6d3e9370c05797d39ce912c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5fae0cef7f1cc6e078f3a5078bd8f6f8b25723f9b16eb4d67132dae0dcf1d1ca472dcfd7d65ef3ec943067c21bf021c01b9746dd839dd73acba5183a1e48b812
|
|
7
|
+
data.tar.gz: e7a5a16984257eb40c1abcdad2b41c32ac0677551b55615c5e570f29387d8ca8b8db9231682faeb89047d1087c3c46ff8d96316b62c8a5da290975b485c9c9da
|
|
@@ -90,7 +90,7 @@ jobs:
|
|
|
90
90
|
- name: Set up Ruby
|
|
91
91
|
uses: ruby/setup-ruby@v1
|
|
92
92
|
with:
|
|
93
|
-
ruby-version: 2
|
|
93
|
+
ruby-version: 3.2
|
|
94
94
|
bundler-cache: true
|
|
95
95
|
|
|
96
96
|
- run: bundle install
|
|
@@ -120,6 +120,7 @@ jobs:
|
|
|
120
120
|
touch $HOME/.gem/credentials
|
|
121
121
|
chmod 0600 $HOME/.gem/credentials
|
|
122
122
|
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
|
123
|
+
gem update --system
|
|
123
124
|
gem build *.gemspec
|
|
124
125
|
gem push *.gem
|
|
125
126
|
|
data/CHANGES.md
CHANGED
|
@@ -1,6 +1,95 @@
|
|
|
1
1
|
twilio-ruby changelog
|
|
2
2
|
=====================
|
|
3
3
|
|
|
4
|
+
[2026-03-24] Version 7.10.4
|
|
5
|
+
---------------------------
|
|
6
|
+
**Data-ingress**
|
|
7
|
+
- # API Changes
|
|
8
|
+
- ## 2026-03-23
|
|
9
|
+
- Added stage-us1 to supportedRealms for all endpoints
|
|
10
|
+
- ## 2026-03-20
|
|
11
|
+
- **Content updates**:
|
|
12
|
+
- Removed estimatedCompletionTime from `LongRunningOperationResponse`
|
|
13
|
+
- Moved operationId from `LongRunningOperationResponse` to headers
|
|
14
|
+
- ## 2026-03-18
|
|
15
|
+
- **Added 1 new path(s)**:
|
|
16
|
+
- `/v1/ControlPlane/Operations/{OperationId}` (GetControlPlaneOperationStatus)
|
|
17
|
+
- ## 2026-03-11
|
|
18
|
+
- Minor updates (formatting, metadata)
|
|
19
|
+
- ## 2026-03-11
|
|
20
|
+
- Minor updates (formatting, metadata)
|
|
21
|
+
- ## 2026-03-11
|
|
22
|
+
- Minor updates (formatting, metadata)
|
|
23
|
+
- ## 2026-03-11
|
|
24
|
+
- Minor updates (formatting, metadata)
|
|
25
|
+
- ## 2026-03-11
|
|
26
|
+
- Minor updates (formatting, metadata)
|
|
27
|
+
- ## 2026-03-05
|
|
28
|
+
- Initial release with 10 paths and 22 operations
|
|
29
|
+
|
|
30
|
+
**Memory**
|
|
31
|
+
- ## 2026-03-19
|
|
32
|
+
- **Added 1 new path(s)**:
|
|
33
|
+
- `/v1/ControlPlane/Operations/{operationId}` (FetchOperation)
|
|
34
|
+
- ## 2026-03-11
|
|
35
|
+
- Minor updates (formatting, metadata)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
[2026-03-10] Version 7.10.3
|
|
39
|
+
---------------------------
|
|
40
|
+
**Library - Chore**
|
|
41
|
+
- [PR #781](https://github.com/twilio/twilio-ruby/pull/781): disable oauth message fetching test. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
|
|
42
|
+
|
|
43
|
+
**Twiml**
|
|
44
|
+
- Rename `recording_configuration` to `recording_configuration_id` attribute in `<Conference>`, `<Dial>`, `<Record>` verbs and `<Recording>` noun
|
|
45
|
+
|
|
46
|
+
**Ace**
|
|
47
|
+
- # ACE Signals API Changes
|
|
48
|
+
- ## 2026-02-18
|
|
49
|
+
- Initial release: POST /signals, GET/POST /signals/{signal_id}/results, GET /health
|
|
50
|
+
- Enables OneAdmin integration for synchronous signal ingestion and policy result polling
|
|
51
|
+
- Supports permission-based authorization for signal operations
|
|
52
|
+
- Health endpoint available for monitoring without authentication
|
|
53
|
+
|
|
54
|
+
**Api**
|
|
55
|
+
- Added optional parameter `Confirmation` to Payments create endpoint to enable payment confirmation prompt before gateway submission
|
|
56
|
+
- Added optional parameter `RequireMatchingInputs` to Payments create endpoint for input confirmation in agent-assisted payment flows
|
|
57
|
+
- Added matcher capture types (`payment-card-number-matcher`, `expiration-date-matcher`, `security-code-matcher`, `postal-code-matcher`) to Payments update endpoint
|
|
58
|
+
|
|
59
|
+
**Memory**
|
|
60
|
+
- ## 2026-03-06
|
|
61
|
+
- **Modified 1 path(s)**:
|
|
62
|
+
- `/v1/Stores/{storeId}/Profiles/{profileId}/ConversationSummaries/{summaryId}` (added patch, get)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
[2026-02-18] Version 7.10.2
|
|
66
|
+
---------------------------
|
|
67
|
+
**Api**
|
|
68
|
+
- Remove inequality examples from Calls StartTime and EndTime filter descriptions
|
|
69
|
+
|
|
70
|
+
**Memory**
|
|
71
|
+
- ## 2026-02-06
|
|
72
|
+
- Minor updates (formatting, metadata)
|
|
73
|
+
- ## 2026-02-06
|
|
74
|
+
- Minor updates (formatting, metadata)
|
|
75
|
+
- ## 2026-02-06
|
|
76
|
+
- ## 2026-01-23
|
|
77
|
+
- ## 2026-01-23
|
|
78
|
+
- **Added 3 new path(s)**:
|
|
79
|
+
- `/v1/Stores/{storeId}/Profiles/Imports` (ListProfileImportsV2, CreateProfilesImportV2)
|
|
80
|
+
- `/v1/Stores/{storeId}/Profiles/Imports/{importId}` (FetchProfileImportV2)
|
|
81
|
+
- **Removed 6 path(s)**:
|
|
82
|
+
- `/v1/KnowledgeBases/{kbId}/Knowledge` (ListKnowledge, CreateKnowledge)
|
|
83
|
+
- `/v1/KnowledgeBases/{kbId}/Search` (KnowledgeSearch)
|
|
84
|
+
- `/v1/KnowledgeBases/{kbId}/Knowledge/{knowledgeId}` (RetrieveKnowledge, PatchKnowledge, DeleteKnowledge)
|
|
85
|
+
- `/v1/KnowledgeBases/{kbId}/Knowledge/{knowledgeId}/Chunks` (ListKnowledgeChunks)
|
|
86
|
+
- `/v1/ControlPlane/KnowledgeBases` (ListKnowledgeBases, CreateKnowledgeBase)
|
|
87
|
+
- `/v1/ControlPlane/KnowledgeBases/{kbId}` (GetKnowledgeBase, UpdateKnowledgeBase, DeleteKnowledgeBase)
|
|
88
|
+
- ## 2026-01-05
|
|
89
|
+
- ## 2026-01-05
|
|
90
|
+
- Initial release with 26 paths and 48 operations
|
|
91
|
+
|
|
92
|
+
|
|
4
93
|
[2026-02-05] Version 7.10.1
|
|
5
94
|
---------------------------
|
|
6
95
|
**Library - Fix**
|
data/Dockerfile
CHANGED
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.10.
|
|
42
|
+
gem 'twilio-ruby', '~> 7.10.4'
|
|
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.10.
|
|
48
|
+
gem install twilio-ruby -v 7.10.4
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
To build and install the development branch yourself from the latest source:
|
|
@@ -12,8 +12,8 @@ describe 'Cluster Test' do
|
|
|
12
12
|
@client = Twilio::REST::Client.new(@account_sid).credential_provider(@credential)
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
it 'can fetch a message' do
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
end
|
|
15
|
+
# it 'can fetch a message' do
|
|
16
|
+
# response = @client.messages(@message_sid).fetch
|
|
17
|
+
# expect(response).to_not be_nil
|
|
18
|
+
# end
|
|
19
19
|
end
|
|
@@ -52,6 +52,8 @@ module Twilio
|
|
|
52
52
|
# @param [String] timeout The number of seconds that <Pay> should wait for the caller to press a digit between each subsequent digit, after the first one, before moving on to validate the digits captured. The default is `5`, maximum is `600`.
|
|
53
53
|
# @param [TokenType] token_type
|
|
54
54
|
# @param [String] valid_card_types Credit card types separated by space that Pay should accept. The default value is `visa mastercard amex`
|
|
55
|
+
# @param [String] require_matching_inputs A comma-separated list of payment information fields that require the caller to enter the same value twice for confirmation. Supported values are `payment-card-number`, `expiration-date`, `security-code`, and `postal-code`.
|
|
56
|
+
# @param [String] confirmation Whether to prompt the caller to confirm their payment information before submitting to the payment gateway. If `true`, the caller will hear the last 4 digits of their card or account number and must press 1 to confirm or 2 to cancel. Default is `false`.
|
|
55
57
|
# @return [PaymentInstance] Created PaymentInstance
|
|
56
58
|
def create(
|
|
57
59
|
idempotency_key: nil,
|
|
@@ -69,7 +71,9 @@ module Twilio
|
|
|
69
71
|
security_code: :unset,
|
|
70
72
|
timeout: :unset,
|
|
71
73
|
token_type: :unset,
|
|
72
|
-
valid_card_types: :unset
|
|
74
|
+
valid_card_types: :unset,
|
|
75
|
+
require_matching_inputs: :unset,
|
|
76
|
+
confirmation: :unset
|
|
73
77
|
)
|
|
74
78
|
|
|
75
79
|
data = Twilio::Values.of({
|
|
@@ -89,6 +93,8 @@ module Twilio
|
|
|
89
93
|
'Timeout' => timeout,
|
|
90
94
|
'TokenType' => token_type,
|
|
91
95
|
'ValidCardTypes' => valid_card_types,
|
|
96
|
+
'RequireMatchingInputs' => require_matching_inputs,
|
|
97
|
+
'Confirmation' => confirmation,
|
|
92
98
|
})
|
|
93
99
|
|
|
94
100
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
|
@@ -124,6 +130,8 @@ module Twilio
|
|
|
124
130
|
# @param [String] timeout The number of seconds that <Pay> should wait for the caller to press a digit between each subsequent digit, after the first one, before moving on to validate the digits captured. The default is `5`, maximum is `600`.
|
|
125
131
|
# @param [TokenType] token_type
|
|
126
132
|
# @param [String] valid_card_types Credit card types separated by space that Pay should accept. The default value is `visa mastercard amex`
|
|
133
|
+
# @param [String] require_matching_inputs A comma-separated list of payment information fields that require the caller to enter the same value twice for confirmation. Supported values are `payment-card-number`, `expiration-date`, `security-code`, and `postal-code`.
|
|
134
|
+
# @param [String] confirmation Whether to prompt the caller to confirm their payment information before submitting to the payment gateway. If `true`, the caller will hear the last 4 digits of their card or account number and must press 1 to confirm or 2 to cancel. Default is `false`.
|
|
127
135
|
# @return [PaymentInstance] Created PaymentInstance
|
|
128
136
|
def create_with_metadata(
|
|
129
137
|
idempotency_key: nil,
|
|
@@ -141,7 +149,9 @@ module Twilio
|
|
|
141
149
|
security_code: :unset,
|
|
142
150
|
timeout: :unset,
|
|
143
151
|
token_type: :unset,
|
|
144
|
-
valid_card_types: :unset
|
|
152
|
+
valid_card_types: :unset,
|
|
153
|
+
require_matching_inputs: :unset,
|
|
154
|
+
confirmation: :unset
|
|
145
155
|
)
|
|
146
156
|
|
|
147
157
|
data = Twilio::Values.of({
|
|
@@ -161,6 +171,8 @@ module Twilio
|
|
|
161
171
|
'Timeout' => timeout,
|
|
162
172
|
'TokenType' => token_type,
|
|
163
173
|
'ValidCardTypes' => valid_card_types,
|
|
174
|
+
'RequireMatchingInputs' => require_matching_inputs,
|
|
175
|
+
'Confirmation' => confirmation,
|
|
164
176
|
})
|
|
165
177
|
|
|
166
178
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
|
@@ -50,6 +50,8 @@ module Twilio
|
|
|
50
50
|
# @param [String] hints A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
|
|
51
51
|
# @param [Boolean] enable_automatic_punctuation The provider will add punctuation to recognition result
|
|
52
52
|
# @param [String] intelligence_service The SID or unique name of the [Intelligence Service](https://www.twilio.com/docs/conversational-intelligence/api/service-resource) for persisting transcripts and running post-call Language Operators
|
|
53
|
+
# @param [String] conversation_configuration The ID of the Conversations Configuration for customizing conversation behavior in Intelligence Service
|
|
54
|
+
# @param [String] conversation_id The ID of the Conversation for associating this Transcription with an existing Conversation in Intelligence Service
|
|
53
55
|
# @param [Boolean] enable_provider_data Whether the callback includes raw provider data.
|
|
54
56
|
# @return [TranscriptionInstance] Created TranscriptionInstance
|
|
55
57
|
def create(
|
|
@@ -67,6 +69,8 @@ module Twilio
|
|
|
67
69
|
hints: :unset,
|
|
68
70
|
enable_automatic_punctuation: :unset,
|
|
69
71
|
intelligence_service: :unset,
|
|
72
|
+
conversation_configuration: :unset,
|
|
73
|
+
conversation_id: :unset,
|
|
70
74
|
enable_provider_data: :unset
|
|
71
75
|
)
|
|
72
76
|
|
|
@@ -85,6 +89,8 @@ module Twilio
|
|
|
85
89
|
'Hints' => hints,
|
|
86
90
|
'EnableAutomaticPunctuation' => enable_automatic_punctuation,
|
|
87
91
|
'IntelligenceService' => intelligence_service,
|
|
92
|
+
'ConversationConfiguration' => conversation_configuration,
|
|
93
|
+
'ConversationId' => conversation_id,
|
|
88
94
|
'EnableProviderData' => enable_provider_data,
|
|
89
95
|
})
|
|
90
96
|
|
|
@@ -119,6 +125,8 @@ module Twilio
|
|
|
119
125
|
# @param [String] hints A Phrase contains words and phrase \\\"hints\\\" so that the speech recognition engine is more likely to recognize them.
|
|
120
126
|
# @param [Boolean] enable_automatic_punctuation The provider will add punctuation to recognition result
|
|
121
127
|
# @param [String] intelligence_service The SID or unique name of the [Intelligence Service](https://www.twilio.com/docs/conversational-intelligence/api/service-resource) for persisting transcripts and running post-call Language Operators
|
|
128
|
+
# @param [String] conversation_configuration The ID of the Conversations Configuration for customizing conversation behavior in Intelligence Service
|
|
129
|
+
# @param [String] conversation_id The ID of the Conversation for associating this Transcription with an existing Conversation in Intelligence Service
|
|
122
130
|
# @param [Boolean] enable_provider_data Whether the callback includes raw provider data.
|
|
123
131
|
# @return [TranscriptionInstance] Created TranscriptionInstance
|
|
124
132
|
def create_with_metadata(
|
|
@@ -136,6 +144,8 @@ module Twilio
|
|
|
136
144
|
hints: :unset,
|
|
137
145
|
enable_automatic_punctuation: :unset,
|
|
138
146
|
intelligence_service: :unset,
|
|
147
|
+
conversation_configuration: :unset,
|
|
148
|
+
conversation_id: :unset,
|
|
139
149
|
enable_provider_data: :unset
|
|
140
150
|
)
|
|
141
151
|
|
|
@@ -154,6 +164,8 @@ module Twilio
|
|
|
154
164
|
'Hints' => hints,
|
|
155
165
|
'EnableAutomaticPunctuation' => enable_automatic_punctuation,
|
|
156
166
|
'IntelligenceService' => intelligence_service,
|
|
167
|
+
'ConversationConfiguration' => conversation_configuration,
|
|
168
|
+
'ConversationId' => conversation_id,
|
|
157
169
|
'EnableProviderData' => enable_provider_data,
|
|
158
170
|
})
|
|
159
171
|
|
|
@@ -310,10 +310,10 @@ module Twilio
|
|
|
310
310
|
# @param [String] from Only include calls from this phone number, SIP address, Client identifier or SIM SID.
|
|
311
311
|
# @param [String] parent_call_sid Only include calls spawned by calls with this SID.
|
|
312
312
|
# @param [Status] status The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.
|
|
313
|
-
# @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.
|
|
313
|
+
# @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.
|
|
314
314
|
# @param [Time] start_time_before Only include calls that started before this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started before this date.
|
|
315
315
|
# @param [Time] start_time_after Only include calls that started on or after this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on or after this date.
|
|
316
|
-
# @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.
|
|
316
|
+
# @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.
|
|
317
317
|
# @param [Time] end_time_before Only include calls that ended before this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended before this date.
|
|
318
318
|
# @param [Time] end_time_after Only include calls that ended on or after this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on or after this date.
|
|
319
319
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
@@ -348,10 +348,10 @@ module Twilio
|
|
|
348
348
|
# @param [String] from Only include calls from this phone number, SIP address, Client identifier or SIM SID.
|
|
349
349
|
# @param [String] parent_call_sid Only include calls spawned by calls with this SID.
|
|
350
350
|
# @param [Status] status The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.
|
|
351
|
-
# @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.
|
|
351
|
+
# @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.
|
|
352
352
|
# @param [Time] start_time_before Only include calls that started before this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started before this date.
|
|
353
353
|
# @param [Time] start_time_after Only include calls that started on or after this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on or after this date.
|
|
354
|
-
# @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.
|
|
354
|
+
# @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.
|
|
355
355
|
# @param [Time] end_time_before Only include calls that ended before this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended before this date.
|
|
356
356
|
# @param [Time] end_time_after Only include calls that ended on or after this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on or after this date.
|
|
357
357
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
@@ -386,10 +386,10 @@ module Twilio
|
|
|
386
386
|
# @param [String] from Only include calls from this phone number, SIP address, Client identifier or SIM SID.
|
|
387
387
|
# @param [String] parent_call_sid Only include calls spawned by calls with this SID.
|
|
388
388
|
# @param [Status] status The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.
|
|
389
|
-
# @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.
|
|
389
|
+
# @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.
|
|
390
390
|
# @param [Time] start_time_before Only include calls that started before this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started before this date.
|
|
391
391
|
# @param [Time] start_time_after Only include calls that started on or after this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on or after this date.
|
|
392
|
-
# @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.
|
|
392
|
+
# @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.
|
|
393
393
|
# @param [Time] end_time_before Only include calls that ended before this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended before this date.
|
|
394
394
|
# @param [Time] end_time_after Only include calls that ended on or after this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on or after this date.
|
|
395
395
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
@@ -443,10 +443,10 @@ module Twilio
|
|
|
443
443
|
# @param [String] from Only include calls from this phone number, SIP address, Client identifier or SIM SID.
|
|
444
444
|
# @param [String] parent_call_sid Only include calls spawned by calls with this SID.
|
|
445
445
|
# @param [Status] status The status of the calls to include. Can be: `queued`, `ringing`, `in-progress`, `canceled`, `completed`, `failed`, `busy`, or `no-answer`.
|
|
446
|
-
# @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.
|
|
446
|
+
# @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.
|
|
447
447
|
# @param [Time] start_time_before Only include calls that started before this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started before this date.
|
|
448
448
|
# @param [Time] start_time_after Only include calls that started on or after this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that started on or after this date.
|
|
449
|
-
# @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.
|
|
449
|
+
# @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.
|
|
450
450
|
# @param [Time] end_time_before Only include calls that ended before this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended before this date.
|
|
451
451
|
# @param [Time] end_time_after Only include calls that ended on or after this date. Specify a date as `YYYY-MM-DD` in UTC, for example: `2009-07-06`, to read only calls that ended on or after this date.
|
|
452
452
|
# @param [String] page_token PageToken provided by the API
|
|
@@ -22,21 +22,16 @@ module Twilio
|
|
|
22
22
|
@host = "flex-api.twilio.com"
|
|
23
23
|
@port = 443
|
|
24
24
|
@v1 = nil
|
|
25
|
-
@v2 = nil
|
|
26
25
|
end
|
|
27
26
|
|
|
28
27
|
def v1
|
|
29
28
|
@v1 ||= FlexApi::V1.new self
|
|
30
29
|
end
|
|
31
30
|
|
|
32
|
-
def v2
|
|
33
|
-
@v2 ||= FlexApi::V2.new self
|
|
34
|
-
end
|
|
35
|
-
|
|
36
31
|
##
|
|
37
32
|
# Provide a user friendly representation
|
|
38
33
|
def to_s
|
|
39
|
-
'<Twilio::REST::FlexApi>';
|
|
34
|
+
'<Twilio::REST::FlexApi::V1>';
|
|
40
35
|
end
|
|
41
36
|
end
|
|
42
37
|
end
|