twilio-ruby 5.58.2 → 5.58.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e167e2f47babb9e5652b385ede76e80463adea6014e4f9792128e33404760e5c
|
4
|
+
data.tar.gz: 957a9a74c168c72927875320f8217d7c596b0d90a65dab5ed5ce5c2dd65862b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43aef4541bc88db9f74877d012a55fc052891051ccbdc9360357af66c876cd11d2e48398fbf6ea617513a40f6f2f9bc721da6345c01971007b6484a06346046c
|
7
|
+
data.tar.gz: a099337f9ae57f2954bab11add9d43a29773ac77f3429f693a6f7845fdf5099147f1d2c1423dccc7d01e302f66e7ea2c86bb2f17c0fd35400fdb70533da1f66d
|
data/CHANGES.md
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
twilio-ruby changelog
|
2
2
|
=====================
|
3
3
|
|
4
|
+
[2021-09-22] Version 5.58.3
|
5
|
+
---------------------------
|
6
|
+
**Events**
|
7
|
+
- Add segment sink
|
8
|
+
|
9
|
+
**Messaging**
|
10
|
+
- Add post_approval_required attribute in GET us_app_to_person_usecase api response
|
11
|
+
- Add Identity Status, Russell 3000, Tax Exempt Status and Should Skip SecVet fields for Brand Registrations
|
12
|
+
- Add Should Skip Secondary Vetting optional flag parameter to create Brand API
|
13
|
+
|
14
|
+
|
4
15
|
[2021-09-08] Version 5.58.2
|
5
16
|
---------------------------
|
6
17
|
**Library - Fix**
|
data/README.md
CHANGED
@@ -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.58.
|
38
|
+
gem 'twilio-ruby', '~> 5.58.3'
|
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.58.
|
44
|
+
gem install twilio-ruby -v 5.58.3
|
45
45
|
```
|
46
46
|
|
47
47
|
To build and install the development branch yourself from the latest source:
|
@@ -115,13 +115,16 @@ module Twilio
|
|
115
115
|
# @param [Boolean] mock A boolean that specifies whether brand should be a mock or
|
116
116
|
# not. If true, brand will be registered as a mock brand. Defaults to false if no
|
117
117
|
# value is provided.
|
118
|
+
# @param [Boolean] skip_automatic_sec_vet A flag to disable automatic secondary
|
119
|
+
# vetting for brands which it would otherwise be done.
|
118
120
|
# @return [BrandRegistrationInstance] Created BrandRegistrationInstance
|
119
|
-
def create(customer_profile_bundle_sid: nil, a2p_profile_bundle_sid: nil, brand_type: :unset, mock: :unset)
|
121
|
+
def create(customer_profile_bundle_sid: nil, a2p_profile_bundle_sid: nil, brand_type: :unset, mock: :unset, skip_automatic_sec_vet: :unset)
|
120
122
|
data = Twilio::Values.of({
|
121
123
|
'CustomerProfileBundleSid' => customer_profile_bundle_sid,
|
122
124
|
'A2PProfileBundleSid' => a2p_profile_bundle_sid,
|
123
125
|
'BrandType' => brand_type,
|
124
126
|
'Mock' => mock,
|
127
|
+
'SkipAutomaticSecVet' => skip_automatic_sec_vet,
|
125
128
|
})
|
126
129
|
|
127
130
|
payload = @version.create('POST', @uri, data: data)
|
@@ -233,6 +236,10 @@ module Twilio
|
|
233
236
|
'failure_reason' => payload['failure_reason'],
|
234
237
|
'url' => payload['url'],
|
235
238
|
'brand_score' => payload['brand_score'] == nil ? payload['brand_score'] : payload['brand_score'].to_i,
|
239
|
+
'identity_status' => payload['identity_status'],
|
240
|
+
'russell_3000' => payload['russell_3000'],
|
241
|
+
'tax_exempt_status' => payload['tax_exempt_status'],
|
242
|
+
'skip_automatic_sec_vet' => payload['skip_automatic_sec_vet'],
|
236
243
|
'mock' => payload['mock'],
|
237
244
|
}
|
238
245
|
|
@@ -324,6 +331,30 @@ module Twilio
|
|
324
331
|
@properties['brand_score']
|
325
332
|
end
|
326
333
|
|
334
|
+
##
|
335
|
+
# @return [brand_registration.IdentityStatus] Identity Status
|
336
|
+
def identity_status
|
337
|
+
@properties['identity_status']
|
338
|
+
end
|
339
|
+
|
340
|
+
##
|
341
|
+
# @return [Boolean] Russell 3000
|
342
|
+
def russell_3000
|
343
|
+
@properties['russell_3000']
|
344
|
+
end
|
345
|
+
|
346
|
+
##
|
347
|
+
# @return [String] Tax Exempt Status
|
348
|
+
def tax_exempt_status
|
349
|
+
@properties['tax_exempt_status']
|
350
|
+
end
|
351
|
+
|
352
|
+
##
|
353
|
+
# @return [Boolean] Skip Automatic Secondary Vetting
|
354
|
+
def skip_automatic_sec_vet
|
355
|
+
@properties['skip_automatic_sec_vet']
|
356
|
+
end
|
357
|
+
|
327
358
|
##
|
328
359
|
# @return [Boolean] A boolean that specifies whether brand should be a mock or not. If true, brand will be registered as a mock brand. Defaults to false if no value is provided.
|
329
360
|
def mock
|
@@ -34,12 +34,14 @@ module Twilio
|
|
34
34
|
# status changes.
|
35
35
|
# @param [String] regulation_sid The unique string of a regulation that is
|
36
36
|
# associated to the Bundle resource.
|
37
|
-
# @param [String] iso_country The ISO country
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
37
|
+
# @param [String] iso_country The {ISO country
|
38
|
+
# code}[https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2] of the Bundle's phone
|
39
|
+
# number country ownership request.
|
40
|
+
# @param [bundle.EndUserType] end_user_type The {type of End
|
41
|
+
# User}[https://www.twilio.com/docs/phone-numbers/regulatory/api/end-user-types]
|
42
|
+
# of the Bundle resource.
|
41
43
|
# @param [String] number_type The type of phone number of the Bundle's ownership
|
42
|
-
# request.
|
44
|
+
# request. Can be `local`, `mobile`, `national`, or `toll free`.
|
43
45
|
# @return [BundleInstance] Created BundleInstance
|
44
46
|
def create(friendly_name: nil, email: nil, status_callback: :unset, regulation_sid: :unset, iso_country: :unset, end_user_type: :unset, number_type: :unset)
|
45
47
|
data = Twilio::Values.of({
|
@@ -66,10 +68,11 @@ module Twilio
|
|
66
68
|
# resource.
|
67
69
|
# @param [String] regulation_sid The unique string of a regulation that is
|
68
70
|
# associated to the Bundle resource.
|
69
|
-
# @param [String] iso_country The ISO country
|
70
|
-
#
|
71
|
+
# @param [String] iso_country The {ISO country
|
72
|
+
# code}[https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2] of the Bundle's phone
|
73
|
+
# number country ownership request.
|
71
74
|
# @param [String] number_type The type of phone number of the Bundle's ownership
|
72
|
-
# request.
|
75
|
+
# request. Can be `local`, `mobile`, `national`, or `toll free`.
|
73
76
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
74
77
|
# guarantees to never return more than limit. Default is no limit
|
75
78
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -98,10 +101,11 @@ module Twilio
|
|
98
101
|
# resource.
|
99
102
|
# @param [String] regulation_sid The unique string of a regulation that is
|
100
103
|
# associated to the Bundle resource.
|
101
|
-
# @param [String] iso_country The ISO country
|
102
|
-
#
|
104
|
+
# @param [String] iso_country The {ISO country
|
105
|
+
# code}[https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2] of the Bundle's phone
|
106
|
+
# number country ownership request.
|
103
107
|
# @param [String] number_type The type of phone number of the Bundle's ownership
|
104
|
-
# request.
|
108
|
+
# request. Can be `local`, `mobile`, `national`, or `toll free`.
|
105
109
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
106
110
|
# guarantees to never return more than limit. Default is no limit.
|
107
111
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -146,10 +150,11 @@ module Twilio
|
|
146
150
|
# resource.
|
147
151
|
# @param [String] regulation_sid The unique string of a regulation that is
|
148
152
|
# associated to the Bundle resource.
|
149
|
-
# @param [String] iso_country The ISO country
|
150
|
-
#
|
153
|
+
# @param [String] iso_country The {ISO country
|
154
|
+
# code}[https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2] of the Bundle's phone
|
155
|
+
# number country ownership request.
|
151
156
|
# @param [String] number_type The type of phone number of the Bundle's ownership
|
152
|
-
# request.
|
157
|
+
# request. Can be `local`, `mobile`, `national`, or `toll free`.
|
153
158
|
# @param [String] page_token PageToken provided by the API
|
154
159
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
155
160
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
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.58.
|
4
|
+
version: 5.58.3
|
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-09-
|
11
|
+
date: 2021-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|