freeclimb 4.2.0 → 4.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +23 -5
  5. data/docs/DefaultApi.md +437 -1
  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 +367 -0
  18. data/lib/freeclimb/models/account_result.rb +2 -0
  19. data/lib/freeclimb/models/account_result_all_of.rb +2 -0
  20. data/lib/freeclimb/models/call_result.rb +3 -0
  21. data/lib/freeclimb/models/call_result_all_of.rb +3 -0
  22. data/lib/freeclimb/models/conference_result.rb +2 -0
  23. data/lib/freeclimb/models/conference_result_all_of.rb +2 -0
  24. data/lib/freeclimb/models/create_conference.rb +1 -0
  25. data/lib/freeclimb/models/create_conference_all_of.rb +1 -0
  26. data/lib/freeclimb/models/create_conference_request.rb +1 -0
  27. data/lib/freeclimb/models/get_speech.rb +1 -0
  28. data/lib/freeclimb/models/get_speech_all_of.rb +1 -0
  29. data/lib/freeclimb/models/incoming_number_request.rb +15 -4
  30. data/lib/freeclimb/models/log_result.rb +1 -0
  31. data/lib/freeclimb/models/message_result.rb +1 -0
  32. data/lib/freeclimb/models/message_result_all_of.rb +1 -0
  33. data/lib/freeclimb/models/sms_ten_dlc_brand.rb +960 -0
  34. data/lib/freeclimb/models/sms_ten_dlc_brands_list_result.rb +306 -0
  35. data/lib/freeclimb/models/sms_ten_dlc_brands_list_result_all_of.rb +221 -0
  36. data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +814 -0
  37. data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result.rb +306 -0
  38. data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result_all_of.rb +221 -0
  39. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +807 -0
  40. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +445 -0
  41. data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result.rb +306 -0
  42. data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result_all_of.rb +221 -0
  43. data/lib/freeclimb/models/update_conference_request.rb +1 -0
  44. data/lib/freeclimb/version.rb +1 -1
  45. data/lib/freeclimb.rb +10 -0
  46. data/openapi.json +1200 -27
  47. data/spec/api/default_api_spec.rb +156 -2
  48. data/spec/models/sms_ten_dlc_brand_spec.rb +234 -0
  49. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +76 -0
  50. data/spec/models/sms_ten_dlc_campaign_spec.rb +218 -0
  51. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +76 -0
  52. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +94 -0
  53. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +206 -0
  54. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +76 -0
  55. data/spec/utils/signature_information_spec.rb +4 -3
  56. metadata +107 -73
data/openapi.json CHANGED
@@ -85,28 +85,33 @@
85
85
  "type": "string",
86
86
  "enum": ["closed", "suspended", "active"],
87
87
  "x-enum-varnames": ["CLOSED", "SUSPENDED", "ACTIVE"],
88
- "description": "The status of this account. It is one of: active, suspended, or closed."
88
+ "description": "The status of this account. It is one of: active, suspended, or closed.",
89
+ "nullable": true
89
90
  },
90
91
  "AccountType": {
91
92
  "type": "string",
92
93
  "description": "The type of this account. It is one of: trial or full.",
93
94
  "enum": ["trial", "full"],
94
- "x-enum-varnames": ["TRIAL", "FULL"]
95
+ "x-enum-varnames": ["TRIAL", "FULL"],
96
+ "nullable": true
95
97
  },
96
98
  "AnsweredBy": {
97
99
  "type": "string",
100
+ "nullable": true,
98
101
  "enum": ["human", "machine"],
99
102
  "x-enum-varnames": ["HUMAN", "MACHINE"],
100
103
  "description": "If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise."
101
104
  },
102
105
  "CallDirection": {
103
106
  "type": "string",
107
+ "nullable": true,
104
108
  "enum": ["inbound", "outboundAPI", "outboundDial"],
105
109
  "x-enum-varnames": ["INBOUND", "OUTBOUND_API", "OUTBOUND_DIAL"],
106
110
  "description": "Direction of the Call. `inbound` for Calls into FreeClimb, `outboundAPI` for Calls initiated via the REST API, `outboundDial` for Calls initiated by the `OutDial` PerCL command."
107
111
  },
