freeclimb 4.4.0 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -2
  3. data/Gemfile.lock +1 -1
  4. data/README.md +4 -4
  5. data/docs/SMSTenDLCCampaign.md +1 -1
  6. data/lib/freeclimb/version.rb +1 -1
  7. data/openapi.json +123 -18
  8. data/spec/models/account_request_spec.rb +143 -2
  9. data/spec/models/account_result_spec.rb +377 -13
  10. data/spec/models/account_status_spec.rb +39 -6
  11. data/spec/models/account_type_spec.rb +26 -4
  12. data/spec/models/add_to_conference_spec.rb +343 -10
  13. data/spec/models/answered_by_spec.rb +26 -4
  14. data/spec/models/application_list_spec.rb +293 -8
  15. data/spec/models/application_request_spec.rb +268 -7
  16. data/spec/models/application_result_spec.rb +418 -13
  17. data/spec/models/available_number_list_spec.rb +293 -8
  18. data/spec/models/available_number_spec.rb +263 -7
  19. data/spec/models/buy_incoming_number_request_spec.rb +168 -3
  20. data/spec/models/call_direction_spec.rb +39 -6
  21. data/spec/models/call_list_spec.rb +293 -8
  22. data/spec/models/call_result_spec.rb +603 -22
  23. data/spec/models/call_status_spec.rb +104 -16
  24. data/spec/models/capabilities_spec.rb +218 -5
  25. data/spec/models/conference_list_spec.rb +293 -8
  26. data/spec/models/conference_participant_list_spec.rb +293 -8
  27. data/spec/models/conference_participant_result_spec.rb +343 -10
  28. data/spec/models/conference_result_spec.rb +464 -16
  29. data/spec/models/conference_status_spec.rb +52 -8
  30. data/spec/models/create_conference_request_spec.rb +228 -6
  31. data/spec/models/create_conference_spec.rb +253 -7
  32. data/spec/models/enqueue_spec.rb +193 -4
  33. data/spec/models/filter_logs_request_spec.rb +118 -1
  34. data/spec/models/get_digits_spec.rb +318 -9
  35. data/spec/models/get_speech_reason_spec.rb +78 -12
  36. data/spec/models/get_speech_spec.rb +388 -14
  37. data/spec/models/grammar_file_built_in_spec.rb +195 -30
  38. data/spec/models/grammar_type_spec.rb +26 -4
  39. data/spec/models/hangup_spec.rb +118 -1
  40. data/spec/models/if_machine_spec.rb +26 -4
  41. data/spec/models/incoming_number_list_spec.rb +293 -8
  42. data/spec/models/incoming_number_request_spec.rb +173 -2
  43. data/spec/models/incoming_number_result_spec.rb +488 -16
  44. data/spec/models/language_spec.rb +338 -52
  45. data/spec/models/log_level_spec.rb +39 -6
  46. data/spec/models/log_list_spec.rb +293 -8
  47. data/spec/models/log_result_spec.rb +275 -8
  48. data/spec/models/machine_type_spec.rb +26 -4
  49. data/spec/models/make_call_request_spec.rb +343 -10
  50. data/spec/models/message_direction_spec.rb +26 -4
  51. data/spec/models/message_request_spec.rb +318 -9
  52. data/spec/models/message_result_spec.rb +431 -13
  53. data/spec/models/message_status_spec.rb +143 -22
  54. data/spec/models/messages_list_spec.rb +293 -8
  55. data/spec/models/mutable_resource_model_spec.rb +193 -4
  56. data/spec/models/out_dial_spec.rb +345 -11
  57. data/spec/models/pagination_model_spec.rb +268 -7
  58. data/spec/models/park_spec.rb +168 -3
  59. data/spec/models/pause_spec.rb +118 -1
  60. data/spec/models/percl_command_spec.rb +132 -3
  61. data/spec/models/percl_script_spec.rb +118 -1
  62. data/spec/models/play_beep_spec.rb +52 -8
  63. data/spec/models/play_early_media_spec.rb +118 -1
  64. data/spec/models/play_spec.rb +193 -4
  65. data/spec/models/queue_list_spec.rb +293 -8
  66. data/spec/models/queue_member_list_spec.rb +293 -8
  67. data/spec/models/queue_member_spec.rb +218 -5
  68. data/spec/models/queue_request_spec.rb +143 -2
  69. data/spec/models/queue_result_spec.rb +369 -11
  70. data/spec/models/queue_result_status_spec.rb +52 -8
  71. data/spec/models/record_utterance_spec.rb +268 -7
  72. data/spec/models/record_utterance_term_reason_spec.rb +52 -8
  73. data/spec/models/recording_list_spec.rb +293 -8
  74. data/spec/models/recording_result_spec.rb +318 -9
  75. data/spec/models/redirect_spec.rb +118 -1
  76. data/spec/models/reject_spec.rb +118 -1
  77. data/spec/models/remove_from_conference_spec.rb +118 -1
  78. data/spec/models/request_type_spec.rb +299 -46
  79. data/spec/models/say_spec.rb +218 -5
  80. data/spec/models/send_digits_spec.rb +168 -3
  81. data/spec/models/set_listen_spec.rb +143 -2
  82. data/spec/models/set_talk_spec.rb +143 -2
  83. data/spec/models/sms_spec.rb +193 -4
  84. data/spec/models/sms_ten_dlc_brand_spec.rb +1070 -64
  85. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +294 -9
  86. data/spec/models/sms_ten_dlc_campaign_spec.rb +875 -38
  87. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +294 -9
  88. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +365 -11
  89. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +823 -35
  90. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +294 -9
  91. data/spec/models/terminate_conference_spec.rb +118 -1
  92. data/spec/models/update_call_request_spec.rb +120 -2
  93. data/spec/models/update_call_request_status_spec.rb +26 -4
  94. data/spec/models/update_conference_participant_request_spec.rb +143 -2
  95. data/spec/models/update_conference_request_spec.rb +180 -5
  96. data/spec/models/update_conference_request_status_spec.rb +26 -4
  97. metadata +77 -77
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c62186a01842ffd5a506080f7fd007c27758b7aa1a5abc3705e6f4bcc953293
4
- data.tar.gz: 2cba7d489cec288291e7d21b250ef5776d08905f6072c62eacbdefb875f5a704
3
+ metadata.gz: db9320429d36b3f663d298ae587eead1e91973547e6e3c5d7e417f12486b6bef
4
+ data.tar.gz: ae733cdfe86044191a60de4c7d6146d0ccb987cb337147681614c4b94a97fc8b
5
5
  SHA512:
