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.
Files changed (33) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/test-and-deploy.yml +2 -1
  3. data/CHANGES.md +89 -0
  4. data/Dockerfile +1 -1
  5. data/README.md +2 -2
  6. data/cluster/cluster_oauth_spec.rb +4 -4
  7. data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +14 -2
  8. data/lib/twilio-ruby/rest/api/v2010/account/call/transcription.rb +12 -0
  9. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -8
  10. data/lib/twilio-ruby/rest/flex_api/v1/create_flex_instance.rb +1 -1
  11. data/lib/twilio-ruby/rest/flex_api_base.rb +1 -6
  12. data/lib/twilio-ruby/rest/insights/v2/inbound.rb +570 -0
  13. data/lib/twilio-ruby/rest/insights/v2/outbound.rb +641 -0
  14. data/lib/twilio-ruby/rest/insights/v2/report.rb +940 -0
  15. data/lib/twilio-ruby/rest/insights/v2.rb +79 -0
  16. data/lib/twilio-ruby/rest/insights_base.rb +6 -1
  17. data/lib/twilio-ruby/rest/intelligence/v2/operator_type.rb +12 -4
  18. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +93 -19
  19. data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +21 -21
  20. data/lib/twilio-ruby/rest/messaging/v2/channels_sender.rb +2 -2
  21. data/lib/twilio-ruby/rest/numbers/v1/embedded_session.rb +251 -0
  22. data/lib/twilio-ruby/rest/numbers/v1/sender_id_registration.rb +333 -0
  23. data/lib/twilio-ruby/rest/numbers/v1.rb +12 -0
  24. data/lib/twilio-ruby/rest/numbers/v2/application.rb +153 -8
  25. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +20 -4
  26. data/lib/twilio-ruby/rest/preview_iam/versionless/organization/user.rb +197 -0
  27. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +14 -0
  28. data/lib/twilio-ruby/rest/studio/v2/flow/flow_revision.rb +7 -0
  29. data/lib/twilio-ruby/rest/studio/v2/flow.rb +7 -0
  30. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +2 -2
  31. data/lib/twilio-ruby/rest/video/v1/room/transcriptions.rb +12 -3
  32. data/lib/twilio-ruby/version.rb +1 -1
  33. metadata +10 -9
