twilio-ruby 7.2.2 → 7.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +48 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +5 -599
  5. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +2 -2
  6. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload/data.rb +200 -0
  7. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +22 -1
  8. data/lib/twilio-ruby/rest/client.rb +0 -5
  9. data/lib/twilio-ruby/rest/content/v1/content.rb +67 -1
  10. data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +81 -1
  11. data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +60 -12
  12. data/lib/twilio-ruby/rest/intelligence/v2/operator_type.rb +1 -1
  13. data/lib/twilio-ruby/rest/intelligence/v2/transcript/sentence.rb +16 -3
  14. data/lib/twilio-ruby/rest/intelligence/v2.rb +1 -1
  15. data/lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb +8 -8
  16. data/lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb +22 -9
  17. data/lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb +199 -0
  18. data/lib/twilio-ruby/rest/marketplace/v1.rb +7 -1
  19. data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +4 -1
  20. data/lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb +40 -0
  21. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +8 -8
  22. data/lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb +24 -17
  23. data/lib/twilio-ruby/rest/numbers/v1/porting_portability.rb +7 -7
  24. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb +3 -3
  25. data/lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb +1 -1
  26. data/lib/twilio-ruby/rest/numbers/v1/{webhook.rb → porting_webhook_configuration_fetch.rb} +23 -23
  27. data/lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb +96 -0
  28. data/lib/twilio-ruby/rest/numbers/v1.rb +8 -8
  29. data/lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb +277 -0
  30. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +4 -1
  31. data/lib/twilio-ruby/rest/numbers/v2.rb +15 -0
  32. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +2 -2
  33. data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +12 -3
  34. data/lib/twilio-ruby/rest/verify/v2/service.rb +4 -4
  35. data/lib/twilio-ruby/version.rb +1 -1
  36. data/twilio-ruby.gemspec +2 -1
  37. metadata +7 -5
  38. data/lib/twilio-ruby/rest/preview_iam.rb +0 -6
  39. data/lib/twilio-ruby/rest/preview_iam_base.rb +0 -33
@@ -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. Not available for all customers.
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. Not available for all customers.
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. Not available for all customers.
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. Not available for all customers.
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)
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '7.2.2'
2
+ VERSION = '7.2.4'
3
3
  end
data/twilio-ruby.gemspec CHANGED
@@ -14,7 +14,8 @@ Gem::Specification.new do |spec|
14
14
  'building TwiML, and generating Twilio JWT Capability Tokens'
15
15
  spec.homepage = 'https://github.com/twilio/twilio-ruby'
16
16
  spec.license = 'MIT'
17
- spec.metadata = { 'yard.run' => 'yri' } # use "yard" to build full HTML docs
17
+ spec.metadata = { 'documentation_uri' => 'https://www.twilio.com/docs/libraries/reference/twilio-ruby/',
18
+ 'yard.run' => 'yri' } # use "yard" to build full HTML docs
18
19
 
19
20
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match?(%r{^(spec)/}) }
20
21
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
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.2.2
4
+ version: 7.2.4
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-07-02 00:00:00.000000000 Z
11
+ date: 2024-08-26 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
@@ -526,6 +527,7 @@ files:
526
527
  - lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_extension.rb
527
528
  - lib/twilio-ruby/rest/marketplace/v1/installed_add_on/installed_add_on_usage.rb
528
529
  - lib/twilio-ruby/rest/marketplace/v1/module_data_management.rb
530
+ - lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb
529
531
  - lib/twilio-ruby/rest/marketplace_base.rb
530
532
  - lib/twilio-ruby/rest/messaging.rb
531
533
  - lib/twilio-ruby/rest/messaging/v1.rb
@@ -580,12 +582,13 @@ files:
580
582
  - lib/twilio-ruby/rest/numbers/v1/porting_portability.rb
581
583
  - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb
582
584
  - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb
585
+ - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_fetch.rb
583
586
  - lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb
584
- - lib/twilio-ruby/rest/numbers/v1/webhook.rb
585
587
  - lib/twilio-ruby/rest/numbers/v2.rb
586
588
  - lib/twilio-ruby/rest/numbers/v2/authorization_document.rb
587
589
  - lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb
588
590
  - lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb
591
+ - lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb
589
592
  - lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb
590
593
  - lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb
591
594
  - lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb
@@ -636,8 +639,6 @@ files:
636
639
  - lib/twilio-ruby/rest/preview/wireless/sim.rb
637
640
  - lib/twilio-ruby/rest/preview/wireless/sim/usage.rb
638
641
  - 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
642
  - lib/twilio-ruby/rest/pricing.rb
642
643
  - lib/twilio-ruby/rest/pricing/v1.rb
643
644
  - lib/twilio-ruby/rest/pricing/v1/messaging.rb
@@ -866,6 +867,7 @@ homepage: https://github.com/twilio/twilio-ruby
866
867
  licenses:
867
868
  - MIT
868
869
  metadata:
870
+ documentation_uri: https://www.twilio.com/docs/libraries/reference/twilio-ruby/
869
871
  yard.run: yri
870
872
  post_install_message:
871
873
  rdoc_options:
@@ -1,6 +0,0 @@
1
- module Twilio
2
- module REST
3
- class PreviewIam < PreviewIamBase;
4
- end
5
- end
6
- end
@@ -1,33 +0,0 @@
1
- ##
2
- # This code was generated by
3
- # ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4
- # | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5
- # | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6
- #
7
- # NOTE: This class is auto generated by OpenAPI Generator.
8
- # https://openapi-generator.tech
9
- # Do not edit the class manually.
10
- # frozen_string_literal: true
11
- module Twilio
12
- module REST
13
- class PreviewIamBase < Domain
14
- ##
15
- # Initialize previewIam domain
16
- #
17
- # @param twilio - The twilio client
18
- #
19
- def initialize(twilio)
20
- super(twilio)
21
- @base_url = "https://preview-iam.twilio.com"
22
- @host = "preview-iam.twilio.com"
23
- @port = 443
24
- end
25
-
26
- ##
27
- # Provide a user friendly representation
28
- def to_s
29
- '<Twilio::REST::PreviewIam>';
30
- end
31
- end
32
- end
33
- end