freeclimb 4.5.2 → 4.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +15 -7
  5. data/docs/AddToConference.md +0 -2
  6. data/docs/AddToConferenceAllOf.md +0 -2
  7. data/docs/CreateWebRTCToken.md +22 -0
  8. data/docs/DefaultApi.md +303 -7
  9. data/docs/GetDigits.md +1 -1
  10. data/docs/GetDigitsAllOf.md +1 -1
  11. data/docs/IncomingNumberResult.md +3 -1
  12. data/docs/IncomingNumberResultAllOf.md +3 -1
  13. data/docs/MessageRequest.md +2 -2
  14. data/docs/MessageRequestAllOf.md +2 -2
  15. data/docs/MessageResult.md +3 -1
  16. data/docs/MessageResultAllOf.md +3 -1
  17. data/docs/Play.md +0 -2
  18. data/docs/PlayAllOf.md +0 -2
  19. data/docs/RemoveFromConference.md +1 -4
  20. data/docs/SMSTenDLCCampaign.md +10 -0
  21. data/docs/SMSTollFreeCampaign.md +30 -0
  22. data/docs/SMSTollFreeCampaignsListResult.md +32 -0
  23. data/docs/SMSTollFreeCampaignsListResultAllOf.md +18 -0
  24. data/docs/Say.md +0 -2
  25. data/docs/SayAllOf.md +0 -2
  26. data/docs/SetListen.md +0 -2
  27. data/docs/SetListenAllOf.md +0 -2
  28. data/docs/SetTalk.md +0 -2
  29. data/docs/SetTalkAllOf.md +0 -2
  30. data/docs/TFN.md +18 -0
  31. data/docs/TerminateConference.md +1 -4
  32. data/docs/TranscribeUtterance.md +1 -1
  33. data/docs/TranscribeUtteranceAllOf.md +28 -0
  34. data/docs/TranscribeUtteranceAllOfRecord.md +22 -0
  35. data/lib/freeclimb/api/default_api.rb +262 -7
  36. data/lib/freeclimb/models/account_request.rb +0 -2
  37. data/lib/freeclimb/models/account_result.rb +0 -6
  38. data/lib/freeclimb/models/add_to_conference.rb +1 -29
  39. data/lib/freeclimb/models/add_to_conference_all_of.rb +1 -29
  40. data/lib/freeclimb/models/application_result.rb +0 -6
  41. data/lib/freeclimb/models/buy_incoming_number_request.rb +0 -4
  42. data/lib/freeclimb/models/call_result.rb +0 -6
  43. data/lib/freeclimb/models/conference_participant_result.rb +0 -6
  44. data/lib/freeclimb/models/conference_result.rb +0 -6
  45. data/lib/freeclimb/models/create_conference.rb +0 -8
  46. data/lib/freeclimb/models/create_conference_all_of.rb +0 -8
  47. data/lib/freeclimb/models/create_conference_request.rb +0 -6
  48. data/lib/freeclimb/models/create_web_rtc_token.rb +274 -0
  49. data/lib/freeclimb/models/dequeue.rb +1 -0
  50. data/lib/freeclimb/models/enqueue.rb +0 -6
  51. data/lib/freeclimb/models/enqueue_all_of.rb +0 -6
  52. data/lib/freeclimb/models/get_digits.rb +1 -17
  53. data/lib/freeclimb/models/get_digits_all_of.rb +1 -17
  54. data/lib/freeclimb/models/get_speech.rb +0 -22
  55. data/lib/freeclimb/models/get_speech_all_of.rb +0 -22
  56. data/lib/freeclimb/models/incoming_number_request.rb +0 -2
  57. data/lib/freeclimb/models/incoming_number_result.rb +14 -13
  58. data/lib/freeclimb/models/incoming_number_result_all_of.rb +14 -5
  59. data/lib/freeclimb/models/make_call_request.rb +0 -18
  60. data/lib/freeclimb/models/message_request.rb +10 -24
  61. data/lib/freeclimb/models/message_request_all_of.rb +10 -16
  62. data/lib/freeclimb/models/message_result.rb +17 -11
  63. data/lib/freeclimb/models/message_result_all_of.rb +17 -5
  64. data/lib/freeclimb/models/mutable_resource_model.rb +0 -6
  65. data/lib/freeclimb/models/out_dial.rb +0 -18
  66. data/lib/freeclimb/models/out_dial_all_of.rb +0 -18
  67. data/lib/freeclimb/models/park.rb +0 -4
  68. data/lib/freeclimb/models/park_all_of.rb +0 -4
  69. data/lib/freeclimb/models/play.rb +1 -17
  70. data/lib/freeclimb/models/play_all_of.rb +1 -17
  71. data/lib/freeclimb/models/queue_request.rb +0 -2
  72. data/lib/freeclimb/models/queue_result.rb +0 -6
  73. data/lib/freeclimb/models/record_utterance.rb +0 -12
  74. data/lib/freeclimb/models/record_utterance_all_of.rb +0 -12
  75. data/lib/freeclimb/models/recording_result.rb +0 -6
  76. data/lib/freeclimb/models/remove_from_conference.rb +4 -23
  77. data/lib/freeclimb/models/say.rb +1 -19
  78. data/lib/freeclimb/models/say_all_of.rb +1 -19
  79. data/lib/freeclimb/models/send_digits.rb +0 -4
  80. data/lib/freeclimb/models/send_digits_all_of.rb +0 -4
  81. data/lib/freeclimb/models/set_listen.rb +2 -18
  82. data/lib/freeclimb/models/set_listen_all_of.rb +2 -18
  83. data/lib/freeclimb/models/set_talk.rb +2 -18
  84. data/lib/freeclimb/models/set_talk_all_of.rb +2 -18
  85. data/lib/freeclimb/models/sms.rb +0 -6
  86. data/lib/freeclimb/models/sms_all_of.rb +0 -6
  87. data/lib/freeclimb/models/sms_ten_dlc_brand.rb +0 -60
  88. data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +121 -41
  89. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +0 -44
  90. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +0 -20
  91. data/lib/freeclimb/models/sms_toll_free_campaign.rb +337 -0
  92. data/lib/freeclimb/models/sms_toll_free_campaigns_list_result.rb +311 -0
  93. data/lib/freeclimb/models/{remove_from_conference_all_of.rb → sms_toll_free_campaigns_list_result_all_of.rb} +14 -16
  94. data/lib/freeclimb/models/start_record_call.rb +1 -0
  95. data/lib/freeclimb/models/terminate_conference.rb +4 -23
  96. data/lib/freeclimb/models/{terminate_conference_all_of.rb → tfn.rb} +15 -14
  97. data/lib/freeclimb/models/transcribe_utterance.rb +11 -16
  98. data/lib/freeclimb/models/transcribe_utterance_all_of.rb +281 -0
  99. data/lib/freeclimb/models/{transcribe_utterance_record.rb → transcribe_utterance_all_of_record.rb} +3 -7
  100. data/lib/freeclimb/models/unpark.rb +1 -0
  101. data/lib/freeclimb/models/update_conference_participant_request.rb +0 -2
  102. data/lib/freeclimb/models/update_conference_request.rb +0 -2
  103. data/lib/freeclimb/version.rb +1 -1
  104. data/lib/freeclimb.rb +8 -4
  105. data/openapi.json +407 -88
  106. data/package.json +8 -0
  107. data/spec/api/default_api_spec.rb +215 -55
  108. data/spec/models/account_request_spec.rb +8 -6
  109. data/spec/models/account_result_spec.rb +28 -9
  110. data/spec/models/add_to_conference_spec.rb +21 -37
  111. data/spec/models/application_list_spec.rb +46 -22
  112. data/spec/models/application_request_spec.rb +13 -6
  113. data/spec/models/application_result_spec.rb +24 -9
  114. data/spec/models/available_number_list_spec.rb +46 -22
  115. data/spec/models/available_number_spec.rb +23 -10
  116. data/spec/models/buy_incoming_number_request_spec.rb +11 -7
  117. data/spec/models/call_list_spec.rb +46 -22
  118. data/spec/models/call_result_spec.rb +49 -15
  119. data/spec/models/capabilities_spec.rb +26 -11
  120. data/spec/models/conference_list_spec.rb +46 -22
  121. data/spec/models/conference_participant_list_spec.rb +46 -22
  122. data/spec/models/conference_participant_result_spec.rb +24 -9
  123. data/spec/models/conference_result_spec.rb +32 -9
  124. data/spec/models/create_conference_request_spec.rb +15 -6
  125. data/spec/models/create_conference_spec.rb +19 -7
  126. data/spec/models/create_web_rtc_token_spec.rb +231 -0
  127. data/spec/models/enqueue_spec.rb +16 -9
  128. data/spec/models/filter_logs_request_spec.rb +9 -7
  129. data/spec/models/get_digits_spec.rb +59 -35
  130. data/spec/models/get_speech_spec.rb +60 -24
  131. data/spec/models/hangup_spec.rb +7 -6
  132. data/spec/models/incoming_number_list_spec.rb +46 -22
  133. data/spec/models/incoming_number_request_spec.rb +9 -6
  134. data/spec/models/incoming_number_result_spec.rb +68 -13
  135. data/spec/models/log_list_spec.rb +46 -22
  136. data/spec/models/log_result_spec.rb +21 -9
  137. data/spec/models/make_call_request_spec.rb +26 -11
  138. data/spec/models/message_request_spec.rb +49 -35
  139. data/spec/models/message_result_spec.rb +64 -11
  140. data/spec/models/messages_list_spec.rb +46 -22
  141. data/spec/models/mutable_resource_model_spec.rb +15 -9
  142. data/spec/models/out_dial_spec.rb +33 -13
  143. data/spec/models/pagination_model_spec.rb +40 -21
  144. data/spec/models/park_spec.rb +13 -8
  145. data/spec/models/pause_spec.rb +14 -10
  146. data/spec/models/percl_command_spec.rb +6 -6
  147. data/spec/models/percl_script_spec.rb +11 -6
  148. data/spec/models/play_early_media_spec.rb +9 -7
  149. data/spec/models/play_spec.rb +17 -40
  150. data/spec/models/queue_list_spec.rb +46 -22
  151. data/spec/models/queue_member_list_spec.rb +46 -22
  152. data/spec/models/queue_member_spec.rb +21 -12
  153. data/spec/models/queue_request_spec.rb +13 -9
  154. data/spec/models/queue_result_spec.rb +37 -18
  155. data/spec/models/record_utterance_spec.rb +28 -13
  156. data/spec/models/recording_list_spec.rb +46 -22
  157. data/spec/models/recording_result_spec.rb +25 -12
  158. data/spec/models/redirect_spec.rb +9 -7
  159. data/spec/models/reject_spec.rb +7 -6
  160. data/spec/models/remove_from_conference_spec.rb +0 -133
  161. data/spec/models/say_spec.rb +18 -40
  162. data/spec/models/send_digits_spec.rb +17 -10
  163. data/spec/models/set_listen_spec.rb +8 -37
  164. data/spec/models/set_talk_spec.rb +8 -37
  165. data/spec/models/sms_spec.rb +16 -9
  166. data/spec/models/sms_ten_dlc_brand_spec.rb +38 -4
  167. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +46 -22
  168. data/spec/models/sms_ten_dlc_campaign_spec.rb +228 -4
  169. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +46 -22
  170. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +25 -7
  171. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +56 -8
  172. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +46 -22
  173. data/spec/models/sms_toll_free_campaign_spec.rb +382 -0
  174. data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +395 -0
  175. data/spec/models/terminate_conference_spec.rb +0 -133
  176. data/spec/models/tfn_spec.rb +164 -0
  177. data/spec/models/{transcribe_utterance_record_spec.rb → transcribe_utterance_all_of_record_spec.rb} +78 -67
  178. data/spec/models/transcribe_utterance_spec.rb +37 -96
  179. data/spec/models/update_call_request_spec.rb +12 -7
  180. data/spec/models/update_conference_participant_request_spec.rb +10 -6
  181. data/spec/models/update_conference_request_spec.rb +15 -6
  182. data/yarn.lock +1292 -0
  183. metadata +105 -84
