twilio-ruby 6.11.0 → 6.12.1
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 +53 -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/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.rb +3 -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 -276
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversational_ai_report_insights.rb +0 -255
|
@@ -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
|
|
@@ -59,7 +59,7 @@ module Twilio
|
|
|
59
59
|
end
|
|
60
60
|
##
|
|
61
61
|
# Fetch the PhoneNumberInstance
|
|
62
|
-
# @param [String] fields A comma-separated list of fields to return. Possible values are caller_name, sim_swap, call_forwarding,
|
|
62
|
+
# @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.
|
|
63
63
|
# @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.
|
|
64
64
|
# @param [String] first_name User’s first name. This query parameter is only used (optionally) for identity_match package requests.
|
|
65
65
|
# @param [String] last_name User’s last name. This query parameter is only used (optionally) for identity_match package requests.
|
|
@@ -181,7 +181,7 @@ module Twilio
|
|
|
181
181
|
'caller_name' => payload['caller_name'],
|
|
182
182
|
'sim_swap' => payload['sim_swap'],
|
|
183
183
|
'call_forwarding' => payload['call_forwarding'],
|
|
184
|
-
'
|
|
184
|
+
'line_status' => payload['line_status'],
|
|
185
185
|
'line_type_intelligence' => payload['line_type_intelligence'],
|
|
186
186
|
'identity_match' => payload['identity_match'],
|
|
187
187
|
'reassigned_number' => payload['reassigned_number'],
|
|
@@ -261,9 +261,9 @@ module Twilio
|
|
|
261
261
|
end
|
|
262
262
|
|
|
263
263
|
##
|
|
264
|
-
# @return [Hash] An object that contains
|
|
265
|
-
def
|
|
266
|
-
@properties['
|
|
264
|
+
# @return [Hash] An object that contains line status information for a mobile phone number.
|
|
265
|
+
def line_status
|
|
266
|
+
@properties['line_status']
|
|
267
267
|
end
|
|
268
268
|
|
|
269
269
|
##
|
|
@@ -304,7 +304,7 @@ module Twilio
|
|
|
304
304
|
|
|
305
305
|
##
|
|
306
306
|
# Fetch the PhoneNumberInstance
|
|
307
|
-
# @param [String] fields A comma-separated list of fields to return. Possible values are caller_name, sim_swap, call_forwarding,
|
|
307
|
+
# @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.
|
|
308
308
|
# @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.
|
|
309
309
|
# @param [String] first_name User’s first name. This query parameter is only used (optionally) for identity_match package requests.
|
|
310
310
|
# @param [String] last_name User’s last name. This query parameter is only used (optionally) for identity_match package requests.
|
|
@@ -302,6 +302,7 @@ module Twilio
|
|
|
302
302
|
'status' => payload['status'],
|
|
303
303
|
'tcr_id' => payload['tcr_id'],
|
|
304
304
|
'failure_reason' => payload['failure_reason'],
|
|
305
|
+
'errors' => payload['errors'],
|
|
305
306
|
'url' => payload['url'],
|
|
306
307
|
'brand_score' => payload['brand_score'] == nil ? payload['brand_score'] : payload['brand_score'].to_i,
|
|
307
308
|
'brand_feedback' => payload['brand_feedback'],
|
|
@@ -385,11 +386,17 @@ module Twilio
|
|
|
385
386
|
end
|
|
386
387
|
|
|
387
388
|
##
|
|
388
|
-
# @return [String] A reason why brand registration has failed. Only applicable when status is FAILED.
|
|
389
|
+
# @return [String] DEPRECATED. A reason why brand registration has failed. Only applicable when status is FAILED.
|
|
389
390
|
def failure_reason
|
|
390
391
|
@properties['failure_reason']
|
|
391
392
|
end
|
|
392
393
|
|
|
394
|
+
##
|
|
395
|
+
# @return [Array<Hash>] A list of errors that occurred during the brand registration process.
|
|
396
|
+
def errors
|
|
397
|
+
@properties['errors']
|
|
398
|
+
end
|
|
399
|
+
|
|
393
400
|
##
|
|
394
401
|
# @return [String] The absolute URL of the Brand Registration resource.
|
|
395
402
|
def url
|
|
@@ -403,7 +410,7 @@ module Twilio
|
|
|
403
410
|
end
|
|
404
411
|
|
|
405
412
|
##
|
|
406
|
-
# @return [Array<BrandFeedback>] Feedback on how to improve brand score
|
|
413
|
+
# @return [Array<BrandFeedback>] DEPRECATED. Feedback on how to improve brand score
|
|
407
414
|
def brand_feedback
|
|
408
415
|
@properties['brand_feedback']
|
|
409
416
|
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(
|
|
@@ -283,7 +283,7 @@ module Twilio
|
|
|
283
283
|
# @param [String] business_contact_first_name The first name of the contact for the business or organization using the Tollfree number.
|
|
284
284
|
# @param [String] business_contact_last_name The last name of the contact for the business or organization using the Tollfree number.
|
|
285
285
|
# @param [String] business_contact_email The email address of the contact for the business or organization using the Tollfree number.
|
|
286
|
-
# @param [String] business_contact_phone The phone number of the contact for the business or organization using the Tollfree number.
|
|
286
|
+
# @param [String] business_contact_phone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
|
|
287
287
|
# @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'.
|
|
288
288
|
# @return [TollfreeVerificationInstance] Updated TollfreeVerificationInstance
|
|
289
289
|
def update(
|
|
@@ -436,6 +436,7 @@ module Twilio
|
|
|
436
436
|
'error_code' => payload['error_code'] == nil ? payload['error_code'] : payload['error_code'].to_i,
|
|
437
437
|
'edit_expiration' => Twilio.deserialize_iso8601_datetime(payload['edit_expiration']),
|
|
438
438
|
'edit_allowed' => payload['edit_allowed'],
|
|
439
|
+
'rejection_reasons' => payload['rejection_reasons'],
|
|
439
440
|
'resource_links' => payload['resource_links'],
|
|
440
441
|
'external_reference_id' => payload['external_reference_id'],
|
|
441
442
|
}
|
|
@@ -565,7 +566,7 @@ module Twilio
|
|
|
565
566
|
end
|
|
566
567
|
|
|
567
568
|
##
|
|
568
|
-
# @return [String] The phone number of the contact for the business or organization using the Tollfree number.
|
|
569
|
+
# @return [String] The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
|
|
569
570
|
def business_contact_phone
|
|
570
571
|
@properties['business_contact_phone']
|
|
571
572
|
end
|
|
@@ -660,6 +661,12 @@ module Twilio
|
|
|
660
661
|
@properties['edit_allowed']
|
|
661
662
|
end
|
|
662
663
|
|
|
664
|
+
##
|
|
665
|
+
# @return [Array<Hash>] A list of rejection reasons and codes describing why a Tollfree Verification has been rejected.
|
|
666
|
+
def rejection_reasons
|
|
667
|
+
@properties['rejection_reasons']
|
|
668
|
+
end
|
|
669
|
+
|
|
663
670
|
##
|
|
664
671
|
# @return [Hash] The URLs of the documents associated with the Tollfree Verification resource.
|
|
665
672
|
def resource_links
|
|
@@ -709,7 +716,7 @@ module Twilio
|
|
|
709
716
|
# @param [String] business_contact_first_name The first name of the contact for the business or organization using the Tollfree number.
|
|
710
717
|
# @param [String] business_contact_last_name The last name of the contact for the business or organization using the Tollfree number.
|
|
711
718
|
# @param [String] business_contact_email The email address of the contact for the business or organization using the Tollfree number.
|
|
712
|
-
# @param [String] business_contact_phone The phone number of the contact for the business or organization using the Tollfree number.
|
|
719
|
+
# @param [String] business_contact_phone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
|
|
713
720
|
# @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'.
|
|
714
721
|
# @return [TollfreeVerificationInstance] Updated TollfreeVerificationInstance
|
|
715
722
|
def update(
|
|
@@ -23,7 +23,7 @@ module Twilio
|
|
|
23
23
|
@version = 'v1'
|
|
24
24
|
@bulk_eligibilities = nil
|
|
25
25
|
@porting_bulk_portabilities = nil
|
|
26
|
-
@
|
|
26
|
+
@porting_port_ins_fetch = nil
|
|
27
27
|
@porting_portabilities = nil
|
|
28
28
|
end
|
|
29
29
|
|
|
@@ -59,12 +59,12 @@ module Twilio
|
|
|
59
59
|
# @param [String] port_in_request_sid The SID of the Port In request. This is a unique identifier of the port in request.
|
|
60
60
|
# @return [Twilio::REST::Numbers::V1::PortingPortInFetchContext] if portInRequestSid was passed.
|
|
61
61
|
# @return [Twilio::REST::Numbers::V1::PortingPortInFetchList]
|
|
62
|
-
def
|
|
62
|
+
def porting_port_ins_fetch(port_in_request_sid=:unset)
|
|
63
63
|
if port_in_request_sid.nil?
|
|
64
64
|
raise ArgumentError, 'port_in_request_sid cannot be nil'
|
|
65
65
|
end
|
|
66
66
|
if port_in_request_sid == :unset
|
|
67
|
-
@
|
|
67
|
+
@porting_port_ins_fetch ||= PortingPortInFetchList.new self
|
|
68
68
|
else
|
|
69
69
|
PortingPortInFetchContext.new(self, port_in_request_sid)
|
|
70
70
|
end
|
|
@@ -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: 6.
|
|
4
|
+
version: 6.12.1
|
|
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
|
|
@@ -425,8 +423,6 @@ files:
|
|
|
425
423
|
- lib/twilio-ruby/rest/flex_api/v1/configuration.rb
|
|
426
424
|
- lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb
|
|
427
425
|
- lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb
|
|
428
|
-
- lib/twilio-ruby/rest/flex_api/v1/insights_conversational_ai.rb
|
|
429
|
-
- lib/twilio-ruby/rest/flex_api/v1/insights_conversational_ai_report_insights.rb
|
|
430
426
|
- lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb
|
|
431
427
|
- lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb
|
|
432
428
|
- lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb
|
|
@@ -440,6 +436,14 @@ files:
|
|
|
440
436
|
- lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb
|
|
441
437
|
- lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_invite.rb
|
|
442
438
|
- lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel/interaction_channel_participant.rb
|
|
439
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin.rb
|
|
440
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin/plugin_versions.rb
|
|
441
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin_archive.rb
|
|
442
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin_configuration.rb
|
|
443
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin_configuration/configured_plugin.rb
|
|
444
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin_configuration_archive.rb
|
|
445
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin_release.rb
|
|
446
|
+
- lib/twilio-ruby/rest/flex_api/v1/plugin_version_archive.rb
|
|
443
447
|
- lib/twilio-ruby/rest/flex_api/v1/provisioning_status.rb
|
|
444
448
|
- lib/twilio-ruby/rest/flex_api/v1/web_channel.rb
|
|
445
449
|
- lib/twilio-ruby/rest/flex_api/v2.rb
|