108
112
  "CallStatus": {
109
113
  "type": "string",
114
+ "nullable": true,
110
115
  "enum": [
111
116
  "queued",
112
117
  "ringing",
@@ -131,6 +136,7 @@
131
136
  },
132
137
  "ConferenceStatus": {
133
138
  "type": "string",
139
+ "nullable": true,
134
140
  "enum": ["empty", "populated", "inProgress", "terminated"],
135
141
  "x-enum-varnames": ["EMPTY", "POPULATED", "IN_PROGRESS", "TERMINATED"],
136
142
  "description": "The status of the Conference. One of: creating, empty, populated, inProgress, or terminated."
@@ -194,6 +200,7 @@
194
200
  "GrammarType": {
195
201
  "type": "string",
196
202
  "enum": ["URL", "BUILTIN"],
203
+ "nullable": true,
197
204
  "x-enum-varnames": ["URL", "BUILT_IN"],
198
205
  "description": "The grammar file type to use for speech recognition. A value of 'URL' indicates the grammarFile attribute specifies a URL that points to the grammar file. A value of `BUILTIN` indicates the grammarFile attribute specifies the name of one of the platform built-in grammar files."
199
206
  },
@@ -265,6 +272,7 @@
265
272
  "LogLevel": {
266
273
  "type": "string",
267
274
  "enum": ["info", "warning", "error"],
275
+ "nullable": true,
268
276
  "x-enum-varnames": ["INFO", "WARNING", "ERROR"],
269
277
  "description": "Level of the log. Possible values are info, warning, and error."
270
278
  },
@@ -280,6 +288,7 @@
280
288
  },
281
289
  "MessageStatus": {
282
290
  "type": "string",
291
+ "nullable": true,
283
292
  "description": "Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown",
284
293
  "enum": [
285
294
  "new",
@@ -310,9 +319,10 @@
310
319
  },
311
320
  "PlayBeep": {
312
321
  "type": "string",
322
+ "nullable": true,
313
323
  "enum": ["always", "never", "entryOnly", "exitOnly"],
314
324
  "x-enum-varnames": ["ALWAYS", "NEVER", "ENTRY_ONLY", "EXIT_ONLY"],
315
- "description": "Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`.",
325
+ "description": "Indicates whether to play a beep when a Participant enters or leaves the Conference. either `always`, `never`, `entryOnly`, or `exitOnly`. Leaving this unset will make conference default to `always` ",
316
326
  "default": "always",
317
327
  "x-enum-default-attr": "ALWAYS"
318
328
  },
@@ -520,7 +530,6 @@
520
530
  "type": "boolean"
521
531
  },
522
532
  "playBeep": {
523
- "description": "Indicates whether to play a beep when a Participant enters or leaves the Conference. either `always`, `never`, `entryOnly`, or `exitOnly`. Leaving this unset will make conference default to `always` ",
524
533
  "$ref": "#/components/schemas/PlayBeep"
525
534
  },
526
535
  "record": {
@@ -653,8 +662,7 @@
653
662
  "format": "uri"
654
663
  },
655
664
  "grammarType": {
656
- "$ref": "#/components/schemas/GrammarType",
657
- "nullable": true
665
+ "$ref": "#/components/schemas/GrammarType"
658
666
  },
659
667
  "grammarFile": {
660
668
  "description": "The grammar file to use for speech recognition. If grammarType is set to URL, this attribute is specified as a download URL.",
@@ -1297,12 +1305,10 @@
1297
1305
  "nullable": true
1298
1306
  },
1299
1307
  "type": {
1300
- "$ref": "#/components/schemas/AccountType",
1301
- "nullable": true
1308
+ "$ref": "#/components/schemas/AccountType"
1302
1309
  },
1303
1310
  "status": {
1304
- "$ref": "#/components/schemas/AccountStatus",
1305
- "nullable": true
1311
+ "$ref": "#/components/schemas/AccountStatus"
1306
1312
  },
1307
1313
  "subresourceUris": {
1308
1314
  "type": "object",
@@ -1569,6 +1575,11 @@
1569
1575
  "alias": {
1570
1576
  "type": "string",
1571
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
1572
1583
  }
1573
1584
  }
1574
1585
  },
@@ -1648,8 +1659,7 @@
1648
1659
  "nullable": true
1649
1660
  },