data/package.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "dependencies": {
3
+ "@stoplight/prism-cli": "5.6.0"
4
+ },
5
+ "resolutions": {
6
+ "@stoplight/json": "3.20.0"
7
+ }
8
+ }
@@ -245,6 +245,13 @@ describe 'DefaultApi' do
245
245
  @account_request_update_an_account_test_value = Freeclimb::AccountRequest.new
246
246
 
247
247
  @incoming_number_request_update_an_incoming_number_test_value = Freeclimb::IncomingNumberRequest.new
248
+
249
+ @campaign_id_get_toll_free_sms_campaign_test_value = 'CX56XX4'
250
+
251
+ @conference_id_list_conference_recordings_test_value = 'conferenceId_example'
252
+
253
+ @create_web_rtc_token_make_a_webrtc_jwt_test_value=Freeclimb::CreateWebRTCToken.new({to: 'to_example', from: 'from_example', uses: 2})
254
+
248
255
  end
249
256
 
250
257
  after do
@@ -274,7 +281,8 @@ describe 'DefaultApi' do
274
281
 
275
282
  }
276
283
  )
277
-
284
+ false
285
+
278
286
  expect(result).to be_a Freeclimb::IncomingNumberResult
279
287
 
280
288
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -297,7 +305,8 @@ describe 'DefaultApi' do
297
305
  :create_conference_request => create_conference_request,
