freeclimb 4.7.0 → 4.8.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +21 -21
- data/README.md +7 -4
- data/docs/CompletionRequest.md +18 -0
- data/docs/CompletionResult.md +20 -0
- data/docs/DefaultApi.md +76 -0
- data/docs/SMSTenDLCCampaign.md +1 -1
- data/lib/freeclimb/api/default_api.rb +69 -0
- data/lib/freeclimb/models/completion_request.rb +246 -0
- data/lib/freeclimb/models/completion_result.rb +274 -0
- data/lib/freeclimb/version.rb +1 -1
- data/lib/freeclimb.rb +2 -0
- data/openapi.json +76 -6
- data/package.json +3 -1
- data/spec/api/default_api_spec.rb +29 -0
- data/spec/models/account_request_spec.rb +2 -1
- data/spec/models/account_result_spec.rb +2 -1
- data/spec/models/add_to_conference_spec.rb +2 -7
- data/spec/models/application_list_spec.rb +2 -1
- data/spec/models/application_request_spec.rb +2 -1
- data/spec/models/application_result_spec.rb +2 -1
- data/spec/models/available_number_list_spec.rb +2 -1
- data/spec/models/available_number_spec.rb +2 -3
- data/spec/models/buy_incoming_number_request_spec.rb +2 -3
- data/spec/models/call_list_spec.rb +2 -1
- data/spec/models/call_result_spec.rb +2 -1
- data/spec/models/capabilities_spec.rb +2 -16
- data/spec/models/completion_request_spec.rb +165 -0
- data/spec/models/completion_result_spec.rb +203 -0
- data/spec/models/conference_list_spec.rb +2 -1
- data/spec/models/conference_participant_list_spec.rb +2 -1
- data/spec/models/conference_participant_result_spec.rb +2 -4
- data/spec/models/conference_result_spec.rb +2 -2
- data/spec/models/create_conference_request_spec.rb +2 -2
- data/spec/models/create_conference_spec.rb +2 -5
- data/spec/models/create_web_rtc_token_spec.rb +2 -5
- data/spec/models/enqueue_spec.rb +2 -7
- data/spec/models/filter_logs_request_spec.rb +2 -3
- data/spec/models/get_digits_spec.rb +2 -5
- data/spec/models/get_speech_spec.rb +2 -7
- data/spec/models/hangup_spec.rb +2 -1
- data/spec/models/incoming_number_list_spec.rb +2 -1
- data/spec/models/incoming_number_request_spec.rb +2 -1
- data/spec/models/incoming_number_result_spec.rb +2 -4
- data/spec/models/log_list_spec.rb +2 -1
- data/spec/models/log_result_spec.rb +2 -1
- data/spec/models/make_call_request_spec.rb +2 -6
- data/spec/models/message_request_spec.rb +2 -7
- data/spec/models/message_result_spec.rb +2 -1
- data/spec/models/messages_list_spec.rb +2 -1
- data/spec/models/mutable_resource_model_spec.rb +2 -1
- data/spec/models/out_dial_spec.rb +2 -10
- data/spec/models/pagination_model_spec.rb +2 -1
- data/spec/models/park_spec.rb +2 -5
- data/spec/models/pause_spec.rb +2 -3
- data/spec/models/percl_command_spec.rb +2 -1
- data/spec/models/percl_script_spec.rb +2 -1
- data/spec/models/play_early_media_spec.rb +2 -3
- data/spec/models/play_spec.rb +2 -4
- data/spec/models/queue_list_spec.rb +2 -1
- data/spec/models/queue_member_list_spec.rb +2 -1
- data/spec/models/queue_member_spec.rb +2 -1
- data/spec/models/queue_request_spec.rb +2 -1
- data/spec/models/queue_result_spec.rb +2 -1
- data/spec/models/record_utterance_spec.rb +2 -6
- data/spec/models/recording_list_spec.rb +2 -1
- data/spec/models/recording_result_spec.rb +2 -1
- data/spec/models/redirect_spec.rb +2 -3
- data/spec/models/reject_spec.rb +2 -1
- data/spec/models/say_spec.rb +2 -4
- data/spec/models/send_digits_spec.rb +2 -4
- data/spec/models/set_listen_spec.rb +2 -2
- data/spec/models/set_talk_spec.rb +2 -2
- data/spec/models/sms_spec.rb +2 -7
- data/spec/models/sms_ten_dlc_brand_spec.rb +132 -103
- data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +2 -1
- data/spec/models/sms_ten_dlc_campaign_spec.rb +21 -53
- data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +2 -1
- data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +2 -8
- data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +21 -43
- data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +2 -1
- data/spec/models/sms_toll_free_campaign_spec.rb +24 -29
- data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +2 -1
- data/spec/models/tfn_spec.rb +2 -3
- data/spec/models/transcribe_utterance_all_of_record_spec.rb +2 -6
- data/spec/models/transcribe_utterance_spec.rb +2 -6
- data/spec/models/update_call_request_spec.rb +2 -3
- data/spec/models/update_conference_participant_request_spec.rb +2 -3
- data/spec/models/update_conference_request_spec.rb +2 -1
- data/yarn.lock +27 -8
- metadata +89 -81
@@ -158,7 +158,8 @@ describe Freeclimb::SMSTenDLCBrandsListResult do
|
|
158
158
|
expect(instance.valid?).to eq(true)
|
159
159
|
end
|
160
160
|
|
161
|
-
|
161
|
+
|
162
|
+
skip 'checks if properties are invalid' do
|
162
163
|
instance = Freeclimb::SMSTenDLCBrandsListResult.new(
|
163
164
|
|
164
165
|
)
|
@@ -62,14 +62,17 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
62
62
|
|
63
63
|
|
64
64
|
describe 'test attribute "status"' do
|
65
|
+
|
65
66
|
it 'assigns value ACTIVE' do
|
66
67
|
instance.status = "ACTIVE"
|
67
68
|
expect(instance.status).to eq("ACTIVE")
|
68
69
|
end
|
70
|
+
|
69
71
|
it 'assigns value EXPIRED' do
|
70
72
|
instance.status = "EXPIRED"
|
71
73
|
expect(instance.status).to eq("EXPIRED")
|
72
74
|
end
|
75
|
+
|
73
76
|
it 'throws error on invalid enum' do
|
74
77
|
instance = Freeclimb::SMSTenDLCCampaign.new
|
75
78
|
expect{instance.status = "INVALID_ENUM"}.to raise_error(ArgumentError)
|
@@ -363,7 +366,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
363
366
|
campaign_id: "TS",
|
364
367
|
csp_id: "TS",
|
365
368
|
reseller_id: "TS",
|
366
|
-
status:
|
369
|
+
status:"ACTIVE",
|
367
370
|
create_date: "2022-07-05T15:17:05Z",
|
368
371
|
auto_renewal: true,
|
369
372
|
billed_date: "2022-07-05T15:17:05Z",
|
@@ -403,7 +406,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
403
406
|
campaign_id: "TS",
|
404
407
|
csp_id: "TS",
|
405
408
|
reseller_id: "TS",
|
406
|
-
status:
|
409
|
+
status:"ACTIVE",
|
407
410
|
create_date: "2022-07-05T15:17:05Z",
|
408
411
|
auto_renewal: true,
|
409
412
|
billed_date: "2022-07-05T15:17:05Z",
|
@@ -444,7 +447,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
444
447
|
campaign_id: "TS",
|
445
448
|
csp_id: "TS",
|
446
449
|
reseller_id: "TS",
|
447
|
-
status:
|
450
|
+
status:"ACTIVE",
|
448
451
|
create_date: "2022-07-05T15:17:05Z",
|
449
452
|
auto_renewal: true,
|
450
453
|
billed_date: "2022-07-05T15:17:05Z",
|
@@ -488,7 +491,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
488
491
|
campaign_id: "TS",
|
489
492
|
csp_id: "TS",
|
490
493
|
reseller_id: "TS",
|
491
|
-
status:
|
494
|
+
status:"ACTIVE",
|
492
495
|
create_date: "2022-07-05T15:17:05Z",
|
493
496
|
auto_renewal: true,
|
494
497
|
billed_date: "2022-07-05T15:17:05Z",
|
@@ -524,45 +527,10 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
524
527
|
expect(instance.valid?).to eq(true)
|
525
528
|
end
|
526
529
|
|
527
|
-
|
530
|
+
|
531
|
+
skip 'checks if properties are invalid' do
|
528
532
|
instance = Freeclimb::SMSTenDLCCampaign.new(
|
529
533
|
|
530
|
-
campaign_id: nil,
|
531
|
-
|
532
|
-
csp_id: nil,
|
533
|
-
reseller_id: nil,
|
534
|
-
auto_renewal: nil,
|
535
|
-
|
536
|
-
brand_id: "T" * 8,
|
537
|
-
usecase: "T" * 20,
|
538
|
-
sub_usecases: nil,
|
539
|
-
|
540
|
-
description: "T" * 4096,embedded_link: nil,
|
541
|
-
embedded_phone: nil,
|
542
|
-
affiliate_marketing: nil,
|
543
|
-
number_pool: nil,
|
544
|
-
age_gated: nil,
|
545
|
-
direct_lending: nil,
|
546
|
-
subscriber_optin: nil,
|
547
|
-
subscriber_optout: nil,
|
548
|
-
subscriber_help: nil,
|
549
|
-
sample1: nil,
|
550
|
-
sample2: nil,
|
551
|
-
sample3: nil,
|
552
|
-
sample4: nil,
|
553
|
-
sample5: nil,
|
554
|
-
message_flow: nil,
|
555
|
-
help_message: nil,
|
556
|
-
optin_keywords: nil,
|
557
|
-
optout_keywords: nil,
|
558
|
-
help_keywords: nil,
|
559
|
-
optin_message: nil,
|
560
|
-
optout_message: nil,
|
561
|
-
reference_id: nil,
|
562
|
-
mock: nil,
|
563
|
-
|
564
|
-
mock: nil,
|
565
|
-
|
566
534
|
)
|
567
535
|
expect(instance.valid?).to eq(false)
|
568
536
|
end
|
@@ -577,7 +545,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
577
545
|
campaign_id: "TS",
|
578
546
|
csp_id: "TS",
|
579
547
|
reseller_id: "TS",
|
580
|
-
status:
|
548
|
+
status:"ACTIVE",
|
581
549
|
auto_renewal: true,
|
582
550
|
brand_id: "TS",
|
583
551
|
usecase: "TS",
|
@@ -612,7 +580,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
612
580
|
campaign_id: "TS",
|
613
581
|
csp_id: "TS",
|
614
582
|
reseller_id: "TS",
|
615
|
-
status:
|
583
|
+
status:"ACTIVE",
|
616
584
|
auto_renewal: true,
|
617
585
|
brand_id: "TS",
|
618
586
|
usecase: "TS",
|
@@ -651,7 +619,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
651
619
|
campaign_id: "TS",
|
652
620
|
csp_id: "TS",
|
653
621
|
reseller_id: "TS",
|
654
|
-
status:
|
622
|
+
status:"ACTIVE",
|
655
623
|
auto_renewal: true,
|
656
624
|
brand_id: "TS",
|
657
625
|
usecase: "TS",
|
@@ -686,7 +654,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
686
654
|
campaign_id: "ST",
|
687
655
|
csp_id: "ST",
|
688
656
|
reseller_id: "ST",
|
689
|
-
status:
|
657
|
+
status:"ACTIVE",
|
690
658
|
auto_renewal: false,
|
691
659
|
brand_id: "ST",
|
692
660
|
usecase: "ST",
|
@@ -727,7 +695,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
727
695
|
campaign_id: "TS",
|
728
696
|
csp_id: "TS",
|
729
697
|
reseller_id: "TS",
|
730
|
-
status:
|
698
|
+
status:"ACTIVE",
|
731
699
|
create_date: "2022-07-05T15:17:05Z",
|
732
700
|
auto_renewal: true,
|
733
701
|
billed_date: "2022-07-05T15:17:05Z",
|
@@ -771,7 +739,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
771
739
|
campaign_id: "TS",
|
772
740
|
csp_id: "TS",
|
773
741
|
reseller_id: "TS",
|
774
|
-
status:
|
742
|
+
status:"ACTIVE",
|
775
743
|
create_date: "2022-07-05T15:17:05Z",
|
776
744
|
auto_renewal: true,
|
777
745
|
billed_date: "2022-07-05T15:17:05Z",
|
@@ -815,7 +783,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
815
783
|
campaign_id: "TS",
|
816
784
|
csp_id: "TS",
|
817
785
|
reseller_id: "TS",
|
818
|
-
status:
|
786
|
+
status:"ACTIVE",
|
819
787
|
create_date: "2022-07-05T15:17:05Z",
|
820
788
|
auto_renewal: true,
|
821
789
|
billed_date: "2022-07-05T15:17:05Z",
|
@@ -965,7 +933,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
965
933
|
campaign_id: "TS",
|
966
934
|
csp_id: "TS",
|
967
935
|
reseller_id: "TS",
|
968
|
-
status:
|
936
|
+
status:"ACTIVE",
|
969
937
|
create_date: "2022-07-05T15:17:05Z",
|
970
938
|
auto_renewal: true,
|
971
939
|
billed_date: "2022-07-05T15:17:05Z",
|
@@ -1009,7 +977,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
1009
977
|
campaign_id: "TS",
|
1010
978
|
csp_id: "TS",
|
1011
979
|
reseller_id: "TS",
|
1012
|
-
status:
|
980
|
+
status:"ACTIVE",
|
1013
981
|
create_date: "2022-07-05T15:17:05Z",
|
1014
982
|
auto_renewal: true,
|
1015
983
|
billed_date: "2022-07-05T15:17:05Z",
|
@@ -1051,7 +1019,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
1051
1019
|
campaign_id: "TS",
|
1052
1020
|
csp_id: "TS",
|
1053
1021
|
reseller_id: "TS",
|
1054
|
-
status:
|
1022
|
+
status:"ACTIVE",
|
1055
1023
|
create_date: "2022-07-05T15:17:05Z",
|
1056
1024
|
auto_renewal: true,
|
1057
1025
|
billed_date: "2022-07-05T15:17:05Z",
|
@@ -1089,7 +1057,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
1089
1057
|
campaign_id: "TS",
|
1090
1058
|
csp_id: "TS",
|
1091
1059
|
reseller_id: "TS",
|
1092
|
-
status:
|
1060
|
+
status:"ACTIVE",
|
1093
1061
|
create_date: "2022-07-05T15:17:05Z",
|
1094
1062
|
auto_renewal: true,
|
1095
1063
|
billed_date: "2022-07-05T15:17:05Z",
|
@@ -1136,7 +1104,7 @@ describe Freeclimb::SMSTenDLCCampaign do
|
|
1136
1104
|
|
1137
1105
|
reseller_id: "TS",
|
1138
1106
|
|
1139
|
-
status:
|
1107
|
+
status:"ACTIVE",
|
1140
1108
|
|
1141
1109
|
create_date: "2022-07-05T15:17:05Z",
|
1142
1110
|
|
@@ -158,7 +158,8 @@ describe Freeclimb::SMSTenDLCCampaignsListResult do
|
|
158
158
|
expect(instance.valid?).to eq(true)
|
159
159
|
end
|
160
160
|
|
161
|
-
|
161
|
+
|
162
|
+
skip 'checks if properties are invalid' do
|
162
163
|
instance = Freeclimb::SMSTenDLCCampaignsListResult.new(
|
163
164
|
|
164
165
|
)
|
@@ -199,15 +199,9 @@ describe Freeclimb::SMSTenDLCPartnerCampaignBrand do
|
|
199
199
|
expect(instance.valid?).to eq(true)
|
200
200
|
end
|
201
201
|
|
202
|
-
|
202
|
+
|
203
|
+
skip 'checks if properties are invalid' do
|
203
204
|
instance = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
|
204
|
-
first_name: nil,
|
205
|
-
last_name: nil,
|
206
|
-
display_name: nil,
|
207
|
-
company_name: nil,
|
208
|
-
|
209
|
-
phone: "T" * 20,
|
210
|
-
email: "T" * 100,website: nil,
|
211
205
|
|
212
206
|
)
|
213
207
|
expect(instance.valid?).to eq(false)
|
@@ -44,14 +44,17 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
44
44
|
|
45
45
|
|
46
46
|
describe 'test attribute "status"' do
|
47
|
+
|
47
48
|
it 'assigns value ACTIVE' do
|
48
49
|
instance.status = "ACTIVE"
|
49
50
|
expect(instance.status).to eq("ACTIVE")
|
50
51
|
end
|
52
|
+
|
51
53
|
it 'assigns value EXPIRED' do
|
52
54
|
instance.status = "EXPIRED"
|
53
55
|
expect(instance.status).to eq("EXPIRED")
|
54
56
|
end
|
57
|
+
|
55
58
|
it 'throws error on invalid enum' do
|
56
59
|
instance = Freeclimb::SMSTenDLCPartnerCampaign.new
|
57
60
|
expect{instance.status = "INVALID_ENUM"}.to raise_error(ArgumentError)
|
@@ -301,7 +304,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
301
304
|
expect{instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
302
305
|
account_id: "TS",
|
303
306
|
campaign_id: "TS",
|
304
|
-
status:
|
307
|
+
status:"ACTIVE",
|
305
308
|
create_date: "2022-07-05T15:17:05Z",
|
306
309
|
brand_id: "TS",
|
307
310
|
usecase: "TS",
|
@@ -334,7 +337,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
334
337
|
expect{instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
335
338
|
account_id: "TS",
|
336
339
|
campaign_id: "TS",
|
337
|
-
status:
|
340
|
+
status:"ACTIVE",
|
338
341
|
create_date: "2022-07-05T15:17:05Z",
|
339
342
|
brand_id: "TS",
|
340
343
|
usecase: "TS",
|
@@ -368,7 +371,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
368
371
|
expect{instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
369
372
|
account_id: "TS",
|
370
373
|
campaign_id: "TS",
|
371
|
-
status:
|
374
|
+
status:"ACTIVE",
|
372
375
|
create_date: "2022-07-05T15:17:05Z",
|
373
376
|
brand_id: "TS",
|
374
377
|
usecase: "TS",
|
@@ -405,7 +408,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
405
408
|
instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
406
409
|
account_id: "TS",
|
407
410
|
campaign_id: "TS",
|
408
|
-
status:
|
411
|
+
status:"ACTIVE",
|
409
412
|
create_date: "2022-07-05T15:17:05Z",
|
410
413
|
brand_id: "TS",
|
411
414
|
usecase: "TS",
|
@@ -436,35 +439,10 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
436
439
|
expect(instance.valid?).to eq(true)
|
437
440
|
end
|
438
441
|
|
439
|
-
|
442
|
+
|
443
|
+
skip 'checks if properties are invalid' do
|
440
444
|
instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
441
445
|
|
442
|
-
campaign_id: nil,
|
443
|
-
|
444
|
-
brand_id: "T" * 8,
|
445
|
-
usecase: "T" * 20,
|
446
|
-
description: "T" * 4096,embedded_link: nil,
|
447
|
-
embedded_phone: nil,
|
448
|
-
affiliate_marketing: nil,
|
449
|
-
number_pool: nil,
|
450
|
-
age_gated: nil,
|
451
|
-
direct_lending: nil,
|
452
|
-
subscriber_optin: nil,
|
453
|
-
subscriber_optout: nil,
|
454
|
-
subscriber_help: nil,
|
455
|
-
sample1: nil,
|
456
|
-
sample2: nil,
|
457
|
-
sample3: nil,
|
458
|
-
sample4: nil,
|
459
|
-
sample5: nil,
|
460
|
-
message_flow: nil,
|
461
|
-
help_message: nil,
|
462
|
-
optin_keywords: nil,
|
463
|
-
optout_keywords: nil,
|
464
|
-
help_keywords: nil,
|
465
|
-
optin_message: nil,
|
466
|
-
optout_message: nil,
|
467
|
-
|
468
446
|
)
|
469
447
|
expect(instance.valid?).to eq(false)
|
470
448
|
end
|
@@ -477,7 +455,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
477
455
|
instance_1 = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
478
456
|
account_id: "TS",
|
479
457
|
campaign_id: "TS",
|
480
|
-
status:
|
458
|
+
status:"ACTIVE",
|
481
459
|
brand_id: "TS",
|
482
460
|
usecase: "TS",
|
483
461
|
description: "TS",
|
@@ -507,7 +485,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
507
485
|
instance_2 = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
508
486
|
account_id: "TS",
|
509
487
|
campaign_id: "TS",
|
510
|
-
status:
|
488
|
+
status:"ACTIVE",
|
511
489
|
brand_id: "TS",
|
512
490
|
usecase: "TS",
|
513
491
|
description: "TS",
|
@@ -541,7 +519,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
541
519
|
instance_1 = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
542
520
|
account_id: "TS",
|
543
521
|
campaign_id: "TS",
|
544
|
-
status:
|
522
|
+
status:"ACTIVE",
|
545
523
|
brand_id: "TS",
|
546
524
|
usecase: "TS",
|
547
525
|
description: "TS",
|
@@ -571,7 +549,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
571
549
|
instance_2 = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
572
550
|
account_id: "ST",
|
573
551
|
campaign_id: "ST",
|
574
|
-
status:
|
552
|
+
status:"ACTIVE",
|
575
553
|
brand_id: "ST",
|
576
554
|
usecase: "ST",
|
577
555
|
description: "ST",
|
@@ -607,7 +585,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
607
585
|
instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
608
586
|
account_id: "TS",
|
609
587
|
campaign_id: "TS",
|
610
|
-
status:
|
588
|
+
status:"ACTIVE",
|
611
589
|
create_date: "2022-07-05T15:17:05Z",
|
612
590
|
brand_id: "TS",
|
613
591
|
usecase: "TS",
|
@@ -644,7 +622,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
644
622
|
instance_1 = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
645
623
|
account_id: "TS",
|
646
624
|
campaign_id: "TS",
|
647
|
-
status:
|
625
|
+
status:"ACTIVE",
|
648
626
|
create_date: "2022-07-05T15:17:05Z",
|
649
627
|
brand_id: "TS",
|
650
628
|
usecase: "TS",
|
@@ -681,7 +659,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
681
659
|
instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
682
660
|
account_id: "TS",
|
683
661
|
campaign_id: "TS",
|
684
|
-
status:
|
662
|
+
status:"ACTIVE",
|
685
663
|
create_date: "2022-07-05T15:17:05Z",
|
686
664
|
brand_id: "TS",
|
687
665
|
usecase: "TS",
|
@@ -803,7 +781,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
803
781
|
instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
804
782
|
account_id: "TS",
|
805
783
|
campaign_id: "TS",
|
806
|
-
status:
|
784
|
+
status:"ACTIVE",
|
807
785
|
create_date: "2022-07-05T15:17:05Z",
|
808
786
|
brand_id: "TS",
|
809
787
|
usecase: "TS",
|
@@ -840,7 +818,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
840
818
|
instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
841
819
|
account_id: "TS",
|
842
820
|
campaign_id: "TS",
|
843
|
-
status:
|
821
|
+
status:"ACTIVE",
|
844
822
|
create_date: "2022-07-05T15:17:05Z",
|
845
823
|
brand_id: "TS",
|
846
824
|
usecase: "TS",
|
@@ -875,7 +853,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
875
853
|
instance_1 = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
876
854
|
account_id: "TS",
|
877
855
|
campaign_id: "TS",
|
878
|
-
status:
|
856
|
+
status:"ACTIVE",
|
879
857
|
create_date: "2022-07-05T15:17:05Z",
|
880
858
|
brand_id: "TS",
|
881
859
|
usecase: "TS",
|
@@ -906,7 +884,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
906
884
|
instance_2 = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
907
885
|
account_id: "TS",
|
908
886
|
campaign_id: "TS",
|
909
|
-
status:
|
887
|
+
status:"ACTIVE",
|
910
888
|
create_date: "2022-07-05T15:17:05Z",
|
911
889
|
brand_id: "TS",
|
912
890
|
usecase: "TS",
|
@@ -944,7 +922,7 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
|
|
944
922
|
|
945
923
|
campaign_id: "TS",
|
946
924
|
|
947
|
-
status:
|
925
|
+
status:"ACTIVE",
|
948
926
|
|
949
927
|
create_date: "2022-07-05T15:17:05Z",
|
950
928
|
|
@@ -158,7 +158,8 @@ describe Freeclimb::SMSTenDLCPartnerCampaignsListResult do
|
|
158
158
|
expect(instance.valid?).to eq(true)
|
159
159
|
end
|
160
160
|
|
161
|
-
|
161
|
+
|
162
|
+
skip 'checks if properties are invalid' do
|
162
163
|
instance = Freeclimb::SMSTenDLCPartnerCampaignsListResult.new(
|
163
164
|
|
164
165
|
)
|
@@ -52,26 +52,32 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
52
52
|
|
53
53
|
|
54
54
|
describe 'test attribute "registration_status"' do
|
55
|
+
|
55
56
|
it 'assigns value UNREGISTERED' do
|
56
57
|
instance.registration_status = "UNREGISTERED"
|
57
58
|
expect(instance.registration_status).to eq("UNREGISTERED")
|
58
59
|
end
|
60
|
+
|
59
61
|
it 'assigns value INITIATED' do
|
60
62
|
instance.registration_status = "INITIATED"
|
61
63
|
expect(instance.registration_status).to eq("INITIATED")
|
62
64
|
end
|
65
|
+
|
63
66
|
it 'assigns value PENDING' do
|
64
67
|
instance.registration_status = "PENDING"
|
65
68
|
expect(instance.registration_status).to eq("PENDING")
|
66
69
|
end
|
70
|
+
|
67
71
|
it 'assigns value DECLINED' do
|
68
72
|
instance.registration_status = "DECLINED"
|
69
73
|
expect(instance.registration_status).to eq("DECLINED")
|
70
74
|
end
|
75
|
+
|
71
76
|
it 'assigns value REGISTERED' do
|
72
77
|
instance.registration_status = "REGISTERED"
|
73
78
|
expect(instance.registration_status).to eq("REGISTERED")
|
74
79
|
end
|
80
|
+
|
75
81
|
it 'throws error on invalid enum' do
|
76
82
|
instance = Freeclimb::SMSTollFreeCampaign.new
|
77
83
|
expect{instance.registration_status = "INVALID_ENUM"}.to raise_error(ArgumentError)
|
@@ -110,7 +116,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
110
116
|
account_id: "TS",
|
111
117
|
campaign_id: "TS",
|
112
118
|
use_case: "TS",
|
113
|
-
registration_status:
|
119
|
+
registration_status:"UNREGISTERED",
|
114
120
|
date_created: "TS",
|
115
121
|
date_updated: "TS",
|
116
122
|
revision: 1,
|
@@ -121,7 +127,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
121
127
|
account_id: "TS",
|
122
128
|
campaign_id: "TS",
|
123
129
|
use_case: "TS",
|
124
|
-
registration_status:
|
130
|
+
registration_status:"UNREGISTERED",
|
125
131
|
date_created: "TS",
|
126
132
|
date_updated: "TS",
|
127
133
|
revision: 1,
|
@@ -133,7 +139,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
133
139
|
account_id: "TS",
|
134
140
|
campaign_id: "TS",
|
135
141
|
use_case: "TS",
|
136
|
-
registration_status:
|
142
|
+
registration_status:"UNREGISTERED",
|
137
143
|
date_created: "TS",
|
138
144
|
date_updated: "TS",
|
139
145
|
revision: 1,
|
@@ -148,7 +154,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
148
154
|
account_id: "TS",
|
149
155
|
campaign_id: "TS",
|
150
156
|
use_case: "TS",
|
151
|
-
registration_status:
|
157
|
+
registration_status:"UNREGISTERED",
|
152
158
|
date_created: "TS",
|
153
159
|
date_updated: "TS",
|
154
160
|
revision: 1,
|
@@ -156,21 +162,10 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
156
162
|
expect(instance.valid?).to eq(true)
|
157
163
|
end
|
158
164
|
|
159
|
-
|
165
|
+
|
166
|
+
skip 'checks if properties are invalid' do
|
160
167
|
instance = Freeclimb::SMSTollFreeCampaign.new(
|
161
168
|
|
162
|
-
account_id: nil,
|
163
|
-
|
164
|
-
campaign_id: nil,
|
165
|
-
|
166
|
-
use_case: nil,
|
167
|
-
|
168
|
-
date_created: nil,
|
169
|
-
|
170
|
-
date_updated: nil,
|
171
|
-
|
172
|
-
revision: nil,
|
173
|
-
|
174
169
|
)
|
175
170
|
expect(instance.valid?).to eq(false)
|
176
171
|
end
|
@@ -184,7 +179,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
184
179
|
account_id: "TS",
|
185
180
|
campaign_id: "TS",
|
186
181
|
use_case: "TS",
|
187
|
-
registration_status:
|
182
|
+
registration_status:"UNREGISTERED",
|
188
183
|
date_created: "TS",
|
189
184
|
date_updated: "TS",
|
190
185
|
revision: 1,
|
@@ -193,7 +188,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
193
188
|
account_id: "TS",
|
194
189
|
campaign_id: "TS",
|
195
190
|
use_case: "TS",
|
196
|
-
registration_status:
|
191
|
+
registration_status:"UNREGISTERED",
|
197
192
|
date_created: "TS",
|
198
193
|
date_updated: "TS",
|
199
194
|
revision: 1,
|
@@ -206,7 +201,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
206
201
|
account_id: "TS",
|
207
202
|
campaign_id: "TS",
|
208
203
|
use_case: "TS",
|
209
|
-
registration_status:
|
204
|
+
registration_status:"UNREGISTERED",
|
210
205
|
date_created: "TS",
|
211
206
|
date_updated: "TS",
|
212
207
|
revision: 2,
|
@@ -215,7 +210,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
215
210
|
account_id: "ST",
|
216
211
|
campaign_id: "ST",
|
217
212
|
use_case: "ST",
|
218
|
-
registration_status:
|
213
|
+
registration_status:"UNREGISTERED",
|
219
214
|
date_created: "ST",
|
220
215
|
date_updated: "ST",
|
221
216
|
revision: 1,
|
@@ -230,7 +225,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
230
225
|
account_id: "TS",
|
231
226
|
campaign_id: "TS",
|
232
227
|
use_case: "TS",
|
233
|
-
registration_status:
|
228
|
+
registration_status:"UNREGISTERED",
|
234
229
|
date_created: "TS",
|
235
230
|
date_updated: "TS",
|
236
231
|
revision: 1,
|
@@ -245,7 +240,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
245
240
|
account_id: "TS",
|
246
241
|
campaign_id: "TS",
|
247
242
|
use_case: "TS",
|
248
|
-
registration_status:
|
243
|
+
registration_status:"UNREGISTERED",
|
249
244
|
date_created: "TS",
|
250
245
|
date_updated: "TS",
|
251
246
|
revision: 1,
|
@@ -260,7 +255,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
260
255
|
account_id: "TS",
|
261
256
|
campaign_id: "TS",
|
262
257
|
use_case: "TS",
|
263
|
-
registration_status:
|
258
|
+
registration_status:"UNREGISTERED",
|
264
259
|
date_created: "TS",
|
265
260
|
date_updated: "TS",
|
266
261
|
revision: 1,
|
@@ -294,7 +289,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
294
289
|
account_id: "TS",
|
295
290
|
campaign_id: "TS",
|
296
291
|
use_case: "TS",
|
297
|
-
registration_status:
|
292
|
+
registration_status:"UNREGISTERED",
|
298
293
|
date_created: "TS",
|
299
294
|
date_updated: "TS",
|
300
295
|
revision: 1,
|
@@ -309,7 +304,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
309
304
|
account_id: "TS",
|
310
305
|
campaign_id: "TS",
|
311
306
|
use_case: "TS",
|
312
|
-
registration_status:
|
307
|
+
registration_status:"UNREGISTERED",
|
313
308
|
date_created: "TS",
|
314
309
|
date_updated: "TS",
|
315
310
|
revision: 1,
|
@@ -322,7 +317,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
322
317
|
account_id: "TS",
|
323
318
|
campaign_id: "TS",
|
324
319
|
use_case: "TS",
|
325
|
-
registration_status:
|
320
|
+
registration_status:"UNREGISTERED",
|
326
321
|
date_created: "TS",
|
327
322
|
date_updated: "TS",
|
328
323
|
revision: 1,
|
@@ -331,7 +326,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
331
326
|
account_id: "TS",
|
332
327
|
campaign_id: "TS",
|
333
328
|
use_case: "TS",
|
334
|
-
registration_status:
|
329
|
+
registration_status:"UNREGISTERED",
|
335
330
|
date_created: "TS",
|
336
331
|
date_updated: "TS",
|
337
332
|
revision: 1,
|
@@ -348,7 +343,7 @@ describe Freeclimb::SMSTollFreeCampaign do
|
|
348
343
|
|
349
344
|
use_case: "TS",
|
350
345
|
|
351
|
-
registration_status:
|
346
|
+
registration_status:"UNREGISTERED",
|
352
347
|
|
353
348
|
date_created: "TS",
|
354
349
|
|
@@ -158,7 +158,8 @@ describe Freeclimb::SMSTollFreeCampaignsListResult do
|
|
158
158
|
expect(instance.valid?).to eq(true)
|
159
159
|
end
|
160
160
|
|
161
|
-
|
161
|
+
|
162
|
+
skip 'checks if properties are invalid' do
|
162
163
|
instance = Freeclimb::SMSTollFreeCampaignsListResult.new(
|
163
164
|
|
164
165
|
)
|
data/spec/models/tfn_spec.rb
CHANGED
@@ -62,11 +62,10 @@ describe Freeclimb::TFN do
|
|
62
62
|
expect(instance.valid?).to eq(true)
|
63
63
|
end
|
64
64
|
|
65
|
-
|
65
|
+
|
66
|
+
skip 'checks if properties are invalid' do
|
66
67
|
instance = Freeclimb::TFN.new(
|
67
68
|
|
68
|
-
campaign_id: nil,
|
69
|
-
|
70
69
|
)
|
71
70
|
expect(instance.valid?).to eq(false)
|
72
71
|
end
|
@@ -90,14 +90,10 @@ describe Freeclimb::TranscribeUtteranceAllOfRecord do
|
|
90
90
|
expect(instance.valid?).to eq(true)
|
91
91
|
end
|
92
92
|
|
93
|
-
|
93
|
+
|
94
|
+
skip 'checks if properties are invalid' do
|
94
95
|
instance = Freeclimb::TranscribeUtteranceAllOfRecord.new(
|
95
|
-
save_recording: nil,
|
96
|
-
|
97
|
-
|
98
|
-
max_length_sec: nil,
|
99
96
|
|
100
|
-
rcrd_termination_silence_time_ms: nil,
|
101
97
|
)
|
102
98
|
expect(instance.valid?).to eq(false)
|
103
99
|
end
|