twilio-ruby 6.0.0.pre.rc.2 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +92 -40
- data/CONTRIBUTING.md +10 -8
- data/README.md +128 -46
- data/UPGRADE.md +7 -4
- data/advanced-examples/custom-http-client.md +170 -0
- data/lib/twilio-ruby/jwt/access_token.rb +0 -59
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -6
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -42
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -42
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -10
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -6
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -5
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +2 -11
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -5
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -6
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -10
- data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -5
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -16
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -5
- data/lib/twilio-ruby/rest/api/v2010/account.rb +24 -103
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -5
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -10
- data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +6 -24
- data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +2 -9
- data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +3 -15
- data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -6
- data/lib/twilio-ruby/rest/chat/v1/service.rb +3 -12
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +4 -20
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -10
- data/lib/twilio-ruby/rest/chat/v2/service.rb +4 -16
- data/lib/twilio-ruby/rest/client.rb +16 -15
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +1 -5
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +6 -36
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +1 -6
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +6 -39
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -5
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +5 -21
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +1 -4
- data/lib/twilio-ruby/rest/events/v1/schema.rb +1 -4
- data/lib/twilio-ruby/rest/events/v1/sink.rb +2 -10
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +1 -4
- data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +20 -20
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +5 -5
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +23 -23
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +13 -13
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +31 -31
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +13 -86
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +1 -1
- data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +2 -11
- data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +1 -4
- data/lib/twilio-ruby/rest/flex_api/v1.rb +30 -39
- data/lib/twilio-ruby/rest/insights/v1/call.rb +2 -10
- data/lib/twilio-ruby/rest/insights/v1/conference.rb +1 -4
- data/lib/twilio-ruby/rest/insights/v1/room.rb +1 -4
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +3 -15
- data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -6
- data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +3 -12
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +4 -20
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -10
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +4 -16
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +2 -9
- data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +2 -21
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +31 -47
- data/lib/twilio-ruby/rest/messaging/v1.rb +0 -15
- data/lib/twilio-ruby/rest/messaging.rb +1 -1
- data/lib/twilio-ruby/rest/microvisor/v1/device.rb +2 -8
- data/lib/twilio-ruby/rest/microvisor.rb +2 -1
- data/lib/twilio-ruby/rest/notify/v1/service.rb +2 -9
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +4 -18
- data/lib/twilio-ruby/rest/oauth.rb +1 -1
- data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +4 -16
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +1 -5
- data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +1 -4
- data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +1 -4
- data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -5
- data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -10
- data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -10
- data/lib/twilio-ruby/rest/preview/sync/service.rb +3 -12
- data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -5
- data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -10
- data/lib/twilio-ruby/rest/preview/understand/assistant.rb +5 -20
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -6
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -10
- data/lib/twilio-ruby/rest/proxy/v1/service.rb +3 -12
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -5
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -15
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -5
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +4 -16
- data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -5
- data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -5
- data/lib/twilio-ruby/rest/studio/v1/flow.rb +2 -8
- data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -5
- data/lib/twilio-ruby/rest/studio/v2/flow.rb +2 -8
- data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +1 -4
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +2 -10
- data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -5
- data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -10
- data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -10
- data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -6
- data/lib/twilio-ruby/rest/sync/v1/service.rb +4 -16
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +1 -5
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -10
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +7 -28
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +4 -16
- data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +3 -12
- data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +3 -12
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -7
- data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -16
- data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -5
- data/lib/twilio-ruby/rest/verify/v2/service.rb +11 -33
- data/lib/twilio-ruby/rest/verify/v2/template.rb +5 -5
- data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -16
- data/lib/twilio-ruby/rest/video/v1/room.rb +3 -13
- data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +1 -4
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +1 -5
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +2 -10
- data/lib/twilio-ruby/version.rb +1 -1
- data/twilio-ruby.gemspec +1 -1
- metadata +9 -9
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +0 -730
@@ -222,11 +222,7 @@ module Twilio
|
|
222
222
|
|
223
223
|
unless @asset_versions
|
224
224
|
@asset_versions = AssetVersionList.new(
|
225
|
-
@version,
|
226
|
-
service_sid: @solution[:service_sid],
|
227
|
-
asset_sid: @solution[:sid]
|
228
|
-
|
229
|
-
)
|
225
|
+
@version, service_sid: @solution[:service_sid], asset_sid: @solution[:sid], )
|
230
226
|
end
|
231
227
|
|
232
228
|
@asset_versions
|
@@ -206,11 +206,7 @@ module Twilio
|
|
206
206
|
|
207
207
|
unless @logs
|
208
208
|
@logs = LogList.new(
|
209
|
-
@version,
|
210
|
-
service_sid: @solution[:service_sid],
|
211
|
-
environment_sid: @solution[:sid]
|
212
|
-
|
213
|
-
)
|
209
|
+
@version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
|
214
210
|
end
|
215
211
|
|
216
212
|
@logs
|
@@ -229,11 +225,7 @@ module Twilio
|
|
229
225
|
|
230
226
|
unless @variables
|
231
227
|
@variables = VariableList.new(
|
232
|
-
@version,
|
233
|
-
service_sid: @solution[:service_sid],
|
234
|
-
environment_sid: @solution[:sid]
|
235
|
-
|
236
|
-
)
|
228
|
+
@version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
|
237
229
|
end
|
238
230
|
|
239
231
|
@variables
|
@@ -252,11 +244,7 @@ module Twilio
|
|
252
244
|
|
253
245
|
unless @deployments
|
254
246
|
@deployments = DeploymentList.new(
|
255
|
-
@version,
|
256
|
-
service_sid: @solution[:service_sid],
|
257
|
-
environment_sid: @solution[:sid]
|
258
|
-
|
259
|
-
)
|
247
|
+
@version, service_sid: @solution[:service_sid], environment_sid: @solution[:sid], )
|
260
248
|
end
|
261
249
|
|
262
250
|
@deployments
|
@@ -222,11 +222,7 @@ module Twilio
|
|
222
222
|
|
223
223
|
unless @function_versions
|
224
224
|
@function_versions = FunctionVersionList.new(
|
225
|
-
@version,
|
226
|
-
service_sid: @solution[:service_sid],
|
227
|
-
function_sid: @solution[:sid]
|
228
|
-
|
229
|
-
)
|
225
|
+
@version, service_sid: @solution[:service_sid], function_sid: @solution[:sid], )
|
230
226
|
end
|
231
227
|
|
232
228
|
@function_versions
|
@@ -234,10 +234,7 @@ module Twilio
|
|
234
234
|
|
235
235
|
unless @environments
|
236
236
|
@environments = EnvironmentList.new(
|
237
|
-
@version,
|
238
|
-
service_sid: @solution[:sid]
|
239
|
-
|
240
|
-
)
|
237
|
+
@version, service_sid: @solution[:sid], )
|
241
238
|
end
|
242
239
|
|
243
240
|
@environments
|
@@ -256,10 +253,7 @@ module Twilio
|
|
256
253
|
|
257
254
|
unless @functions
|
258
255
|
@functions = FunctionList.new(
|
259
|
-
@version,
|
260
|
-
service_sid: @solution[:sid]
|
261
|
-
|
262
|
-
)
|
256
|
+
@version, service_sid: @solution[:sid], )
|
263
257
|
end
|
264
258
|
|
265
259
|
@functions
|
@@ -278,10 +272,7 @@ module Twilio
|
|
278
272
|
|
279
273
|
unless @builds
|
280
274
|
@builds = BuildList.new(
|
281
|
-
@version,
|
282
|
-
service_sid: @solution[:sid]
|
283
|
-
|
284
|
-
)
|
275
|
+
@version, service_sid: @solution[:sid], )
|
285
276
|
end
|
286
277
|
|
287
278
|
@builds
|
@@ -300,10 +291,7 @@ module Twilio
|
|
300
291
|
|
301
292
|
unless @assets
|
302
293
|
@assets = AssetList.new(
|
303
|
-
@version,
|
304
|
-
service_sid: @solution[:sid]
|
305
|
-
|
306
|
-
)
|
294
|
+
@version, service_sid: @solution[:sid], )
|
307
295
|
end
|
308
296
|
|
309
297
|
@assets
|
@@ -206,11 +206,7 @@ module Twilio
|
|
206
206
|
|
207
207
|
unless @steps
|
208
208
|
@steps = StepList.new(
|
209
|
-
@version,
|
210
|
-
flow_sid: @solution[:flow_sid],
|
211
|
-
engagement_sid: @solution[:sid]
|
212
|
-
|
213
|
-
)
|
209
|
+
@version, flow_sid: @solution[:flow_sid], engagement_sid: @solution[:sid], )
|
214
210
|
end
|
215
211
|
|
216
212
|
@steps
|
@@ -252,11 +252,7 @@ module Twilio
|
|
252
252
|
|
253
253
|
unless @steps
|
254
254
|
@steps = ExecutionStepList.new(
|
255
|
-
@version,
|
256
|
-
flow_sid: @solution[:flow_sid],
|
257
|
-
execution_sid: @solution[:sid]
|
258
|
-
|
259
|
-
)
|
255
|
+
@version, flow_sid: @solution[:flow_sid], execution_sid: @solution[:sid], )
|
260
256
|
end
|
261
257
|
|
262
258
|
@steps
|
@@ -176,10 +176,7 @@ module Twilio
|
|
176
176
|
|
177
177
|
unless @executions
|
178
178
|
@executions = ExecutionList.new(
|
179
|
-
@version,
|
180
|
-
flow_sid: @solution[:sid]
|
181
|
-
|
182
|
-
)
|
179
|
+
@version, flow_sid: @solution[:sid], )
|
183
180
|
end
|
184
181
|
|
185
182
|
@executions
|
@@ -198,10 +195,7 @@ module Twilio
|
|
198
195
|
|
199
196
|
unless @engagements
|
200
197
|
@engagements = EngagementList.new(
|
201
|
-
@version,
|
202
|
-
flow_sid: @solution[:sid]
|
203
|
-
|
204
|
-
)
|
198
|
+
@version, flow_sid: @solution[:sid], )
|
205
199
|
end
|
206
200
|
|
207
201
|
@engagements
|
@@ -252,11 +252,7 @@ module Twilio
|
|
252
252
|
|
253
253
|
unless @steps
|
254
254
|
@steps = ExecutionStepList.new(
|
255
|
-
@version,
|
256
|
-
flow_sid: @solution[:flow_sid],
|
257
|
-
execution_sid: @solution[:sid]
|
258
|
-
|
259
|
-
)
|
255
|
+
@version, flow_sid: @solution[:flow_sid], execution_sid: @solution[:sid], )
|
260
256
|
end
|
261
257
|
|
262
258
|
@steps
|
@@ -234,10 +234,7 @@ module Twilio
|
|
234
234
|
|
235
235
|
unless @executions
|
236
236
|
@executions = ExecutionList.new(
|
237
|
-
@version,
|
238
|
-
flow_sid: @solution[:sid]
|
239
|
-
|
240
|
-
)
|
237
|
+
@version, sid: @solution[:sid], flow_sid: @solution[:sid], )
|
241
238
|
end
|
242
239
|
|
243
240
|
@executions
|
@@ -266,10 +263,7 @@ module Twilio
|
|
266
263
|
|
267
264
|
unless @revisions
|
268
265
|
@revisions = FlowRevisionList.new(
|
269
|
-
@version,
|
270
|
-
flow_sid: @solution[:sid]
|
271
|
-
|
272
|
-
)
|
266
|
+
@version, sid: @solution[:sid], flow_sid: @solution[:sid], )
|
273
267
|
end
|
274
268
|
|
275
269
|
@revisions
|
@@ -211,10 +211,7 @@ module Twilio
|
|
211
211
|
|
212
212
|
unless @networks
|
213
213
|
@networks = NetworkAccessProfileNetworkList.new(
|
214
|
-
@version,
|
215
|
-
network_access_profile_sid: @solution[:sid]
|
216
|
-
|
217
|
-
)
|
214
|
+
@version, network_access_profile_sid: @solution[:sid], )
|
218
215
|
end
|
219
216
|
|
220
217
|
@networks
|
@@ -241,12 +241,8 @@ module Twilio
|
|
241
241
|
def billing_periods
|
242
242
|
unless @billing_periods
|
243
243
|
@billing_periods = BillingPeriodList.new(
|
244
|
-
@version,
|
245
|
-
sim_sid: @solution[:sid]
|
246
|
-
|
247
|
-
)
|
244
|
+
@version, sim_sid: @solution[:sid], )
|
248
245
|
end
|
249
|
-
|
250
246
|
@billing_periods
|
251
247
|
end
|
252
248
|
##
|
@@ -256,12 +252,8 @@ module Twilio
|
|
256
252
|
def sim_ip_addresses
|
257
253
|
unless @sim_ip_addresses
|
258
254
|
@sim_ip_addresses = SimIpAddressList.new(
|
259
|
-
@version,
|
260
|
-
sim_sid: @solution[:sid]
|
261
|
-
|
262
|
-
)
|
255
|
+
@version, sim_sid: @solution[:sid], )
|
263
256
|
end
|
264
|
-
|
265
257
|
@sim_ip_addresses
|
266
258
|
end
|
267
259
|
|
@@ -232,11 +232,7 @@ module Twilio
|
|
232
232
|
|
233
233
|
unless @document_permissions
|
234
234
|
@document_permissions = DocumentPermissionList.new(
|
235
|
-
@version,
|
236
|
-
service_sid: @solution[:service_sid],
|
237
|
-
document_sid: @solution[:sid]
|
238
|
-
|
239
|
-
)
|
235
|
+
@version, service_sid: @solution[:service_sid], document_sid: @solution[:sid], )
|
240
236
|
end
|
241
237
|
|
242
238
|
@document_permissions
|
@@ -230,11 +230,7 @@ module Twilio
|
|
230
230
|
|
231
231
|
unless @sync_list_permissions
|
232
232
|
@sync_list_permissions = SyncListPermissionList.new(
|
233
|
-
@version,
|
234
|
-
service_sid: @solution[:service_sid],
|
235
|
-
sync_list_sid: @solution[:sid]
|
236
|
-
|
237
|
-
)
|
233
|
+
@version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
|
238
234
|
end
|
239
235
|
|
240
236
|
@sync_list_permissions
|
@@ -253,11 +249,7 @@ module Twilio
|
|
253
249
|
|
254
250
|
unless @sync_list_items
|
255
251
|
@sync_list_items = SyncListItemList.new(
|
256
|
-
@version,
|
257
|
-
service_sid: @solution[:service_sid],
|
258
|
-
sync_list_sid: @solution[:sid]
|
259
|
-
|
260
|
-
)
|
252
|
+
@version, service_sid: @solution[:service_sid], list_sid: @solution[:sid], )
|
261
253
|
end
|
262
254
|
|
263
255
|
@sync_list_items
|
@@ -230,11 +230,7 @@ module Twilio
|
|
230
230
|
|
231
231
|
unless @sync_map_items
|
232
232
|
@sync_map_items = SyncMapItemList.new(
|
233
|
-
@version,
|
234
|
-
service_sid: @solution[:service_sid],
|
235
|
-
sync_map_sid: @solution[:sid]
|
236
|
-
|
237
|
-
)
|
233
|
+
@version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
|
238
234
|
end
|
239
235
|
|
240
236
|
@sync_map_items
|
@@ -253,11 +249,7 @@ module Twilio
|
|
253
249
|
|
254
250
|
unless @sync_map_permissions
|
255
251
|
@sync_map_permissions = SyncMapPermissionList.new(
|
256
|
-
@version,
|
257
|
-
service_sid: @solution[:service_sid],
|
258
|
-
sync_map_sid: @solution[:sid]
|
259
|
-
|
260
|
-
)
|
252
|
+
@version, service_sid: @solution[:service_sid], map_sid: @solution[:sid], )
|
261
253
|
end
|
262
254
|
|
263
255
|
@sync_map_permissions
|
@@ -216,13 +216,8 @@ module Twilio
|
|
216
216
|
def stream_messages
|
217
217
|
unless @stream_messages
|
218
218
|
@stream_messages = StreamMessageList.new(
|
219
|
-
@version,
|
220
|
-
service_sid: @solution[:service_sid],
|
221
|
-
sync_stream_sid: @solution[:sid]
|
222
|
-
|
223
|
-
)
|
219
|
+
@version, service_sid: @solution[:service_sid], stream_sid: @solution[:sid], )
|
224
220
|
end
|
225
|
-
|
226
221
|
@stream_messages
|
227
222
|
end
|
228
223
|
|
@@ -253,10 +253,7 @@ module Twilio
|
|
253
253
|
|
254
254
|
unless @sync_streams
|
255
255
|
@sync_streams = SyncStreamList.new(
|
256
|
-
@version,
|
257
|
-
service_sid: @solution[:sid]
|
258
|
-
|
259
|
-
)
|
256
|
+
@version, service_sid: @solution[:sid], )
|
260
257
|
end
|
261
258
|
|
262
259
|
@sync_streams
|
@@ -275,10 +272,7 @@ module Twilio
|
|
275
272
|
|
276
273
|
unless @sync_lists
|
277
274
|
@sync_lists = SyncListList.new(
|
278
|
-
@version,
|
279
|
-
service_sid: @solution[:sid]
|
280
|
-
|
281
|
-
)
|
275
|
+
@version, service_sid: @solution[:sid], )
|
282
276
|
end
|
283
277
|
|
284
278
|
@sync_lists
|
@@ -297,10 +291,7 @@ module Twilio
|
|
297
291
|
|
298
292
|
unless @sync_maps
|
299
293
|
@sync_maps = SyncMapList.new(
|
300
|
-
@version,
|
301
|
-
service_sid: @solution[:sid]
|
302
|
-
|
303
|
-
)
|
294
|
+
@version, service_sid: @solution[:sid], )
|
304
295
|
end
|
305
296
|
|
306
297
|
@sync_maps
|
@@ -319,10 +310,7 @@ module Twilio
|
|
319
310
|
|
320
311
|
unless @documents
|
321
312
|
@documents = DocumentList.new(
|
322
|
-
@version,
|
323
|
-
service_sid: @solution[:sid]
|
324
|
-
|
325
|
-
)
|
313
|
+
@version, service_sid: @solution[:sid], )
|
326
314
|
end
|
327
315
|
|
328
316
|
@documents
|
@@ -314,11 +314,7 @@ module Twilio
|
|
314
314
|
|
315
315
|
unless @reservations
|
316
316
|
@reservations = ReservationList.new(
|
317
|
-
@version,
|
318
|
-
workspace_sid: @solution[:workspace_sid],
|
319
|
-
task_sid: @solution[:sid]
|
320
|
-
|
321
|
-
)
|
317
|
+
@version, workspace_sid: @solution[:workspace_sid], task_sid: @solution[:sid], )
|
322
318
|
end
|
323
319
|
|
324
320
|
@reservations
|
@@ -309,11 +309,7 @@ module Twilio
|
|
309
309
|
|
310
310
|
unless @reservations
|
311
311
|
@reservations = ReservationList.new(
|
312
|
-
@version,
|
313
|
-
workspace_sid: @solution[:workspace_sid],
|
314
|
-
worker_sid: @solution[:sid]
|
315
|
-
|
316
|
-
)
|
312
|
+
@version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
|
317
313
|
end
|
318
314
|
|
319
315
|
@reservations
|
@@ -365,11 +361,7 @@ module Twilio
|
|
365
361
|
|
366
362
|
unless @worker_channels
|
367
363
|
@worker_channels = WorkerChannelList.new(
|
368
|
-
@version,
|
369
|
-
workspace_sid: @solution[:workspace_sid],
|
370
|
-
worker_sid: @solution[:sid]
|
371
|
-
|
372
|
-
)
|
364
|
+
@version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
|
373
365
|
end
|
374
366
|
|
375
367
|
@worker_channels
|
@@ -273,10 +273,7 @@ module Twilio
|
|
273
273
|
|
274
274
|
unless @task_queues
|
275
275
|
@task_queues = TaskQueueList.new(
|
276
|
-
@version,
|
277
|
-
workspace_sid: @solution[:sid]
|
278
|
-
|
279
|
-
)
|
276
|
+
@version, workspace_sid: @solution[:sid], )
|
280
277
|
end
|
281
278
|
|
282
279
|
@task_queues
|
@@ -295,10 +292,7 @@ module Twilio
|
|
295
292
|
|
296
293
|
unless @activities
|
297
294
|
@activities = ActivityList.new(
|
298
|
-
@version,
|
299
|
-
workspace_sid: @solution[:sid]
|
300
|
-
|
301
|
-
)
|
295
|
+
@version, workspace_sid: @solution[:sid], )
|
302
296
|
end
|
303
297
|
|
304
298
|
@activities
|
@@ -327,10 +321,7 @@ module Twilio
|
|
327
321
|
|
328
322
|
unless @tasks
|
329
323
|
@tasks = TaskList.new(
|
330
|
-
@version,
|
331
|
-
workspace_sid: @solution[:sid]
|
332
|
-
|
333
|
-
)
|
324
|
+
@version, workspace_sid: @solution[:sid], )
|
334
325
|
end
|
335
326
|
|
336
327
|
@tasks
|
@@ -349,10 +340,7 @@ module Twilio
|
|
349
340
|
|
350
341
|
unless @workflows
|
351
342
|
@workflows = WorkflowList.new(
|
352
|
-
@version,
|
353
|
-
workspace_sid: @solution[:sid]
|
354
|
-
|
355
|
-
)
|
343
|
+
@version, workspace_sid: @solution[:sid], )
|
356
344
|
end
|
357
345
|
|
358
346
|
@workflows
|
@@ -371,10 +359,7 @@ module Twilio
|
|
371
359
|
|
372
360
|
unless @events
|
373
361
|
@events = EventList.new(
|
374
|
-
@version,
|
375
|
-
workspace_sid: @solution[:sid]
|
376
|
-
|
377
|
-
)
|
362
|
+
@version, workspace_sid: @solution[:sid], )
|
378
363
|
end
|
379
364
|
|
380
365
|
@events
|
@@ -393,10 +378,7 @@ module Twilio
|
|
393
378
|
|
394
379
|
unless @workers
|
395
380
|
@workers = WorkerList.new(
|
396
|
-
@version,
|
397
|
-
workspace_sid: @solution[:sid]
|
398
|
-
|
399
|
-
)
|
381
|
+
@version, workspace_sid: @solution[:sid], )
|
400
382
|
end
|
401
383
|
|
402
384
|
@workers
|
@@ -425,10 +407,7 @@ module Twilio
|
|
425
407
|
|
426
408
|
unless @task_channels
|
427
409
|
@task_channels = TaskChannelList.new(
|
428
|
-
@version,
|
429
|
-
workspace_sid: @solution[:sid]
|
430
|
-
|
431
|
-
)
|
410
|
+
@version, workspace_sid: @solution[:sid], )
|
432
411
|
end
|
433
412
|
|
434
413
|
@task_channels
|
@@ -270,10 +270,7 @@ module Twilio
|
|
270
270
|
|
271
271
|
unless @credentials_lists
|
272
272
|
@credentials_lists = CredentialListList.new(
|
273
|
-
@version,
|
274
|
-
trunk_sid: @solution[:sid]
|
275
|
-
|
276
|
-
)
|
273
|
+
@version, trunk_sid: @solution[:sid], )
|
277
274
|
end
|
278
275
|
|
279
276
|
@credentials_lists
|
@@ -292,10 +289,7 @@ module Twilio
|
|
292
289
|
|
293
290
|
unless @ip_access_control_lists
|
294
291
|
@ip_access_control_lists = IpAccessControlListList.new(
|
295
|
-
@version,
|
296
|
-
trunk_sid: @solution[:sid]
|
297
|
-
|
298
|
-
)
|
292
|
+
@version, trunk_sid: @solution[:sid], )
|
299
293
|
end
|
300
294
|
|
301
295
|
@ip_access_control_lists
|
@@ -314,10 +308,7 @@ module Twilio
|
|
314
308
|
|
315
309
|
unless @phone_numbers
|
316
310
|
@phone_numbers = PhoneNumberList.new(
|
317
|
-
@version,
|
318
|
-
trunk_sid: @solution[:sid]
|
319
|
-
|
320
|
-
)
|
311
|
+
@version, trunk_sid: @solution[:sid], )
|
321
312
|
end
|
322
313
|
|
323
314
|
@phone_numbers
|
@@ -336,10 +327,7 @@ module Twilio
|
|
336
327
|
|
337
328
|
unless @origination_urls
|
338
329
|
@origination_urls = OriginationUrlList.new(
|
339
|
-
@version,
|
340
|
-
trunk_sid: @solution[:sid]
|
341
|
-
|
342
|
-
)
|
330
|
+
@version, trunk_sid: @solution[:sid], )
|
343
331
|
end
|
344
332
|
|
345
333
|
@origination_urls
|
@@ -255,10 +255,7 @@ module Twilio
|
|
255
255
|
|
256
256
|
unless @customer_profiles_channel_endpoint_assignment
|
257
257
|
@customer_profiles_channel_endpoint_assignment = CustomerProfilesChannelEndpointAssignmentList.new(
|
258
|
-
@version,
|
259
|
-
customer_profiles_sid: @solution[:sid]
|
260
|
-
|
261
|
-
)
|
258
|
+
@version, customer_profile_sid: @solution[:sid], )
|
262
259
|
end
|
263
260
|
|
264
261
|
@customer_profiles_channel_endpoint_assignment
|
@@ -277,10 +274,7 @@ module Twilio
|
|
277
274
|
|
278
275
|
unless @customer_profiles_entity_assignments
|
279
276
|
@customer_profiles_entity_assignments = CustomerProfilesEntityAssignmentsList.new(
|
280
|
-
@version,
|
281
|
-
customer_profiles_sid: @solution[:sid]
|
282
|
-
|
283
|
-
)
|
277
|
+
@version, customer_profile_sid: @solution[:sid], )
|
284
278
|
end
|
285
279
|
|
286
280
|
@customer_profiles_entity_assignments
|
@@ -299,10 +293,7 @@ module Twilio
|
|
299
293
|
|
300
294
|
unless @customer_profiles_evaluations
|
301
295
|
@customer_profiles_evaluations = CustomerProfilesEvaluationsList.new(
|
302
|
-
@version,
|
303
|
-
customer_profiles_sid: @solution[:sid]
|
304
|
-
|
305
|
-
)
|
296
|
+
@version, customer_profile_sid: @solution[:sid], )
|
306
297
|
end
|
307
298
|
|
308
299
|
@customer_profiles_evaluations
|
@@ -255,10 +255,7 @@ module Twilio
|
|
255
255
|
|
256
256
|
unless @trust_products_channel_endpoint_assignment
|
257
257
|
@trust_products_channel_endpoint_assignment = TrustProductsChannelEndpointAssignmentList.new(
|
258
|
-
@version,
|
259
|
-
trust_products_sid: @solution[:sid]
|
260
|
-
|
261
|
-
)
|
258
|
+
@version, trust_product_sid: @solution[:sid], )
|
262
259
|
end
|
263
260
|
|
264
261
|
@trust_products_channel_endpoint_assignment
|
@@ -277,10 +274,7 @@ module Twilio
|
|
277
274
|
|
278
275
|
unless @trust_products_entity_assignments
|
279
276
|
@trust_products_entity_assignments = TrustProductsEntityAssignmentsList.new(
|
280
|
-
@version,
|
281
|
-
trust_products_sid: @solution[:sid]
|
282
|
-
|
283
|
-
)
|
277
|
+
@version, trust_product_sid: @solution[:sid], )
|
284
278
|
end
|
285
279
|
|
286
280
|
@trust_products_entity_assignments
|
@@ -299,10 +293,7 @@ module Twilio
|
|
299
293
|
|
300
294
|
unless @trust_products_evaluations
|
301
295
|
@trust_products_evaluations = TrustProductsEvaluationsList.new(
|
302
|
-
@version,
|
303
|
-
trust_products_sid: @solution[:sid]
|
304
|
-
|
305
|
-
)
|
296
|
+
@version, trust_product_sid: @solution[:sid], )
|
306
297
|
end
|
307
298
|
|
308
299
|
@trust_products_evaluations
|
@@ -249,14 +249,8 @@ module Twilio
|
|
249
249
|
def notifications
|
250
250
|
unless @notifications
|
251
251
|
@notifications = NotificationList.new(
|
252
|
-
@version,
|
253
|
-
service_sid: @solution[:service_sid],
|
254
|
-
identity: @solution[:identity],
|
255
|
-
challenge_sid: @solution[:sid]
|
256
|
-
|
257
|
-
)
|
252
|
+
@version, service_sid: @solution[:service_sid], identity: @solution[:identity], challenge_sid: @solution[:sid], )
|
258
253
|
end
|
259
|
-
|
260
254
|
@notifications
|
261
255
|
end
|
262
256
|
|