298
306
  }
299
307
  )
300
-
308
+ false
309
+
301
310
  expect(result).to be_a Freeclimb::ConferenceResult
302
311
 
303
312
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -320,7 +329,8 @@ describe 'DefaultApi' do
320
329
  :queue_request => queue_request,
321
330
  }
322
331
  )
323
-
332
+ false
333
+
324
334
  expect(result).to be_a Freeclimb::QueueResult
325
335
 
326
336
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -343,7 +353,8 @@ describe 'DefaultApi' do
343
353
  :application_request => application_request,
344
354
  }
345
355
  )
346
-
356
+ false
357
+
347
358
  expect(result).to be_a Freeclimb::ApplicationResult
348
359
 
349
360
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -366,7 +377,8 @@ describe 'DefaultApi' do
366
377
 
367
378
  }
368
379
  )
369
-
380
+ false
381
+
370
382
 
371
383
  expect(result).to be_nil
372
384
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -389,7 +401,8 @@ describe 'DefaultApi' do
389
401
 
390
402
  }
391
403
  )
392
-
404
+ false
405
+
393
406
 
394
407
  expect(result).to be_nil
395
408
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -412,7 +425,8 @@ describe 'DefaultApi' do
412
425
 
413
426
  }
414
427
  )
415
-
428
+ false
429
+
416
430
 
