twilio-ruby 6.0.0.pre.rc.3 → 6.0.0

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.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +84 -48
  3. data/CONTRIBUTING.md +10 -8
  4. data/README.md +128 -46
  5. data/UPGRADE.md +7 -4
  6. data/advanced-examples/custom-http-client.md +170 -0
  7. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -6
  8. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -42
  9. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -42
  10. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -10
  11. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -6
  12. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -5
  13. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +2 -11
  14. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -5
  15. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -6
  16. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -10
  17. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -5
  18. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -16
  19. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -5
  20. data/lib/twilio-ruby/rest/api/v2010/account.rb +24 -103
  21. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -5
  22. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -10
  23. data/lib/twilio-ruby/rest/autopilot/v1/assistant.rb +6 -24
  24. data/lib/twilio-ruby/rest/bulkexports/v1/export.rb +2 -9
  25. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +3 -15
  26. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -6
  27. data/lib/twilio-ruby/rest/chat/v1/service.rb +3 -12
  28. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +4 -20
  29. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -10
  30. data/lib/twilio-ruby/rest/chat/v2/service.rb +4 -16
  31. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +1 -5
  32. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +6 -36
  33. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +1 -6
  34. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +6 -39
  35. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -5
  36. data/lib/twilio-ruby/rest/conversations/v1/service.rb +5 -21
  37. data/lib/twilio-ruby/rest/conversations/v1/user.rb +1 -4
  38. data/lib/twilio-ruby/rest/events/v1/schema.rb +1 -4
  39. data/lib/twilio-ruby/rest/events/v1/sink.rb +2 -10
  40. data/lib/twilio-ruby/rest/events/v1/subscription.rb +1 -4
  41. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +20 -20
  42. data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +5 -5
  43. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +23 -23
  44. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +13 -13
  45. data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +31 -31
  46. data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +13 -86
  47. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +1 -1
  48. data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +1 -1
  49. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +2 -11
  50. data/lib/twilio-ruby/rest/flex_api/v1/interaction.rb +1 -4
  51. data/lib/twilio-ruby/rest/flex_api/v1.rb +30 -39
  52. data/lib/twilio-ruby/rest/insights/v1/call.rb +2 -10
  53. data/lib/twilio-ruby/rest/insights/v1/conference.rb +1 -4
  54. data/lib/twilio-ruby/rest/insights/v1/room.rb +1 -4
  55. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +3 -15
  56. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -6
  57. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +3 -12
  58. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +4 -20
  59. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -10
  60. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +4 -16
  61. data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +2 -9
  62. data/lib/twilio-ruby/rest/messaging/v1/service.rb +31 -47
  63. data/lib/twilio-ruby/rest/messaging/v1.rb +0 -15
  64. data/lib/twilio-ruby/rest/messaging.rb +1 -1
  65. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +2 -8
  66. data/lib/twilio-ruby/rest/microvisor.rb +2 -1
  67. data/lib/twilio-ruby/rest/notify/v1/service.rb +2 -9
  68. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +4 -18
  69. data/lib/twilio-ruby/rest/numbers_base.rb +1 -6
  70. data/lib/twilio-ruby/rest/oauth.rb +1 -1
  71. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +4 -16
  72. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +1 -5
  73. data/lib/twilio-ruby/rest/preview/marketplace/available_add_on.rb +1 -4
  74. data/lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb +1 -4
  75. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -5
  76. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -10
  77. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -10
  78. data/lib/twilio-ruby/rest/preview/sync/service.rb +3 -12
  79. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -5
  80. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -10
  81. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +5 -20
  82. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -6
  83. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -10
  84. data/lib/twilio-ruby/rest/proxy/v1/service.rb +3 -12
  85. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -5
  86. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -15
  87. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -5
  88. data/lib/twilio-ruby/rest/serverless/v1/service.rb +4 -16
  89. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -5
  90. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -5
  91. data/lib/twilio-ruby/rest/studio/v1/flow.rb +2 -8
  92. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -5
  93. data/lib/twilio-ruby/rest/studio/v2/flow.rb +2 -8
  94. data/lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb +1 -4
  95. data/lib/twilio-ruby/rest/supersim/v1/sim.rb +2 -10
  96. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -5
  97. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -10
  98. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -10
  99. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -6
  100. data/lib/twilio-ruby/rest/sync/v1/service.rb +4 -16
  101. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +1 -5
  102. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -10
  103. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +7 -28
  104. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +4 -16
  105. data/lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb +3 -12
  106. data/lib/twilio-ruby/rest/trusthub/v1/trust_products.rb +3 -12
  107. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -7
  108. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -16
  109. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -5
  110. data/lib/twilio-ruby/rest/verify/v2/service.rb +7 -29
  111. data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -16
  112. data/lib/twilio-ruby/rest/video/v1/room.rb +3 -13
  113. data/lib/twilio-ruby/rest/voice/v1/connection_policy.rb +1 -4
  114. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +1 -5
  115. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +2 -10
  116. data/lib/twilio-ruby/version.rb +1 -1
  117. data/twilio-ruby.gemspec +1 -1
  118. metadata +9 -9
  119. data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +0 -744