6
- metadata.gz: 65817741e4f0073be329a506115607c2d29a3d521de37106257ec3f13783607b80401c4bbf5e40bca09f7921525632cddb7c9d7e78ea62735c2545b054867283
7
- data.tar.gz: ad689450010a9953547b8aee0b9dee0ac4576b40be5ac3a9bcebe9422d91b21ec4a41829a5eb591bd2e026cdb6e4ff35e55f5f03eebbe3f18e48f00c95ebd23c
6
+ metadata.gz: 49aa55f8327fa56a2e3ee0d28d47cb08c221e08358efda1d480b53f3ec524af69f4248c9164104e882df21cbf033aac8c80b28e9492487e5df76908463fc8752
7
+ data.tar.gz: 7fa2a51a646414c9949a6b3d3a25bbc748e7add32bb81562fc8469f3dbea845d1fd1c8a69dff31a768a0318cb4e85ba4dc0ac2da65d2324eb2c2b281e6bc6277
data/CHANGELOG.md CHANGED
@@ -9,13 +9,19 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
9
9
 
10
10
  None
11
11
 
12
- <a name="4.4.0"></a>
12
+ <a name="4.4.1"></a>
13
+
14
+ ## [4.4.1] - 2023-07-19
15
+
16
+ ### Added
17
+
18
+ - Unit testing for Ruby SDK
13
19
 
14
20
  ## [4.4.0] - 2023-06-08
15
21
 
16
22
  ### Added
17
23
 
18
- - Number management feature for python sdk including methods, properties, and testing
24
+ - Number management feature for ruby sdk including methods, properties, and testing
19
25
 
20
26
  <a name="4.3.0"></a>