417
431
  expect(result).to be_nil
418
432
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -437,7 +451,8 @@ describe 'DefaultApi' do
437
451
 
438
452
  }
439
453
  )
440
-
454
+ false
455
+
441
456
  expect(result).to be_a Freeclimb::QueueMember
442
457
 
443
458
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -460,7 +475,8 @@ describe 'DefaultApi' do
460
475
 
461
476
  }
462
477
  )
463
-
478
+ false
479
+
464
480
  expect(result).to be_a Freeclimb::QueueMember
465
481
 
466
482
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -483,7 +499,8 @@ describe 'DefaultApi' do
483
499
 
484
500
  }
485
501
  )
486
-
502
+ false
503
+
487
504
  expect(result).to be_a Freeclimb::File
488
505
 
489
506
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -506,7 +523,8 @@ describe 'DefaultApi' do
506
523
 
507
524
  }
508
525
  )
509
-
526
+ false
527
+
510
528
  expect(result).to be_a Freeclimb::LogList
511
529
 
512
530
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -529,7 +547,8 @@ describe 'DefaultApi' do
529
547
 
530
548
  }
531
549
  )
532
-
550
+ false
551
+
533
552
  expect(result).to be_a Freeclimb::CallResult
534
553
 
535
554
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -552,7 +571,8 @@ describe 'DefaultApi' do
552
571
 
553
572
  }
554
573
  )
555
-
574
+ false
575
+
556
576
  expect(result).to be_a Freeclimb::ConferenceResult
557
577
 
558
578
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -577,7 +597,8 @@ describe 'DefaultApi' do
577
597
 
578
598
  }
579
599
  )
580
-
600
+ false
601
+
581
602
  expect(result).to be_a Freeclimb::QueueMember
582
603
 
583
604
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -602,7 +623,8 @@ describe 'DefaultApi' do
602
623
 
603
624
  }
604
625
  )
605
-
626
+ false
627
+
606
628
  expect(result).to be_a Freeclimb::ConferenceParticipantResult
607
629
 
608
630
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -625,7 +647,8 @@ describe 'DefaultApi' do
625
647
 
626
648
  }
627
649
  )
628
-
650
+ false
651
+
629
652
  expect(result).to be_a Freeclimb::QueueResult
630
653
 
631
654
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -648,7 +671,8 @@ describe 'DefaultApi' do
648
671
 
649
672
  }
650
673
  )
651
-
674
+ false
675
+
652
676
  expect(result).to be_a Freeclimb::RecordingResult
653
677
 
654
678
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -669,7 +693,8 @@ describe 'DefaultApi' do
669
693
 
670
694
  }
671
695
  )
672
-
696
+ false
697
+
673
698
  expect(result).to be_a Freeclimb::AccountResult
