twilio-ruby 6.0.0.pre.rc.3 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +103 -47
- 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/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/conversations/v1/address_configuration.rb +11 -1
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +1 -5
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +3 -12
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +1 -6
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +3 -15
- 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 +38 -44
- data/lib/twilio-ruby/rest/flex_api/v1/insights_assessments_comment.rb +17 -23
- data/lib/twilio-ruby/rest/flex_api/v1/insights_conversations.rb +9 -9
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires.rb +53 -53
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_category.rb +37 -37
- data/lib/twilio-ruby/rest/flex_api/v1/insights_questionnaires_question.rb +52 -52
- data/lib/twilio-ruby/rest/flex_api/v1/insights_segments.rb +19 -92
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_answer_sets.rb +4 -4
- data/lib/twilio-ruby/rest/flex_api/v1/insights_settings_comment.rb +4 -4
- 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/call_summaries.rb +31 -3
- 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 +28 -2
- data/lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb +196 -0
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +31 -47
- data/lib/twilio-ruby/rest/messaging/v1.rb +15 -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/v1/bulk_eligibility.rb +224 -0
- data/lib/twilio-ruby/rest/numbers/v1.rb +49 -0
- 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 +7 -29
- 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/rest.rb +1 -1
- data/lib/twilio-ruby/version.rb +1 -1
- data/twilio-ruby.gemspec +1 -1
- metadata +12 -9
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +0 -744
@@ -239,12 +239,8 @@ module Twilio
|
|
239
239
|
def usage
|
240
240
|
unless @usage
|
241
241
|
@usage = UsageList.new(
|
242
|
-
@version,
|
243
|
-
account_sid: @solution[:sid]
|
244
|
-
|
245
|
-
)
|
242
|
+
@version, account_sid: @solution[:sid], )
|
246
243
|
end
|
247
|
-
|
248
244
|
@usage
|
249
245
|
end
|
250
246
|
##
|
@@ -254,12 +250,8 @@ module Twilio
|
|
254
250
|
def new_keys
|
255
251
|
unless @new_keys
|
256
252
|
@new_keys = NewKeyList.new(
|
257
|
-
@version,
|
258
|
-
account_sid: @solution[:sid]
|
259
|
-
|
260
|
-
)
|
253
|
+
@version, account_sid: @solution[:sid], )
|
261
254
|
end
|
262
|
-
|
263
255
|
@new_keys
|
264
256
|
end
|
265
257
|
##
|
@@ -269,12 +261,8 @@ module Twilio
|
|
269
261
|
def validation_requests
|
270
262
|
unless @validation_requests
|
271
263
|
@validation_requests = ValidationRequestList.new(
|
272
|
-
@version,
|
273
|
-
account_sid: @solution[:sid]
|
274
|
-
|
275
|
-
)
|
264
|
+
@version, account_sid: @solution[:sid], )
|
276
265
|
end
|
277
|
-
|
278
266
|
@validation_requests
|
279
267
|
end
|
280
268
|
##
|
@@ -284,12 +272,8 @@ module Twilio
|
|
284
272
|
def tokens
|
285
273
|
unless @tokens
|
286
274
|
@tokens = TokenList.new(
|
287
|
-
@version,
|
288
|
-
account_sid: @solution[:sid]
|
289
|
-
|
290
|
-
)
|
275
|
+
@version, account_sid: @solution[:sid], )
|
291
276
|
end
|
292
|
-
|
293
277
|
@tokens
|
294
278
|
end
|
295
279
|
##
|
@@ -299,12 +283,8 @@ module Twilio
|
|
299
283
|
def balance
|
300
284
|
unless @balance
|
301
285
|
@balance = BalanceList.new(
|
302
|
-
@version,
|
303
|
-
account_sid: @solution[:sid]
|
304
|
-
|
305
|
-
)
|
286
|
+
@version, account_sid: @solution[:sid], )
|
306
287
|
end
|
307
|
-
|
308
288
|
@balance
|
309
289
|
end
|
310
290
|
##
|
@@ -314,12 +294,8 @@ module Twilio
|
|
314
294
|
def sip
|
315
295
|
unless @sip
|
316
296
|
@sip = SipList.new(
|
317
|
-
@version,
|
318
|
-
account_sid: @solution[:sid]
|
319
|
-
|
320
|
-
)
|
297
|
+
@version, account_sid: @solution[:sid], )
|
321
298
|
end
|
322
|
-
|
323
299
|
@sip
|
324
300
|
end
|
325
301
|
##
|
@@ -329,12 +305,8 @@ module Twilio
|
|
329
305
|
def new_signing_keys
|
330
306
|
unless @new_signing_keys
|
331
307
|
@new_signing_keys = NewSigningKeyList.new(
|
332
|
-
@version,
|
333
|
-
account_sid: @solution[:sid]
|
334
|
-
|
335
|
-
)
|
308
|
+
@version, account_sid: @solution[:sid], )
|
336
309
|
end
|
337
|
-
|
338
310
|
@new_signing_keys
|
339
311
|
end
|
340
312
|
##
|
@@ -351,10 +323,7 @@ module Twilio
|
|
351
323
|
|
352
324
|
unless @applications
|
353
325
|
@applications = ApplicationList.new(
|
354
|
-
@version,
|
355
|
-
account_sid: @solution[:sid]
|
356
|
-
|
357
|
-
)
|
326
|
+
@version, account_sid: @solution[:sid], )
|
358
327
|
end
|
359
328
|
|
360
329
|
@applications
|
@@ -373,10 +342,7 @@ module Twilio
|
|
373
342
|
|
374
343
|
unless @recordings
|
375
344
|
@recordings = RecordingList.new(
|
376
|
-
@version,
|
377
|
-
account_sid: @solution[:sid]
|
378
|
-
|
379
|
-
)
|
345
|
+
@version, account_sid: @solution[:sid], )
|
380
346
|
end
|
381
347
|
|
382
348
|
@recordings
|
@@ -395,10 +361,7 @@ module Twilio
|
|
395
361
|
|
396
362
|
unless @connect_apps
|
397
363
|
@connect_apps = ConnectAppList.new(
|
398
|
-
@version,
|
399
|
-
account_sid: @solution[:sid]
|
400
|
-
|
401
|
-
)
|
364
|
+
@version, account_sid: @solution[:sid], )
|
402
365
|
end
|
403
366
|
|
404
367
|
@connect_apps
|
@@ -417,10 +380,7 @@ module Twilio
|
|
417
380
|
|
418
381
|
unless @calls
|
419
382
|
@calls = CallList.new(
|
420
|
-
@version,
|
421
|
-
account_sid: @solution[:sid]
|
422
|
-
|
423
|
-
)
|
383
|
+
@version, account_sid: @solution[:sid], )
|
424
384
|
end
|
425
385
|
|
426
386
|
@calls
|
@@ -439,10 +399,7 @@ module Twilio
|
|
439
399
|
|
440
400
|
unless @signing_keys
|
441
401
|
@signing_keys = SigningKeyList.new(
|
442
|
-
@version,
|
443
|
-
account_sid: @solution[:sid]
|
444
|
-
|
445
|
-
)
|
402
|
+
@version, account_sid: @solution[:sid], )
|
446
403
|
end
|
447
404
|
|
448
405
|
@signing_keys
|
@@ -461,10 +418,7 @@ module Twilio
|
|
461
418
|
|
462
419
|
unless @outgoing_caller_ids
|
463
420
|
@outgoing_caller_ids = OutgoingCallerIdList.new(
|
464
|
-
@version,
|
465
|
-
account_sid: @solution[:sid]
|
466
|
-
|
467
|
-
)
|
421
|
+
@version, account_sid: @solution[:sid], )
|
468
422
|
end
|
469
423
|
|
470
424
|
@outgoing_caller_ids
|
@@ -483,10 +437,7 @@ module Twilio
|
|
483
437
|
|
484
438
|
unless @short_codes
|
485
439
|
@short_codes = ShortCodeList.new(
|
486
|
-
@version,
|
487
|
-
account_sid: @solution[:sid]
|
488
|
-
|
489
|
-
)
|
440
|
+
@version, account_sid: @solution[:sid], )
|
490
441
|
end
|
491
442
|
|
492
443
|
@short_codes
|
@@ -505,10 +456,7 @@ module Twilio
|
|
505
456
|
|
506
457
|
unless @incoming_phone_numbers
|
507
458
|
@incoming_phone_numbers = IncomingPhoneNumberList.new(
|
508
|
-
@version,
|
509
|
-
account_sid: @solution[:sid]
|
510
|
-
|
511
|
-
)
|
459
|
+
@version, account_sid: @solution[:sid], )
|
512
460
|
end
|
513
461
|
|
514
462
|
@incoming_phone_numbers
|
@@ -527,10 +475,7 @@ module Twilio
|
|
527
475
|
|
528
476
|
unless @queues
|
529
477
|
@queues = QueueList.new(
|
530
|
-
@version,
|
531
|
-
account_sid: @solution[:sid]
|
532
|
-
|
533
|
-
)
|
478
|
+
@version, account_sid: @solution[:sid], )
|
534
479
|
end
|
535
480
|
|
536
481
|
@queues
|
@@ -549,10 +494,7 @@ module Twilio
|
|
549
494
|
|
550
495
|
unless @authorized_connect_apps
|
551
496
|
@authorized_connect_apps = AuthorizedConnectAppList.new(
|
552
|
-
@version,
|
553
|
-
account_sid: @solution[:sid]
|
554
|
-
|
555
|
-
)
|
497
|
+
@version, account_sid: @solution[:sid], )
|
556
498
|
end
|
557
499
|
|
558
500
|
@authorized_connect_apps
|
@@ -571,10 +513,7 @@ module Twilio
|
|
571
513
|
|
572
514
|
unless @available_phone_numbers
|
573
515
|
@available_phone_numbers = AvailablePhoneNumberCountryList.new(
|
574
|
-
@version,
|
575
|
-
account_sid: @solution[:sid]
|
576
|
-
|
577
|
-
)
|
516
|
+
@version, account_sid: @solution[:sid], )
|
578
517
|
end
|
579
518
|
|
580
519
|
@available_phone_numbers
|
@@ -593,10 +532,7 @@ module Twilio
|
|
593
532
|
|
594
533
|
unless @addresses
|
595
534
|
@addresses = AddressList.new(
|
596
|
-
@version,
|
597
|
-
account_sid: @solution[:sid]
|
598
|
-
|
599
|
-
)
|
535
|
+
@version, account_sid: @solution[:sid], )
|
600
536
|
end
|
601
537
|
|
602
538
|
@addresses
|
@@ -615,10 +551,7 @@ module Twilio
|
|
615
551
|
|
616
552
|
unless @transcriptions
|
617
553
|
@transcriptions = TranscriptionList.new(
|
618
|
-
@version,
|
619
|
-
account_sid: @solution[:sid]
|
620
|
-
|
621
|
-
)
|
554
|
+
@version, account_sid: @solution[:sid], )
|
622
555
|
end
|
623
556
|
|
624
557
|
@transcriptions
|
@@ -637,10 +570,7 @@ module Twilio
|
|
637
570
|
|
638
571
|
unless @conferences
|
639
572
|
@conferences = ConferenceList.new(
|
640
|
-
@version,
|
641
|
-
account_sid: @solution[:sid]
|
642
|
-
|
643
|
-
)
|
573
|
+
@version, account_sid: @solution[:sid], )
|
644
574
|
end
|
645
575
|
|
646
576
|
@conferences
|
@@ -659,10 +589,7 @@ module Twilio
|
|
659
589
|
|
660
590
|
unless @keys
|
661
591
|
@keys = KeyList.new(
|
662
|
-
@version,
|
663
|
-
account_sid: @solution[:sid]
|
664
|
-
|
665
|
-
)
|
592
|
+
@version, account_sid: @solution[:sid], )
|
666
593
|
end
|
667
594
|
|
668
595
|
@keys
|
@@ -681,10 +608,7 @@ module Twilio
|
|
681
608
|
|
682
609
|
unless @notifications
|
683
610
|
@notifications = NotificationList.new(
|
684
|
-
@version,
|
685
|
-
account_sid: @solution[:sid]
|
686
|
-
|
687
|
-
)
|
611
|
+
@version, account_sid: @solution[:sid], )
|
688
612
|
end
|
689
613
|
|
690
614
|
@notifications
|
@@ -703,10 +627,7 @@ module Twilio
|
|
703
627
|
|
704
628
|
unless @messages
|
705
629
|
@messages = MessageList.new(
|
706
|
-
@version,
|
707
|
-
account_sid: @solution[:sid]
|
708
|
-
|
709
|
-
)
|
630
|
+
@version, account_sid: @solution[:sid], )
|
710
631
|
end
|
711
632
|
|
712
633
|
@messages
|
@@ -228,11 +228,7 @@ module Twilio
|
|
228
228
|
|
229
229
|
unless @field_values
|
230
230
|
@field_values = FieldValueList.new(
|
231
|
-
@version,
|
232
|
-
assistant_sid: @solution[:assistant_sid],
|
233
|
-
field_type_sid: @solution[:sid]
|
234
|
-
|
235
|
-
)
|
231
|
+
@version, assistant_sid: @solution[:assistant_sid], field_type_sid: @solution[:sid], )
|
236
232
|
end
|
237
233
|
|
238
234
|
@field_values
|
@@ -243,11 +243,7 @@ module Twilio
|
|
243
243
|
|
244
244
|
unless @samples
|
245
245
|
@samples = SampleList.new(
|
246
|
-
@version,
|
247
|
-
assistant_sid: @solution[:assistant_sid],
|
248
|
-
task_sid: @solution[:sid]
|
249
|
-
|
250
|
-
)
|
246
|
+
@version, assistant_sid: @solution[:assistant_sid], task_sid: @solution[:sid], )
|
251
247
|
end
|
252
248
|
|
253
249
|
@samples
|
@@ -288,11 +284,7 @@ module Twilio
|
|
288
284
|
|
289
285
|
unless @fields
|
290
286
|
@fields = FieldList.new(
|
291
|
-
@version,
|
292
|
-
assistant_sid: @solution[:assistant_sid],
|
293
|
-
task_sid: @solution[:sid]
|
294
|
-
|
295
|
-
)
|
287
|
+
@version, assistant_sid: @solution[:assistant_sid], task_sid: @solution[:sid], )
|
296
288
|
end
|
297
289
|
|
298
290
|
@fields
|
@@ -262,10 +262,7 @@ module Twilio
|
|
262
262
|
|
263
263
|
unless @tasks
|
264
264
|
@tasks = TaskList.new(
|
265
|
-
@version,
|
266
|
-
assistant_sid: @solution[:sid]
|
267
|
-
|
268
|
-
)
|
265
|
+
@version, assistant_sid: @solution[:sid], )
|
269
266
|
end
|
270
267
|
|
271
268
|
@tasks
|
@@ -294,10 +291,7 @@ module Twilio
|
|
294
291
|
|
295
292
|
unless @webhooks
|
296
293
|
@webhooks = WebhookList.new(
|
297
|
-
@version,
|
298
|
-
assistant_sid: @solution[:sid]
|
299
|
-
|
300
|
-
)
|
294
|
+
@version, assistant_sid: @solution[:sid], )
|
301
295
|
end
|
302
296
|
|
303
297
|
@webhooks
|
@@ -316,10 +310,7 @@ module Twilio
|
|
316
310
|
|
317
311
|
unless @dialogues
|
318
312
|
@dialogues = DialogueList.new(
|
319
|
-
@version,
|
320
|
-
assistant_sid: @solution[:sid]
|
321
|
-
|
322
|
-
)
|
313
|
+
@version, assistant_sid: @solution[:sid], )
|
323
314
|
end
|
324
315
|
|
325
316
|
@dialogues
|
@@ -338,10 +329,7 @@ module Twilio
|
|
338
329
|
|
339
330
|
unless @model_builds
|
340
331
|
@model_builds = ModelBuildList.new(
|
341
|
-
@version,
|
342
|
-
assistant_sid: @solution[:sid]
|
343
|
-
|
344
|
-
)
|
332
|
+
@version, assistant_sid: @solution[:sid], )
|
345
333
|
end
|
346
334
|
|
347
335
|
@model_builds
|
@@ -360,10 +348,7 @@ module Twilio
|
|
360
348
|
|
361
349
|
unless @field_types
|
362
350
|
@field_types = FieldTypeList.new(
|
363
|
-
@version,
|
364
|
-
assistant_sid: @solution[:sid]
|
365
|
-
|
366
|
-
)
|
351
|
+
@version, assistant_sid: @solution[:sid], )
|
367
352
|
end
|
368
353
|
|
369
354
|
@field_types
|
@@ -392,10 +377,7 @@ module Twilio
|
|
392
377
|
|
393
378
|
unless @queries
|
394
379
|
@queries = QueryList.new(
|
395
|
-
@version,
|
396
|
-
assistant_sid: @solution[:sid]
|
397
|
-
|
398
|
-
)
|
380
|
+
@version, assistant_sid: @solution[:sid], )
|
399
381
|
end
|
400
382
|
|
401
383
|
@queries
|
@@ -90,12 +90,8 @@ module Twilio
|
|
90
90
|
def export_custom_jobs
|
91
91
|
unless @export_custom_jobs
|
92
92
|
@export_custom_jobs = ExportCustomJobList.new(
|
93
|
-
@version,
|
94
|
-
export_resource_type: @solution[:resource_type]
|
95
|
-
|
96
|
-
)
|
93
|
+
@version, resource_type: @solution[:resource_type], )
|
97
94
|
end
|
98
|
-
|
99
95
|
@export_custom_jobs
|
100
96
|
end
|
101
97
|
##
|
@@ -112,10 +108,7 @@ module Twilio
|
|
112
108
|
|
113
109
|
unless @days
|
114
110
|
@days = DayList.new(
|
115
|
-
@version,
|
116
|
-
export_resource_type: @solution[:resource_type]
|
117
|
-
|
118
|
-
)
|
111
|
+
@version, resource_type: @solution[:resource_type], )
|
119
112
|
end
|
120
113
|
|
121
114
|
@days
|
@@ -244,11 +244,7 @@ module Twilio
|
|
244
244
|
|
245
245
|
unless @members
|
246
246
|
@members = MemberList.new(
|
247
|
-
@version,
|
248
|
-
service_sid: @solution[:service_sid],
|
249
|
-
channel_sid: @solution[:sid]
|
250
|
-
|
251
|
-
)
|
247
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
252
248
|
end
|
253
249
|
|
254
250
|
@members
|
@@ -267,11 +263,7 @@ module Twilio
|
|
267
263
|
|
268
264
|
unless @messages
|
269
265
|
@messages = MessageList.new(
|
270
|
-
@version,
|
271
|
-
service_sid: @solution[:service_sid],
|
272
|
-
channel_sid: @solution[:sid]
|
273
|
-
|
274
|
-
)
|
266
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
275
267
|
end
|
276
268
|
|
277
269
|
@messages
|
@@ -290,11 +282,7 @@ module Twilio
|
|
290
282
|
|
291
283
|
unless @invites
|
292
284
|
@invites = InviteList.new(
|
293
|
-
@version,
|
294
|
-
service_sid: @solution[:service_sid],
|
295
|
-
channel_sid: @solution[:sid]
|
296
|
-
|
297
|
-
)
|
285
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
298
286
|
end
|
299
287
|
|
300
288
|
@invites
|
@@ -228,13 +228,8 @@ module Twilio
|
|
228
228
|
def user_channels
|
229
229
|
unless @user_channels
|
230
230
|
@user_channels = UserChannelList.new(
|
231
|
-
@version,
|
232
|
-
service_sid: @solution[:service_sid],
|
233
|
-
user_sid: @solution[:sid]
|
234
|
-
|
235
|
-
)
|
231
|
+
@version, service_sid: @solution[:service_sid], user_sid: @solution[:sid], )
|
236
232
|
end
|
237
|
-
|
238
233
|
@user_channels
|
239
234
|
end
|
240
235
|
|
@@ -375,10 +375,7 @@ module Twilio
|
|
375
375
|
|
376
376
|
unless @channels
|
377
377
|
@channels = ChannelList.new(
|
378
|
-
@version,
|
379
|
-
service_sid: @solution[:sid]
|
380
|
-
|
381
|
-
)
|
378
|
+
@version, service_sid: @solution[:sid], )
|
382
379
|
end
|
383
380
|
|
384
381
|
@channels
|
@@ -397,10 +394,7 @@ module Twilio
|
|
397
394
|
|
398
395
|
unless @roles
|
399
396
|
@roles = RoleList.new(
|
400
|
-
@version,
|
401
|
-
service_sid: @solution[:sid]
|
402
|
-
|
403
|
-
)
|
397
|
+
@version, service_sid: @solution[:sid], )
|
404
398
|
end
|
405
399
|
|
406
400
|
@roles
|
@@ -419,10 +413,7 @@ module Twilio
|
|
419
413
|
|
420
414
|
unless @users
|
421
415
|
@users = UserList.new(
|
422
|
-
@version,
|
423
|
-
service_sid: @solution[:sid]
|
424
|
-
|
425
|
-
)
|
416
|
+
@version, service_sid: @solution[:sid], )
|
426
417
|
end
|
427
418
|
|
428
419
|
@users
|
@@ -273,11 +273,7 @@ module Twilio
|
|
273
273
|
|
274
274
|
unless @webhooks
|
275
275
|
@webhooks = WebhookList.new(
|
276
|
-
@version,
|
277
|
-
service_sid: @solution[:service_sid],
|
278
|
-
channel_sid: @solution[:sid]
|
279
|
-
|
280
|
-
)
|
276
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
281
277
|
end
|
282
278
|
|
283
279
|
@webhooks
|
@@ -296,11 +292,7 @@ module Twilio
|
|
296
292
|
|
297
293
|
unless @members
|
298
294
|
@members = MemberList.new(
|
299
|
-
@version,
|
300
|
-
service_sid: @solution[:service_sid],
|
301
|
-
channel_sid: @solution[:sid]
|
302
|
-
|
303
|
-
)
|
295
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
304
296
|
end
|
305
297
|
|
306
298
|
@members
|
@@ -319,11 +311,7 @@ module Twilio
|
|
319
311
|
|
320
312
|
unless @messages
|
321
313
|
@messages = MessageList.new(
|
322
|
-
@version,
|
323
|
-
service_sid: @solution[:service_sid],
|
324
|
-
channel_sid: @solution[:sid]
|
325
|
-
|
326
|
-
)
|
314
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
327
315
|
end
|
328
316
|
|
329
317
|
@messages
|
@@ -342,11 +330,7 @@ module Twilio
|
|
342
330
|
|
343
331
|
unless @invites
|
344
332
|
@invites = InviteList.new(
|
345
|
-
@version,
|
346
|
-
service_sid: @solution[:service_sid],
|
347
|
-
channel_sid: @solution[:sid]
|
348
|
-
|
349
|
-
)
|
333
|
+
@version, service_sid: @solution[:service_sid], channel_sid: @solution[:sid], )
|
350
334
|
end
|
351
335
|
|
352
336
|
@invites
|
@@ -242,11 +242,7 @@ module Twilio
|
|
242
242
|
|
243
243
|
unless @user_channels
|
244
244
|
@user_channels = UserChannelList.new(
|
245
|
-
@version,
|
246
|
-
service_sid: @solution[:service_sid],
|
247
|
-
user_sid: @solution[:sid]
|
248
|
-
|
249
|
-
)
|
245
|
+
@version, service_sid: @solution[:service_sid], user_sid: @solution[:sid], )
|
250
246
|
end
|
251
247
|
|
252
248
|
@user_channels
|
@@ -265,11 +261,7 @@ module Twilio
|
|
265
261
|
|
266
262
|
unless @user_bindings
|
267
263
|
@user_bindings = UserBindingList.new(
|
268
|
-
@version,
|
269
|
-
service_sid: @solution[:service_sid],
|
270
|
-
user_sid: @solution[:sid]
|
271
|
-
|
272
|
-
)
|
264
|
+
@version, service_sid: @solution[:service_sid], user_sid: @solution[:sid], )
|
273
265
|
end
|
274
266
|
|
275
267
|
@user_bindings
|
@@ -307,10 +307,7 @@ module Twilio
|
|
307
307
|
|
308
308
|
unless @bindings
|
309
309
|
@bindings = BindingList.new(
|
310
|
-
@version,
|
311
|
-
service_sid: @solution[:sid]
|
312
|
-
|
313
|
-
)
|
310
|
+
@version, service_sid: @solution[:sid], )
|
314
311
|
end
|
315
312
|
|
316
313
|
@bindings
|
@@ -329,10 +326,7 @@ module Twilio
|
|
329
326
|
|
330
327
|
unless @channels
|
331
328
|
@channels = ChannelList.new(
|
332
|
-
@version,
|
333
|
-
service_sid: @solution[:sid]
|
334
|
-
|
335
|
-
)
|
329
|
+
@version, service_sid: @solution[:sid], )
|
336
330
|
end
|
337
331
|
|
338
332
|
@channels
|
@@ -351,10 +345,7 @@ module Twilio
|
|
351
345
|
|
352
346
|
unless @roles
|
353
347
|
@roles = RoleList.new(
|
354
|
-
@version,
|
355
|
-
service_sid: @solution[:sid]
|
356
|
-
|
357
|
-
)
|
348
|
+
@version, service_sid: @solution[:sid], )
|
358
349
|
end
|
359
350
|
|
360
351
|
@roles
|
@@ -373,10 +364,7 @@ module Twilio
|
|
373
364
|
|
374
365
|
unless @users
|
375
366
|
@users = UserList.new(
|
376
|
-
@version,
|
377
|
-
service_sid: @solution[:sid]
|
378
|
-
|
379
|
-
)
|
367
|
+
@version, service_sid: @solution[:sid], )
|
380
368
|
end
|
381
369
|
|
382
370
|
@users
|