twilio-ruby 5.63.1 → 5.65.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test-and-deploy.yml +7 -2
- data/CHANGES.md +81 -0
- data/README.md +3 -2
- data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +674 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +26 -0
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +27 -7
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +10 -4
- data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +447 -0
- data/lib/twilio-ruby/rest/conversations/v1.rb +17 -0
- data/lib/twilio-ruby/rest/conversations.rb +9 -0
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +0 -77
- data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +56 -65
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +82 -54
- data/lib/twilio-ruby/rest/insights/v1.rb +1 -1
- data/lib/twilio-ruby/rest/insights.rb +1 -1
- data/lib/twilio-ruby/rest/media/v1/media_recording.rb +385 -0
- data/lib/twilio-ruby/rest/media/v1.rb +16 -0
- data/lib/twilio-ruby/rest/media.rb +9 -0
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +75 -18
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +7 -0
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +71 -30
- data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +1 -1
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +9 -9
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +18 -1
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +22 -4
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +7 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +16 -6
- data/lib/twilio-ruby/rest/verify/v2/template.rb +1 -1
- data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +89 -21
- data/lib/twilio-ruby/rest/verify.rb +2 -2
- data/lib/twilio-ruby/rest/video/v1/room.rb +7 -4
- data/lib/twilio-ruby/version.rb +1 -1
- data/lib/twilio-ruby.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8c2b361aa0bcd563896d6fd8ef7d05b8190b5b8
|
4
|
+
data.tar.gz: aa8937ed8cdd6e0028547310216ef1735a4c80ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a82d6f932c04746c60217ec81ef4b5708fbbcb4df2fff128a5d01933d4bb86fa45c464805da63ca96c6e0bf8c2ca1cf75d9aea18f799f674b8674aae65b45d32
|
7
|
+
data.tar.gz: 6a0ff25c7f663d9c51390deb16e9fe3f37b98ebc1fc5d7ccf973ef61bfb6655b37411da34543072cab27d8c13a5847bcceb62fe3110e1b9f785cd81ea212bf6f
|
@@ -17,7 +17,7 @@ jobs:
|
|
17
17
|
timeout-minutes: 20
|
18
18
|
strategy:
|
19
19
|
matrix:
|
20
|
-
ruby: [ 2.4, 2.5, 2.6, 2.7, '3.0', ruby-head, jruby-9.2 ]
|
20
|
+
ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', 'ruby-head', 'jruby-9.2' ]
|
21
21
|
steps:
|
22
22
|
- name: Checkout twilio-ruby
|
23
23
|
uses: actions/checkout@v2
|
@@ -105,6 +105,11 @@ jobs:
|
|
105
105
|
gem build *.gemspec
|
106
106
|
gem push *.gem
|
107
107
|
|
108
|
+
- name: Submit metric to Datadog
|
109
|
+
uses: sendgrid/dx-automator/actions/datadog-release-metric@main
|
110
|
+
env:
|
111
|
+
DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}
|
112
|
+
|
108
113
|
notify-on-failure:
|
109
114
|
name: Slack notify on failure
|
110
115
|
if: failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')
|
@@ -115,7 +120,7 @@ jobs:
|
|
115
120
|
env:
|
116
121
|
SLACK_COLOR: failure
|
117
122
|
SLACK_ICON_EMOJI: ':github:'
|
118
|
-
SLACK_MESSAGE: ${{ format('
|
123
|
+
SLACK_MESSAGE: ${{ format('Test *{0}*, Deploy *{1}*, {2}/{3}/actions/runs/{4}', needs.test.result, needs.deploy.result, github.server_url, github.repository, github.run_id) }}
|
119
124
|
SLACK_TITLE: Action Failure - ${{ github.repository }}
|
120
125
|
SLACK_USERNAME: GitHub Actions
|
121
126
|
SLACK_MSG_AUTHOR: twilio-dx
|
data/CHANGES.md
CHANGED
@@ -1,6 +1,87 @@
|
|
1
1
|
twilio-ruby changelog
|
2
2
|
=====================
|
3
3
|
|
4
|
+
[2022-03-09] Version 5.65.1
|
5
|
+
---------------------------
|
6
|
+
**Library - Fix**
|
7
|
+
- [PR #602](https://github.com/twilio/twilio-ruby/pull/602): don't load webhook authentication if Rack not present. Thanks to [@philnash](https://github.com/philnash)!
|
8
|
+
|
9
|
+
**Library - Chore**
|
10
|
+
- [PR #599](https://github.com/twilio/twilio-ruby/pull/599): push Datadog Release Metric upon deploy success. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
|
11
|
+
|
12
|
+
**Api**
|
13
|
+
- Add optional boolean include_soft_deleted parameter to retrieve soft deleted recordings
|
14
|
+
|
15
|
+
**Chat**
|
16
|
+
- Add `X-Twilio-Wehook-Enabled` header to `delete` method in UserChannel resource
|
17
|
+
|
18
|
+
**Numbers**
|
19
|
+
- Expose `failure_reason` in the Supporting Documents resources
|
20
|
+
|
21
|
+
**Verify**
|
22
|
+
- Add optional `metadata` parameter to "verify challenge" endpoint, so the SDK/App can attach relevant information from the device when responding to challenges.
|
23
|
+
- remove beta feature flag to list atempt api operations.
|
24
|
+
- Add `ttl` and `date_created` properties to `AccessTokens`.
|
25
|
+
|
26
|
+
|
27
|
+
[2022-02-23] Version 5.65.0
|
28
|
+
---------------------------
|
29
|
+
**Api**
|
30
|
+
- Add `uri` to `stream` resource
|
31
|
+
- Add A2P Registration Fee category (`a2p-registration-fee`) to usage records
|
32
|
+
- Detected a bug and removed optional boolean include_soft_deleted parameter to retrieve soft deleted recordings. **(breaking change)**
|
33
|
+
- Add optional boolean include_soft_deleted parameter to retrieve soft deleted recordings.
|
34
|
+
|
35
|
+
**Numbers**
|
36
|
+
- Unrevert valid_until and sort filter params added to List Bundles resource
|
37
|
+
- Revert valid_until and sort filter params added to List Bundles resource
|
38
|
+
- Update sorting params added to List Bundles resource in the previous release
|
39
|
+
|
40
|
+
**Preview**
|
41
|
+
- Moved `web_channels` from preview to beta under `flex-api` **(breaking change)**
|
42
|
+
|
43
|
+
**Taskrouter**
|
44
|
+
- Add `ETag` as Response Header to List of Task, Reservation & Worker
|
45
|
+
|
46
|
+
**Verify**
|
47
|
+
- Remove outdated documentation commentary to contact sales. Product is already in public beta.
|
48
|
+
- Add optional `metadata` to factors.
|
49
|
+
|
50
|
+
**Twiml**
|
51
|
+
- Add new Polly Neural voices
|
52
|
+
|
53
|
+
|
54
|
+
[2022-02-09] Version 5.64.0
|
55
|
+
---------------------------
|
56
|
+
**Library - Chore**
|
57
|
+
- [PR #594](https://github.com/twilio/twilio-ruby/pull/594): upgrade supported language versions. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
|
58
|
+
|
59
|
+
**Api**
|
60
|
+
- Add `stream` resource
|
61
|
+
|
62
|
+
**Conversations**
|
63
|
+
- Fixed DELETE request to accept "sid_like" params in Address Configuration resources **(breaking change)**
|
64
|
+
- Expose Address Configuration resource for `sms` and `whatsapp`
|
65
|
+
|
66
|
+
**Fax**
|
67
|
+
- Removed deprecated Programmable Fax Create and Update methods **(breaking change)**
|
68
|
+
|
69
|
+
**Insights**
|
70
|
+
- Rename `call_state` to `call_status` and remove `whisper` in conference participant summary **(breaking change)**
|
71
|
+
|
72
|
+
**Numbers**
|
73
|
+
- Expose valid_until filters as part of provisionally-approved compliance feature on the List Bundles resource
|
74
|
+
|
75
|
+
**Supersim**
|
76
|
+
- Fix typo in Fleet resource docs
|
77
|
+
- Updated documentation for the Fleet resource indicating that fields related to commands have been deprecated and to use sms_command fields instead.
|
78
|
+
- Add support for setting and reading `ip_commands_url` and `ip_commands_method` on Fleets resource for helper libraries
|
79
|
+
- Changed `sim` property in requests to create an SMS Command made to the /SmsCommands to accept SIM UniqueNames in addition to SIDs
|
80
|
+
|
81
|
+
**Verify**
|
82
|
+
- Update list attempts API to include new filters and response fields.
|
83
|
+
|
84
|
+
|
4
85
|
[2022-01-26] Version 5.63.1
|
5
86
|
---------------------------
|
6
87
|
**Library - Fix**
|
data/README.md
CHANGED
@@ -25,6 +25,7 @@ This library supports the following Ruby implementations:
|
|
25
25
|
* Ruby 2.6
|
26
26
|
* Ruby 2.7
|
27
27
|
* Ruby 3.0
|
28
|
+
* Ruby 3.1
|
28
29
|
|
29
30
|
### Migrating from 4.x
|
30
31
|
|
@@ -35,13 +36,13 @@ This library supports the following Ruby implementations:
|
|
35
36
|
To install using [Bundler][bundler] grab the latest stable version:
|
36
37
|
|
37
38
|
```ruby
|
38
|
-
gem 'twilio-ruby', '~> 5.
|
39
|
+
gem 'twilio-ruby', '~> 5.65.1'
|
39
40
|
```
|
40
41
|
|
41
42
|
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
42
43
|
|
43
44
|
```bash
|
44
|
-
gem install twilio-ruby -v 5.
|
45
|
+
gem install twilio-ruby -v 5.65.1
|
45
46
|
```
|
46
47
|
|
47
48
|
To build and install the development branch yourself from the latest source:
|
@@ -578,6 +578,7 @@ module Twilio
|
|
578
578
|
'name' => payload['name'],
|
579
579
|
'status' => payload['status'],
|
580
580
|
'date_updated' => Twilio.deserialize_rfc2822(payload['date_updated']),
|
581
|
+
'uri' => payload['uri'],
|
581
582
|
}
|
582
583
|
|
583
584
|
# Context
|
@@ -637,6 +638,12 @@ module Twilio
|
|
637
638
|
@properties['date_updated']
|
638
639
|
end
|
639
640
|
|
641
|
+
##
|
642
|
+
# @return [String] The URI of the resource, relative to `https://api.twilio.com`
|
643
|
+
def uri
|
644
|
+
@properties['uri']
|
645
|
+
end
|
646
|
+
|
640
647
|
##
|
641
648
|
# Update the SiprecInstance
|
642
649
|
# @param [siprec.UpdateStatus] status The status. Must have the value `stopped`
|