674
699
 
675
700
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -692,7 +717,8 @@ describe 'DefaultApi' do
692
717
 
693
718
  }
694
719
  )
695
-
720
+ false
721
+
696
722
  expect(result).to be_a Freeclimb::ApplicationResult
697
723
 
698
724
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -715,7 +741,8 @@ describe 'DefaultApi' do
715
741
 
716
742
  }
717
743
  )
718
-
744
+ false
745
+
719
746
  expect(result).to be_a Freeclimb::IncomingNumberResult
720
747
 
721
748
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -738,7 +765,8 @@ describe 'DefaultApi' do
738
765
 
739
766
  }
740
767
  )
741
-
768
+ false
769
+
742
770
  expect(result).to be_a Freeclimb::MessageResult
743
771
 
744
772
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -761,7 +789,8 @@ describe 'DefaultApi' do
761
789
 
762
790
  }
763
791
  )
764
-
792
+ false
793
+
765
794
  expect(result).to be_a Freeclimb::QueueMember
766
795
 
767
796
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -784,7 +813,8 @@ describe 'DefaultApi' do
784
813
 
785
814
  }
786
815
  )
787
-
816
+ false
817
+
788
818
  expect(result).to be_a Freeclimb::SMSTenDLCBrand
789
819
 
790
820
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -805,7 +835,8 @@ describe 'DefaultApi' do
805
835
 
806
836
  }
807
837
  )
808
-
838
+ false
839
+
809
840
  expect(result).to be_a Freeclimb::SMSTenDLCBrandsListResult
810
841
 
811
842
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -828,7 +859,8 @@ describe 'DefaultApi' do
828
859
 
829
860
  }
830
861
  )
831
-
862
+ false
863
+
832
864
  expect(result).to be_a Freeclimb::SMSTenDLCCampaign
833
865
 
834
866
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -851,7 +883,8 @@ describe 'DefaultApi' do
851
883
  :brand_id => brand_id,
852
884
  }
853
885
  )
854
-
886
+ false
887
+
855
888
  expect(result).to be_a Freeclimb::SMSTenDLCCampaignsListResult
856
889
 
857
890
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -874,7 +907,8 @@ describe 'DefaultApi' do
874
907
 
875
908
  }
876
909
  )
877
-
910
+ false
911
+
878
912
  expect(result).to be_a Freeclimb::SMSTenDLCPartnerCampaign
879
913
 
880
914
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -897,13 +931,60 @@ describe 'DefaultApi' do
897
931
  :brand_id => brand_id,
898
932
  }
899
933
  )
900
-
934
+ false
935
+
901
936
  expect(result).to be_a Freeclimb::SMSTenDLCPartnerCampaignsListResult
902
937
 
903
938
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
904
939
  end
905
940
  end
906
941
 
942
+ # unit tests for get_toll_free_sms_campaign
943
+ # Get a TollFree SMS Campaign
944
+ # @param campaign_id String that uniquely identifies this TollFree Campaign resource.
945
+ # @param [Hash] opts the optional parameters
946
+ # @return [SMSTollFreeCampaign]
947
+ describe 'get_toll_free_sms_campaign test' do
948
+ it 'should work' do
949
+
950
+ campaign_id = @campaign_id_get_toll_free_sms_campaign_test_value
951
+
952
+ result = @api_instance.get_toll_free_sms_campaign(
953
+ campaign_id,
954
+ {
955
+
956
+ }
957
+ )
958
+ false
959
+
960
+ expect(result).to be_a Freeclimb::SMSTollFreeCampaign
961
+
962
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
963
+ end
964
+ end
965
+
966
+ # unit tests for get_toll_free_sms_campaigns
967
+ # Get list of TollFree Campaigns
968
+ # @param [Hash] opts the optional parameters
969
+ # @return [SMSTollFreeCampaignsListResult]
970
+ describe 'get_toll_free_sms_campaigns test' do
971
+ it 'should work' do
972
+
973
+
974
+ result = @api_instance.get_toll_free_sms_campaigns(
975
+
976
+ {
977
+
978
+ }
979
+ )
980
+ false
981
+
982
+ expect(result).to be_a Freeclimb::SMSTollFreeCampaignsListResult
983
+
984
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
985
+ end
986
+ end
987
+
907
988
  # unit tests for list_active_queues
908
989
  # List Active Queues
909
990
  # @param [Hash] opts the optional parameters