1650
1661
  "callStatus": {
1651
- "$ref": "#/components/schemas/CallStatus",
1652
- "nullable": true
1662
+ "$ref": "#/components/schemas/CallStatus"
1653
1663
  },
1654
1664
  "startTime": {
1655
1665
  "type": "string",
@@ -1677,12 +1687,10 @@
1677
1687
  "nullable": true
1678
1688
  },
1679
1689
  "direction": {
1680
- "$ref": "#/components/schemas/CallDirection",
1681
- "nullable": true
1690
+ "$ref": "#/components/schemas/CallDirection"
1682
1691
  },
1683
1692
  "answeredBy": {
1684
- "$ref": "#/components/schemas/AnsweredBy",
1685
- "nullable": true
1693
+ "$ref": "#/components/schemas/AnsweredBy"
1686
1694
  },
1687
1695
  "subresourceUris": {
1688
1696
  "type": "object",
@@ -1834,9 +1842,7 @@
1834
1842
  "nullable": true
1835
1843
  },
1836
1844
  "level": {
1837
- "$ref": "#/components/schemas/LogLevel",
1838
-
1839
- "nullable": true
1845
+ "$ref": "#/components/schemas/LogLevel"
1840
1846
  },
1841
1847
  "requestId": {
1842
1848
  "type": "string",
@@ -1909,8 +1915,7 @@
1909
1915
  },
1910
1916
  "playBeep": {
1911
1917
  "$ref": "#/components/schemas/PlayBeep",
1912
- "description": "Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always.",
1913
- "nullable": true
1918
+ "description": "Setting that controls when a beep is played. One of: always, never, entryOnly, exitOnly. Defaults to always."
1914
1919
  },
1915
1920
  "record": {
1916
1921
  "type": "boolean",
@@ -1918,8 +1923,7 @@
1918
1923
  "nullable": true
1919
1924
  },
1920
1925
  "status": {
1921
- "$ref": "#/components/schemas/ConferenceStatus",
1922
- "nullable": true
1926
+ "$ref": "#/components/schemas/ConferenceStatus"
1923
1927
  },
1924
1928
  "waitUrl": {
1925
1929
  "type": "string",
@@ -2036,8 +2040,7 @@
2036
2040
  "nullable": true
2037
2041
  },
2038
2042
  "status": {
2039
- "$ref": "#/components/schemas/MessageStatus",
2040
- "nullable": true
2043
+ "$ref": "#/components/schemas/MessageStatus"
2041
2044
  },
2042
2045
  "from": {
2043
2046
  "type": "string",
@@ -2320,6 +2323,819 @@
2320
2323
  "description": "The filter query for retrieving logs. See **Performance Query Language** below."
2321
2324
  }
2322
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
+ }
2323
3139
  }
2324
3140
  }
2325
3141
  },
@@ -2818,6 +3634,15 @@
2818
3634
  },
2819
3635
  "deprecated": true
2820
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
+ },
2821
3646
  {
2822
3647
  "$ref": "#/components/parameters/Capabilities.Voice"
2823
3648
  },
@@ -2839,8 +3664,7 @@
2839
3664
  "required": false,
2840
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.",
2841
3666
  "schema": {
2842
- "type": "boolean",
2843
- "nullable": true
3667
+ "type": "boolean"
2844
3668
  }
2845
3669
  }
2846
3670
  ],
@@ -3066,6 +3890,21 @@
3066
3890
  "type": "string"
3067
3891
  }
3068
3892
  },
3893
+ {
3894
+ "name": "applicationId",
3895
+ "in": "query",
3896
+ "description": "Only show calls belonging to the given applicationId. This parameter can be repeated to return calls from multiple Applications.",
3897
+ "explode": true,
3898
+ "required": false,
3899
+ "schema": {
3900
+ "type": "array",
3901
+ "maxItems": 16,
3902
+ "items": {
3903
+ "type": "string",
3904
+ "pattern": "^AP[0-9a-fA-F]{40}$"
3905
+ }
3906
+ }
3907
+ },
3069
3908
  {
3070
3909
  "$ref": "#/components/parameters/AccountId"
3071
3910
  }
@@ -4216,6 +5055,340 @@
4216
5055
  },
4217
5056
  "deprecated": false
4218
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
+ }
4219
5392
  }
4220
5393
  },
4221
5394
  "x-headers": [],