unitpost 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +320 -0
- data/README.md +98 -13
- data/lib/unitpost/client.rb +19 -3
- data/lib/unitpost/errors.rb +5 -3
- data/lib/unitpost/generated/operations.rb +2784 -77
- data/lib/unitpost/generated/sms_models.rb +353 -0
- data/lib/unitpost/organization.rb +322 -0
- data/lib/unitpost/resources.rb +1330 -13
- data/lib/unitpost/version.rb +1 -1
- data/lib/unitpost.rb +1 -0
- metadata +19 -2
|
@@ -13,6 +13,7 @@ module Unitpost
|
|
|
13
13
|
{
|
|
14
14
|
operation_id: "apiKeys.create",
|
|
15
15
|
resource: "apiKeys",
|
|
16
|
+
credential: "workspace",
|
|
16
17
|
method_name: "create",
|
|
17
18
|
http_method: "POST",
|
|
18
19
|
path: "/api-keys",
|
|
@@ -27,6 +28,7 @@ module Unitpost
|
|
|
27
28
|
{
|
|
28
29
|
operation_id: "apiKeys.delete",
|
|
29
30
|
resource: "apiKeys",
|
|
31
|
+
credential: "workspace",
|
|
30
32
|
method_name: "delete",
|
|
31
33
|
http_method: "DELETE",
|
|
32
34
|
path: "/api-keys/{id}",
|
|
@@ -41,6 +43,7 @@ module Unitpost
|
|
|
41
43
|
{
|
|
42
44
|
operation_id: "apiKeys.list",
|
|
43
45
|
resource: "apiKeys",
|
|
46
|
+
credential: "workspace",
|
|
44
47
|
method_name: "list",
|
|
45
48
|
http_method: "GET",
|
|
46
49
|
path: "/api-keys",
|
|
@@ -52,9 +55,160 @@ module Unitpost
|
|
|
52
55
|
is_list: true,
|
|
53
56
|
list_item_schema: "ApiKey"
|
|
54
57
|
},
|
|
58
|
+
{
|
|
59
|
+
operation_id: "apiKeys.usage",
|
|
60
|
+
resource: "apiKeys",
|
|
61
|
+
credential: "workspace",
|
|
62
|
+
method_name: "usage",
|
|
63
|
+
http_method: "GET",
|
|
64
|
+
path: "/api-keys/{id}/usage",
|
|
65
|
+
path_params: ["id"],
|
|
66
|
+
query_params: [],
|
|
67
|
+
has_body: false,
|
|
68
|
+
request_schema: nil,
|
|
69
|
+
response_schema: "ApiKeyUsage",
|
|
70
|
+
is_list: false,
|
|
71
|
+
list_item_schema: nil
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
operation_id: "branding.get",
|
|
75
|
+
resource: "branding",
|
|
76
|
+
credential: "workspace",
|
|
77
|
+
method_name: "get",
|
|
78
|
+
http_method: "GET",
|
|
79
|
+
path: "/branding",
|
|
80
|
+
path_params: [],
|
|
81
|
+
query_params: [],
|
|
82
|
+
has_body: false,
|
|
83
|
+
request_schema: nil,
|
|
84
|
+
response_schema: "Branding",
|
|
85
|
+
is_list: false,
|
|
86
|
+
list_item_schema: nil
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
operation_id: "branding.removeLogo",
|
|
90
|
+
resource: "branding",
|
|
91
|
+
credential: "workspace",
|
|
92
|
+
method_name: "removeLogo",
|
|
93
|
+
http_method: "DELETE",
|
|
94
|
+
path: "/branding/logo",
|
|
95
|
+
path_params: [],
|
|
96
|
+
query_params: [],
|
|
97
|
+
has_body: false,
|
|
98
|
+
request_schema: nil,
|
|
99
|
+
response_schema: "Branding",
|
|
100
|
+
is_list: false,
|
|
101
|
+
list_item_schema: nil
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
operation_id: "branding.setLogo",
|
|
105
|
+
resource: "branding",
|
|
106
|
+
credential: "workspace",
|
|
107
|
+
method_name: "setLogo",
|
|
108
|
+
http_method: "PUT",
|
|
109
|
+
path: "/branding/logo",
|
|
110
|
+
path_params: [],
|
|
111
|
+
query_params: [],
|
|
112
|
+
has_body: true,
|
|
113
|
+
request_schema: "ImageUpload",
|
|
114
|
+
response_schema: "Branding",
|
|
115
|
+
is_list: false,
|
|
116
|
+
list_item_schema: nil
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
operation_id: "branding.update",
|
|
120
|
+
resource: "branding",
|
|
121
|
+
credential: "workspace",
|
|
122
|
+
method_name: "update",
|
|
123
|
+
http_method: "PATCH",
|
|
124
|
+
path: "/branding",
|
|
125
|
+
path_params: [],
|
|
126
|
+
query_params: [],
|
|
127
|
+
has_body: true,
|
|
128
|
+
request_schema: "BrandingUpdate",
|
|
129
|
+
response_schema: "Branding",
|
|
130
|
+
is_list: false,
|
|
131
|
+
list_item_schema: nil
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
operation_id: "brandkits.acceptImport",
|
|
135
|
+
resource: "brandkits",
|
|
136
|
+
credential: "workspace",
|
|
137
|
+
method_name: "acceptImport",
|
|
138
|
+
http_method: "POST",
|
|
139
|
+
path: "/brand-kits/imports/{id}/accept",
|
|
140
|
+
path_params: ["id"],
|
|
141
|
+
query_params: [],
|
|
142
|
+
has_body: true,
|
|
143
|
+
request_schema: "BrandImportAccept",
|
|
144
|
+
response_schema: "BrandImportAccepted",
|
|
145
|
+
is_list: false,
|
|
146
|
+
list_item_schema: nil
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
operation_id: "brandkits.addGraphic",
|
|
150
|
+
resource: "brandkits",
|
|
151
|
+
credential: "workspace",
|
|
152
|
+
method_name: "addGraphic",
|
|
153
|
+
http_method: "POST",
|
|
154
|
+
path: "/brand-kits/{id}/graphics",
|
|
155
|
+
path_params: ["id"],
|
|
156
|
+
query_params: [],
|
|
157
|
+
has_body: true,
|
|
158
|
+
request_schema: "BrandKitGraphicAdd",
|
|
159
|
+
response_schema: "BrandKitGraphicAdded",
|
|
160
|
+
is_list: false,
|
|
161
|
+
list_item_schema: nil
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
operation_id: "brandkits.cancelImport",
|
|
165
|
+
resource: "brandkits",
|
|
166
|
+
credential: "workspace",
|
|
167
|
+
method_name: "cancelImport",
|
|
168
|
+
http_method: "POST",
|
|
169
|
+
path: "/brand-kits/imports/{id}/cancel",
|
|
170
|
+
path_params: ["id"],
|
|
171
|
+
query_params: [],
|
|
172
|
+
has_body: false,
|
|
173
|
+
request_schema: nil,
|
|
174
|
+
response_schema: "BrandImport",
|
|
175
|
+
is_list: false,
|
|
176
|
+
list_item_schema: nil
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
operation_id: "brandkits.create",
|
|
180
|
+
resource: "brandkits",
|
|
181
|
+
credential: "workspace",
|
|
182
|
+
method_name: "create",
|
|
183
|
+
http_method: "POST",
|
|
184
|
+
path: "/brand-kits",
|
|
185
|
+
path_params: [],
|
|
186
|
+
query_params: [],
|
|
187
|
+
has_body: true,
|
|
188
|
+
request_schema: "BrandKitCreate",
|
|
189
|
+
response_schema: "BrandKit",
|
|
190
|
+
is_list: false,
|
|
191
|
+
list_item_schema: nil
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
operation_id: "brandkits.delete",
|
|
195
|
+
resource: "brandkits",
|
|
196
|
+
credential: "workspace",
|
|
197
|
+
method_name: "delete",
|
|
198
|
+
http_method: "DELETE",
|
|
199
|
+
path: "/brand-kits/{id}",
|
|
200
|
+
path_params: ["id"],
|
|
201
|
+
query_params: [],
|
|
202
|
+
has_body: false,
|
|
203
|
+
request_schema: nil,
|
|
204
|
+
response_schema: nil,
|
|
205
|
+
is_list: false,
|
|
206
|
+
list_item_schema: nil
|
|
207
|
+
},
|
|
55
208
|
{
|
|
56
209
|
operation_id: "brandkits.get",
|
|
57
210
|
resource: "brandkits",
|
|
211
|
+
credential: "workspace",
|
|
58
212
|
method_name: "get",
|
|
59
213
|
http_method: "GET",
|
|
60
214
|
path: "/brand-kits/{id}",
|
|
@@ -66,9 +220,40 @@ module Unitpost
|
|
|
66
220
|
is_list: false,
|
|
67
221
|
list_item_schema: nil
|
|
68
222
|
},
|
|
223
|
+
{
|
|
224
|
+
operation_id: "brandkits.getImport",
|
|
225
|
+
resource: "brandkits",
|
|
226
|
+
credential: "workspace",
|
|
227
|
+
method_name: "getImport",
|
|
228
|
+
http_method: "GET",
|
|
229
|
+
path: "/brand-kits/imports/{id}",
|
|
230
|
+
path_params: ["id"],
|
|
231
|
+
query_params: [],
|
|
232
|
+
has_body: false,
|
|
233
|
+
request_schema: nil,
|
|
234
|
+
response_schema: "BrandImport",
|
|
235
|
+
is_list: false,
|
|
236
|
+
list_item_schema: nil
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
operation_id: "brandkits.import",
|
|
240
|
+
resource: "brandkits",
|
|
241
|
+
credential: "workspace",
|
|
242
|
+
method_name: "import",
|
|
243
|
+
http_method: "POST",
|
|
244
|
+
path: "/brand-kits/imports",
|
|
245
|
+
path_params: [],
|
|
246
|
+
query_params: [],
|
|
247
|
+
has_body: true,
|
|
248
|
+
request_schema: "BrandImportCreate",
|
|
249
|
+
response_schema: "BrandImport",
|
|
250
|
+
is_list: false,
|
|
251
|
+
list_item_schema: nil
|
|
252
|
+
},
|
|
69
253
|
{
|
|
70
254
|
operation_id: "brandkits.list",
|
|
71
255
|
resource: "brandkits",
|
|
256
|
+
credential: "workspace",
|
|
72
257
|
method_name: "list",
|
|
73
258
|
http_method: "GET",
|
|
74
259
|
path: "/brand-kits",
|
|
@@ -80,9 +265,55 @@ module Unitpost
|
|
|
80
265
|
is_list: false,
|
|
81
266
|
list_item_schema: nil
|
|
82
267
|
},
|
|
268
|
+
{
|
|
269
|
+
operation_id: "brandkits.reset",
|
|
270
|
+
resource: "brandkits",
|
|
271
|
+
credential: "workspace",
|
|
272
|
+
method_name: "reset",
|
|
273
|
+
http_method: "POST",
|
|
274
|
+
path: "/brand-kits/{id}/reset",
|
|
275
|
+
path_params: ["id"],
|
|
276
|
+
query_params: [],
|
|
277
|
+
has_body: false,
|
|
278
|
+
request_schema: nil,
|
|
279
|
+
response_schema: "BrandKit",
|
|
280
|
+
is_list: false,
|
|
281
|
+
list_item_schema: nil
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
operation_id: "brandkits.setDefault",
|
|
285
|
+
resource: "brandkits",
|
|
286
|
+
credential: "workspace",
|
|
287
|
+
method_name: "setDefault",
|
|
288
|
+
http_method: "POST",
|
|
289
|
+
path: "/brand-kits/{id}/set-default",
|
|
290
|
+
path_params: ["id"],
|
|
291
|
+
query_params: [],
|
|
292
|
+
has_body: false,
|
|
293
|
+
request_schema: nil,
|
|
294
|
+
response_schema: "BrandKit",
|
|
295
|
+
is_list: false,
|
|
296
|
+
list_item_schema: nil
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
operation_id: "brandkits.update",
|
|
300
|
+
resource: "brandkits",
|
|
301
|
+
credential: "workspace",
|
|
302
|
+
method_name: "update",
|
|
303
|
+
http_method: "PATCH",
|
|
304
|
+
path: "/brand-kits/{id}",
|
|
305
|
+
path_params: ["id"],
|
|
306
|
+
query_params: [],
|
|
307
|
+
has_body: true,
|
|
308
|
+
request_schema: "BrandKitUpdate",
|
|
309
|
+
response_schema: "BrandKit",
|
|
310
|
+
is_list: false,
|
|
311
|
+
list_item_schema: nil
|
|
312
|
+
},
|
|
83
313
|
{
|
|
84
314
|
operation_id: "contactFields.create",
|
|
85
315
|
resource: "contactFields",
|
|
316
|
+
credential: "workspace",
|
|
86
317
|
method_name: "create",
|
|
87
318
|
http_method: "POST",
|
|
88
319
|
path: "/contact-fields",
|
|
@@ -97,6 +328,7 @@ module Unitpost
|
|
|
97
328
|
{
|
|
98
329
|
operation_id: "contactFields.delete",
|
|
99
330
|
resource: "contactFields",
|
|
331
|
+
credential: "workspace",
|
|
100
332
|
method_name: "delete",
|
|
101
333
|
http_method: "DELETE",
|
|
102
334
|
path: "/contact-fields/{id}",
|
|
@@ -104,13 +336,14 @@ module Unitpost
|
|
|
104
336
|
query_params: [],
|
|
105
337
|
has_body: false,
|
|
106
338
|
request_schema: nil,
|
|
107
|
-
response_schema:
|
|
339
|
+
response_schema: "Job",
|
|
108
340
|
is_list: false,
|
|
109
341
|
list_item_schema: nil
|
|
110
342
|
},
|
|
111
343
|
{
|
|
112
344
|
operation_id: "contactFields.get",
|
|
113
345
|
resource: "contactFields",
|
|
346
|
+
credential: "workspace",
|
|
114
347
|
method_name: "get",
|
|
115
348
|
http_method: "GET",
|
|
116
349
|
path: "/contact-fields/{id}",
|
|
@@ -125,6 +358,7 @@ module Unitpost
|
|
|
125
358
|
{
|
|
126
359
|
operation_id: "contactFields.list",
|
|
127
360
|
resource: "contactFields",
|
|
361
|
+
credential: "workspace",
|
|
128
362
|
method_name: "list",
|
|
129
363
|
http_method: "GET",
|
|
130
364
|
path: "/contact-fields",
|
|
@@ -139,6 +373,7 @@ module Unitpost
|
|
|
139
373
|
{
|
|
140
374
|
operation_id: "contactFields.rename",
|
|
141
375
|
resource: "contactFields",
|
|
376
|
+
credential: "workspace",
|
|
142
377
|
method_name: "rename",
|
|
143
378
|
http_method: "POST",
|
|
144
379
|
path: "/contact-fields/{id}/rename",
|
|
@@ -153,6 +388,7 @@ module Unitpost
|
|
|
153
388
|
{
|
|
154
389
|
operation_id: "contactFields.update",
|
|
155
390
|
resource: "contactFields",
|
|
391
|
+
credential: "workspace",
|
|
156
392
|
method_name: "update",
|
|
157
393
|
http_method: "PATCH",
|
|
158
394
|
path: "/contact-fields/{id}",
|
|
@@ -164,9 +400,55 @@ module Unitpost
|
|
|
164
400
|
is_list: false,
|
|
165
401
|
list_item_schema: nil
|
|
166
402
|
},
|
|
403
|
+
{
|
|
404
|
+
operation_id: "contacts.activity",
|
|
405
|
+
resource: "contacts",
|
|
406
|
+
credential: "workspace",
|
|
407
|
+
method_name: "activity",
|
|
408
|
+
http_method: "GET",
|
|
409
|
+
path: "/contacts/{id}/activity",
|
|
410
|
+
path_params: ["id"],
|
|
411
|
+
query_params: ["limit"],
|
|
412
|
+
has_body: false,
|
|
413
|
+
request_schema: nil,
|
|
414
|
+
response_schema: nil,
|
|
415
|
+
is_list: true,
|
|
416
|
+
list_item_schema: "ContactActivity"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
operation_id: "contacts.addresses",
|
|
420
|
+
resource: "contacts",
|
|
421
|
+
credential: "workspace",
|
|
422
|
+
method_name: "addresses",
|
|
423
|
+
http_method: "GET",
|
|
424
|
+
path: "/contacts/{id}/addresses",
|
|
425
|
+
path_params: ["id"],
|
|
426
|
+
query_params: [],
|
|
427
|
+
has_body: false,
|
|
428
|
+
request_schema: nil,
|
|
429
|
+
response_schema: nil,
|
|
430
|
+
is_list: true,
|
|
431
|
+
list_item_schema: "ContactAddress"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
operation_id: "contacts.cancelImport",
|
|
435
|
+
resource: "contacts",
|
|
436
|
+
credential: "workspace",
|
|
437
|
+
method_name: "cancelImport",
|
|
438
|
+
http_method: "POST",
|
|
439
|
+
path: "/contacts/imports/{id}/cancel",
|
|
440
|
+
path_params: ["id"],
|
|
441
|
+
query_params: [],
|
|
442
|
+
has_body: false,
|
|
443
|
+
request_schema: nil,
|
|
444
|
+
response_schema: "ContactImport",
|
|
445
|
+
is_list: false,
|
|
446
|
+
list_item_schema: nil
|
|
447
|
+
},
|
|
167
448
|
{
|
|
168
449
|
operation_id: "contacts.create",
|
|
169
450
|
resource: "contacts",
|
|
451
|
+
credential: "workspace",
|
|
170
452
|
method_name: "create",
|
|
171
453
|
http_method: "POST",
|
|
172
454
|
path: "/contacts",
|
|
@@ -181,6 +463,7 @@ module Unitpost
|
|
|
181
463
|
{
|
|
182
464
|
operation_id: "contacts.delete",
|
|
183
465
|
resource: "contacts",
|
|
466
|
+
credential: "workspace",
|
|
184
467
|
method_name: "delete",
|
|
185
468
|
http_method: "DELETE",
|
|
186
469
|
path: "/contacts/{id}",
|
|
@@ -192,9 +475,25 @@ module Unitpost
|
|
|
192
475
|
is_list: false,
|
|
193
476
|
list_item_schema: nil
|
|
194
477
|
},
|
|
478
|
+
{
|
|
479
|
+
operation_id: "contacts.export",
|
|
480
|
+
resource: "contacts",
|
|
481
|
+
credential: "workspace",
|
|
482
|
+
method_name: "export",
|
|
483
|
+
http_method: "POST",
|
|
484
|
+
path: "/contacts/export",
|
|
485
|
+
path_params: [],
|
|
486
|
+
query_params: [],
|
|
487
|
+
has_body: true,
|
|
488
|
+
request_schema: "ContactsExport",
|
|
489
|
+
response_schema: "Job",
|
|
490
|
+
is_list: false,
|
|
491
|
+
list_item_schema: nil
|
|
492
|
+
},
|
|
195
493
|
{
|
|
196
494
|
operation_id: "contacts.get",
|
|
197
495
|
resource: "contacts",
|
|
496
|
+
credential: "workspace",
|
|
198
497
|
method_name: "get",
|
|
199
498
|
http_method: "GET",
|
|
200
499
|
path: "/contacts/{id}",
|
|
@@ -209,6 +508,7 @@ module Unitpost
|
|
|
209
508
|
{
|
|
210
509
|
operation_id: "contacts.getImport",
|
|
211
510
|
resource: "contacts",
|
|
511
|
+
credential: "workspace",
|
|
212
512
|
method_name: "getImport",
|
|
213
513
|
http_method: "GET",
|
|
214
514
|
path: "/contacts/imports/{id}",
|
|
@@ -223,6 +523,7 @@ module Unitpost
|
|
|
223
523
|
{
|
|
224
524
|
operation_id: "contacts.import",
|
|
225
525
|
resource: "contacts",
|
|
526
|
+
credential: "workspace",
|
|
226
527
|
method_name: "import",
|
|
227
528
|
http_method: "POST",
|
|
228
529
|
path: "/contacts/imports",
|
|
@@ -237,11 +538,12 @@ module Unitpost
|
|
|
237
538
|
{
|
|
238
539
|
operation_id: "contacts.list",
|
|
239
540
|
resource: "contacts",
|
|
541
|
+
credential: "workspace",
|
|
240
542
|
method_name: "list",
|
|
241
543
|
http_method: "GET",
|
|
242
544
|
path: "/contacts",
|
|
243
545
|
path_params: [],
|
|
244
|
-
query_params: ["limit", "after", "before"],
|
|
546
|
+
query_params: ["limit", "after", "before", "q", "status", "phone", "segment_id", "segment_subscription"],
|
|
245
547
|
has_body: false,
|
|
246
548
|
request_schema: nil,
|
|
247
549
|
response_schema: nil,
|
|
@@ -251,6 +553,7 @@ module Unitpost
|
|
|
251
553
|
{
|
|
252
554
|
operation_id: "contacts.listImports",
|
|
253
555
|
resource: "contacts",
|
|
556
|
+
credential: "workspace",
|
|
254
557
|
method_name: "listImports",
|
|
255
558
|
http_method: "GET",
|
|
256
559
|
path: "/contacts/imports",
|
|
@@ -262,9 +565,40 @@ module Unitpost
|
|
|
262
565
|
is_list: true,
|
|
263
566
|
list_item_schema: "ContactImport"
|
|
264
567
|
},
|
|
568
|
+
{
|
|
569
|
+
operation_id: "contacts.listSegments",
|
|
570
|
+
resource: "contacts",
|
|
571
|
+
credential: "workspace",
|
|
572
|
+
method_name: "listSegments",
|
|
573
|
+
http_method: "GET",
|
|
574
|
+
path: "/contacts/{id}/segments",
|
|
575
|
+
path_params: ["id"],
|
|
576
|
+
query_params: [],
|
|
577
|
+
has_body: false,
|
|
578
|
+
request_schema: nil,
|
|
579
|
+
response_schema: nil,
|
|
580
|
+
is_list: true,
|
|
581
|
+
list_item_schema: "ContactSegment"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
operation_id: "contacts.retryImport",
|
|
585
|
+
resource: "contacts",
|
|
586
|
+
credential: "workspace",
|
|
587
|
+
method_name: "retryImport",
|
|
588
|
+
http_method: "POST",
|
|
589
|
+
path: "/contacts/imports/{id}/retry",
|
|
590
|
+
path_params: ["id"],
|
|
591
|
+
query_params: [],
|
|
592
|
+
has_body: false,
|
|
593
|
+
request_schema: nil,
|
|
594
|
+
response_schema: "ContactImport",
|
|
595
|
+
is_list: false,
|
|
596
|
+
list_item_schema: nil
|
|
597
|
+
},
|
|
265
598
|
{
|
|
266
599
|
operation_id: "contacts.update",
|
|
267
600
|
resource: "contacts",
|
|
601
|
+
credential: "workspace",
|
|
268
602
|
method_name: "update",
|
|
269
603
|
http_method: "PATCH",
|
|
270
604
|
path: "/contacts/{id}",
|
|
@@ -279,6 +613,7 @@ module Unitpost
|
|
|
279
613
|
{
|
|
280
614
|
operation_id: "email.batch",
|
|
281
615
|
resource: "email",
|
|
616
|
+
credential: "workspace",
|
|
282
617
|
method_name: "batch",
|
|
283
618
|
http_method: "POST",
|
|
284
619
|
path: "/email/batch",
|
|
@@ -293,6 +628,7 @@ module Unitpost
|
|
|
293
628
|
{
|
|
294
629
|
operation_id: "email.campaigns.cancel",
|
|
295
630
|
resource: "email.campaigns",
|
|
631
|
+
credential: "workspace",
|
|
296
632
|
method_name: "cancel",
|
|
297
633
|
http_method: "POST",
|
|
298
634
|
path: "/email/campaigns/{id}/cancel",
|
|
@@ -307,6 +643,7 @@ module Unitpost
|
|
|
307
643
|
{
|
|
308
644
|
operation_id: "email.campaigns.create",
|
|
309
645
|
resource: "email.campaigns",
|
|
646
|
+
credential: "workspace",
|
|
310
647
|
method_name: "create",
|
|
311
648
|
http_method: "POST",
|
|
312
649
|
path: "/email/campaigns",
|
|
@@ -321,6 +658,7 @@ module Unitpost
|
|
|
321
658
|
{
|
|
322
659
|
operation_id: "email.campaigns.delete",
|
|
323
660
|
resource: "email.campaigns",
|
|
661
|
+
credential: "workspace",
|
|
324
662
|
method_name: "delete",
|
|
325
663
|
http_method: "DELETE",
|
|
326
664
|
path: "/email/campaigns/{id}",
|
|
@@ -332,9 +670,25 @@ module Unitpost
|
|
|
332
670
|
is_list: false,
|
|
333
671
|
list_item_schema: nil
|
|
334
672
|
},
|
|
673
|
+
{
|
|
674
|
+
operation_id: "email.campaigns.duplicate",
|
|
675
|
+
resource: "email.campaigns",
|
|
676
|
+
credential: "workspace",
|
|
677
|
+
method_name: "duplicate",
|
|
678
|
+
http_method: "POST",
|
|
679
|
+
path: "/email/campaigns/{id}/duplicate",
|
|
680
|
+
path_params: ["id"],
|
|
681
|
+
query_params: [],
|
|
682
|
+
has_body: true,
|
|
683
|
+
request_schema: "CampaignDuplicate",
|
|
684
|
+
response_schema: "Campaign",
|
|
685
|
+
is_list: false,
|
|
686
|
+
list_item_schema: nil
|
|
687
|
+
},
|
|
335
688
|
{
|
|
336
689
|
operation_id: "email.campaigns.get",
|
|
337
690
|
resource: "email.campaigns",
|
|
691
|
+
credential: "workspace",
|
|
338
692
|
method_name: "get",
|
|
339
693
|
http_method: "GET",
|
|
340
694
|
path: "/email/campaigns/{id}",
|
|
@@ -349,20 +703,67 @@ module Unitpost
|
|
|
349
703
|
{
|
|
350
704
|
operation_id: "email.campaigns.list",
|
|
351
705
|
resource: "email.campaigns",
|
|
706
|
+
credential: "workspace",
|
|
352
707
|
method_name: "list",
|
|
353
708
|
http_method: "GET",
|
|
354
709
|
path: "/email/campaigns",
|
|
355
710
|
path_params: [],
|
|
356
|
-
query_params: ["limit", "after", "before"],
|
|
711
|
+
query_params: ["limit", "after", "before", "archived", "topic_id", "segment_id"],
|
|
357
712
|
has_body: false,
|
|
358
713
|
request_schema: nil,
|
|
359
714
|
response_schema: nil,
|
|
360
715
|
is_list: true,
|
|
361
716
|
list_item_schema: "Campaign"
|
|
362
717
|
},
|
|
718
|
+
{
|
|
719
|
+
operation_id: "email.campaigns.listAffected",
|
|
720
|
+
resource: "email.campaigns",
|
|
721
|
+
credential: "workspace",
|
|
722
|
+
method_name: "listAffected",
|
|
723
|
+
http_method: "GET",
|
|
724
|
+
path: "/email/campaigns/{id}/quality/affected",
|
|
725
|
+
path_params: ["id"],
|
|
726
|
+
query_params: ["limit", "after"],
|
|
727
|
+
has_body: false,
|
|
728
|
+
request_schema: nil,
|
|
729
|
+
response_schema: nil,
|
|
730
|
+
is_list: true,
|
|
731
|
+
list_item_schema: "CampaignAffectedRecipient"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
operation_id: "email.campaigns.listRecipients",
|
|
735
|
+
resource: "email.campaigns",
|
|
736
|
+
credential: "workspace",
|
|
737
|
+
method_name: "listRecipients",
|
|
738
|
+
http_method: "GET",
|
|
739
|
+
path: "/email/campaigns/{id}/recipients",
|
|
740
|
+
path_params: ["id"],
|
|
741
|
+
query_params: ["status", "limit", "after"],
|
|
742
|
+
has_body: false,
|
|
743
|
+
request_schema: nil,
|
|
744
|
+
response_schema: nil,
|
|
745
|
+
is_list: true,
|
|
746
|
+
list_item_schema: "CampaignRecipient"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
operation_id: "email.campaigns.listStats",
|
|
750
|
+
resource: "email.campaigns",
|
|
751
|
+
credential: "workspace",
|
|
752
|
+
method_name: "listStats",
|
|
753
|
+
http_method: "GET",
|
|
754
|
+
path: "/email/campaigns/stats",
|
|
755
|
+
path_params: [],
|
|
756
|
+
query_params: ["ids"],
|
|
757
|
+
has_body: false,
|
|
758
|
+
request_schema: nil,
|
|
759
|
+
response_schema: nil,
|
|
760
|
+
is_list: true,
|
|
761
|
+
list_item_schema: "CampaignStats"
|
|
762
|
+
},
|
|
363
763
|
{
|
|
364
764
|
operation_id: "email.campaigns.pause",
|
|
365
765
|
resource: "email.campaigns",
|
|
766
|
+
credential: "workspace",
|
|
366
767
|
method_name: "pause",
|
|
367
768
|
http_method: "POST",
|
|
368
769
|
path: "/email/campaigns/{id}/pause",
|
|
@@ -375,9 +776,40 @@ module Unitpost
|
|
|
375
776
|
list_item_schema: nil
|
|
376
777
|
},
|
|
377
778
|
{
|
|
378
|
-
operation_id: "email.campaigns.
|
|
779
|
+
operation_id: "email.campaigns.removeAffected",
|
|
379
780
|
resource: "email.campaigns",
|
|
380
|
-
|
|
781
|
+
credential: "workspace",
|
|
782
|
+
method_name: "removeAffected",
|
|
783
|
+
http_method: "POST",
|
|
784
|
+
path: "/email/campaigns/{id}/quality/remove-affected",
|
|
785
|
+
path_params: ["id"],
|
|
786
|
+
query_params: [],
|
|
787
|
+
has_body: false,
|
|
788
|
+
request_schema: nil,
|
|
789
|
+
response_schema: "CampaignQualityRemoval",
|
|
790
|
+
is_list: false,
|
|
791
|
+
list_item_schema: nil
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
operation_id: "email.campaigns.requestReview",
|
|
795
|
+
resource: "email.campaigns",
|
|
796
|
+
credential: "workspace",
|
|
797
|
+
method_name: "requestReview",
|
|
798
|
+
http_method: "POST",
|
|
799
|
+
path: "/email/campaigns/{id}/quality/request-review",
|
|
800
|
+
path_params: ["id"],
|
|
801
|
+
query_params: [],
|
|
802
|
+
has_body: false,
|
|
803
|
+
request_schema: nil,
|
|
804
|
+
response_schema: "CampaignReviewRequest",
|
|
805
|
+
is_list: false,
|
|
806
|
+
list_item_schema: nil
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
operation_id: "email.campaigns.reschedule",
|
|
810
|
+
resource: "email.campaigns",
|
|
811
|
+
credential: "workspace",
|
|
812
|
+
method_name: "reschedule",
|
|
381
813
|
http_method: "POST",
|
|
382
814
|
path: "/email/campaigns/{id}/reschedule",
|
|
383
815
|
path_params: ["id"],
|
|
@@ -391,6 +823,7 @@ module Unitpost
|
|
|
391
823
|
{
|
|
392
824
|
operation_id: "email.campaigns.resume",
|
|
393
825
|
resource: "email.campaigns",
|
|
826
|
+
credential: "workspace",
|
|
394
827
|
method_name: "resume",
|
|
395
828
|
http_method: "POST",
|
|
396
829
|
path: "/email/campaigns/{id}/resume",
|
|
@@ -405,11 +838,42 @@ module Unitpost
|
|
|
405
838
|
{
|
|
406
839
|
operation_id: "email.campaigns.send",
|
|
407
840
|
resource: "email.campaigns",
|
|
841
|
+
credential: "workspace",
|
|
408
842
|
method_name: "send",
|
|
409
843
|
http_method: "POST",
|
|
410
844
|
path: "/email/campaigns/{id}/send",
|
|
411
845
|
path_params: ["id"],
|
|
412
846
|
query_params: [],
|
|
847
|
+
has_body: true,
|
|
848
|
+
request_schema: "CampaignSend",
|
|
849
|
+
response_schema: "Campaign",
|
|
850
|
+
is_list: false,
|
|
851
|
+
list_item_schema: nil
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
operation_id: "email.campaigns.stats",
|
|
855
|
+
resource: "email.campaigns",
|
|
856
|
+
credential: "workspace",
|
|
857
|
+
method_name: "stats",
|
|
858
|
+
http_method: "GET",
|
|
859
|
+
path: "/email/campaigns/{id}/stats",
|
|
860
|
+
path_params: ["id"],
|
|
861
|
+
query_params: [],
|
|
862
|
+
has_body: false,
|
|
863
|
+
request_schema: nil,
|
|
864
|
+
response_schema: "CampaignStats",
|
|
865
|
+
is_list: false,
|
|
866
|
+
list_item_schema: nil
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
operation_id: "email.campaigns.unschedule",
|
|
870
|
+
resource: "email.campaigns",
|
|
871
|
+
credential: "workspace",
|
|
872
|
+
method_name: "unschedule",
|
|
873
|
+
http_method: "POST",
|
|
874
|
+
path: "/email/campaigns/{id}/unschedule",
|
|
875
|
+
path_params: ["id"],
|
|
876
|
+
query_params: [],
|
|
413
877
|
has_body: false,
|
|
414
878
|
request_schema: nil,
|
|
415
879
|
response_schema: "Campaign",
|
|
@@ -419,6 +883,7 @@ module Unitpost
|
|
|
419
883
|
{
|
|
420
884
|
operation_id: "email.campaigns.update",
|
|
421
885
|
resource: "email.campaigns",
|
|
886
|
+
credential: "workspace",
|
|
422
887
|
method_name: "update",
|
|
423
888
|
http_method: "PATCH",
|
|
424
889
|
path: "/email/campaigns/{id}",
|
|
@@ -433,6 +898,7 @@ module Unitpost
|
|
|
433
898
|
{
|
|
434
899
|
operation_id: "email.campaigns.validate",
|
|
435
900
|
resource: "email.campaigns",
|
|
901
|
+
credential: "workspace",
|
|
436
902
|
method_name: "validate",
|
|
437
903
|
http_method: "GET",
|
|
438
904
|
path: "/email/campaigns/{id}/validate",
|
|
@@ -447,6 +913,7 @@ module Unitpost
|
|
|
447
913
|
{
|
|
448
914
|
operation_id: "email.cancelBatch",
|
|
449
915
|
resource: "email",
|
|
916
|
+
credential: "workspace",
|
|
450
917
|
method_name: "cancelBatch",
|
|
451
918
|
http_method: "POST",
|
|
452
919
|
path: "/email/batches/{id}/cancel",
|
|
@@ -461,6 +928,7 @@ module Unitpost
|
|
|
461
928
|
{
|
|
462
929
|
operation_id: "email.domains.create",
|
|
463
930
|
resource: "email.domains",
|
|
931
|
+
credential: "workspace",
|
|
464
932
|
method_name: "create",
|
|
465
933
|
http_method: "POST",
|
|
466
934
|
path: "/email/domains",
|
|
@@ -472,9 +940,25 @@ module Unitpost
|
|
|
472
940
|
is_list: false,
|
|
473
941
|
list_item_schema: nil
|
|
474
942
|
},
|
|
943
|
+
{
|
|
944
|
+
operation_id: "email.domains.createSender",
|
|
945
|
+
resource: "email.domains",
|
|
946
|
+
credential: "workspace",
|
|
947
|
+
method_name: "createSender",
|
|
948
|
+
http_method: "POST",
|
|
949
|
+
path: "/email/senders",
|
|
950
|
+
path_params: [],
|
|
951
|
+
query_params: [],
|
|
952
|
+
has_body: true,
|
|
953
|
+
request_schema: "SenderCreate",
|
|
954
|
+
response_schema: "Sender",
|
|
955
|
+
is_list: false,
|
|
956
|
+
list_item_schema: nil
|
|
957
|
+
},
|
|
475
958
|
{
|
|
476
959
|
operation_id: "email.domains.delete",
|
|
477
960
|
resource: "email.domains",
|
|
961
|
+
credential: "workspace",
|
|
478
962
|
method_name: "delete",
|
|
479
963
|
http_method: "DELETE",
|
|
480
964
|
path: "/email/domains/{id}",
|
|
@@ -486,9 +970,40 @@ module Unitpost
|
|
|
486
970
|
is_list: false,
|
|
487
971
|
list_item_schema: nil
|
|
488
972
|
},
|
|
973
|
+
{
|
|
974
|
+
operation_id: "email.domains.deleteSender",
|
|
975
|
+
resource: "email.domains",
|
|
976
|
+
credential: "workspace",
|
|
977
|
+
method_name: "deleteSender",
|
|
978
|
+
http_method: "DELETE",
|
|
979
|
+
path: "/email/senders/{id}",
|
|
980
|
+
path_params: ["id"],
|
|
981
|
+
query_params: [],
|
|
982
|
+
has_body: false,
|
|
983
|
+
request_schema: nil,
|
|
984
|
+
response_schema: nil,
|
|
985
|
+
is_list: false,
|
|
986
|
+
list_item_schema: nil
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
operation_id: "email.domains.diagnose",
|
|
990
|
+
resource: "email.domains",
|
|
991
|
+
credential: "workspace",
|
|
992
|
+
method_name: "diagnose",
|
|
993
|
+
http_method: "GET",
|
|
994
|
+
path: "/email/domains/{id}/diagnose",
|
|
995
|
+
path_params: ["id"],
|
|
996
|
+
query_params: [],
|
|
997
|
+
has_body: false,
|
|
998
|
+
request_schema: nil,
|
|
999
|
+
response_schema: "DomainDiagnosis",
|
|
1000
|
+
is_list: false,
|
|
1001
|
+
list_item_schema: nil
|
|
1002
|
+
},
|
|
489
1003
|
{
|
|
490
1004
|
operation_id: "email.domains.get",
|
|
491
1005
|
resource: "email.domains",
|
|
1006
|
+
credential: "workspace",
|
|
492
1007
|
method_name: "get",
|
|
493
1008
|
http_method: "GET",
|
|
494
1009
|
path: "/email/domains/{id}",
|
|
@@ -500,9 +1015,25 @@ module Unitpost
|
|
|
500
1015
|
is_list: false,
|
|
501
1016
|
list_item_schema: nil
|
|
502
1017
|
},
|
|
1018
|
+
{
|
|
1019
|
+
operation_id: "email.domains.getSender",
|
|
1020
|
+
resource: "email.domains",
|
|
1021
|
+
credential: "workspace",
|
|
1022
|
+
method_name: "getSender",
|
|
1023
|
+
http_method: "GET",
|
|
1024
|
+
path: "/email/senders/{id}",
|
|
1025
|
+
path_params: ["id"],
|
|
1026
|
+
query_params: [],
|
|
1027
|
+
has_body: false,
|
|
1028
|
+
request_schema: nil,
|
|
1029
|
+
response_schema: "Sender",
|
|
1030
|
+
is_list: false,
|
|
1031
|
+
list_item_schema: nil
|
|
1032
|
+
},
|
|
503
1033
|
{
|
|
504
1034
|
operation_id: "email.domains.list",
|
|
505
1035
|
resource: "email.domains",
|
|
1036
|
+
credential: "workspace",
|
|
506
1037
|
method_name: "list",
|
|
507
1038
|
http_method: "GET",
|
|
508
1039
|
path: "/email/domains",
|
|
@@ -514,9 +1045,25 @@ module Unitpost
|
|
|
514
1045
|
is_list: true,
|
|
515
1046
|
list_item_schema: "Domain"
|
|
516
1047
|
},
|
|
1048
|
+
{
|
|
1049
|
+
operation_id: "email.domains.listSenders",
|
|
1050
|
+
resource: "email.domains",
|
|
1051
|
+
credential: "workspace",
|
|
1052
|
+
method_name: "listSenders",
|
|
1053
|
+
http_method: "GET",
|
|
1054
|
+
path: "/email/senders",
|
|
1055
|
+
path_params: [],
|
|
1056
|
+
query_params: ["limit", "after", "before", "domain_id"],
|
|
1057
|
+
has_body: false,
|
|
1058
|
+
request_schema: nil,
|
|
1059
|
+
response_schema: nil,
|
|
1060
|
+
is_list: true,
|
|
1061
|
+
list_item_schema: "Sender"
|
|
1062
|
+
},
|
|
517
1063
|
{
|
|
518
1064
|
operation_id: "email.domains.update",
|
|
519
1065
|
resource: "email.domains",
|
|
1066
|
+
credential: "workspace",
|
|
520
1067
|
method_name: "update",
|
|
521
1068
|
http_method: "PATCH",
|
|
522
1069
|
path: "/email/domains/{id}",
|
|
@@ -528,9 +1075,25 @@ module Unitpost
|
|
|
528
1075
|
is_list: false,
|
|
529
1076
|
list_item_schema: nil
|
|
530
1077
|
},
|
|
1078
|
+
{
|
|
1079
|
+
operation_id: "email.domains.updateSender",
|
|
1080
|
+
resource: "email.domains",
|
|
1081
|
+
credential: "workspace",
|
|
1082
|
+
method_name: "updateSender",
|
|
1083
|
+
http_method: "PATCH",
|
|
1084
|
+
path: "/email/senders/{id}",
|
|
1085
|
+
path_params: ["id"],
|
|
1086
|
+
query_params: [],
|
|
1087
|
+
has_body: true,
|
|
1088
|
+
request_schema: "SenderUpdate",
|
|
1089
|
+
response_schema: "Sender",
|
|
1090
|
+
is_list: false,
|
|
1091
|
+
list_item_schema: nil
|
|
1092
|
+
},
|
|
531
1093
|
{
|
|
532
1094
|
operation_id: "email.domains.verify",
|
|
533
1095
|
resource: "email.domains",
|
|
1096
|
+
credential: "workspace",
|
|
534
1097
|
method_name: "verify",
|
|
535
1098
|
http_method: "POST",
|
|
536
1099
|
path: "/email/domains/{id}/verify",
|
|
@@ -545,6 +1108,7 @@ module Unitpost
|
|
|
545
1108
|
{
|
|
546
1109
|
operation_id: "email.get",
|
|
547
1110
|
resource: "email",
|
|
1111
|
+
credential: "workspace",
|
|
548
1112
|
method_name: "get",
|
|
549
1113
|
http_method: "GET",
|
|
550
1114
|
path: "/email/{id}",
|
|
@@ -559,6 +1123,7 @@ module Unitpost
|
|
|
559
1123
|
{
|
|
560
1124
|
operation_id: "email.getBatch",
|
|
561
1125
|
resource: "email",
|
|
1126
|
+
credential: "workspace",
|
|
562
1127
|
method_name: "getBatch",
|
|
563
1128
|
http_method: "GET",
|
|
564
1129
|
path: "/email/batches/{id}",
|
|
@@ -573,20 +1138,52 @@ module Unitpost
|
|
|
573
1138
|
{
|
|
574
1139
|
operation_id: "email.list",
|
|
575
1140
|
resource: "email",
|
|
1141
|
+
credential: "workspace",
|
|
576
1142
|
method_name: "list",
|
|
577
1143
|
http_method: "GET",
|
|
578
1144
|
path: "/email",
|
|
579
1145
|
path_params: [],
|
|
580
|
-
query_params: ["limit", "after", "before", "status", "campaign_id", "batch_id", "created_after", "created_before"],
|
|
1146
|
+
query_params: ["limit", "after", "before", "status", "to", "contact_id", "campaign_id", "batch_id", "created_after", "created_before", "q", "source", "outcome"],
|
|
581
1147
|
has_body: false,
|
|
582
1148
|
request_schema: nil,
|
|
583
1149
|
response_schema: nil,
|
|
584
1150
|
is_list: true,
|
|
585
1151
|
list_item_schema: "Email"
|
|
586
1152
|
},
|
|
1153
|
+
{
|
|
1154
|
+
operation_id: "email.listBatches",
|
|
1155
|
+
resource: "email",
|
|
1156
|
+
credential: "workspace",
|
|
1157
|
+
method_name: "listBatches",
|
|
1158
|
+
http_method: "GET",
|
|
1159
|
+
path: "/email/batches",
|
|
1160
|
+
path_params: [],
|
|
1161
|
+
query_params: ["limit", "after", "before"],
|
|
1162
|
+
has_body: false,
|
|
1163
|
+
request_schema: nil,
|
|
1164
|
+
response_schema: nil,
|
|
1165
|
+
is_list: true,
|
|
1166
|
+
list_item_schema: "Batch"
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
operation_id: "email.listEvents",
|
|
1170
|
+
resource: "email",
|
|
1171
|
+
credential: "workspace",
|
|
1172
|
+
method_name: "listEvents",
|
|
1173
|
+
http_method: "GET",
|
|
1174
|
+
path: "/email/{id}/events",
|
|
1175
|
+
path_params: ["id"],
|
|
1176
|
+
query_params: ["limit", "after", "before"],
|
|
1177
|
+
has_body: false,
|
|
1178
|
+
request_schema: nil,
|
|
1179
|
+
response_schema: nil,
|
|
1180
|
+
is_list: true,
|
|
1181
|
+
list_item_schema: "EmailEvent"
|
|
1182
|
+
},
|
|
587
1183
|
{
|
|
588
1184
|
operation_id: "email.receivedAttachmentUrl",
|
|
589
1185
|
resource: "email",
|
|
1186
|
+
credential: "workspace",
|
|
590
1187
|
method_name: "receivedAttachmentUrl",
|
|
591
1188
|
http_method: "GET",
|
|
592
1189
|
path: "/email/received/{id}/attachments/{attachmentId}",
|
|
@@ -601,6 +1198,7 @@ module Unitpost
|
|
|
601
1198
|
{
|
|
602
1199
|
operation_id: "email.receivedGet",
|
|
603
1200
|
resource: "email",
|
|
1201
|
+
credential: "workspace",
|
|
604
1202
|
method_name: "receivedGet",
|
|
605
1203
|
http_method: "GET",
|
|
606
1204
|
path: "/email/received/{id}",
|
|
@@ -615,20 +1213,52 @@ module Unitpost
|
|
|
615
1213
|
{
|
|
616
1214
|
operation_id: "email.receivedList",
|
|
617
1215
|
resource: "email",
|
|
1216
|
+
credential: "workspace",
|
|
618
1217
|
method_name: "receivedList",
|
|
619
1218
|
http_method: "GET",
|
|
620
1219
|
path: "/email/received",
|
|
621
1220
|
path_params: [],
|
|
622
|
-
query_params: ["limit", "after", "before"],
|
|
1221
|
+
query_params: ["limit", "after", "before", "to", "thread_id", "created_after", "created_before"],
|
|
623
1222
|
has_body: false,
|
|
624
1223
|
request_schema: nil,
|
|
625
1224
|
response_schema: nil,
|
|
626
1225
|
is_list: true,
|
|
627
1226
|
list_item_schema: "ReceivedEmailSummary"
|
|
628
1227
|
},
|
|
1228
|
+
{
|
|
1229
|
+
operation_id: "email.receivedRaw",
|
|
1230
|
+
resource: "email",
|
|
1231
|
+
credential: "workspace",
|
|
1232
|
+
method_name: "receivedRaw",
|
|
1233
|
+
http_method: "GET",
|
|
1234
|
+
path: "/email/received/{id}/raw",
|
|
1235
|
+
path_params: ["id"],
|
|
1236
|
+
query_params: [],
|
|
1237
|
+
has_body: false,
|
|
1238
|
+
request_schema: nil,
|
|
1239
|
+
response_schema: "ReceivedEmailRaw",
|
|
1240
|
+
is_list: false,
|
|
1241
|
+
list_item_schema: nil
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
operation_id: "email.retry",
|
|
1245
|
+
resource: "email",
|
|
1246
|
+
credential: "workspace",
|
|
1247
|
+
method_name: "retry",
|
|
1248
|
+
http_method: "POST",
|
|
1249
|
+
path: "/email/{id}/retry",
|
|
1250
|
+
path_params: ["id"],
|
|
1251
|
+
query_params: [],
|
|
1252
|
+
has_body: false,
|
|
1253
|
+
request_schema: nil,
|
|
1254
|
+
response_schema: "Email",
|
|
1255
|
+
is_list: false,
|
|
1256
|
+
list_item_schema: nil
|
|
1257
|
+
},
|
|
629
1258
|
{
|
|
630
1259
|
operation_id: "email.send",
|
|
631
1260
|
resource: "email",
|
|
1261
|
+
credential: "workspace",
|
|
632
1262
|
method_name: "send",
|
|
633
1263
|
http_method: "POST",
|
|
634
1264
|
path: "/email",
|
|
@@ -643,11 +1273,12 @@ module Unitpost
|
|
|
643
1273
|
{
|
|
644
1274
|
operation_id: "email.stats",
|
|
645
1275
|
resource: "email",
|
|
1276
|
+
credential: "workspace",
|
|
646
1277
|
method_name: "stats",
|
|
647
1278
|
http_method: "GET",
|
|
648
1279
|
path: "/email/stats",
|
|
649
1280
|
path_params: [],
|
|
650
|
-
query_params: ["days"],
|
|
1281
|
+
query_params: ["days", "from", "to", "grain", "tz", "domain_id"],
|
|
651
1282
|
has_body: false,
|
|
652
1283
|
request_schema: nil,
|
|
653
1284
|
response_schema: "EmailStats",
|
|
@@ -657,6 +1288,7 @@ module Unitpost
|
|
|
657
1288
|
{
|
|
658
1289
|
operation_id: "email.templates.create",
|
|
659
1290
|
resource: "email.templates",
|
|
1291
|
+
credential: "workspace",
|
|
660
1292
|
method_name: "create",
|
|
661
1293
|
http_method: "POST",
|
|
662
1294
|
path: "/email/templates",
|
|
@@ -671,6 +1303,7 @@ module Unitpost
|
|
|
671
1303
|
{
|
|
672
1304
|
operation_id: "email.templates.delete",
|
|
673
1305
|
resource: "email.templates",
|
|
1306
|
+
credential: "workspace",
|
|
674
1307
|
method_name: "delete",
|
|
675
1308
|
http_method: "DELETE",
|
|
676
1309
|
path: "/email/templates/{id}",
|
|
@@ -682,9 +1315,40 @@ module Unitpost
|
|
|
682
1315
|
is_list: false,
|
|
683
1316
|
list_item_schema: nil
|
|
684
1317
|
},
|
|
1318
|
+
{
|
|
1319
|
+
operation_id: "email.templates.duplicate",
|
|
1320
|
+
resource: "email.templates",
|
|
1321
|
+
credential: "workspace",
|
|
1322
|
+
method_name: "duplicate",
|
|
1323
|
+
http_method: "POST",
|
|
1324
|
+
path: "/email/templates/{id}/duplicate",
|
|
1325
|
+
path_params: ["id"],
|
|
1326
|
+
query_params: [],
|
|
1327
|
+
has_body: true,
|
|
1328
|
+
request_schema: "TemplateDuplicate",
|
|
1329
|
+
response_schema: "Template",
|
|
1330
|
+
is_list: false,
|
|
1331
|
+
list_item_schema: nil
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
operation_id: "email.templates.fromLibrary",
|
|
1335
|
+
resource: "email.templates",
|
|
1336
|
+
credential: "workspace",
|
|
1337
|
+
method_name: "fromLibrary",
|
|
1338
|
+
http_method: "POST",
|
|
1339
|
+
path: "/email/templates/from-library",
|
|
1340
|
+
path_params: [],
|
|
1341
|
+
query_params: [],
|
|
1342
|
+
has_body: true,
|
|
1343
|
+
request_schema: "TemplateFromLibrary",
|
|
1344
|
+
response_schema: "Template",
|
|
1345
|
+
is_list: false,
|
|
1346
|
+
list_item_schema: nil
|
|
1347
|
+
},
|
|
685
1348
|
{
|
|
686
1349
|
operation_id: "email.templates.get",
|
|
687
1350
|
resource: "email.templates",
|
|
1351
|
+
credential: "workspace",
|
|
688
1352
|
method_name: "get",
|
|
689
1353
|
http_method: "GET",
|
|
690
1354
|
path: "/email/templates/{id}",
|
|
@@ -699,6 +1363,7 @@ module Unitpost
|
|
|
699
1363
|
{
|
|
700
1364
|
operation_id: "email.templates.list",
|
|
701
1365
|
resource: "email.templates",
|
|
1366
|
+
credential: "workspace",
|
|
702
1367
|
method_name: "list",
|
|
703
1368
|
http_method: "GET",
|
|
704
1369
|
path: "/email/templates",
|
|
@@ -710,9 +1375,70 @@ module Unitpost
|
|
|
710
1375
|
is_list: true,
|
|
711
1376
|
list_item_schema: "Template"
|
|
712
1377
|
},
|
|
1378
|
+
{
|
|
1379
|
+
operation_id: "email.templates.listVersions",
|
|
1380
|
+
resource: "email.templates",
|
|
1381
|
+
credential: "workspace",
|
|
1382
|
+
method_name: "listVersions",
|
|
1383
|
+
http_method: "GET",
|
|
1384
|
+
path: "/email/templates/{id}/versions",
|
|
1385
|
+
path_params: ["id"],
|
|
1386
|
+
query_params: ["limit", "after"],
|
|
1387
|
+
has_body: false,
|
|
1388
|
+
request_schema: nil,
|
|
1389
|
+
response_schema: nil,
|
|
1390
|
+
is_list: true,
|
|
1391
|
+
list_item_schema: "TemplateVersion"
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
operation_id: "email.templates.render",
|
|
1395
|
+
resource: "email.templates",
|
|
1396
|
+
credential: "workspace",
|
|
1397
|
+
method_name: "render",
|
|
1398
|
+
http_method: "POST",
|
|
1399
|
+
path: "/email/templates/{id}/render",
|
|
1400
|
+
path_params: ["id"],
|
|
1401
|
+
query_params: [],
|
|
1402
|
+
has_body: true,
|
|
1403
|
+
request_schema: "TemplateRenderInput",
|
|
1404
|
+
response_schema: "TemplateRender",
|
|
1405
|
+
is_list: false,
|
|
1406
|
+
list_item_schema: nil
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
operation_id: "email.templates.restoreVersion",
|
|
1410
|
+
resource: "email.templates",
|
|
1411
|
+
credential: "workspace",
|
|
1412
|
+
method_name: "restoreVersion",
|
|
1413
|
+
http_method: "POST",
|
|
1414
|
+
path: "/email/templates/{id}/versions/{version}/restore",
|
|
1415
|
+
path_params: ["id", "version"],
|
|
1416
|
+
query_params: [],
|
|
1417
|
+
has_body: false,
|
|
1418
|
+
request_schema: nil,
|
|
1419
|
+
response_schema: "Template",
|
|
1420
|
+
is_list: false,
|
|
1421
|
+
list_item_schema: nil
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
operation_id: "email.templates.testSend",
|
|
1425
|
+
resource: "email.templates",
|
|
1426
|
+
credential: "workspace",
|
|
1427
|
+
method_name: "testSend",
|
|
1428
|
+
http_method: "POST",
|
|
1429
|
+
path: "/email/templates/{id}/test-send",
|
|
1430
|
+
path_params: ["id"],
|
|
1431
|
+
query_params: [],
|
|
1432
|
+
has_body: true,
|
|
1433
|
+
request_schema: "TemplateTestSend",
|
|
1434
|
+
response_schema: "TemplateTestSendResult",
|
|
1435
|
+
is_list: false,
|
|
1436
|
+
list_item_schema: nil
|
|
1437
|
+
},
|
|
713
1438
|
{
|
|
714
1439
|
operation_id: "email.templates.update",
|
|
715
1440
|
resource: "email.templates",
|
|
1441
|
+
credential: "workspace",
|
|
716
1442
|
method_name: "update",
|
|
717
1443
|
http_method: "PATCH",
|
|
718
1444
|
path: "/email/templates/{id}",
|
|
@@ -724,9 +1450,85 @@ module Unitpost
|
|
|
724
1450
|
is_list: false,
|
|
725
1451
|
list_item_schema: nil
|
|
726
1452
|
},
|
|
1453
|
+
{
|
|
1454
|
+
operation_id: "email.templates.usage",
|
|
1455
|
+
resource: "email.templates",
|
|
1456
|
+
credential: "workspace",
|
|
1457
|
+
method_name: "usage",
|
|
1458
|
+
http_method: "GET",
|
|
1459
|
+
path: "/email/templates/{id}/usage",
|
|
1460
|
+
path_params: ["id"],
|
|
1461
|
+
query_params: [],
|
|
1462
|
+
has_body: false,
|
|
1463
|
+
request_schema: nil,
|
|
1464
|
+
response_schema: "TemplateUsage",
|
|
1465
|
+
is_list: false,
|
|
1466
|
+
list_item_schema: nil
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
operation_id: "email.threads.delete",
|
|
1470
|
+
resource: "email.threads",
|
|
1471
|
+
credential: "workspace",
|
|
1472
|
+
method_name: "delete",
|
|
1473
|
+
http_method: "DELETE",
|
|
1474
|
+
path: "/email/threads/{id}",
|
|
1475
|
+
path_params: ["id"],
|
|
1476
|
+
query_params: [],
|
|
1477
|
+
has_body: false,
|
|
1478
|
+
request_schema: nil,
|
|
1479
|
+
response_schema: "EmailThreadDeleted",
|
|
1480
|
+
is_list: false,
|
|
1481
|
+
list_item_schema: nil
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
operation_id: "email.threads.get",
|
|
1485
|
+
resource: "email.threads",
|
|
1486
|
+
credential: "workspace",
|
|
1487
|
+
method_name: "get",
|
|
1488
|
+
http_method: "GET",
|
|
1489
|
+
path: "/email/threads/{id}",
|
|
1490
|
+
path_params: ["id"],
|
|
1491
|
+
query_params: ["limit", "before"],
|
|
1492
|
+
has_body: false,
|
|
1493
|
+
request_schema: nil,
|
|
1494
|
+
response_schema: "EmailThreadDetail",
|
|
1495
|
+
is_list: false,
|
|
1496
|
+
list_item_schema: nil
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
operation_id: "email.threads.list",
|
|
1500
|
+
resource: "email.threads",
|
|
1501
|
+
credential: "workspace",
|
|
1502
|
+
method_name: "list",
|
|
1503
|
+
http_method: "GET",
|
|
1504
|
+
path: "/email/threads",
|
|
1505
|
+
path_params: [],
|
|
1506
|
+
query_params: ["q", "limit", "after"],
|
|
1507
|
+
has_body: false,
|
|
1508
|
+
request_schema: nil,
|
|
1509
|
+
response_schema: nil,
|
|
1510
|
+
is_list: true,
|
|
1511
|
+
list_item_schema: "EmailThread"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
operation_id: "email.threads.reply",
|
|
1515
|
+
resource: "email.threads",
|
|
1516
|
+
credential: "workspace",
|
|
1517
|
+
method_name: "reply",
|
|
1518
|
+
http_method: "POST",
|
|
1519
|
+
path: "/email/threads/{id}/reply",
|
|
1520
|
+
path_params: ["id"],
|
|
1521
|
+
query_params: [],
|
|
1522
|
+
has_body: true,
|
|
1523
|
+
request_schema: "EmailThreadReplyRequest",
|
|
1524
|
+
response_schema: "EmailThreadReplyResult",
|
|
1525
|
+
is_list: false,
|
|
1526
|
+
list_item_schema: nil
|
|
1527
|
+
},
|
|
727
1528
|
{
|
|
728
1529
|
operation_id: "email.topics.create",
|
|
729
1530
|
resource: "email.topics",
|
|
1531
|
+
credential: "workspace",
|
|
730
1532
|
method_name: "create",
|
|
731
1533
|
http_method: "POST",
|
|
732
1534
|
path: "/email/topics",
|
|
@@ -741,6 +1543,7 @@ module Unitpost
|
|
|
741
1543
|
{
|
|
742
1544
|
operation_id: "email.topics.delete",
|
|
743
1545
|
resource: "email.topics",
|
|
1546
|
+
credential: "workspace",
|
|
744
1547
|
method_name: "delete",
|
|
745
1548
|
http_method: "DELETE",
|
|
746
1549
|
path: "/email/topics/{id}",
|
|
@@ -755,6 +1558,7 @@ module Unitpost
|
|
|
755
1558
|
{
|
|
756
1559
|
operation_id: "email.topics.get",
|
|
757
1560
|
resource: "email.topics",
|
|
1561
|
+
credential: "workspace",
|
|
758
1562
|
method_name: "get",
|
|
759
1563
|
http_method: "GET",
|
|
760
1564
|
path: "/email/topics/{id}",
|
|
@@ -769,11 +1573,12 @@ module Unitpost
|
|
|
769
1573
|
{
|
|
770
1574
|
operation_id: "email.topics.list",
|
|
771
1575
|
resource: "email.topics",
|
|
1576
|
+
credential: "workspace",
|
|
772
1577
|
method_name: "list",
|
|
773
1578
|
http_method: "GET",
|
|
774
1579
|
path: "/email/topics",
|
|
775
1580
|
path_params: [],
|
|
776
|
-
query_params: ["limit", "after", "before"],
|
|
1581
|
+
query_params: ["limit", "after", "before", "archived"],
|
|
777
1582
|
has_body: false,
|
|
778
1583
|
request_schema: nil,
|
|
779
1584
|
response_schema: nil,
|
|
@@ -783,6 +1588,7 @@ module Unitpost
|
|
|
783
1588
|
{
|
|
784
1589
|
operation_id: "email.topics.listTopics",
|
|
785
1590
|
resource: "email.topics",
|
|
1591
|
+
credential: "workspace",
|
|
786
1592
|
method_name: "listTopics",
|
|
787
1593
|
http_method: "GET",
|
|
788
1594
|
path: "/contacts/{id}/topics",
|
|
@@ -795,24 +1601,26 @@ module Unitpost
|
|
|
795
1601
|
list_item_schema: "ContactTopic"
|
|
796
1602
|
},
|
|
797
1603
|
{
|
|
798
|
-
operation_id: "email.topics.
|
|
1604
|
+
operation_id: "email.topics.optOut",
|
|
799
1605
|
resource: "email.topics",
|
|
800
|
-
|
|
1606
|
+
credential: "workspace",
|
|
1607
|
+
method_name: "optOut",
|
|
801
1608
|
http_method: "POST",
|
|
802
|
-
path: "/
|
|
1609
|
+
path: "/email/topics/{id}/opt-out",
|
|
803
1610
|
path_params: ["id"],
|
|
804
1611
|
query_params: [],
|
|
805
1612
|
has_body: true,
|
|
806
|
-
request_schema: "
|
|
807
|
-
response_schema: "
|
|
1613
|
+
request_schema: "TopicOptOut",
|
|
1614
|
+
response_schema: "Job",
|
|
808
1615
|
is_list: false,
|
|
809
1616
|
list_item_schema: nil
|
|
810
1617
|
},
|
|
811
1618
|
{
|
|
812
1619
|
operation_id: "email.topics.setTopic",
|
|
813
1620
|
resource: "email.topics",
|
|
1621
|
+
credential: "workspace",
|
|
814
1622
|
method_name: "setTopic",
|
|
815
|
-
http_method: "
|
|
1623
|
+
http_method: "POST",
|
|
816
1624
|
path: "/contacts/{id}/topics",
|
|
817
1625
|
path_params: ["id"],
|
|
818
1626
|
query_params: [],
|
|
@@ -825,6 +1633,7 @@ module Unitpost
|
|
|
825
1633
|
{
|
|
826
1634
|
operation_id: "email.topics.update",
|
|
827
1635
|
resource: "email.topics",
|
|
1636
|
+
credential: "workspace",
|
|
828
1637
|
method_name: "update",
|
|
829
1638
|
http_method: "PATCH",
|
|
830
1639
|
path: "/email/topics/{id}",
|
|
@@ -837,53 +1646,1662 @@ module Unitpost
|
|
|
837
1646
|
list_item_schema: nil
|
|
838
1647
|
},
|
|
839
1648
|
{
|
|
840
|
-
operation_id: "email.
|
|
1649
|
+
operation_id: "email.topics.updateTopics",
|
|
1650
|
+
resource: "email.topics",
|
|
1651
|
+
credential: "workspace",
|
|
1652
|
+
method_name: "updateTopics",
|
|
1653
|
+
http_method: "PATCH",
|
|
1654
|
+
path: "/contacts/{id}/topics",
|
|
1655
|
+
path_params: ["id"],
|
|
1656
|
+
query_params: [],
|
|
1657
|
+
has_body: true,
|
|
1658
|
+
request_schema: "ContactTopicsUpdate",
|
|
1659
|
+
response_schema: "ContactTopicList",
|
|
1660
|
+
is_list: false,
|
|
1661
|
+
list_item_schema: nil
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
operation_id: "email.update",
|
|
841
1665
|
resource: "email",
|
|
1666
|
+
credential: "workspace",
|
|
842
1667
|
method_name: "update",
|
|
843
1668
|
http_method: "PATCH",
|
|
844
1669
|
path: "/email/{id}",
|
|
845
1670
|
path_params: ["id"],
|
|
846
1671
|
query_params: [],
|
|
847
1672
|
has_body: true,
|
|
848
|
-
request_schema: "EmailPatch",
|
|
849
|
-
response_schema: "Email",
|
|
1673
|
+
request_schema: "EmailPatch",
|
|
1674
|
+
response_schema: "Email",
|
|
1675
|
+
is_list: false,
|
|
1676
|
+
list_item_schema: nil
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
operation_id: "files.create",
|
|
1680
|
+
resource: "files",
|
|
1681
|
+
credential: "workspace",
|
|
1682
|
+
method_name: "create",
|
|
1683
|
+
http_method: "POST",
|
|
1684
|
+
path: "/files",
|
|
1685
|
+
path_params: [],
|
|
1686
|
+
query_params: [],
|
|
1687
|
+
has_body: true,
|
|
1688
|
+
request_schema: "FileCreate",
|
|
1689
|
+
response_schema: "File",
|
|
1690
|
+
is_list: false,
|
|
1691
|
+
list_item_schema: nil
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
operation_id: "files.delete",
|
|
1695
|
+
resource: "files",
|
|
1696
|
+
credential: "workspace",
|
|
1697
|
+
method_name: "delete",
|
|
1698
|
+
http_method: "DELETE",
|
|
1699
|
+
path: "/files/{id}",
|
|
1700
|
+
path_params: ["id"],
|
|
1701
|
+
query_params: [],
|
|
1702
|
+
has_body: false,
|
|
1703
|
+
request_schema: nil,
|
|
1704
|
+
response_schema: nil,
|
|
1705
|
+
is_list: false,
|
|
1706
|
+
list_item_schema: nil
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
operation_id: "files.get",
|
|
1710
|
+
resource: "files",
|
|
1711
|
+
credential: "workspace",
|
|
1712
|
+
method_name: "get",
|
|
1713
|
+
http_method: "GET",
|
|
1714
|
+
path: "/files/{id}",
|
|
1715
|
+
path_params: ["id"],
|
|
1716
|
+
query_params: [],
|
|
1717
|
+
has_body: false,
|
|
1718
|
+
request_schema: nil,
|
|
1719
|
+
response_schema: "File",
|
|
1720
|
+
is_list: false,
|
|
1721
|
+
list_item_schema: nil
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
operation_id: "files.list",
|
|
1725
|
+
resource: "files",
|
|
1726
|
+
credential: "workspace",
|
|
1727
|
+
method_name: "list",
|
|
1728
|
+
http_method: "GET",
|
|
1729
|
+
path: "/files",
|
|
1730
|
+
path_params: [],
|
|
1731
|
+
query_params: ["limit", "after", "before", "purpose"],
|
|
1732
|
+
has_body: false,
|
|
1733
|
+
request_schema: nil,
|
|
1734
|
+
response_schema: nil,
|
|
1735
|
+
is_list: true,
|
|
1736
|
+
list_item_schema: "File"
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
operation_id: "jobs.cancel",
|
|
1740
|
+
resource: "jobs",
|
|
1741
|
+
credential: "workspace",
|
|
1742
|
+
method_name: "cancel",
|
|
1743
|
+
http_method: "POST",
|
|
1744
|
+
path: "/jobs/{id}/cancel",
|
|
1745
|
+
path_params: ["id"],
|
|
1746
|
+
query_params: [],
|
|
1747
|
+
has_body: false,
|
|
1748
|
+
request_schema: nil,
|
|
1749
|
+
response_schema: "Job",
|
|
1750
|
+
is_list: false,
|
|
1751
|
+
list_item_schema: nil
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
operation_id: "jobs.download",
|
|
1755
|
+
resource: "jobs",
|
|
1756
|
+
credential: "workspace",
|
|
1757
|
+
method_name: "download",
|
|
1758
|
+
http_method: "GET",
|
|
1759
|
+
path: "/jobs/{id}/download",
|
|
1760
|
+
path_params: ["id"],
|
|
1761
|
+
query_params: [],
|
|
1762
|
+
has_body: false,
|
|
1763
|
+
request_schema: nil,
|
|
1764
|
+
response_schema: "JobDownload",
|
|
1765
|
+
is_list: false,
|
|
1766
|
+
list_item_schema: nil
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
operation_id: "jobs.get",
|
|
1770
|
+
resource: "jobs",
|
|
1771
|
+
credential: "workspace",
|
|
1772
|
+
method_name: "get",
|
|
1773
|
+
http_method: "GET",
|
|
1774
|
+
path: "/jobs/{id}",
|
|
1775
|
+
path_params: ["id"],
|
|
1776
|
+
query_params: [],
|
|
1777
|
+
has_body: false,
|
|
1778
|
+
request_schema: nil,
|
|
1779
|
+
response_schema: "Job",
|
|
1780
|
+
is_list: false,
|
|
1781
|
+
list_item_schema: nil
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
operation_id: "jobs.list",
|
|
1785
|
+
resource: "jobs",
|
|
1786
|
+
credential: "workspace",
|
|
1787
|
+
method_name: "list",
|
|
1788
|
+
http_method: "GET",
|
|
1789
|
+
path: "/jobs",
|
|
1790
|
+
path_params: [],
|
|
1791
|
+
query_params: ["limit", "after", "before", "status", "kind"],
|
|
1792
|
+
has_body: false,
|
|
1793
|
+
request_schema: nil,
|
|
1794
|
+
response_schema: nil,
|
|
1795
|
+
is_list: true,
|
|
1796
|
+
list_item_schema: "Job"
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
operation_id: "jobs.retry",
|
|
1800
|
+
resource: "jobs",
|
|
1801
|
+
credential: "workspace",
|
|
1802
|
+
method_name: "retry",
|
|
1803
|
+
http_method: "POST",
|
|
1804
|
+
path: "/jobs/{id}/retry",
|
|
1805
|
+
path_params: ["id"],
|
|
1806
|
+
query_params: [],
|
|
1807
|
+
has_body: false,
|
|
1808
|
+
request_schema: nil,
|
|
1809
|
+
response_schema: "Job",
|
|
1810
|
+
is_list: false,
|
|
1811
|
+
list_item_schema: nil
|
|
1812
|
+
},
|
|
1813
|
+
{
|
|
1814
|
+
operation_id: "libraryImages.create",
|
|
1815
|
+
resource: "libraryImages",
|
|
1816
|
+
credential: "workspace",
|
|
1817
|
+
method_name: "create",
|
|
1818
|
+
http_method: "POST",
|
|
1819
|
+
path: "/library-images",
|
|
1820
|
+
path_params: [],
|
|
1821
|
+
query_params: [],
|
|
1822
|
+
has_body: true,
|
|
1823
|
+
request_schema: "LibraryImageCreate",
|
|
1824
|
+
response_schema: "LibraryImage",
|
|
1825
|
+
is_list: false,
|
|
1826
|
+
list_item_schema: nil
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
operation_id: "libraryImages.delete",
|
|
1830
|
+
resource: "libraryImages",
|
|
1831
|
+
credential: "workspace",
|
|
1832
|
+
method_name: "delete",
|
|
1833
|
+
http_method: "DELETE",
|
|
1834
|
+
path: "/library-images/{id}",
|
|
1835
|
+
path_params: ["id"],
|
|
1836
|
+
query_params: ["force"],
|
|
1837
|
+
has_body: false,
|
|
1838
|
+
request_schema: nil,
|
|
1839
|
+
response_schema: nil,
|
|
1840
|
+
is_list: false,
|
|
1841
|
+
list_item_schema: nil
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
operation_id: "libraryImages.get",
|
|
1845
|
+
resource: "libraryImages",
|
|
1846
|
+
credential: "workspace",
|
|
1847
|
+
method_name: "get",
|
|
1848
|
+
http_method: "GET",
|
|
1849
|
+
path: "/library-images/{id}",
|
|
1850
|
+
path_params: ["id"],
|
|
1851
|
+
query_params: [],
|
|
1852
|
+
has_body: false,
|
|
1853
|
+
request_schema: nil,
|
|
1854
|
+
response_schema: "LibraryImage",
|
|
1855
|
+
is_list: false,
|
|
1856
|
+
list_item_schema: nil
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
operation_id: "libraryImages.list",
|
|
1860
|
+
resource: "libraryImages",
|
|
1861
|
+
credential: "workspace",
|
|
1862
|
+
method_name: "list",
|
|
1863
|
+
http_method: "GET",
|
|
1864
|
+
path: "/library-images",
|
|
1865
|
+
path_params: [],
|
|
1866
|
+
query_params: ["limit", "after", "before"],
|
|
1867
|
+
has_body: false,
|
|
1868
|
+
request_schema: nil,
|
|
1869
|
+
response_schema: nil,
|
|
1870
|
+
is_list: true,
|
|
1871
|
+
list_item_schema: "LibraryImage"
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
operation_id: "libraryImages.update",
|
|
1875
|
+
resource: "libraryImages",
|
|
1876
|
+
credential: "workspace",
|
|
1877
|
+
method_name: "update",
|
|
1878
|
+
http_method: "PATCH",
|
|
1879
|
+
path: "/library-images/{id}",
|
|
1880
|
+
path_params: ["id"],
|
|
1881
|
+
query_params: [],
|
|
1882
|
+
has_body: true,
|
|
1883
|
+
request_schema: "LibraryImageUpdate",
|
|
1884
|
+
response_schema: "LibraryImage",
|
|
1885
|
+
is_list: false,
|
|
1886
|
+
list_item_schema: nil
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
operation_id: "logs.list",
|
|
1890
|
+
resource: "logs",
|
|
1891
|
+
credential: "workspace",
|
|
1892
|
+
method_name: "list",
|
|
1893
|
+
http_method: "GET",
|
|
1894
|
+
path: "/logs",
|
|
1895
|
+
path_params: [],
|
|
1896
|
+
query_params: ["limit", "after", "before", "status", "api_key_id", "method", "path_prefix", "request_id", "created_after", "created_before"],
|
|
1897
|
+
has_body: false,
|
|
1898
|
+
request_schema: nil,
|
|
1899
|
+
response_schema: nil,
|
|
1900
|
+
is_list: true,
|
|
1901
|
+
list_item_schema: "RequestLog"
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
operation_id: "organization.planQuotes.confirm",
|
|
1905
|
+
resource: "planQuotes",
|
|
1906
|
+
credential: "organization",
|
|
1907
|
+
method_name: "confirm",
|
|
1908
|
+
http_method: "POST",
|
|
1909
|
+
path: "/organizations/{id}/workspaces/{workspace_id}/plan-quotes/{quote_id}/confirm",
|
|
1910
|
+
path_params: ["id", "workspace_id", "quote_id"],
|
|
1911
|
+
query_params: [],
|
|
1912
|
+
has_body: true,
|
|
1913
|
+
request_schema: "OrganizationPlanQuoteConfirm",
|
|
1914
|
+
response_schema: "OrganizationPlanQuote",
|
|
1915
|
+
is_list: false,
|
|
1916
|
+
list_item_schema: nil
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
operation_id: "organization.planQuotes.create",
|
|
1920
|
+
resource: "planQuotes",
|
|
1921
|
+
credential: "organization",
|
|
1922
|
+
method_name: "create",
|
|
1923
|
+
http_method: "POST",
|
|
1924
|
+
path: "/organizations/{id}/workspaces/{workspace_id}/plan-quotes",
|
|
1925
|
+
path_params: ["id", "workspace_id"],
|
|
1926
|
+
query_params: [],
|
|
1927
|
+
has_body: true,
|
|
1928
|
+
request_schema: "OrganizationPlanQuoteCreate",
|
|
1929
|
+
response_schema: "OrganizationPlanQuote",
|
|
1930
|
+
is_list: false,
|
|
1931
|
+
list_item_schema: nil
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
operation_id: "organization.planQuotes.get",
|
|
1935
|
+
resource: "planQuotes",
|
|
1936
|
+
credential: "organization",
|
|
1937
|
+
method_name: "get",
|
|
1938
|
+
http_method: "GET",
|
|
1939
|
+
path: "/organizations/{id}/workspaces/{workspace_id}/plan-quotes/{quote_id}",
|
|
1940
|
+
path_params: ["id", "workspace_id", "quote_id"],
|
|
1941
|
+
query_params: [],
|
|
1942
|
+
has_body: false,
|
|
1943
|
+
request_schema: nil,
|
|
1944
|
+
response_schema: "OrganizationPlanQuote",
|
|
1945
|
+
is_list: false,
|
|
1946
|
+
list_item_schema: nil
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
operation_id: "organization.sharedPlan.addWorkspace",
|
|
1950
|
+
resource: "sharedPlan",
|
|
1951
|
+
credential: "organization",
|
|
1952
|
+
method_name: "addWorkspace",
|
|
1953
|
+
http_method: "PUT",
|
|
1954
|
+
path: "/organizations/{id}/shared-plan/workspaces/{workspace_id}",
|
|
1955
|
+
path_params: ["id", "workspace_id"],
|
|
1956
|
+
query_params: [],
|
|
1957
|
+
has_body: true,
|
|
1958
|
+
request_schema: "OrganizationSharedPlanWorkspaceAdd",
|
|
1959
|
+
response_schema: "OrganizationSharedPlanWorkspace",
|
|
1960
|
+
is_list: false,
|
|
1961
|
+
list_item_schema: nil
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
operation_id: "organization.sharedPlan.get",
|
|
1965
|
+
resource: "sharedPlan",
|
|
1966
|
+
credential: "organization",
|
|
1967
|
+
method_name: "get",
|
|
1968
|
+
http_method: "GET",
|
|
1969
|
+
path: "/organizations/{id}/shared-plan",
|
|
1970
|
+
path_params: ["id"],
|
|
1971
|
+
query_params: [],
|
|
1972
|
+
has_body: false,
|
|
1973
|
+
request_schema: nil,
|
|
1974
|
+
response_schema: "OrganizationSharedPlan",
|
|
1975
|
+
is_list: false,
|
|
1976
|
+
list_item_schema: nil
|
|
1977
|
+
},
|
|
1978
|
+
{
|
|
1979
|
+
operation_id: "organization.sharedPlan.listWorkspaces",
|
|
1980
|
+
resource: "sharedPlan",
|
|
1981
|
+
credential: "organization",
|
|
1982
|
+
method_name: "listWorkspaces",
|
|
1983
|
+
http_method: "GET",
|
|
1984
|
+
path: "/organizations/{id}/shared-plan/workspaces",
|
|
1985
|
+
path_params: ["id"],
|
|
1986
|
+
query_params: [],
|
|
1987
|
+
has_body: false,
|
|
1988
|
+
request_schema: nil,
|
|
1989
|
+
response_schema: nil,
|
|
1990
|
+
is_list: true,
|
|
1991
|
+
list_item_schema: "OrganizationSharedPlanWorkspace"
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
operation_id: "organization.sharedPlan.removeWorkspace",
|
|
1995
|
+
resource: "sharedPlan",
|
|
1996
|
+
credential: "organization",
|
|
1997
|
+
method_name: "removeWorkspace",
|
|
1998
|
+
http_method: "DELETE",
|
|
1999
|
+
path: "/organizations/{id}/shared-plan/workspaces/{workspace_id}",
|
|
2000
|
+
path_params: ["id", "workspace_id"],
|
|
2001
|
+
query_params: [],
|
|
2002
|
+
has_body: false,
|
|
2003
|
+
request_schema: nil,
|
|
2004
|
+
response_schema: "OrganizationSharedPlanRemoval",
|
|
2005
|
+
is_list: false,
|
|
2006
|
+
list_item_schema: nil
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
operation_id: "organization.sharedPlan.updateWorkspace",
|
|
2010
|
+
resource: "sharedPlan",
|
|
2011
|
+
credential: "organization",
|
|
2012
|
+
method_name: "updateWorkspace",
|
|
2013
|
+
http_method: "PATCH",
|
|
2014
|
+
path: "/organizations/{id}/shared-plan/workspaces/{workspace_id}",
|
|
2015
|
+
path_params: ["id", "workspace_id"],
|
|
2016
|
+
query_params: [],
|
|
2017
|
+
has_body: true,
|
|
2018
|
+
request_schema: "OrganizationSharedPlanWorkspaceUpdate",
|
|
2019
|
+
response_schema: "OrganizationSharedPlanWorkspace",
|
|
2020
|
+
is_list: false,
|
|
2021
|
+
list_item_schema: nil
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
operation_id: "organization.usage.list",
|
|
2025
|
+
resource: "usage",
|
|
2026
|
+
credential: "organization",
|
|
2027
|
+
method_name: "list",
|
|
2028
|
+
http_method: "GET",
|
|
2029
|
+
path: "/organizations/{id}/usage",
|
|
2030
|
+
path_params: ["id"],
|
|
2031
|
+
query_params: ["period", "limit", "after", "before", "external_id"],
|
|
2032
|
+
has_body: false,
|
|
2033
|
+
request_schema: nil,
|
|
2034
|
+
response_schema: nil,
|
|
2035
|
+
is_list: true,
|
|
2036
|
+
list_item_schema: "OrganizationWorkspaceUsage"
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
operation_id: "organization.webhooks.create",
|
|
2040
|
+
resource: "webhooks",
|
|
2041
|
+
credential: "organization",
|
|
2042
|
+
method_name: "create",
|
|
2043
|
+
http_method: "POST",
|
|
2044
|
+
path: "/organizations/{id}/webhooks",
|
|
2045
|
+
path_params: ["id"],
|
|
2046
|
+
query_params: [],
|
|
2047
|
+
has_body: true,
|
|
2048
|
+
request_schema: "WebhookCreate",
|
|
2049
|
+
response_schema: "WebhookCreated",
|
|
2050
|
+
is_list: false,
|
|
2051
|
+
list_item_schema: nil
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
operation_id: "organization.webhooks.delete",
|
|
2055
|
+
resource: "webhooks",
|
|
2056
|
+
credential: "organization",
|
|
2057
|
+
method_name: "delete",
|
|
2058
|
+
http_method: "DELETE",
|
|
2059
|
+
path: "/organizations/{id}/webhooks/{webhook_id}",
|
|
2060
|
+
path_params: ["id", "webhook_id"],
|
|
2061
|
+
query_params: [],
|
|
2062
|
+
has_body: false,
|
|
2063
|
+
request_schema: nil,
|
|
2064
|
+
response_schema: nil,
|
|
2065
|
+
is_list: false,
|
|
2066
|
+
list_item_schema: nil
|
|
2067
|
+
},
|
|
2068
|
+
{
|
|
2069
|
+
operation_id: "organization.webhooks.flush",
|
|
2070
|
+
resource: "webhooks",
|
|
2071
|
+
credential: "organization",
|
|
2072
|
+
method_name: "flush",
|
|
2073
|
+
http_method: "POST",
|
|
2074
|
+
path: "/organizations/{id}/webhooks/{webhook_id}/flush",
|
|
2075
|
+
path_params: ["id", "webhook_id"],
|
|
2076
|
+
query_params: [],
|
|
2077
|
+
has_body: true,
|
|
2078
|
+
request_schema: "WebhookFlush",
|
|
2079
|
+
response_schema: "WebhookFlushResult",
|
|
2080
|
+
is_list: false,
|
|
2081
|
+
list_item_schema: nil
|
|
2082
|
+
},
|
|
2083
|
+
{
|
|
2084
|
+
operation_id: "organization.webhooks.get",
|
|
2085
|
+
resource: "webhooks",
|
|
2086
|
+
credential: "organization",
|
|
2087
|
+
method_name: "get",
|
|
2088
|
+
http_method: "GET",
|
|
2089
|
+
path: "/organizations/{id}/webhooks/{webhook_id}",
|
|
2090
|
+
path_params: ["id", "webhook_id"],
|
|
2091
|
+
query_params: [],
|
|
2092
|
+
has_body: false,
|
|
2093
|
+
request_schema: nil,
|
|
2094
|
+
response_schema: "Webhook",
|
|
2095
|
+
is_list: false,
|
|
2096
|
+
list_item_schema: nil
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
operation_id: "organization.webhooks.list",
|
|
2100
|
+
resource: "webhooks",
|
|
2101
|
+
credential: "organization",
|
|
2102
|
+
method_name: "list",
|
|
2103
|
+
http_method: "GET",
|
|
2104
|
+
path: "/organizations/{id}/webhooks",
|
|
2105
|
+
path_params: ["id"],
|
|
2106
|
+
query_params: ["limit", "after", "before"],
|
|
2107
|
+
has_body: false,
|
|
2108
|
+
request_schema: nil,
|
|
2109
|
+
response_schema: nil,
|
|
2110
|
+
is_list: true,
|
|
2111
|
+
list_item_schema: "Webhook"
|
|
2112
|
+
},
|
|
2113
|
+
{
|
|
2114
|
+
operation_id: "organization.webhooks.listDeliveries",
|
|
2115
|
+
resource: "webhooks",
|
|
2116
|
+
credential: "organization",
|
|
2117
|
+
method_name: "listDeliveries",
|
|
2118
|
+
http_method: "GET",
|
|
2119
|
+
path: "/organizations/{id}/webhooks/{webhook_id}/deliveries",
|
|
2120
|
+
path_params: ["id", "webhook_id"],
|
|
2121
|
+
query_params: ["limit", "after", "before", "status", "event_type", "workspace_id", "external_id"],
|
|
2122
|
+
has_body: false,
|
|
2123
|
+
request_schema: nil,
|
|
2124
|
+
response_schema: nil,
|
|
2125
|
+
is_list: true,
|
|
2126
|
+
list_item_schema: "OrganizationWebhookDelivery"
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
operation_id: "organization.webhooks.replayDelivery",
|
|
2130
|
+
resource: "webhooks",
|
|
2131
|
+
credential: "organization",
|
|
2132
|
+
method_name: "replayDelivery",
|
|
2133
|
+
http_method: "POST",
|
|
2134
|
+
path: "/organizations/{id}/webhooks/{webhook_id}/deliveries/{delivery}/replay",
|
|
2135
|
+
path_params: ["id", "webhook_id", "delivery"],
|
|
2136
|
+
query_params: [],
|
|
2137
|
+
has_body: false,
|
|
2138
|
+
request_schema: nil,
|
|
2139
|
+
response_schema: "WebhookDeliveryReplay",
|
|
2140
|
+
is_list: false,
|
|
2141
|
+
list_item_schema: nil
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
operation_id: "organization.webhooks.rotateSecret",
|
|
2145
|
+
resource: "webhooks",
|
|
2146
|
+
credential: "organization",
|
|
2147
|
+
method_name: "rotateSecret",
|
|
2148
|
+
http_method: "POST",
|
|
2149
|
+
path: "/organizations/{id}/webhooks/{webhook_id}/rotate-secret",
|
|
2150
|
+
path_params: ["id", "webhook_id"],
|
|
2151
|
+
query_params: [],
|
|
2152
|
+
has_body: false,
|
|
2153
|
+
request_schema: nil,
|
|
2154
|
+
response_schema: "WebhookSecretRotated",
|
|
2155
|
+
is_list: false,
|
|
2156
|
+
list_item_schema: nil
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
operation_id: "organization.webhooks.test",
|
|
2160
|
+
resource: "webhooks",
|
|
2161
|
+
credential: "organization",
|
|
2162
|
+
method_name: "test",
|
|
2163
|
+
http_method: "POST",
|
|
2164
|
+
path: "/organizations/{id}/webhooks/{webhook_id}/test",
|
|
2165
|
+
path_params: ["id", "webhook_id"],
|
|
2166
|
+
query_params: [],
|
|
2167
|
+
has_body: false,
|
|
2168
|
+
request_schema: nil,
|
|
2169
|
+
response_schema: "WebhookTestResult",
|
|
2170
|
+
is_list: false,
|
|
2171
|
+
list_item_schema: nil
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
operation_id: "organization.webhooks.update",
|
|
2175
|
+
resource: "webhooks",
|
|
2176
|
+
credential: "organization",
|
|
2177
|
+
method_name: "update",
|
|
2178
|
+
http_method: "PATCH",
|
|
2179
|
+
path: "/organizations/{id}/webhooks/{webhook_id}",
|
|
2180
|
+
path_params: ["id", "webhook_id"],
|
|
2181
|
+
query_params: [],
|
|
2182
|
+
has_body: true,
|
|
2183
|
+
request_schema: "WebhookUpdate",
|
|
2184
|
+
response_schema: "Webhook",
|
|
2185
|
+
is_list: false,
|
|
2186
|
+
list_item_schema: nil
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
operation_id: "organization.workspaceKeys.create",
|
|
2190
|
+
resource: "workspaceKeys",
|
|
2191
|
+
credential: "organization",
|
|
2192
|
+
method_name: "create",
|
|
2193
|
+
http_method: "POST",
|
|
2194
|
+
path: "/organizations/{id}/workspaces/{workspace_id}/api-keys",
|
|
2195
|
+
path_params: ["id", "workspace_id"],
|
|
2196
|
+
query_params: [],
|
|
2197
|
+
has_body: true,
|
|
2198
|
+
request_schema: "WorkspaceKeyMint",
|
|
2199
|
+
response_schema: "MintedWorkspaceKey",
|
|
2200
|
+
is_list: false,
|
|
2201
|
+
list_item_schema: nil
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
operation_id: "organization.workspaces.close",
|
|
2205
|
+
resource: "workspaces",
|
|
2206
|
+
credential: "organization",
|
|
2207
|
+
method_name: "close",
|
|
2208
|
+
http_method: "POST",
|
|
2209
|
+
path: "/organizations/{id}/workspaces/{workspace_id}/close",
|
|
2210
|
+
path_params: ["id", "workspace_id"],
|
|
2211
|
+
query_params: [],
|
|
2212
|
+
has_body: false,
|
|
2213
|
+
request_schema: nil,
|
|
2214
|
+
response_schema: "OrganizationWorkspace",
|
|
2215
|
+
is_list: false,
|
|
2216
|
+
list_item_schema: nil
|
|
2217
|
+
},
|
|
2218
|
+
{
|
|
2219
|
+
operation_id: "organization.workspaces.create",
|
|
2220
|
+
resource: "workspaces",
|
|
2221
|
+
credential: "organization",
|
|
2222
|
+
method_name: "create",
|
|
2223
|
+
http_method: "POST",
|
|
2224
|
+
path: "/organizations/{id}/workspaces",
|
|
2225
|
+
path_params: ["id"],
|
|
2226
|
+
query_params: [],
|
|
2227
|
+
has_body: true,
|
|
2228
|
+
request_schema: "OrganizationWorkspaceCreate",
|
|
2229
|
+
response_schema: "OrganizationWorkspace",
|
|
2230
|
+
is_list: false,
|
|
2231
|
+
list_item_schema: nil
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
operation_id: "organization.workspaces.get",
|
|
2235
|
+
resource: "workspaces",
|
|
2236
|
+
credential: "organization",
|
|
2237
|
+
method_name: "get",
|
|
2238
|
+
http_method: "GET",
|
|
2239
|
+
path: "/organizations/{id}/workspaces/{workspace_id}",
|
|
2240
|
+
path_params: ["id", "workspace_id"],
|
|
2241
|
+
query_params: [],
|
|
2242
|
+
has_body: false,
|
|
2243
|
+
request_schema: nil,
|
|
2244
|
+
response_schema: "OrganizationWorkspace",
|
|
2245
|
+
is_list: false,
|
|
2246
|
+
list_item_schema: nil
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
operation_id: "organization.workspaces.list",
|
|
2250
|
+
resource: "workspaces",
|
|
2251
|
+
credential: "organization",
|
|
2252
|
+
method_name: "list",
|
|
2253
|
+
http_method: "GET",
|
|
2254
|
+
path: "/organizations/{id}/workspaces",
|
|
2255
|
+
path_params: ["id"],
|
|
2256
|
+
query_params: ["limit", "after", "before", "external_id"],
|
|
2257
|
+
has_body: false,
|
|
2258
|
+
request_schema: nil,
|
|
2259
|
+
response_schema: nil,
|
|
2260
|
+
is_list: true,
|
|
2261
|
+
list_item_schema: "OrganizationWorkspace"
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
operation_id: "organization.workspaces.restore",
|
|
2265
|
+
resource: "workspaces",
|
|
2266
|
+
credential: "organization",
|
|
2267
|
+
method_name: "restore",
|
|
2268
|
+
http_method: "POST",
|
|
2269
|
+
path: "/organizations/{id}/workspaces/{workspace_id}/restore",
|
|
2270
|
+
path_params: ["id", "workspace_id"],
|
|
2271
|
+
query_params: [],
|
|
2272
|
+
has_body: false,
|
|
2273
|
+
request_schema: nil,
|
|
2274
|
+
response_schema: "OrganizationWorkspace",
|
|
2275
|
+
is_list: false,
|
|
2276
|
+
list_item_schema: nil
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
operation_id: "organization.workspaces.update",
|
|
2280
|
+
resource: "workspaces",
|
|
2281
|
+
credential: "organization",
|
|
2282
|
+
method_name: "update",
|
|
2283
|
+
http_method: "PATCH",
|
|
2284
|
+
path: "/organizations/{id}/workspaces/{workspace_id}",
|
|
2285
|
+
path_params: ["id", "workspace_id"],
|
|
2286
|
+
query_params: [],
|
|
2287
|
+
has_body: true,
|
|
2288
|
+
request_schema: "OrganizationWorkspaceUpdate",
|
|
2289
|
+
response_schema: "OrganizationWorkspace",
|
|
2290
|
+
is_list: false,
|
|
2291
|
+
list_item_schema: nil
|
|
2292
|
+
},
|
|
2293
|
+
{
|
|
2294
|
+
operation_id: "segments.addMember",
|
|
2295
|
+
resource: "segments",
|
|
2296
|
+
credential: "workspace",
|
|
2297
|
+
method_name: "addMember",
|
|
2298
|
+
http_method: "POST",
|
|
2299
|
+
path: "/segments/{id}/contacts",
|
|
2300
|
+
path_params: ["id"],
|
|
2301
|
+
query_params: [],
|
|
2302
|
+
has_body: true,
|
|
2303
|
+
request_schema: "SegmentMemberAdd",
|
|
2304
|
+
response_schema: "SegmentMember",
|
|
2305
|
+
is_list: false,
|
|
2306
|
+
list_item_schema: nil
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
operation_id: "segments.allContacts",
|
|
2310
|
+
resource: "segments",
|
|
2311
|
+
credential: "workspace",
|
|
2312
|
+
method_name: "allContacts",
|
|
2313
|
+
http_method: "POST",
|
|
2314
|
+
path: "/segments/all-contacts",
|
|
2315
|
+
path_params: [],
|
|
2316
|
+
query_params: [],
|
|
2317
|
+
has_body: false,
|
|
2318
|
+
request_schema: nil,
|
|
2319
|
+
response_schema: "Segment",
|
|
2320
|
+
is_list: false,
|
|
2321
|
+
list_item_schema: nil
|
|
2322
|
+
},
|
|
2323
|
+
{
|
|
2324
|
+
operation_id: "segments.create",
|
|
2325
|
+
resource: "segments",
|
|
2326
|
+
credential: "workspace",
|
|
2327
|
+
method_name: "create",
|
|
2328
|
+
http_method: "POST",
|
|
2329
|
+
path: "/segments",
|
|
2330
|
+
path_params: [],
|
|
2331
|
+
query_params: [],
|
|
2332
|
+
has_body: true,
|
|
2333
|
+
request_schema: "SegmentCreate",
|
|
2334
|
+
response_schema: "Segment",
|
|
2335
|
+
is_list: false,
|
|
2336
|
+
list_item_schema: nil
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
operation_id: "segments.delete",
|
|
2340
|
+
resource: "segments",
|
|
2341
|
+
credential: "workspace",
|
|
2342
|
+
method_name: "delete",
|
|
2343
|
+
http_method: "DELETE",
|
|
2344
|
+
path: "/segments/{id}",
|
|
2345
|
+
path_params: ["id"],
|
|
2346
|
+
query_params: [],
|
|
2347
|
+
has_body: false,
|
|
2348
|
+
request_schema: nil,
|
|
2349
|
+
response_schema: nil,
|
|
2350
|
+
is_list: false,
|
|
2351
|
+
list_item_schema: nil
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
operation_id: "segments.get",
|
|
2355
|
+
resource: "segments",
|
|
2356
|
+
credential: "workspace",
|
|
2357
|
+
method_name: "get",
|
|
2358
|
+
http_method: "GET",
|
|
2359
|
+
path: "/segments/{id}",
|
|
2360
|
+
path_params: ["id"],
|
|
2361
|
+
query_params: [],
|
|
2362
|
+
has_body: false,
|
|
2363
|
+
request_schema: nil,
|
|
2364
|
+
response_schema: "Segment",
|
|
2365
|
+
is_list: false,
|
|
2366
|
+
list_item_schema: nil
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
operation_id: "segments.list",
|
|
2370
|
+
resource: "segments",
|
|
2371
|
+
credential: "workspace",
|
|
2372
|
+
method_name: "list",
|
|
2373
|
+
http_method: "GET",
|
|
2374
|
+
path: "/segments",
|
|
2375
|
+
path_params: [],
|
|
2376
|
+
query_params: ["limit", "after", "before", "archived"],
|
|
2377
|
+
has_body: false,
|
|
2378
|
+
request_schema: nil,
|
|
2379
|
+
response_schema: nil,
|
|
2380
|
+
is_list: true,
|
|
2381
|
+
list_item_schema: "Segment"
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
operation_id: "segments.listMembers",
|
|
2385
|
+
resource: "segments",
|
|
2386
|
+
credential: "workspace",
|
|
2387
|
+
method_name: "listMembers",
|
|
2388
|
+
http_method: "GET",
|
|
2389
|
+
path: "/segments/{id}/contacts",
|
|
2390
|
+
path_params: ["id"],
|
|
2391
|
+
query_params: ["limit", "after", "before"],
|
|
2392
|
+
has_body: false,
|
|
2393
|
+
request_schema: nil,
|
|
2394
|
+
response_schema: nil,
|
|
2395
|
+
is_list: true,
|
|
2396
|
+
list_item_schema: "SegmentMember"
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
operation_id: "segments.preview",
|
|
2400
|
+
resource: "segments",
|
|
2401
|
+
credential: "workspace",
|
|
2402
|
+
method_name: "preview",
|
|
2403
|
+
http_method: "GET",
|
|
2404
|
+
path: "/segments/{id}/preview",
|
|
2405
|
+
path_params: ["id"],
|
|
2406
|
+
query_params: [],
|
|
2407
|
+
has_body: false,
|
|
2408
|
+
request_schema: nil,
|
|
2409
|
+
response_schema: "SegmentPreview",
|
|
2410
|
+
is_list: false,
|
|
2411
|
+
list_item_schema: nil
|
|
2412
|
+
},
|
|
2413
|
+
{
|
|
2414
|
+
operation_id: "segments.previewFilter",
|
|
2415
|
+
resource: "segments",
|
|
2416
|
+
credential: "workspace",
|
|
2417
|
+
method_name: "previewFilter",
|
|
2418
|
+
http_method: "POST",
|
|
2419
|
+
path: "/segments/preview",
|
|
2420
|
+
path_params: [],
|
|
2421
|
+
query_params: [],
|
|
2422
|
+
has_body: true,
|
|
2423
|
+
request_schema: "SegmentPreviewRequest",
|
|
2424
|
+
response_schema: "SegmentPreview",
|
|
2425
|
+
is_list: false,
|
|
2426
|
+
list_item_schema: nil
|
|
2427
|
+
},
|
|
2428
|
+
{
|
|
2429
|
+
operation_id: "segments.removeMember",
|
|
2430
|
+
resource: "segments",
|
|
2431
|
+
credential: "workspace",
|
|
2432
|
+
method_name: "removeMember",
|
|
2433
|
+
http_method: "DELETE",
|
|
2434
|
+
path: "/segments/{id}/contacts/{contact}",
|
|
2435
|
+
path_params: ["id", "contact"],
|
|
2436
|
+
query_params: [],
|
|
2437
|
+
has_body: false,
|
|
2438
|
+
request_schema: nil,
|
|
2439
|
+
response_schema: nil,
|
|
2440
|
+
is_list: false,
|
|
2441
|
+
list_item_schema: nil
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
operation_id: "segments.update",
|
|
2445
|
+
resource: "segments",
|
|
2446
|
+
credential: "workspace",
|
|
2447
|
+
method_name: "update",
|
|
2448
|
+
http_method: "PATCH",
|
|
2449
|
+
path: "/segments/{id}",
|
|
2450
|
+
path_params: ["id"],
|
|
2451
|
+
query_params: [],
|
|
2452
|
+
has_body: true,
|
|
2453
|
+
request_schema: "SegmentUpdate",
|
|
2454
|
+
response_schema: "Segment",
|
|
2455
|
+
is_list: false,
|
|
2456
|
+
list_item_schema: nil
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
operation_id: "segments.updateMember",
|
|
2460
|
+
resource: "segments",
|
|
2461
|
+
credential: "workspace",
|
|
2462
|
+
method_name: "updateMember",
|
|
2463
|
+
http_method: "PATCH",
|
|
2464
|
+
path: "/segments/{id}/contacts/{contact}",
|
|
2465
|
+
path_params: ["id", "contact"],
|
|
2466
|
+
query_params: [],
|
|
2467
|
+
has_body: true,
|
|
2468
|
+
request_schema: "SegmentMemberUpdate",
|
|
2469
|
+
response_schema: "SegmentMember",
|
|
2470
|
+
is_list: false,
|
|
2471
|
+
list_item_schema: nil
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
operation_id: "sms.addBrandDocument",
|
|
2475
|
+
resource: "sms",
|
|
2476
|
+
credential: "workspace",
|
|
2477
|
+
method_name: "addBrandDocument",
|
|
2478
|
+
http_method: "POST",
|
|
2479
|
+
path: "/sms/brands/{id}/documents",
|
|
2480
|
+
path_params: ["id"],
|
|
2481
|
+
query_params: [],
|
|
2482
|
+
has_body: true,
|
|
2483
|
+
request_schema: "SmsBrandDocumentCreate",
|
|
2484
|
+
response_schema: "SmsBrandDocument",
|
|
2485
|
+
is_list: false,
|
|
2486
|
+
list_item_schema: nil
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
operation_id: "sms.addContact",
|
|
2490
|
+
resource: "sms",
|
|
2491
|
+
credential: "workspace",
|
|
2492
|
+
method_name: "addContact",
|
|
2493
|
+
http_method: "POST",
|
|
2494
|
+
path: "/sms/{id}/contact",
|
|
2495
|
+
path_params: ["id"],
|
|
2496
|
+
query_params: [],
|
|
2497
|
+
has_body: true,
|
|
2498
|
+
request_schema: "SmsAddContact",
|
|
2499
|
+
response_schema: "Contact",
|
|
2500
|
+
is_list: false,
|
|
2501
|
+
list_item_schema: nil
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
operation_id: "sms.addJoinKeyword",
|
|
2505
|
+
resource: "sms",
|
|
2506
|
+
credential: "workspace",
|
|
2507
|
+
method_name: "addJoinKeyword",
|
|
2508
|
+
http_method: "POST",
|
|
2509
|
+
path: "/sms/numbers/{id}/join-keywords",
|
|
2510
|
+
path_params: ["id"],
|
|
2511
|
+
query_params: [],
|
|
2512
|
+
has_body: true,
|
|
2513
|
+
request_schema: "SmsJoinKeywordCreate",
|
|
2514
|
+
response_schema: "SmsJoinKeywordCreated",
|
|
2515
|
+
is_list: false,
|
|
2516
|
+
list_item_schema: nil
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
operation_id: "sms.billing.listResources",
|
|
2520
|
+
resource: "sms.billing",
|
|
2521
|
+
credential: "workspace",
|
|
2522
|
+
method_name: "listResources",
|
|
2523
|
+
http_method: "GET",
|
|
2524
|
+
path: "/sms/billing/resources",
|
|
2525
|
+
path_params: [],
|
|
2526
|
+
query_params: ["limit", "after", "before"],
|
|
2527
|
+
has_body: false,
|
|
2528
|
+
request_schema: nil,
|
|
2529
|
+
response_schema: nil,
|
|
2530
|
+
is_list: true,
|
|
2531
|
+
list_item_schema: "SmsBillableResource"
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
operation_id: "sms.brandDocumentUrl",
|
|
2535
|
+
resource: "sms",
|
|
2536
|
+
credential: "workspace",
|
|
2537
|
+
method_name: "brandDocumentUrl",
|
|
2538
|
+
http_method: "GET",
|
|
2539
|
+
path: "/sms/brands/{id}/documents/{documentId}/url",
|
|
2540
|
+
path_params: ["id", "documentId"],
|
|
2541
|
+
query_params: [],
|
|
2542
|
+
has_body: false,
|
|
2543
|
+
request_schema: nil,
|
|
2544
|
+
response_schema: "SmsBrandDocumentUrl",
|
|
2545
|
+
is_list: false,
|
|
2546
|
+
list_item_schema: nil
|
|
2547
|
+
},
|
|
2548
|
+
{
|
|
2549
|
+
operation_id: "sms.brands",
|
|
2550
|
+
resource: "sms",
|
|
2551
|
+
credential: "workspace",
|
|
2552
|
+
method_name: "brands",
|
|
2553
|
+
http_method: "GET",
|
|
2554
|
+
path: "/sms/brands",
|
|
2555
|
+
path_params: [],
|
|
2556
|
+
query_params: ["limit", "after", "before"],
|
|
2557
|
+
has_body: false,
|
|
2558
|
+
request_schema: nil,
|
|
2559
|
+
response_schema: nil,
|
|
2560
|
+
is_list: true,
|
|
2561
|
+
list_item_schema: "SmsBrand"
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
operation_id: "sms.campaigns.cancel",
|
|
2565
|
+
resource: "sms.campaigns",
|
|
2566
|
+
credential: "workspace",
|
|
2567
|
+
method_name: "cancel",
|
|
2568
|
+
http_method: "POST",
|
|
2569
|
+
path: "/sms/campaigns/{id}/cancel",
|
|
2570
|
+
path_params: ["id"],
|
|
2571
|
+
query_params: [],
|
|
2572
|
+
has_body: false,
|
|
2573
|
+
request_schema: nil,
|
|
2574
|
+
response_schema: "SmsCampaign",
|
|
2575
|
+
is_list: false,
|
|
2576
|
+
list_item_schema: nil
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
operation_id: "sms.campaigns.create",
|
|
2580
|
+
resource: "sms.campaigns",
|
|
2581
|
+
credential: "workspace",
|
|
2582
|
+
method_name: "create",
|
|
2583
|
+
http_method: "POST",
|
|
2584
|
+
path: "/sms/campaigns",
|
|
2585
|
+
path_params: [],
|
|
2586
|
+
query_params: [],
|
|
2587
|
+
has_body: true,
|
|
2588
|
+
request_schema: "SmsCampaignCreate",
|
|
2589
|
+
response_schema: "SmsCampaign",
|
|
2590
|
+
is_list: false,
|
|
2591
|
+
list_item_schema: nil
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
operation_id: "sms.campaigns.delete",
|
|
2595
|
+
resource: "sms.campaigns",
|
|
2596
|
+
credential: "workspace",
|
|
2597
|
+
method_name: "delete",
|
|
2598
|
+
http_method: "DELETE",
|
|
2599
|
+
path: "/sms/campaigns/{id}",
|
|
2600
|
+
path_params: ["id"],
|
|
2601
|
+
query_params: [],
|
|
2602
|
+
has_body: false,
|
|
2603
|
+
request_schema: nil,
|
|
2604
|
+
response_schema: nil,
|
|
2605
|
+
is_list: false,
|
|
2606
|
+
list_item_schema: nil
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
operation_id: "sms.campaigns.duplicate",
|
|
2610
|
+
resource: "sms.campaigns",
|
|
2611
|
+
credential: "workspace",
|
|
2612
|
+
method_name: "duplicate",
|
|
2613
|
+
http_method: "POST",
|
|
2614
|
+
path: "/sms/campaigns/{id}/duplicate",
|
|
2615
|
+
path_params: ["id"],
|
|
2616
|
+
query_params: [],
|
|
2617
|
+
has_body: true,
|
|
2618
|
+
request_schema: "CampaignDuplicate",
|
|
2619
|
+
response_schema: "SmsCampaign",
|
|
2620
|
+
is_list: false,
|
|
2621
|
+
list_item_schema: nil
|
|
2622
|
+
},
|
|
2623
|
+
{
|
|
2624
|
+
operation_id: "sms.campaigns.get",
|
|
2625
|
+
resource: "sms.campaigns",
|
|
2626
|
+
credential: "workspace",
|
|
2627
|
+
method_name: "get",
|
|
2628
|
+
http_method: "GET",
|
|
2629
|
+
path: "/sms/campaigns/{id}",
|
|
2630
|
+
path_params: ["id"],
|
|
2631
|
+
query_params: [],
|
|
2632
|
+
has_body: false,
|
|
2633
|
+
request_schema: nil,
|
|
2634
|
+
response_schema: "SmsCampaign",
|
|
2635
|
+
is_list: false,
|
|
2636
|
+
list_item_schema: nil
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
operation_id: "sms.campaigns.list",
|
|
2640
|
+
resource: "sms.campaigns",
|
|
2641
|
+
credential: "workspace",
|
|
2642
|
+
method_name: "list",
|
|
2643
|
+
http_method: "GET",
|
|
2644
|
+
path: "/sms/campaigns",
|
|
2645
|
+
path_params: [],
|
|
2646
|
+
query_params: ["limit", "after", "before", "archived", "topic_id", "segment_id"],
|
|
2647
|
+
has_body: false,
|
|
2648
|
+
request_schema: nil,
|
|
2649
|
+
response_schema: nil,
|
|
2650
|
+
is_list: true,
|
|
2651
|
+
list_item_schema: "SmsCampaign"
|
|
2652
|
+
},
|
|
2653
|
+
{
|
|
2654
|
+
operation_id: "sms.campaigns.listRecipients",
|
|
2655
|
+
resource: "sms.campaigns",
|
|
2656
|
+
credential: "workspace",
|
|
2657
|
+
method_name: "listRecipients",
|
|
2658
|
+
http_method: "GET",
|
|
2659
|
+
path: "/sms/campaigns/{id}/recipients",
|
|
2660
|
+
path_params: ["id"],
|
|
2661
|
+
query_params: ["limit", "after", "before", "q"],
|
|
2662
|
+
has_body: false,
|
|
2663
|
+
request_schema: nil,
|
|
2664
|
+
response_schema: nil,
|
|
2665
|
+
is_list: true,
|
|
2666
|
+
list_item_schema: "SmsCampaignRecipient"
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
operation_id: "sms.campaigns.pause",
|
|
2670
|
+
resource: "sms.campaigns",
|
|
2671
|
+
credential: "workspace",
|
|
2672
|
+
method_name: "pause",
|
|
2673
|
+
http_method: "POST",
|
|
2674
|
+
path: "/sms/campaigns/{id}/pause",
|
|
2675
|
+
path_params: ["id"],
|
|
2676
|
+
query_params: [],
|
|
2677
|
+
has_body: false,
|
|
2678
|
+
request_schema: nil,
|
|
2679
|
+
response_schema: "SmsCampaign",
|
|
2680
|
+
is_list: false,
|
|
2681
|
+
list_item_schema: nil
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
operation_id: "sms.campaigns.reschedule",
|
|
2685
|
+
resource: "sms.campaigns",
|
|
2686
|
+
credential: "workspace",
|
|
2687
|
+
method_name: "reschedule",
|
|
2688
|
+
http_method: "POST",
|
|
2689
|
+
path: "/sms/campaigns/{id}/reschedule",
|
|
2690
|
+
path_params: ["id"],
|
|
2691
|
+
query_params: [],
|
|
2692
|
+
has_body: true,
|
|
2693
|
+
request_schema: "SmsCampaignReschedule",
|
|
2694
|
+
response_schema: "SmsCampaign",
|
|
2695
|
+
is_list: false,
|
|
2696
|
+
list_item_schema: nil
|
|
2697
|
+
},
|
|
2698
|
+
{
|
|
2699
|
+
operation_id: "sms.campaigns.resume",
|
|
2700
|
+
resource: "sms.campaigns",
|
|
2701
|
+
credential: "workspace",
|
|
2702
|
+
method_name: "resume",
|
|
2703
|
+
http_method: "POST",
|
|
2704
|
+
path: "/sms/campaigns/{id}/resume",
|
|
2705
|
+
path_params: ["id"],
|
|
2706
|
+
query_params: [],
|
|
2707
|
+
has_body: false,
|
|
2708
|
+
request_schema: nil,
|
|
2709
|
+
response_schema: "SmsCampaign",
|
|
2710
|
+
is_list: false,
|
|
2711
|
+
list_item_schema: nil
|
|
2712
|
+
},
|
|
2713
|
+
{
|
|
2714
|
+
operation_id: "sms.campaigns.send",
|
|
2715
|
+
resource: "sms.campaigns",
|
|
2716
|
+
credential: "workspace",
|
|
2717
|
+
method_name: "send",
|
|
2718
|
+
http_method: "POST",
|
|
2719
|
+
path: "/sms/campaigns/{id}/send",
|
|
2720
|
+
path_params: ["id"],
|
|
2721
|
+
query_params: [],
|
|
2722
|
+
has_body: true,
|
|
2723
|
+
request_schema: "SmsCampaignSend",
|
|
2724
|
+
response_schema: "SmsCampaign",
|
|
2725
|
+
is_list: false,
|
|
2726
|
+
list_item_schema: nil
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
operation_id: "sms.campaigns.unschedule",
|
|
2730
|
+
resource: "sms.campaigns",
|
|
2731
|
+
credential: "workspace",
|
|
2732
|
+
method_name: "unschedule",
|
|
2733
|
+
http_method: "POST",
|
|
2734
|
+
path: "/sms/campaigns/{id}/unschedule",
|
|
2735
|
+
path_params: ["id"],
|
|
2736
|
+
query_params: [],
|
|
2737
|
+
has_body: false,
|
|
2738
|
+
request_schema: nil,
|
|
2739
|
+
response_schema: "SmsCampaign",
|
|
2740
|
+
is_list: false,
|
|
2741
|
+
list_item_schema: nil
|
|
2742
|
+
},
|
|
2743
|
+
{
|
|
2744
|
+
operation_id: "sms.campaigns.update",
|
|
2745
|
+
resource: "sms.campaigns",
|
|
2746
|
+
credential: "workspace",
|
|
2747
|
+
method_name: "update",
|
|
2748
|
+
http_method: "PATCH",
|
|
2749
|
+
path: "/sms/campaigns/{id}",
|
|
2750
|
+
path_params: ["id"],
|
|
2751
|
+
query_params: [],
|
|
2752
|
+
has_body: true,
|
|
2753
|
+
request_schema: "SmsCampaignUpdate",
|
|
2754
|
+
response_schema: "SmsCampaign",
|
|
2755
|
+
is_list: false,
|
|
2756
|
+
list_item_schema: nil
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
operation_id: "sms.campaigns.validate",
|
|
2760
|
+
resource: "sms.campaigns",
|
|
2761
|
+
credential: "workspace",
|
|
2762
|
+
method_name: "validate",
|
|
2763
|
+
http_method: "GET",
|
|
2764
|
+
path: "/sms/campaigns/{id}/validate",
|
|
2765
|
+
path_params: ["id"],
|
|
2766
|
+
query_params: [],
|
|
2767
|
+
has_body: false,
|
|
2768
|
+
request_schema: nil,
|
|
2769
|
+
response_schema: "SmsCampaignValidation",
|
|
2770
|
+
is_list: false,
|
|
2771
|
+
list_item_schema: nil
|
|
2772
|
+
},
|
|
2773
|
+
{
|
|
2774
|
+
operation_id: "sms.consentSetups.list",
|
|
2775
|
+
resource: "sms.consentSetups",
|
|
2776
|
+
credential: "workspace",
|
|
2777
|
+
method_name: "list",
|
|
2778
|
+
http_method: "GET",
|
|
2779
|
+
path: "/sms/consent-setups",
|
|
2780
|
+
path_params: [],
|
|
2781
|
+
query_params: ["limit", "after", "before"],
|
|
2782
|
+
has_body: false,
|
|
2783
|
+
request_schema: nil,
|
|
2784
|
+
response_schema: nil,
|
|
2785
|
+
is_list: true,
|
|
2786
|
+
list_item_schema: "SmsConsentSetup"
|
|
2787
|
+
},
|
|
2788
|
+
{
|
|
2789
|
+
operation_id: "sms.createBrand",
|
|
2790
|
+
resource: "sms",
|
|
2791
|
+
credential: "workspace",
|
|
2792
|
+
method_name: "createBrand",
|
|
2793
|
+
http_method: "POST",
|
|
2794
|
+
path: "/sms/brands",
|
|
2795
|
+
path_params: [],
|
|
2796
|
+
query_params: [],
|
|
2797
|
+
has_body: true,
|
|
2798
|
+
request_schema: "SmsBrandCreate",
|
|
2799
|
+
response_schema: "SmsBrand",
|
|
2800
|
+
is_list: false,
|
|
2801
|
+
list_item_schema: nil
|
|
2802
|
+
},
|
|
2803
|
+
{
|
|
2804
|
+
operation_id: "sms.get",
|
|
2805
|
+
resource: "sms",
|
|
2806
|
+
credential: "workspace",
|
|
2807
|
+
method_name: "get",
|
|
2808
|
+
http_method: "GET",
|
|
2809
|
+
path: "/sms/{id}",
|
|
2810
|
+
path_params: ["id"],
|
|
2811
|
+
query_params: [],
|
|
2812
|
+
has_body: false,
|
|
2813
|
+
request_schema: nil,
|
|
2814
|
+
response_schema: "Sms",
|
|
2815
|
+
is_list: false,
|
|
2816
|
+
list_item_schema: nil
|
|
2817
|
+
},
|
|
2818
|
+
{
|
|
2819
|
+
operation_id: "sms.getBrand",
|
|
2820
|
+
resource: "sms",
|
|
2821
|
+
credential: "workspace",
|
|
2822
|
+
method_name: "getBrand",
|
|
2823
|
+
http_method: "GET",
|
|
2824
|
+
path: "/sms/brands/{id}",
|
|
2825
|
+
path_params: ["id"],
|
|
2826
|
+
query_params: [],
|
|
2827
|
+
has_body: false,
|
|
2828
|
+
request_schema: nil,
|
|
2829
|
+
response_schema: "SmsBrand",
|
|
2830
|
+
is_list: false,
|
|
2831
|
+
list_item_schema: nil
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
operation_id: "sms.getBrandDocument",
|
|
2835
|
+
resource: "sms",
|
|
2836
|
+
credential: "workspace",
|
|
2837
|
+
method_name: "getBrandDocument",
|
|
2838
|
+
http_method: "GET",
|
|
2839
|
+
path: "/sms/brands/{id}/documents/{documentId}",
|
|
2840
|
+
path_params: ["id", "documentId"],
|
|
2841
|
+
query_params: [],
|
|
2842
|
+
has_body: false,
|
|
2843
|
+
request_schema: nil,
|
|
2844
|
+
response_schema: "SmsBrandDocument",
|
|
2845
|
+
is_list: false,
|
|
2846
|
+
list_item_schema: nil
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
operation_id: "sms.getNumber",
|
|
2850
|
+
resource: "sms",
|
|
2851
|
+
credential: "workspace",
|
|
2852
|
+
method_name: "getNumber",
|
|
2853
|
+
http_method: "GET",
|
|
2854
|
+
path: "/sms/numbers/{id}",
|
|
2855
|
+
path_params: ["id"],
|
|
2856
|
+
query_params: [],
|
|
2857
|
+
has_body: false,
|
|
2858
|
+
request_schema: nil,
|
|
2859
|
+
response_schema: "SmsNumber",
|
|
2860
|
+
is_list: false,
|
|
2861
|
+
list_item_schema: nil
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
operation_id: "sms.list",
|
|
2865
|
+
resource: "sms",
|
|
2866
|
+
credential: "workspace",
|
|
2867
|
+
method_name: "list",
|
|
2868
|
+
http_method: "GET",
|
|
2869
|
+
path: "/sms",
|
|
2870
|
+
path_params: [],
|
|
2871
|
+
query_params: ["limit", "after", "before", "direction", "status", "from", "to", "participant", "contact_id", "campaign_id", "created_after", "created_before", "sender_id", "q", "type", "tag"],
|
|
2872
|
+
has_body: false,
|
|
2873
|
+
request_schema: nil,
|
|
2874
|
+
response_schema: nil,
|
|
2875
|
+
is_list: true,
|
|
2876
|
+
list_item_schema: "Sms"
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
operation_id: "sms.listBrandDocuments",
|
|
2880
|
+
resource: "sms",
|
|
2881
|
+
credential: "workspace",
|
|
2882
|
+
method_name: "listBrandDocuments",
|
|
2883
|
+
http_method: "GET",
|
|
2884
|
+
path: "/sms/brands/{id}/documents",
|
|
2885
|
+
path_params: ["id"],
|
|
2886
|
+
query_params: [],
|
|
2887
|
+
has_body: false,
|
|
2888
|
+
request_schema: nil,
|
|
2889
|
+
response_schema: nil,
|
|
2890
|
+
is_list: true,
|
|
2891
|
+
list_item_schema: "SmsBrandDocument"
|
|
2892
|
+
},
|
|
2893
|
+
{
|
|
2894
|
+
operation_id: "sms.listJoinKeywords",
|
|
2895
|
+
resource: "sms",
|
|
2896
|
+
credential: "workspace",
|
|
2897
|
+
method_name: "listJoinKeywords",
|
|
2898
|
+
http_method: "GET",
|
|
2899
|
+
path: "/sms/numbers/{id}/join-keywords",
|
|
2900
|
+
path_params: ["id"],
|
|
2901
|
+
query_params: [],
|
|
2902
|
+
has_body: false,
|
|
2903
|
+
request_schema: nil,
|
|
2904
|
+
response_schema: "SmsJoinKeywordList",
|
|
2905
|
+
is_list: false,
|
|
2906
|
+
list_item_schema: nil
|
|
2907
|
+
},
|
|
2908
|
+
{
|
|
2909
|
+
operation_id: "sms.messagingPrograms.create",
|
|
2910
|
+
resource: "sms.messagingPrograms",
|
|
2911
|
+
credential: "workspace",
|
|
2912
|
+
method_name: "create",
|
|
2913
|
+
http_method: "POST",
|
|
2914
|
+
path: "/sms/messaging-programs",
|
|
2915
|
+
path_params: [],
|
|
2916
|
+
query_params: [],
|
|
2917
|
+
has_body: true,
|
|
2918
|
+
request_schema: "SmsMessagingProgramCreate",
|
|
2919
|
+
response_schema: "SmsMessagingProgram",
|
|
2920
|
+
is_list: false,
|
|
2921
|
+
list_item_schema: nil
|
|
2922
|
+
},
|
|
2923
|
+
{
|
|
2924
|
+
operation_id: "sms.messagingPrograms.delete",
|
|
2925
|
+
resource: "sms.messagingPrograms",
|
|
2926
|
+
credential: "workspace",
|
|
2927
|
+
method_name: "delete",
|
|
2928
|
+
http_method: "DELETE",
|
|
2929
|
+
path: "/sms/messaging-programs/{id}",
|
|
2930
|
+
path_params: ["id"],
|
|
2931
|
+
query_params: [],
|
|
2932
|
+
has_body: false,
|
|
2933
|
+
request_schema: nil,
|
|
2934
|
+
response_schema: nil,
|
|
2935
|
+
is_list: false,
|
|
2936
|
+
list_item_schema: nil
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
operation_id: "sms.messagingPrograms.duplicate",
|
|
2940
|
+
resource: "sms.messagingPrograms",
|
|
2941
|
+
credential: "workspace",
|
|
2942
|
+
method_name: "duplicate",
|
|
2943
|
+
http_method: "POST",
|
|
2944
|
+
path: "/sms/messaging-programs/{id}/duplicate",
|
|
2945
|
+
path_params: ["id"],
|
|
2946
|
+
query_params: [],
|
|
2947
|
+
has_body: false,
|
|
2948
|
+
request_schema: nil,
|
|
2949
|
+
response_schema: "SmsMessagingProgram",
|
|
2950
|
+
is_list: false,
|
|
2951
|
+
list_item_schema: nil
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
operation_id: "sms.messagingPrograms.get",
|
|
2955
|
+
resource: "sms.messagingPrograms",
|
|
2956
|
+
credential: "workspace",
|
|
2957
|
+
method_name: "get",
|
|
2958
|
+
http_method: "GET",
|
|
2959
|
+
path: "/sms/messaging-programs/{id}",
|
|
2960
|
+
path_params: ["id"],
|
|
2961
|
+
query_params: [],
|
|
2962
|
+
has_body: false,
|
|
2963
|
+
request_schema: nil,
|
|
2964
|
+
response_schema: "SmsMessagingProgram",
|
|
2965
|
+
is_list: false,
|
|
2966
|
+
list_item_schema: nil
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
operation_id: "sms.messagingPrograms.list",
|
|
2970
|
+
resource: "sms.messagingPrograms",
|
|
2971
|
+
credential: "workspace",
|
|
2972
|
+
method_name: "list",
|
|
2973
|
+
http_method: "GET",
|
|
2974
|
+
path: "/sms/messaging-programs",
|
|
2975
|
+
path_params: [],
|
|
2976
|
+
query_params: ["limit", "after", "before", "archived"],
|
|
2977
|
+
has_body: false,
|
|
2978
|
+
request_schema: nil,
|
|
2979
|
+
response_schema: nil,
|
|
2980
|
+
is_list: true,
|
|
2981
|
+
list_item_schema: "SmsMessagingProgram"
|
|
2982
|
+
},
|
|
2983
|
+
{
|
|
2984
|
+
operation_id: "sms.messagingPrograms.update",
|
|
2985
|
+
resource: "sms.messagingPrograms",
|
|
2986
|
+
credential: "workspace",
|
|
2987
|
+
method_name: "update",
|
|
2988
|
+
http_method: "PATCH",
|
|
2989
|
+
path: "/sms/messaging-programs/{id}",
|
|
2990
|
+
path_params: ["id"],
|
|
2991
|
+
query_params: [],
|
|
2992
|
+
has_body: true,
|
|
2993
|
+
request_schema: "SmsMessagingProgramUpdate",
|
|
2994
|
+
response_schema: "SmsMessagingProgram",
|
|
2995
|
+
is_list: false,
|
|
2996
|
+
list_item_schema: nil
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
operation_id: "sms.numbers",
|
|
3000
|
+
resource: "sms",
|
|
3001
|
+
credential: "workspace",
|
|
3002
|
+
method_name: "numbers",
|
|
3003
|
+
http_method: "GET",
|
|
3004
|
+
path: "/sms/numbers",
|
|
3005
|
+
path_params: [],
|
|
3006
|
+
query_params: ["limit", "after", "before"],
|
|
3007
|
+
has_body: false,
|
|
3008
|
+
request_schema: nil,
|
|
3009
|
+
response_schema: nil,
|
|
3010
|
+
is_list: true,
|
|
3011
|
+
list_item_schema: "SmsNumber"
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
operation_id: "sms.quotes.confirm",
|
|
3015
|
+
resource: "sms.quotes",
|
|
3016
|
+
credential: "workspace",
|
|
3017
|
+
method_name: "confirm",
|
|
3018
|
+
http_method: "POST",
|
|
3019
|
+
path: "/sms/quotes/{id}/confirm",
|
|
3020
|
+
path_params: ["id"],
|
|
3021
|
+
query_params: [],
|
|
3022
|
+
has_body: true,
|
|
3023
|
+
request_schema: "SmsQuoteConfirm",
|
|
3024
|
+
response_schema: "SmsQuote",
|
|
3025
|
+
is_list: false,
|
|
3026
|
+
list_item_schema: nil
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
operation_id: "sms.quotes.create",
|
|
3030
|
+
resource: "sms.quotes",
|
|
3031
|
+
credential: "workspace",
|
|
3032
|
+
method_name: "create",
|
|
3033
|
+
http_method: "POST",
|
|
3034
|
+
path: "/sms/quotes",
|
|
3035
|
+
path_params: [],
|
|
3036
|
+
query_params: [],
|
|
3037
|
+
has_body: true,
|
|
3038
|
+
request_schema: "SmsQuoteCreate",
|
|
3039
|
+
response_schema: "SmsQuote",
|
|
3040
|
+
is_list: false,
|
|
3041
|
+
list_item_schema: nil
|
|
3042
|
+
},
|
|
3043
|
+
{
|
|
3044
|
+
operation_id: "sms.quotes.get",
|
|
3045
|
+
resource: "sms.quotes",
|
|
3046
|
+
credential: "workspace",
|
|
3047
|
+
method_name: "get",
|
|
3048
|
+
http_method: "GET",
|
|
3049
|
+
path: "/sms/quotes/{id}",
|
|
3050
|
+
path_params: ["id"],
|
|
3051
|
+
query_params: [],
|
|
3052
|
+
has_body: false,
|
|
3053
|
+
request_schema: nil,
|
|
3054
|
+
response_schema: "SmsQuote",
|
|
3055
|
+
is_list: false,
|
|
3056
|
+
list_item_schema: nil
|
|
3057
|
+
},
|
|
3058
|
+
{
|
|
3059
|
+
operation_id: "sms.recordSmsConsent",
|
|
3060
|
+
resource: "sms",
|
|
3061
|
+
credential: "workspace",
|
|
3062
|
+
method_name: "recordSmsConsent",
|
|
3063
|
+
http_method: "POST",
|
|
3064
|
+
path: "/contacts/{id}/sms-consent",
|
|
3065
|
+
path_params: ["id"],
|
|
3066
|
+
query_params: [],
|
|
3067
|
+
has_body: true,
|
|
3068
|
+
request_schema: "SmsConsentRecord",
|
|
3069
|
+
response_schema: "SmsConsentRecorded",
|
|
3070
|
+
is_list: false,
|
|
3071
|
+
list_item_schema: nil
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
operation_id: "sms.registrations.get",
|
|
3075
|
+
resource: "sms.registrations",
|
|
3076
|
+
credential: "workspace",
|
|
3077
|
+
method_name: "get",
|
|
3078
|
+
http_method: "GET",
|
|
3079
|
+
path: "/sms/registrations/{id}",
|
|
3080
|
+
path_params: ["id"],
|
|
3081
|
+
query_params: [],
|
|
3082
|
+
has_body: false,
|
|
3083
|
+
request_schema: nil,
|
|
3084
|
+
response_schema: "SmsRegistration",
|
|
3085
|
+
is_list: false,
|
|
3086
|
+
list_item_schema: nil
|
|
3087
|
+
},
|
|
3088
|
+
{
|
|
3089
|
+
operation_id: "sms.registrations.list",
|
|
3090
|
+
resource: "sms.registrations",
|
|
3091
|
+
credential: "workspace",
|
|
3092
|
+
method_name: "list",
|
|
3093
|
+
http_method: "GET",
|
|
3094
|
+
path: "/sms/registrations",
|
|
3095
|
+
path_params: [],
|
|
3096
|
+
query_params: ["limit", "after", "before"],
|
|
3097
|
+
has_body: false,
|
|
3098
|
+
request_schema: nil,
|
|
3099
|
+
response_schema: nil,
|
|
3100
|
+
is_list: true,
|
|
3101
|
+
list_item_schema: "SmsRegistration"
|
|
3102
|
+
},
|
|
3103
|
+
{
|
|
3104
|
+
operation_id: "sms.registrations.remove",
|
|
3105
|
+
resource: "sms.registrations",
|
|
3106
|
+
credential: "workspace",
|
|
3107
|
+
method_name: "remove",
|
|
3108
|
+
http_method: "POST",
|
|
3109
|
+
path: "/sms/registrations/{id}/remove",
|
|
3110
|
+
path_params: ["id"],
|
|
3111
|
+
query_params: [],
|
|
3112
|
+
has_body: true,
|
|
3113
|
+
request_schema: "SmsRegistrationRemove",
|
|
3114
|
+
response_schema: "SmsRegistration",
|
|
3115
|
+
is_list: false,
|
|
3116
|
+
list_item_schema: nil
|
|
3117
|
+
},
|
|
3118
|
+
{
|
|
3119
|
+
operation_id: "sms.registrations.replace",
|
|
3120
|
+
resource: "sms.registrations",
|
|
3121
|
+
credential: "workspace",
|
|
3122
|
+
method_name: "replace",
|
|
3123
|
+
http_method: "POST",
|
|
3124
|
+
path: "/sms/registrations/{id}/replace",
|
|
3125
|
+
path_params: ["id"],
|
|
3126
|
+
query_params: [],
|
|
3127
|
+
has_body: true,
|
|
3128
|
+
request_schema: "SmsRegistrationReplace",
|
|
3129
|
+
response_schema: "SmsRegistration",
|
|
3130
|
+
is_list: false,
|
|
3131
|
+
list_item_schema: nil
|
|
3132
|
+
},
|
|
3133
|
+
{
|
|
3134
|
+
operation_id: "sms.registrations.requestNumber",
|
|
3135
|
+
resource: "sms.registrations",
|
|
3136
|
+
credential: "workspace",
|
|
3137
|
+
method_name: "requestNumber",
|
|
3138
|
+
http_method: "POST",
|
|
3139
|
+
path: "/sms/registrations/{id}/number",
|
|
3140
|
+
path_params: ["id"],
|
|
3141
|
+
query_params: [],
|
|
3142
|
+
has_body: true,
|
|
3143
|
+
request_schema: "SmsNumberRetry",
|
|
3144
|
+
response_schema: "SmsNumberRequest",
|
|
3145
|
+
is_list: false,
|
|
3146
|
+
list_item_schema: nil
|
|
3147
|
+
},
|
|
3148
|
+
{
|
|
3149
|
+
operation_id: "sms.registrations.resubmit",
|
|
3150
|
+
resource: "sms.registrations",
|
|
3151
|
+
credential: "workspace",
|
|
3152
|
+
method_name: "resubmit",
|
|
3153
|
+
http_method: "POST",
|
|
3154
|
+
path: "/sms/registrations/{id}/resubmit",
|
|
3155
|
+
path_params: ["id"],
|
|
3156
|
+
query_params: [],
|
|
3157
|
+
has_body: true,
|
|
3158
|
+
request_schema: "SmsCampaignResubmit",
|
|
3159
|
+
response_schema: "SmsRegistrationResubmission",
|
|
3160
|
+
is_list: false,
|
|
3161
|
+
list_item_schema: nil
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
operation_id: "sms.releaseNumber",
|
|
3165
|
+
resource: "sms",
|
|
3166
|
+
credential: "workspace",
|
|
3167
|
+
method_name: "releaseNumber",
|
|
3168
|
+
http_method: "POST",
|
|
3169
|
+
path: "/sms/numbers/{id}/release",
|
|
3170
|
+
path_params: ["id"],
|
|
3171
|
+
query_params: [],
|
|
3172
|
+
has_body: true,
|
|
3173
|
+
request_schema: "SmsNumberRelease",
|
|
3174
|
+
response_schema: "SmsNumber",
|
|
3175
|
+
is_list: false,
|
|
3176
|
+
list_item_schema: nil
|
|
3177
|
+
},
|
|
3178
|
+
{
|
|
3179
|
+
operation_id: "sms.removeBrandDocument",
|
|
3180
|
+
resource: "sms",
|
|
3181
|
+
credential: "workspace",
|
|
3182
|
+
method_name: "removeBrandDocument",
|
|
3183
|
+
http_method: "DELETE",
|
|
3184
|
+
path: "/sms/brands/{id}/documents/{documentId}",
|
|
3185
|
+
path_params: ["id", "documentId"],
|
|
3186
|
+
query_params: [],
|
|
3187
|
+
has_body: false,
|
|
3188
|
+
request_schema: nil,
|
|
3189
|
+
response_schema: "SmsBrandDocumentDeleted",
|
|
3190
|
+
is_list: false,
|
|
3191
|
+
list_item_schema: nil
|
|
3192
|
+
},
|
|
3193
|
+
{
|
|
3194
|
+
operation_id: "sms.removeJoinKeyword",
|
|
3195
|
+
resource: "sms",
|
|
3196
|
+
credential: "workspace",
|
|
3197
|
+
method_name: "removeJoinKeyword",
|
|
3198
|
+
http_method: "DELETE",
|
|
3199
|
+
path: "/sms/numbers/{id}/join-keywords/{keywordId}",
|
|
3200
|
+
path_params: ["id", "keywordId"],
|
|
3201
|
+
query_params: [],
|
|
3202
|
+
has_body: false,
|
|
3203
|
+
request_schema: nil,
|
|
3204
|
+
response_schema: nil,
|
|
3205
|
+
is_list: false,
|
|
3206
|
+
list_item_schema: nil
|
|
3207
|
+
},
|
|
3208
|
+
{
|
|
3209
|
+
operation_id: "sms.requestSmsOptIn",
|
|
3210
|
+
resource: "sms",
|
|
3211
|
+
credential: "workspace",
|
|
3212
|
+
method_name: "requestSmsOptIn",
|
|
3213
|
+
http_method: "POST",
|
|
3214
|
+
path: "/contacts/{id}/sms-opt-in-request",
|
|
3215
|
+
path_params: ["id"],
|
|
3216
|
+
query_params: [],
|
|
3217
|
+
has_body: true,
|
|
3218
|
+
request_schema: "SmsOptInRequest",
|
|
3219
|
+
response_schema: "Sms",
|
|
3220
|
+
is_list: false,
|
|
3221
|
+
list_item_schema: nil
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
operation_id: "sms.resubmitNumber",
|
|
3225
|
+
resource: "sms",
|
|
3226
|
+
credential: "workspace",
|
|
3227
|
+
method_name: "resubmitNumber",
|
|
3228
|
+
http_method: "POST",
|
|
3229
|
+
path: "/sms/numbers/{id}/resubmit",
|
|
3230
|
+
path_params: ["id"],
|
|
3231
|
+
query_params: [],
|
|
3232
|
+
has_body: true,
|
|
3233
|
+
request_schema: "SmsTollFreeResubmit",
|
|
3234
|
+
response_schema: "SmsNumberResubmission",
|
|
3235
|
+
is_list: false,
|
|
3236
|
+
list_item_schema: nil
|
|
3237
|
+
},
|
|
3238
|
+
{
|
|
3239
|
+
operation_id: "sms.send",
|
|
3240
|
+
resource: "sms",
|
|
3241
|
+
credential: "workspace",
|
|
3242
|
+
method_name: "send",
|
|
3243
|
+
http_method: "POST",
|
|
3244
|
+
path: "/sms",
|
|
3245
|
+
path_params: [],
|
|
3246
|
+
query_params: [],
|
|
3247
|
+
has_body: true,
|
|
3248
|
+
request_schema: "SmsSend",
|
|
3249
|
+
response_schema: "Sms",
|
|
850
3250
|
is_list: false,
|
|
851
3251
|
list_item_schema: nil
|
|
852
3252
|
},
|
|
853
3253
|
{
|
|
854
|
-
operation_id: "
|
|
855
|
-
resource: "
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
3254
|
+
operation_id: "sms.smsConsent",
|
|
3255
|
+
resource: "sms",
|
|
3256
|
+
credential: "workspace",
|
|
3257
|
+
method_name: "smsConsent",
|
|
3258
|
+
http_method: "GET",
|
|
3259
|
+
path: "/contacts/{id}/sms-consent",
|
|
859
3260
|
path_params: ["id"],
|
|
860
3261
|
query_params: [],
|
|
861
|
-
has_body:
|
|
862
|
-
request_schema:
|
|
863
|
-
response_schema: "
|
|
3262
|
+
has_body: false,
|
|
3263
|
+
request_schema: nil,
|
|
3264
|
+
response_schema: "SmsConsent",
|
|
864
3265
|
is_list: false,
|
|
865
3266
|
list_item_schema: nil
|
|
866
3267
|
},
|
|
867
3268
|
{
|
|
868
|
-
operation_id: "
|
|
869
|
-
resource: "
|
|
3269
|
+
operation_id: "sms.stats",
|
|
3270
|
+
resource: "sms",
|
|
3271
|
+
credential: "workspace",
|
|
3272
|
+
method_name: "stats",
|
|
3273
|
+
http_method: "GET",
|
|
3274
|
+
path: "/sms/stats",
|
|
3275
|
+
path_params: [],
|
|
3276
|
+
query_params: ["days"],
|
|
3277
|
+
has_body: false,
|
|
3278
|
+
request_schema: nil,
|
|
3279
|
+
response_schema: "SmsStats",
|
|
3280
|
+
is_list: false,
|
|
3281
|
+
list_item_schema: nil
|
|
3282
|
+
},
|
|
3283
|
+
{
|
|
3284
|
+
operation_id: "sms.templates.create",
|
|
3285
|
+
resource: "sms.templates",
|
|
3286
|
+
credential: "workspace",
|
|
870
3287
|
method_name: "create",
|
|
871
3288
|
http_method: "POST",
|
|
872
|
-
path: "/
|
|
3289
|
+
path: "/sms/templates",
|
|
873
3290
|
path_params: [],
|
|
874
3291
|
query_params: [],
|
|
875
3292
|
has_body: true,
|
|
876
|
-
request_schema: "
|
|
877
|
-
response_schema: "
|
|
3293
|
+
request_schema: "SmsTemplateCreate",
|
|
3294
|
+
response_schema: "SmsTemplate",
|
|
878
3295
|
is_list: false,
|
|
879
3296
|
list_item_schema: nil
|
|
880
3297
|
},
|
|
881
3298
|
{
|
|
882
|
-
operation_id: "
|
|
883
|
-
resource: "
|
|
3299
|
+
operation_id: "sms.templates.delete",
|
|
3300
|
+
resource: "sms.templates",
|
|
3301
|
+
credential: "workspace",
|
|
884
3302
|
method_name: "delete",
|
|
885
3303
|
http_method: "DELETE",
|
|
886
|
-
path: "/
|
|
3304
|
+
path: "/sms/templates/{id}",
|
|
887
3305
|
path_params: ["id"],
|
|
888
3306
|
query_params: [],
|
|
889
3307
|
has_body: false,
|
|
@@ -893,54 +3311,133 @@ module Unitpost
|
|
|
893
3311
|
list_item_schema: nil
|
|
894
3312
|
},
|
|
895
3313
|
{
|
|
896
|
-
operation_id: "
|
|
897
|
-
resource: "
|
|
3314
|
+
operation_id: "sms.templates.get",
|
|
3315
|
+
resource: "sms.templates",
|
|
3316
|
+
credential: "workspace",
|
|
898
3317
|
method_name: "get",
|
|
899
3318
|
http_method: "GET",
|
|
900
|
-
path: "/
|
|
3319
|
+
path: "/sms/templates/{id}",
|
|
901
3320
|
path_params: ["id"],
|
|
902
3321
|
query_params: [],
|
|
903
3322
|
has_body: false,
|
|
904
3323
|
request_schema: nil,
|
|
905
|
-
response_schema: "
|
|
3324
|
+
response_schema: "SmsTemplate",
|
|
906
3325
|
is_list: false,
|
|
907
3326
|
list_item_schema: nil
|
|
908
3327
|
},
|
|
909
3328
|
{
|
|
910
|
-
operation_id: "
|
|
911
|
-
resource: "
|
|
3329
|
+
operation_id: "sms.templates.list",
|
|
3330
|
+
resource: "sms.templates",
|
|
3331
|
+
credential: "workspace",
|
|
912
3332
|
method_name: "list",
|
|
913
3333
|
http_method: "GET",
|
|
914
|
-
path: "/
|
|
3334
|
+
path: "/sms/templates",
|
|
915
3335
|
path_params: [],
|
|
916
3336
|
query_params: ["limit", "after", "before"],
|
|
917
3337
|
has_body: false,
|
|
918
3338
|
request_schema: nil,
|
|
919
3339
|
response_schema: nil,
|
|
920
3340
|
is_list: true,
|
|
921
|
-
list_item_schema: "
|
|
3341
|
+
list_item_schema: "SmsTemplate"
|
|
922
3342
|
},
|
|
923
3343
|
{
|
|
924
|
-
operation_id: "
|
|
925
|
-
resource: "
|
|
926
|
-
|
|
3344
|
+
operation_id: "sms.templates.testSend",
|
|
3345
|
+
resource: "sms.templates",
|
|
3346
|
+
credential: "workspace",
|
|
3347
|
+
method_name: "testSend",
|
|
3348
|
+
http_method: "POST",
|
|
3349
|
+
path: "/sms/templates/{id}/test-send",
|
|
3350
|
+
path_params: ["id"],
|
|
3351
|
+
query_params: [],
|
|
3352
|
+
has_body: true,
|
|
3353
|
+
request_schema: "SmsTemplateTestSend",
|
|
3354
|
+
response_schema: "SmsTemplateTestSendResult",
|
|
3355
|
+
is_list: false,
|
|
3356
|
+
list_item_schema: nil
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
operation_id: "sms.templates.update",
|
|
3360
|
+
resource: "sms.templates",
|
|
3361
|
+
credential: "workspace",
|
|
3362
|
+
method_name: "update",
|
|
3363
|
+
http_method: "PATCH",
|
|
3364
|
+
path: "/sms/templates/{id}",
|
|
3365
|
+
path_params: ["id"],
|
|
3366
|
+
query_params: [],
|
|
3367
|
+
has_body: true,
|
|
3368
|
+
request_schema: "SmsTemplateUpdate",
|
|
3369
|
+
response_schema: "SmsTemplate",
|
|
3370
|
+
is_list: false,
|
|
3371
|
+
list_item_schema: nil
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
operation_id: "sms.templates.usage",
|
|
3375
|
+
resource: "sms.templates",
|
|
3376
|
+
credential: "workspace",
|
|
3377
|
+
method_name: "usage",
|
|
927
3378
|
http_method: "GET",
|
|
928
|
-
path: "/
|
|
3379
|
+
path: "/sms/templates/{id}/usage",
|
|
929
3380
|
path_params: ["id"],
|
|
3381
|
+
query_params: [],
|
|
3382
|
+
has_body: false,
|
|
3383
|
+
request_schema: nil,
|
|
3384
|
+
response_schema: "SmsTemplateUsage",
|
|
3385
|
+
is_list: false,
|
|
3386
|
+
list_item_schema: nil
|
|
3387
|
+
},
|
|
3388
|
+
{
|
|
3389
|
+
operation_id: "sms.testDestinations.delete",
|
|
3390
|
+
resource: "sms.testDestinations",
|
|
3391
|
+
credential: "workspace",
|
|
3392
|
+
method_name: "delete",
|
|
3393
|
+
http_method: "DELETE",
|
|
3394
|
+
path: "/sms/test-destinations/{id}",
|
|
3395
|
+
path_params: ["id"],
|
|
3396
|
+
query_params: [],
|
|
3397
|
+
has_body: false,
|
|
3398
|
+
request_schema: nil,
|
|
3399
|
+
response_schema: nil,
|
|
3400
|
+
is_list: false,
|
|
3401
|
+
list_item_schema: nil
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
operation_id: "sms.testDestinations.list",
|
|
3405
|
+
resource: "sms.testDestinations",
|
|
3406
|
+
credential: "workspace",
|
|
3407
|
+
method_name: "list",
|
|
3408
|
+
http_method: "GET",
|
|
3409
|
+
path: "/sms/test-destinations",
|
|
3410
|
+
path_params: [],
|
|
930
3411
|
query_params: ["limit", "after", "before"],
|
|
931
3412
|
has_body: false,
|
|
932
3413
|
request_schema: nil,
|
|
933
3414
|
response_schema: nil,
|
|
934
3415
|
is_list: true,
|
|
935
|
-
list_item_schema: "
|
|
3416
|
+
list_item_schema: "SmsTestDestination"
|
|
936
3417
|
},
|
|
937
3418
|
{
|
|
938
|
-
operation_id: "
|
|
939
|
-
resource: "
|
|
940
|
-
|
|
3419
|
+
operation_id: "sms.topics.create",
|
|
3420
|
+
resource: "sms.topics",
|
|
3421
|
+
credential: "workspace",
|
|
3422
|
+
method_name: "create",
|
|
3423
|
+
http_method: "POST",
|
|
3424
|
+
path: "/sms/topics",
|
|
3425
|
+
path_params: [],
|
|
3426
|
+
query_params: [],
|
|
3427
|
+
has_body: true,
|
|
3428
|
+
request_schema: "TopicCreate",
|
|
3429
|
+
response_schema: "Topic",
|
|
3430
|
+
is_list: false,
|
|
3431
|
+
list_item_schema: nil
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
operation_id: "sms.topics.delete",
|
|
3435
|
+
resource: "sms.topics",
|
|
3436
|
+
credential: "workspace",
|
|
3437
|
+
method_name: "delete",
|
|
941
3438
|
http_method: "DELETE",
|
|
942
|
-
path: "/
|
|
943
|
-
path_params: ["id"
|
|
3439
|
+
path: "/sms/topics/{id}",
|
|
3440
|
+
path_params: ["id"],
|
|
944
3441
|
query_params: [],
|
|
945
3442
|
has_body: false,
|
|
946
3443
|
request_schema: nil,
|
|
@@ -949,64 +3446,129 @@ module Unitpost
|
|
|
949
3446
|
list_item_schema: nil
|
|
950
3447
|
},
|
|
951
3448
|
{
|
|
952
|
-
operation_id: "
|
|
953
|
-
resource: "
|
|
3449
|
+
operation_id: "sms.topics.get",
|
|
3450
|
+
resource: "sms.topics",
|
|
3451
|
+
credential: "workspace",
|
|
3452
|
+
method_name: "get",
|
|
3453
|
+
http_method: "GET",
|
|
3454
|
+
path: "/sms/topics/{id}",
|
|
3455
|
+
path_params: ["id"],
|
|
3456
|
+
query_params: [],
|
|
3457
|
+
has_body: false,
|
|
3458
|
+
request_schema: nil,
|
|
3459
|
+
response_schema: "Topic",
|
|
3460
|
+
is_list: false,
|
|
3461
|
+
list_item_schema: nil
|
|
3462
|
+
},
|
|
3463
|
+
{
|
|
3464
|
+
operation_id: "sms.topics.list",
|
|
3465
|
+
resource: "sms.topics",
|
|
3466
|
+
credential: "workspace",
|
|
3467
|
+
method_name: "list",
|
|
3468
|
+
http_method: "GET",
|
|
3469
|
+
path: "/sms/topics",
|
|
3470
|
+
path_params: [],
|
|
3471
|
+
query_params: ["limit", "after", "before", "archived"],
|
|
3472
|
+
has_body: false,
|
|
3473
|
+
request_schema: nil,
|
|
3474
|
+
response_schema: nil,
|
|
3475
|
+
is_list: true,
|
|
3476
|
+
list_item_schema: "Topic"
|
|
3477
|
+
},
|
|
3478
|
+
{
|
|
3479
|
+
operation_id: "sms.topics.optOut",
|
|
3480
|
+
resource: "sms.topics",
|
|
3481
|
+
credential: "workspace",
|
|
3482
|
+
method_name: "optOut",
|
|
3483
|
+
http_method: "POST",
|
|
3484
|
+
path: "/sms/topics/{id}/opt-out",
|
|
3485
|
+
path_params: ["id"],
|
|
3486
|
+
query_params: [],
|
|
3487
|
+
has_body: true,
|
|
3488
|
+
request_schema: "TopicOptOut",
|
|
3489
|
+
response_schema: "Job",
|
|
3490
|
+
is_list: false,
|
|
3491
|
+
list_item_schema: nil
|
|
3492
|
+
},
|
|
3493
|
+
{
|
|
3494
|
+
operation_id: "sms.topics.update",
|
|
3495
|
+
resource: "sms.topics",
|
|
3496
|
+
credential: "workspace",
|
|
954
3497
|
method_name: "update",
|
|
955
3498
|
http_method: "PATCH",
|
|
956
|
-
path: "/
|
|
3499
|
+
path: "/sms/topics/{id}",
|
|
957
3500
|
path_params: ["id"],
|
|
958
3501
|
query_params: [],
|
|
959
3502
|
has_body: true,
|
|
960
|
-
request_schema: "
|
|
961
|
-
response_schema: "
|
|
3503
|
+
request_schema: "TopicUpdate",
|
|
3504
|
+
response_schema: "Topic",
|
|
962
3505
|
is_list: false,
|
|
963
3506
|
list_item_schema: nil
|
|
964
3507
|
},
|
|
965
3508
|
{
|
|
966
|
-
operation_id: "sms.
|
|
3509
|
+
operation_id: "sms.update",
|
|
967
3510
|
resource: "sms",
|
|
968
|
-
|
|
969
|
-
|
|
3511
|
+
credential: "workspace",
|
|
3512
|
+
method_name: "update",
|
|
3513
|
+
http_method: "PATCH",
|
|
970
3514
|
path: "/sms/{id}",
|
|
971
3515
|
path_params: ["id"],
|
|
972
3516
|
query_params: [],
|
|
973
|
-
has_body:
|
|
974
|
-
request_schema:
|
|
3517
|
+
has_body: true,
|
|
3518
|
+
request_schema: "SmsPatch",
|
|
975
3519
|
response_schema: "Sms",
|
|
976
3520
|
is_list: false,
|
|
977
3521
|
list_item_schema: nil
|
|
978
3522
|
},
|
|
979
3523
|
{
|
|
980
|
-
operation_id: "sms.
|
|
3524
|
+
operation_id: "sms.updateBrand",
|
|
981
3525
|
resource: "sms",
|
|
982
|
-
|
|
3526
|
+
credential: "workspace",
|
|
3527
|
+
method_name: "updateBrand",
|
|
3528
|
+
http_method: "PATCH",
|
|
3529
|
+
path: "/sms/brands/{id}",
|
|
3530
|
+
path_params: ["id"],
|
|
3531
|
+
query_params: [],
|
|
3532
|
+
has_body: true,
|
|
3533
|
+
request_schema: "SmsBrandPatch",
|
|
3534
|
+
response_schema: "SmsBrand",
|
|
3535
|
+
is_list: false,
|
|
3536
|
+
list_item_schema: nil
|
|
3537
|
+
},
|
|
3538
|
+
{
|
|
3539
|
+
operation_id: "spendCaps.get",
|
|
3540
|
+
resource: "spendCaps",
|
|
3541
|
+
credential: "workspace",
|
|
3542
|
+
method_name: "get",
|
|
983
3543
|
http_method: "GET",
|
|
984
|
-
path: "/
|
|
3544
|
+
path: "/spend-caps",
|
|
985
3545
|
path_params: [],
|
|
986
|
-
query_params: [
|
|
3546
|
+
query_params: [],
|
|
987
3547
|
has_body: false,
|
|
988
3548
|
request_schema: nil,
|
|
989
|
-
response_schema:
|
|
990
|
-
is_list:
|
|
991
|
-
list_item_schema:
|
|
3549
|
+
response_schema: "SpendCaps",
|
|
3550
|
+
is_list: false,
|
|
3551
|
+
list_item_schema: nil
|
|
992
3552
|
},
|
|
993
3553
|
{
|
|
994
|
-
operation_id: "
|
|
995
|
-
resource: "
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
3554
|
+
operation_id: "spendCaps.update",
|
|
3555
|
+
resource: "spendCaps",
|
|
3556
|
+
credential: "workspace",
|
|
3557
|
+
method_name: "update",
|
|
3558
|
+
http_method: "PATCH",
|
|
3559
|
+
path: "/spend-caps",
|
|
999
3560
|
path_params: [],
|
|
1000
3561
|
query_params: [],
|
|
1001
3562
|
has_body: true,
|
|
1002
|
-
request_schema: "
|
|
1003
|
-
response_schema: "
|
|
3563
|
+
request_schema: "SpendCapsUpdate",
|
|
3564
|
+
response_schema: "SpendCaps",
|
|
1004
3565
|
is_list: false,
|
|
1005
3566
|
list_item_schema: nil
|
|
1006
3567
|
},
|
|
1007
3568
|
{
|
|
1008
3569
|
operation_id: "suppressions.create",
|
|
1009
3570
|
resource: "suppressions",
|
|
3571
|
+
credential: "workspace",
|
|
1010
3572
|
method_name: "create",
|
|
1011
3573
|
http_method: "POST",
|
|
1012
3574
|
path: "/suppressions",
|
|
@@ -1021,6 +3583,7 @@ module Unitpost
|
|
|
1021
3583
|
{
|
|
1022
3584
|
operation_id: "suppressions.delete",
|
|
1023
3585
|
resource: "suppressions",
|
|
3586
|
+
credential: "workspace",
|
|
1024
3587
|
method_name: "delete",
|
|
1025
3588
|
http_method: "DELETE",
|
|
1026
3589
|
path: "/suppressions/{id}",
|
|
@@ -1035,6 +3598,7 @@ module Unitpost
|
|
|
1035
3598
|
{
|
|
1036
3599
|
operation_id: "suppressions.get",
|
|
1037
3600
|
resource: "suppressions",
|
|
3601
|
+
credential: "workspace",
|
|
1038
3602
|
method_name: "get",
|
|
1039
3603
|
http_method: "GET",
|
|
1040
3604
|
path: "/suppressions/{id}",
|
|
@@ -1049,11 +3613,12 @@ module Unitpost
|
|
|
1049
3613
|
{
|
|
1050
3614
|
operation_id: "suppressions.list",
|
|
1051
3615
|
resource: "suppressions",
|
|
3616
|
+
credential: "workspace",
|
|
1052
3617
|
method_name: "list",
|
|
1053
3618
|
http_method: "GET",
|
|
1054
3619
|
path: "/suppressions",
|
|
1055
3620
|
path_params: [],
|
|
1056
|
-
query_params: ["limit", "after", "before", "scope"],
|
|
3621
|
+
query_params: ["limit", "after", "before", "q", "reason", "created_after", "created_before", "scope"],
|
|
1057
3622
|
has_body: false,
|
|
1058
3623
|
request_schema: nil,
|
|
1059
3624
|
response_schema: nil,
|
|
@@ -1063,6 +3628,7 @@ module Unitpost
|
|
|
1063
3628
|
{
|
|
1064
3629
|
operation_id: "usage.get",
|
|
1065
3630
|
resource: "usage",
|
|
3631
|
+
credential: "workspace",
|
|
1066
3632
|
method_name: "get",
|
|
1067
3633
|
http_method: "GET",
|
|
1068
3634
|
path: "/usage",
|
|
@@ -1077,6 +3643,7 @@ module Unitpost
|
|
|
1077
3643
|
{
|
|
1078
3644
|
operation_id: "webhooks.create",
|
|
1079
3645
|
resource: "webhooks",
|
|
3646
|
+
credential: "workspace",
|
|
1080
3647
|
method_name: "create",
|
|
1081
3648
|
http_method: "POST",
|
|
1082
3649
|
path: "/webhooks",
|
|
@@ -1091,6 +3658,7 @@ module Unitpost
|
|
|
1091
3658
|
{
|
|
1092
3659
|
operation_id: "webhooks.delete",
|
|
1093
3660
|
resource: "webhooks",
|
|
3661
|
+
credential: "workspace",
|
|
1094
3662
|
method_name: "delete",
|
|
1095
3663
|
http_method: "DELETE",
|
|
1096
3664
|
path: "/webhooks/{id}",
|
|
@@ -1102,9 +3670,25 @@ module Unitpost
|
|
|
1102
3670
|
is_list: false,
|
|
1103
3671
|
list_item_schema: nil
|
|
1104
3672
|
},
|
|
3673
|
+
{
|
|
3674
|
+
operation_id: "webhooks.flush",
|
|
3675
|
+
resource: "webhooks",
|
|
3676
|
+
credential: "workspace",
|
|
3677
|
+
method_name: "flush",
|
|
3678
|
+
http_method: "POST",
|
|
3679
|
+
path: "/webhooks/{id}/flush",
|
|
3680
|
+
path_params: ["id"],
|
|
3681
|
+
query_params: [],
|
|
3682
|
+
has_body: true,
|
|
3683
|
+
request_schema: "WebhookFlush",
|
|
3684
|
+
response_schema: "WebhookFlushResult",
|
|
3685
|
+
is_list: false,
|
|
3686
|
+
list_item_schema: nil
|
|
3687
|
+
},
|
|
1105
3688
|
{
|
|
1106
3689
|
operation_id: "webhooks.get",
|
|
1107
3690
|
resource: "webhooks",
|
|
3691
|
+
credential: "workspace",
|
|
1108
3692
|
method_name: "get",
|
|
1109
3693
|
http_method: "GET",
|
|
1110
3694
|
path: "/webhooks/{id}",
|
|
@@ -1119,6 +3703,7 @@ module Unitpost
|
|
|
1119
3703
|
{
|
|
1120
3704
|
operation_id: "webhooks.list",
|
|
1121
3705
|
resource: "webhooks",
|
|
3706
|
+
credential: "workspace",
|
|
1122
3707
|
method_name: "list",
|
|
1123
3708
|
http_method: "GET",
|
|
1124
3709
|
path: "/webhooks",
|
|
@@ -1130,9 +3715,55 @@ module Unitpost
|
|
|
1130
3715
|
is_list: true,
|
|
1131
3716
|
list_item_schema: "Webhook"
|
|
1132
3717
|
},
|
|
3718
|
+
{
|
|
3719
|
+
operation_id: "webhooks.listDeliveries",
|
|
3720
|
+
resource: "webhooks",
|
|
3721
|
+
credential: "workspace",
|
|
3722
|
+
method_name: "listDeliveries",
|
|
3723
|
+
http_method: "GET",
|
|
3724
|
+
path: "/webhooks/{id}/deliveries",
|
|
3725
|
+
path_params: ["id"],
|
|
3726
|
+
query_params: ["limit", "after", "before", "status", "event_type"],
|
|
3727
|
+
has_body: false,
|
|
3728
|
+
request_schema: nil,
|
|
3729
|
+
response_schema: nil,
|
|
3730
|
+
is_list: true,
|
|
3731
|
+
list_item_schema: "WebhookDelivery"
|
|
3732
|
+
},
|
|
3733
|
+
{
|
|
3734
|
+
operation_id: "webhooks.replayDelivery",
|
|
3735
|
+
resource: "webhooks",
|
|
3736
|
+
credential: "workspace",
|
|
3737
|
+
method_name: "replayDelivery",
|
|
3738
|
+
http_method: "POST",
|
|
3739
|
+
path: "/webhooks/{id}/deliveries/{delivery}/replay",
|
|
3740
|
+
path_params: ["id", "delivery"],
|
|
3741
|
+
query_params: [],
|
|
3742
|
+
has_body: false,
|
|
3743
|
+
request_schema: nil,
|
|
3744
|
+
response_schema: "WebhookDeliveryReplay",
|
|
3745
|
+
is_list: false,
|
|
3746
|
+
list_item_schema: nil
|
|
3747
|
+
},
|
|
3748
|
+
{
|
|
3749
|
+
operation_id: "webhooks.rotateSecret",
|
|
3750
|
+
resource: "webhooks",
|
|
3751
|
+
credential: "workspace",
|
|
3752
|
+
method_name: "rotateSecret",
|
|
3753
|
+
http_method: "POST",
|
|
3754
|
+
path: "/webhooks/{id}/rotate-secret",
|
|
3755
|
+
path_params: ["id"],
|
|
3756
|
+
query_params: [],
|
|
3757
|
+
has_body: false,
|
|
3758
|
+
request_schema: nil,
|
|
3759
|
+
response_schema: "WebhookSecretRotated",
|
|
3760
|
+
is_list: false,
|
|
3761
|
+
list_item_schema: nil
|
|
3762
|
+
},
|
|
1133
3763
|
{
|
|
1134
3764
|
operation_id: "webhooks.test",
|
|
1135
3765
|
resource: "webhooks",
|
|
3766
|
+
credential: "workspace",
|
|
1136
3767
|
method_name: "test",
|
|
1137
3768
|
http_method: "POST",
|
|
1138
3769
|
path: "/webhooks/{id}/test",
|
|
@@ -1147,6 +3778,7 @@ module Unitpost
|
|
|
1147
3778
|
{
|
|
1148
3779
|
operation_id: "webhooks.update",
|
|
1149
3780
|
resource: "webhooks",
|
|
3781
|
+
credential: "workspace",
|
|
1150
3782
|
method_name: "update",
|
|
1151
3783
|
http_method: "PATCH",
|
|
1152
3784
|
path: "/webhooks/{id}",
|
|
@@ -1158,6 +3790,81 @@ module Unitpost
|
|
|
1158
3790
|
is_list: false,
|
|
1159
3791
|
list_item_schema: nil
|
|
1160
3792
|
},
|
|
3793
|
+
{
|
|
3794
|
+
operation_id: "workspace.listActivity",
|
|
3795
|
+
resource: "workspace",
|
|
3796
|
+
credential: "workspace",
|
|
3797
|
+
method_name: "listActivity",
|
|
3798
|
+
http_method: "GET",
|
|
3799
|
+
path: "/activity",
|
|
3800
|
+
path_params: [],
|
|
3801
|
+
query_params: ["limit", "after", "before", "subject", "subject_id", "contact_id", "campaign_id", "q", "channel"],
|
|
3802
|
+
has_body: false,
|
|
3803
|
+
request_schema: nil,
|
|
3804
|
+
response_schema: nil,
|
|
3805
|
+
is_list: true,
|
|
3806
|
+
list_item_schema: "Activity"
|
|
3807
|
+
},
|
|
3808
|
+
{
|
|
3809
|
+
operation_id: "workspace.removeImage",
|
|
3810
|
+
resource: "workspace",
|
|
3811
|
+
credential: "workspace",
|
|
3812
|
+
method_name: "removeImage",
|
|
3813
|
+
http_method: "DELETE",
|
|
3814
|
+
path: "/workspace/image",
|
|
3815
|
+
path_params: [],
|
|
3816
|
+
query_params: [],
|
|
3817
|
+
has_body: false,
|
|
3818
|
+
request_schema: nil,
|
|
3819
|
+
response_schema: "Workspace",
|
|
3820
|
+
is_list: false,
|
|
3821
|
+
list_item_schema: nil
|
|
3822
|
+
},
|
|
3823
|
+
{
|
|
3824
|
+
operation_id: "workspace.setImage",
|
|
3825
|
+
resource: "workspace",
|
|
3826
|
+
credential: "workspace",
|
|
3827
|
+
method_name: "setImage",
|
|
3828
|
+
http_method: "PUT",
|
|
3829
|
+
path: "/workspace/image",
|
|
3830
|
+
path_params: [],
|
|
3831
|
+
query_params: [],
|
|
3832
|
+
has_body: true,
|
|
3833
|
+
request_schema: "ImageUpload",
|
|
3834
|
+
response_schema: "Workspace",
|
|
3835
|
+
is_list: false,
|
|
3836
|
+
list_item_schema: nil
|
|
3837
|
+
},
|
|
3838
|
+
{
|
|
3839
|
+
operation_id: "workspace.update",
|
|
3840
|
+
resource: "workspace",
|
|
3841
|
+
credential: "workspace",
|
|
3842
|
+
method_name: "update",
|
|
3843
|
+
http_method: "PATCH",
|
|
3844
|
+
path: "/workspace",
|
|
3845
|
+
path_params: [],
|
|
3846
|
+
query_params: [],
|
|
3847
|
+
has_body: true,
|
|
3848
|
+
request_schema: "WorkspaceUpdate",
|
|
3849
|
+
response_schema: "Workspace",
|
|
3850
|
+
is_list: false,
|
|
3851
|
+
list_item_schema: nil
|
|
3852
|
+
},
|
|
3853
|
+
{
|
|
3854
|
+
operation_id: "workspace.whoami",
|
|
3855
|
+
resource: "workspace",
|
|
3856
|
+
credential: "workspace",
|
|
3857
|
+
method_name: "whoami",
|
|
3858
|
+
http_method: "GET",
|
|
3859
|
+
path: "/whoami",
|
|
3860
|
+
path_params: [],
|
|
3861
|
+
query_params: [],
|
|
3862
|
+
has_body: false,
|
|
3863
|
+
request_schema: nil,
|
|
3864
|
+
response_schema: "Whoami",
|
|
3865
|
+
is_list: false,
|
|
3866
|
+
list_item_schema: nil
|
|
3867
|
+
},
|
|
1161
3868
|
].freeze
|
|
1162
3869
|
end
|
|
1163
3870
|
end
|