@@ -613,6 +613,7 @@ module Twilio
613
613
  @properties = {
614
614
  'sid' => payload['sid'],
615
615
  'account_sid' => payload['account_sid'],
616
+ 'author_sid' => payload['author_sid'],
616
617
  'friendly_name' => payload['friendly_name'],
617
618
  'definition' => payload['definition'],
618
619
  'status' => payload['status'],
@@ -656,6 +657,12 @@ module Twilio
656
657
  @properties['account_sid']
657
658
  end
658
659
 
660
+ ##
661
+ # @return [String] The SID of the User that created or last updated the Flow.
662
+ def author_sid
663
+ @properties['author_sid']
664
+ end
665
+
659
666
  ##
660
667
  # @return [String] The string that you assigned to describe the Flow.
661
668
  def friendly_name
@@ -38,7 +38,7 @@ module Twilio
38
38
  # @param [String] to The phone number or [email](https://www.twilio.com/docs/verify/email) to verify. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
39
39
  # @param [String] channel The verification method to use. One of: [`email`](https://www.twilio.com/docs/verify/email), `sms`, `whatsapp`, `call`, `sna` or `auto`.
40
40
  # @param [String] custom_friendly_name A custom user defined friendly name that overwrites the existing one in the verification message
41
- # @param [String] custom_message The text of a custom message to use for the verification.
41
+ # @param [String] custom_message The text of a custom message to use for the verification [DEPRECATED].
42
42
  # @param [String] send_digits The digits to send after a phone call is answered, for example, to dial an extension. For more information, see the Programmable Voice documentation of [sendDigits](https://www.twilio.com/docs/voice/twiml/number#attributes-sendDigits).
43
43
  # @param [String] locale Locale will automatically resolve based on phone number country code for SMS, WhatsApp, and call channel verifications. It will fallback to English or the template’s default translation if the selected translation is not available. This parameter will override the automatic locale resolution. [See supported languages and more information here](https://www.twilio.com/docs/verify/supported-languages).
44
44
  # @param [String] custom_code A pre-generated code to use for verification. The code can be between 4 and 10 characters, inclusive.
@@ -115,7 +115,7 @@ module Twilio
115
115
  # @param [String] to The phone number or [email](https://www.twilio.com/docs/verify/email) to verify. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
116
116
  # @param [String] channel The verification method to use. One of: [`email`](https://www.twilio.com/docs/verify/email), `sms`, `whatsapp`, `call`, `sna` or `auto`.
117
117
  # @param [String] custom_friendly_name A custom user defined friendly name that overwrites the existing one in the verification message
118
- # @param [String] custom_message The text of a custom message to use for the verification.
118
+ # @param [String] custom_message The text of a custom message to use for the verification [DEPRECATED].
119
119
  # @param [String] send_digits The digits to send after a phone call is answered, for example, to dial an extension. For more information, see the Programmable Voice documentation of [sendDigits](https://www.twilio.com/docs/voice/twiml/number#attributes-sendDigits).
120
120
  # @param [String] locale Locale will automatically resolve based on phone number country code for SMS, WhatsApp, and call channel verifications. It will fallback to English or the template’s default translation if the selected translation is not available. This parameter will override the automatic locale resolution. [See supported languages and more information here](https://www.twilio.com/docs/verify/supported-languages).
121
121
  # @param [String] custom_code A pre-generated code to use for verification. The code can be between 4 and 10 characters, inclusive.
@@ -276,13 +276,16 @@ module Twilio
276
276
  ##
277
277
  # Update the TranscriptionsInstance
278
278
  # @param [Status] status
279
+ # @param [Object] configuration A collection of properties that describe transcription behaviour.
279
280
  # @return [TranscriptionsInstance] Updated TranscriptionsInstance
280
281
  def update(
281
- status: :unset
282
+ status: :unset,
283
+ configuration: :unset
282
284
  )
283
285
 
284
286
  data = Twilio::Values.of({
285
287
  'Status' => status,
288
+ 'Configuration' => Twilio.serialize_object(configuration),
286
289
  })
287
290
 
288
291
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
@@ -303,13 +306,16 @@ module Twilio
303
306
  ##
304
307
  # Update the TranscriptionsInstanceMetadata
305
308
  # @param [Status] status
309
+ # @param [Object] configuration A collection of properties that describe transcription behaviour.
306
310
  # @return [TranscriptionsInstance] Updated TranscriptionsInstance
307
311
  def update_with_metadata(
308
- status: :unset
312
+ status: :unset,
313
+ configuration: :unset
309
314
  )
310
315
 
311
316
  data = Twilio::Values.of({
312
317
  'Status' => status,
318
+ 'Configuration' => Twilio.serialize_object(configuration),
313
319
  })
314
320
 
315
321
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
@@ -614,13 +620,16 @@ module Twilio
614
620
  ##
615
621
  # Update the TranscriptionsInstance
616
622
  # @param [Status] status
623
+ # @param [Object] configuration A collection of properties that describe transcription behaviour.
617
624
  # @return [TranscriptionsInstance] Updated TranscriptionsInstance
618
625
  def update(
619
- status: :unset
626
+ status: :unset,
627
+ configuration: :unset
620
628
  )
621
629
 
622
630
  context.update(
623
631
  status: status,
632
+ configuration: configuration,
624
633
  )
625
634
  end
626
635
 
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '7.10.1'
2
+ VERSION = '7.10.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twilio-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.10.1
4
+ version: 7.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Twilio API Team
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-02-05 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: jwt
@@ -190,12 +189,11 @@ dependencies:
190
189
  version: 1.4.2
191
190
  description: The official library for communicating with the Twilio REST API, building
192
191
  TwiML, and generating Twilio JWT Capability Tokens
193
- email:
194
192
  executables: []
195
193
  extensions: []
196
194
  extra_rdoc_files:
197
- - README.md
198
195
  - LICENSE
196
+ - README.md
199
197
  files:
200
198
  - ".dockerignore"
201
199
  - ".github/ISSUE_TEMPLATE/bug_report.yml"
@@ -519,6 +517,10 @@ files:
519
517
  - lib/twilio-ruby/rest/insights/v1/room.rb
520
518
  - lib/twilio-ruby/rest/insights/v1/room/participant.rb
521
519
  - lib/twilio-ruby/rest/insights/v1/setting.rb
520
+ - lib/twilio-ruby/rest/insights/v2.rb
521
+ - lib/twilio-ruby/rest/insights/v2/inbound.rb
522
+ - lib/twilio-ruby/rest/insights/v2/outbound.rb
523
+ - lib/twilio-ruby/rest/insights/v2/report.rb
522
524
  - lib/twilio-ruby/rest/insights_base.rb
523
525
  - lib/twilio-ruby/rest/intelligence.rb
524
526
  - lib/twilio-ruby/rest/intelligence/v2.rb
@@ -633,12 +635,14 @@ files:
633
635
  - lib/twilio-ruby/rest/numbers/v1.rb
634
636
  - lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb
635
637
  - lib/twilio-ruby/rest/numbers/v1/eligibility.rb
638
+ - lib/twilio-ruby/rest/numbers/v1/embedded_session.rb
636
639
  - lib/twilio-ruby/rest/numbers/v1/porting_all_port_in.rb
637
640
  - lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb
638
641
  - lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb
639
642
  - lib/twilio-ruby/rest/numbers/v1/porting_portability.rb
640
643
  - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb
641
644
  - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb
645
+ - lib/twilio-ruby/rest/numbers/v1/sender_id_registration.rb
642
646
  - lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb
643
647
  - lib/twilio-ruby/rest/numbers/v1/webhook.rb
644
648
  - lib/twilio-ruby/rest/numbers/v2.rb
@@ -930,7 +934,6 @@ licenses:
930
934
  metadata:
931
935
  documentation_uri: https://www.twilio.com/docs/libraries/reference/twilio-ruby/
932
936
  yard.run: yri
933
- post_install_message:
934
937
  rdoc_options:
935
938
  - "--line-numbers"
936
939
  - "--inline-source"
@@ -951,9 +954,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
951
954
  - !ruby/object:Gem::Version
952
955
  version: '0'
953
956
  requirements: []
954
- rubyforge_project:
955
- rubygems_version: 2.6.14.4
956
- signing_key:
957
+ rubygems_version: 4.0.8
957
958
  specification_version: 4
958
959
  summary: The official library for communicating with the Twilio REST API, building
959
960
  TwiML, and generating Twilio JWT Capability Tokens