freeclimb 4.3.0 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -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 +1277 -12
  32. data/spec/api/default_api_spec.rb +151 -1
  33. data/spec/models/account_request_spec.rb +143 -2
  34. data/spec/models/account_result_spec.rb +377 -13
  35. data/spec/models/account_status_spec.rb +39 -6
  36. data/spec/models/account_type_spec.rb +26 -4
  37. data/spec/models/add_to_conference_spec.rb +343 -10
  38. data/spec/models/answered_by_spec.rb +26 -4
  39. data/spec/models/application_list_spec.rb +293 -8
  40. data/spec/models/application_request_spec.rb +268 -7
  41. data/spec/models/application_result_spec.rb +418 -13
  42. data/spec/models/available_number_list_spec.rb +293 -8
  43. data/spec/models/available_number_spec.rb +263 -7
  44. data/spec/models/buy_incoming_number_request_spec.rb +168 -3
  45. data/spec/models/call_direction_spec.rb +39 -6
  46. data/spec/models/call_list_spec.rb +293 -8
  47. data/spec/models/call_result_spec.rb +603 -22
  48. data/spec/models/call_status_spec.rb +104 -16
  49. data/spec/models/capabilities_spec.rb +218 -5
  50. data/spec/models/conference_list_spec.rb +293 -8
  51. data/spec/models/conference_participant_list_spec.rb +293 -8
  52. data/spec/models/conference_participant_result_spec.rb +343 -10
  53. data/spec/models/conference_result_spec.rb +464 -16
  54. data/spec/models/conference_status_spec.rb +52 -8
  55. data/spec/models/create_conference_request_spec.rb +228 -6
  56. data/spec/models/create_conference_spec.rb +253 -7
  57. data/spec/models/enqueue_spec.rb +193 -4
  58. data/spec/models/filter_logs_request_spec.rb +118 -1
  59. data/spec/models/get_digits_spec.rb +318 -9
  60. data/spec/models/get_speech_reason_spec.rb +78 -12
  61. data/spec/models/get_speech_spec.rb +388 -14
  62. data/spec/models/grammar_file_built_in_spec.rb +195 -30
  63. data/spec/models/grammar_type_spec.rb +26 -4
  64. data/spec/models/hangup_spec.rb +118 -1
  65. data/spec/models/if_machine_spec.rb +26 -4
  66. data/spec/models/incoming_number_list_spec.rb +293 -8
  67. data/spec/models/incoming_number_request_spec.rb +173 -2
  68. data/spec/models/incoming_number_result_spec.rb +488 -16
  69. data/spec/models/language_spec.rb +338 -52
  70. data/spec/models/log_level_spec.rb +39 -6
  71. data/spec/models/log_list_spec.rb +293 -8
  72. data/spec/models/log_result_spec.rb +275 -8
  73. data/spec/models/machine_type_spec.rb +26 -4
  74. data/spec/models/make_call_request_spec.rb +343 -10
  75. data/spec/models/message_direction_spec.rb +26 -4
  76. data/spec/models/message_request_spec.rb +318 -9
  77. data/spec/models/message_result_spec.rb +431 -13
  78. data/spec/models/message_status_spec.rb +143 -22
  79. data/spec/models/messages_list_spec.rb +293 -8
  80. data/spec/models/mutable_resource_model_spec.rb +193 -4
  81. data/spec/models/out_dial_spec.rb +345 -11
  82. data/spec/models/pagination_model_spec.rb +268 -7
  83. data/spec/models/park_spec.rb +168 -3
  84. data/spec/models/pause_spec.rb +118 -1
  85. data/spec/models/percl_command_spec.rb +132 -3
  86. data/spec/models/percl_script_spec.rb +118 -1
  87. data/spec/models/play_beep_spec.rb +52 -8
  88. data/spec/models/play_early_media_spec.rb +118 -1
  89. data/spec/models/play_spec.rb +193 -4
  90. data/spec/models/queue_list_spec.rb +293 -8
  91. data/spec/models/queue_member_list_spec.rb +293 -8
  92. data/spec/models/queue_member_spec.rb +218 -5
  93. data/spec/models/queue_request_spec.rb +143 -2
  94. data/spec/models/queue_result_spec.rb +369 -11
  95. data/spec/models/queue_result_status_spec.rb +52 -8
  96. data/spec/models/record_utterance_spec.rb +268 -7
  97. data/spec/models/record_utterance_term_reason_spec.rb +52 -8
  98. data/spec/models/recording_list_spec.rb +293 -8
  99. data/spec/models/recording_result_spec.rb +318 -9
  100. data/spec/models/redirect_spec.rb +118 -1
  101. data/spec/models/reject_spec.rb +118 -1
  102. data/spec/models/remove_from_conference_spec.rb +118 -1
  103. data/spec/models/request_type_spec.rb +299 -46
  104. data/spec/models/say_spec.rb +218 -5
  105. data/spec/models/send_digits_spec.rb +168 -3
  106. data/spec/models/set_listen_spec.rb +143 -2
  107. data/spec/models/set_talk_spec.rb +143 -2
  108. data/spec/models/sms_spec.rb +193 -4
  109. data/spec/models/sms_ten_dlc_brand_spec.rb +1240 -0
  110. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +361 -0
  111. data/spec/models/sms_ten_dlc_campaign_spec.rb +1055 -0
  112. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +361 -0
  113. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +448 -0
  114. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +994 -0
  115. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +361 -0
  116. data/spec/models/terminate_conference_spec.rb +118 -1
  117. data/spec/models/update_call_request_spec.rb +120 -2
  118. data/spec/models/update_call_request_status_spec.rb +26 -4
  119. data/spec/models/update_conference_participant_request_spec.rb +143 -2
  120. data/spec/models/update_conference_request_spec.rb +180 -5
  121. data/spec/models/update_conference_request_status_spec.rb +26 -4
  122. metadata +102 -68
data/openapi.json CHANGED
@@ -85,6 +85,7 @@
85
85
  "type": "string",
86
86
  "enum": ["closed", "suspended", "active"],
87
87
  "x-enum-varnames": ["CLOSED", "SUSPENDED", "ACTIVE"],
88
+ "x-enum": true,
88
89
  "description": "The status of this account. It is one of: active, suspended, or closed.",
89
90
  "nullable": true
90
91
  },
@@ -92,6 +93,7 @@
92
93
  "type": "string",
93
94
  "description": "The type of this account. It is one of: trial or full.",
94
95
  "enum": ["trial", "full"],
96
+ "x-enum": true,
95
97
  "x-enum-varnames": ["TRIAL", "FULL"],
96
98
  "nullable": true
97
99
  },
@@ -100,6 +102,7 @@
100
102
  "nullable": true,
101
103
  "enum": ["human", "machine"],
102
104
  "x-enum-varnames": ["HUMAN", "MACHINE"],
105
+ "x-enum": true,
103
106
  "description": "If this Call was initiated with answering machine detection, either `human` or `machine`. Empty otherwise."
104
107
  },
105
108
  "CallDirection": {
@@ -107,6 +110,7 @@
107
110
  "nullable": true,
108
111
  "enum": ["inbound", "outboundAPI", "outboundDial"],
109
112
  "x-enum-varnames": ["INBOUND", "OUTBOUND_API", "OUTBOUND_DIAL"],
113
+ "x-enum": true,
110
114
  "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."
111
115
  },
112
116
  "CallStatus": {
@@ -132,6 +136,7 @@
132
136
  "BUSY",
133
137
  "NO_ANSWER"
134
138
  ],
139
+ "x-enum": true,
135
140
  "description": "* `queued` – Call is ready and waiting in line before going out. * `ringing` – Call is currently ringing. * `inProgress` – Call was answered and is currently in progress. * `canceled` – Call was hung up while it was queued or ringing. * `completed` – Call was answered and has ended normally. * `busy` – Caller received a busy signal. * `failed` – Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` – Call ended without being answered."
136
141
  },
