twilio-ruby 7.2.3 → 7.3.0
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/CHANGES.md +53 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +5 -599
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload/data.rb +200 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +22 -1
- data/lib/twilio-ruby/rest/client.rb +3 -3
- data/lib/twilio-ruby/rest/content/v1/content.rb +167 -4
- data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +81 -1
- data/lib/twilio-ruby/rest/iam/v1/api_key.rb +270 -0
- data/lib/twilio-ruby/rest/iam/v1/get_api_keys.rb +223 -0
- data/lib/twilio-ruby/rest/iam/v1/new_api_key.rb +177 -0
- data/lib/twilio-ruby/rest/iam/v1.rb +61 -0
- data/lib/twilio-ruby/rest/{preview_iam.rb → iam.rb} +1 -1
- data/lib/twilio-ruby/rest/{preview_iam_base.rb → iam_base.rb} +10 -5
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +60 -12
- data/lib/twilio-ruby/rest/intelligence/v2/operator_type.rb +1 -1
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +16 -3
- data/lib/twilio-ruby/rest/intelligence/v2.rb +1 -1
- data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb +8 -8
- data/lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb +22 -9
- data/lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb +199 -0
- data/lib/twilio-ruby/rest/marketplace/v1.rb +7 -1
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +4 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +40 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +10 -10
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb +24 -17
- data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +7 -7
- data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb +3 -3
- data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb +1 -1
- data/lib/twilio-ruby/rest/numbers/v1/{webhook.rb → porting_webhook_configuration_fetch.rb} +23 -23
- data/lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb +96 -0
- data/lib/twilio-ruby/rest/numbers/v1.rb +8 -8
- data/lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb +277 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +4 -1
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +7 -0
- data/lib/twilio-ruby/rest/numbers/v2.rb +15 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +2 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +1 -1
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +12 -3
- data/lib/twilio-ruby/rest/verify/v2/service.rb +4 -4
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +12 -5
data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb
CHANGED
@@ -227,7 +227,7 @@ module Twilio
|
|
227
227
|
end
|
228
228
|
|
229
229
|
##
|
230
|
-
# @return [String] The total number of Workers available
|
230
|
+
# @return [String] The total number of Workers in the TaskQueue with an `available` status. Workers with an `available` status may already have active interactions or may have none.
|
231
231
|
def total_available_workers
|
232
232
|
@properties['total_available_workers']
|
233
233
|
end
|
@@ -34,15 +34,18 @@ module Twilio
|
|
34
34
|
# Create the ComplianceInquiriesInstance
|
35
35
|
# @param [String] primary_profile_sid The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
|
36
36
|
# @param [String] notification_email The email address that approval status updates will be sent to. If not specified, the email address associated with your primary customer profile will be used.
|
37
|
+
# @param [String] theme_set_id Theme id for styling the inquiry form.
|
37
38
|
# @return [ComplianceInquiriesInstance] Created ComplianceInquiriesInstance
|
38
39
|
def create(
|
39
40
|
primary_profile_sid: nil,
|
40
|
-
notification_email: :unset
|
41
|
+
notification_email: :unset,
|
42
|
+
theme_set_id: :unset
|
41
43
|
)
|
42
44
|
|
43
45
|
data = Twilio::Values.of({
|
44
46
|
'PrimaryProfileSid' => primary_profile_sid,
|
45
47
|
'NotificationEmail' => notification_email,
|
48
|
+
'ThemeSetId' => theme_set_id,
|
46
49
|
})
|
47
50
|
|
48
51
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
@@ -82,13 +85,16 @@ module Twilio
|
|
82
85
|
##
|
83
86
|
# Update the ComplianceInquiriesInstance
|
84
87
|
# @param [String] primary_profile_sid The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
|
88
|
+
# @param [String] theme_set_id Theme id for styling the inquiry form.
|
85
89
|
# @return [ComplianceInquiriesInstance] Updated ComplianceInquiriesInstance
|
86
90
|
def update(
|
87
|
-
primary_profile_sid: nil
|
91
|
+
primary_profile_sid: nil,
|
92
|
+
theme_set_id: :unset
|
88
93
|
)
|
89
94
|
|
90
95
|
data = Twilio::Values.of({
|
91
96
|
'PrimaryProfileSid' => primary_profile_sid,
|
97
|
+
'ThemeSetId' => theme_set_id,
|
92
98
|
})
|
93
99
|
|
94
100
|
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
@@ -209,13 +215,16 @@ module Twilio
|
|
209
215
|
##
|
210
216
|
# Update the ComplianceInquiriesInstance
|
211
217
|
# @param [String] primary_profile_sid The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
|
218
|
+
# @param [String] theme_set_id Theme id for styling the inquiry form.
|
212
219
|
# @return [ComplianceInquiriesInstance] Updated ComplianceInquiriesInstance
|
213
220
|
def update(
|
214
|
-
primary_profile_sid: nil
|
221
|
+
primary_profile_sid: nil,
|
222
|
+
theme_set_id: :unset
|
215
223
|
)
|
216
224
|
|
217
225
|
context.update(
|
218
226
|
primary_profile_sid: primary_profile_sid,
|
227
|
+
theme_set_id: theme_set_id,
|
219
228
|
)
|
220
229
|
end
|
221
230
|
|
@@ -40,7 +40,7 @@ module Twilio
|
|
40
40
|
# @param [String] tts_name The name of an alternative text-to-speech service to use in phone calls. Applies only to TTS languages.
|
41
41
|
# @param [Boolean] psd2_enabled Whether to pass PSD2 transaction parameters when starting a verification.
|
42
42
|
# @param [Boolean] do_not_share_warning_enabled Whether to add a security warning at the end of an SMS verification body. Disabled by default and applies only to SMS. Example SMS body: `Your AppName verification code is: 1234. Don’t share this code with anyone; our employees will never ask for the code`
|
43
|
-
# @param [Boolean] custom_code_enabled Whether to allow sending verifications with a custom code instead of a randomly generated one.
|
43
|
+
# @param [Boolean] custom_code_enabled Whether to allow sending verifications with a custom code instead of a randomly generated one.
|
44
44
|
# @param [Boolean] push_include_date Optional configuration for the Push factors. If true, include the date in the Challenge's response. Otherwise, the date is omitted from the response. See [Challenge](https://www.twilio.com/docs/verify/api/challenge) resource’s details parameter for more info. Default: false. **Deprecated** do not use this parameter. This timestamp value is the same one as the one found in `date_created`, please use that one instead.
|
45
45
|
# @param [String] push_apn_credential_sid Optional configuration for the Push factors. Set the APN Credential for this service. This will allow to send push notifications to iOS devices. See [Credential Resource](https://www.twilio.com/docs/notify/api/credential-resource)
|
46
46
|
# @param [String] push_fcm_credential_sid Optional configuration for the Push factors. Set the FCM Credential for this service. This will allow to send push notifications to Android devices. See [Credential Resource](https://www.twilio.com/docs/notify/api/credential-resource)
|
@@ -259,7 +259,7 @@ module Twilio
|
|
259
259
|
# @param [String] tts_name The name of an alternative text-to-speech service to use in phone calls. Applies only to TTS languages.
|
260
260
|
# @param [Boolean] psd2_enabled Whether to pass PSD2 transaction parameters when starting a verification.
|
261
261
|
# @param [Boolean] do_not_share_warning_enabled Whether to add a privacy warning at the end of an SMS. **Disabled by default and applies only for SMS.**
|
262
|
-
# @param [Boolean] custom_code_enabled Whether to allow sending verifications with a custom code instead of a randomly generated one.
|
262
|
+
# @param [Boolean] custom_code_enabled Whether to allow sending verifications with a custom code instead of a randomly generated one.
|
263
263
|
# @param [Boolean] push_include_date Optional configuration for the Push factors. If true, include the date in the Challenge's response. Otherwise, the date is omitted from the response. See [Challenge](https://www.twilio.com/docs/verify/api/challenge) resource’s details parameter for more info. Default: false. **Deprecated** do not use this parameter.
|
264
264
|
# @param [String] push_apn_credential_sid Optional configuration for the Push factors. Set the APN Credential for this service. This will allow to send push notifications to iOS devices. See [Credential Resource](https://www.twilio.com/docs/notify/api/credential-resource)
|
265
265
|
# @param [String] push_fcm_credential_sid Optional configuration for the Push factors. Set the FCM Credential for this service. This will allow to send push notifications to Android devices. See [Credential Resource](https://www.twilio.com/docs/notify/api/credential-resource)
|
@@ -611,7 +611,7 @@ module Twilio
|
|
611
611
|
end
|
612
612
|
|
613
613
|
##
|
614
|
-
# @return [Boolean] Whether to allow sending verifications with a custom code instead of a randomly generated one.
|
614
|
+
# @return [Boolean] Whether to allow sending verifications with a custom code instead of a randomly generated one.
|
615
615
|
def custom_code_enabled
|
616
616
|
@properties['custom_code_enabled']
|
617
617
|
end
|
@@ -696,7 +696,7 @@ module Twilio
|
|
696
696
|
# @param [String] tts_name The name of an alternative text-to-speech service to use in phone calls. Applies only to TTS languages.
|
697
697
|
# @param [Boolean] psd2_enabled Whether to pass PSD2 transaction parameters when starting a verification.
|
698
698
|
# @param [Boolean] do_not_share_warning_enabled Whether to add a privacy warning at the end of an SMS. **Disabled by default and applies only for SMS.**
|
699
|
-
# @param [Boolean] custom_code_enabled Whether to allow sending verifications with a custom code instead of a randomly generated one.
|
699
|
+
# @param [Boolean] custom_code_enabled Whether to allow sending verifications with a custom code instead of a randomly generated one.
|
700
700
|
# @param [Boolean] push_include_date Optional configuration for the Push factors. If true, include the date in the Challenge's response. Otherwise, the date is omitted from the response. See [Challenge](https://www.twilio.com/docs/verify/api/challenge) resource’s details parameter for more info. Default: false. **Deprecated** do not use this parameter.
|
701
701
|
# @param [String] push_apn_credential_sid Optional configuration for the Push factors. Set the APN Credential for this service. This will allow to send push notifications to iOS devices. See [Credential Resource](https://www.twilio.com/docs/notify/api/credential-resource)
|
702
702
|
# @param [String] push_fcm_credential_sid Optional configuration for the Push factors. Set the FCM Credential for this service. This will allow to send push notifications to Android devices. See [Credential Resource](https://www.twilio.com/docs/notify/api/credential-resource)
|
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.
|
4
|
+
version: 7.3.0
|
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-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -301,6 +301,7 @@ files:
|
|
301
301
|
- lib/twilio-ruby/rest/api/v2010/account/recording.rb
|
302
302
|
- lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb
|
303
303
|
- lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb
|
304
|
+
- lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload/data.rb
|
304
305
|
- lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb
|
305
306
|
- lib/twilio-ruby/rest/api/v2010/account/short_code.rb
|
306
307
|
- lib/twilio-ruby/rest/api/v2010/account/signing_key.rb
|
@@ -459,6 +460,12 @@ files:
|
|
459
460
|
- lib/twilio-ruby/rest/frontline_api/v1.rb
|
460
461
|
- lib/twilio-ruby/rest/frontline_api/v1/user.rb
|
461
462
|
- lib/twilio-ruby/rest/frontline_api_base.rb
|
463
|
+
- lib/twilio-ruby/rest/iam.rb
|
464
|
+
- lib/twilio-ruby/rest/iam/v1.rb
|
465
|
+
- lib/twilio-ruby/rest/iam/v1/api_key.rb
|
466
|
+
- lib/twilio-ruby/rest/iam/v1/get_api_keys.rb
|
467
|
+
- lib/twilio-ruby/rest/iam/v1/new_api_key.rb
|
468
|
+
- lib/twilio-ruby/rest/iam_base.rb
|
462
469
|
- lib/twilio-ruby/rest/insights.rb
|
463
470
|
- lib/twilio-ruby/rest/insights/v1.rb
|
464
471
|
- lib/twilio-ruby/rest/insights/v1/call.rb
|
@@ -526,6 +533,7 @@ files:
|
|
526
533
|
- lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_extension.rb
|
527
534
|
- lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb
|
528
535
|
- lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb
|
536
|
+
- lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb
|
529
537
|
- lib/twilio-ruby/rest/marketplace_base.rb
|
530
538
|
- lib/twilio-ruby/rest/messaging.rb
|
531
539
|
- lib/twilio-ruby/rest/messaging/v1.rb
|
@@ -580,12 +588,13 @@ files:
|
|
580
588
|
- lib/twilio-ruby/rest/numbers/v1/porting_portability.rb
|
581
589
|
- lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb
|
582
590
|
- lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb
|
591
|
+
- lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_fetch.rb
|
583
592
|
- lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb
|
584
|
-
- lib/twilio-ruby/rest/numbers/v1/webhook.rb
|
585
593
|
- lib/twilio-ruby/rest/numbers/v2.rb
|
586
594
|
- lib/twilio-ruby/rest/numbers/v2/authorization_document.rb
|
587
595
|
- lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb
|
588
596
|
- lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb
|
597
|
+
- lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb
|
589
598
|
- lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb
|
590
599
|
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb
|
591
600
|
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb
|
@@ -636,8 +645,6 @@ files:
|
|
636
645
|
- lib/twilio-ruby/rest/preview/wireless/sim.rb
|
637
646
|
- lib/twilio-ruby/rest/preview/wireless/sim/usage.rb
|
638
647
|
- lib/twilio-ruby/rest/preview_base.rb
|
639
|
-
- lib/twilio-ruby/rest/preview_iam.rb
|
640
|
-
- lib/twilio-ruby/rest/preview_iam_base.rb
|
641
648
|
- lib/twilio-ruby/rest/pricing.rb
|
642
649
|
- lib/twilio-ruby/rest/pricing/v1.rb
|
643
650
|
- lib/twilio-ruby/rest/pricing/v1/messaging.rb
|