freeclimb 4.6.0 → 4.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/README.md +6 -5
- data/docs/DefaultApi.md +7 -6
- data/docs/TranscribeUtterance.md +1 -1
- data/docs/TranscribeUtteranceAllOf.md +28 -0
- data/docs/TranscribeUtteranceAllOfRecord.md +22 -0
- data/lib/freeclimb/api/default_api.rb +11 -7
- data/lib/freeclimb/models/account_request.rb +0 -2
- data/lib/freeclimb/models/account_result.rb +0 -6
- data/lib/freeclimb/models/add_to_conference.rb +0 -16
- data/lib/freeclimb/models/add_to_conference_all_of.rb +0 -16
- data/lib/freeclimb/models/application_result.rb +0 -6
- data/lib/freeclimb/models/buy_incoming_number_request.rb +0 -4
- data/lib/freeclimb/models/call_result.rb +0 -6
- data/lib/freeclimb/models/conference_participant_result.rb +0 -6
- data/lib/freeclimb/models/conference_result.rb +0 -6
- data/lib/freeclimb/models/create_conference.rb +0 -8
- data/lib/freeclimb/models/create_conference_all_of.rb +0 -8
- data/lib/freeclimb/models/create_conference_request.rb +0 -6
- data/lib/freeclimb/models/create_web_rtc_token.rb +0 -4
- data/lib/freeclimb/models/dequeue.rb +1 -0
- data/lib/freeclimb/models/enqueue.rb +0 -6
- data/lib/freeclimb/models/enqueue_all_of.rb +0 -6
- data/lib/freeclimb/models/get_digits.rb +0 -16
- data/lib/freeclimb/models/get_digits_all_of.rb +0 -16
- data/lib/freeclimb/models/get_speech.rb +0 -22
- data/lib/freeclimb/models/get_speech_all_of.rb +0 -22
- data/lib/freeclimb/models/incoming_number_request.rb +0 -2
- data/lib/freeclimb/models/incoming_number_result.rb +0 -10
- data/lib/freeclimb/models/incoming_number_result_all_of.rb +0 -2
- data/lib/freeclimb/models/make_call_request.rb +0 -18
- data/lib/freeclimb/models/message_request.rb +0 -16
- data/lib/freeclimb/models/message_request_all_of.rb +0 -8
- data/lib/freeclimb/models/message_result.rb +0 -8
- data/lib/freeclimb/models/message_result_all_of.rb +0 -2
- data/lib/freeclimb/models/mutable_resource_model.rb +0 -6
- data/lib/freeclimb/models/out_dial.rb +0 -18
- data/lib/freeclimb/models/out_dial_all_of.rb +0 -18
- data/lib/freeclimb/models/park.rb +0 -4
- data/lib/freeclimb/models/park_all_of.rb +0 -4
- data/lib/freeclimb/models/play.rb +0 -4
- data/lib/freeclimb/models/play_all_of.rb +0 -4
- data/lib/freeclimb/models/queue_request.rb +0 -2
- data/lib/freeclimb/models/queue_result.rb +0 -6
- data/lib/freeclimb/models/record_utterance.rb +0 -12
- data/lib/freeclimb/models/record_utterance_all_of.rb +0 -12
- data/lib/freeclimb/models/recording_result.rb +0 -6
- data/lib/freeclimb/models/remove_from_conference.rb +1 -0
- data/lib/freeclimb/models/say.rb +0 -6
- data/lib/freeclimb/models/say_all_of.rb +0 -6
- data/lib/freeclimb/models/send_digits.rb +0 -4
- data/lib/freeclimb/models/send_digits_all_of.rb +0 -4
- data/lib/freeclimb/models/sms.rb +0 -6
- data/lib/freeclimb/models/sms_all_of.rb +0 -6
- data/lib/freeclimb/models/sms_ten_dlc_brand.rb +0 -60
- data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +0 -50
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +0 -44
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +0 -20
- data/lib/freeclimb/models/sms_toll_free_campaign.rb +0 -12
- data/lib/freeclimb/models/start_record_call.rb +1 -0
- data/lib/freeclimb/models/terminate_conference.rb +1 -0
- data/lib/freeclimb/models/transcribe_utterance.rb +11 -16
- data/lib/freeclimb/models/{terminate_conference_all_of.rb → transcribe_utterance_all_of.rb} +67 -14
- data/lib/freeclimb/models/{transcribe_utterance_record.rb → transcribe_utterance_all_of_record.rb} +3 -7
- data/lib/freeclimb/models/unpark.rb +1 -0
- data/lib/freeclimb/models/update_conference_participant_request.rb +0 -2
- data/lib/freeclimb/models/update_conference_request.rb +0 -2
- data/lib/freeclimb/version.rb +1 -1
- data/lib/freeclimb.rb +3 -2
- data/openapi.json +142 -318
- data/spec/api/default_api_spec.rb +120 -61
- data/spec/models/account_request_spec.rb +8 -6
- data/spec/models/account_result_spec.rb +28 -9
- data/spec/models/add_to_conference_spec.rb +21 -7
- data/spec/models/application_list_spec.rb +46 -22
- data/spec/models/application_request_spec.rb +13 -6
- data/spec/models/application_result_spec.rb +24 -9
- data/spec/models/available_number_list_spec.rb +46 -22
- data/spec/models/available_number_spec.rb +23 -10
- data/spec/models/buy_incoming_number_request_spec.rb +11 -7
- data/spec/models/call_list_spec.rb +46 -22
- data/spec/models/call_result_spec.rb +49 -15
- data/spec/models/capabilities_spec.rb +26 -11
- data/spec/models/conference_list_spec.rb +46 -22
- data/spec/models/conference_participant_list_spec.rb +46 -22
- data/spec/models/conference_participant_result_spec.rb +24 -9
- data/spec/models/conference_result_spec.rb +32 -9
- data/spec/models/create_conference_request_spec.rb +15 -6
- data/spec/models/create_conference_spec.rb +19 -7
- data/spec/models/create_web_rtc_token_spec.rb +18 -12
- data/spec/models/enqueue_spec.rb +16 -9
- data/spec/models/filter_logs_request_spec.rb +9 -7
- data/spec/models/get_digits_spec.rb +43 -19
- data/spec/models/get_speech_spec.rb +60 -24
- data/spec/models/hangup_spec.rb +7 -6
- data/spec/models/incoming_number_list_spec.rb +46 -22
- data/spec/models/incoming_number_request_spec.rb +9 -6
- data/spec/models/incoming_number_result_spec.rb +47 -17
- data/spec/models/log_list_spec.rb +46 -22
- data/spec/models/log_result_spec.rb +21 -9
- data/spec/models/make_call_request_spec.rb +26 -11
- data/spec/models/message_request_spec.rb +26 -12
- data/spec/models/message_result_spec.rb +34 -11
- data/spec/models/messages_list_spec.rb +46 -22
- data/spec/models/mutable_resource_model_spec.rb +15 -9
- data/spec/models/out_dial_spec.rb +33 -13
- data/spec/models/pagination_model_spec.rb +40 -21
- data/spec/models/park_spec.rb +13 -8
- data/spec/models/pause_spec.rb +14 -10
- data/spec/models/percl_command_spec.rb +6 -6
- data/spec/models/percl_script_spec.rb +11 -6
- data/spec/models/play_early_media_spec.rb +9 -7
- data/spec/models/play_spec.rb +17 -10
- data/spec/models/queue_list_spec.rb +46 -22
- data/spec/models/queue_member_list_spec.rb +46 -22
- data/spec/models/queue_member_spec.rb +21 -12
- data/spec/models/queue_request_spec.rb +13 -9
- data/spec/models/queue_result_spec.rb +37 -18
- data/spec/models/record_utterance_spec.rb +28 -13
- data/spec/models/recording_list_spec.rb +46 -22
- data/spec/models/recording_result_spec.rb +25 -12
- data/spec/models/redirect_spec.rb +9 -7
- data/spec/models/reject_spec.rb +7 -6
- data/spec/models/remove_from_conference_spec.rb +0 -67
- data/spec/models/say_spec.rb +18 -10
- data/spec/models/send_digits_spec.rb +17 -10
- data/spec/models/set_listen_spec.rb +8 -6
- data/spec/models/set_talk_spec.rb +8 -6
- data/spec/models/sms_spec.rb +16 -9
- data/spec/models/sms_ten_dlc_brand_spec.rb +38 -4
- data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +46 -22
- data/spec/models/sms_ten_dlc_campaign_spec.rb +63 -4
- data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +46 -22
- data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +25 -7
- data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +56 -8
- data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +46 -22
- data/spec/models/sms_toll_free_campaign_spec.rb +29 -15
- data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +46 -22
- data/spec/models/terminate_conference_spec.rb +0 -67
- data/spec/models/tfn_spec.rb +9 -7
- data/spec/models/{transcribe_utterance_record_spec.rb → transcribe_utterance_all_of_record_spec.rb} +78 -67
- data/spec/models/transcribe_utterance_spec.rb +37 -96
- data/spec/models/update_call_request_spec.rb +12 -7
- data/spec/models/update_conference_participant_request_spec.rb +10 -6
- data/spec/models/update_conference_request_spec.rb +15 -6
- metadata +88 -87
- data/lib/freeclimb/models/remove_from_conference_all_of.rb +0 -228
@@ -245,10 +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
|
-
|
248
|
+
|
249
249
|
@campaign_id_get_toll_free_sms_campaign_test_value = 'CX56XX4'
|
250
250
|
|
251
|
+
@conference_id_list_conference_recordings_test_value = 'conferenceId_example'
|
252
|
+
|
251
253
|
@create_web_rtc_token_make_a_webrtc_jwt_test_value=Freeclimb::CreateWebRTCToken.new({to: 'to_example', from: 'from_example', uses: 2})
|
254
|
+
|
252
255
|
end
|
253
256
|
|
254
257
|
after do
|
@@ -278,7 +281,8 @@ describe 'DefaultApi' do
|
|
278
281
|
|
279
282
|
}
|
280
283
|
)
|
281
|
-
|
284
|
+
false
|
285
|
+
|
282
286
|
expect(result).to be_a Freeclimb::IncomingNumberResult
|
283
287
|
|
284
288
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -301,7 +305,8 @@ describe 'DefaultApi' do
|
|
301
305
|
:create_conference_request => create_conference_request,
|
302
306
|
}
|
303
307
|
)
|
304
|
-
|
308
|
+
false
|
309
|
+
|
305
310
|
expect(result).to be_a Freeclimb::ConferenceResult
|
306
311
|
|
307
312
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -324,7 +329,8 @@ describe 'DefaultApi' do
|
|
324
329
|
:queue_request => queue_request,
|
325
330
|
}
|
326
331
|
)
|
327
|
-
|
332
|
+
false
|
333
|
+
|
328
334
|
expect(result).to be_a Freeclimb::QueueResult
|
329
335
|
|
330
336
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -347,7 +353,8 @@ describe 'DefaultApi' do
|
|
347
353
|
:application_request => application_request,
|
348
354
|
}
|
349
355
|
)
|
350
|
-
|
356
|
+
false
|
357
|
+
|
351
358
|
expect(result).to be_a Freeclimb::ApplicationResult
|
352
359
|
|
353
360
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -370,7 +377,8 @@ describe 'DefaultApi' do
|
|
370
377
|
|
371
378
|
}
|
372
379
|
)
|
373
|
-
|
380
|
+
false
|
381
|
+
|
374
382
|
|
375
383
|
expect(result).to be_nil
|
376
384
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -393,7 +401,8 @@ describe 'DefaultApi' do
|
|
393
401
|
|
394
402
|
}
|
395
403
|
)
|
396
|
-
|
404
|
+
false
|
405
|
+
|
397
406
|
|
398
407
|
expect(result).to be_nil
|
399
408
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -416,7 +425,8 @@ describe 'DefaultApi' do
|
|
416
425
|
|
417
426
|
}
|
418
427
|
)
|
419
|
-
|
428
|
+
false
|
429
|
+
|
420
430
|
|
421
431
|
expect(result).to be_nil
|
422
432
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -441,7 +451,8 @@ describe 'DefaultApi' do
|
|
441
451
|
|
442
452
|
}
|
443
453
|
)
|
444
|
-
|
454
|
+
false
|
455
|
+
|
445
456
|
expect(result).to be_a Freeclimb::QueueMember
|
446
457
|
|
447
458
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -464,7 +475,8 @@ describe 'DefaultApi' do
|
|
464
475
|
|
465
476
|
}
|
466
477
|
)
|
467
|
-
|
478
|
+
false
|
479
|
+
|
468
480
|
expect(result).to be_a Freeclimb::QueueMember
|
469
481
|
|
470
482
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -487,7 +499,8 @@ describe 'DefaultApi' do
|
|
487
499
|
|
488
500
|
}
|
489
501
|
)
|
490
|
-
|
502
|
+
false
|
503
|
+
|
491
504
|
expect(result).to be_a Freeclimb::File
|
492
505
|
|
493
506
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -510,7 +523,8 @@ describe 'DefaultApi' do
|
|
510
523
|
|
511
524
|
}
|
512
525
|
)
|
513
|
-
|
526
|
+
false
|
527
|
+
|
514
528
|
expect(result).to be_a Freeclimb::LogList
|
515
529
|
|
516
530
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -533,7 +547,8 @@ describe 'DefaultApi' do
|
|
533
547
|
|
534
548
|
}
|
535
549
|
)
|
536
|
-
|
550
|
+
false
|
551
|
+
|
537
552
|
expect(result).to be_a Freeclimb::CallResult
|
538
553
|
|
539
554
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -556,7 +571,8 @@ describe 'DefaultApi' do
|
|
556
571
|
|
557
572
|
}
|
558
573
|
)
|
559
|
-
|
574
|
+
false
|
575
|
+
|
560
576
|
expect(result).to be_a Freeclimb::ConferenceResult
|
561
577
|
|
562
578
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -581,7 +597,8 @@ describe 'DefaultApi' do
|
|
581
597
|
|
582
598
|
}
|
583
599
|
)
|
584
|
-
|
600
|
+
false
|
601
|
+
|
585
602
|
expect(result).to be_a Freeclimb::QueueMember
|
586
603
|
|
587
604
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -606,7 +623,8 @@ describe 'DefaultApi' do
|
|
606
623
|
|
607
624
|
}
|
608
625
|
)
|
609
|
-
|
626
|
+
false
|
627
|
+
|
610
628
|
expect(result).to be_a Freeclimb::ConferenceParticipantResult
|
611
629
|
|
612
630
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -629,7 +647,8 @@ describe 'DefaultApi' do
|
|
629
647
|
|
630
648
|
}
|
631
649
|
)
|
632
|
-
|
650
|
+
false
|
651
|
+
|
633
652
|
expect(result).to be_a Freeclimb::QueueResult
|
634
653
|
|
635
654
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -652,7 +671,8 @@ describe 'DefaultApi' do
|
|
652
671
|
|
653
672
|
}
|
654
673
|
)
|
655
|
-
|
674
|
+
false
|
675
|
+
|
656
676
|
expect(result).to be_a Freeclimb::RecordingResult
|
657
677
|
|
658
678
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -673,7 +693,8 @@ describe 'DefaultApi' do
|
|
673
693
|
|
674
694
|
}
|
675
695
|
)
|
676
|
-
|
696
|
+
false
|
697
|
+
|
677
698
|
expect(result).to be_a Freeclimb::AccountResult
|
678
699
|
|
679
700
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -696,7 +717,8 @@ describe 'DefaultApi' do
|
|
696
717
|
|
697
718
|
}
|
698
719
|
)
|
699
|
-
|
720
|
+
false
|
721
|
+
|
700
722
|
expect(result).to be_a Freeclimb::ApplicationResult
|
701
723
|
|
702
724
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -719,7 +741,8 @@ describe 'DefaultApi' do
|
|
719
741
|
|
720
742
|
}
|
721
743
|
)
|
722
|
-
|
744
|
+
false
|
745
|
+
|
723
746
|
expect(result).to be_a Freeclimb::IncomingNumberResult
|
724
747
|
|
725
748
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -742,7 +765,8 @@ describe 'DefaultApi' do
|
|
742
765
|
|
743
766
|
}
|
744
767
|
)
|
745
|
-
|
768
|
+
false
|
769
|
+
|
746
770
|
expect(result).to be_a Freeclimb::MessageResult
|
747
771
|
|
748
772
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -765,7 +789,8 @@ describe 'DefaultApi' do
|
|
765
789
|
|
766
790
|
}
|
767
791
|
)
|
768
|
-
|
792
|
+
false
|
793
|
+
|
769
794
|
expect(result).to be_a Freeclimb::QueueMember
|
770
795
|
|
771
796
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -788,7 +813,8 @@ describe 'DefaultApi' do
|
|
788
813
|
|
789
814
|
}
|
790
815
|
)
|
791
|
-
|
816
|
+
false
|
817
|
+
|
792
818
|
expect(result).to be_a Freeclimb::SMSTenDLCBrand
|
793
819
|
|
794
820
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -809,7 +835,8 @@ describe 'DefaultApi' do
|
|
809
835
|
|
810
836
|
}
|
811
837
|
)
|
812
|
-
|
838
|
+
false
|
839
|
+
|
813
840
|
expect(result).to be_a Freeclimb::SMSTenDLCBrandsListResult
|
814
841
|
|
815
842
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -832,7 +859,8 @@ describe 'DefaultApi' do
|
|
832
859
|
|
833
860
|
}
|
834
861
|
)
|
835
|
-
|
862
|
+
false
|
863
|
+
|
836
864
|
expect(result).to be_a Freeclimb::SMSTenDLCCampaign
|
837
865
|
|
838
866
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -855,7 +883,8 @@ describe 'DefaultApi' do
|
|
855
883
|
:brand_id => brand_id,
|
856
884
|
}
|
857
885
|
)
|
858
|
-
|
886
|
+
false
|
887
|
+
|
859
888
|
expect(result).to be_a Freeclimb::SMSTenDLCCampaignsListResult
|
860
889
|
|
861
890
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -878,7 +907,8 @@ describe 'DefaultApi' do
|
|
878
907
|
|
879
908
|
}
|
880
909
|
)
|
881
|
-
|
910
|
+
false
|
911
|
+
|
882
912
|
expect(result).to be_a Freeclimb::SMSTenDLCPartnerCampaign
|
883
913
|
|
884
914
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -901,7 +931,8 @@ describe 'DefaultApi' do
|
|
901
931
|
:brand_id => brand_id,
|
902
932
|
}
|
903
933
|
)
|
904
|
-
|
934
|
+
false
|
935
|
+
|
905
936
|
expect(result).to be_a Freeclimb::SMSTenDLCPartnerCampaignsListResult
|
906
937
|
|
907
938
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -924,7 +955,8 @@ describe 'DefaultApi' do
|
|
924
955
|
|
925
956
|
}
|
926
957
|
)
|
927
|
-
|
958
|
+
false
|
959
|
+
|
928
960
|
expect(result).to be_a Freeclimb::SMSTollFreeCampaign
|
929
961
|
|
930
962
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -945,7 +977,8 @@ describe 'DefaultApi' do
|
|
945
977
|
|
946
978
|
}
|
947
979
|
)
|
948
|
-
|
980
|
+
false
|
981
|
+
|
949
982
|
expect(result).to be_a Freeclimb::SMSTollFreeCampaignsListResult
|
950
983
|
|
951
984
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -968,7 +1001,8 @@ describe 'DefaultApi' do
|
|
968
1001
|
:_alias => _alias,
|
969
1002
|
}
|
970
1003
|
)
|
971
|
-
|
1004
|
+
false
|
1005
|
+
|
972
1006
|
expect(result).to be_a Freeclimb::QueueList
|
973
1007
|
|
974
1008
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -989,7 +1023,8 @@ describe 'DefaultApi' do
|
|
989
1023
|
|
990
1024
|
}
|
991
1025
|
)
|
992
|
-
|
1026
|
+
false
|
1027
|
+
|
993
1028
|
expect(result).to be_a Freeclimb::LogList
|
994
1029
|
|
995
1030
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1012,7 +1047,8 @@ describe 'DefaultApi' do
|
|
1012
1047
|
:_alias => _alias,
|
1013
1048
|
}
|
1014
1049
|
)
|
1015
|
-
|
1050
|
+
false
|
1051
|
+
|
1016
1052
|
expect(result).to be_a Freeclimb::ApplicationList
|
1017
1053
|
|
1018
1054
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1053,7 +1089,8 @@ describe 'DefaultApi' do
|
|
1053
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,
|
1054
1090
|
}
|
1055
1091
|
)
|
1056
|
-
|
1092
|
+
false
|
1093
|
+
|
1057
1094
|
expect(result).to be_a Freeclimb::AvailableNumberList
|
1058
1095
|
|
1059
1096
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1076,7 +1113,8 @@ describe 'DefaultApi' do
|
|
1076
1113
|
|
1077
1114
|
}
|
1078
1115
|
)
|
1079
|
-
|
1116
|
+
false
|
1117
|
+
|
1080
1118
|
expect(result).to be_a Freeclimb::LogList
|
1081
1119
|
|
1082
1120
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1101,7 +1139,8 @@ describe 'DefaultApi' do
|
|
1101
1139
|
:date_created => date_created,
|
1102
1140
|
}
|
1103
1141
|
)
|
1104
|
-
|
1142
|
+
false
|
1143
|
+
|
1105
1144
|
expect(result).to be_a Freeclimb::RecordingList
|
1106
1145
|
|
1107
1146
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1138,7 +1177,8 @@ describe 'DefaultApi' do
|
|
1138
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,
|
1139
1178
|
}
|
1140
1179
|
)
|
1141
|
-
|
1180
|
+
false
|
1181
|
+
|
1142
1182
|
expect(result).to be_a Freeclimb::CallList
|
1143
1183
|
|
1144
1184
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1147,25 +1187,26 @@ describe 'DefaultApi' do
|
|
1147
1187
|
|
1148
1188
|
# unit tests for list_conference_recordings
|
1149
1189
|
# List Conference Recordings
|
1190
|
+
# @param conference_id Show only Recordings made during the conference with this ID.
|
1150
1191
|
# @param [Hash] opts the optional parameters
|
1151
1192
|
# @option opts [String] :call_id Show only Recordings made during the Call with this ID.
|
1152
|
-
# @option opts [String] :conference_id Show only Recordings made during the conference with this ID.
|
1153
1193
|
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
|
1154
1194
|
# @return [RecordingList]
|
1155
1195
|
describe 'list_conference_recordings test' do
|
1156
1196
|
it 'should work' do
|
1157
1197
|
|
1158
|
-
call_id = @call_id_list_conference_recordings_test_value
|
1159
1198
|
conference_id = @conference_id_list_conference_recordings_test_value
|
1199
|
+
call_id = @call_id_list_conference_recordings_test_value
|
1160
1200
|
date_created = @date_created_list_conference_recordings_test_value
|
1161
1201
|
|
1162
1202
|
result = @api_instance.list_conference_recordings(
|
1163
|
-
|
1203
|
+
conference_id,
|
1164
1204
|
{
|
1165
|
-
:call_id => call_id,:
|
1205
|
+
:call_id => call_id,:date_created => date_created,
|
1166
1206
|
}
|
1167
1207
|
)
|
1168
|
-
|
1208
|
+
false
|
1209
|
+
|
1169
1210
|
expect(result).to be_a Freeclimb::RecordingList
|
1170
1211
|
|
1171
1212
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1194,7 +1235,8 @@ describe 'DefaultApi' do
|
|
1194
1235
|
:status => status,:_alias => _alias,:date_created => date_created,:date_updated => date_updated,
|
1195
1236
|
}
|
1196
1237
|
)
|
1197
|
-
|
1238
|
+
false
|
1239
|
+
|
1198
1240
|
expect(result).to be_a Freeclimb::ConferenceList
|
1199
1241
|
|
1200
1242
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1247,7 +1289,8 @@ describe 'DefaultApi' do
|
|
1247
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,
|
1248
1290
|
}
|
1249
1291
|
)
|
1250
|
-
|
1292
|
+
false
|
1293
|
+
|
1251
1294
|
expect(result).to be_a Freeclimb::IncomingNumberList
|
1252
1295
|
|
1253
1296
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1270,7 +1313,8 @@ describe 'DefaultApi' do
|
|
1270
1313
|
|
1271
1314
|
}
|
1272
1315
|
)
|
1273
|
-
|
1316
|
+
false
|
1317
|
+
|
1274
1318
|
expect(result).to be_a Freeclimb::QueueMemberList
|
1275
1319
|
|
1276
1320
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1297,7 +1341,8 @@ describe 'DefaultApi' do
|
|
1297
1341
|
:talk => talk,:listen => listen,
|
1298
1342
|
}
|
1299
1343
|
)
|
1300
|
-
|
1344
|
+
false
|
1345
|
+
|
1301
1346
|
expect(result).to be_a Freeclimb::ConferenceParticipantList
|
1302
1347
|
|
1303
1348
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1324,7 +1369,8 @@ describe 'DefaultApi' do
|
|
1324
1369
|
:call_id => call_id,:conference_id => conference_id,:date_created => date_created,
|
1325
1370
|
}
|
1326
1371
|
)
|
1327
|
-
|
1372
|
+
false
|
1373
|
+
|
1328
1374
|
expect(result).to be_a Freeclimb::RecordingList
|
1329
1375
|
|
1330
1376
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1361,7 +1407,8 @@ describe 'DefaultApi' do
|
|
1361
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,
|
1362
1408
|
}
|
1363
1409
|
)
|
1364
|
-
|
1410
|
+
false
|
1411
|
+
|
1365
1412
|
expect(result).to be_a Freeclimb::MessagesList
|
1366
1413
|
|
1367
1414
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1384,7 +1431,8 @@ describe 'DefaultApi' do
|
|
1384
1431
|
:make_call_request => make_call_request,
|
1385
1432
|
}
|
1386
1433
|
)
|
1387
|
-
|
1434
|
+
false
|
1435
|
+
|
1388
1436
|
expect(result).to be_a Freeclimb::CallResult
|
1389
1437
|
|
1390
1438
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1408,9 +1456,10 @@ describe 'DefaultApi' do
|
|
1408
1456
|
|
1409
1457
|
}
|
1410
1458
|
)
|
1411
|
-
|
1459
|
+
true
|
1412
1460
|
expect(result).to be_a String
|
1413
1461
|
|
1462
|
+
|
1414
1463
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1415
1464
|
end
|
1416
1465
|
end
|
@@ -1433,7 +1482,8 @@ describe 'DefaultApi' do
|
|
1433
1482
|
|
1434
1483
|
}
|
1435
1484
|
)
|
1436
|
-
|
1485
|
+
false
|
1486
|
+
|
1437
1487
|
|
1438
1488
|
expect(result).to be_nil
|
1439
1489
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1456,7 +1506,8 @@ describe 'DefaultApi' do
|
|
1456
1506
|
|
1457
1507
|
}
|
1458
1508
|
)
|
1459
|
-
|
1509
|
+
false
|
1510
|
+
|
1460
1511
|
expect(result).to be_a Freeclimb::MessageResult
|
1461
1512
|
|
1462
1513
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1479,7 +1530,8 @@ describe 'DefaultApi' do
|
|
1479
1530
|
|
1480
1531
|
}
|
1481
1532
|
)
|
1482
|
-
|
1533
|
+
false
|
1534
|
+
|
1483
1535
|
expect(result).to be_a Freeclimb::File
|
1484
1536
|
|
1485
1537
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1504,7 +1556,8 @@ describe 'DefaultApi' do
|
|
1504
1556
|
:update_conference_request => update_conference_request,
|
1505
1557
|
}
|
1506
1558
|
)
|
1507
|
-
|
1559
|
+
false
|
1560
|
+
|
1508
1561
|
|
1509
1562
|
expect(result).to be_nil
|
1510
1563
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1529,7 +1582,8 @@ describe 'DefaultApi' do
|
|
1529
1582
|
|
1530
1583
|
}
|
1531
1584
|
)
|
1532
|
-
|
1585
|
+
false
|
1586
|
+
|
1533
1587
|
|
1534
1588
|
expect(result).to be_nil
|
1535
1589
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1556,7 +1610,8 @@ describe 'DefaultApi' do
|
|
1556
1610
|
:update_conference_participant_request => update_conference_participant_request,
|
1557
1611
|
}
|
1558
1612
|
)
|
1559
|
-
|
1613
|
+
false
|
1614
|
+
|
1560
1615
|
expect(result).to be_a Freeclimb::ConferenceParticipantResult
|
1561
1616
|
|
1562
1617
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1581,7 +1636,8 @@ describe 'DefaultApi' do
|
|
1581
1636
|
:queue_request => queue_request,
|
1582
1637
|
}
|
1583
1638
|
)
|
1584
|
-
|
1639
|
+
false
|
1640
|
+
|
1585
1641
|
expect(result).to be_a Freeclimb::QueueResult
|
1586
1642
|
|
1587
1643
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1604,7 +1660,8 @@ describe 'DefaultApi' do
|
|
1604
1660
|
:account_request => account_request,
|
1605
1661
|
}
|
1606
1662
|
)
|
1607
|
-
|
1663
|
+
false
|
1664
|
+
|
1608
1665
|
|
1609
1666
|
expect(result).to be_nil
|
1610
1667
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1629,7 +1686,8 @@ describe 'DefaultApi' do
|
|
1629
1686
|
:application_request => application_request,
|
1630
1687
|
}
|
1631
1688
|
)
|
1632
|
-
|
1689
|
+
false
|
1690
|
+
|
1633
1691
|
expect(result).to be_a Freeclimb::ApplicationResult
|
1634
1692
|
|
1635
1693
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -1654,7 +1712,8 @@ describe 'DefaultApi' do
|
|
1654
1712
|
:incoming_number_request => incoming_number_request,
|
1655
1713
|
}
|
1656
1714
|
)
|
1657
|
-
|
1715
|
+
false
|
1716
|
+
|
1658
1717
|
expect(result).to be_a Freeclimb::IncomingNumberResult
|
1659
1718
|
|
1660
1719
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -30,6 +30,7 @@ describe Freeclimb::AccountRequest do
|
|
30
30
|
it 'should work' do
|
31
31
|
instance._alias = "TEST_STRING"
|
32
32
|
expect(instance._alias).to eq("TEST_STRING")
|
33
|
+
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|
@@ -37,6 +38,7 @@ describe Freeclimb::AccountRequest do
|
|
37
38
|
it 'should work' do
|
38
39
|
instance.label = "TEST_STRING"
|
39
40
|
expect(instance.label).to eq("TEST_STRING")
|
41
|
+
|
40
42
|
end
|
41
43
|
end
|
42
44
|
|
@@ -62,7 +64,7 @@ describe Freeclimb::AccountRequest do
|
|
62
64
|
)}.to raise_error(ArgumentError)
|
63
65
|
end
|
64
66
|
end
|
65
|
-
|
67
|
+
|
66
68
|
describe 'test method "valid"' do
|
67
69
|
it 'checks if properties are valid' do
|
68
70
|
instance = Freeclimb::AccountRequest.new(
|
@@ -71,15 +73,14 @@ describe Freeclimb::AccountRequest do
|
|
71
73
|
)
|
72
74
|
expect(instance.valid?).to eq(true)
|
73
75
|
end
|
76
|
+
|
74
77
|
it 'checks if properties are invalid' do
|
75
78
|
instance = Freeclimb::AccountRequest.new(
|
79
|
+
|
76
80
|
)
|
77
81
|
expect(instance.valid?).to eq(false)
|
78
82
|
end
|
79
|
-
|
80
|
-
instance = Freeclimb::AccountRequest.new()
|
81
|
-
expect(instance.valid?).to eq(false)
|
82
|
-
end
|
83
|
+
|
83
84
|
end
|
84
85
|
|
85
86
|
describe 'test method "eql?"' do
|
@@ -95,6 +96,7 @@ describe Freeclimb::AccountRequest do
|
|
95
96
|
)
|
96
97
|
expect(instance_1.eql?(instance_2)).to eq(true)
|
97
98
|
end
|
99
|
+
|
98
100
|
it 'checks if objects are not equal' do
|
99
101
|
instance_1 = Freeclimb::AccountRequest.new(
|
100
102
|
_alias: "TS",
|
@@ -107,7 +109,7 @@ describe Freeclimb::AccountRequest do
|
|
107
109
|
expect(instance_1.eql?(instance_2)).to eq(false)
|
108
110
|
end
|
109
111
|
end
|
110
|
-
|
112
|
+
|
111
113
|
describe 'test method "hash"' do
|
112
114
|
it 'calculates hash code' do
|
113
115
|
instance = Freeclimb::AccountRequest.new(
|