twilio-ruby 5.58.3 → 5.61.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 +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
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: 5.
|
4
|
+
version: 5.61.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: 2021-
|
11
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -212,10 +212,11 @@ extra_rdoc_files:
|
|
212
212
|
- LICENSE
|
213
213
|
files:
|
214
214
|
- ".dockerignore"
|
215
|
+
- ".github/workflows/deploy.yml"
|
216
|
+
- ".github/workflows/test.yml"
|
215
217
|
- ".gitignore"
|
216
218
|
- ".rubocop.yml"
|
217
219
|
- ".rubocop_todo.yml"
|
218
|
-
- ".travis.yml"
|
219
220
|
- AUTHORS.md
|
220
221
|
- CHANGES.md
|
221
222
|
- CODE_OF_CONDUCT.md
|
@@ -285,6 +286,7 @@ files:
|
|
285
286
|
- lib/twilio-ruby/rest/api/v2010/account/call/notification.rb
|
286
287
|
- lib/twilio-ruby/rest/api/v2010/account/call/payment.rb
|
287
288
|
- lib/twilio-ruby/rest/api/v2010/account/call/recording.rb
|
289
|
+
- lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb
|
288
290
|
- lib/twilio-ruby/rest/api/v2010/account/conference.rb
|
289
291
|
- lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb
|
290
292
|
- lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb
|
@@ -474,9 +476,15 @@ files:
|
|
474
476
|
- lib/twilio-ruby/rest/lookups.rb
|
475
477
|
- lib/twilio-ruby/rest/lookups/v1.rb
|
476
478
|
- lib/twilio-ruby/rest/lookups/v1/phone_number.rb
|
479
|
+
- lib/twilio-ruby/rest/media.rb
|
480
|
+
- lib/twilio-ruby/rest/media/v1.rb
|
481
|
+
- lib/twilio-ruby/rest/media/v1/media_processor.rb
|
482
|
+
- lib/twilio-ruby/rest/media/v1/player_streamer.rb
|
483
|
+
- lib/twilio-ruby/rest/media/v1/player_streamer/playback_grant.rb
|
477
484
|
- lib/twilio-ruby/rest/messaging.rb
|
478
485
|
- lib/twilio-ruby/rest/messaging/v1.rb
|
479
486
|
- lib/twilio-ruby/rest/messaging/v1/brand_registration.rb
|
487
|
+
- lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb
|
480
488
|
- lib/twilio-ruby/rest/messaging/v1/deactivation.rb
|
481
489
|
- lib/twilio-ruby/rest/messaging/v1/external_campaign.rb
|
482
490
|
- lib/twilio-ruby/rest/messaging/v1/service.rb
|
@@ -500,8 +508,10 @@ files:
|
|
500
508
|
- lib/twilio-ruby/rest/numbers/v2.rb
|
501
509
|
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb
|
502
510
|
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb
|
511
|
+
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.rb
|
503
512
|
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/evaluation.rb
|
504
513
|
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/item_assignment.rb
|
514
|
+
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle/replace_items.rb
|
505
515
|
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb
|
506
516
|
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb
|
507
517
|
- lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/regulation.rb
|
@@ -713,8 +723,8 @@ files:
|
|
713
723
|
- lib/twilio-ruby/rest/verify/v2/service/verification.rb
|
714
724
|
- lib/twilio-ruby/rest/verify/v2/service/verification_check.rb
|
715
725
|
- lib/twilio-ruby/rest/verify/v2/service/webhook.rb
|
726
|
+
- lib/twilio-ruby/rest/verify/v2/template.rb
|
716
727
|
- lib/twilio-ruby/rest/verify/v2/verification_attempt.rb
|
717
|
-
- lib/twilio-ruby/rest/verify/v2/verification_template.rb
|
718
728
|
- lib/twilio-ruby/rest/video.rb
|
719
729
|
- lib/twilio-ruby/rest/video/v1.rb
|
720
730
|
- lib/twilio-ruby/rest/video/v1/composition.rb
|
@@ -785,7 +795,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
785
795
|
- !ruby/object:Gem::Version
|
786
796
|
version: '0'
|
787
797
|
requirements: []
|
788
|
-
|
798
|
+
rubyforge_project:
|
799
|
+
rubygems_version: 2.6.14.4
|
789
800
|
signing_key:
|
790
801
|
specification_version: 4
|
791
802
|
summary: The official library for communicating with the Twilio REST API, building
|
data/.travis.yml
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
cache: bundler
|
3
|
-
bundler_args: "--without development"
|
4
|
-
rvm:
|
5
|
-
- ruby-head
|
6
|
-
- jruby-9.2
|
7
|
-
- 2.4
|
8
|
-
- 2.5
|
9
|
-
- 2.6
|
10
|
-
- 2.7
|
11
|
-
- 3.0
|
12
|
-
services:
|
13
|
-
- docker
|
14
|
-
install: make install
|
15
|
-
script:
|
16
|
-
- make test
|
17
|
-
- if [[ "$TRAVIS_BRANCH" == "main" || "$TRAVIS_BRANCH" == "travis" ]] && [ "$TRAVIS_PULL_REQUEST"
|
18
|
-
== "false" ]; then echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}"
|
19
|
-
--password-stdin; fi
|
20
|
-
matrix:
|
21
|
-
include:
|
22
|
-
- language: ruby
|
23
|
-
rvm: '3.0'
|
24
|
-
# The below workaround is necessary because of the branch coverage inclusion in simplecov 0.18+
|
25
|
-
# more discussion here - https://community.sonarsource.com/t/ruby-coverage-simplecov-json-file-does-not-work/20909/7
|
26
|
-
after_success:
|
27
|
-
- ruby -rjson -e 'sqube = JSON.load(File.read("coverage/.resultset.json"))["RSpec"]["coverage"].transform_values {|lines| lines["lines"]}; total = { "RSpec" => { "coverage" => sqube, "timestamp" => Time.now.to_i }}; puts JSON.dump(total)' > coverage/.resultset.sonarqube.json
|
28
|
-
- sonar-scanner
|
29
|
-
allow_failures:
|
30
|
-
- rvm: ruby-head
|
31
|
-
fast_finish: true
|
32
|
-
deploy:
|
33
|
-
- provider: script
|
34
|
-
script: make docker-build && make docker-push
|
35
|
-
skip_cleanup: true
|
36
|
-
on:
|
37
|
-
tags: true
|
38
|
-
rvm: '2.4'
|
39
|
-
- provider: rubygems
|
40
|
-
api_key: "$RUBYGEMS_APIKEY"
|
41
|
-
on:
|
42
|
-
tags: true
|
43
|
-
rvm: '2.4'
|
44
|
-
notifications:
|
45
|
-
slack:
|
46
|
-
if: branch = main
|
47
|
-
on_pull_requests: false
|
48
|
-
on_success: never
|
49
|
-
on_failure: change
|
50
|
-
rooms:
|
51
|
-
secure: HG7rC5VSDOZiLCkpTsC4ZImh1k59OPi6YEjYKhdGXItybLHa6Yh5C42WvSx3kVW3SeyLOm1CiaMv+pbBZUXStXYsl8eH69MbEZimhDWsPs/m+bh+gEISov22WNUs3ZfUqIXMIb6v18oXPp2Qa1gX5LUEAGoSxHWNmCAcHayWl7M=
|
52
|
-
addons:
|
53
|
-
sonarcloud:
|
54
|
-
organization: twilio
|
55
|
-
token:
|
56
|
-
secure: OSEahx/yO/r9PdjXbASwJt+ogphxkDDpnlajWNCBTc+hoiEurGP/12CN0oQi7+iishIgIowqo5J9/+m1BQfsAv4fKST+t6mSazx27udiiM9am03lhviW8QSG6STADvtq6uJRqTXMk3WehoSidNRYXamVdCoBbqxCSaMX8MbMsN8=
|