@@ -920,7 +1001,8 @@ describe 'DefaultApi' do
920
1001
  :_alias => _alias,
921
1002
  }
922
1003
  )
923
-
1004
+ false
1005
+
924
1006
  expect(result).to be_a Freeclimb::QueueList
925
1007
 
926
1008
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -941,7 +1023,8 @@ describe 'DefaultApi' do
941
1023
 
942
1024
  }
943
1025
  )
944
-
1026
+ false
1027
+
945
1028
  expect(result).to be_a Freeclimb::LogList
946
1029
 
947
1030
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -964,7 +1047,8 @@ describe 'DefaultApi' do
964
1047
  :_alias => _alias,
965
1048
  }
966
1049
  )
967
-
1050
+ false
1051
+
968
1052
  expect(result).to be_a Freeclimb::ApplicationList
969
1053
 
970
1054
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1005,7 +1089,8 @@ describe 'DefaultApi' do
1005
1089
  :phone_number => phone_number,:region => region,:country => country,:voice_enabled => voice_enabled,:sms_enabled => sms_enabled,:capabilities_voice => capabilities_voice,:capabilities_sms => capabilities_sms,:capabilities_toll_free => capabilities_toll_free,:capabilities_ten_dlc => capabilities_ten_dlc,:capabilities_short_code => capabilities_short_code,
1006
1090
  }
1007
1091
  )
1008
-
1092
+ false
1093
+
1009
1094
  expect(result).to be_a Freeclimb::AvailableNumberList
1010
1095
 
1011
1096
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1028,7 +1113,8 @@ describe 'DefaultApi' do
1028
1113
 
1029
1114
  }
1030
1115
  )
1031
-
1116
+ false
1117
+
1032
1118
  expect(result).to be_a Freeclimb::LogList
1033
1119
 
1034
1120
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1053,7 +1139,8 @@ describe 'DefaultApi' do
1053
1139
  :date_created => date_created,
1054
1140
  }
1055
1141
  )
1056
-
1142
+ false
1143
+
1057
1144
  expect(result).to be_a Freeclimb::RecordingList
1058
1145
 
1059
1146
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1090,13 +1177,42 @@ describe 'DefaultApi' do
1090
1177
  :active => active,:to => to,:from => from,:status => status,:start_time => start_time,:end_time => end_time,:parent_call_id => parent_call_id,:application_id => application_id,
1091
1178
  }
1092
1179
  )
1093
-
1180
+ false
1181
+
1094
1182
  expect(result).to be_a Freeclimb::CallList
1095
1183
 
1096
1184
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1097
1185
  end
1098
1186
  end
1099
1187
 
1188
+ # unit tests for list_conference_recordings
1189
+ # List Conference Recordings
1190
+ # @param conference_id Show only Recordings made during the conference with this ID.
1191
+ # @param [Hash] opts the optional parameters
1192
+ # @option opts [String] :call_id Show only Recordings made during the Call with this ID.
1193
+ # @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
1194
+ # @return [RecordingList]
1195
+ describe 'list_conference_recordings test' do
1196
+ it 'should work' do
1197
+
1198
+ conference_id = @conference_id_list_conference_recordings_test_value
1199
+ call_id = @call_id_list_conference_recordings_test_value
1200
+ date_created = @date_created_list_conference_recordings_test_value
1201
+
1202
+ result = @api_instance.list_conference_recordings(
1203
+ conference_id,
1204
+ {
1205
+ :call_id => call_id,:date_created => date_created,
1206
+ }
1207
+ )
1208
+ false
1209
+
1210
+ expect(result).to be_a Freeclimb::RecordingList
1211
+
1212
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1213
+ end
1214
+ end
1215
+
1100
1216
  # unit tests for list_conferences
1101
1217
  # List Conferences
1102
1218
  # @param [Hash] opts the optional parameters
@@ -1119,7 +1235,8 @@ describe 'DefaultApi' do
1119
1235
  :status => status,:_alias => _alias,:date_created => date_created,:date_updated => date_updated,
1120
1236
  }
1121
1237
  )
1122
-
1238
+ false
1239
+
1123
1240
  expect(result).to be_a Freeclimb::ConferenceList
1124
1241
 
1125
1242
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1143,6 +1260,7 @@ describe 'DefaultApi' do
1143
1260
  # @option opts [Boolean] :capabilities_toll_free
1144
1261
  # @option opts [Boolean] :capabilities_ten_dlc
