twilio-ruby 6.6.0 → 6.7.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 +4 -4
- data/CHANGES.md +24 -0
- data/CONTRIBUTING.md +1 -1
- data/LICENSE +1 -1
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -7
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -8
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +3 -13
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/safelist.rb +169 -0
- data/lib/twilio-ruby/rest/api/v2010.rb +6 -0
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +3 -3
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -1
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +4 -4
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -2
- data/lib/twilio-ruby/rest/chat/v3/channel.rb +3 -3
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -3
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +10 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +22 -4
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +10 -1
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +25 -7
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +7 -0
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +6 -6
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +3 -3
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -1
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +4 -4
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +2 -2
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +4 -4
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +3 -3
- data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +3 -3
- data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +2 -2
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -3
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -4
- data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +3 -3
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -1
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -2
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -2
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -1
- data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -2
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -2
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +4 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -1
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -3
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -1
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -1
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -1
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -1
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -2
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -2
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +1 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -2
- data/lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb +232 -0
- data/lib/twilio-ruby/rest/trusthub/v1.rb +15 -0
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -1
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -3
- data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +4 -4
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -1
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -3
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +4 -2
|
@@ -229,7 +229,7 @@ module Twilio
|
|
|
229
229
|
|
|
230
230
|
unless @sync_map_items
|
|
231
231
|
@sync_map_items = SyncMapItemList.new(
|
|
232
|
-
@version, service_sid: @solution[:service_sid],
|
|
232
|
+
@version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
|
|
233
233
|
end
|
|
234
234
|
|
|
235
235
|
@sync_map_items
|
|
@@ -248,7 +248,7 @@ module Twilio
|
|
|
248
248
|
|
|
249
249
|
unless @sync_map_permissions
|
|
250
250
|
@sync_map_permissions = SyncMapPermissionList.new(
|
|
251
|
-
@version, service_sid: @solution[:service_sid],
|
|
251
|
+
@version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
|
|
252
252
|
end
|
|
253
253
|
|
|
254
254
|
@sync_map_permissions
|
|
@@ -215,7 +215,7 @@ module Twilio
|
|
|
215
215
|
def stream_messages
|
|
216
216
|
unless @stream_messages
|
|
217
217
|
@stream_messages = StreamMessageList.new(
|
|
218
|
-
@version, service_sid: @solution[:service_sid],
|
|
218
|
+
@version, service_sid: @solution[:service_sid], stream_sid: @solution[:sid], )
|
|
219
219
|
end
|
|
220
220
|
@stream_messages
|
|
221
221
|
end
|
|
@@ -305,7 +305,7 @@ module Twilio
|
|
|
305
305
|
|
|
306
306
|
unless @reservations
|
|
307
307
|
@reservations = ReservationList.new(
|
|
308
|
-
@version, workspace_sid: @solution[:workspace_sid],
|
|
308
|
+
@version, workspace_sid: @solution[:workspace_sid], task_sid: @solution[:sid], )
|
|
309
309
|
end
|
|
310
310
|
|
|
311
311
|
@reservations
|
|
@@ -300,7 +300,7 @@ module Twilio
|
|
|
300
300
|
|
|
301
301
|
unless @reservations
|
|
302
302
|
@reservations = ReservationList.new(
|
|
303
|
-
@version, workspace_sid: @solution[:workspace_sid],
|
|
303
|
+
@version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
|
|
304
304
|
end
|
|
305
305
|
|
|
306
306
|
@reservations
|
|
@@ -352,7 +352,7 @@ module Twilio
|
|
|
352
352
|
|
|
353
353
|
unless @worker_channels
|
|
354
354
|
@worker_channels = WorkerChannelList.new(
|
|
355
|
-
@version, workspace_sid: @solution[:workspace_sid],
|
|
355
|
+
@version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
|
|
356
356
|
end
|
|
357
357
|
|
|
358
358
|
@worker_channels
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
##
|
|
2
|
+
# This code was generated by
|
|
3
|
+
# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
4
|
+
# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
5
|
+
# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
6
|
+
#
|
|
7
|
+
# Twilio - Trusthub
|
|
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 Trusthub < TrusthubBase
|
|
19
|
+
class V1 < Version
|
|
20
|
+
class ComplianceInquiriesList < ListResource
|
|
21
|
+
##
|
|
22
|
+
# Initialize the ComplianceInquiriesList
|
|
23
|
+
# @param [Version] version Version that contains the resource
|
|
24
|
+
# @return [ComplianceInquiriesList] ComplianceInquiriesList
|
|
25
|
+
def initialize(version)
|
|
26
|
+
super(version)
|
|
27
|
+
# Path Solution
|
|
28
|
+
@solution = { }
|
|
29
|
+
@uri = "/ComplianceInquiries/Customers/Initialize"
|
|
30
|
+
|
|
31
|
+
end
|
|
32
|
+
##
|
|
33
|
+
# Create the ComplianceInquiriesInstance
|
|
34
|
+
# @param [String] primary_profile_sid The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
|
|
35
|
+
# @return [ComplianceInquiriesInstance] Created ComplianceInquiriesInstance
|
|
36
|
+
def create(
|
|
37
|
+
primary_profile_sid: nil
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
data = Twilio::Values.of({
|
|
41
|
+
'PrimaryProfileSid' => primary_profile_sid,
|
|
42
|
+
})
|
|
43
|
+
|
|
44
|
+
payload = @version.create('POST', @uri, data: data)
|
|
45
|
+
ComplianceInquiriesInstance.new(
|
|
46
|
+
@version,
|
|
47
|
+
payload,
|
|
48
|
+
)
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
# Provide a user friendly representation
|
|
55
|
+
def to_s
|
|
56
|
+
'#<Twilio.Trusthub.V1.ComplianceInquiriesList>'
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
class ComplianceInquiriesContext < InstanceContext
|
|
62
|
+
##
|
|
63
|
+
# Initialize the ComplianceInquiriesContext
|
|
64
|
+
# @param [Version] version Version that contains the resource
|
|
65
|
+
# @param [String] customer_id The unique CustomerId matching the Customer Profile/Compliance Inquiry that should be resumed or resubmitted. This value will have been returned by the initial Compliance Inquiry creation call.
|
|
66
|
+
# @return [ComplianceInquiriesContext] ComplianceInquiriesContext
|
|
67
|
+
def initialize(version, customer_id)
|
|
68
|
+
super(version)
|
|
69
|
+
|
|
70
|
+
# Path Solution
|
|
71
|
+
@solution = { customer_id: customer_id, }
|
|
72
|
+
@uri = "/ComplianceInquiries/Customers/#{@solution[:customer_id]}/Initialize"
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
end
|
|
76
|
+
##
|
|
77
|
+
# Update the ComplianceInquiriesInstance
|
|
78
|
+
# @param [String] primary_profile_sid The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
|
|
79
|
+
# @return [ComplianceInquiriesInstance] Updated ComplianceInquiriesInstance
|
|
80
|
+
def update(
|
|
81
|
+
primary_profile_sid: nil
|
|
82
|
+
)
|
|
83
|
+
|
|
84
|
+
data = Twilio::Values.of({
|
|
85
|
+
'PrimaryProfileSid' => primary_profile_sid,
|
|
86
|
+
})
|
|
87
|
+
|
|
88
|
+
payload = @version.update('POST', @uri, data: data)
|
|
89
|
+
ComplianceInquiriesInstance.new(
|
|
90
|
+
@version,
|
|
91
|
+
payload,
|
|
92
|
+
customer_id: @solution[:customer_id],
|
|
93
|
+
)
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
##
|
|
98
|
+
# Provide a user friendly representation
|
|
99
|
+
def to_s
|
|
100
|
+
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
|
101
|
+
"#<Twilio.Trusthub.V1.ComplianceInquiriesContext #{context}>"
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
##
|
|
105
|
+
# Provide a detailed, user friendly representation
|
|
106
|
+
def inspect
|
|
107
|
+
context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
|
|
108
|
+
"#<Twilio.Trusthub.V1.ComplianceInquiriesContext #{context}>"
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
class ComplianceInquiriesPage < Page
|
|
113
|
+
##
|
|
114
|
+
# Initialize the ComplianceInquiriesPage
|
|
115
|
+
# @param [Version] version Version that contains the resource
|
|
116
|
+
# @param [Response] response Response from the API
|
|
117
|
+
# @param [Hash] solution Path solution for the resource
|
|
118
|
+
# @return [ComplianceInquiriesPage] ComplianceInquiriesPage
|
|
119
|
+
def initialize(version, response, solution)
|
|
120
|
+
super(version, response)
|
|
121
|
+
|
|
122
|
+
# Path Solution
|
|
123
|
+
@solution = solution
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
##
|
|
127
|
+
# Build an instance of ComplianceInquiriesInstance
|
|
128
|
+
# @param [Hash] payload Payload response from the API
|
|
129
|
+
# @return [ComplianceInquiriesInstance] ComplianceInquiriesInstance
|
|
130
|
+
def get_instance(payload)
|
|
131
|
+
ComplianceInquiriesInstance.new(@version, payload)
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
##
|
|
135
|
+
# Provide a user friendly representation
|
|
136
|
+
def to_s
|
|
137
|
+
'<Twilio.Trusthub.V1.ComplianceInquiriesPage>'
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
class ComplianceInquiriesInstance < InstanceResource
|
|
141
|
+
##
|
|
142
|
+
# Initialize the ComplianceInquiriesInstance
|
|
143
|
+
# @param [Version] version Version that contains the resource
|
|
144
|
+
# @param [Hash] payload payload that contains response from Twilio
|
|
145
|
+
# @param [String] account_sid The SID of the
|
|
146
|
+
# {Account}[https://www.twilio.com/docs/iam/api/account] that created this ComplianceInquiries
|
|
147
|
+
# resource.
|
|
148
|
+
# @param [String] sid The SID of the Call resource to fetch.
|
|
149
|
+
# @return [ComplianceInquiriesInstance] ComplianceInquiriesInstance
|
|
150
|
+
def initialize(version, payload , customer_id: nil)
|
|
151
|
+
super(version)
|
|
152
|
+
|
|
153
|
+
# Marshaled Properties
|
|
154
|
+
@properties = {
|
|
155
|
+
'inquiry_id' => payload['inquiry_id'],
|
|
156
|
+
'inquiry_session_token' => payload['inquiry_session_token'],
|
|
157
|
+
'customer_id' => payload['customer_id'],
|
|
158
|
+
'url' => payload['url'],
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
# Context
|
|
162
|
+
@instance_context = nil
|
|
163
|
+
@params = { 'customer_id' => customer_id || @properties['customer_id'] , }
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
##
|
|
167
|
+
# Generate an instance context for the instance, the context is capable of
|
|
168
|
+
# performing various actions. All instance actions are proxied to the context
|
|
169
|
+
# @return [ComplianceInquiriesContext] CallContext for this CallInstance
|
|
170
|
+
def context
|
|
171
|
+
unless @instance_context
|
|
172
|
+
@instance_context = ComplianceInquiriesContext.new(@version , @params['customer_id'])
|
|
173
|
+
end
|
|
174
|
+
@instance_context
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
##
|
|
178
|
+
# @return [String] The unique ID used to start an embedded compliance registration session.
|
|
179
|
+
def inquiry_id
|
|
180
|
+
@properties['inquiry_id']
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
##
|
|
184
|
+
# @return [String] The session token used to start an embedded compliance registration session.
|
|
185
|
+
def inquiry_session_token
|
|
186
|
+
@properties['inquiry_session_token']
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
##
|
|
190
|
+
# @return [String] The CustomerID matching the Customer Profile that should be resumed or resubmitted for editing.
|
|
191
|
+
def customer_id
|
|
192
|
+
@properties['customer_id']
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
##
|
|
196
|
+
# @return [String] The URL of this resource.
|
|
197
|
+
def url
|
|
198
|
+
@properties['url']
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
##
|
|
202
|
+
# Update the ComplianceInquiriesInstance
|
|
203
|
+
# @param [String] primary_profile_sid The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
|
|
204
|
+
# @return [ComplianceInquiriesInstance] Updated ComplianceInquiriesInstance
|
|
205
|
+
def update(
|
|
206
|
+
primary_profile_sid: nil
|
|
207
|
+
)
|
|
208
|
+
|
|
209
|
+
context.update(
|
|
210
|
+
primary_profile_sid: primary_profile_sid,
|
|
211
|
+
)
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
##
|
|
215
|
+
# Provide a user friendly representation
|
|
216
|
+
def to_s
|
|
217
|
+
values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
|
|
218
|
+
"<Twilio.Trusthub.V1.ComplianceInquiriesInstance #{values}>"
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
##
|
|
222
|
+
# Provide a detailed, user friendly representation
|
|
223
|
+
def inspect
|
|
224
|
+
values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
|
|
225
|
+
"<Twilio.Trusthub.V1.ComplianceInquiriesInstance #{values}>"
|
|
226
|
+
end
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
end
|
|
230
|
+
end
|
|
231
|
+
end
|
|
232
|
+
end
|
|
@@ -21,6 +21,7 @@ module Twilio
|
|
|
21
21
|
def initialize(domain)
|
|
22
22
|
super
|
|
23
23
|
@version = 'v1'
|
|
24
|
+
@compliance_inquiries = nil
|
|
24
25
|
@customer_profiles = nil
|
|
25
26
|
@end_users = nil
|
|
26
27
|
@end_user_types = nil
|
|
@@ -30,6 +31,20 @@ module Twilio
|
|
|
30
31
|
@trust_products = nil
|
|
31
32
|
end
|
|
32
33
|
|
|
34
|
+
##
|
|
35
|
+
# @param [String] customer_id The unique CustomerId matching the Customer Profile/Compliance Inquiry that should be resumed or resubmitted. This value will have been returned by the initial Compliance Inquiry creation call.
|
|
36
|
+
# @return [Twilio::REST::Trusthub::V1::ComplianceInquiriesContext] if customerId was passed.
|
|
37
|
+
# @return [Twilio::REST::Trusthub::V1::ComplianceInquiriesList]
|
|
38
|
+
def compliance_inquiries(customer_id=:unset)
|
|
39
|
+
if customer_id.nil?
|
|
40
|
+
raise ArgumentError, 'customer_id cannot be nil'
|
|
41
|
+
end
|
|
42
|
+
if customer_id == :unset
|
|
43
|
+
@compliance_inquiries ||= ComplianceInquiriesList.new self
|
|
44
|
+
else
|
|
45
|
+
ComplianceInquiriesContext.new(self, customer_id)
|
|
46
|
+
end
|
|
47
|
+
end
|
|
33
48
|
##
|
|
34
49
|
# @param [String] sid The unique string that we created to identify the Customer-Profile resource.
|
|
35
50
|
# @return [Twilio::REST::Trusthub::V1::CustomerProfilesContext] if sid was passed.
|
|
@@ -245,7 +245,7 @@ module Twilio
|
|
|
245
245
|
def notifications
|
|
246
246
|
unless @notifications
|
|
247
247
|
@notifications = NotificationList.new(
|
|
248
|
-
@version, service_sid: @solution[:service_sid],
|
|
248
|
+
@version, service_sid: @solution[:service_sid], identity: @solution[:identity], challenge_sid: @solution[:sid], )
|
|
249
249
|
end
|
|
250
250
|
@notifications
|
|
251
251
|
end
|
|
@@ -193,7 +193,7 @@ module Twilio
|
|
|
193
193
|
def new_factors
|
|
194
194
|
unless @new_factors
|
|
195
195
|
@new_factors = NewFactorList.new(
|
|
196
|
-
@version, service_sid: @solution[:service_sid],
|
|
196
|
+
@version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
|
|
197
197
|
end
|
|
198
198
|
@new_factors
|
|
199
199
|
end
|
|
@@ -211,7 +211,7 @@ module Twilio
|
|
|
211
211
|
|
|
212
212
|
unless @factors
|
|
213
213
|
@factors = FactorList.new(
|
|
214
|
-
@version, service_sid: @solution[:service_sid],
|
|
214
|
+
@version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
|
|
215
215
|
end
|
|
216
216
|
|
|
217
217
|
@factors
|
|
@@ -230,7 +230,7 @@ module Twilio
|
|
|
230
230
|
|
|
231
231
|
unless @challenges
|
|
232
232
|
@challenges = ChallengeList.new(
|
|
233
|
-
@version, service_sid: @solution[:service_sid],
|
|
233
|
+
@version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
|
|
234
234
|
end
|
|
235
235
|
|
|
236
236
|
@challenges
|
|
@@ -34,7 +34,7 @@ module Twilio
|
|
|
34
34
|
##
|
|
35
35
|
# Create the MessagingConfigurationInstance
|
|
36
36
|
# @param [String] country The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country this configuration will be applied to. If this is a global configuration, Country will take the value `all`.
|
|
37
|
-
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
|
37
|
+
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
|
|
38
38
|
# @return [MessagingConfigurationInstance] Created MessagingConfigurationInstance
|
|
39
39
|
def create(
|
|
40
40
|
country: nil,
|
|
@@ -188,7 +188,7 @@ module Twilio
|
|
|
188
188
|
|
|
189
189
|
##
|
|
190
190
|
# Update the MessagingConfigurationInstance
|
|
191
|
-
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
|
191
|
+
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
|
|
192
192
|
# @return [MessagingConfigurationInstance] Updated MessagingConfigurationInstance
|
|
193
193
|
def update(
|
|
194
194
|
messaging_service_sid: nil
|
|
@@ -310,7 +310,7 @@ module Twilio
|
|
|
310
310
|
end
|
|
311
311
|
|
|
312
312
|
##
|
|
313
|
-
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
|
313
|
+
# @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
|
|
314
314
|
def messaging_service_sid
|
|
315
315
|
@properties['messaging_service_sid']
|
|
316
316
|
end
|
|
@@ -351,7 +351,7 @@ module Twilio
|
|
|
351
351
|
|
|
352
352
|
##
|
|
353
353
|
# Update the MessagingConfigurationInstance
|
|
354
|
-
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/
|
|
354
|
+
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
|
|
355
355
|
# @return [MessagingConfigurationInstance] Updated MessagingConfigurationInstance
|
|
356
356
|
def update(
|
|
357
357
|
messaging_service_sid: nil
|
|
@@ -222,7 +222,7 @@ module Twilio
|
|
|
222
222
|
|
|
223
223
|
unless @buckets
|
|
224
224
|
@buckets = BucketList.new(
|
|
225
|
-
@version, service_sid: @solution[:service_sid],
|
|
225
|
+
@version, service_sid: @solution[:service_sid], rate_limit_sid: @solution[:sid], )
|
|
226
226
|
end
|
|
227
227
|
|
|
228
228
|
@buckets
|
|
@@ -211,7 +211,7 @@ module Twilio
|
|
|
211
211
|
def subscribe_rules
|
|
212
212
|
unless @subscribe_rules
|
|
213
213
|
@subscribe_rules = SubscribeRulesList.new(
|
|
214
|
-
@version, room_sid: @solution[:room_sid],
|
|
214
|
+
@version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
|
|
215
215
|
end
|
|
216
216
|
@subscribe_rules
|
|
217
217
|
end
|
|
@@ -229,7 +229,7 @@ module Twilio
|
|
|
229
229
|
|
|
230
230
|
unless @subscribed_tracks
|
|
231
231
|
@subscribed_tracks = SubscribedTrackList.new(
|
|
232
|
-
@version, room_sid: @solution[:room_sid],
|
|
232
|
+
@version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
|
|
233
233
|
end
|
|
234
234
|
|
|
235
235
|
@subscribed_tracks
|
|
@@ -259,7 +259,7 @@ module Twilio
|
|
|
259
259
|
|
|
260
260
|
unless @published_tracks
|
|
261
261
|
@published_tracks = PublishedTrackList.new(
|
|
262
|
-
@version, room_sid: @solution[:room_sid],
|
|
262
|
+
@version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
|
|
263
263
|
end
|
|
264
264
|
|
|
265
265
|
@published_tracks
|
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: 6.
|
|
4
|
+
version: 6.7.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: 2023-
|
|
11
|
+
date: 2023-10-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jwt
|
|
@@ -332,6 +332,7 @@ files:
|
|
|
332
332
|
- lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb
|
|
333
333
|
- lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb
|
|
334
334
|
- lib/twilio-ruby/rest/api/v2010/account/validation_request.rb
|
|
335
|
+
- lib/twilio-ruby/rest/api/v2010/safelist.rb
|
|
335
336
|
- lib/twilio-ruby/rest/api_base.rb
|
|
336
337
|
- lib/twilio-ruby/rest/autopilot.rb
|
|
337
338
|
- lib/twilio-ruby/rest/autopilot/v1.rb
|
|
@@ -780,6 +781,7 @@ files:
|
|
|
780
781
|
- lib/twilio-ruby/rest/trunking_base.rb
|
|
781
782
|
- lib/twilio-ruby/rest/trusthub.rb
|
|
782
783
|
- lib/twilio-ruby/rest/trusthub/v1.rb
|
|
784
|
+
- lib/twilio-ruby/rest/trusthub/v1/compliance_inquiries.rb
|
|
783
785
|
- lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb
|
|
784
786
|
- lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_channel_endpoint_assignment.rb
|
|
785
787
|
- lib/twilio-ruby/rest/trusthub/v1/customer_profiles/customer_profiles_entity_assignments.rb
|