@@ -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
 
@@ -194,13 +194,8 @@ module Twilio
194
194
  def new_factors
195
195
  unless @new_factors
196
196
  @new_factors = NewFactorList.new(
197
- @version,
198
- service_sid: @solution[:service_sid],
199
- entity_identity: @solution[:identity]
200
-
201
- )
197
+ @version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
202
198
  end
203
-
204
199
  @new_factors
205
200
  end
206
201
  ##
@@ -217,11 +212,7 @@ module Twilio
217
212
 
218
213
  unless @factors
219
214
  @factors = FactorList.new(
220
- @version,
221
- service_sid: @solution[:service_sid],
222
- entity_identity: @solution[:identity]
223
-
224
- )
215
+ @version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
225
216
  end
226
217
 
227
218
  @factors
@@ -240,11 +231,7 @@ module Twilio
240
231
 
241
232
  unless @challenges
242
233
  @challenges = ChallengeList.new(
243
- @version,
244
- service_sid: @solution[:service_sid],
245
- entity_identity: @solution[:identity]
246
-
247
- )
234
+ @version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
248
235
  end
249
236
 
250
237
  @challenges
@@ -223,11 +223,7 @@ module Twilio
223
223
 
224
224
  unless @buckets
225
225
  @buckets = BucketList.new(
226
- @version,
227
- service_sid: @solution[:service_sid],
228
- rate_limit_sid: @solution[:sid]
229
-
230
- )
226
+ @version, service_sid: @solution[:service_sid], rate_limit_sid: @solution[:sid], )
231
227
  end
232
228
 
233
229
  @buckets
@@ -309,12 +309,8 @@ module Twilio
309
309
  def verification_checks
310
310
  unless @verification_checks
311
311
  @verification_checks = VerificationCheckList.new(
312
- @version,
313
- service_sid: @solution[:sid]
314
-
315
- )
312
+ @version, service_sid: @solution[:sid], )
316
313
  end
317
-
318
314
  @verification_checks
319
315
  end
320
316
  ##
@@ -331,10 +327,7 @@ module Twilio
331
327
 
332
328
  unless @verifications
333
329
  @verifications = VerificationList.new(
334
- @version,
335
- service_sid: @solution[:sid]
336
-
337
- )
330
+ @version, service_sid: @solution[:sid], )
338
331
  end
339
332
 
340
333
  @verifications
@@ -353,10 +346,7 @@ module Twilio
353
346
 
354
347
  unless @access_tokens
355
348
  @access_tokens = AccessTokenList.new(
356
- @version,
357
- service_sid: @solution[:sid]
358
-
359
- )
349
+ @version, service_sid: @solution[:sid], )
360
350
  end
361
351
 
362
352
  @access_tokens
@@ -375,10 +365,7 @@ module Twilio
375
365
 
376
366
  unless @webhooks
377
367
  @webhooks = WebhookList.new(
378
- @version,
379
- service_sid: @solution[:sid]
380
-
381
- )
368
+ @version, service_sid: @solution[:sid], )
382
369
  end
383
370
 
384
371
  @webhooks
@@ -397,10 +384,7 @@ module Twilio
397
384
 
398
385
  unless @messaging_configurations
399
386
  @messaging_configurations = MessagingConfigurationList.new(
400
- @version,
401
- service_sid: @solution[:sid]
402
-
403
- )
387
+ @version, service_sid: @solution[:sid], )
404
388
  end
405
389
 
406
390
  @messaging_configurations
@@ -419,10 +403,7 @@ module Twilio
419
403
 
420
404
  unless @entities
421
405
  @entities = EntityList.new(
422
- @version,
423
- service_sid: @solution[:sid]
424
-
425
- )
406
+ @version, service_sid: @solution[:sid], )
426
407
  end
427
408
 
428
409
  @entities
@@ -441,10 +422,7 @@ module Twilio
441
422
 
442
423
  unless @rate_limits
443
424
  @rate_limits = RateLimitList.new(
444
- @version,
445
- service_sid: @solution[:sid]
446
-
447
- )
425
+ @version, service_sid: @solution[:sid], )
448
426
  end
449
427
 
450
428
  @rate_limits