1145
1262
  # @option opts [Boolean] :capabilities_short_code
1263
+ # @option opts [String] :tfn_campaign_id Only show incoming phone number resources that have been assigned to the provided TFNCampaign ID.
1146
1264
  # @option opts [Boolean] :offnet Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource.
1147
1265
  # @return [IncomingNumberList]
1148
1266
  describe 'list_incoming_numbers test' do
@@ -1162,15 +1280,17 @@ describe 'DefaultApi' do
1162
1280
  capabilities_toll_free = @capabilities_toll_free_list_incoming_numbers_test_value
1163
1281
  capabilities_ten_dlc = @capabilities_ten_dlc_list_incoming_numbers_test_value
1164
1282
  capabilities_short_code = @capabilities_short_code_list_incoming_numbers_test_value
1283
+ tfn_campaign_id = @tfn_campaign_id_list_incoming_numbers_test_value
1165
1284
  offnet = @offnet_list_incoming_numbers_test_value
1166
1285
 
1167
1286
  result = @api_instance.list_incoming_numbers(
1168
1287
 
1169
1288
  {
1170
- :phone_number => phone_number,:_alias => _alias,:region => region,:country => country,:application_id => application_id,:has_application => has_application,:voice_enabled => voice_enabled,:sms_enabled => sms_enabled,:has_campaign => has_campaign,:capabilities_voice => capabilities_voice,:capabilities_sms => capabilities_sms,:capabilities_toll_free => capabilities_toll_free,:capabilities_ten_dlc => capabilities_ten_dlc,:capabilities_short_code => capabilities_short_code,:offnet => offnet,
1289
+ :phone_number => phone_number,:_alias => _alias,:region => region,:country => country,:application_id => application_id,:has_application => has_application,:voice_enabled => voice_enabled,:sms_enabled => sms_enabled,:has_campaign => has_campaign,:capabilities_voice => capabilities_voice,:capabilities_sms => capabilities_sms,:capabilities_toll_free => capabilities_toll_free,:capabilities_ten_dlc => capabilities_ten_dlc,:capabilities_short_code => capabilities_short_code,:tfn_campaign_id => tfn_campaign_id,:offnet => offnet,
1171
1290
  }
1172
1291
  )
1173
-
1292
+ false
1293
+
1174
1294
  expect(result).to be_a Freeclimb::IncomingNumberList
1175
1295
 
1176
1296
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1193,7 +1313,8 @@ describe 'DefaultApi' do
1193
1313
 
1194
1314
  }
1195
1315
  )
1196
-
1316
+ false
1317
+
1197
1318
  expect(result).to be_a Freeclimb::QueueMemberList
1198
1319
 
1199
1320
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1220,7 +1341,8 @@ describe 'DefaultApi' do
1220
1341
  :talk => talk,:listen => listen,
1221
1342
  }
1222
1343
  )
1223
-
1344
+ false
1345
+
1224
1346
  expect(result).to be_a Freeclimb::ConferenceParticipantList
1225
1347
 
1226
1348
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1247,7 +1369,8 @@ describe 'DefaultApi' do
1247
1369
  :call_id => call_id,:conference_id => conference_id,:date_created => date_created,
1248
1370
  }
1249
1371
  )
1250
-
1372
+ false
1373
+
1251
1374
  expect(result).to be_a Freeclimb::RecordingList
1252
1375
 
1253
1376
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1284,7 +1407,8 @@ describe 'DefaultApi' do
1284
1407
  :to => to,:from => from,:begin_time => begin_time,:end_time => end_time,:direction => direction,:campaign_id => campaign_id,:brand_id => brand_id,:is10_dlc => is10_dlc,
1285
1408
  }
1286
1409
  )
1287
-
1410
+ false
1411
+
1288
1412
  expect(result).to be_a Freeclimb::MessagesList
1289
1413
 
1290
1414
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1307,13 +1431,39 @@ describe 'DefaultApi' do
1307
1431
  :make_call_request => make_call_request,
1308
1432
  }
1309
1433
  )
1310
-
1434
+ false
1435
+
1311
1436
  expect(result).to be_a Freeclimb::CallResult
1312
1437
 
1313
1438
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1314
1439
  end
1315
1440
  end
1316
1441
 