137
142
  "ConferenceStatus": {
@@ -139,6 +144,7 @@
139
144
  "nullable": true,
140
145
  "enum": ["empty", "populated", "inProgress", "terminated"],
141
146
  "x-enum-varnames": ["EMPTY", "POPULATED", "IN_PROGRESS", "TERMINATED"],
147
+ "x-enum": true,
142
148
  "description": "The status of the Conference. One of: creating, empty, populated, inProgress, or terminated."
143
149
  },
144
150
  "GetSpeechReason": {
@@ -158,7 +164,9 @@
158
164
  "NO_INPUT",
159
165
  "NO_MATCH",
160
166
  "RECOGNITION"
161
- ]
167
+ ],
168
+ "x-enum": true
169
+
162
170
  },
163
171
  "GrammarFileBuiltIn": {
164
172
  "type": "string",
@@ -195,19 +203,22 @@
195
203
  "DIG11",
196
204
  "UP_TO_20_DIGIT_SEQUENCE",
197
205
  "VERSAY_YESNO"
198
- ]
206
+ ],
207
+ "x-enum": true
199
208
  },
200
209
  "GrammarType": {
201
210
  "type": "string",
202
211
  "enum": ["URL", "BUILTIN"],
203
212
  "nullable": true,
204
213
  "x-enum-varnames": ["URL", "BUILT_IN"],
214
+ "x-enum": true,
205
215
  "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."
206
216
  },
207
217
  "IfMachine": {
208
218
  "type": "string",
209
219
  "enum": ["redirect", "hangup"],
210
220
  "x-enum-varnames": ["REDIRECT", "HANGUP"],
221
+ "x-enum": true,
211
222
  "description": "Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked."
212
223
  },
213
224
  "Language": {
@@ -267,24 +278,28 @@
267
278
  "CHINESE_CN",
268
279
  "CHINESE_HK",
269
280
  "CHINESE_TW"
270
- ]
281
+ ],
282
+ "x-enum": true
271
283
  },
272
284
  "LogLevel": {
273
285
  "type": "string",
274
286
  "enum": ["info", "warning", "error"],
275
287
  "nullable": true,
276
288
  "x-enum-varnames": ["INFO", "WARNING", "ERROR"],
289
+ "x-enum": true,
277
290
  "description": "Level of the log. Possible values are info, warning, and error."
278
291
  },
279
292
  "MachineType": {
280
293
  "type": "string",
281
294
  "enum": ["answeringMachine", "faxMachine"],
282
- "x-enum-varnames": ["ANSWERING_MACHINE", "FAX_MACHINE"]
295
+ "x-enum-varnames": ["ANSWERING_MACHINE", "FAX_MACHINE"],
296
+ "x-enum": true
283
297
  },
284
298
  "MessageDirection": {
285
299
  "type": "string",
286
300
  "enum": ["inbound", "outbound"],
287
- "x-enum-varnames": ["INBOUND", "OUTBOUND"]
301
+ "x-enum-varnames": ["INBOUND", "OUTBOUND"],
302
+ "x-enum": true
288
303
  },
289
304
  "MessageStatus": {
290
305
  "type": "string",
@@ -315,13 +330,15 @@
315
330
  "EXPIRED",
316
331
  "DELETED",
317
332
  "UNKNOWN"
318
- ]
333
+ ],
334
+ "x-enum": true
319
335
  },
320
336
  "PlayBeep": {
321
337
  "type": "string",
322
338
  "nullable": true,
323
339
  "enum": ["always", "never", "entryOnly", "exitOnly"],
324
340
  "x-enum-varnames": ["ALWAYS", "NEVER", "ENTRY_ONLY", "EXIT_ONLY"],
341
+ "x-enum": true,
325
342
  "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` ",
326
343
  "default": "always",
327
344
  "x-enum-default-attr": "ALWAYS"
@@ -329,12 +346,14 @@
329
346
  "QueueResultStatus": {
330
347
  "type": "string",
331
348
  "enum": ["queueFull", "dequeued", "hangup", "systemError"],
332
- "x-enum-varnames": ["QUEUE_FULL", "DEQUEUED", "HANGUP", "SYSTEM_ERROR"]
349
+ "x-enum-varnames": ["QUEUE_FULL", "DEQUEUED", "HANGUP", "SYSTEM_ERROR"],
350
+ "x-enum": true
333
351
  },
334
352
  "RecordUtteranceTermReason": {
335
353
  "type": "string",
336
354
  "enum": ["finishKey", "timeout", "hangup", "maxLength"],
337
- "x-enum-varnames": ["FINISH_KEY", "TIMEOUT", "HANGUP", "MAX_LENGTH"]
355
+ "x-enum-varnames": ["FINISH_KEY", "TIMEOUT", "HANGUP", "MAX_LENGTH"],
356
+ "x-enum": true
338
357
  },
339
358
  "RequestType": {
340
359
  "type": "string",
@@ -387,18 +406,21 @@
387
406
  "CONFERENCE_CALL_CONTROL",
388
407
  "MESSAGE_DELIVERY",
389
408
  "MESSAGE_STATUS"
390
- ]
409
+ ],
410
+ "x-enum": true
391
411
  },
392
412
  "UpdateCallRequestStatus": {
393
413
  "type": "string",
394
414
  "enum": ["canceled", "completed"],
395
415
  "x-enum-varnames": ["CANCELED", "COMPLETED"],
416
+ "x-enum": true,
396
417
  "description": "Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress."
397
418
  },
398
419
  "UpdateConferenceRequestStatus": {
399
420
  "type": "string",
400
421
  "enum": ["empty", "terminated"],
401
422
  "x-enum-varnames": ["EMPTY", "TERMINATED"],
423
+ "x-enum": true,
402
424
  "description": "New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.**"
403
425
  },
