twilio-ruby 5.58.0 → 5.59.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/.travis.yml +1 -0
- data/CHANGES.md +90 -0
- data/README.md +3 -3
- data/lib/twilio-ruby/http/http_client.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +667 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +27 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +10 -10
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +12 -5
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +18 -2
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +12 -5
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +7 -0
- data/lib/twilio-ruby/rest/insights/v1/call_summaries.rb +44 -38
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +43 -1
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +9 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb +6 -2
- 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 +59 -14
- data/lib/twilio-ruby/rest/pricing/v2/country.rb +280 -0
- data/lib/twilio-ruby/rest/pricing/v2/number.rb +225 -0
- data/lib/twilio-ruby/rest/pricing/v2.rb +37 -0
- data/lib/twilio-ruby/rest/pricing.rb +19 -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 +30 -20
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +19 -3
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge/notification.rb +6 -2
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +36 -11
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +11 -9
- data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +8 -8
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +7 -3
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +8 -8
- data/lib/twilio-ruby/rest/verify/v2/template.rb +206 -0
- data/lib/twilio-ruby/rest/verify/v2.rb +7 -0
- data/lib/twilio-ruby/rest/verify.rb +6 -0
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +9 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 416d1c29fdeda590addf0bc8929befb23540a3cf775993f2ab89ed27b340dae3
|
|
4
|
+
data.tar.gz: e779a8b50ef32067bdc24360a332e7a55e321012676504073901fcd44fd16ebb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d3a8c48365975f47830c676157d8b6ef8c8140727816f84c670985d604e5528562f4300ccbdf4b07c76191e2c14ceea3cce9707b5812c1904df10bea2d5a0c7e
|
|
7
|
+
data.tar.gz: b58105471c3e9affa6df43a40047c6fa698e1121b2a568883ac2e4c038d1c21ce715b8c51a00ba013eb7c2a90249784308706e2266f49d07fef7186a664325f4
|
data/.travis.yml
CHANGED
data/CHANGES.md
CHANGED
|
@@ -1,6 +1,96 @@
|
|
|
1
1
|
twilio-ruby changelog
|
|
2
2
|
=====================
|
|
3
3
|
|
|
4
|
+
[2021-10-06] Version 5.59.0
|
|
5
|
+
---------------------------
|
|
6
|
+
**Library - Fix**
|
|
7
|
+
- [PR #571](https://github.com/twilio/twilio-ruby/pull/571): fix travis build for ruby 3.0. Thanks to [@JenniferMah](https://github.com/JenniferMah)!
|
|
8
|
+
|
|
9
|
+
**Api**
|
|
10
|
+
- Add `emergency_address_status` attribute to `/IncomingPhoneNumbers` response.
|
|
11
|
+
- Add `siprec` resource
|
|
12
|
+
|
|
13
|
+
**Conversations**
|
|
14
|
+
- Added attachment parameters in configuration for `NewMessage` type of push notifications
|
|
15
|
+
|
|
16
|
+
**Flex**
|
|
17
|
+
- Adding `flex_insights_hr` object to Flex Configuration
|
|
18
|
+
|
|
19
|
+
**Numbers**
|
|
20
|
+
- Add API endpoint for Bundle ReplaceItems resource
|
|
21
|
+
- Add API endpoint for Bundle Copies resource
|
|
22
|
+
|
|
23
|
+
**Serverless**
|
|
24
|
+
- Add domain_base field to Service response
|
|
25
|
+
|
|
26
|
+
**Taskrouter**
|
|
27
|
+
- Add `If-Match` Header based on ETag for Worker Delete **(breaking change)**
|
|
28
|
+
- Add `If-Match` Header based on Etag for Reservation Update
|
|
29
|
+
- Add `If-Match` Header based on ETag for Worker Update
|
|
30
|
+
- Add `If-Match` Header based on ETag for Worker Delete
|
|
31
|
+
- Add `ETag` as Response Header to Worker
|
|
32
|
+
|
|
33
|
+
**Trunking**
|
|
34
|
+
- Added `transfer_caller_id` property on Trunks.
|
|
35
|
+
|
|
36
|
+
**Verify**
|
|
37
|
+
- Document new pilot `whatsapp` channel.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
[2021-09-22] Version 5.58.3
|
|
41
|
+
---------------------------
|
|
42
|
+
**Events**
|
|
43
|
+
- Add segment sink
|
|
44
|
+
|
|
45
|
+
**Messaging**
|
|
46
|
+
- Add post_approval_required attribute in GET us_app_to_person_usecase api response
|
|
47
|
+
- Add Identity Status, Russell 3000, Tax Exempt Status and Should Skip SecVet fields for Brand Registrations
|
|
48
|
+
- Add Should Skip Secondary Vetting optional flag parameter to create Brand API
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
[2021-09-08] Version 5.58.2
|
|
52
|
+
---------------------------
|
|
53
|
+
**Library - Fix**
|
|
54
|
+
- [PR #568](https://github.com/twilio/twilio-ruby/pull/568): deprecation warning on Faraday. Thanks to [@ngouy](https://github.com/ngouy)!
|
|
55
|
+
|
|
56
|
+
**Api**
|
|
57
|
+
- Revert adding `siprec` resource
|
|
58
|
+
- Add `siprec` resource
|
|
59
|
+
|
|
60
|
+
**Messaging**
|
|
61
|
+
- Add 'mock' as an optional field to brand_registration api
|
|
62
|
+
- Add 'mock' as an optional field to us_app_to_person api
|
|
63
|
+
- Adds more Use Cases in us_app_to_person_usecase api transaction and updates us_app_to_person_usecase docs
|
|
64
|
+
|
|
65
|
+
**Verify**
|
|
66
|
+
- Verify List Templates API endpoint added.
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
[2021-08-25] Version 5.58.1
|
|
70
|
+
---------------------------
|
|
71
|
+
**Api**
|
|
72
|
+
- Add Programmabled Voice SIP Refer call transfers (`calls-transfers`) to usage records
|
|
73
|
+
- Add Flex Voice Usage category (`flex-usage`) to usage records
|
|
74
|
+
|
|
75
|
+
**Conversations**
|
|
76
|
+
- Add `Order` query parameter to Message resource read operation
|
|
77
|
+
|
|
78
|
+
**Insights**
|
|
79
|
+
- Added `partial` to enum processing_state_request
|
|
80
|
+
- Added abnormal session filter in Call Summaries
|
|
81
|
+
|
|
82
|
+
**Messaging**
|
|
83
|
+
- Add brand_registration_sid as an optional query param for us_app_to_person_usecase api
|
|
84
|
+
|
|
85
|
+
**Pricing**
|
|
86
|
+
- add trunking_numbers resource (v2)
|
|
87
|
+
- add trunking_country resource (v2)
|
|
88
|
+
|
|
89
|
+
**Verify**
|
|
90
|
+
- Changed to private beta the `TemplateSid` optional parameter on Verification creation.
|
|
91
|
+
- Added the optional parameter `Order` to the list Challenges endpoint to define the list order.
|
|
92
|
+
|
|
93
|
+
|
|
4
94
|
[2021-08-11] Version 5.58.0
|
|
5
95
|
---------------------------
|
|
6
96
|
**Library - Chore**
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# twilio-ruby
|
|
2
2
|
|
|
3
|
-
[][travis]
|
|
4
4
|
[](https://rubygems.org/gems/twilio-ruby)
|
|
5
5
|
[](https://twil.io/learn-open-source)
|
|
6
6
|
|
|
@@ -35,13 +35,13 @@ This library supports the following Ruby implementations:
|
|
|
35
35
|
To install using [Bundler][bundler] grab the latest stable version:
|
|
36
36
|
|
|
37
37
|
```ruby
|
|
38
|
-
gem 'twilio-ruby', '~> 5.
|
|
38
|
+
gem 'twilio-ruby', '~> 5.59.0'
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
gem install twilio-ruby -v 5.
|
|
44
|
+
gem install twilio-ruby -v 5.59.0
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
To build and install the development branch yourself from the latest source:
|
|
@@ -31,7 +31,7 @@ module Twilio
|
|
|
31
31
|
f.options.params_encoder = Faraday::FlatParamsEncoder
|
|
32
32
|
f.request :url_encoded
|
|
33
33
|
f.headers = request.headers
|
|
34
|
-
f.basic_auth
|
|
34
|
+
f.request(:basic_auth, request.auth[0], request.auth[1])
|
|
35
35
|
f.proxy = "#{@proxy_prot}://#{@proxy_auth}#{@proxy_path}" if @proxy_prot && @proxy_path
|
|
36
36
|
f.options.open_timeout = request.timeout || @timeout
|
|
37
37
|
f.options.timeout = request.timeout || @timeout
|