twilio-ruby 7.8.2 → 7.8.4
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/CHANGES.md +22 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/http/client_token_manager.rb +5 -2
- data/lib/twilio-ruby/http/org_token_manager.rb +5 -2
- data/lib/twilio-ruby/rest/accounts/v1/messaging_geopermissions.rb +161 -0
- data/lib/twilio-ruby/rest/accounts/v1.rb +6 -0
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +6 -6
- data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +3 -3
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +13 -13
- data/lib/twilio-ruby/rest/lookups/v2/query.rb +15 -209
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +202 -3
- data/lib/twilio-ruby/rest/numbers/v1/porting_all_port_in.rb +270 -0
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +14 -0
- data/lib/twilio-ruby/rest/numbers/v1.rb +6 -0
- data/lib/twilio-ruby/rest/verify/v2/service/new_factor.rb +1 -171
- data/lib/twilio-ruby/rest/verify/v2/service/new_verify_factor.rb +267 -0
- data/lib/twilio-ruby/rest/verify/v2/service.rb +12 -12
- data/lib/twilio-ruby/version.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: 717fd198518145a4a13996430b53c260cf1dd222
|
|
4
|
+
data.tar.gz: f1360919d7fb079bfe5a550f01ed535a6cd74caa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8a236114c60303410d32928124cee48a44de3c6df09fdf2010e714588b930ea436c17086271bed1bbf16dd21f3afd170e5da3841f096ca9fdad3691b37bfd98
|
|
7
|
+
data.tar.gz: a625a235409c75329bfb9bcd400e669bfcb3aa7dee9afb8d35b0fefe787c675c6e40803589288ff2ace124bf6104ff2904258956435be514374dde952c120949
|
data/CHANGES.md
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
twilio-ruby changelog
|
|
2
2
|
=====================
|
|
3
3
|
|
|
4
|
+
[2025-10-14] Version 7.8.4
|
|
5
|
+
--------------------------
|
|
6
|
+
**Library - Chore**
|
|
7
|
+
- [PR #763](https://github.com/twilio/twilio-ruby/pull/763): fix test failures. Thanks to [@manisha1997](https://github.com/manisha1997)!
|
|
8
|
+
|
|
9
|
+
**Api**
|
|
10
|
+
- Updated description for property `CallerDisplayName` for participant create request
|
|
11
|
+
- Updated description for property `CallerDisplayName` for participant create request
|
|
12
|
+
|
|
13
|
+
**Accounts**
|
|
14
|
+
- FILE_IS_AUTO_GENERATED: false
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
[2025-09-30] Version 7.8.3
|
|
18
|
+
--------------------------
|
|
19
|
+
**Library - Chore**
|
|
20
|
+
- [PR #762](https://github.com/twilio/twilio-ruby/pull/762): change oauth token endpoint. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
|
|
21
|
+
|
|
22
|
+
**Insights**
|
|
23
|
+
- Replace `field` with `key` in Request Filters and Response Metadata Filters and for Reports API
|
|
24
|
+
|
|
25
|
+
|
|
4
26
|
[2025-09-25] Version 7.8.2
|
|
5
27
|
--------------------------
|
|
6
28
|
**Api**
|
data/README.md
CHANGED
|
@@ -39,13 +39,13 @@ This library supports the following Ruby implementations:
|
|
|
39
39
|
To install using [Bundler][bundler] grab the latest stable version:
|
|
40
40
|
|
|
41
41
|
```ruby
|
|
42
|
-
gem 'twilio-ruby', '~> 7.8.
|
|
42
|
+
gem 'twilio-ruby', '~> 7.8.4'
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
gem install twilio-ruby -v 7.8.
|
|
48
|
+
gem install twilio-ruby -v 7.8.4
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
To build and install the development branch yourself from the latest source:
|
|
@@ -19,8 +19,11 @@ module Twilio
|
|
|
19
19
|
|
|
20
20
|
def fetch_access_token
|
|
21
21
|
client = Twilio::REST::Client.new
|
|
22
|
-
token_instance = client.
|
|
23
|
-
|
|
22
|
+
token_instance = client.oauth.v2.token.create(
|
|
23
|
+
grant_type: @grant_type,
|
|
24
|
+
client_id: @client_id,
|
|
25
|
+
client_secret: @client_secret
|
|
26
|
+
)
|
|
24
27
|
token_instance.access_token
|
|
25
28
|
end
|
|
26
29
|
end
|
|
@@ -19,8 +19,11 @@ module Twilio
|
|
|
19
19
|
|
|
20
20
|
def fetch_access_token
|
|
21
21
|
client = Twilio::REST::Client.new
|
|
22
|
-
token_instance = client.
|
|
23
|
-
|
|
22
|
+
token_instance = client.oauth.v2.token.create(
|
|
23
|
+
grant_type: @grant_type,
|
|
24
|
+
client_id: @client_id,
|
|
25
|
+
client_secret: @client_secret
|
|
26
|
+
)
|
|
24
27
|
token_instance.access_token
|
|
25
28
|
end
|
|
26
29
|
end
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
##
|
|
2
|
+
# This code was generated by
|
|
3
|
+
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
4
|
+
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
5
|
+
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
6
|
+
#
|
|
7
|
+
# Twilio - Accounts
|
|
8
|
+
# This is the public Twilio REST API.
|
|
9
|
+
#
|
|
10
|
+
# NOTE: This class is auto generated by OpenAPI Generator.
|
|
11
|
+
# https://openapi-generator.tech
|
|
12
|
+
# Do not edit the class manually.
|
|
13
|
+
#
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
module Twilio
|
|
17
|
+
module REST
|
|
18
|
+
class Accounts < AccountsBase
|
|
19
|
+
class V1 < Version
|
|
20
|
+
class MessagingGeopermissionsList < ListResource
|
|
21
|
+
|
|
22
|
+
##
|
|
23
|
+
# Initialize the MessagingGeopermissionsList
|
|
24
|
+
# @param [Version] version Version that contains the resource
|
|
25
|
+
# @return [MessagingGeopermissionsList] MessagingGeopermissionsList
|
|
26
|
+
def initialize(version)
|
|
27
|
+
super(version)
|
|
28
|
+
# Path Solution
|
|
29
|
+
@solution = { }
|
|
30
|
+
@uri = "/Messaging/GeoPermissions"
|
|
31
|
+
|
|
32
|
+
end
|
|
33
|
+
##
|
|
34
|
+
# Fetch the MessagingGeopermissionsInstance
|
|
35
|
+
# @param [String] country_code The country code to filter the geo permissions. If provided, only the geo permission for the specified country will be returned.
|
|
36
|
+
# @return [MessagingGeopermissionsInstance] Fetched MessagingGeopermissionsInstance
|
|
37
|
+
def fetch(
|
|
38
|
+
country_code: :unset
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
params = Twilio::Values.of({
|
|
42
|
+
'CountryCode' => country_code,
|
|
43
|
+
})
|
|
44
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
payload = @version.fetch('GET', @uri, params: params, headers: headers)
|
|
51
|
+
MessagingGeopermissionsInstance.new(
|
|
52
|
+
@version,
|
|
53
|
+
payload,
|
|
54
|
+
)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
##
|
|
58
|
+
# Update the MessagingGeopermissionsInstance
|
|
59
|
+
# @param [Array[Hash]] permissions A list of objects where each object represents the Geo Permission to be updated. Each object contains the following fields: `country_code`, unique code for each country of Geo Permission; `type`, permission type of the Geo Permission i.e. country; `enabled`, configure true for enabling the Geo Permission, false for disabling the Geo Permission.
|
|
60
|
+
# @return [MessagingGeopermissionsInstance] Updated MessagingGeopermissionsInstance
|
|
61
|
+
def update(
|
|
62
|
+
permissions: nil
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
data = Twilio::Values.of({
|
|
66
|
+
'Permissions' => Twilio.serialize_list(permissions) { |e| Twilio.serialize_object(e) },
|
|
67
|
+
})
|
|
68
|
+
|
|
69
|
+
headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
payload = @version.update('PATCH', @uri, data: data, headers: headers)
|
|
76
|
+
MessagingGeopermissionsInstance.new(
|
|
77
|
+
@version,
|
|
78
|
+
payload,
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
# Provide a user friendly representation
|
|
86
|
+
def to_s
|
|
87
|
+
'#<Twilio.Accounts.V1.MessagingGeopermissionsList>'
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class MessagingGeopermissionsPage < Page
|
|
92
|
+
##
|
|
93
|
+
# Initialize the MessagingGeopermissionsPage
|
|
94
|
+
# @param [Version] version Version that contains the resource
|
|
95
|
+
# @param [Response] response Response from the API
|
|
96
|
+
# @param [Hash] solution Path solution for the resource
|
|
97
|
+
# @return [MessagingGeopermissionsPage] MessagingGeopermissionsPage
|
|
98
|
+
def initialize(version, response, solution)
|
|
99
|
+
super(version, response)
|
|
100
|
+
|
|
101
|
+
# Path Solution
|
|
102
|
+
@solution = solution
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
##
|
|
106
|
+
# Build an instance of MessagingGeopermissionsInstance
|
|
107
|
+
# @param [Hash] payload Payload response from the API
|
|
108
|
+
# @return [MessagingGeopermissionsInstance] MessagingGeopermissionsInstance
|
|
109
|
+
def get_instance(payload)
|
|
110
|
+
MessagingGeopermissionsInstance.new(@version, payload)
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
##
|
|
114
|
+
# Provide a user friendly representation
|
|
115
|
+
def to_s
|
|
116
|
+
'<Twilio.Accounts.V1.MessagingGeopermissionsPage>'
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
class MessagingGeopermissionsInstance < InstanceResource
|
|
120
|
+
##
|
|
121
|
+
# Initialize the MessagingGeopermissionsInstance
|
|
122
|
+
# @param [Version] version Version that contains the resource
|
|
123
|
+
# @param [Hash] payload payload that contains response from Twilio
|
|
124
|
+
# @param [String] account_sid The SID of the
|
|
125
|
+
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this MessagingGeopermissions
|
|
126
|
+
# resource.
|
|
127
|
+
# @param [String] sid The SID of the Call resource to fetch.
|
|
128
|
+
# @return [MessagingGeopermissionsInstance] MessagingGeopermissionsInstance
|
|
129
|
+
def initialize(version, payload )
|
|
130
|
+
super(version)
|
|
131
|
+
|
|
132
|
+
# Marshaled Properties
|
|
133
|
+
@properties = {
|
|
134
|
+
'permissions' => payload['permissions'],
|
|
135
|
+
}
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
##
|
|
140
|
+
# @return [Hash] A list of objects where each object represents the result of processing a messaging Geo Permission. Each object contains the following fields: `country_code`, the country code of the country for which the permission was updated; `type`, the type of the permission i.e. country; `enabled`, true if the permission is enabled else false; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.
|
|
141
|
+
def permissions
|
|
142
|
+
@properties['permissions']
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
##
|
|
146
|
+
# Provide a user friendly representation
|
|
147
|
+
def to_s
|
|
148
|
+
"<Twilio.Accounts.V1.MessagingGeopermissionsInstance>"
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
##
|
|
152
|
+
# Provide a detailed, user friendly representation
|
|
153
|
+
def inspect
|
|
154
|
+
"<Twilio.Accounts.V1.MessagingGeopermissionsInstance>"
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
end
|
|
@@ -25,6 +25,7 @@ module Twilio
|
|
|
25
25
|
@bulk_consents = nil
|
|
26
26
|
@bulk_contacts = nil
|
|
27
27
|
@credentials = nil
|
|
28
|
+
@messaging_geopermissions = nil
|
|
28
29
|
@safelist = nil
|
|
29
30
|
@secondary_auth_token = nil
|
|
30
31
|
end
|
|
@@ -50,6 +51,11 @@ module Twilio
|
|
|
50
51
|
@credentials ||= CredentialList.new self
|
|
51
52
|
end
|
|
52
53
|
##
|
|
54
|
+
# @return [Twilio::REST::Accounts::V1::MessagingGeopermissionsList]
|
|
55
|
+
def messaging_geopermissions
|
|
56
|
+
@messaging_geopermissions ||= MessagingGeopermissionsList.new self
|
|
57
|
+
end
|
|
58
|
+
##
|
|
53
59
|
# @return [Twilio::REST::Accounts::V1::SafelistList]
|
|
54
60
|
def safelist
|
|
55
61
|
@safelist ||= SafelistList.new self
|
|
@@ -83,7 +83,7 @@ module Twilio
|
|
|
83
83
|
# @param [String] amd_status_callback_method The HTTP method we should use when calling the `amd_status_callback` URL. Can be: `GET` or `POST` and the default is `POST`.
|
|
84
84
|
# @param [String] trim Whether to trim any leading and trailing silence from the participant recording. Can be: `trim-silence` or `do-not-trim` and the default is `trim-silence`.
|
|
85
85
|
# @param [String] call_token A token string needed to invoke a forwarded call. A call_token is generated when an incoming call is received on a Twilio number. Pass an incoming call's call_token value to a forwarded call via the call_token parameter when creating a new call. A forwarded call should bear the same CallerID of the original incoming call.
|
|
86
|
-
# @param [String] caller_display_name The name that
|
|
86
|
+
# @param [String] caller_display_name The name that populates the display name in the From header. Must be between 2 and 255 characters. Only applicable for calls to sip address.
|
|
87
87
|
# @return [ParticipantInstance] Created ParticipantInstance
|
|
88
88
|
def create(
|
|
89
89
|
from: nil,
|
|
@@ -132,8 +132,8 @@ module Twilio
|
|
|
132
132
|
# Lists MessageInstance records from the API as a list.
|
|
133
133
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
134
134
|
# memory before returning.
|
|
135
|
-
# @param [String] to Filter by recipient. For example: Set this
|
|
136
|
-
# @param [String] from Filter by sender. For example: Set this
|
|
135
|
+
# @param [String] to Filter by recipient. For example: Set this parameter to `+15558881111` to retrieve a list of Message resources sent to `+15558881111`.
|
|
136
|
+
# @param [String] from Filter by sender. For example: Set this parameter to `+15552229999` to retrieve a list of Message resources sent by `+15552229999`.
|
|
137
137
|
# @param [Time] date_sent Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
|
138
138
|
# @param [Time] date_sent_before Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
|
139
139
|
# @param [Time] date_sent_after Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
|
@@ -160,8 +160,8 @@ module Twilio
|
|
|
160
160
|
# Streams Instance records from the API as an Enumerable.
|
|
161
161
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
162
162
|
# is reached.
|
|
163
|
-
# @param [String] to Filter by recipient. For example: Set this
|
|
164
|
-
# @param [String] from Filter by sender. For example: Set this
|
|
163
|
+
# @param [String] to Filter by recipient. For example: Set this parameter to `+15558881111` to retrieve a list of Message resources sent to `+15558881111`.
|
|
164
|
+
# @param [String] from Filter by sender. For example: Set this parameter to `+15552229999` to retrieve a list of Message resources sent by `+15552229999`.
|
|
165
165
|
# @param [Time] date_sent Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
|
166
166
|
# @param [Time] date_sent_before Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
|
167
167
|
# @param [Time] date_sent_after Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
|
@@ -203,8 +203,8 @@ module Twilio
|
|
|
203
203
|
##
|
|
204
204
|
# Retrieve a single page of MessageInstance records from the API.
|
|
205
205
|
# Request is executed immediately.
|
|
206
|
-
# @param [String] to Filter by recipient. For example: Set this
|
|
207
|
-
# @param [String] from Filter by sender. For example: Set this
|
|
206
|
+
# @param [String] to Filter by recipient. For example: Set this parameter to `+15558881111` to retrieve a list of Message resources sent to `+15558881111`.
|
|
207
|
+
# @param [String] from Filter by sender. For example: Set this parameter to `+15552229999` to retrieve a list of Message resources sent by `+15552229999`.
|
|
208
208
|
# @param [Time] date_sent Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
|
209
209
|
# @param [Time] date_sent_before Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
|
210
210
|
# @param [Time] date_sent_after Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
|
|
@@ -37,7 +37,7 @@ module Twilio
|
|
|
37
37
|
# Lists BindingInstance records from the API as a list.
|
|
38
38
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
39
39
|
# memory before returning.
|
|
40
|
-
# @param [Array[BindingType]] binding_type The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `
|
|
40
|
+
# @param [Array[BindingType]] binding_type The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, `fcm`, or `twilsock`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
|
|
41
41
|
# @param [Array[String]] identity The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details.
|
|
42
42
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
43
43
|
# guarantees to never return more than limit. Default is no limit
|
|
@@ -59,7 +59,7 @@ module Twilio
|
|
|
59
59
|
# Streams Instance records from the API as an Enumerable.
|
|
60
60
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
61
61
|
# is reached.
|
|
62
|
-
# @param [Array[BindingType]] binding_type The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `
|
|
62
|
+
# @param [Array[BindingType]] binding_type The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, `fcm`, or `twilsock`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
|
|
63
63
|
# @param [Array[String]] identity The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details.
|
|
64
64
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
65
65
|
# guarantees to never return more than limit. Default is no limit
|
|
@@ -96,7 +96,7 @@ module Twilio
|
|
|
96
96
|
##
|
|
97
97
|
# Retrieve a single page of BindingInstance records from the API.
|
|
98
98
|
# Request is executed immediately.
|
|
99
|
-
# @param [Array[BindingType]] binding_type The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `
|
|
99
|
+
# @param [Array[BindingType]] binding_type The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, `fcm`, or `twilsock`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
|
|
100
100
|
# @param [Array[String]] identity The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details.
|
|
101
101
|
# @param [String] page_token PageToken provided by the API
|
|
102
102
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
@@ -190,8 +190,8 @@ module Twilio
|
|
|
190
190
|
'caller_name' => payload['caller_name'],
|
|
191
191
|
'sim_swap' => payload['sim_swap'],
|
|
192
192
|
'call_forwarding' => payload['call_forwarding'],
|
|
193
|
-
'line_status' => payload['line_status'],
|
|
194
193
|
'line_type_intelligence' => payload['line_type_intelligence'],
|
|
194
|
+
'line_status' => payload['line_status'],
|
|
195
195
|
'identity_match' => payload['identity_match'],
|
|
196
196
|
'reassigned_number' => payload['reassigned_number'],
|
|
197
197
|
'sms_pumping_risk' => payload['sms_pumping_risk'],
|
|
@@ -253,49 +253,49 @@ module Twilio
|
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
##
|
|
256
|
-
# @return [
|
|
256
|
+
# @return [CallerName]
|
|
257
257
|
def caller_name
|
|
258
258
|
@properties['caller_name']
|
|
259
259
|
end
|
|
260
260
|
|
|
261
261
|
##
|
|
262
|
-
# @return [
|
|
262
|
+
# @return [SimSwap]
|
|
263
263
|
def sim_swap
|
|
264
264
|
@properties['sim_swap']
|
|
265
265
|
end
|
|
266
266
|
|
|
267
267
|
##
|
|
268
|
-
# @return [
|
|
268
|
+
# @return [CallForwarding]
|
|
269
269
|
def call_forwarding
|
|
270
270
|
@properties['call_forwarding']
|
|
271
271
|
end
|
|
272
272
|
|
|
273
273
|
##
|
|
274
|
-
# @return [
|
|
275
|
-
def
|
|
276
|
-
@properties['
|
|
274
|
+
# @return [LineTypeIntelligence]
|
|
275
|
+
def line_type_intelligence
|
|
276
|
+
@properties['line_type_intelligence']
|
|
277
277
|
end
|
|
278
278
|
|
|
279
279
|
##
|
|
280
|
-
# @return [
|
|
281
|
-
def
|
|
282
|
-
@properties['
|
|
280
|
+
# @return [LineStatus]
|
|
281
|
+
def line_status
|
|
282
|
+
@properties['line_status']
|
|
283
283
|
end
|
|
284
284
|
|
|
285
285
|
##
|
|
286
|
-
# @return [
|
|
286
|
+
# @return [IdentityMatch]
|
|
287
287
|
def identity_match
|
|
288
288
|
@properties['identity_match']
|
|
289
289
|
end
|
|
290
290
|
|
|
291
291
|
##
|
|
292
|
-
# @return [
|
|
292
|
+
# @return [ReassignedNumber]
|
|
293
293
|
def reassigned_number
|
|
294
294
|
@properties['reassigned_number']
|
|
295
295
|
end
|
|
296
296
|
|
|
297
297
|
##
|
|
298
|
-
# @return [
|
|
298
|
+
# @return [SmsPumpingRisk]
|
|
299
299
|
def sms_pumping_risk
|
|
300
300
|
@properties['sms_pumping_risk']
|
|
301
301
|
end
|