404
426
  "PerclScript": {
@@ -551,6 +573,7 @@
551
573
  "Dequeue": {
552
574
  "description": "The `Dequeue` command transfers control of a Call that is in a Queue so that the waiting caller exits the Queue. Execution continues with the first command in the PerCL script returned by the `actionUrl` specified in the `Enqueue` command.",
553
575
  "x-percl-command": true,
576
+ "x-no-properties": true,
554
577
  "allOf": [
555
578
  {
556
579
  "$ref": "#/components/schemas/PerclCommand"
@@ -1130,6 +1153,7 @@
1130
1153
  "StartRecordCall": {
1131
1154
  "description": "The `StartRecordCall` command records the current call and returns the URL of a file containing the audio recording when recording completes. `StartRecordCall` is non-blocking. After recording of the current call begins, control of the call moves to the PerCL command that follows `StartRecordCall` in the current PerCL script.",
1132
1155
  "x-percl-command": true,
1156
+ "x-no-properties": true,
1133
1157
  "allOf": [
1134
1158
  {
1135
1159
  "$ref": "#/components/schemas/PerclCommand"
@@ -1161,6 +1185,7 @@
1161
1185
  "Unpark": {
1162
1186
  "description": "The `Unpark` command resumes a parked call. Execution continues with the first command in the PerCL scripted returned by the actionUrl specified in the Park command as long as the call is still in progress. If the call is no longer in progress, any returned PerCL will not be executed. Unpark is a terminal command -- any commands following it in the same script are not executed.",
1163
1187
  "x-percl-command": true,
1188
+ "x-no-properties": true,
1164
1189
  "allOf": [
1165
1190
  {
1166
1191
  "$ref": "#/components/schemas/PerclCommand"
@@ -1235,6 +1260,7 @@
1235
1260
  "description": "Details for which features this number may be used.",
1236
1261
  "type": "object",
1237
1262
  "required": ["voice", "sms", "tollFree", "tenDLC", "shortCode"],
1263
+ "x-is-object": true,
1238
1264
  "properties": {
1239
1265
  "voice": {
1240
1266
  "description": "Indicates whether a number can be used for voice calls. Replaces voiceEnabled.",
@@ -1502,7 +1528,7 @@
1502
1528
  "type": "object",
1503
1529
  "properties": {
1504
1530
  "capabilities": {
1505
- "$ref": "#/components/schemas/Capabilities"
1531
+ "$ref": "#/components/schemas/Capabilities"
1506
1532
  },
1507
1533
  "campaignId": {
1508
1534
  "type": "string",
@@ -1575,6 +1601,11 @@
1575
1601
  "alias": {
1576
1602
  "type": "string",
1577
1603
  "description": "Description for this phone number."
1604
+ },
1605
+ "campaignId": {
1606
+ "type": "string",
1607
+ "description": "The campaign ID generated by the campaign registry",
1608
+ "nullable": true
1578
1609
  }
1579
1610
  }
1580
1611
  },
@@ -2318,6 +2349,898 @@
2318
2349
  "description": "The filter query for retrieving logs. See **Performance Query Language** below."
2319
2350
  }
2320
2351
  }
2352
+ },
2353
+ "SMSTenDLCCampaignsListResult": {
2354
+ "allOf": [
2355
+ {
2356
+ "$ref": "#/components/schemas/PaginationModel"
2357
+ },
2358
+ {
2359
+ "type": "object",
2360
+ "properties": {
2361
+ "campaigns": {
2362
+ "type": "array",
2363
+ "items": {
2364
+ "$ref": "#/components/schemas/SMSTenDLCCampaign"
2365
+ },
2366
+ "nullable": true
2367
+ }
2368
+ }
2369
+ }
2370
+ ]
2371
+ },
2372
+ "SMSTenDLCCampaign": {
2373
+ "required": [
2374
+ "brandId",
2375
+ "campaignId",
2376
+ "cspId",
2377
+ "description",
2378
+ "mock",
2379
+ "subUsecases",
2380
+ "usecase"
2381
+ ],
2382
+ "type": "object",
2383
+ "properties": {
2384
+ "accountId": {
2385
+ "type": "string",
2386
+ "description": "ID of the account that created this Queue.",
2387
+ "nullable": true
2388
+ },
2389
+ "campaignId": {
2390
+ "type": "string",
2391
+ "description": "Alphanumeric identifier assigned by the registry for a campaign. This identifier is required by the NetNumber OSR SMS enabling process of 10DLC."
2392
+ },
2393
+ "cspId": {
2394
+ "type": "string",
2395
+ "description": "Alphanumeric identifier of the CSP associated with this campaign."
2396
+ },
2397
+ "resellerId": {
2398
+ "maxLength": 8,
2399
+ "x-max-length-8": true,
2400
+ "type": "string",
2401
+ "nullable": true,
2402
+ "description": "Alphanumeric identifier of the reseller that you want to associate with this campaign."
2403
+ },
2404
+ "status": {
2405
+ "type": "string",
2406
+ "x-has-writer": true,
2407
+ "description": "Current campaign status. Possible values: ACTIVE, EXPIRED. A newly created campaign defaults to ACTIVE status. ",
2408
+ "enum": [
2409
+ "ACTIVE",
2410
+ "EXPIRED"
2411
+ ],
2412
+ "x-enum-varnames": ["ACTIVE", "EXPIRED"]
2413
+ },
2414
+ "createDate": {
2415
+ "type": "string",
2416
+ "description": "Unix timestamp when campaign was created.",
2417
+ "format": "date-time",
2418
+ "x-is-date-time": true
2419
+ },
2420
+ "autoRenewal": {
2421
+ "type": "boolean",
2422
+ "description": "Campaign subscription auto-renewal status."
2423
+ },
2424
+ "billedDate": {
2425
+ "type": "string",
2426
+ "description": "Campaign recent billed date.",
2427
+ "format": "date-time",
2428
+ "x-is-date-time": true,
2429
+ "nullable": true
2430
+ },
2431
+ "brandId": {
2432
+ "maxLength": 8,
2433
+ "x-max-length-8": true,
2434
+ "type": "string",
2435
+ "description": "Alphanumeric identifier of the brand associated with this campaign."
2436
+ },
2437
+ "usecase": {
2438
+ "maxLength": 20,
2439
+ "type": "string",
2440
+ "description": "Campaign usecase. Must be of defined valid types. Use `/registry/enum/usecase` operation to retrieve usecases available for given brand."
2441
+ },
2442
+ "subUsecases": {
2443
+ "uniqueItems": true,
2444
+ "type": "array",
2445
+ "description": "Campaign sub-usecases. Must be of defined valid sub-usecase types. Use `/registry/enum/usecase` operation to retrieve list of valid sub-usecases",
2446
+ "items": {
2447
+ "type": "string",
2448
+ "description": "Campaign sub-usecases. Must be of defined valid sub-usecase types. Use `/registry/enum/usecase` operation to retrieve list of valid sub-usecases"
2449
+ }
2450
+ },
2451
+ "description": {
2452
+ "maxLength": 4096,
2453
+ "type": "string",
2454
+ "description": "Summary description of this campaign."
2455
+ },
2456
+ "embeddedLink": {
2457
+ "type": "boolean",
2458
+ "description": "Does message generated by the campaign include URL link in SMS?",
2459
+ "default": false
2460
+ },
2461
+ "embeddedPhone": {
2462
+ "type": "boolean",
2463
+ "description": "Does message generated by the campaign include phone number in SMS?",
2464
+ "default": false
2465
+ },
2466
+ "affiliateMarketing": {
2467
+ "type": "boolean",
2468
+ "description": "Does message content controlled by affiliate marketing other than the brand?"
2469
+ },
2470
+ "numberPool": {
2471
+ "type": "boolean",
2472
+ "description": "Does campaign utilize pool of phone nubers?",
2473
+ "default": false
2474
+ },
2475
+ "ageGated": {
2476
+ "type": "boolean",
2477
+ "description": "Age gated content in campaign."
2478
+ },
2479
+ "directLending": {
2480
+ "type": "boolean"
2481
+ },
2482
+ "subscriberOptin": {
2483
+ "type": "boolean",
2484
+ "description": "Does campaign require subscriber to opt-in before SMS is sent to subscriber?",
2485
+ "default": false
2486
+ },
2487
+ "subscriberOptout": {
2488
+ "type": "boolean",
2489
+ "description": "Does campaign support subscriber opt-out keyword(s)?",
2490
+ "default": false
2491
+ },
2492
+ "subscriberHelp": {
2493
+ "type": "boolean",
2494
+ "description": "Does campaign responds to help keyword(s)?",
2495
+ "default": false
2496
+ },
2497
+ "sample1": {
2498
+ "maxLength": 1024,
2499
+ "type": "string",
2500
+ "description": "Message sample. Some campaign tiers require 1 or more message samples."
2501
+ },
2502
+ "sample2": {
2503
+ "maxLength": 1024,
2504
+ "type": "string",
2505
+ "nullable": true,
2506
+ "description": "Message sample. Some campaign tiers require 2 or more message samples."
2507
+ },
2508
+ "sample3": {
2509
+ "maxLength": 1024,
2510
+ "type": "string",
2511
+ "nullable": true,
2512
+ "description": "Message sample. Some campaign tiers require 3 or more message samples."
2513
+ },
2514
+ "sample4": {
2515
+ "maxLength": 1024,
2516
+ "type": "string",
2517
+ "nullable": true,
2518
+ "description": "Message sample. Some campaign tiers require 4 or more message samples."
2519
+ },
2520
+ "sample5": {
2521
+ "maxLength": 1024,
2522
+ "type": "string",
2523
+ "nullable": true,
2524
+ "description": "Message sample. Some campaign tiers require 5 or more message samples."
2525
+ },
2526
+ "messageFlow": {
2527
+ "maxLength": 2048,
2528
+ "type": "string",
2529
+ "nullable": true,
2530
+ "description": "Message flow description."
2531
+ },
2532
+ "helpMessage": {
2533
+ "maxLength": 255,
2534
+ "type": "string",
2535
+ "nullable": true,
2536
+ "description": "Help message of the campaign."
2537
+ },
2538
+ "referenceId": {
2539
+ "maxLength": 50,
2540
+ "type": "string",
2541
+ "nullable": true,
2542
+ "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."
2543
+ },
2544
+ "mock": {
2545
+ "type": "boolean",
2546
+ "description": "Campaign created from mock brand. Mocked campaign cannot be shared with an upstream CNP."
2547
+ },
2548
+ "nextRenewalOrExpirationDate": {
2549
+ "type": "string",
2550
+ "nullable": true,
2551
+ "description": "When the campaign would be due for its next renew/bill date.",
2552
+ "format": "date",
2553
+ "x-is-date": true,
2554
+ "example": "2000-01-01"
2555
+ }
2556
+ }
2557
+ ,
2558
+ "example": {
2559
+ "campaignId": "CX56XX4",
2560
+ "accountId": "ACe39970fb7c31c747c67148900b4d9da60a41e532",
2561
+ "cspId": "SX56XX4",
2562
+ "brandId": "BX56XX4",
2563
+ "usecase": "2FA",
2564
+ "description": "mock campaign.",
2565
+ "subUsecases": [],
2566
+ "resellerId": null,
2567
+ "sample1": "Your verification code from FreeClimb is 000000. It expires in 10 minutes.",
2568
+ "sample2": null,
2569
+ "sample3": null,
2570
+ "sample4": null,
2571
+ "sample5": null,
2572
+ "messageFlow": null,
2573
+ "helpMessage": null,
2574
+ "referenceId": null,
2575
+ "status": "EXPIRED",
2576
+ "mock": true,
2577
+ "autoRenewal": false,
2578
+ "embeddedLink": false,
2579
+ "embeddedPhone": false,
2580
+ "affiliateMarketing": false,
2581
+ "numberPool": false,
2582
+ "ageGated": false,
2583
+ "directLending": false,
2584
+ "subscriberOptin": true,
2585
+ "subscriberOptout": false,
2586
+ "subscriberHelp": true,
2587
+ "createDate": "2022-07-05T15:17:05Z",
2588
+ "billedDate": "2022-07-05T00:00:00Z",
2589
+ "nextRenewalOrExpirationDate": null
2590
+ }
2591
+ },
2592
+ "SMSTenDLCPartnerCampaignsListResult": {
2593
+ "allOf": [
2594
+ {
2595
+ "$ref": "#/components/schemas/PaginationModel"
2596
+ },
2597
+ {
2598
+ "type": "object",
2599
+ "properties": {
2600
+ "partnerCampaigns": {
2601
+ "type": "array",
2602
+ "items": {
2603
+ "$ref": "#/components/schemas/SMSTenDLCPartnerCampaign"
2604
+ },
2605
+ "nullable": true
2606
+ }
2607
+ }
2608
+ }
2609
+ ]
2610
+ },
2611
+ "SMSTenDLCPartnerCampaign": {
2612
+ "required": [
2613
+ "brandId",
2614
+ "campaignId",
2615
+ "description",
2616
+ "usecase"
2617
+ ],
2618
+ "type": "object",
2619
+ "properties": {
2620
+ "accountId": {
2621
+ "type": "string",
2622
+ "description": "ID of the account that created this Queue.",
2623
+ "nullable": true
2624
+ },
2625
+ "campaignId": {
2626
+ "type": "string",
2627
+ "description": "Alphanumeric identifier assigned by the registry for a campaign. This identifier is required by the NetNumber OSR SMS enabling process of 10DLC."
2628
+ },
2629
+ "status": {
2630
+ "type": "string",
2631
+ "x-has-writer": true,
2632
+ "description": "Current campaign status. Possible values: ACTIVE, EXPIRED. A newly created campaign defaults to ACTIVE status. ",
2633
+ "enum": [
2634
+ "ACTIVE",
2635
+ "EXPIRED"
2636
+ ],
2637
+ "x-enum-varnames": ["ACTIVE", "EXPIRED"]
2638
+ },
2639
+ "createDate": {
2640
+ "type": "string",
2641
+ "description": "Unix timestamp when campaign was created.",
2642
+ "format": "date-time",
2643
+ "x-is-date-time": true
2644
+ },
2645
+ "brandId": {
2646
+ "maxLength": 8,
2647
+ "x-max-length-8": true,
2648
+ "type": "string",
2649
+ "description": "Alphanumeric identifier of the brand associated with this campaign."
2650
+ },
2651
+ "usecase": {
2652
+ "maxLength": 20,
2653
+ "type": "string",
2654
+ "description": "Campaign usecase. Must be of defined valid types. Use `/registry/enum/usecase` operation to retrieve usecases available for given brand."
2655
+ },
2656
+ "description": {
2657
+ "maxLength": 4096,
2658
+ "type": "string",
2659
+ "description": "Summary description of this campaign."
2660
+ },
2661
+ "embeddedLink": {
2662
+ "type": "boolean",
2663
+ "description": "Does message generated by the campaign include URL link in SMS?",
2664
+ "default": false
2665
+ },
2666
+ "embeddedPhone": {
2667
+ "type": "boolean",
2668
+ "description": "Does message generated by the campaign include phone number in SMS?",
2669
+ "default": false
2670
+ },
2671
+ "affiliateMarketing": {
2672
+ "type": "boolean",
2673
+ "description": "Does message content controlled by affiliate marketing other than the brand?"
2674
+ },
2675
+ "numberPool": {
2676
+ "type": "boolean",
2677
+ "description": "Does campaign utilize pool of phone nubers?",
2678
+ "default": false
2679
+ },
2680
+ "ageGated": {
2681
+ "type": "boolean",
2682
+ "description": "Age gated content in campaign."
2683
+ },
2684
+ "directLending": {
2685
+ "type": "boolean"
2686
+ },
2687
+ "subscriberOptin": {
2688
+ "type": "boolean",
2689
+ "description": "Does campaign require subscriber to opt-in before SMS is sent to subscriber?",
2690
+ "default": false
2691
+ },
2692
+ "subscriberOptout": {
2693
+ "type": "boolean",
2694
+ "description": "Does campaign support subscriber opt-out keyword(s)?",
2695
+ "default": false
2696
+ },
2697
+ "subscriberHelp": {
2698
+ "type": "boolean",
2699
+ "description": "Does campaign responds to help keyword(s)?",
2700
+ "default": false
2701
+ },
2702
+ "sample1": {
2703
+ "maxLength": 1024,
2704
+ "type": "string",
2705
+ "description": "Message sample. Some campaign tiers require 1 or more message samples."
2706
+ },
2707
+ "sample2": {
2708
+ "maxLength": 1024,
2709
+ "type": "string",
2710
+ "nullable": true,
2711
+ "description": "Message sample. Some campaign tiers require 2 or more message samples."
2712
+ },
2713
+ "sample3": {
2714
+ "maxLength": 1024,
2715
+ "type": "string",
2716
+ "nullable": true,
2717
+ "description": "Message sample. Some campaign tiers require 3 or more message samples."
2718
+ },
2719
+ "sample4": {
2720
+ "maxLength": 1024,
2721
+ "type": "string",
2722
+ "nullable": true,
2723
+ "description": "Message sample. Some campaign tiers require 4 or more message samples."
2724
+ },
2725
+ "sample5": {
2726
+ "maxLength": 1024,
2727
+ "type": "string",
2728
+ "nullable": true,
2729
+ "description": "Message sample. Some campaign tiers require 5 or more message samples."
2730
+ },
2731
+ "messageFlow": {
2732
+ "maxLength": 2048,
2733
+ "type": "string",
2734
+ "nullable": true,
2735
+ "description": "Message flow description."
2736
+ },
2737
+ "helpMessage": {
2738
+ "maxLength": 255,
2739
+ "type": "string",
2740
+ "nullable": true,
2741
+ "description": "Help message of the campaign."
2742
+ },
2743
+ "optinKeywords": {
2744
+ "maxLength": 255,
2745
+ "type": "string",
2746
+ "description": "Subscriber opt-in keywords. Multiple keywords are comma separated without space."
2747
+ },
2748
+ "optoutKeywords": {
2749
+ "maxLength": 255,
2750
+ "type": "string",
2751
+ "description": "Subscriber opt-out keywords. Multiple keywords are comma separated without space."
2752
+ },
2753
+ "helpKeywords": {
2754
+ "maxLength": 255,
2755
+ "type": "string",
2756
+ "description": "Subscriber help keywords. Multiple keywords are comma separated without space."
2757
+ },
2758
+ "optinMessage": {
2759
+ "maxLength": 255,
2760
+ "type": "string",
2761
+ "description": "Subscriber opt-in message."
2762
+ },
2763
+ "optoutMessage": {
2764
+ "maxLength": 255,
2765
+ "type": "string",
2766
+ "description": "Subscriber opt-out message."
2767
+ },
2768
+ "brand": {
2769
+ "$ref": "#/components/schemas/SMSTenDLCPartnerCampaignBrand",
2770
+ "x-partner-campaign-brand": true
2771
+ }
2772
+ },
2773
+ "example": {
2774
+ "campaignId": "CX56XX4",
2775
+ "accountId": "ACe39970fb7c31c747c67148900b4d9da60a41e532",
2776
+ "brandId": "BX56XX4",
2777
+ "usecase": "2FA",
2778
+ "description": "mock campaign.",
2779
+ "sample1": "Your verification code from FreeClimb is 000000. It expires in 10 minutes.",
2780
+ "sample2": null,
2781
+ "sample3": null,
2782
+ "sample4": null,
2783
+ "sample5": null,
2784
+ "messageFlow": null,
2785
+ "helpMessage": null,
2786
+ "status": "EXPIRED",
2787
+ "embeddedLink": false,
2788
+ "embeddedPhone": false,
2789
+ "affiliateMarketing": false,
2790
+ "numberPool": false,
2791
+ "ageGated": false,
2792
+ "directLending": false,
2793
+ "subscriberOptin": true,
2794
+ "subscriberOptout": false,
2795
+ "subscriberHelp": true,
2796
+ "createDate": "2022-07-05T15:17:05Z",
2797
+ "optinKeywords": "START",
2798
+ "optoutKeywords": "STOP",
2799
+ "helpKeywords": "HELP",
2800
+ "optinMessage": "",
2801
+ "optoutMessage": "",
2802
+ "brand": {
2803
+ "optionalAttributes": {},
2804
+ "brandId": "BVCEBIJ",
2805
+ "firstName": "",
2806
+ "lastName": "",
2807
+ "displayName": "FreeClimb LLC(mock)",
2808
+ "companyName": "FreeClimb LLC",
2809
+ "phone": "+18475722071",
2810
+ "email": "bmabry@vailsys.com",
2811
+ "website": "https://www.freeclimb.com/",
2812
+ "evpVettingScore": 22
2813
+ }
2814
+ }
2815
+ },
2816
+ "SMSTenDLCPartnerCampaignBrand":{
2817
+ "required": [
2818
+ "email",
2819
+ "phone"
2820
+ ],
2821
+ "type": "object",
2822
+ "x-is-object": true,
2823
+ "properties": {
2824
+ "accountId": {
2825
+ "type": "string",
2826
+ "description": "ID of the account that created this Queue.",
2827
+ "nullable": true
2828
+ },
2829
+ "brandId": {
2830
+ "type": "string",
2831
+ "description": "Unique identifier assigned to the brand by the registry.",
2832
+ "readOnly": true
2833
+ },
2834
+ "firstName": {
2835
+ "maxLength": 100,
2836
+ "type": "string",
2837
+ "description": "First or given name. ",
2838
+ "example": "John"
2839
+ },
2840
+ "lastName": {
2841
+ "maxLength": 100,
2842
+ "type": "string",
2843
+ "description": "Last or Surname.",
2844
+ "example": "Doe"
2845
+ },
2846
+ "displayName": {
2847
+ "maxLength": 255,
2848
+ "type": "string",
2849
+ "description": "Display or marketing name of the brand.",
2850
+ "example": "ABC Mobile"
2851
+ },
2852
+ "companyName": {
2853
+ "maxLength": 255,
2854
+ "type": "string",
2855
+ "description": "(Required for Non-profit/private/public) Legal company name.",
2856
+ "example": "ABC Inc."
2857
+ },
2858
+ "phone": {
2859
+ "maxLength": 20,
2860
+ "type": "string",
2861
+ "description": "Valid phone number in e.164 international format.",
2862
+ "example": "+12024567890"
2863
+ },
2864
+ "email": {
2865
+ "maxLength": 100,
2866
+ "type": "string",
2867
+ "description": "Valid email address of brand support contact."
2868
+ },
2869
+ "website": {
2870
+ "maxLength": 100,
2871
+ "type": "string",
2872
+ "description": "Brand website URL.",
2873
+ "example": "http://www.abcmobile.com"
2874
+ },
2875
+ "optionalAttributes": {
2876
+ "type": "object",
2877
+ "x-is-hash": true,
2878
+ "additionalProperties": {
2879
+ "type": "object",
2880
+ "description": "Optional brand attributes. Please refer to GET /enum/optionalAttributeNames for dictionary of optional attribute names."
2881
+ },
2882
+ "description": "Optional brand attributes. Please refer to GET /enum/optionalAttributeNames for dictionary of optional attribute names."
2883
+ },
2884
+ "evpVettingScore": {
2885
+ "type": "integer",
2886
+ "description": "External vetting score."
2887
+ }
2888
+ }
2889
+ },
2890
+ "SMSTenDLCBrandsListResult": {
2891
+ "allOf": [
2892
+ {
2893
+ "$ref": "#/components/schemas/PaginationModel"
2894
+ },
2895
+ {
2896
+ "type": "object",
2897
+ "properties": {
2898
+ "brands": {
2899
+ "type": "array",
2900
+ "items": {
2901
+ "$ref": "#/components/schemas/SMSTenDLCBrand"
2902
+ },
2903
+ "nullable": true
2904
+ }
2905
+ }
2906
+ }
2907
+ ]
2908
+ },
2909
+ "SMSTenDLCBrand":{
2910
+ "required": [
2911
+ "brandRelationship",
2912
+ "country",
2913
+ "displayName",
2914
+ "email",
2915
+ "entityType",
2916
+ "identityStatus",
2917
+ "mock",
2918
+ "phone",
2919
+ "vertical"
2920
+ ],
2921
+ "type": "object",
2922
+ "properties": {
2923
+ "accountId": {
2924
+ "type": "string",
2925
+ "description": "ID of the account that created this Queue.",
2926
+ "nullable": true
2927
+ },
2928
+ "entityType": {
2929
+ "maxLength": 20,
2930
+ "type": "string",
2931
+ "x-has-writer": true,
2932
+ "description": "Entity type behind the brand. This is the form of business establishment.",
2933
+ "enum": [
2934
+ "PRIVATE_PROFIT",
2935
+ "PUBLIC_PROFIT",
2936
+ "NON_PROFIT",
2937
+ "GOVERNMENT",
2938
+ "SOLE_PROPRIETOR"
2939
+ ],
2940
+ "x-enum-varnames": ["PRIVATE_PROFIT",
2941
+ "PUBLIC_PROFIT",
2942
+ "NON_PROFIT",
2943
+ "GOVERNMENT",
2944
+ "SOLE_PROPRIETOR"
2945
+ ]
2946
+ },
2947
+ "cspId": {
2948
+ "type": "string",
2949
+ "description": "Unique identifier assigned to the csp by the registry.",
2950
+ "readOnly": true
2951
+ },
2952
+ "brandId": {
2953
+ "type": "string",
2954
+ "description": "Unique identifier assigned to the brand by the registry.",
2955
+ "readOnly": true
2956
+ },
2957
+ "firstName": {
2958
+ "maxLength": 100,
2959
+ "type": "string",
2960
+ "description": "First or given name. ",
2961
+ "example": "John"
2962
+ },
2963
+ "lastName": {
2964
+ "maxLength": 100,
2965
+ "type": "string",
2966
+ "description": "Last or Surname.",
2967
+ "example": "Doe"
2968
+ },
2969
+ "displayName": {
2970
+ "maxLength": 255,
2971
+ "type": "string",
2972
+ "description": "Display or marketing name of the brand.",
2973
+ "example": "ABC Mobile"
2974
+ },
2975
+ "companyName": {
2976
+ "maxLength": 255,
2977
+ "type": "string",
2978
+ "description": "(Required for Non-profit/private/public) Legal company name.",
2979
+ "example": "ABC Inc."
2980
+ },
2981
+ "ein": {
2982
+ "maxLength": 21,
2983
+ "type": "string",
2984
+ "description": "(Required for Non-profit) Government assigned corporate tax ID. EIN is 9-digits in U.S.",
2985
+ "example": "111111111"
2986
+ },
2987
+ "einIssuingCountry": {
2988
+ "maxLength": 2,
2989
+ "type": "string",
2990
+ "description": "ISO2 2 characters country code. Example: US - United States",
2991
+ "example": "US",
2992
+ "x-max-length-2": true
2993
+ },
2994
+ "phone": {
2995
+ "maxLength": 20,
2996
+ "type": "string",
2997
+ "description": "Valid phone number in e.164 international format.",
2998
+ "example": "+12024567890"
2999
+ },
3000
+ "street": {
3001
+ "maxLength": 100,
3002
+ "type": "string",
3003
+ "description": "Street number and name.",
3004
+ "example": "123 6th Ave"
3005
+ },
3006
+ "city": {
3007
+ "maxLength": 100,
3008
+ "type": "string",
3009
+ "description": "City name",
3010
+ "example": "New York"
3011
+ },
3012
+ "state": {
3013
+ "maxLength": 20,
3014
+ "type": "string",
3015
+ "description": "State. Must be 2 letters code for United States.",
3016
+ "example": "NY"
3017
+ },
3018
+ "postalCode": {
3019
+ "maxLength": 10,
3020
+ "x-max-length-10": true,
3021
+ "type": "string",
3022
+ "description": "Postal codes. Use 5 digit zipcode for United States",
3023
+ "example": "10001"
3024
+ },
3025
+ "country": {
3026
+ "maxLength": 2,
3027
+ "x-max-length-2": true,
3028
+ "type": "string",
3029
+ "description": "ISO2 2 characters country code. Example: US - United States",
3030
+ "example": "US"
3031
+ },
3032
+ "email": {
3033
+ "maxLength": 100,
3034
+ "type": "string",
3035
+ "description": "Valid email address of brand support contact."
3036
+ },
3037
+ "stockSymbol": {
3038
+ "maxLength": 10,
3039
+ "x-max-length-10": true,
3040
+ "type": "string",
3041
+ "description": "(Required for public company) stock symbol.",
3042
+ "example": "ABC"
3043
+ },
3044
+ "stockExchange": {
3045
+ "type": "string",
3046
+ "x-has-writer": true,
3047
+ "description": "(Required for public company) stock exchange.",
3048
+ "example": "NASDAQ",
3049
+ "enum": [
3050
+ "NONE",
3051
+ "NASDAQ",
3052
+ "NYSE",
3053
+ "AMEX",
3054
+ "AMX",
3055
+ "ASX",
3056
+ "B3",
3057
+ "BME",
3058
+ "BSE",
3059
+ "FRA",
3060
+ "ICEX",
3061
+ "JPX",
3062
+ "JSE",
3063
+ "KRX",
3064
+ "LON",
3065
+ "NSE",
3066
+ "OMX",
3067
+ "SEHK",
3068
+ "SGX",
3069
+ "SSE",
3070
+ "STO",
3071
+ "SWX",
3072
+ "SZSE",
3073
+ "TSX",
3074
+ "TWSE",
3075
+ "VSE",
3076
+ "OTHER"
3077
+ ],
3078
+ "x-enum-varnames": [
3079
+ "NONE",
3080
+ "NASDAQ",
3081
+ "NYSE",
3082
+ "AMEX",
3083
+ "AMX",
3084
+ "ASX",
3085
+ "B3",
3086
+ "BME",
3087
+ "BSE",
3088
+ "FRA",
3089
+ "ICEX",
3090
+ "JPX",
3091
+ "JSE",
3092
+ "KRX",
3093
+ "LON",
3094
+ "NSE",
3095
+ "OMX",
3096
+ "SEHK",
3097
+ "SGX",
3098
+ "SSE",
3099
+ "STO",
3100
+ "SWX",
3101
+ "SZSE",
3102
+ "TSX",
3103
+ "TWSE",
3104
+ "VSE",
3105
+ "OTHER"
3106
+ ]
3107
+ },
3108
+ "ipAddress": {
3109
+ "maxLength": 50,
3110
+ "type": "string",
3111
+ "description": "IP address of the browser requesting to create brand identity."
3112
+ },
3113
+ "website": {
3114
+ "maxLength": 100,
3115
+ "type": "string",
3116
+ "description": "Brand website URL.",
3117
+ "example": "http://www.abcmobile.com"
3118
+ },
3119
+ "brandRelationship": {
3120
+ "type": "string",
3121
+ "x-has-writer": true,
3122
+ "description": "Brand relationship to the CSP",
3123
+ "enum": [
3124
+ "BASIC_ACCOUNT",
3125
+ "SMALL_ACCOUNT",
3126
+ "MEDIUM_ACCOUNT",
3127
+ "LARGE_ACCOUNT",
3128
+ "KEY_ACCOUNT"
3129
+ ],
3130
+ "x-enum-varnames": [
3131
+ "BASIC_ACCOUNT",
3132
+ "SMALL_ACCOUNT",
3133
+ "MEDIUM_ACCOUNT",
3134
+ "LARGE_ACCOUNT",
3135
+ "KEY_ACCOUNT"
3136
+ ]
3137
+ },
3138
+ "vertical": {
3139
+ "maxLength": 50,
3140
+ "type": "string",
3141
+ "description": "Vertical or industry segment of the brand."
3142
+ },
3143
+ "altBusinessId": {
3144
+ "maxLength": 50,
3145
+ "type": "string",
3146
+ "description": "Alternate business identifier such as DUNS, LEI, or GIIN"
3147
+ },
3148
+ "altBusinessIdType": {
3149
+ "type": "string",
3150
+ "x-has-writer": true,
3151
+ "enum": [
3152
+ "NONE",
3153
+ "DUNS",
3154
+ "GIIN",
3155
+ "LEI"
3156
+ ],
3157
+ "x-enum-varnames": [
3158
+ "NONE",
3159
+ "DUNS",
3160
+ "GIIN",
3161
+ "LEI"
3162
+ ],
3163
+ "description": "The type of the Alternative business identifier"
3164
+ },
3165
+ "universalEin": {
3166
+ "type": "string",
3167
+ "description": "Universal EIN of Brand, Read Only.",
3168
+ "readOnly": true
3169
+ },
3170
+ "referenceId": {
3171
+ "maxLength": 50,
3172
+ "type": "string",
3173
+ "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."
3174
+ },
3175
+ "optionalAttributes": {
3176
+ "type": "object",
3177
+ "x-is-hash": true,
3178
+ "additionalProperties": {
3179
+ "type": "object",
3180
+ "description": "Optional brand attributes. Please refer to GET /enum/optionalAttributeNames for dictionary of optional attribute names."
3181
+ },
3182
+ "description": "Optional brand attributes. Please refer to GET /enum/optionalAttributeNames for dictionary of optional attribute names."
3183
+ },
3184
+ "mock": {
3185
+ "type": "boolean",
3186
+ "description": "Test brand."
3187
+ },
3188
+ "identityStatus": {
3189
+ "type": "string",
3190
+ "x-has-writer": true,
3191
+ "description": "TCR assessment of the brand identification status.",
3192
+ "enum": [
3193
+ "SELF_DECLARED",
3194
+ "UNVERIFIED",
3195
+ "VERIFIED",
3196
+ "VETTED_VERIFIED"
3197
+ ],
3198
+ "x-enum-varnames": [
3199
+ "SELF_DECLARED",
3200
+ "UNVERIFIED",
3201
+ "VERIFIED",
3202
+ "VETTED_VERIFIED"
3203
+ ]
3204
+ },
3205
+ "createDate": {
3206
+ "type": "string",
3207
+ "description": "Unix timestamp when brand was created.",
3208
+ "format": "date-time",
3209
+ "x-is-date-time": true
3210
+ }
3211
+ },
3212
+ "description": "A brand is a business identity behind the campaign.",
3213
+ "example": {
3214
+ "mock": true,
3215
+ "optionalAttributes": {},
3216
+ "accountId": "AC1234512345123451234512345123451234512345",
3217
+ "brandId": "BVCEBIJ",
3218
+ "cspId": "SKGC6G0",
3219
+ "firstName": "",
3220
+ "lastName": "",
3221
+ "displayName": "FreeClimb LLC(mock)",
3222
+ "companyName": "FreeClimb LLC",
3223
+ "ein": "843793747",
3224
+ "einIssuingCountry": "US",
3225
+ "phone": "+18475722071",
3226
+ "street": "570 Lake Cook Rd Ste 400",
3227
+ "city": "Deerfield",
3228
+ "state": "IL",
3229
+ "postalCode": "60015",
3230
+ "country": "US",
3231
+ "email": "bmabry@vailsys.com",
3232
+ "stockSymbol": "",
3233
+ "stockExchange": "NASDAQ",
3234
+ "ipAddress": "127.0.0.1",
3235
+ "website": "https://www.freeclimb.com/",
3236
+ "vertical": "TECHNOLOGY",
3237
+ "universalEin": "US_843793747",
3238
+ "referenceId": "ACdeadbeef",
3239
+ "entityType": "PRIVATE_PROFIT",
3240
+ "brandRelationship": "SMALL_ACCOUNT",
3241
+ "identityStatus": "VERIFIED",
3242
+ "createDate": "2022-07-01T20:29:23Z"
3243
+ }
2321
3244
  }
2322
3245
  }
2323
3246
  },
@@ -2816,6 +3739,15 @@
2816
3739
  },
2817
3740
  "deprecated": true
2818
3741
  },
3742
+ {
3743
+ "name": "hasCampaign",
3744
+ "in": "query",
3745
+ "description": "Indication of whether the phone number has a campaign associated with it",
3746
+ "required": false,
3747
+ "schema": {
3748
+ "type": "boolean"
3749
+ }
3750
+ },
2819
3751
  {
2820
3752
  "$ref": "#/components/parameters/Capabilities.Voice"
2821
3753
  },
@@ -2837,8 +3769,7 @@
2837
3769
  "required": false,
2838
3770
  "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
3771
  "schema": {
2840
- "type": "boolean",
2841
- "nullable": true
3772
+ "type": "boolean"
2842
3773
  }
2843
3774
  }
2844
3775
  ],
@@ -4229,6 +5160,340 @@
4229
5160
  },
4230
5161
  "deprecated": false
4231
5162
  }
5163
+ },
5164
+ "/Accounts/{accountId}/Messages/10DLC/Campaigns": {
5165
+ "get": {
5166
+ "tags": [],
5167
+ "summary": "Get list of SMS 10DLC Campaigns",
5168
+ "operationId": "get-tenDLC-sms-Campaigns",
5169
+ "parameters": [
5170
+ {
5171
+ "$ref": "#/components/parameters/AccountId"
5172
+ },
5173
+ {
5174
+ "name": "brandId",
5175
+ "in": "query",
5176
+ "description": "The unique identifier for a brand",
5177
+ "required": false,
5178
+ "schema": {
5179
+ "type": "string"
5180
+ }
5181
+ }
5182
+ ],
5183
+ "responses": {
5184
+ "200": {
5185
+ "description": "The list SMS 10DLC campaigns",
5186
+ "content": {
5187
+ "application/json": {
5188
+ "schema": {
5189
+ "$ref": "#/components/schemas/SMSTenDLCCampaignsListResult"
5190
+ },
5191
+ "example": {
5192
+ "total": 1,
5193
+ "start": 0,
5194
+ "end": 0,
5195
+ "page": 0,
5196
+ "numPages": 1,
5197
+ "pageSize": 100,
5198
+ "nextPageUri": null,
5199
+ "campaigns": [
5200
+ {
5201
+ "campaignId": "C3TMRFL",
5202
+ "accountId": "ACe39970fb7c31c747c67148900b4d9da60a41e532",
5203
+ "cspId": "SKGC6G0",
5204
+ "brandId": "BVCEBIJ",
5205
+ "usecase": "2FA",
5206
+ "description": "bmabry mock campaign.",
5207
+ "subUsecases": [],
5208
+ "resellerId": null,
5209
+ "sample1": "Your verification code from FreeClimb is 000000. It expires in 10 minutes.",
5210
+ "sample2": null,
5211
+ "sample3": null,
5212
+ "sample4": null,
5213
+ "sample5": null,
5214
+ "messageFlow": null,
5215
+ "helpMessage": null,
5216
+ "referenceId": null,
5217
+ "status": "EXPIRED",
5218
+ "mock": true,
5219
+ "autoRenewal": false,
5220
+ "embeddedLink": false,
5221
+ "embeddedPhone": false,
5222
+ "affiliateMarketing": false,
5223
+ "numberPool": false,
5224
+ "ageGated": false,
5225
+ "directLending": false,
5226
+ "subscriberOptin": true,
5227
+ "subscriberOptout": false,
5228
+ "subscriberHelp": true,
5229
+ "createDate": "2022-07-05T15:17:05Z",
5230
+ "billedDate": "2022-07-05T00:00:00Z",
5231
+ "nextRenewalOrExpirationDate": null
5232
+ }
5233
+ ]
5234
+ }
5235
+ }
5236
+ }
5237
+ }
5238
+ },
5239
+ "deprecated": false
5240
+ }
5241
+ },
5242
+ "/Accounts/{accountId}/Messages/10DLC/Campaigns/{campaignId}": {
5243
+ "get": {
5244
+ "tags": [],
5245
+ "summary": "Get a 10DLC SMS Campaign",
5246
+ "operationId": "get-tenDLC-sms-campaign",
5247
+ "parameters": [
5248
+ {
5249
+ "$ref": "#/components/parameters/AccountId"
5250
+ },
5251
+ {
5252
+ "name": "campaignId",
5253
+ "in": "path",
5254
+ "description": "String that uniquely identifies this campaign resource.",
5255
+ "required": true,
5256
+ "schema": {
5257
+ "type": "string"
5258
+ }
5259
+ }
5260
+ ],
5261
+ "responses": {
5262
+ "200": {
5263
+ "description": "The specific SMS 10DLC Campaign that’s been processed by FreeClimb",
5264
+ "content": {
5265
+ "application/json": {
5266
+ "schema": {
5267
+ "$ref": "#/components/schemas/SMSTenDLCCampaign"
5268
+ }
5269
+ }
5270
+ }
5271
+ }
5272
+ },
5273
+ "deprecated": false
5274
+ }
5275
+ },
5276
+ "/Accounts/{accountId}/Messages/10DLC/PartnerCampaigns": {
5277
+ "get": {
5278
+ "tags": [],
5279
+ "summary": "Get list of SMS 10DLC Partner Campaigns",
5280
+ "operationId": "get-tenDLC-sms-partnerCampaigns",
5281
+ "parameters": [
5282
+ {
5283
+ "$ref": "#/components/parameters/AccountId"
5284
+ },
5285
+ {
5286
+ "name": "brandId",
5287
+ "in": "query",
5288
+ "description": "The unique identifier for a brand",
5289
+ "required": false,
5290
+ "schema": {
5291
+ "type": "string"
5292
+ }
5293
+ }
5294
+ ],
5295
+ "responses": {
5296
+ "200": {
5297
+ "description": "The list SMS 10DLC partner campaigns",
5298
+ "content": {
5299
+ "application/json": {
5300
+ "schema": {
5301
+ "$ref": "#/components/schemas/SMSTenDLCPartnerCampaignsListResult"
5302
+ },
5303
+ "example": {
5304
+ "total": 1,
5305
+ "start": 0,
5306
+ "end": 0,
5307
+ "page": 0,
5308
+ "numPages": 1,
5309
+ "pageSize": 100,
5310
+ "nextPageUri": null,
5311
+ "sharedCampaigns": [
5312
+ {
5313
+ "campaignId": "CX56XX4",
5314
+ "accountId": "ACe39970fb7c31c747c67148900b4d9da60a41e532",
5315
+ "brandId": "BX56XX4",
5316
+ "usecase": "2FA",
5317
+ "description": "mock campaign.",
5318
+ "sample1": "Your verification code from FreeClimb is 000000. It expires in 10 minutes.",
5319
+ "sample2": null,
5320
+ "sample3": null,
5321
+ "sample4": null,
5322
+ "sample5": null,
5323
+ "messageFlow": null,
5324
+ "helpMessage": null,
5325
+ "status": "EXPIRED",
5326
+ "embeddedLink": false,
5327
+ "embeddedPhone": false,
5328
+ "affiliateMarketing": false,
5329
+ "numberPool": false,
5330
+ "ageGated": false,
5331
+ "directLending": false,
5332
+ "subscriberOptin": true,
5333
+ "subscriberOptout": false,
5334
+ "subscriberHelp": true,
5335
+ "createDate": "2022-07-05T15:17:05Z",
5336
+ "optinKeywords": "START",
5337
+ "optoutKeywords": "STOP",
5338
+ "helpKeywords": "HELP",
5339
+ "optinMessage": "",
5340
+ "optoutMessage": "",
5341
+ "brand": {
5342
+ "optionalAttributes": {},
5343
+ "brandId": "BVCEBIJ",
5344
+ "firstName": "",
5345
+ "lastName": "",
5346
+ "displayName": "FreeClimb LLC(mock)",
5347
+ "companyName": "FreeClimb LLC",
5348
+ "phone": "+18475722071",
5349
+ "email": "bmabry@vailsys.com",
5350
+ "website": "https://www.freeclimb.com/",
5351
+ "evpVettingScore": 22
5352
+ }
5353
+ }
5354
+ ]
5355
+ }
5356
+ }
5357
+ }
5358
+ }
5359
+ },
5360
+ "deprecated": false
5361
+ }
5362
+ },
5363
+ "/Accounts/{accountId}/Messages/10DLC/PartnerCampaigns/{campaignId}": {
5364
+ "get": {
5365
+ "tags": [],
5366
+ "summary": "Get a 10DLC SMS Partner Campaign",
5367
+ "operationId": "get-tenDLC-sms-partnerCampaign",
5368
+ "parameters": [
5369
+ {
5370
+ "$ref": "#/components/parameters/AccountId"
5371
+ },
5372
+ {
5373
+ "name": "campaignId",
5374
+ "in": "path",
5375
+ "description": "String that uniquely identifies this campaign resource.",
5376
+ "required": true,
5377
+ "schema": {
5378
+ "type": "string"
5379
+ }
5380
+ }
5381
+ ],
5382
+ "responses": {
5383
+ "200": {
5384
+ "description": "The specific SMS 10DLC Partner Campaign that’s been processed by FreeClimb",
5385
+ "content": {
5386
+ "application/json": {
5387
+ "schema": {
5388
+ "$ref": "#/components/schemas/SMSTenDLCPartnerCampaign"
5389
+ }
5390
+ }
5391
+ }
5392
+ }
5393
+ },
5394
+ "deprecated": false
5395
+ }
5396
+ },
5397
+ "/Accounts/{accountId}/Messages/10DLC/Brands": {
5398
+ "get": {
5399
+ "tags": [],
5400
+ "summary": "Get list of SMS 10DLC Brands",
5401
+ "operationId": "get-tenDLC-sms-brands",
5402
+ "parameters": [
5403
+ {
5404
+ "$ref": "#/components/parameters/AccountId"
5405
+ }
5406
+ ],
5407
+ "responses": {
5408
+ "200": {
5409
+ "description": "The list SMS 10DLC brands",
5410
+ "content": {
5411
+ "application/json": {
5412
+ "schema": {
5413
+ "$ref": "#/components/schemas/SMSTenDLCBrandsListResult"
5414
+ },
5415
+ "example": {
5416
+ "total": 1,
5417
+ "start": 0,
5418
+ "end": 0,
5419
+ "page": 0,
5420
+ "numPages": 1,
5421
+ "pageSize": 100,
5422
+ "nextPageUri": null,
5423
+ "brands": [
5424
+ {
5425
+ "mock": true,
5426
+ "optionalAttributes": {},
5427
+ "accountId": "AC1234512345123451234512345123451234512345",
5428
+ "brandId": "BVCEBIJ",
5429
+ "cspId": "SKGC6G0",
5430
+ "firstName": "",
5431
+ "lastName": "",
5432
+ "displayName": "FreeClimb LLC(mock)",
5433
+ "companyName": "FreeClimb LLC",
5434
+ "ein": "843793747",
5435
+ "einIssuingCountry": "US",
5436
+ "phone": "+18475722071",
5437
+ "street": "570 Lake Cook Rd Ste 400",
5438
+ "city": "Deerfield",
5439
+ "state": "IL",
5440
+ "postalCode": "60015",
5441
+ "country": "US",
5442
+ "email": "bmabry@vailsys.com",
5443
+ "stockSymbol": "",
5444
+ "stockExchange": "ASX",
5445
+ "ipAddress": "127.0.0.1",
5446
+ "website": "https://www.freeclimb.com/",
5447
+ "vertical": "TECHNOLOGY",
5448
+ "universalEin": "US_843793747",
5449
+ "referenceId": "ACdeadbeef",
5450
+ "entityType": "PRIVATE_PROFIT",
5451
+ "brandRelationship": "SMALL_ACCOUNT",
5452
+ "identityStatus": "VERIFIED",
5453
+ "createDate": "2022-07-01T20:29:23Z"
5454
+ }
5455
+ ]
5456
+ }
5457
+ }
5458
+ }
5459
+ }
5460
+ },
5461
+ "deprecated": false
5462
+ }
5463
+ },
5464
+ "/Accounts/{accountId}/Messages/10DLC/Brands/{brandId}": {
5465
+ "get": {
5466
+ "tags": [],
5467
+ "summary": "Get a 10DLC SMS Brand",
5468
+ "operationId": "get-tenDLC-sms-brand",
5469
+ "parameters": [
5470
+ {
5471
+ "$ref": "#/components/parameters/AccountId"
5472
+ },
5473
+ {
5474
+ "name": "brandId",
5475
+ "in": "path",
5476
+ "description": "String that uniquely identifies this brand resource.",
5477
+ "required": true,
5478
+ "schema": {
5479
+ "type": "string"
5480
+ }
5481
+ }
5482
+ ],
5483
+ "responses": {
5484
+ "200": {
5485
+ "description": "The specific SMS 10DLC Brand that’s been processed by FreeClimb",
5486
+ "content": {
5487
+ "application/json": {
5488
+ "schema": {
5489
+ "$ref": "#/components/schemas/SMSTenDLCBrand"
5490
+ }
5491
+ }
5492
+ }
5493
+ }
5494
+ },
5495
+ "deprecated": false
5496
+ }
4232
5497
  }
4233
5498
  },
4234
5499
  "x-headers": [],