21
27
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- freeclimb (4.4.0)
4
+ freeclimb (4.4.1)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -7,7 +7,7 @@ FreeClimb is a cloud-based application programming interface (API) that puts the
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0.0
10
- - Package version: 4.4.0
10
+ - Package version: 4.4.1
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/)
13
13
 
@@ -15,7 +15,7 @@ For more information, please visit [https://www.freeclimb.com/support/](https://
15
15
 
16
16
  Add this to the Gemfile:
17
17
 
18
- gem 'freeclimb', '~> 4.4.0'
18
+ gem 'freeclimb', '~> 4.4.1'
19
19
 
20
20
  and run from your terminal
21
21
 
@@ -44,9 +44,9 @@ gem build freeclimb.gemspec
44
44
  Then either install the gem locally:
45
45
 
46
46
  ```shell
47
- gem install ./freeclimb-4.4.0.gem
47
+ gem install ./freeclimb-4.4.1.gem
48
48
  ```
49
- (for development, run `gem install --dev ./freeclimb-4.4.0.gem` to install the development dependencies)
49
+ (for development, run `gem install --dev ./freeclimb-4.4.1.gem` to install the development dependencies)
50
50
 
51
51
  ## Getting Started
52
52
 
@@ -72,7 +72,7 @@ instance = Freeclimb::SMSTenDLCCampaign.new(
72
72
  help_message: null,
73
73
  reference_id: null,
74
74
  mock: null,
75
- next_renewal_or_expiration_date: Fri Dec 31 19:00:00 EST 1999
75
+ next_renewal_or_expiration_date: Fri Dec 31 18:00:00 CST 1999
76
76
  )
77
77
  ```
78
78
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module Freeclimb
14
- VERSION = '4.4.0'
14
+ VERSION = '4.4.1'
15
15
  end
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` &ndash; Call is ready and waiting in line before going out. * `ringing` &ndash; Call is currently ringing. * `inProgress` &ndash; Call was answered and is currently in progress. * `canceled` &ndash; Call was hung up while it was queued or ringing. * `completed` &ndash; Call was answered and has ended normally. * `busy` &ndash; Caller received a busy signal. * `failed` &ndash; Call could not be completed as dialed, most likely because the phone number was non-existent. * `noAnswer` &ndash; 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",
@@ -2370,22 +2396,26 @@
2370
2396
  },
2371
2397
  "resellerId": {
2372
2398
  "maxLength": 8,
2399
+ "x-max-length-8": true,
2373
2400
  "type": "string",
2374
2401
  "nullable": true,
2375
2402
  "description": "Alphanumeric identifier of the reseller that you want to associate with this campaign."
2376
2403
  },
2377
2404
  "status": {
2378
2405
  "type": "string",
2406
+ "x-has-writer": true,
2379
2407
  "description": "Current campaign status. Possible values: ACTIVE, EXPIRED. A newly created campaign defaults to ACTIVE status. ",
2380
2408
  "enum": [
2381
2409
  "ACTIVE",
2382
2410
  "EXPIRED"
2383
- ]
2411
+ ],
2412
+ "x-enum-varnames": ["ACTIVE", "EXPIRED"]
2384
2413
  },
2385
2414
  "createDate": {
2386
2415
  "type": "string",
2387
2416
  "description": "Unix timestamp when campaign was created.",
2388
- "format": "date-time"
2417
+ "format": "date-time",
2418
+ "x-is-date-time": true
2389
2419
  },
2390
2420
  "autoRenewal": {
2391
2421
  "type": "boolean",
@@ -2395,10 +2425,12 @@
2395
2425
  "type": "string",
2396
2426
  "description": "Campaign recent billed date.",
2397
2427
  "format": "date-time",
2428
+ "x-is-date-time": true,
2398
2429
  "nullable": true
2399
2430
  },
2400
2431
  "brandId": {
2401
2432
  "maxLength": 8,
2433
+ "x-max-length-8": true,
2402
2434
  "type": "string",
2403
2435
  "description": "Alphanumeric identifier of the brand associated with this campaign."
2404
2436
  },
@@ -2518,6 +2550,7 @@
2518
2550
  "nullable": true,
2519
2551
  "description": "When the campaign would be due for its next renew/bill date.",
2520
2552
  "format": "date",