1442
+ # unit tests for make_a_webrtc_jwt
1443
+ # Make a JWT for WebRTC calling
1444
+ # Make a JWT for WebRTC calling
1445
+ # @param create_web_rtc_token Information needed to craft a JWT compatible with the platforms WebRTC APIs
1446
+ # @param [Hash] opts the optional parameters
1447
+ # @return [String]
1448
+ describe 'make_a_webrtc_jwt test' do
1449
+ it 'should work' do
1450
+
1451
+ create_web_rtc_token = @create_web_rtc_token_make_a_webrtc_jwt_test_value
1452
+
1453
+ result = @api_instance.make_a_webrtc_jwt(
1454
+ create_web_rtc_token,
1455
+ {
1456
+
1457
+ }
1458
+ )
1459
+ true
1460
+ expect(result).to be_a String
1461
+
1462
+
1463
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1464
+ end
1465
+ end
1466
+
1317
1467
  # unit tests for remove_a_participant
1318
1468
  # Remove a Participant
1319
1469
  # @param conference_id ID of the conference this participant is in.
@@ -1332,7 +1482,8 @@ describe 'DefaultApi' do
1332
1482
 
1333
1483
  }
1334
1484
  )
1335
-
1485
+ false
1486
+
1336
1487
 
1337
1488
  expect(result).to be_nil
1338
1489
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1355,7 +1506,8 @@ describe 'DefaultApi' do
1355
1506
 
1356
1507
  }
1357
1508
  )
1358
-
1509
+ false
1510
+
1359
1511
  expect(result).to be_a Freeclimb::MessageResult
1360
1512
 
1361
1513
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1378,7 +1530,8 @@ describe 'DefaultApi' do
1378
1530
 
1379
1531
  }
1380
1532
  )
1381
-
1533
+ false
1534
+
1382
1535
  expect(result).to be_a Freeclimb::File
1383
1536
 
1384
1537
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1390,7 +1543,7 @@ describe 'DefaultApi' do
1390
1543
  # @param conference_id String that uniquely identifies this conference resource.
1391
1544
  # @param [Hash] opts the optional parameters
1392
1545
  # @option opts [UpdateConferenceRequest] :update_conference_request Conference Details to update
1393
- # @return [ConferenceResult]
1546
+ # @return [nil]
1394
1547
  describe 'update_a_conference test' do
1395
1548
  it 'should work' do
1396
1549
 
@@ -1403,9 +1556,10 @@ describe 'DefaultApi' do
1403
1556
  :update_conference_request => update_conference_request,
1404
1557
  }
1405
1558
  )
1406
-
1407
- expect(result).to be_a Freeclimb::ConferenceResult
1559
+ false
1560
+
1408
1561
 
1562
+ expect(result).to be_nil
1409
1563
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1410
1564
  end
1411
1565
  end
@@ -1428,7 +1582,8 @@ describe 'DefaultApi' do
1428
1582
 
1429
1583
  }
1430
1584
  )
1431
-
1585
+ false
1586
+
1432
1587
 
1433
1588
  expect(result).to be_nil
1434
1589
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1455,7 +1610,8 @@ describe 'DefaultApi' do
1455
1610
  :update_conference_participant_request => update_conference_participant_request,
1456
1611
  }
1457
1612
  )
1458
-
1613
+ false
1614
+
1459
1615
  expect(result).to be_a Freeclimb::ConferenceParticipantResult
1460
1616
 
1461
1617
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1480,7 +1636,8 @@ describe 'DefaultApi' do
1480
1636
  :queue_request => queue_request,
1481
1637
  }
1482
1638
  )
1483
-
1639
+ false
1640
+
1484
1641
  expect(result).to be_a Freeclimb::QueueResult
1485
1642
 
1486
1643
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1503,7 +1660,8 @@ describe 'DefaultApi' do
1503
1660
  :account_request => account_request,
1504
1661
  }
1505
1662
  )
1506
-
1663
+ false
1664
+
1507
1665
 
1508
1666
  expect(result).to be_nil
1509
1667
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1528,7 +1686,8 @@ describe 'DefaultApi' do
1528
1686
  :application_request => application_request,
1529
1687
  }
1530
1688
  )
1531
-
1689
+ false
1690
+
1532
1691
  expect(result).to be_a Freeclimb::ApplicationResult
1533
1692
 
1534
1693
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1553,7 +1712,8 @@ describe 'DefaultApi' do
1553
1712
  :incoming_number_request => incoming_number_request,
1554
1713
  }
1555
1714
  )
1556
-
1715
+ false
1716
+
1557
1717
  expect(result).to be_a Freeclimb::IncomingNumberResult
1558
1718
 
1559
1719
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers