freeclimb 4.3.0 → 4.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +20 -4
  5. data/docs/DefaultApi.md +433 -0
  6. data/docs/IncomingNumberRequest.md +3 -1
  7. data/docs/SMSTenDLCBrand.md +78 -0
  8. data/docs/SMSTenDLCBrandsListResult.md +32 -0
  9. data/docs/SMSTenDLCBrandsListResultAllOf.md +18 -0
  10. data/docs/SMSTenDLCCampaign.md +78 -0
  11. data/docs/SMSTenDLCCampaignsListResult.md +32 -0
  12. data/docs/SMSTenDLCCampaignsListResultAllOf.md +18 -0
  13. data/docs/SMSTenDLCPartnerCampaign.md +74 -0
  14. data/docs/SMSTenDLCPartnerCampaignBrand.md +38 -0
  15. data/docs/SMSTenDLCPartnerCampaignsListResult.md +32 -0
  16. data/docs/SMSTenDLCPartnerCampaignsListResultAllOf.md +18 -0
  17. data/lib/freeclimb/api/default_api.rb +360 -0
  18. data/lib/freeclimb/models/incoming_number_request.rb +15 -4
  19. data/lib/freeclimb/models/sms_ten_dlc_brand.rb +960 -0
  20. data/lib/freeclimb/models/sms_ten_dlc_brands_list_result.rb +306 -0
  21. data/lib/freeclimb/models/sms_ten_dlc_brands_list_result_all_of.rb +221 -0
  22. data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +814 -0
  23. data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result.rb +306 -0
  24. data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result_all_of.rb +221 -0
  25. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +807 -0
  26. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +445 -0
  27. data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result.rb +306 -0
  28. data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result_all_of.rb +221 -0
  29. data/lib/freeclimb/version.rb +1 -1
  30. data/lib/freeclimb.rb +10 -0
  31. data/openapi.json +1162 -2
  32. data/spec/api/default_api_spec.rb +151 -1
  33. data/spec/models/sms_ten_dlc_brand_spec.rb +234 -0
  34. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +76 -0
  35. data/spec/models/sms_ten_dlc_campaign_spec.rb +218 -0
  36. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +76 -0
  37. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +94 -0
  38. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +206 -0
  39. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +76 -0
  40. metadata +105 -71
data/openapi.json CHANGED
@@ -1575,6 +1575,11 @@
1575
1575
  "alias": {
1576
1576
  "type": "string",
1577
1577
  "description": "Description for this phone number."
1578
+ },
1579
+ "campaignId": {
1580
+ "type": "string",
1581
+ "description": "The campaign ID generated by the campaign registry",
1582
+ "nullable": true
1578
1583
  }
1579
1584
  }
1580
1585
  },
@@ -2318,6 +2323,819 @@
2318
2323
  "description": "The filter query for retrieving logs. See **Performance Query Language** below."
2319
2324
  }
2320
2325
  }
2326
+ },
2327
+ "SMSTenDLCCampaignsListResult": {
2328
+ "allOf": [
2329
+ {
2330
+ "$ref": "#/components/schemas/PaginationModel"
2331
+ },
2332
+ {
2333
+ "type": "object",
2334
+ "properties": {
2335
+ "campaigns": {
2336
+ "type": "array",
2337
+ "items": {
2338
+ "$ref": "#/components/schemas/SMSTenDLCCampaign"
2339
+ },
2340
+ "nullable": true
2341
+ }
2342
+ }
2343
+ }
2344
+ ]
2345
+ },
2346
+ "SMSTenDLCCampaign": {
2347
+ "required": [
2348
+ "brandId",
2349
+ "campaignId",
2350
+ "cspId",
2351
+ "description",
2352
+ "mock",
2353
+ "subUsecases",
2354
+ "usecase"
2355
+ ],
2356
+ "type": "object",
2357
+ "properties": {
2358
+ "accountId": {
2359
+ "type": "string",
2360
+ "description": "ID of the account that created this Queue.",
2361
+ "nullable": true
2362
+ },
2363
+ "campaignId": {
2364
+ "type": "string",
2365
+ "description": "Alphanumeric identifier assigned by the registry for a campaign. This identifier is required by the NetNumber OSR SMS enabling process of 10DLC."
2366
+ },
2367
+ "cspId": {
2368
+ "type": "string",
2369
+ "description": "Alphanumeric identifier of the CSP associated with this campaign."
2370
+ },
2371
+ "resellerId": {
2372
+ "maxLength": 8,
2373
+ "type": "string",
2374
+ "nullable": true,
2375
+ "description": "Alphanumeric identifier of the reseller that you want to associate with this campaign."
2376
+ },
2377
+ "status": {
2378
+ "type": "string",
2379
+ "description": "Current campaign status. Possible values: ACTIVE, EXPIRED. A newly created campaign defaults to ACTIVE status. ",
2380
+ "enum": [
2381
+ "ACTIVE",
2382
+ "EXPIRED"
2383
+ ]
2384
+ },
2385
+ "createDate": {
2386
+ "type": "string",
2387
+ "description": "Unix timestamp when campaign was created.",
2388
+ "format": "date-time"
2389
+ },
2390
+ "autoRenewal": {
2391
+ "type": "boolean",
2392
+ "description": "Campaign subscription auto-renewal status."
2393
+ },
2394
+ "billedDate": {
2395
+ "type": "string",
2396
+ "description": "Campaign recent billed date.",
2397
+ "format": "date-time",
2398
+ "nullable": true
2399
+ },
2400
+ "brandId": {
2401
+ "maxLength": 8,
2402
+ "type": "string",
2403
+ "description": "Alphanumeric identifier of the brand associated with this campaign."
2404
+ },
2405
+ "usecase": {
2406
+ "maxLength": 20,
2407
+ "type": "string",
2408
+ "description": "Campaign usecase. Must be of defined valid types. Use `/registry/enum/usecase` operation to retrieve usecases available for given brand."
2409
+ },
2410
+ "subUsecases": {
2411
+ "uniqueItems": true,
2412
+ "type": "array",
2413
+ "description": "Campaign sub-usecases. Must be of defined valid sub-usecase types. Use `/registry/enum/usecase` operation to retrieve list of valid sub-usecases",
2414
+ "items": {
2415
+ "type": "string",
2416
+ "description": "Campaign sub-usecases. Must be of defined valid sub-usecase types. Use `/registry/enum/usecase` operation to retrieve list of valid sub-usecases"
2417
+ }
2418
+ },
2419
+ "description": {
2420
+ "maxLength": 4096,
2421
+ "type": "string",
2422
+ "description": "Summary description of this campaign."
2423
+ },
2424
+ "embeddedLink": {
2425
+ "type": "boolean",
2426
+ "description": "Does message generated by the campaign include URL link in SMS?",
2427
+ "default": false
2428
+ },
2429
+ "embeddedPhone": {
2430
+ "type": "boolean",
2431
+ "description": "Does message generated by the campaign include phone number in SMS?",
2432
+ "default": false
2433
+ },
2434
+ "affiliateMarketing": {
2435
+ "type": "boolean",
2436
+ "description": "Does message content controlled by affiliate marketing other than the brand?"
2437
+ },
2438
+ "numberPool": {
2439
+ "type": "boolean",
2440
+ "description": "Does campaign utilize pool of phone nubers?",
2441
+ "default": false
2442
+ },
2443
+ "ageGated": {
2444
+ "type": "boolean",
2445
+ "description": "Age gated content in campaign."
2446
+ },
2447
+ "directLending": {
2448
+ "type": "boolean"
2449
+ },
2450
+ "subscriberOptin": {
2451
+ "type": "boolean",
2452
+ "description": "Does campaign require subscriber to opt-in before SMS is sent to subscriber?",
2453
+ "default": false
2454
+ },
2455
+ "subscriberOptout": {
2456
+ "type": "boolean",
2457
+ "description": "Does campaign support subscriber opt-out keyword(s)?",
2458
+ "default": false
2459
+ },
2460
+ "subscriberHelp": {
2461
+ "type": "boolean",
2462
+ "description": "Does campaign responds to help keyword(s)?",
2463
+ "default": false
2464
+ },
2465
+ "sample1": {
2466
+ "maxLength": 1024,
2467
+ "type": "string",
2468
+ "description": "Message sample. Some campaign tiers require 1 or more message samples."
2469
+ },
2470
+ "sample2": {
2471
+ "maxLength": 1024,
2472
+ "type": "string",
2473
+ "nullable": true,
2474
+ "description": "Message sample. Some campaign tiers require 2 or more message samples."
2475
+ },
2476
+ "sample3": {
2477
+ "maxLength": 1024,
2478
+ "type": "string",
2479
+ "nullable": true,
2480
+ "description": "Message sample. Some campaign tiers require 3 or more message samples."
2481
+ },
2482
+ "sample4": {
2483
+ "maxLength": 1024,
2484
+ "type": "string",
2485
+ "nullable": true,
2486
+ "description": "Message sample. Some campaign tiers require 4 or more message samples."
2487
+ },
2488
+ "sample5": {
2489
+ "maxLength": 1024,
2490
+ "type": "string",
2491
+ "nullable": true,
2492
+ "description": "Message sample. Some campaign tiers require 5 or more message samples."
2493
+ },
2494
+ "messageFlow": {
2495
+ "maxLength": 2048,
2496
+ "type": "string",
2497
+ "nullable": true,
2498
+ "description": "Message flow description."
2499
+ },
2500
+ "helpMessage": {
2501
+ "maxLength": 255,
2502
+ "type": "string",
2503
+ "nullable": true,
2504
+ "description": "Help message of the campaign."
2505
+ },
2506
+ "referenceId": {
2507
+ "maxLength": 50,
2508
+ "type": "string",
2509
+ "nullable": true,
2510
+ "description": "Caller supplied campaign reference ID. If supplied, the value must be unique across all submitted campaigns. Can be used to prevent duplicate campaign registrations."
2511
+ },
2512
+ "mock": {
2513
+ "type": "boolean",
2514
+ "description": "Campaign created from mock brand. Mocked campaign cannot be shared with an upstream CNP."
2515
+ },
2516
+ "nextRenewalOrExpirationDate": {
2517
+ "type": "string",
2518
+ "nullable": true,
2519
+ "description": "When the campaign would be due for its next renew/bill date.",
2520
+ "format": "date",
2521
+ "example": "2000-01-01"
2522
+ }
2523
+ }
2524
+ ,
2525
+ "example": {
2526
+ "campaignId": "CX56XX4",
2527
+ "accountId": "ACe39970fb7c31c747c67148900b4d9da60a41e532",
2528
+ "cspId": "SX56XX4",
2529
+ "brandId": "BX56XX4",
2530
+ "usecase": "2FA",
2531
+ "description": "mock campaign.",
2532
+ "subUsecases": [],
2533
+ "resellerId": null,
2534
+ "sample1": "Your verification code from FreeClimb is 000000. It expires in 10 minutes.",
2535
+ "sample2": null,
2536
+ "sample3": null,
2537
+ "sample4": null,
2538
+ "sample5": null,
2539
+ "messageFlow": null,
2540
+ "helpMessage": null,
2541
+ "referenceId": null,
2542
+ "status": "EXPIRED",
2543
+ "mock": true,
2544
+ "autoRenewal": false,
2545
+ "embeddedLink": false,
2546
+ "embeddedPhone": false,
2547
+ "affiliateMarketing": false,
2548
+ "numberPool": false,
2549
+ "ageGated": false,
2550
+ "directLending": false,
2551
+ "subscriberOptin": true,
2552
+ "subscriberOptout": false,
2553
+ "subscriberHelp": true,
2554
+ "createDate": "2022-07-05T15:17:05Z",
2555
+ "billedDate": "2022-07-05T00:00:00Z",
2556
+ "nextRenewalOrExpirationDate": null
2557
+ }
2558
+ },
2559
+ "SMSTenDLCPartnerCampaignsListResult": {
2560
+ "allOf": [
2561
+ {
2562
+ "$ref": "#/components/schemas/PaginationModel"
2563
+ },
2564
+ {
2565
+ "type": "object",
2566
+ "properties": {
2567
+ "partnerCampaigns": {
2568
+ "type": "array",
2569
+ "items": {
2570
+ "$ref": "#/components/schemas/SMSTenDLCPartnerCampaign"
2571
+ },
2572
+ "nullable": true
2573
+ }
2574
+ }
2575
+ }
2576
+ ]
2577
+ },
2578
+ "SMSTenDLCPartnerCampaign": {
2579
+ "required": [
2580
+ "brandId",
2581
+ "campaignId",
2582
+ "description",
2583
+ "usecase"
2584
+ ],
2585
+ "type": "object",
2586
+ "properties": {
2587
+ "accountId": {
2588
+ "type": "string",
2589
+ "description": "ID of the account that created this Queue.",
2590
+ "nullable": true
2591
+ },
2592
+ "campaignId": {
2593
+ "type": "string",
2594
+ "description": "Alphanumeric identifier assigned by the registry for a campaign. This identifier is required by the NetNumber OSR SMS enabling process of 10DLC."
2595
+ },
2596
+ "status": {
2597
+ "type": "string",
2598
+ "description": "Current campaign status. Possible values: ACTIVE, EXPIRED. A newly created campaign defaults to ACTIVE status. ",
2599
+ "enum": [
2600
+ "ACTIVE",
2601
+ "EXPIRED"
2602
+ ]
2603
+ },
2604
+ "createDate": {
2605
+ "type": "string",
2606
+ "description": "Unix timestamp when campaign was created.",
2607
+ "format": "date-time"
2608
+ },
2609
+ "brandId": {
2610
+ "maxLength": 8,
2611
+ "type": "string",
2612
+ "description": "Alphanumeric identifier of the brand associated with this campaign."
2613
+ },
2614
+ "usecase": {
2615
+ "maxLength": 20,
2616
+ "type": "string",
2617
+ "description": "Campaign usecase. Must be of defined valid types. Use `/registry/enum/usecase` operation to retrieve usecases available for given brand."
2618
+ },
2619
+ "description": {
2620
+ "maxLength": 4096,
2621
+ "type": "string",
2622
+ "description": "Summary description of this campaign."
2623
+ },
2624
+ "embeddedLink": {
2625
+ "type": "boolean",
2626
+ "description": "Does message generated by the campaign include URL link in SMS?",
2627
+ "default": false
2628
+ },
2629
+ "embeddedPhone": {
2630
+ "type": "boolean",
2631
+ "description": "Does message generated by the campaign include phone number in SMS?",
2632
+ "default": false
2633
+ },
2634
+ "affiliateMarketing": {
2635
+ "type": "boolean",
2636
+ "description": "Does message content controlled by affiliate marketing other than the brand?"
2637
+ },
2638
+ "numberPool": {
2639
+ "type": "boolean",
2640
+ "description": "Does campaign utilize pool of phone nubers?",
2641
+ "default": false
2642
+ },
2643
+ "ageGated": {
2644
+ "type": "boolean",
2645
+ "description": "Age gated content in campaign."
2646
+ },
2647
+ "directLending": {
2648
+ "type": "boolean"
2649
+ },
2650
+ "subscriberOptin": {
2651
+ "type": "boolean",
2652
+ "description": "Does campaign require subscriber to opt-in before SMS is sent to subscriber?",
2653
+ "default": false
2654
+ },
2655
+ "subscriberOptout": {
2656
+ "type": "boolean",
2657
+ "description": "Does campaign support subscriber opt-out keyword(s)?",
2658
+ "default": false
2659
+ },
2660
+ "subscriberHelp": {
2661
+ "type": "boolean",
2662
+ "description": "Does campaign responds to help keyword(s)?",
2663
+ "default": false
2664
+ },
2665
+ "sample1": {
2666
+ "maxLength": 1024,
2667
+ "type": "string",
2668
+ "description": "Message sample. Some campaign tiers require 1 or more message samples."
2669
+ },
2670
+ "sample2": {
2671
+ "maxLength": 1024,
2672
+ "type": "string",
2673
+ "nullable": true,
2674
+ "description": "Message sample. Some campaign tiers require 2 or more message samples."
2675
+ },
2676
+ "sample3": {
2677
+ "maxLength": 1024,
2678
+ "type": "string",
2679
+ "nullable": true,
2680
+ "description": "Message sample. Some campaign tiers require 3 or more message samples."
2681
+ },
2682
+ "sample4": {
2683
+ "maxLength": 1024,
2684
+ "type": "string",
2685
+ "nullable": true,
2686
+ "description": "Message sample. Some campaign tiers require 4 or more message samples."
2687
+ },
2688
+ "sample5": {
2689
+ "maxLength": 1024,
2690
+ "type": "string",
2691
+ "nullable": true,
2692
+ "description": "Message sample. Some campaign tiers require 5 or more message samples."
2693
+ },
2694
+ "messageFlow": {
2695
+ "maxLength": 2048,
2696
+ "type": "string",
2697
+ "nullable": true,
2698
+ "description": "Message flow description."
2699
+ },
2700
+ "helpMessage": {
2701
+ "maxLength": 255,
2702
+ "type": "string",
2703
+ "nullable": true,
2704
+ "description": "Help message of the campaign."
2705
+ },
2706
+ "optinKeywords": {
2707
+ "maxLength": 255,
2708
+ "type": "string",
2709
+ "description": "Subscriber opt-in keywords. Multiple keywords are comma separated without space."
2710
+ },
2711
+ "optoutKeywords": {
2712
+ "maxLength": 255,
2713
+ "type": "string",
2714
+ "description": "Subscriber opt-out keywords. Multiple keywords are comma separated without space."
2715
+ },
2716
+ "helpKeywords": {
2717
+ "maxLength": 255,
2718
+ "type": "string",
2719
+ "description": "Subscriber help keywords. Multiple keywords are comma separated without space."
2720
+ },
2721
+ "optinMessage": {
2722
+ "maxLength": 255,
2723
+ "type": "string",
2724
+ "description": "Subscriber opt-in message."
2725
+ },
2726
+ "optoutMessage": {
2727
+ "maxLength": 255,
2728
+ "type": "string",
2729
+ "description": "Subscriber opt-out message."
2730
+ },
2731
+ "brand": {
2732
+ "$ref": "#/components/schemas/SMSTenDLCPartnerCampaignBrand"
2733
+ }
2734
+ },
2735
+ "example": {
2736
+ "campaignId": "CX56XX4",
2737
+ "accountId": "ACe39970fb7c31c747c67148900b4d9da60a41e532",
2738
+ "brandId": "BX56XX4",
2739
+ "usecase": "2FA",
2740
+ "description": "mock campaign.",
2741
+ "sample1": "Your verification code from FreeClimb is 000000. It expires in 10 minutes.",
2742
+ "sample2": null,
2743
+ "sample3": null,
2744
+ "sample4": null,
2745
+ "sample5": null,
2746
+ "messageFlow": null,
2747
+ "helpMessage": null,
2748
+ "status": "EXPIRED",
2749
+ "embeddedLink": false,
2750
+ "embeddedPhone": false,
2751
+ "affiliateMarketing": false,
2752
+ "numberPool": false,
2753
+ "ageGated": false,
2754
+ "directLending": false,
2755
+ "subscriberOptin": true,
2756
+ "subscriberOptout": false,
2757
+ "subscriberHelp": true,
2758
+ "createDate": "2022-07-05T15:17:05Z",
2759
+ "optinKeywords": "START",
2760
+ "optoutKeywords": "STOP",
2761
+ "helpKeywords": "HELP",
2762
+ "optinMessage": "",
2763
+ "optoutMessage": "",
2764
+ "brand": {
2765
+ "optionalAttributes": {},
2766
+ "brandId": "BVCEBIJ",
2767
+ "firstName": "",
2768
+ "lastName": "",
2769
+ "displayName": "FreeClimb LLC(mock)",
2770
+ "companyName": "FreeClimb LLC",
2771
+ "phone": "+18475722071",
2772
+ "email": "bmabry@vailsys.com",
2773
+ "website": "https://www.freeclimb.com/",
2774
+ "evpVettingScore": 22
2775
+ }
2776
+ }
2777
+ },
2778
+ "SMSTenDLCPartnerCampaignBrand":{
2779
+ "required": [
2780
+ "email",
2781
+ "phone"
2782
+ ],
2783
+ "type": "object",
2784
+ "properties": {
2785
+ "accountId": {
2786
+ "type": "string",
2787
+ "description": "ID of the account that created this Queue.",
2788
+ "nullable": true
2789
+ },
2790
+ "brandId": {
2791
+ "type": "string",
2792
+ "description": "Unique identifier assigned to the brand by the registry.",
2793
+ "readOnly": true
2794
+ },
2795
+ "firstName": {
2796
+ "maxLength": 100,
2797
+ "type": "string",
2798
+ "description": "First or given name. ",
2799
+ "example": "John"
2800
+ },
2801
+ "lastName": {
2802
+ "maxLength": 100,
2803
+ "type": "string",
2804
+ "description": "Last or Surname.",
2805
+ "example": "Doe"
2806
+ },
2807
+ "displayName": {
2808
+ "maxLength": 255,
2809
+ "type": "string",
2810
+ "description": "Display or marketing name of the brand.",
2811
+ "example": "ABC Mobile"
2812
+ },
2813
+ "companyName": {
2814
+ "maxLength": 255,
2815
+ "type": "string",
2816
+ "description": "(Required for Non-profit/private/public) Legal company name.",
2817
+ "example": "ABC Inc."
2818
+ },
2819
+ "phone": {
2820
+ "maxLength": 20,
2821
+ "type": "string",
2822
+ "description": "Valid phone number in e.164 international format.",
2823
+ "example": "+12024567890"
2824
+ },
2825
+ "email": {
2826
+ "maxLength": 100,
2827
+ "type": "string",
2828
+ "description": "Valid email address of brand support contact."
2829
+ },
2830
+ "website": {
2831
+ "maxLength": 100,
2832
+ "type": "string",
2833
+ "description": "Brand website URL.",
2834
+ "example": "http://www.abcmobile.com"
2835
+ },
2836
+ "optionalAttributes": {
2837
+ "type": "object",
2838
+ "additionalProperties": {
2839
+ "type": "object",
2840
+ "description": "Optional brand attributes. Please refer to GET /enum/optionalAttributeNames for dictionary of optional attribute names."
2841
+ },
2842
+ "description": "Optional brand attributes. Please refer to GET /enum/optionalAttributeNames for dictionary of optional attribute names."
2843
+ },
2844
+ "evpVettingScore": {
2845
+ "type": "integer",
2846
+ "description": "External vetting score."
2847
+ }
2848
+ }
2849
+ },
2850
+ "SMSTenDLCBrandsListResult": {
2851
+ "allOf": [
2852
+ {
2853
+ "$ref": "#/components/schemas/PaginationModel"
2854
+ },
2855
+ {
2856
+ "type": "object",
2857
+ "properties": {
2858
+ "brands": {
2859
+ "type": "array",
2860
+ "items": {
2861
+ "$ref": "#/components/schemas/SMSTenDLCBrand"
2862
+ },
2863
+ "nullable": true
2864
+ }
2865
+ }
2866
+ }
2867
+ ]
2868
+ },
2869
+ "SMSTenDLCBrand":{
2870
+ "required": [
2871
+ "brandRelationship",
2872
+ "country",
2873
+ "displayName",
2874
+ "email",
2875
+ "entityType",
2876
+ "identityStatus",
2877
+ "mock",
2878
+ "phone",
2879
+ "vertical"
2880
+ ],
2881
+ "type": "object",
2882
+ "properties": {
2883
+ "accountId": {
2884
+ "type": "string",
2885
+ "description": "ID of the account that created this Queue.",
2886
+ "nullable": true
2887
+ },
2888
+ "entityType": {
2889
+ "maxLength": 20,
2890
+ "type": "string",
2891
+ "description": "Entity type behind the brand. This is the form of business establishment.",
2892
+ "enum": [
2893
+ "PRIVATE_PROFIT",
2894
+ "PUBLIC_PROFIT",
2895
+ "NON_PROFIT",
2896
+ "GOVERNMENT",
2897
+ "SOLE_PROPRIETOR"
2898
+ ]
2899
+ },
2900
+ "cspId": {
2901
+ "type": "string",
2902
+ "description": "Unique identifier assigned to the csp by the registry.",
2903
+ "readOnly": true
2904
+ },
2905
+ "brandId": {
2906
+ "type": "string",
2907
+ "description": "Unique identifier assigned to the brand by the registry.",
2908
+ "readOnly": true
2909
+ },
2910
+ "firstName": {
2911
+ "maxLength": 100,
2912
+ "type": "string",
2913
+ "description": "First or given name. ",
2914
+ "example": "John"
2915
+ },
2916
+ "lastName": {
2917
+ "maxLength": 100,
2918
+ "type": "string",
2919
+ "description": "Last or Surname.",
2920
+ "example": "Doe"
2921
+ },
2922
+ "displayName": {
2923
+ "maxLength": 255,
2924
+ "type": "string",
2925
+ "description": "Display or marketing name of the brand.",
2926
+ "example": "ABC Mobile"
2927
+ },
2928
+ "companyName": {
2929
+ "maxLength": 255,
2930
+ "type": "string",
2931
+ "description": "(Required for Non-profit/private/public) Legal company name.",
2932
+ "example": "ABC Inc."
2933
+ },
2934
+ "ein": {
2935
+ "maxLength": 21,
2936
+ "type": "string",
2937
+ "description": "(Required for Non-profit) Government assigned corporate tax ID. EIN is 9-digits in U.S.",
2938
+ "example": "111111111"
2939
+ },
2940
+ "einIssuingCountry": {
2941
+ "maxLength": 2,
2942
+ "type": "string",
2943
+ "description": "ISO2 2 characters country code. Example: US - United States",
2944
+ "example": "US"
2945
+ },
2946
+ "phone": {
2947
+ "maxLength": 20,
2948
+ "type": "string",
2949
+ "description": "Valid phone number in e.164 international format.",
2950
+ "example": "+12024567890"
2951
+ },
2952
+ "street": {
2953
+ "maxLength": 100,
2954
+ "type": "string",
2955
+ "description": "Street number and name.",
2956
+ "example": "123 6th Ave"
2957
+ },
2958
+ "city": {
2959
+ "maxLength": 100,
2960
+ "type": "string",
2961
+ "description": "City name",
2962
+ "example": "New York"
2963
+ },
2964
+ "state": {
2965
+ "maxLength": 20,
2966
+ "type": "string",
2967
+ "description": "State. Must be 2 letters code for United States.",
2968
+ "example": "NY"
2969
+ },
2970
+ "postalCode": {
2971
+ "maxLength": 10,
2972
+ "type": "string",
2973
+ "description": "Postal codes. Use 5 digit zipcode for United States",
2974
+ "example": "10001"
2975
+ },
2976
+ "country": {
2977
+ "maxLength": 2,
2978
+ "type": "string",
2979
+ "description": "ISO2 2 characters country code. Example: US - United States",
2980
+ "example": "US"
2981
+ },
2982
+ "email": {
2983
+ "maxLength": 100,
2984
+ "type": "string",
2985
+ "description": "Valid email address of brand support contact."
2986
+ },
2987
+ "stockSymbol": {
2988
+ "maxLength": 10,
2989
+ "type": "string",
2990
+ "description": "(Required for public company) stock symbol.",
2991
+ "example": "ABC"
2992
+ },
2993
+ "stockExchange": {
2994
+ "type": "string",
2995
+ "description": "(Required for public company) stock exchange.",
2996
+ "example": "NASDAQ",
2997
+ "enum": [
2998
+ "NONE",
2999
+ "NASDAQ",
3000
+ "NYSE",
3001
+ "AMEX",
3002
+ "AMX",
3003
+ "ASX",
3004
+ "B3",
3005
+ "BME",
3006
+ "BSE",
3007
+ "FRA",
3008
+ "ICEX",
3009
+ "JPX",
3010
+ "JSE",
3011
+ "KRX",
3012
+ "LON",
3013
+ "NSE",
3014
+ "OMX",
3015
+ "SEHK",
3016
+ "SGX",
3017
+ "SSE",
3018
+ "STO",
3019
+ "SWX",
3020
+ "SZSE",
3021
+ "TSX",
3022
+ "TWSE",
3023
+ "VSE",
3024
+ "OTHER"
3025
+ ]
3026
+ },
3027
+ "ipAddress": {
3028
+ "maxLength": 50,
3029
+ "type": "string",
3030
+ "description": "IP address of the browser requesting to create brand identity."
3031
+ },
3032
+ "website": {
3033
+ "maxLength": 100,
3034
+ "type": "string",
3035
+ "description": "Brand website URL.",
3036
+ "example": "http://www.abcmobile.com"
3037
+ },
3038
+ "brandRelationship": {
3039
+ "type": "string",
3040
+ "description": "Brand relationship to the CSP",
3041
+ "enum": [
3042
+ "BASIC_ACCOUNT",
3043
+ "SMALL_ACCOUNT",
3044
+ "MEDIUM_ACCOUNT",
3045
+ "LARGE_ACCOUNT",
3046
+ "KEY_ACCOUNT"
3047
+ ]
3048
+ },
3049
+ "vertical": {
3050
+ "maxLength": 50,
3051
+ "type": "string",
3052
+ "description": "Vertical or industry segment of the brand."
3053
+ },
3054
+ "altBusinessId": {
3055
+ "maxLength": 50,
3056
+ "type": "string",
3057
+ "description": "Alternate business identifier such as DUNS, LEI, or GIIN"
3058
+ },
3059
+ "altBusinessIdType": {
3060
+ "type": "string",
3061
+ "enum": [
3062
+ "NONE",
3063
+ "DUNS",
3064
+ "GIIN",
3065
+ "LEI"
3066
+ ],
3067
+ "description": "The type of the Alternative business identifier"
3068
+ },
3069
+ "universalEin": {
3070
+ "type": "string",
3071
+ "description": "Universal EIN of Brand, Read Only.",
3072
+ "readOnly": true
3073
+ },
3074
+ "referenceId": {
3075
+ "maxLength": 50,
3076
+ "type": "string",
3077
+ "description": "Caller supplied brand reference ID. If supplied, the value must be unique across all submitted brands. Can be used to prevent duplicate brand registrations."
3078
+ },
3079
+ "optionalAttributes": {
3080
+ "type": "object",
3081
+ "additionalProperties": {
3082
+ "type": "object",
3083
+ "description": "Optional brand attributes. Please refer to GET /enum/optionalAttributeNames for dictionary of optional attribute names."
3084
+ },
3085
+ "description": "Optional brand attributes. Please refer to GET /enum/optionalAttributeNames for dictionary of optional attribute names."
3086
+ },
3087
+ "mock": {
3088
+ "type": "boolean",
3089
+ "description": "Test brand."
3090
+ },
3091
+ "identityStatus": {
3092
+ "type": "string",
3093
+ "description": "TCR assessment of the brand identification status.",
3094
+ "enum": [
3095
+ "SELF_DECLARED",
3096
+ "UNVERIFIED",
3097
+ "VERIFIED",
3098
+ "VETTED_VERIFIED"
3099
+ ]
3100
+ },
3101
+ "createDate": {
3102
+ "type": "string",
3103
+ "description": "Unix timestamp when brand was created.",
3104
+ "format": "date-time"
3105
+ }
3106
+ },
3107
+ "description": "A brand is a business identity behind the campaign.",
3108
+ "example": {
3109
+ "mock": true,
3110
+ "optionalAttributes": {},
3111
+ "accountId": "AC1234512345123451234512345123451234512345",
3112
+ "brandId": "BVCEBIJ",
3113
+ "cspId": "SKGC6G0",
3114
+ "firstName": "",
3115
+ "lastName": "",
3116
+ "displayName": "FreeClimb LLC(mock)",
3117
+ "companyName": "FreeClimb LLC",
3118
+ "ein": "843793747",
3119
+ "einIssuingCountry": "US",
3120
+ "phone": "+18475722071",
3121
+ "street": "570 Lake Cook Rd Ste 400",
3122
+ "city": "Deerfield",
3123
+ "state": "IL",
3124
+ "postalCode": "60015",
3125
+ "country": "US",
3126
+ "email": "bmabry@vailsys.com",
3127
+ "stockSymbol": "",
3128
+ "stockExchange": "NASDAQ",
3129
+ "ipAddress": "127.0.0.1",
3130
+ "website": "https://www.freeclimb.com/",
3131
+ "vertical": "TECHNOLOGY",
3132
+ "universalEin": "US_843793747",
3133
+ "referenceId": "ACdeadbeef",
3134
+ "entityType": "PRIVATE_PROFIT",
3135
+ "brandRelationship": "SMALL_ACCOUNT",
3136
+ "identityStatus": "VERIFIED",
3137
+ "createDate": "2022-07-01T20:29:23Z"
3138
+ }
2321
3139
  }
2322
3140
  }
2323
3141
  },
@@ -2816,6 +3634,15 @@
2816
3634
  },
2817
3635
  "deprecated": true
2818
3636
  },
3637
+ {
3638
+ "name": "hasCampaign",
3639
+ "in": "query",
3640
+ "description": "Indication of whether the phone number has a campaign associated with it",
3641
+ "required": false,
3642
+ "schema": {
3643
+ "type": "boolean"
3644
+ }
3645
+ },
2819
3646
  {
2820
3647
  "$ref": "#/components/parameters/Capabilities.Voice"
2821
3648
  },
@@ -2837,8 +3664,7 @@
2837
3664
  "required": false,
2838
3665
  "description": "Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource.",
2839
3666
  "schema": {
2840
- "type": "boolean",
2841
- "nullable": true
3667
+ "type": "boolean"
2842
3668
  }
2843
3669
  }
2844
3670
  ],
@@ -4229,6 +5055,340 @@
4229
5055
  },
4230
5056
  "deprecated": false
4231
5057
  }
5058
+ },
5059
+ "/Accounts/{accountId}/Messages/10DLC/Campaigns": {
5060
+ "get": {
5061
+ "tags": [],
5062
+ "summary": "Get list of SMS 10DLC Campaigns",
5063
+ "operationId": "get-tenDLC-sms-Campaigns",
5064
+ "parameters": [
5065
+ {
5066
+ "$ref": "#/components/parameters/AccountId"
5067
+ },
5068
+ {
5069
+ "name": "brandId",
5070
+ "in": "query",
5071
+ "description": "The unique identifier for a brand",
5072
+ "required": false,
5073
+ "schema": {
5074
+ "type": "string"
5075
+ }
5076
+ }
5077
+ ],
5078
+ "responses": {
5079
+ "200": {
5080
+ "description": "The list SMS 10DLC campaigns",
5081
+ "content": {
5082
+ "application/json": {
5083
+ "schema": {
5084
+ "$ref": "#/components/schemas/SMSTenDLCCampaignsListResult"
5085
+ },
5086
+ "example": {
5087
+ "total": 1,
5088
+ "start": 0,
5089
+ "end": 0,
5090
+ "page": 0,
5091
+ "numPages": 1,
5092
+ "pageSize": 100,
5093
+ "nextPageUri": null,
5094
+ "campaigns": [
5095
+ {
5096
+ "campaignId": "C3TMRFL",
5097
+ "accountId": "ACe39970fb7c31c747c67148900b4d9da60a41e532",
5098
+ "cspId": "SKGC6G0",
5099
+ "brandId": "BVCEBIJ",
5100
+ "usecase": "2FA",
5101
+ "description": "bmabry mock campaign.",
5102
+ "subUsecases": [],
5103
+ "resellerId": null,
5104
+ "sample1": "Your verification code from FreeClimb is 000000. It expires in 10 minutes.",
5105
+ "sample2": null,
5106
+ "sample3": null,
5107
+ "sample4": null,
5108
+ "sample5": null,
5109
+ "messageFlow": null,
5110
+ "helpMessage": null,
5111
+ "referenceId": null,
5112
+ "status": "EXPIRED",
5113
+ "mock": true,
5114
+ "autoRenewal": false,
5115
+ "embeddedLink": false,
5116
+ "embeddedPhone": false,
5117
+ "affiliateMarketing": false,
5118
+ "numberPool": false,
5119
+ "ageGated": false,
5120
+ "directLending": false,
5121
+ "subscriberOptin": true,
5122
+ "subscriberOptout": false,
5123
+ "subscriberHelp": true,
5124
+ "createDate": "2022-07-05T15:17:05Z",
5125
+ "billedDate": "2022-07-05T00:00:00Z",
5126
+ "nextRenewalOrExpirationDate": null
5127
+ }
5128
+ ]
5129
+ }
5130
+ }
5131
+ }
5132
+ }
5133
+ },
5134
+ "deprecated": false
5135
+ }
5136
+ },
5137
+ "/Accounts/{accountId}/Messages/10DLC/Campaigns/{campaignId}": {
5138
+ "get": {
5139
+ "tags": [],
5140
+ "summary": "Get a 10DLC SMS Campaign",
5141
+ "operationId": "get-tenDLC-sms-campaign",
5142
+ "parameters": [
5143
+ {
5144
+ "$ref": "#/components/parameters/AccountId"
5145
+ },
5146
+ {
5147
+ "name": "campaignId",
5148
+ "in": "path",
5149
+ "description": "String that uniquely identifies this campaign resource.",
5150
+ "required": true,
5151
+ "schema": {
5152
+ "type": "string"
5153
+ }
5154
+ }
5155
+ ],
5156
+ "responses": {
5157
+ "200": {
5158
+ "description": "The specific SMS 10DLC Campaign that’s been processed by FreeClimb",
5159
+ "content": {
5160
+ "application/json": {
5161
+ "schema": {
5162
+ "$ref": "#/components/schemas/SMSTenDLCCampaign"
5163
+ }
5164
+ }
5165
+ }
5166
+ }
5167
+ },
5168
+ "deprecated": false
5169
+ }
5170
+ },
5171
+ "/Accounts/{accountId}/Messages/10DLC/PartnerCampaigns": {
5172
+ "get": {
5173
+ "tags": [],
5174
+ "summary": "Get list of SMS 10DLC Partner Campaigns",
5175
+ "operationId": "get-tenDLC-sms-partnerCampaigns",
5176
+ "parameters": [
5177
+ {
5178
+ "$ref": "#/components/parameters/AccountId"
5179
+ },
5180
+ {
5181
+ "name": "brandId",
5182
+ "in": "query",
5183
+ "description": "The unique identifier for a brand",
5184
+ "required": false,
5185
+ "schema": {
5186
+ "type": "string"
5187
+ }
5188
+ }
5189
+ ],
5190
+ "responses": {
5191
+ "200": {
5192
+ "description": "The list SMS 10DLC partner campaigns",
5193
+ "content": {
5194
+ "application/json": {
5195
+ "schema": {
5196
+ "$ref": "#/components/schemas/SMSTenDLCPartnerCampaignsListResult"
5197
+ },
5198
+ "example": {
5199
+ "total": 1,
5200
+ "start": 0,
5201
+ "end": 0,
5202
+ "page": 0,
5203
+ "numPages": 1,
5204
+ "pageSize": 100,
5205
+ "nextPageUri": null,
5206
+ "sharedCampaigns": [
5207
+ {
5208
+ "campaignId": "CX56XX4",
5209
+ "accountId": "ACe39970fb7c31c747c67148900b4d9da60a41e532",
5210
+ "brandId": "BX56XX4",
5211
+ "usecase": "2FA",
5212
+ "description": "mock campaign.",
5213
+ "sample1": "Your verification code from FreeClimb is 000000. It expires in 10 minutes.",
5214
+ "sample2": null,
5215
+ "sample3": null,
5216
+ "sample4": null,
5217
+ "sample5": null,
5218
+ "messageFlow": null,
5219
+ "helpMessage": null,
5220
+ "status": "EXPIRED",
5221
+ "embeddedLink": false,
5222
+ "embeddedPhone": false,
5223
+ "affiliateMarketing": false,
5224
+ "numberPool": false,
5225
+ "ageGated": false,
5226
+ "directLending": false,
5227
+ "subscriberOptin": true,
5228
+ "subscriberOptout": false,
5229
+ "subscriberHelp": true,
5230
+ "createDate": "2022-07-05T15:17:05Z",
5231
+ "optinKeywords": "START",
5232
+ "optoutKeywords": "STOP",
5233
+ "helpKeywords": "HELP",
5234
+ "optinMessage": "",
5235
+ "optoutMessage": "",
5236
+ "brand": {
5237
+ "optionalAttributes": {},
5238
+ "brandId": "BVCEBIJ",
5239
+ "firstName": "",
5240
+ "lastName": "",
5241
+ "displayName": "FreeClimb LLC(mock)",
5242
+ "companyName": "FreeClimb LLC",
5243
+ "phone": "+18475722071",
5244
+ "email": "bmabry@vailsys.com",
5245
+ "website": "https://www.freeclimb.com/",
5246
+ "evpVettingScore": 22
5247
+ }
5248
+ }
5249
+ ]
5250
+ }
5251
+ }
5252
+ }
5253
+ }
5254
+ },
5255
+ "deprecated": false
5256
+ }
5257
+ },
5258
+ "/Accounts/{accountId}/Messages/10DLC/PartnerCampaigns/{campaignId}": {
5259
+ "get": {
5260
+ "tags": [],
5261
+ "summary": "Get a 10DLC SMS Partner Campaign",
5262
+ "operationId": "get-tenDLC-sms-partnerCampaign",
5263
+ "parameters": [
5264
+ {
5265
+ "$ref": "#/components/parameters/AccountId"
5266
+ },
5267
+ {
5268
+ "name": "campaignId",
5269
+ "in": "path",
5270
+ "description": "String that uniquely identifies this campaign resource.",
5271
+ "required": true,
5272
+ "schema": {
5273
+ "type": "string"
5274
+ }
5275
+ }
5276
+ ],
5277
+ "responses": {
5278
+ "200": {
5279
+ "description": "The specific SMS 10DLC Partner Campaign that’s been processed by FreeClimb",
5280
+ "content": {
5281
+ "application/json": {
5282
+ "schema": {
5283
+ "$ref": "#/components/schemas/SMSTenDLCPartnerCampaign"
5284
+ }
5285
+ }
5286
+ }
5287
+ }
5288
+ },
5289
+ "deprecated": false
5290
+ }
5291
+ },
5292
+ "/Accounts/{accountId}/Messages/10DLC/Brands": {
5293
+ "get": {
5294
+ "tags": [],
5295
+ "summary": "Get list of SMS 10DLC Brands",
5296
+ "operationId": "get-tenDLC-sms-brands",
5297
+ "parameters": [
5298
+ {
5299
+ "$ref": "#/components/parameters/AccountId"
5300
+ }
5301
+ ],
5302
+ "responses": {
5303
+ "200": {
5304
+ "description": "The list SMS 10DLC brands",
5305
+ "content": {
5306
+ "application/json": {
5307
+ "schema": {
5308
+ "$ref": "#/components/schemas/SMSTenDLCBrandsListResult"
5309
+ },
5310
+ "example": {
5311
+ "total": 1,
5312
+ "start": 0,
5313
+ "end": 0,
5314
+ "page": 0,
5315
+ "numPages": 1,
5316
+ "pageSize": 100,
5317
+ "nextPageUri": null,
5318
+ "brands": [
5319
+ {
5320
+ "mock": true,
5321
+ "optionalAttributes": {},
5322
+ "accountId": "AC1234512345123451234512345123451234512345",
5323
+ "brandId": "BVCEBIJ",
5324
+ "cspId": "SKGC6G0",
5325
+ "firstName": "",
5326
+ "lastName": "",
5327
+ "displayName": "FreeClimb LLC(mock)",
5328
+ "companyName": "FreeClimb LLC",
5329
+ "ein": "843793747",
5330
+ "einIssuingCountry": "US",
5331
+ "phone": "+18475722071",
5332
+ "street": "570 Lake Cook Rd Ste 400",
5333
+ "city": "Deerfield",
5334
+ "state": "IL",
5335
+ "postalCode": "60015",
5336
+ "country": "US",
5337
+ "email": "bmabry@vailsys.com",
5338
+ "stockSymbol": "",
5339
+ "stockExchange": "ASX",
5340
+ "ipAddress": "127.0.0.1",
5341
+ "website": "https://www.freeclimb.com/",
5342
+ "vertical": "TECHNOLOGY",
5343
+ "universalEin": "US_843793747",
5344
+ "referenceId": "ACdeadbeef",
5345
+ "entityType": "PRIVATE_PROFIT",
5346
+ "brandRelationship": "SMALL_ACCOUNT",
5347
+ "identityStatus": "VERIFIED",
5348
+ "createDate": "2022-07-01T20:29:23Z"
5349
+ }
5350
+ ]
5351
+ }
5352
+ }
5353
+ }
5354
+ }
5355
+ },
5356
+ "deprecated": false
5357
+ }
5358
+ },
5359
+ "/Accounts/{accountId}/Messages/10DLC/Brands/{brandId}": {
5360
+ "get": {
5361
+ "tags": [],
5362
+ "summary": "Get a 10DLC SMS Brand",
5363
+ "operationId": "get-tenDLC-sms-brand",
5364
+ "parameters": [
5365
+ {
5366
+ "$ref": "#/components/parameters/AccountId"
5367
+ },
5368
+ {
5369
+ "name": "brandId",
5370
+ "in": "path",
5371
+ "description": "String that uniquely identifies this brand resource.",
5372
+ "required": true,
5373
+ "schema": {
5374
+ "type": "string"
5375
+ }
5376
+ }
5377
+ ],
5378
+ "responses": {
5379
+ "200": {
5380
+ "description": "The specific SMS 10DLC Brand that’s been processed by FreeClimb",
5381
+ "content": {
5382
+ "application/json": {
5383
+ "schema": {
5384
+ "$ref": "#/components/schemas/SMSTenDLCBrand"
5385
+ }
5386
+ }
5387
+ }
5388
+ }
5389
+ },
5390
+ "deprecated": false
5391
+ }
4232
5392
  }
4233
5393
  },
4234
5394
  "x-headers": [],