2553
+ "x-is-date": true,
2521
2554
  "example": "2000-01-01"
2522
2555
  }
2523
2556
  }
@@ -2595,19 +2628,23 @@
2595
2628
  },
2596
2629
  "status": {
2597
2630
  "type": "string",
2631
+ "x-has-writer": true,
2598
2632
  "description": "Current campaign status. Possible values: ACTIVE, EXPIRED. A newly created campaign defaults to ACTIVE status. ",
2599
2633
  "enum": [
2600
2634
  "ACTIVE",
2601
2635
  "EXPIRED"
2602
- ]
2636
+ ],
2637
+ "x-enum-varnames": ["ACTIVE", "EXPIRED"]
2603
2638
  },
2604
2639
  "createDate": {
2605
2640
  "type": "string",
2606
2641
  "description": "Unix timestamp when campaign was created.",
2607
- "format": "date-time"
2642
+ "format": "date-time",
2643
+ "x-is-date-time": true
2608
2644
  },
2609
2645
  "brandId": {
2610
2646
  "maxLength": 8,
2647
+ "x-max-length-8": true,
2611
2648
  "type": "string",
2612
2649
  "description": "Alphanumeric identifier of the brand associated with this campaign."
2613
2650
  },
@@ -2729,7 +2766,8 @@
2729
2766
  "description": "Subscriber opt-out message."
2730
2767
  },
2731
2768
  "brand": {
2732
- "$ref": "#/components/schemas/SMSTenDLCPartnerCampaignBrand"
2769
+ "$ref": "#/components/schemas/SMSTenDLCPartnerCampaignBrand",
2770
+ "x-partner-campaign-brand": true
2733
2771
  }
2734
2772
  },
2735
2773
  "example": {
@@ -2781,6 +2819,7 @@
2781
2819
  "phone"
2782
2820
  ],
2783
2821
  "type": "object",
