twilio-ruby 5.58.3 → 5.61.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/deploy.yml +65 -0
- data/.github/workflows/test.yml +51 -0
- data/.gitignore +3 -1
- data/CHANGES.md +99 -0
- data/Makefile +3 -4
- data/README.md +4 -4
- data/lib/twilio-ruby/jwt/access_token.rb +13 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +667 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +30 -4
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +11 -4
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +11 -4
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +11 -4
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +17 -10
- data/lib/twilio-ruby/rest/client.rb +7 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +18 -2
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +7 -0
- data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +31 -6
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +36 -36
- data/lib/twilio-ruby/rest/media/v1/media_processor.rb +384 -0
- data/lib/twilio-ruby/rest/media/v1/player_streamer/playback_grant.rb +221 -0
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +390 -0
- data/lib/twilio-ruby/rest/media/v1.rb +60 -0
- data/lib/twilio-ruby/rest/media.rb +56 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +353 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +43 -1
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +29 -3
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb +188 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb +188 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +40 -0
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +1 -1
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +7 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +7 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +7 -3
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +23 -11
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +8 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +19 -3
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +16 -6
- data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +5 -5
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +16 -6
- data/lib/twilio-ruby/rest/verify/v2/service.rb +22 -3
- data/lib/twilio-ruby/rest/verify/v2/{verification_template.rb → template.rb} +25 -25
- data/lib/twilio-ruby/rest/verify/v2.rb +4 -4
- data/lib/twilio-ruby/rest/verify.rb +3 -3
- data/lib/twilio-ruby/rest/video/v1/room.rb +12 -1
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +3 -3
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +16 -26
- data/lib/twilio-ruby/twiml/voice_response.rb +613 -36
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +16 -5
- data/.travis.yml +0 -56
@@ -249,15 +249,10 @@ module Twilio
|
|
249
249
|
# @param [String] sms_url The URL we should call using the `sms_method` when the
|
250
250
|
# SIM-connected device sends an SMS message that is not a
|
251
251
|
# {Command}[https://www.twilio.com/docs/wireless/api/command-resource].
|
252
|
-
# @param [String] voice_fallback_method
|
253
|
-
#
|
254
|
-
# @param [String]
|
255
|
-
#
|
256
|
-
# TwiML requested from `voice_url`.
|
257
|
-
# @param [String] voice_method The HTTP method we should use when we call
|
258
|
-
# `voice_url`. Can be: `GET` or `POST`.
|
259
|
-
# @param [String] voice_url The URL we should call using the `voice_method` when
|
260
|
-
# the SIM-connected device makes a voice call.
|
252
|
+
# @param [String] voice_fallback_method Deprecated.
|
253
|
+
# @param [String] voice_fallback_url Deprecated.
|
254
|
+
# @param [String] voice_method Deprecated.
|
255
|
+
# @param [String] voice_url Deprecated.
|
261
256
|
# @param [sim.ResetStatus] reset_status Initiate a connectivity reset on the SIM.
|
262
257
|
# Set to `resetting` to initiate a connectivity reset on the SIM. No other value
|
263
258
|
# is valid.
|
@@ -463,49 +458,49 @@ module Twilio
|
|
463
458
|
end
|
464
459
|
|
465
460
|
##
|
466
|
-
# @return [String] The HTTP method we use to call sms_fallback_url
|
461
|
+
# @return [String] Deprecated. The HTTP method we use to call sms_fallback_url
|
467
462
|
def sms_fallback_method
|
468
463
|
@properties['sms_fallback_method']
|
469
464
|
end
|
470
465
|
|
471
466
|
##
|
472
|
-
# @return [String] The URL we call when an error occurs while retrieving or executing the TwiML requested from the sms_url
|
467
|
+
# @return [String] Deprecated. The URL we call when an error occurs while retrieving or executing the TwiML requested from the sms_url
|
473
468
|
def sms_fallback_url
|
474
469
|
@properties['sms_fallback_url']
|
475
470
|
end
|
476
471
|
|
477
472
|
##
|
478
|
-
# @return [String] The HTTP method we use to call sms_url
|
473
|
+
# @return [String] Deprecated. The HTTP method we use to call sms_url
|
479
474
|
def sms_method
|
480
475
|
@properties['sms_method']
|
481
476
|
end
|
482
477
|
|
483
478
|
##
|
484
|
-
# @return [String] The URL we call when the SIM-connected device sends an SMS message that is not a Command
|
479
|
+
# @return [String] Deprecated. The URL we call when the SIM-connected device sends an SMS message that is not a Command
|
485
480
|
def sms_url
|
486
481
|
@properties['sms_url']
|
487
482
|
end
|
488
483
|
|
489
484
|
##
|
490
|
-
# @return [String] The HTTP method we use to call voice_fallback_url
|
485
|
+
# @return [String] Deprecated. The HTTP method we use to call voice_fallback_url
|
491
486
|
def voice_fallback_method
|
492
487
|
@properties['voice_fallback_method']
|
493
488
|
end
|
494
489
|
|
495
490
|
##
|
496
|
-
# @return [String] The URL we call when an error occurs while retrieving or executing the TwiML requested from voice_url
|
491
|
+
# @return [String] Deprecated. The URL we call when an error occurs while retrieving or executing the TwiML requested from voice_url
|
497
492
|
def voice_fallback_url
|
498
493
|
@properties['voice_fallback_url']
|
499
494
|
end
|
500
495
|
|
501
496
|
##
|
502
|
-
# @return [String] The HTTP method we use to call voice_url
|
497
|
+
# @return [String] Deprecated. The HTTP method we use to call voice_url
|
503
498
|
def voice_method
|
504
499
|
@properties['voice_method']
|
505
500
|
end
|
506
501
|
|
507
502
|
##
|
508
|
-
# @return [String] The URL we call when the SIM-connected device makes a voice call
|
503
|
+
# @return [String] Deprecated. The URL we call when the SIM-connected device makes a voice call
|
509
504
|
def voice_url
|
510
505
|
@properties['voice_url']
|
511
506
|
end
|
@@ -583,15 +578,10 @@ module Twilio
|
|
583
578
|
# @param [String] sms_url The URL we should call using the `sms_method` when the
|
584
579
|
# SIM-connected device sends an SMS message that is not a
|
585
580
|
# {Command}[https://www.twilio.com/docs/wireless/api/command-resource].
|
586
|
-
# @param [String] voice_fallback_method
|
587
|
-
#
|
588
|
-
# @param [String]
|
589
|
-
#
|
590
|
-
# TwiML requested from `voice_url`.
|
591
|
-
# @param [String] voice_method The HTTP method we should use when we call
|
592
|
-
# `voice_url`. Can be: `GET` or `POST`.
|
593
|
-
# @param [String] voice_url The URL we should call using the `voice_method` when
|
594
|
-
# the SIM-connected device makes a voice call.
|
581
|
+
# @param [String] voice_fallback_method Deprecated.
|
582
|
+
# @param [String] voice_fallback_url Deprecated.
|
583
|
+
# @param [String] voice_method Deprecated.
|
584
|
+
# @param [String] voice_url Deprecated.
|
595
585
|
# @param [sim.ResetStatus] reset_status Initiate a connectivity reset on the SIM.
|
596
586
|
# Set to `resetting` to initiate a connectivity reset on the SIM. No other value
|
597
587
|
# is valid.
|