twilio-ruby 7.0.0.pre.rc.1 → 7.0.0.pre.rc.2
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 +4 -4
- data/.github/workflows/test-and-deploy.yml +9 -9
- data/CHANGES.md +40 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +1 -34
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +2 -2
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +10 -5
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb +11 -1
- data/lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb +384 -0
- data/lib/twilio-ruby/rest/flex_api/v1/plugin.rb +446 -0
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_archive.rb +247 -0
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration/configured_plugin.rb +393 -0
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration.rb +386 -0
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_configuration_archive.rb +233 -0
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_release.rb +332 -0
- data/lib/twilio-ruby/rest/flex_api/v1/plugin_version_archive.rb +256 -0
- data/lib/twilio-ruby/rest/flex_api/v1.rb +112 -30
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +1 -1
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +6 -6
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +9 -2
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +11 -4
- data/lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb +5 -3
- data/lib/twilio-ruby/rest/numbers/v1/eligibility.rb +5 -3
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +5 -3
- data/lib/twilio-ruby/rest/numbers/v1.rb +3 -3
- data/lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb +5 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_bulk_real_time_statistics.rb +5 -3
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_registration_inquiries.rb +26 -2
- data/lib/twilio-ruby/twiml/messaging_response.rb +1 -1
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +10 -6
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +0 -267
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +0 -332
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversational_ai.rb +0 -274
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversational_ai_report_insights.rb +0 -253
@@ -26,8 +26,6 @@ module Twilio
|
|
26
26
|
@configuration = nil
|
27
27
|
@flex_flow = nil
|
28
28
|
@insights_assessments_comment = nil
|
29
|
-
@insights_conversational_ai = nil
|
30
|
-
@insights_conversational_ai_report_insights = nil
|
31
29
|
@insights_conversations = nil
|
32
30
|
@insights_questionnaires = nil
|
33
31
|
@insights_questionnaires_category = nil
|
@@ -38,6 +36,12 @@ module Twilio
|
|
38
36
|
@insights_settings_comment = nil
|
39
37
|
@insights_user_roles = nil
|
40
38
|
@interaction = nil
|
39
|
+
@plugins = nil
|
40
|
+
@plugin_archive = nil
|
41
|
+
@plugin_configurations = nil
|
42
|
+
@plugin_configuration_archive = nil
|
43
|
+
@plugin_releases = nil
|
44
|
+
@plugin_version_archive = nil
|
41
45
|
@provisioning_status = nil
|
42
46
|
@web_channel = nil
|
43
47
|
end
|
@@ -95,34 +99,6 @@ module Twilio
|
|
95
99
|
@insights_assessments_comment ||= InsightsAssessmentsCommentList.new self
|
96
100
|
end
|
97
101
|
##
|
98
|
-
# @param [String] instance_sid Sid of Flex Service Instance
|
99
|
-
# @return [Twilio::REST::FlexApi::V1::InsightsConversationalAiContext] if instanceSid was passed.
|
100
|
-
# @return [Twilio::REST::FlexApi::V1::InsightsConversationalAiList]
|
101
|
-
def insights_conversational_ai(instance_sid=:unset)
|
102
|
-
if instance_sid.nil?
|
103
|
-
raise ArgumentError, 'instance_sid cannot be nil'
|
104
|
-
end
|
105
|
-
if instance_sid == :unset
|
106
|
-
@insights_conversational_ai ||= InsightsConversationalAiList.new self
|
107
|
-
else
|
108
|
-
InsightsConversationalAiContext.new(self, instance_sid)
|
109
|
-
end
|
110
|
-
end
|
111
|
-
##
|
112
|
-
# @param [String] instance_sid The Instance SID of the instance for which report insights will be fetched
|
113
|
-
# @return [Twilio::REST::FlexApi::V1::InsightsConversationalAiReportInsightsContext] if instanceSid was passed.
|
114
|
-
# @return [Twilio::REST::FlexApi::V1::InsightsConversationalAiReportInsightsList]
|
115
|
-
def insights_conversational_ai_report_insights(instance_sid=:unset)
|
116
|
-
if instance_sid.nil?
|
117
|
-
raise ArgumentError, 'instance_sid cannot be nil'
|
118
|
-
end
|
119
|
-
if instance_sid == :unset
|
120
|
-
@insights_conversational_ai_report_insights ||= InsightsConversationalAiReportInsightsList.new self
|
121
|
-
else
|
122
|
-
InsightsConversationalAiReportInsightsContext.new(self, instance_sid)
|
123
|
-
end
|
124
|
-
end
|
125
|
-
##
|
126
102
|
# @return [Twilio::REST::FlexApi::V1::InsightsConversationsList]
|
127
103
|
def insights_conversations
|
128
104
|
@insights_conversations ||= InsightsConversationsList.new self
|
@@ -209,6 +185,112 @@ module Twilio
|
|
209
185
|
end
|
210
186
|
end
|
211
187
|
##
|
188
|
+
# @param [String] sid The SID of the Flex Plugin resource to fetch.
|
189
|
+
# @return [Twilio::REST::FlexApi::V1::PluginContext] if sid was passed.
|
190
|
+
# @return [Twilio::REST::FlexApi::V1::PluginList]
|
191
|
+
def plugins(sid=:unset)
|
192
|
+
if sid.nil?
|
193
|
+
raise ArgumentError, 'sid cannot be nil'
|
194
|
+
end
|
195
|
+
if sid == :unset
|
196
|
+
@plugins ||= PluginList.new self
|
197
|
+
else
|
198
|
+
PluginContext.new(self, sid)
|
199
|
+
end
|
200
|
+
end
|
201
|
+
##
|
202
|
+
# @param [String] sid The SID of the Flex Plugin resource to archive.
|
203
|
+
# @return [Twilio::REST::FlexApi::V1::PluginArchiveContext] if sid was passed.
|
204
|
+
# @return [Twilio::REST::FlexApi::V1::PluginArchiveList]
|
205
|
+
def plugin_archive(sid=:unset)
|
206
|
+
if sid.nil?
|
207
|
+
raise ArgumentError, 'sid cannot be nil'
|
208
|
+
end
|
209
|
+
if sid == :unset
|
210
|
+
@plugin_archive ||= PluginArchiveList.new self
|
211
|
+
else
|
212
|
+
PluginArchiveContext.new(self, sid)
|
213
|
+
end
|
214
|
+
end
|
215
|
+
##
|
216
|
+
# @param [String] sid The SID of the Flex Plugin Configuration resource to fetch.
|
217
|
+
# @return [Twilio::REST::FlexApi::V1::PluginConfigurationContext] if sid was passed.
|
218
|
+
# @return [Twilio::REST::FlexApi::V1::PluginConfigurationList]
|
219
|
+
def plugin_configurations(sid=:unset)
|
220
|
+
if sid.nil?
|
221
|
+
raise ArgumentError, 'sid cannot be nil'
|
222
|
+
end
|
223
|
+
if sid == :unset
|
224
|
+
@plugin_configurations ||= PluginConfigurationList.new self
|
225
|
+
else
|
226
|
+
PluginConfigurationContext.new(self, sid)
|
227
|
+
end
|
228
|
+
end
|
229
|
+
##
|
230
|
+
# @param [String] sid The SID of the Flex Plugin Configuration resource to archive.
|
231
|
+
# @return [Twilio::REST::FlexApi::V1::PluginConfigurationArchiveContext] if sid was passed.
|
232
|
+
# @return [Twilio::REST::FlexApi::V1::PluginConfigurationArchiveList]
|
233
|
+
def plugin_configuration_archive(sid=:unset)
|
234
|
+
if sid.nil?
|
235
|
+
raise ArgumentError, 'sid cannot be nil'
|
236
|
+
end
|
237
|
+
if sid == :unset
|
238
|
+
@plugin_configuration_archive ||= PluginConfigurationArchiveList.new self
|
239
|
+
else
|
240
|
+
PluginConfigurationArchiveContext.new(self, sid)
|
241
|
+
end
|
242
|
+
end
|
243
|
+
##
|
244
|
+
# @param [String] sid The SID of the Flex Plugin Release resource to fetch.
|
245
|
+
# @return [Twilio::REST::FlexApi::V1::PluginReleaseContext] if sid was passed.
|
246
|
+
# @return [Twilio::REST::FlexApi::V1::PluginReleaseList]
|
247
|
+
def plugin_releases(sid=:unset)
|
248
|
+
if sid.nil?
|
249
|
+
raise ArgumentError, 'sid cannot be nil'
|
250
|
+
end
|
251
|
+
if sid == :unset
|
252
|
+
@plugin_releases ||= PluginReleaseList.new self
|
253
|
+
else
|
254
|
+
PluginReleaseContext.new(self, sid)
|
255
|
+
end
|
256
|
+
end
|
257
|
+
##
|
258
|
+
# @param [String] plugin_sid The SID of the Flex Plugin the resource to belongs to.
|
259
|
+
# @param [String] sid The SID of the Flex Plugin Version resource to archive.
|
260
|
+
# @return [Twilio::REST::FlexApi::V1::PluginVersionArchiveContext] if pluginSid was passed.
|
261
|
+
# @return [Twilio::REST::FlexApi::V1::PluginVersionArchiveList]
|
262
|
+
def plugin_version_archive(plugin_sid=:unset, sid=:unset)
|
263
|
+
if plugin_sid.nil?
|
264
|
+
raise ArgumentError, 'plugin_sid cannot be nil'
|
265
|
+
end
|
266
|
+
if sid.nil?
|
267
|
+
raise ArgumentError, 'sid cannot be nil'
|
268
|
+
end
|
269
|
+
if plugin_sid == :unset && sid == :unset
|
270
|
+
@plugin_version_archive ||= PluginVersionArchiveList.new self
|
271
|
+
else
|
272
|
+
PluginVersionArchiveContext.new(self, plugin_sid, sid)
|
273
|
+
end
|
274
|
+
end
|
275
|
+
##
|
276
|
+
# @param [String] plugin_sid The SID of the Flex Plugin the resource to belongs to.
|
277
|
+
# @param [String] sid The SID of the Flex Plugin Version resource to archive.
|
278
|
+
# @return [Twilio::REST::FlexApi::V1::PluginVersionArchiveContext] if sid was passed.
|
279
|
+
# @return [Twilio::REST::FlexApi::V1::PluginVersionArchiveList]
|
280
|
+
def plugin_version_archive(plugin_sid=:unset, sid=:unset)
|
281
|
+
if plugin_sid.nil?
|
282
|
+
raise ArgumentError, 'plugin_sid cannot be nil'
|
283
|
+
end
|
284
|
+
if sid.nil?
|
285
|
+
raise ArgumentError, 'sid cannot be nil'
|
286
|
+
end
|
287
|
+
if plugin_sid == :unset && sid == :unset
|
288
|
+
@plugin_version_archive ||= PluginVersionArchiveList.new self
|
289
|
+
else
|
290
|
+
PluginVersionArchiveContext.new(self, plugin_sid, sid)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
##
|
212
294
|
# @return [Twilio::REST::FlexApi::V1::provisioningStatusContext]
|
213
295
|
def provisioning_status
|
214
296
|
@provisioning_status ||= ProvisioningStatusContext.new self
|
@@ -57,7 +57,7 @@ module Twilio
|
|
57
57
|
end
|
58
58
|
##
|
59
59
|
# Fetch the PhoneNumberInstance
|
60
|
-
# @param [String] fields A comma-separated list of fields to return. Possible values are caller_name, sim_swap, call_forwarding,
|
60
|
+
# @param [String] fields A comma-separated list of fields to return. Possible values are validation, caller_name, sim_swap, call_forwarding, line_status, line_type_intelligence, identity_match, reassigned_number, sms_pumping_risk, phone_number_quality_score.
|
61
61
|
# @param [String] country_code The [country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) used if the phone number provided is in national format.
|
62
62
|
# @param [String] first_name User’s first name. This query parameter is only used (optionally) for identity_match package requests.
|
63
63
|
# @param [String] last_name User’s last name. This query parameter is only used (optionally) for identity_match package requests.
|
@@ -179,7 +179,7 @@ module Twilio
|
|
179
179
|
'caller_name' => payload['caller_name'],
|
180
180
|
'sim_swap' => payload['sim_swap'],
|
181
181
|
'call_forwarding' => payload['call_forwarding'],
|
182
|
-
'
|
182
|
+
'line_status' => payload['line_status'],
|
183
183
|
'line_type_intelligence' => payload['line_type_intelligence'],
|
184
184
|
'identity_match' => payload['identity_match'],
|
185
185
|
'reassigned_number' => payload['reassigned_number'],
|
@@ -259,9 +259,9 @@ module Twilio
|
|
259
259
|
end
|
260
260
|
|
261
261
|
##
|
262
|
-
# @return [Hash] An object that contains
|
263
|
-
def
|
264
|
-
@properties['
|
262
|
+
# @return [Hash] An object that contains line status information for a mobile phone number.
|
263
|
+
def line_status
|
264
|
+
@properties['line_status']
|
265
265
|
end
|
266
266
|
|
267
267
|
##
|
@@ -302,7 +302,7 @@ module Twilio
|
|
302
302
|
|
303
303
|
##
|
304
304
|
# Fetch the PhoneNumberInstance
|
305
|
-
# @param [String] fields A comma-separated list of fields to return. Possible values are caller_name, sim_swap, call_forwarding,
|
305
|
+
# @param [String] fields A comma-separated list of fields to return. Possible values are validation, caller_name, sim_swap, call_forwarding, line_status, line_type_intelligence, identity_match, reassigned_number, sms_pumping_risk, phone_number_quality_score.
|
306
306
|
# @param [String] country_code The [country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) used if the phone number provided is in national format.
|
307
307
|
# @param [String] first_name User’s first name. This query parameter is only used (optionally) for identity_match package requests.
|
308
308
|
# @param [String] last_name User’s last name. This query parameter is only used (optionally) for identity_match package requests.
|
@@ -300,6 +300,7 @@ module Twilio
|
|
300
300
|
'status' => payload['status'],
|
301
301
|
'tcr_id' => payload['tcr_id'],
|
302
302
|
'failure_reason' => payload['failure_reason'],
|
303
|
+
'errors' => payload['errors'],
|
303
304
|
'url' => payload['url'],
|
304
305
|
'brand_score' => payload['brand_score'] == nil ? payload['brand_score'] : payload['brand_score'].to_i,
|
305
306
|
'brand_feedback' => payload['brand_feedback'],
|
@@ -383,11 +384,17 @@ module Twilio
|
|
383
384
|
end
|
384
385
|
|
385
386
|
##
|
386
|
-
# @return [String] A reason why brand registration has failed. Only applicable when status is FAILED.
|
387
|
+
# @return [String] DEPRECATED. A reason why brand registration has failed. Only applicable when status is FAILED.
|
387
388
|
def failure_reason
|
388
389
|
@properties['failure_reason']
|
389
390
|
end
|
390
391
|
|
392
|
+
##
|
393
|
+
# @return [Array<Hash>] A list of errors that occurred during the brand registration process.
|
394
|
+
def errors
|
395
|
+
@properties['errors']
|
396
|
+
end
|
397
|
+
|
391
398
|
##
|
392
399
|
# @return [String] The absolute URL of the Brand Registration resource.
|
393
400
|
def url
|
@@ -401,7 +408,7 @@ module Twilio
|
|
401
408
|
end
|
402
409
|
|
403
410
|
##
|
404
|
-
# @return [Array<BrandFeedback>] Feedback on how to improve brand score
|
411
|
+
# @return [Array<BrandFeedback>] DEPRECATED. Feedback on how to improve brand score
|
405
412
|
def brand_feedback
|
406
413
|
@properties['brand_feedback']
|
407
414
|
end
|
@@ -53,7 +53,7 @@ module Twilio
|
|
53
53
|
# @param [String] business_contact_first_name The first name of the contact for the business or organization using the Tollfree number.
|
54
54
|
# @param [String] business_contact_last_name The last name of the contact for the business or organization using the Tollfree number.
|
55
55
|
# @param [String] business_contact_email The email address of the contact for the business or organization using the Tollfree number.
|
56
|
-
# @param [String] business_contact_phone The phone number of the contact for the business or organization using the Tollfree number.
|
56
|
+
# @param [String] business_contact_phone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
|
57
57
|
# @param [String] external_reference_id An optional external reference ID supplied by customer and echoed back on status retrieval.
|
58
58
|
# @return [TollfreeVerificationInstance] Created TollfreeVerificationInstance
|
59
59
|
def create(
|
@@ -281,7 +281,7 @@ module Twilio
|
|
281
281
|
# @param [String] business_contact_first_name The first name of the contact for the business or organization using the Tollfree number.
|
282
282
|
# @param [String] business_contact_last_name The last name of the contact for the business or organization using the Tollfree number.
|
283
283
|
# @param [String] business_contact_email The email address of the contact for the business or organization using the Tollfree number.
|
284
|
-
# @param [String] business_contact_phone The phone number of the contact for the business or organization using the Tollfree number.
|
284
|
+
# @param [String] business_contact_phone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
|
285
285
|
# @param [String] edit_reason Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to 'Website fixed'.
|
286
286
|
# @return [TollfreeVerificationInstance] Updated TollfreeVerificationInstance
|
287
287
|
def update(
|
@@ -434,6 +434,7 @@ module Twilio
|
|
434
434
|
'error_code' => payload['error_code'] == nil ? payload['error_code'] : payload['error_code'].to_i,
|
435
435
|
'edit_expiration' => Twilio.deserialize_iso8601_datetime(payload['edit_expiration']),
|
436
436
|
'edit_allowed' => payload['edit_allowed'],
|
437
|
+
'rejection_reasons' => payload['rejection_reasons'],
|
437
438
|
'resource_links' => payload['resource_links'],
|
438
439
|
'external_reference_id' => payload['external_reference_id'],
|
439
440
|
}
|
@@ -563,7 +564,7 @@ module Twilio
|
|
563
564
|
end
|
564
565
|
|
565
566
|
##
|
566
|
-
# @return [String] The phone number of the contact for the business or organization using the Tollfree number.
|
567
|
+
# @return [String] The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
|
567
568
|
def business_contact_phone
|
568
569
|
@properties['business_contact_phone']
|
569
570
|
end
|
@@ -658,6 +659,12 @@ module Twilio
|
|
658
659
|
@properties['edit_allowed']
|
659
660
|
end
|
660
661
|
|
662
|
+
##
|
663
|
+
# @return [Array<Hash>] A list of rejection reasons and codes describing why a Tollfree Verification has been rejected.
|
664
|
+
def rejection_reasons
|
665
|
+
@properties['rejection_reasons']
|
666
|
+
end
|
667
|
+
|
661
668
|
##
|
662
669
|
# @return [Hash] The URLs of the documents associated with the Tollfree Verification resource.
|
663
670
|
def resource_links
|
@@ -707,7 +714,7 @@ module Twilio
|
|
707
714
|
# @param [String] business_contact_first_name The first name of the contact for the business or organization using the Tollfree number.
|
708
715
|
# @param [String] business_contact_last_name The last name of the contact for the business or organization using the Tollfree number.
|
709
716
|
# @param [String] business_contact_email The email address of the contact for the business or organization using the Tollfree number.
|
710
|
-
# @param [String] business_contact_phone The phone number of the contact for the business or organization using the Tollfree number.
|
717
|
+
# @param [String] business_contact_phone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
|
711
718
|
# @param [String] edit_reason Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to 'Website fixed'.
|
712
719
|
# @return [TollfreeVerificationInstance] Updated TollfreeVerificationInstance
|
713
720
|
def update(
|
@@ -32,11 +32,13 @@ module Twilio
|
|
32
32
|
end
|
33
33
|
##
|
34
34
|
# Create the BulkEligibilityInstance
|
35
|
+
# @param [Object] body
|
35
36
|
# @return [BulkEligibilityInstance] Created BulkEligibilityInstance
|
36
|
-
def create
|
37
|
+
def create(body: :unset
|
38
|
+
)
|
37
39
|
|
38
|
-
|
39
|
-
payload = @version.create('POST', @uri)
|
40
|
+
headers = Twilio::Values.of({"Content-Type"=> "application/json"})
|
41
|
+
payload = @version.create('POST', @uri, data: body.to_json, headers: headers)
|
40
42
|
BulkEligibilityInstance.new(
|
41
43
|
@version,
|
42
44
|
payload,
|
@@ -32,11 +32,13 @@ module Twilio
|
|
32
32
|
end
|
33
33
|
##
|
34
34
|
# Create the EligibilityInstance
|
35
|
+
# @param [Object] body
|
35
36
|
# @return [EligibilityInstance] Created EligibilityInstance
|
36
|
-
def create
|
37
|
+
def create(body: :unset
|
38
|
+
)
|
37
39
|
|
38
|
-
|
39
|
-
payload = @version.create('POST', @uri)
|
40
|
+
headers = Twilio::Values.of({"Content-Type"=> "application/json"})
|
41
|
+
payload = @version.create('POST', @uri, data: body.to_json, headers: headers)
|
40
42
|
EligibilityInstance.new(
|
41
43
|
@version,
|
42
44
|
payload,
|
@@ -32,11 +32,13 @@ module Twilio
|
|
32
32
|
end
|
33
33
|
##
|
34
34
|
# Create the PortingPortInInstance
|
35
|
+
# @param [Object] body
|
35
36
|
# @return [PortingPortInInstance] Created PortingPortInInstance
|
36
|
-
def create
|
37
|
+
def create(body: :unset
|
38
|
+
)
|
37
39
|
|
38
|
-
|
39
|
-
payload = @version.create('POST', @uri)
|
40
|
+
headers = Twilio::Values.of({"Content-Type"=> "application/json"})
|
41
|
+
payload = @version.create('POST', @uri, data: body.to_json, headers: headers)
|
40
42
|
PortingPortInInstance.new(
|
41
43
|
@version,
|
42
44
|
payload,
|
@@ -25,7 +25,7 @@ module Twilio
|
|
25
25
|
@eligibilities = nil
|
26
26
|
@porting_bulk_portabilities = nil
|
27
27
|
@porting_port_ins = nil
|
28
|
-
@
|
28
|
+
@porting_port_ins_fetch = nil
|
29
29
|
@porting_portabilities = nil
|
30
30
|
end
|
31
31
|
|
@@ -71,12 +71,12 @@ module Twilio
|
|
71
71
|
# @param [String] port_in_request_sid The SID of the Port In request. This is a unique identifier of the port in request.
|
72
72
|
# @return [Twilio::REST::Numbers::V1::PortingPortInFetchContext] if portInRequestSid was passed.
|
73
73
|
# @return [Twilio::REST::Numbers::V1::PortingPortInFetchList]
|
74
|
-
def
|
74
|
+
def porting_port_ins_fetch(port_in_request_sid=:unset)
|
75
75
|
if port_in_request_sid.nil?
|
76
76
|
raise ArgumentError, 'port_in_request_sid cannot be nil'
|
77
77
|
end
|
78
78
|
if port_in_request_sid == :unset
|
79
|
-
@
|
79
|
+
@porting_port_ins_fetch ||= PortingPortInFetchList.new self
|
80
80
|
else
|
81
81
|
PortingPortInFetchContext.new(self, port_in_request_sid)
|
82
82
|
end
|
@@ -32,11 +32,13 @@ module Twilio
|
|
32
32
|
end
|
33
33
|
##
|
34
34
|
# Create the BulkHostedNumberOrderInstance
|
35
|
+
# @param [Object] body
|
35
36
|
# @return [BulkHostedNumberOrderInstance] Created BulkHostedNumberOrderInstance
|
36
|
-
def create
|
37
|
+
def create(body: :unset
|
38
|
+
)
|
37
39
|
|
38
|
-
|
39
|
-
payload = @version.create('POST', @uri)
|
40
|
+
headers = Twilio::Values.of({"Content-Type"=> "application/json"})
|
41
|
+
payload = @version.create('POST', @uri, data: body.to_json, headers: headers)
|
40
42
|
BulkHostedNumberOrderInstance.new(
|
41
43
|
@version,
|
42
44
|
payload,
|
data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_bulk_real_time_statistics.rb
CHANGED
@@ -35,11 +35,13 @@ module Twilio
|
|
35
35
|
end
|
36
36
|
##
|
37
37
|
# Create the TaskQueueBulkRealTimeStatisticsInstance
|
38
|
+
# @param [Object] body
|
38
39
|
# @return [TaskQueueBulkRealTimeStatisticsInstance] Created TaskQueueBulkRealTimeStatisticsInstance
|
39
|
-
def create
|
40
|
+
def create(body: :unset
|
41
|
+
)
|
40
42
|
|
41
|
-
|
42
|
-
payload = @version.create('POST', @uri)
|
43
|
+
headers = Twilio::Values.of({"Content-Type"=> "application/json"})
|
44
|
+
payload = @version.create('POST', @uri, data: body.to_json, headers: headers)
|
43
45
|
TaskQueueBulkRealTimeStatisticsInstance.new(
|
44
46
|
@version,
|
45
47
|
payload,
|
@@ -35,7 +35,7 @@ module Twilio
|
|
35
35
|
# @param [EndUserType] end_user_type
|
36
36
|
# @param [PhoneNumberType] phone_number_type
|
37
37
|
# @param [BusinessIdentityType] business_identity_type
|
38
|
-
# @param [
|
38
|
+
# @param [BusinessRegistrationAuthority] business_registration_authority
|
39
39
|
# @param [String] business_legal_name he name of the business or organization using the Tollfree number.
|
40
40
|
# @param [String] notification_email he email address to receive the notification about the verification result.
|
41
41
|
# @param [Boolean] accepted_notification_receipt The email address to receive the notification about the verification result.
|
@@ -62,6 +62,14 @@ module Twilio
|
|
62
62
|
# @param [Boolean] use_address_as_emergency_address Use the business address as the emergency address
|
63
63
|
# @param [String] file_name The name of the verification document to upload
|
64
64
|
# @param [String] file The verification document to upload
|
65
|
+
# @param [String] first_name The first name of the Individual User.
|
66
|
+
# @param [String] last_name The last name of the Individual User.
|
67
|
+
# @param [String] date_of_birth The date of birth of the Individual User.
|
68
|
+
# @param [String] individual_email The email address of the Individual User.
|
69
|
+
# @param [String] individual_phone The phone number of the Individual User.
|
70
|
+
# @param [Boolean] is_isv_embed Indicates if the inquiry is being started from an ISV embedded component.
|
71
|
+
# @param [String] isv_registering_for_self_or_tenant Indicates if the isv registering for self or tenant.
|
72
|
+
# @param [String] status_callback_url The url we call to inform you of bundle changes.
|
65
73
|
# @return [ComplianceRegistrationInquiriesInstance] Created ComplianceRegistrationInquiriesInstance
|
66
74
|
def create(
|
67
75
|
end_user_type: nil,
|
@@ -93,7 +101,15 @@ module Twilio
|
|
93
101
|
emergency_address_country_code: :unset,
|
94
102
|
use_address_as_emergency_address: :unset,
|
95
103
|
file_name: :unset,
|
96
|
-
file: :unset
|
104
|
+
file: :unset,
|
105
|
+
first_name: :unset,
|
106
|
+
last_name: :unset,
|
107
|
+
date_of_birth: :unset,
|
108
|
+
individual_email: :unset,
|
109
|
+
individual_phone: :unset,
|
110
|
+
is_isv_embed: :unset,
|
111
|
+
isv_registering_for_self_or_tenant: :unset,
|
112
|
+
status_callback_url: :unset
|
97
113
|
)
|
98
114
|
|
99
115
|
data = Twilio::Values.of({
|
@@ -127,6 +143,14 @@ module Twilio
|
|
127
143
|
'UseAddressAsEmergencyAddress' => use_address_as_emergency_address,
|
128
144
|
'FileName' => file_name,
|
129
145
|
'File' => file,
|
146
|
+
'FirstName' => first_name,
|
147
|
+
'LastName' => last_name,
|
148
|
+
'DateOfBirth' => date_of_birth,
|
149
|
+
'IndividualEmail' => individual_email,
|
150
|
+
'IndividualPhone' => individual_phone,
|
151
|
+
'IsIsvEmbed' => is_isv_embed,
|
152
|
+
'IsvRegisteringForSelfOrTenant' => isv_registering_for_self_or_tenant,
|
153
|
+
'StatusCallbackUrl' => status_callback_url,
|
130
154
|
})
|
131
155
|
|
132
156
|
|
@@ -23,7 +23,7 @@ module Twilio
|
|
23
23
|
# body:: Message Body
|
24
24
|
# to:: Phone Number to send Message to
|
25
25
|
# from:: Phone Number to send Message from
|
26
|
-
# action::
|
26
|
+
# action:: A URL specifying where Twilio should send status callbacks for the created outbound message.
|
27
27
|
# method:: Action URL Method
|
28
28
|
# status_callback:: Status callback URL. Deprecated in favor of action.
|
29
29
|
# keyword_args:: additional attributes
|
data/lib/twilio-ruby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twilio-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.0.pre.rc.
|
4
|
+
version: 7.0.0.pre.rc.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Twilio API Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -270,8 +270,6 @@ files:
|
|
270
270
|
- lib/twilio-ruby/rest/api/v2010/account/balance.rb
|
271
271
|
- lib/twilio-ruby/rest/api/v2010/account/call.rb
|
272
272
|
- lib/twilio-ruby/rest/api/v2010/account/call/event.rb
|
273
|
-
- lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb
|
274
|
-
- lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb
|
275
273
|
- lib/twilio-ruby/rest/api/v2010/account/call/notification.rb
|
276
274
|
- lib/twilio-ruby/rest/api/v2010/account/call/payment.rb
|
277
275
|
- lib/twilio-ruby/rest/api/v2010/account/call/recording.rb
|
@@ -426,8 +424,6 @@ files:
|
|
426
424
|
- lib/twilio-ruby/rest/flex_api/v1/configuration.rb
|
427
425
|
- lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb
|
428
426
|
- lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb
|
429
|
-
- lib/twilio-ruby/rest/flex_api/v1/insights_conversational_ai.rb
|
430
|
-
- lib/twilio-ruby/rest/flex_api/v1/insights_conversational_ai_report_insights.rb
|
431
427
|
- lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb
|
432
428
|
- lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb
|
433
429
|
- lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb
|
@@ -441,6 +437,14 @@ files:
|
|
441
437
|
- lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb
|
442
438
|
- lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb
|
443
439
|
- lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb
|
440
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin.rb
|
441
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb
|
442
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin_archive.rb
|
443
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin_configuration.rb
|
444
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin_configuration/configured_plugin.rb
|
445
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin_configuration_archive.rb
|
446
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin_release.rb
|
447
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin_version_archive.rb
|
444
448
|
- lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb
|
445
449
|
- lib/twilio-ruby/rest/flex_api/v1/web_channel.rb
|
446
450
|
- lib/twilio-ruby/rest/flex_api/v2.rb
|