2822
+ "x-is-object": true,
2784
2823
  "properties": {
2785
2824
  "accountId": {
2786
2825
  "type": "string",
@@ -2835,6 +2874,7 @@
2835
2874
  },
2836
2875
  "optionalAttributes": {
2837
2876
  "type": "object",
2877
+ "x-is-hash": true,
2838
2878
  "additionalProperties": {
2839
2879
  "type": "object",
2840
2880
  "description": "Optional brand attributes. Please refer to GET /enum/optionalAttributeNames for dictionary of optional attribute names."
@@ -2888,6 +2928,7 @@
2888
2928
  "entityType": {
2889
2929
  "maxLength": 20,
2890
2930
  "type": "string",
2931
+ "x-has-writer": true,
2891
2932
  "description": "Entity type behind the brand. This is the form of business establishment.",
2892
2933
  "enum": [
2893
2934
  "PRIVATE_PROFIT",
@@ -2895,7 +2936,13 @@
2895
2936
  "NON_PROFIT",
2896
2937
  "GOVERNMENT",
2897
2938
  "SOLE_PROPRIETOR"
2898
- ]
2939
+ ],
2940
+ "x-enum-varnames": ["PRIVATE_PROFIT",
2941
+ "PUBLIC_PROFIT",
2942
+ "NON_PROFIT",
2943
+ "GOVERNMENT",
2944
+ "SOLE_PROPRIETOR"
2945
+ ]
2899
2946
  },
2900
2947
  "cspId": {
2901
2948
  "type": "string",
@@ -2941,7 +2988,8 @@
2941
2988
  "maxLength": 2,
2942
2989
  "type": "string",
2943
2990
  "description": "ISO2 2 characters country code. Example: US - United States",
2944
- "example": "US"
2991
+ "example": "US",
2992
+ "x-max-length-2": true
2945
2993
  },
2946
2994
  "phone": {
2947
2995
  "maxLength": 20,
@@ -2969,12 +3017,14 @@
2969
3017
  },
2970
3018
  "postalCode": {
2971
3019
  "maxLength": 10,
3020
+ "x-max-length-10": true,
2972
3021
  "type": "string",
2973
3022
  "description": "Postal codes. Use 5 digit zipcode for United States",
2974
3023
  "example": "10001"
2975
3024
  },
2976
3025
  "country": {
2977
3026
  "maxLength": 2,
3027
+ "x-max-length-2": true,
2978
3028
  "type": "string",
2979
3029
  "description": "ISO2 2 characters country code. Example: US - United States",
2980
3030
  "example": "US"
@@ -2986,12 +3036,14 @@
2986
3036
  },
2987
3037
  "stockSymbol": {
2988
3038
  "maxLength": 10,
3039
+ "x-max-length-10": true,
2989
3040
  "type": "string",
2990
3041
  "description": "(Required for public company) stock symbol.",
2991
3042
  "example": "ABC"
2992
3043
  },
2993
3044
  "stockExchange": {
2994
3045
  "type": "string",
3046
+ "x-has-writer": true,
2995
3047
  "description": "(Required for public company) stock exchange.",
2996
3048
  "example": "NASDAQ",
2997
3049
  "enum": [
@@ -3022,6 +3074,35 @@
3022
3074
  "TWSE",
3023
3075
  "VSE",
3024
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"
3025
3106
  ]
3026
3107
  },
3027
3108
  "ipAddress": {
@@ -3037,6 +3118,7 @@
3037
3118
  },
3038
3119
  "brandRelationship": {
3039
3120
  "type": "string",
3121
+ "x-has-writer": true,
3040
3122
  "description": "Brand relationship to the CSP",
3041
3123
  "enum": [
3042
3124
  "BASIC_ACCOUNT",
@@ -3044,6 +3126,13 @@
3044
3126
  "MEDIUM_ACCOUNT",
3045
3127
  "LARGE_ACCOUNT",
3046
3128
  "KEY_ACCOUNT"
3129
+ ],
3130
+ "x-enum-varnames": [
3131
+ "BASIC_ACCOUNT",
3132
+ "SMALL_ACCOUNT",
3133
+ "MEDIUM_ACCOUNT",
3134
+ "LARGE_ACCOUNT",
3135
+ "KEY_ACCOUNT"
3047
3136
  ]
3048
3137
  },
3049
3138
  "vertical": {
@@ -3058,12 +3147,19 @@
3058
3147
  },
3059
3148
  "altBusinessIdType": {
3060
3149
  "type": "string",
3150
+ "x-has-writer": true,
3061
3151
  "enum": [
3062
3152
  "NONE",
3063
3153
  "DUNS",
3064
3154
  "GIIN",
3065
3155
  "LEI"
3066
3156
  ],
3157
+ "x-enum-varnames": [
3158
+ "NONE",
3159
+ "DUNS",
3160
+ "GIIN",
3161
+ "LEI"
3162
+ ],
3067
3163
  "description": "The type of the Alternative business identifier"
3068
3164
  },
3069
3165
  "universalEin": {
@@ -3078,6 +3174,7 @@
3078
3174
  },
3079
3175
  "optionalAttributes": {
3080
3176
  "type": "object",
3177
+ "x-is-hash": true,
3081
3178
  "additionalProperties": {
3082
3179
  "type": "object",
3083
3180
  "description": "Optional brand attributes. Please refer to GET /enum/optionalAttributeNames for dictionary of optional attribute names."
@@ -3090,18 +3187,26 @@
3090
3187
  },
3091
3188
  "identityStatus": {
3092
3189
  "type": "string",
3190
+ "x-has-writer": true,
3093
3191
  "description": "TCR assessment of the brand identification status.",
3094
3192
  "enum": [
3095
3193
  "SELF_DECLARED",
3096
3194
  "UNVERIFIED",
3097
3195
  "VERIFIED",
3098
3196
  "VETTED_VERIFIED"
3197
+ ],
3198
+ "x-enum-varnames": [
3199
+ "SELF_DECLARED",
3200
+ "UNVERIFIED",
3201
+ "VERIFIED",
3202
+ "VETTED_VERIFIED"
3099
3203
  ]
3100
3204
  },
3101
3205
  "createDate": {
3102
3206
  "type": "string",
3103
3207
  "description": "Unix timestamp when brand was created.",
3104
- "format": "date-time"
3208
+ "format": "date-time",
3209
+ "x-is-date-time": true
3105
3210
  }
3106
3211
  },
3107
3212
  "description": "A brand is a business identity behind the campaign.",