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
@@ -36,26 +36,32 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
36
36
|
|
37
37
|
|
38
38
|
describe 'test attribute "entity_type"' do
|
39
|
+
|
39
40
|
it 'assigns value PRIVATE_PROFIT' do
|
40
41
|
instance.entity_type = "PRIVATE_PROFIT"
|
41
42
|
expect(instance.entity_type).to eq("PRIVATE_PROFIT")
|
42
43
|
end
|
44
|
+
|
43
45
|
it 'assigns value PUBLIC_PROFIT' do
|
44
46
|
instance.entity_type = "PUBLIC_PROFIT"
|
45
47
|
expect(instance.entity_type).to eq("PUBLIC_PROFIT")
|
46
48
|
end
|
49
|
+
|
47
50
|
it 'assigns value NON_PROFIT' do
|
48
51
|
instance.entity_type = "NON_PROFIT"
|
49
52
|
expect(instance.entity_type).to eq("NON_PROFIT")
|
50
53
|
end
|
54
|
+
|
51
55
|
it 'assigns value GOVERNMENT' do
|
52
56
|
instance.entity_type = "GOVERNMENT"
|
53
57
|
expect(instance.entity_type).to eq("GOVERNMENT")
|
54
58
|
end
|
59
|
+
|
55
60
|
it 'assigns value SOLE_PROPRIETOR' do
|
56
61
|
instance.entity_type = "SOLE_PROPRIETOR"
|
57
62
|
expect(instance.entity_type).to eq("SOLE_PROPRIETOR")
|
58
63
|
end
|
64
|
+
|
59
65
|
it 'throws error on invalid enum' do
|
60
66
|
instance = Freeclimb::SMSTenDLCBrand.new
|
61
67
|
expect{instance.entity_type = "INVALID_ENUM"}.to raise_error(ArgumentError)
|
@@ -220,114 +226,142 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
220
226
|
|
221
227
|
|
222
228
|
describe 'test attribute "stock_exchange"' do
|
229
|
+
|
223
230
|
it 'assigns value NONE' do
|
224
231
|
instance.stock_exchange = "NONE"
|
225
232
|
expect(instance.stock_exchange).to eq("NONE")
|
226
233
|
end
|
234
|
+
|
227
235
|
it 'assigns value NASDAQ' do
|
228
236
|
instance.stock_exchange = "NASDAQ"
|
229
237
|
expect(instance.stock_exchange).to eq("NASDAQ")
|
230
238
|
end
|
239
|
+
|
231
240
|
it 'assigns value NYSE' do
|
232
241
|
instance.stock_exchange = "NYSE"
|
233
242
|
expect(instance.stock_exchange).to eq("NYSE")
|
234
243
|
end
|
244
|
+
|
235
245
|
it 'assigns value AMEX' do
|
236
246
|
instance.stock_exchange = "AMEX"
|
237
247
|
expect(instance.stock_exchange).to eq("AMEX")
|
238
248
|
end
|
249
|
+
|
239
250
|
it 'assigns value AMX' do
|
240
251
|
instance.stock_exchange = "AMX"
|
241
252
|
expect(instance.stock_exchange).to eq("AMX")
|
242
253
|
end
|
254
|
+
|
243
255
|
it 'assigns value ASX' do
|
244
256
|
instance.stock_exchange = "ASX"
|
245
257
|
expect(instance.stock_exchange).to eq("ASX")
|
246
258
|
end
|
259
|
+
|
247
260
|
it 'assigns value B3' do
|
248
261
|
instance.stock_exchange = "B3"
|
249
262
|
expect(instance.stock_exchange).to eq("B3")
|
250
263
|
end
|
264
|
+
|
251
265
|
it 'assigns value BME' do
|
252
266
|
instance.stock_exchange = "BME"
|
253
267
|
expect(instance.stock_exchange).to eq("BME")
|
254
268
|
end
|
269
|
+
|
255
270
|
it 'assigns value BSE' do
|
256
271
|
instance.stock_exchange = "BSE"
|
257
272
|
expect(instance.stock_exchange).to eq("BSE")
|
258
273
|
end
|
274
|
+
|
259
275
|
it 'assigns value FRA' do
|
260
276
|
instance.stock_exchange = "FRA"
|
261
277
|
expect(instance.stock_exchange).to eq("FRA")
|
262
278
|
end
|
279
|
+
|
263
280
|
it 'assigns value ICEX' do
|
264
281
|
instance.stock_exchange = "ICEX"
|
265
282
|
expect(instance.stock_exchange).to eq("ICEX")
|
266
283
|
end
|
284
|
+
|
267
285
|
it 'assigns value JPX' do
|
268
286
|
instance.stock_exchange = "JPX"
|
269
287
|
expect(instance.stock_exchange).to eq("JPX")
|
270
288
|
end
|
289
|
+
|
271
290
|
it 'assigns value JSE' do
|
272
291
|
instance.stock_exchange = "JSE"
|
273
292
|
expect(instance.stock_exchange).to eq("JSE")
|
274
293
|
end
|
294
|
+
|
275
295
|
it 'assigns value KRX' do
|
276
296
|
instance.stock_exchange = "KRX"
|
277
297
|
expect(instance.stock_exchange).to eq("KRX")
|
278
298
|
end
|
299
|
+
|
279
300
|
it 'assigns value LON' do
|
280
301
|
instance.stock_exchange = "LON"
|
281
302
|
expect(instance.stock_exchange).to eq("LON")
|
282
303
|
end
|
304
|
+
|
283
305
|
it 'assigns value NSE' do
|
284
306
|
instance.stock_exchange = "NSE"
|
285
307
|
expect(instance.stock_exchange).to eq("NSE")
|
286
308
|
end
|
309
|
+
|
287
310
|
it 'assigns value OMX' do
|
288
311
|
instance.stock_exchange = "OMX"
|
289
312
|
expect(instance.stock_exchange).to eq("OMX")
|
290
313
|
end
|
314
|
+
|
291
315
|
it 'assigns value SEHK' do
|
292
316
|
instance.stock_exchange = "SEHK"
|
293
317
|
expect(instance.stock_exchange).to eq("SEHK")
|
294
318
|
end
|
319
|
+
|
295
320
|
it 'assigns value SGX' do
|
296
321
|
instance.stock_exchange = "SGX"
|
297
322
|
expect(instance.stock_exchange).to eq("SGX")
|
298
323
|
end
|
324
|
+
|
299
325
|
it 'assigns value SSE' do
|
300
326
|
instance.stock_exchange = "SSE"
|
301
327
|
expect(instance.stock_exchange).to eq("SSE")
|
302
328
|
end
|
329
|
+
|
303
330
|
it 'assigns value STO' do
|
304
331
|
instance.stock_exchange = "STO"
|
305
332
|
expect(instance.stock_exchange).to eq("STO")
|
306
333
|
end
|
334
|
+
|
307
335
|
it 'assigns value SWX' do
|
308
336
|
instance.stock_exchange = "SWX"
|
309
337
|
expect(instance.stock_exchange).to eq("SWX")
|
310
338
|
end
|
339
|
+
|
311
340
|
it 'assigns value SZSE' do
|
312
341
|
instance.stock_exchange = "SZSE"
|
313
342
|
expect(instance.stock_exchange).to eq("SZSE")
|
314
343
|
end
|
344
|
+
|
315
345
|
it 'assigns value TSX' do
|
316
346
|
instance.stock_exchange = "TSX"
|
317
347
|
expect(instance.stock_exchange).to eq("TSX")
|
318
348
|
end
|
349
|
+
|
319
350
|
it 'assigns value TWSE' do
|
320
351
|
instance.stock_exchange = "TWSE"
|
321
352
|
expect(instance.stock_exchange).to eq("TWSE")
|
322
353
|
end
|
354
|
+
|
323
355
|
it 'assigns value VSE' do
|
324
356
|
instance.stock_exchange = "VSE"
|
325
357
|
expect(instance.stock_exchange).to eq("VSE")
|
326
358
|
end
|
359
|
+
|
327
360
|
it 'assigns value OTHER' do
|
328
361
|
instance.stock_exchange = "OTHER"
|
329
362
|
expect(instance.stock_exchange).to eq("OTHER")
|
330
363
|
end
|
364
|
+
|
331
365
|
it 'throws error on invalid enum' do
|
332
366
|
instance = Freeclimb::SMSTenDLCBrand.new
|
333
367
|
expect{instance.stock_exchange = "INVALID_ENUM"}.to raise_error(ArgumentError)
|
@@ -356,26 +390,32 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
356
390
|
|
357
391
|
|
358
392
|
describe 'test attribute "brand_relationship"' do
|
393
|
+
|
359
394
|
it 'assigns value BASIC_ACCOUNT' do
|
360
395
|
instance.brand_relationship = "BASIC_ACCOUNT"
|
361
396
|
expect(instance.brand_relationship).to eq("BASIC_ACCOUNT")
|
362
397
|
end
|
398
|
+
|
363
399
|
it 'assigns value SMALL_ACCOUNT' do
|
364
400
|
instance.brand_relationship = "SMALL_ACCOUNT"
|
365
401
|
expect(instance.brand_relationship).to eq("SMALL_ACCOUNT")
|
366
402
|
end
|
403
|
+
|
367
404
|
it 'assigns value MEDIUM_ACCOUNT' do
|
368
405
|
instance.brand_relationship = "MEDIUM_ACCOUNT"
|
369
406
|
expect(instance.brand_relationship).to eq("MEDIUM_ACCOUNT")
|
370
407
|
end
|
408
|
+
|
371
409
|
it 'assigns value LARGE_ACCOUNT' do
|
372
410
|
instance.brand_relationship = "LARGE_ACCOUNT"
|
373
411
|
expect(instance.brand_relationship).to eq("LARGE_ACCOUNT")
|
374
412
|
end
|
413
|
+
|
375
414
|
it 'assigns value KEY_ACCOUNT' do
|
376
415
|
instance.brand_relationship = "KEY_ACCOUNT"
|
377
416
|
expect(instance.brand_relationship).to eq("KEY_ACCOUNT")
|
378
417
|
end
|
418
|
+
|
379
419
|
it 'throws error on invalid enum' do
|
380
420
|
instance = Freeclimb::SMSTenDLCBrand.new
|
381
421
|
expect{instance.brand_relationship = "INVALID_ENUM"}.to raise_error(ArgumentError)
|
@@ -404,22 +444,27 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
404
444
|
|
405
445
|
|
406
446
|
describe 'test attribute "alt_business_id_type"' do
|
447
|
+
|
407
448
|
it 'assigns value NONE' do
|
408
449
|
instance.alt_business_id_type = "NONE"
|
409
450
|
expect(instance.alt_business_id_type).to eq("NONE")
|
410
451
|
end
|
452
|
+
|
411
453
|
it 'assigns value DUNS' do
|
412
454
|
instance.alt_business_id_type = "DUNS"
|
413
455
|
expect(instance.alt_business_id_type).to eq("DUNS")
|
414
456
|
end
|
457
|
+
|
415
458
|
it 'assigns value GIIN' do
|
416
459
|
instance.alt_business_id_type = "GIIN"
|
417
460
|
expect(instance.alt_business_id_type).to eq("GIIN")
|
418
461
|
end
|
462
|
+
|
419
463
|
it 'assigns value LEI' do
|
420
464
|
instance.alt_business_id_type = "LEI"
|
421
465
|
expect(instance.alt_business_id_type).to eq("LEI")
|
422
466
|
end
|
467
|
+
|
423
468
|
it 'throws error on invalid enum' do
|
424
469
|
instance = Freeclimb::SMSTenDLCBrand.new
|
425
470
|
expect{instance.alt_business_id_type = "INVALID_ENUM"}.to raise_error(ArgumentError)
|
@@ -463,22 +508,27 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
463
508
|
|
464
509
|
|
465
510
|
describe 'test attribute "identity_status"' do
|
511
|
+
|
466
512
|
it 'assigns value SELF_DECLARED' do
|
467
513
|
instance.identity_status = "SELF_DECLARED"
|
468
514
|
expect(instance.identity_status).to eq("SELF_DECLARED")
|
469
515
|
end
|
516
|
+
|
470
517
|
it 'assigns value UNVERIFIED' do
|
471
518
|
instance.identity_status = "UNVERIFIED"
|
472
519
|
expect(instance.identity_status).to eq("UNVERIFIED")
|
473
520
|
end
|
521
|
+
|
474
522
|
it 'assigns value VERIFIED' do
|
475
523
|
instance.identity_status = "VERIFIED"
|
476
524
|
expect(instance.identity_status).to eq("VERIFIED")
|
477
525
|
end
|
526
|
+
|
478
527
|
it 'assigns value VETTED_VERIFIED' do
|
479
528
|
instance.identity_status = "VETTED_VERIFIED"
|
480
529
|
expect(instance.identity_status).to eq("VETTED_VERIFIED")
|
481
530
|
end
|
531
|
+
|
482
532
|
it 'throws error on invalid enum' do
|
483
533
|
instance = Freeclimb::SMSTenDLCBrand.new
|
484
534
|
expect{instance.identity_status = "INVALID_ENUM"}.to raise_error(ArgumentError)
|
@@ -497,7 +547,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
497
547
|
it 'properly initializes with values' do
|
498
548
|
expect{instance = Freeclimb::SMSTenDLCBrand.new(
|
499
549
|
account_id: "TS",
|
500
|
-
entity_type:
|
550
|
+
entity_type:"PRIVATE_PROFIT",
|
501
551
|
csp_id: "TS",
|
502
552
|
brand_id: "TS",
|
503
553
|
first_name: "TS",
|
@@ -514,25 +564,25 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
514
564
|
country: "TS",
|
515
565
|
email: "TS",
|
516
566
|
stock_symbol: "TS",
|
517
|
-
stock_exchange:
|
567
|
+
stock_exchange:"NONE",
|
518
568
|
ip_address: "TS",
|
519
569
|
website: "TS",
|
520
|
-
brand_relationship:
|
570
|
+
brand_relationship:"BASIC_ACCOUNT",
|
521
571
|
vertical: "TS",
|
522
572
|
alt_business_id: "TS",
|
523
|
-
alt_business_id_type:
|
573
|
+
alt_business_id_type:"NONE",
|
524
574
|
universal_ein: "TS",
|
525
575
|
reference_id: "TS",
|
526
576
|
optional_attributes: Hash.new(),
|
527
577
|
mock: true,
|
528
|
-
identity_status:
|
578
|
+
identity_status:"SELF_DECLARED",
|
529
579
|
create_date: "2022-07-05T15:17:05Z",
|
530
580
|
)}.not_to raise_error()
|
531
581
|
end
|
532
582
|
it 'fails to initialize with input argument that is not a hash in Freeclimb::SMSTenDLCBrand' do
|
533
583
|
expect{instance = Freeclimb::SMSTenDLCBrand.new(
|
534
584
|
account_id: "TS",
|
535
|
-
entity_type:
|
585
|
+
entity_type:"PRIVATE_PROFIT",
|
536
586
|
csp_id: "TS",
|
537
587
|
brand_id: "TS",
|
538
588
|
first_name: "TS",
|
@@ -549,18 +599,18 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
549
599
|
country: "TS",
|
550
600
|
email: "TS",
|
551
601
|
stock_symbol: "TS",
|
552
|
-
stock_exchange:
|
602
|
+
stock_exchange:"NONE",
|
553
603
|
ip_address: "TS",
|
554
604
|
website: "TS",
|
555
|
-
brand_relationship:
|
605
|
+
brand_relationship:"BASIC_ACCOUNT",
|
556
606
|
vertical: "TS",
|
557
607
|
alt_business_id: "TS",
|
558
|
-
alt_business_id_type:
|
608
|
+
alt_business_id_type:"NONE",
|
559
609
|
universal_ein: "TS",
|
560
610
|
reference_id: "TS",
|
561
611
|
optional_attributes: Hash.new(),
|
562
612
|
mock: true,
|
563
|
-
identity_status:
|
613
|
+
identity_status:"SELF_DECLARED",
|
564
614
|
create_date: "2022-07-05T15:17:05Z",
|
565
615
|
invalid_attribute: true
|
566
616
|
)}.to raise_error(ArgumentError)
|
@@ -568,7 +618,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
568
618
|
it 'fails to initialize with invalid attribute' do
|
569
619
|
expect{instance = Freeclimb::SMSTenDLCBrand.new(
|
570
620
|
account_id: "TS",
|
571
|
-
entity_type:
|
621
|
+
entity_type:"PRIVATE_PROFIT",
|
572
622
|
csp_id: "TS",
|
573
623
|
brand_id: "TS",
|
574
624
|
first_name: "TS",
|
@@ -585,18 +635,18 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
585
635
|
country: "TS",
|
586
636
|
email: "TS",
|
587
637
|
stock_symbol: "TS",
|
588
|
-
stock_exchange:
|
638
|
+
stock_exchange:"NONE",
|
589
639
|
ip_address: "TS",
|
590
640
|
website: "TS",
|
591
|
-
brand_relationship:
|
641
|
+
brand_relationship:"BASIC_ACCOUNT",
|
592
642
|
vertical: "TS",
|
593
643
|
alt_business_id: "TS",
|
594
|
-
alt_business_id_type:
|
644
|
+
alt_business_id_type:"NONE",
|
595
645
|
universal_ein: "TS",
|
596
646
|
reference_id: "TS",
|
597
647
|
optional_attributes: Hash.new(),
|
598
648
|
mock: true,
|
599
|
-
identity_status:
|
649
|
+
identity_status:"SELF_DECLARED",
|
600
650
|
create_date: "2022-07-05T15:17:05Z",
|
601
651
|
invalid_attribute: true
|
602
652
|
)}.to raise_error(ArgumentError)
|
@@ -607,7 +657,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
607
657
|
it 'checks if properties are valid' do
|
608
658
|
instance = Freeclimb::SMSTenDLCBrand.new(
|
609
659
|
account_id: "TS",
|
610
|
-
entity_type:
|
660
|
+
entity_type:"PRIVATE_PROFIT",
|
611
661
|
csp_id: "TS",
|
612
662
|
brand_id: "TS",
|
613
663
|
first_name: "TS",
|
@@ -624,47 +674,26 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
624
674
|
country: "TS",
|
625
675
|
email: "TS",
|
626
676
|
stock_symbol: "TS",
|
627
|
-
stock_exchange:
|
677
|
+
stock_exchange:"NONE",
|
628
678
|
ip_address: "TS",
|
629
679
|
website: "TS",
|
630
|
-
brand_relationship:
|
680
|
+
brand_relationship:"BASIC_ACCOUNT",
|
631
681
|
vertical: "TS",
|
632
682
|
alt_business_id: "TS",
|
633
|
-
alt_business_id_type:
|
683
|
+
alt_business_id_type:"NONE",
|
634
684
|
universal_ein: "TS",
|
635
685
|
reference_id: "TS",
|
636
686
|
optional_attributes: Hash.new(),
|
637
687
|
mock: true,
|
638
|
-
identity_status:
|
688
|
+
identity_status:"SELF_DECLARED",
|
639
689
|
create_date: "2022-07-05T15:17:05Z",
|
640
690
|
)
|
641
691
|
expect(instance.valid?).to eq(true)
|
642
692
|
end
|
643
693
|
|
644
|
-
|
694
|
+
|
695
|
+
skip 'checks if properties are invalid' do
|
645
696
|
instance = Freeclimb::SMSTenDLCBrand.new(
|
646
|
-
first_name: nil,
|
647
|
-
last_name: nil,
|
648
|
-
|
649
|
-
display_name: "T" * 255,company_name: nil,
|
650
|
-
ein: nil,
|
651
|
-
ein_issuing_country: nil,
|
652
|
-
|
653
|
-
phone: "T" * 20,street: nil,
|
654
|
-
city: nil,
|
655
|
-
state: nil,
|
656
|
-
postal_code: nil,
|
657
|
-
|
658
|
-
country: "T" * 2,
|
659
|
-
email: "T" * 100,stock_symbol: nil,
|
660
|
-
ip_address: nil,
|
661
|
-
website: nil,
|
662
|
-
|
663
|
-
vertical: "T" * 50,alt_business_id: nil,
|
664
|
-
reference_id: nil,
|
665
|
-
mock: nil,
|
666
|
-
|
667
|
-
mock: nil,
|
668
697
|
|
669
698
|
)
|
670
699
|
expect(instance.valid?).to eq(false)
|
@@ -677,7 +706,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
677
706
|
obj = Object.new()
|
678
707
|
instance_1 = Freeclimb::SMSTenDLCBrand.new(
|
679
708
|
account_id: "TS",
|
680
|
-
entity_type:
|
709
|
+
entity_type:"PRIVATE_PROFIT",
|
681
710
|
csp_id: "TS",
|
682
711
|
brand_id: "TS",
|
683
712
|
first_name: "TS",
|
@@ -694,21 +723,21 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
694
723
|
country: "TS",
|
695
724
|
email: "TS",
|
696
725
|
stock_symbol: "TS",
|
697
|
-
stock_exchange:
|
726
|
+
stock_exchange:"NONE",
|
698
727
|
ip_address: "TS",
|
699
728
|
website: "TS",
|
700
|
-
brand_relationship:
|
729
|
+
brand_relationship:"BASIC_ACCOUNT",
|
701
730
|
vertical: "TS",
|
702
731
|
alt_business_id: "TS",
|
703
|
-
alt_business_id_type:
|
732
|
+
alt_business_id_type:"NONE",
|
704
733
|
universal_ein: "TS",
|
705
734
|
reference_id: "TS",
|
706
735
|
mock: true,
|
707
|
-
identity_status:
|
736
|
+
identity_status:"SELF_DECLARED",
|
708
737
|
)
|
709
738
|
instance_2 = Freeclimb::SMSTenDLCBrand.new(
|
710
739
|
account_id: "TS",
|
711
|
-
entity_type:
|
740
|
+
entity_type:"PRIVATE_PROFIT",
|
712
741
|
csp_id: "TS",
|
713
742
|
brand_id: "TS",
|
714
743
|
first_name: "TS",
|
@@ -725,17 +754,17 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
725
754
|
country: "TS",
|
726
755
|
email: "TS",
|
727
756
|
stock_symbol: "TS",
|
728
|
-
stock_exchange:
|
757
|
+
stock_exchange:"NONE",
|
729
758
|
ip_address: "TS",
|
730
759
|
website: "TS",
|
731
|
-
brand_relationship:
|
760
|
+
brand_relationship:"BASIC_ACCOUNT",
|
732
761
|
vertical: "TS",
|
733
762
|
alt_business_id: "TS",
|
734
|
-
alt_business_id_type:
|
763
|
+
alt_business_id_type:"NONE",
|
735
764
|
universal_ein: "TS",
|
736
765
|
reference_id: "TS",
|
737
766
|
mock: true,
|
738
|
-
identity_status:
|
767
|
+
identity_status:"SELF_DECLARED",
|
739
768
|
)
|
740
769
|
expect(instance_1.eql?(instance_2)).to eq(true)
|
741
770
|
end
|
@@ -743,7 +772,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
743
772
|
it 'checks if objects are not equal' do
|
744
773
|
instance_1 = Freeclimb::SMSTenDLCBrand.new(
|
745
774
|
account_id: "TS",
|
746
|
-
entity_type:
|
775
|
+
entity_type:"PRIVATE_PROFIT",
|
747
776
|
csp_id: "TS",
|
748
777
|
brand_id: "TS",
|
749
778
|
first_name: "TS",
|
@@ -760,21 +789,21 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
760
789
|
country: "TS",
|
761
790
|
email: "TS",
|
762
791
|
stock_symbol: "TS",
|
763
|
-
stock_exchange:
|
792
|
+
stock_exchange:"NONE",
|
764
793
|
ip_address: "TS",
|
765
794
|
website: "TS",
|
766
|
-
brand_relationship:
|
795
|
+
brand_relationship:"BASIC_ACCOUNT",
|
767
796
|
vertical: "TS",
|
768
797
|
alt_business_id: "TS",
|
769
|
-
alt_business_id_type:
|
798
|
+
alt_business_id_type:"NONE",
|
770
799
|
universal_ein: "TS",
|
771
800
|
reference_id: "TS",
|
772
801
|
mock: true,
|
773
|
-
identity_status:
|
802
|
+
identity_status:"SELF_DECLARED",
|
774
803
|
)
|
775
804
|
instance_2 = Freeclimb::SMSTenDLCBrand.new(
|
776
805
|
account_id: "ST",
|
777
|
-
entity_type:
|
806
|
+
entity_type:"PRIVATE_PROFIT",
|
778
807
|
csp_id: "ST",
|
779
808
|
brand_id: "ST",
|
780
809
|
first_name: "ST",
|
@@ -791,17 +820,17 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
791
820
|
country: "ST",
|
792
821
|
email: "ST",
|
793
822
|
stock_symbol: "ST",
|
794
|
-
stock_exchange:
|
823
|
+
stock_exchange:"NONE",
|
795
824
|
ip_address: "ST",
|
796
825
|
website: "ST",
|
797
|
-
brand_relationship:
|
826
|
+
brand_relationship:"BASIC_ACCOUNT",
|
798
827
|
vertical: "ST",
|
799
828
|
alt_business_id: "ST",
|
800
|
-
alt_business_id_type:
|
829
|
+
alt_business_id_type:"NONE",
|
801
830
|
universal_ein: "ST",
|
802
831
|
reference_id: "ST",
|
803
832
|
mock: false,
|
804
|
-
identity_status:
|
833
|
+
identity_status:"SELF_DECLARED",
|
805
834
|
)
|
806
835
|
expect(instance_1.eql?(instance_2)).to eq(false)
|
807
836
|
end
|
@@ -811,7 +840,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
811
840
|
it 'calculates hash code' do
|
812
841
|
instance = Freeclimb::SMSTenDLCBrand.new(
|
813
842
|
account_id: "TS",
|
814
|
-
entity_type:
|
843
|
+
entity_type:"PRIVATE_PROFIT",
|
815
844
|
csp_id: "TS",
|
816
845
|
brand_id: "TS",
|
817
846
|
first_name: "TS",
|
@@ -828,18 +857,18 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
828
857
|
country: "TS",
|
829
858
|
email: "TS",
|
830
859
|
stock_symbol: "TS",
|
831
|
-
stock_exchange:
|
860
|
+
stock_exchange:"NONE",
|
832
861
|
ip_address: "TS",
|
833
862
|
website: "TS",
|
834
|
-
brand_relationship:
|
863
|
+
brand_relationship:"BASIC_ACCOUNT",
|
835
864
|
vertical: "TS",
|
836
865
|
alt_business_id: "TS",
|
837
|
-
alt_business_id_type:
|
866
|
+
alt_business_id_type:"NONE",
|
838
867
|
universal_ein: "TS",
|
839
868
|
reference_id: "TS",
|
840
869
|
optional_attributes: Hash.new(),
|
841
870
|
mock: true,
|
842
|
-
identity_status:
|
871
|
+
identity_status:"SELF_DECLARED",
|
843
872
|
create_date: "2022-07-05T15:17:05Z",
|
844
873
|
)
|
845
874
|
expect(instance.hash).to be_a_kind_of(Integer)
|
@@ -850,7 +879,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
850
879
|
it 'builds equivalent model from hash code' do
|
851
880
|
instance_1 = Freeclimb::SMSTenDLCBrand.new(
|
852
881
|
account_id: "TS",
|
853
|
-
entity_type:
|
882
|
+
entity_type:"PRIVATE_PROFIT",
|
854
883
|
csp_id: "TS",
|
855
884
|
brand_id: "TS",
|
856
885
|
first_name: "TS",
|
@@ -867,18 +896,18 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
867
896
|
country: "TS",
|
868
897
|
email: "TS",
|
869
898
|
stock_symbol: "TS",
|
870
|
-
stock_exchange:
|
899
|
+
stock_exchange:"NONE",
|
871
900
|
ip_address: "TS",
|
872
901
|
website: "TS",
|
873
|
-
brand_relationship:
|
902
|
+
brand_relationship:"BASIC_ACCOUNT",
|
874
903
|
vertical: "TS",
|
875
904
|
alt_business_id: "TS",
|
876
|
-
alt_business_id_type:
|
905
|
+
alt_business_id_type:"NONE",
|
877
906
|
universal_ein: "TS",
|
878
907
|
reference_id: "TS",
|
879
908
|
optional_attributes: Hash.new(),
|
880
909
|
mock: true,
|
881
|
-
identity_status:
|
910
|
+
identity_status:"SELF_DECLARED",
|
882
911
|
create_date: "2022-07-05T15:17:05Z",
|
883
912
|
)
|
884
913
|
instance_2 = Freeclimb::SMSTenDLCBrand.new
|
@@ -889,7 +918,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
889
918
|
describe 'test method "_deserialize"' do
|
890
919
|
instance = Freeclimb::SMSTenDLCBrand.new(
|
891
920
|
account_id: "TS",
|
892
|
-
entity_type:
|
921
|
+
entity_type:"PRIVATE_PROFIT",
|
893
922
|
csp_id: "TS",
|
894
923
|
brand_id: "TS",
|
895
924
|
first_name: "TS",
|
@@ -906,18 +935,18 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
906
935
|
country: "TS",
|
907
936
|
email: "TS",
|
908
937
|
stock_symbol: "TS",
|
909
|
-
stock_exchange:
|
938
|
+
stock_exchange:"NONE",
|
910
939
|
ip_address: "TS",
|
911
940
|
website: "TS",
|
912
|
-
brand_relationship:
|
941
|
+
brand_relationship:"BASIC_ACCOUNT",
|
913
942
|
vertical: "TS",
|
914
943
|
alt_business_id: "TS",
|
915
|
-
alt_business_id_type:
|
944
|
+
alt_business_id_type:"NONE",
|
916
945
|
universal_ein: "TS",
|
917
946
|
reference_id: "TS",
|
918
947
|
optional_attributes: Hash.new(),
|
919
948
|
mock: true,
|
920
|
-
identity_status:
|
949
|
+
identity_status:"SELF_DECLARED",
|
921
950
|
create_date: "2022-07-05T15:17:05Z",
|
922
951
|
)
|
923
952
|
it 'deserializes the data of account_id' do
|
@@ -1019,7 +1048,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
1019
1048
|
it 'returns the string representation of the object' do
|
1020
1049
|
instance = Freeclimb::SMSTenDLCBrand.new(
|
1021
1050
|
account_id: "TS",
|
1022
|
-
entity_type:
|
1051
|
+
entity_type:"PRIVATE_PROFIT",
|
1023
1052
|
csp_id: "TS",
|
1024
1053
|
brand_id: "TS",
|
1025
1054
|
first_name: "TS",
|
@@ -1036,18 +1065,18 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
1036
1065
|
country: "TS",
|
1037
1066
|
email: "TS",
|
1038
1067
|
stock_symbol: "TS",
|
1039
|
-
stock_exchange:
|
1068
|
+
stock_exchange:"NONE",
|
1040
1069
|
ip_address: "TS",
|
1041
1070
|
website: "TS",
|
1042
|
-
brand_relationship:
|
1071
|
+
brand_relationship:"BASIC_ACCOUNT",
|
1043
1072
|
vertical: "TS",
|
1044
1073
|
alt_business_id: "TS",
|
1045
|
-
alt_business_id_type:
|
1074
|
+
alt_business_id_type:"NONE",
|
1046
1075
|
universal_ein: "TS",
|
1047
1076
|
reference_id: "TS",
|
1048
1077
|
optional_attributes: Hash.new(),
|
1049
1078
|
mock: true,
|
1050
|
-
identity_status:
|
1079
|
+
identity_status:"SELF_DECLARED",
|
1051
1080
|
create_date: "2022-07-05T15:17:05Z",
|
1052
1081
|
)
|
1053
1082
|
expect(instance.to_s).to eq(instance.to_hash.to_s)
|
@@ -1058,7 +1087,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
1058
1087
|
it 'returns the object in the form of hash' do
|
1059
1088
|
instance = Freeclimb::SMSTenDLCBrand.new(
|
1060
1089
|
account_id: "TS",
|
1061
|
-
entity_type:
|
1090
|
+
entity_type:"PRIVATE_PROFIT",
|
1062
1091
|
csp_id: "TS",
|
1063
1092
|
brand_id: "TS",
|
1064
1093
|
first_name: "TS",
|
@@ -1075,18 +1104,18 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
1075
1104
|
country: "TS",
|
1076
1105
|
email: "TS",
|
1077
1106
|
stock_symbol: "TS",
|
1078
|
-
stock_exchange:
|
1107
|
+
stock_exchange:"NONE",
|
1079
1108
|
ip_address: "TS",
|
1080
1109
|
website: "TS",
|
1081
|
-
brand_relationship:
|
1110
|
+
brand_relationship:"BASIC_ACCOUNT",
|
1082
1111
|
vertical: "TS",
|
1083
1112
|
alt_business_id: "TS",
|
1084
|
-
alt_business_id_type:
|
1113
|
+
alt_business_id_type:"NONE",
|
1085
1114
|
universal_ein: "TS",
|
1086
1115
|
reference_id: "TS",
|
1087
1116
|
optional_attributes: Hash.new(),
|
1088
1117
|
mock: true,
|
1089
|
-
identity_status:
|
1118
|
+
identity_status:"SELF_DECLARED",
|
1090
1119
|
create_date: "2022-07-05T15:17:05Z",
|
1091
1120
|
)
|
1092
1121
|
expect(instance.to_hash).to be_a_kind_of(Hash)
|
@@ -1095,7 +1124,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
1095
1124
|
obj = Object.new()
|
1096
1125
|
instance_1 = Freeclimb::SMSTenDLCBrand.new(
|
1097
1126
|
account_id: "TS",
|
1098
|
-
entity_type:
|
1127
|
+
entity_type:"PRIVATE_PROFIT",
|
1099
1128
|
csp_id: "TS",
|
1100
1129
|
brand_id: "TS",
|
1101
1130
|
first_name: "TS",
|
@@ -1112,23 +1141,23 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
1112
1141
|
country: "TS",
|
1113
1142
|
email: "TS",
|
1114
1143
|
stock_symbol: "TS",
|
1115
|
-
stock_exchange:
|
1144
|
+
stock_exchange:"NONE",
|
1116
1145
|
ip_address: "TS",
|
1117
1146
|
website: "TS",
|
1118
|
-
brand_relationship:
|
1147
|
+
brand_relationship:"BASIC_ACCOUNT",
|
1119
1148
|
vertical: "TS",
|
1120
1149
|
alt_business_id: "TS",
|
1121
|
-
alt_business_id_type:
|
1150
|
+
alt_business_id_type:"NONE",
|
1122
1151
|
universal_ein: "TS",
|
1123
1152
|
reference_id: "TS",
|
1124
1153
|
optional_attributes: Hash.new(),
|
1125
1154
|
mock: true,
|
1126
|
-
identity_status:
|
1155
|
+
identity_status:"SELF_DECLARED",
|
1127
1156
|
create_date: "2022-07-05T15:17:05Z",
|
1128
1157
|
)
|
1129
1158
|
instance_2 = Freeclimb::SMSTenDLCBrand.new(
|
1130
1159
|
account_id: "TS",
|
1131
|
-
entity_type:
|
1160
|
+
entity_type:"PRIVATE_PROFIT",
|
1132
1161
|
csp_id: "TS",
|
1133
1162
|
brand_id: "TS",
|
1134
1163
|
first_name: "TS",
|
@@ -1145,18 +1174,18 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
1145
1174
|
country: "TS",
|
1146
1175
|
email: "TS",
|
1147
1176
|
stock_symbol: "TS",
|
1148
|
-
stock_exchange:
|
1177
|
+
stock_exchange:"NONE",
|
1149
1178
|
ip_address: "TS",
|
1150
1179
|
website: "TS",
|
1151
|
-
brand_relationship:
|
1180
|
+
brand_relationship:"BASIC_ACCOUNT",
|
1152
1181
|
vertical: "TS",
|
1153
1182
|
alt_business_id: "TS",
|
1154
|
-
alt_business_id_type:
|
1183
|
+
alt_business_id_type:"NONE",
|
1155
1184
|
universal_ein: "TS",
|
1156
1185
|
reference_id: "TS",
|
1157
1186
|
optional_attributes: Hash.new(),
|
1158
1187
|
mock: true,
|
1159
|
-
identity_status:
|
1188
|
+
identity_status:"SELF_DECLARED",
|
1160
1189
|
create_date: "2022-07-05T15:17:05Z",
|
1161
1190
|
)
|
1162
1191
|
expect(instance_1.to_hash).to eq(instance_2.to_hash)
|
@@ -1167,7 +1196,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
1167
1196
|
instance = Freeclimb::SMSTenDLCBrand.new(
|
1168
1197
|
account_id: "TS",
|
1169
1198
|
|
1170
|
-
entity_type:
|
1199
|
+
entity_type:"PRIVATE_PROFIT",
|
1171
1200
|
|
1172
1201
|
csp_id: "TS",
|
1173
1202
|
|
@@ -1201,19 +1230,19 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
1201
1230
|
|
1202
1231
|
stock_symbol: "TS",
|
1203
1232
|
|
1204
|
-
stock_exchange:
|
1233
|
+
stock_exchange:"NONE",
|
1205
1234
|
|
1206
1235
|
ip_address: "TS",
|
1207
1236
|
|
1208
1237
|
website: "TS",
|
1209
1238
|
|
1210
|
-
brand_relationship:
|
1239
|
+
brand_relationship:"BASIC_ACCOUNT",
|
1211
1240
|
|
1212
1241
|
vertical: "TS",
|
1213
1242
|
|
1214
1243
|
alt_business_id: "TS",
|
1215
1244
|
|
1216
|
-
alt_business_id_type:
|
1245
|
+
alt_business_id_type:"NONE",
|
1217
1246
|
|
1218
1247
|
universal_ein: "TS",
|
1219
1248
|
|
@@ -1223,7 +1252,7 @@ describe Freeclimb::SMSTenDLCBrand do
|
|
1223
1252
|
|
1224
1253
|
mock: true,
|
1225
1254
|
|
1226
|
-
identity_status:
|
1255
|
+
identity_status:"SELF_DECLARED",
|
1227
1256
|
|
1228
1257
|
create_date: "2022-07-05T15:17:05Z",
|
1229
1258
|
)
|