@adspireai/adspire-node-sdk 1.0.324 → 1.0.326

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.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // This file is auto-generated by @hey-api/openapi-ts
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.getWhiteboardPostComment = exports.deleteWhiteboardPostComment = exports.createWhiteboardPostComment = exports.listWhiteboardPostComments = exports.updateWhiteboard = exports.getWhiteboard = exports.deleteWhiteboard = exports.createWhiteboard = exports.listWhiteboards = exports.updateWhiteboardComment = exports.getWhiteboardComment = exports.deleteWhiteboardComment = exports.createWhiteboardComment = exports.listWhiteboardComments = exports.updateWebhookEvent = exports.getWebhookEvent = exports.deleteWebhookEvent = exports.createWebhookEvent = exports.listWebhookEvents = exports.updateCompany = exports.getCompany = exports.deleteCompany = exports.autocompleteCompanies = exports.createCompany = exports.listCompanies = exports.updateCampaign = exports.getCampaign = exports.deleteCampaign = exports.listBrandCampaigns = exports.createCampaign = exports.listCampaigns = exports.updateBrandPrompt = exports.getBrandPrompt = exports.deleteBrandPrompt = exports.createBrandPrompt = exports.listBrandPrompts = exports.updateBrandGraphGroup = exports.getBrandGraph = exports.updateBrand = exports.getBrand = exports.deleteBrand = exports.createBrand = exports.listBrands = exports.syncBrandChannels = exports.listBrandChannels = exports.updateBrandAssets = exports.getBrandAssets = exports.logoutUser = exports.getMe = exports.loginUser = void 0;
5
- exports.deleteWhiteboardPreview = exports.discardPreviousWhiteboardPreviews = exports.createWhiteboardPreview = exports.listWhiteboardPreviews = exports.duplicateWhiteboardPost = exports.reorderWhiteboardPosts = exports.updateWhiteboardPost = exports.getWhiteboardPost = exports.deleteWhiteboardPost = exports.createWhiteboardPost = exports.listWhiteboardPosts = exports.updateWhiteboardPostComment = void 0;
4
+ exports.getWhiteboard = exports.deleteWhiteboard = exports.createWhiteboard = exports.listWhiteboards = exports.updateWhiteboardComment = exports.getWhiteboardComment = exports.deleteWhiteboardComment = exports.createWhiteboardComment = exports.listWhiteboardComments = exports.updateWebhookEvent = exports.getWebhookEvent = exports.deleteWebhookEvent = exports.createWebhookEvent = exports.listWebhookEvents = exports.updateCompany = exports.getCompany = exports.deleteCompany = exports.autocompleteCompanies = exports.createCompany = exports.listCompanies = exports.updateCampaign = exports.getCampaign = exports.deleteCampaign = exports.listBrandCampaigns = exports.createCampaign = exports.listCampaigns = exports.updateBrandPrompt = exports.getBrandPrompt = exports.deleteBrandPrompt = exports.createBrandPrompt = exports.listBrandPrompts = exports.updateBrandGraphGroup = exports.getBrandGraph = exports.updateBrand = exports.getBrand = exports.deleteBrand = exports.createBrand = exports.listBrands = exports.updateBrandCompetitor = exports.getBrandCompetitor = exports.deleteBrandCompetitor = exports.createBrandCompetitor = exports.listBrandCompetitors = exports.syncBrandChannels = exports.listBrandChannels = exports.updateBrandAssets = exports.getBrandAssets = exports.logoutUser = exports.getMe = exports.loginUser = void 0;
5
+ exports.deleteWhiteboardPreview = exports.discardPreviousWhiteboardPreviews = exports.createWhiteboardPreview = exports.listWhiteboardPreviews = exports.duplicateWhiteboardPost = exports.reorderWhiteboardPosts = exports.updateWhiteboardPost = exports.getWhiteboardPost = exports.deleteWhiteboardPost = exports.createWhiteboardPost = exports.listWhiteboardPosts = exports.updateWhiteboardPostComment = exports.getWhiteboardPostComment = exports.deleteWhiteboardPostComment = exports.createWhiteboardPostComment = exports.listWhiteboardPostComments = exports.updateWhiteboard = void 0;
6
6
  const client_gen_1 = require("./client.gen");
7
7
  /**
8
8
  * User login
@@ -27,6 +27,12 @@ exports.loginUser = loginUser;
27
27
  const getMe = (options) => {
28
28
  var _a;
29
29
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
30
+ security: [
31
+ {
32
+ scheme: 'bearer',
33
+ type: 'http'
34
+ }
35
+ ],
30
36
  url: '/api/auth/me/',
31
37
  ...options
32
38
  });
@@ -39,6 +45,12 @@ exports.getMe = getMe;
39
45
  const logoutUser = (options) => {
40
46
  var _a;
41
47
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
48
+ security: [
49
+ {
50
+ scheme: 'bearer',
51
+ type: 'http'
52
+ }
53
+ ],
42
54
  url: '/api/auth/logout',
43
55
  ...options
44
56
  });
@@ -51,6 +63,12 @@ exports.logoutUser = logoutUser;
51
63
  const getBrandAssets = (options) => {
52
64
  var _a;
53
65
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
66
+ security: [
67
+ {
68
+ scheme: 'bearer',
69
+ type: 'http'
70
+ }
71
+ ],
54
72
  url: '/api/brands/{brand}/assets',
55
73
  ...options
56
74
  });
@@ -63,6 +81,12 @@ exports.getBrandAssets = getBrandAssets;
63
81
  const updateBrandAssets = (options) => {
64
82
  var _a;
65
83
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
84
+ security: [
85
+ {
86
+ scheme: 'bearer',
87
+ type: 'http'
88
+ }
89
+ ],
66
90
  url: '/api/brands/{brand}/assets',
67
91
  ...options,
68
92
  headers: {
@@ -79,6 +103,12 @@ exports.updateBrandAssets = updateBrandAssets;
79
103
  const listBrandChannels = (options) => {
80
104
  var _a;
81
105
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
106
+ security: [
107
+ {
108
+ scheme: 'bearer',
109
+ type: 'http'
110
+ }
111
+ ],
82
112
  url: '/api/brands/{brand}/channels',
83
113
  ...options
84
114
  });
@@ -91,6 +121,12 @@ exports.listBrandChannels = listBrandChannels;
91
121
  const syncBrandChannels = (options) => {
92
122
  var _a;
93
123
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
124
+ security: [
125
+ {
126
+ scheme: 'bearer',
127
+ type: 'http'
128
+ }
129
+ ],
94
130
  url: '/api/brands/{brand}/channels',
95
131
  ...options,
96
132
  headers: {
@@ -100,6 +136,104 @@ const syncBrandChannels = (options) => {
100
136
  });
101
137
  };
102
138
  exports.syncBrandChannels = syncBrandChannels;
139
+ /**
140
+ * List competitors for a brand
141
+ * Returns every competitor of the brand with its social profiles, oldest first.
142
+ */
143
+ const listBrandCompetitors = (options) => {
144
+ var _a;
145
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
146
+ security: [
147
+ {
148
+ scheme: 'bearer',
149
+ type: 'http'
150
+ }
151
+ ],
152
+ url: '/api/brands/{brand}/competitors',
153
+ ...options
154
+ });
155
+ };
156
+ exports.listBrandCompetitors = listBrandCompetitors;
157
+ /**
158
+ * Create brand competitor
159
+ * Creates a competitor for the brand together with its social profiles. At least one profile is required.
160
+ */
161
+ const createBrandCompetitor = (options) => {
162
+ var _a;
163
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
164
+ security: [
165
+ {
166
+ scheme: 'bearer',
167
+ type: 'http'
168
+ }
169
+ ],
170
+ url: '/api/brands/{brand}/competitors',
171
+ ...options,
172
+ headers: {
173
+ 'Content-Type': 'application/json',
174
+ ...options.headers
175
+ }
176
+ });
177
+ };
178
+ exports.createBrandCompetitor = createBrandCompetitor;
179
+ /**
180
+ * Delete brand competitor
181
+ * Deletes the competitor together with its social profiles and collected signals.
182
+ */
183
+ const deleteBrandCompetitor = (options) => {
184
+ var _a;
185
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
186
+ security: [
187
+ {
188
+ scheme: 'bearer',
189
+ type: 'http'
190
+ }
191
+ ],
192
+ url: '/api/brands/{brand}/competitors/{brand_competitor}',
193
+ ...options
194
+ });
195
+ };
196
+ exports.deleteBrandCompetitor = deleteBrandCompetitor;
197
+ /**
198
+ * Show brand competitor
199
+ * Returns one competitor of the brand with its social profiles.
200
+ */
201
+ const getBrandCompetitor = (options) => {
202
+ var _a;
203
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
204
+ security: [
205
+ {
206
+ scheme: 'bearer',
207
+ type: 'http'
208
+ }
209
+ ],
210
+ url: '/api/brands/{brand}/competitors/{brand_competitor}',
211
+ ...options
212
+ });
213
+ };
214
+ exports.getBrandCompetitor = getBrandCompetitor;
215
+ /**
216
+ * Update brand competitor
217
+ * Replaces the competitor's details and syncs its social profiles. Optional fields left out are cleared. Profiles sent with an id are updated, profiles without one are added, and profiles left out are deleted.
218
+ */
219
+ const updateBrandCompetitor = (options) => {
220
+ var _a;
221
+ return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
222
+ security: [
223
+ {
224
+ scheme: 'bearer',
225
+ type: 'http'
226
+ }
227
+ ],
228
+ url: '/api/brands/{brand}/competitors/{brand_competitor}',
229
+ ...options,
230
+ headers: {
231
+ 'Content-Type': 'application/json',
232
+ ...options.headers
233
+ }
234
+ });
235
+ };
236
+ exports.updateBrandCompetitor = updateBrandCompetitor;
103
237
  /**
104
238
  * List brands
105
239
  * Retrieve all brand records for the authenticated user's active workspace
@@ -107,6 +241,12 @@ exports.syncBrandChannels = syncBrandChannels;
107
241
  const listBrands = (options) => {
108
242
  var _a;
109
243
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
244
+ security: [
245
+ {
246
+ scheme: 'bearer',
247
+ type: 'http'
248
+ }
249
+ ],
110
250
  url: '/api/brands',
111
251
  ...options
112
252
  });
@@ -119,6 +259,12 @@ exports.listBrands = listBrands;
119
259
  const createBrand = (options) => {
120
260
  var _a;
121
261
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
262
+ security: [
263
+ {
264
+ scheme: 'bearer',
265
+ type: 'http'
266
+ }
267
+ ],
122
268
  url: '/api/brands',
123
269
  ...options,
124
270
  headers: {
@@ -135,6 +281,12 @@ exports.createBrand = createBrand;
135
281
  const deleteBrand = (options) => {
136
282
  var _a;
137
283
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
284
+ security: [
285
+ {
286
+ scheme: 'bearer',
287
+ type: 'http'
288
+ }
289
+ ],
138
290
  url: '/api/brands/{id}',
139
291
  ...options
140
292
  });
@@ -147,6 +299,12 @@ exports.deleteBrand = deleteBrand;
147
299
  const getBrand = (options) => {
148
300
  var _a;
149
301
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
302
+ security: [
303
+ {
304
+ scheme: 'bearer',
305
+ type: 'http'
306
+ }
307
+ ],
150
308
  url: '/api/brands/{id}',
151
309
  ...options
152
310
  });
@@ -159,6 +317,12 @@ exports.getBrand = getBrand;
159
317
  const updateBrand = (options) => {
160
318
  var _a;
161
319
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
320
+ security: [
321
+ {
322
+ scheme: 'bearer',
323
+ type: 'http'
324
+ }
325
+ ],
162
326
  url: '/api/brands/{id}',
163
327
  ...options,
164
328
  headers: {
@@ -175,6 +339,12 @@ exports.updateBrand = updateBrand;
175
339
  const getBrandGraph = (options) => {
176
340
  var _a;
177
341
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
342
+ security: [
343
+ {
344
+ scheme: 'bearer',
345
+ type: 'http'
346
+ }
347
+ ],
178
348
  url: '/api/brands/{brand}/graph',
179
349
  ...options
180
350
  });
@@ -187,6 +357,12 @@ exports.getBrandGraph = getBrandGraph;
187
357
  const updateBrandGraphGroup = (options) => {
188
358
  var _a;
189
359
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
360
+ security: [
361
+ {
362
+ scheme: 'bearer',
363
+ type: 'http'
364
+ }
365
+ ],
190
366
  url: '/api/brands/{brand}/graph/{group}',
191
367
  ...options,
192
368
  headers: {
@@ -203,6 +379,12 @@ exports.updateBrandGraphGroup = updateBrandGraphGroup;
203
379
  const listBrandPrompts = (options) => {
204
380
  var _a;
205
381
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
382
+ security: [
383
+ {
384
+ scheme: 'bearer',
385
+ type: 'http'
386
+ }
387
+ ],
206
388
  url: '/api/brands/{brand}/prompts',
207
389
  ...options
208
390
  });
@@ -215,6 +397,12 @@ exports.listBrandPrompts = listBrandPrompts;
215
397
  const createBrandPrompt = (options) => {
216
398
  var _a;
217
399
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
400
+ security: [
401
+ {
402
+ scheme: 'bearer',
403
+ type: 'http'
404
+ }
405
+ ],
218
406
  url: '/api/brands/{brand}/prompts',
219
407
  ...options,
220
408
  headers: {
@@ -231,6 +419,12 @@ exports.createBrandPrompt = createBrandPrompt;
231
419
  const deleteBrandPrompt = (options) => {
232
420
  var _a;
233
421
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
422
+ security: [
423
+ {
424
+ scheme: 'bearer',
425
+ type: 'http'
426
+ }
427
+ ],
234
428
  url: '/api/brands/{brand}/prompts/{brand_prompt}',
235
429
  ...options
236
430
  });
@@ -243,6 +437,12 @@ exports.deleteBrandPrompt = deleteBrandPrompt;
243
437
  const getBrandPrompt = (options) => {
244
438
  var _a;
245
439
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
440
+ security: [
441
+ {
442
+ scheme: 'bearer',
443
+ type: 'http'
444
+ }
445
+ ],
246
446
  url: '/api/brands/{brand}/prompts/{brand_prompt}',
247
447
  ...options
248
448
  });
@@ -255,6 +455,12 @@ exports.getBrandPrompt = getBrandPrompt;
255
455
  const updateBrandPrompt = (options) => {
256
456
  var _a;
257
457
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
458
+ security: [
459
+ {
460
+ scheme: 'bearer',
461
+ type: 'http'
462
+ }
463
+ ],
258
464
  url: '/api/brands/{brand}/prompts/{brand_prompt}',
259
465
  ...options,
260
466
  headers: {
@@ -271,6 +477,12 @@ exports.updateBrandPrompt = updateBrandPrompt;
271
477
  const listCampaigns = (options) => {
272
478
  var _a;
273
479
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
480
+ security: [
481
+ {
482
+ scheme: 'bearer',
483
+ type: 'http'
484
+ }
485
+ ],
274
486
  url: '/api/campaigns',
275
487
  ...options
276
488
  });
@@ -283,6 +495,12 @@ exports.listCampaigns = listCampaigns;
283
495
  const createCampaign = (options) => {
284
496
  var _a;
285
497
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
498
+ security: [
499
+ {
500
+ scheme: 'bearer',
501
+ type: 'http'
502
+ }
503
+ ],
286
504
  url: '/api/campaigns',
287
505
  ...options,
288
506
  headers: {
@@ -299,6 +517,12 @@ exports.createCampaign = createCampaign;
299
517
  const listBrandCampaigns = (options) => {
300
518
  var _a;
301
519
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
520
+ security: [
521
+ {
522
+ scheme: 'bearer',
523
+ type: 'http'
524
+ }
525
+ ],
302
526
  url: '/api/brands/{brand}/campaigns',
303
527
  ...options
304
528
  });
@@ -311,6 +535,12 @@ exports.listBrandCampaigns = listBrandCampaigns;
311
535
  const deleteCampaign = (options) => {
312
536
  var _a;
313
537
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
538
+ security: [
539
+ {
540
+ scheme: 'bearer',
541
+ type: 'http'
542
+ }
543
+ ],
314
544
  url: '/api/campaigns/{id}',
315
545
  ...options
316
546
  });
@@ -323,6 +553,12 @@ exports.deleteCampaign = deleteCampaign;
323
553
  const getCampaign = (options) => {
324
554
  var _a;
325
555
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
556
+ security: [
557
+ {
558
+ scheme: 'bearer',
559
+ type: 'http'
560
+ }
561
+ ],
326
562
  url: '/api/campaigns/{id}',
327
563
  ...options
328
564
  });
@@ -335,6 +571,12 @@ exports.getCampaign = getCampaign;
335
571
  const updateCampaign = (options) => {
336
572
  var _a;
337
573
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
574
+ security: [
575
+ {
576
+ scheme: 'bearer',
577
+ type: 'http'
578
+ }
579
+ ],
338
580
  url: '/api/campaigns/{id}',
339
581
  ...options,
340
582
  headers: {
@@ -351,6 +593,12 @@ exports.updateCampaign = updateCampaign;
351
593
  const listCompanies = (options) => {
352
594
  var _a;
353
595
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
596
+ security: [
597
+ {
598
+ scheme: 'bearer',
599
+ type: 'http'
600
+ }
601
+ ],
354
602
  url: '/api/companies',
355
603
  ...options
356
604
  });
@@ -363,6 +611,12 @@ exports.listCompanies = listCompanies;
363
611
  const createCompany = (options) => {
364
612
  var _a;
365
613
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
614
+ security: [
615
+ {
616
+ scheme: 'bearer',
617
+ type: 'http'
618
+ }
619
+ ],
366
620
  url: '/api/companies',
367
621
  ...options,
368
622
  headers: {
@@ -379,6 +633,12 @@ exports.createCompany = createCompany;
379
633
  const autocompleteCompanies = (options) => {
380
634
  var _a;
381
635
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
636
+ security: [
637
+ {
638
+ scheme: 'bearer',
639
+ type: 'http'
640
+ }
641
+ ],
382
642
  url: '/api/companies/autocomplete',
383
643
  ...options
384
644
  });
@@ -391,6 +651,12 @@ exports.autocompleteCompanies = autocompleteCompanies;
391
651
  const deleteCompany = (options) => {
392
652
  var _a;
393
653
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
654
+ security: [
655
+ {
656
+ scheme: 'bearer',
657
+ type: 'http'
658
+ }
659
+ ],
394
660
  url: '/api/companies/{id}',
395
661
  ...options
396
662
  });
@@ -403,6 +669,12 @@ exports.deleteCompany = deleteCompany;
403
669
  const getCompany = (options) => {
404
670
  var _a;
405
671
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
672
+ security: [
673
+ {
674
+ scheme: 'bearer',
675
+ type: 'http'
676
+ }
677
+ ],
406
678
  url: '/api/companies/{id}',
407
679
  ...options
408
680
  });
@@ -415,6 +687,12 @@ exports.getCompany = getCompany;
415
687
  const updateCompany = (options) => {
416
688
  var _a;
417
689
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
690
+ security: [
691
+ {
692
+ scheme: 'bearer',
693
+ type: 'http'
694
+ }
695
+ ],
418
696
  url: '/api/companies/{id}',
419
697
  ...options,
420
698
  headers: {
@@ -431,6 +709,12 @@ exports.updateCompany = updateCompany;
431
709
  const listWebhookEvents = (options) => {
432
710
  var _a;
433
711
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
712
+ security: [
713
+ {
714
+ scheme: 'bearer',
715
+ type: 'http'
716
+ }
717
+ ],
434
718
  url: '/api/webhook-events',
435
719
  ...options
436
720
  });
@@ -443,6 +727,12 @@ exports.listWebhookEvents = listWebhookEvents;
443
727
  const createWebhookEvent = (options) => {
444
728
  var _a;
445
729
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
730
+ security: [
731
+ {
732
+ scheme: 'bearer',
733
+ type: 'http'
734
+ }
735
+ ],
446
736
  url: '/api/webhook-events',
447
737
  ...options,
448
738
  headers: {
@@ -459,6 +749,12 @@ exports.createWebhookEvent = createWebhookEvent;
459
749
  const deleteWebhookEvent = (options) => {
460
750
  var _a;
461
751
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
752
+ security: [
753
+ {
754
+ scheme: 'bearer',
755
+ type: 'http'
756
+ }
757
+ ],
462
758
  url: '/api/webhook-events/{id}',
463
759
  ...options
464
760
  });
@@ -471,6 +767,12 @@ exports.deleteWebhookEvent = deleteWebhookEvent;
471
767
  const getWebhookEvent = (options) => {
472
768
  var _a;
473
769
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
770
+ security: [
771
+ {
772
+ scheme: 'bearer',
773
+ type: 'http'
774
+ }
775
+ ],
474
776
  url: '/api/webhook-events/{id}',
475
777
  ...options
476
778
  });
@@ -483,6 +785,12 @@ exports.getWebhookEvent = getWebhookEvent;
483
785
  const updateWebhookEvent = (options) => {
484
786
  var _a;
485
787
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
788
+ security: [
789
+ {
790
+ scheme: 'bearer',
791
+ type: 'http'
792
+ }
793
+ ],
486
794
  url: '/api/webhook-events/{id}',
487
795
  ...options,
488
796
  headers: {
@@ -499,6 +807,12 @@ exports.updateWebhookEvent = updateWebhookEvent;
499
807
  const listWhiteboardComments = (options) => {
500
808
  var _a;
501
809
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
810
+ security: [
811
+ {
812
+ scheme: 'bearer',
813
+ type: 'http'
814
+ }
815
+ ],
502
816
  url: '/api/whiteboards/{whiteboard}/comments',
503
817
  ...options
504
818
  });
@@ -511,6 +825,12 @@ exports.listWhiteboardComments = listWhiteboardComments;
511
825
  const createWhiteboardComment = (options) => {
512
826
  var _a;
513
827
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
828
+ security: [
829
+ {
830
+ scheme: 'bearer',
831
+ type: 'http'
832
+ }
833
+ ],
514
834
  url: '/api/whiteboards/{whiteboard}/comments',
515
835
  ...options,
516
836
  headers: {
@@ -527,6 +847,12 @@ exports.createWhiteboardComment = createWhiteboardComment;
527
847
  const deleteWhiteboardComment = (options) => {
528
848
  var _a;
529
849
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
850
+ security: [
851
+ {
852
+ scheme: 'bearer',
853
+ type: 'http'
854
+ }
855
+ ],
530
856
  url: '/api/whiteboards/{whiteboard}/comments/{comment}',
531
857
  ...options
532
858
  });
@@ -539,6 +865,12 @@ exports.deleteWhiteboardComment = deleteWhiteboardComment;
539
865
  const getWhiteboardComment = (options) => {
540
866
  var _a;
541
867
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
868
+ security: [
869
+ {
870
+ scheme: 'bearer',
871
+ type: 'http'
872
+ }
873
+ ],
542
874
  url: '/api/whiteboards/{whiteboard}/comments/{comment}',
543
875
  ...options
544
876
  });
@@ -551,6 +883,12 @@ exports.getWhiteboardComment = getWhiteboardComment;
551
883
  const updateWhiteboardComment = (options) => {
552
884
  var _a;
553
885
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
886
+ security: [
887
+ {
888
+ scheme: 'bearer',
889
+ type: 'http'
890
+ }
891
+ ],
554
892
  url: '/api/whiteboards/{whiteboard}/comments/{comment}',
555
893
  ...options,
556
894
  headers: {
@@ -567,6 +905,12 @@ exports.updateWhiteboardComment = updateWhiteboardComment;
567
905
  const listWhiteboards = (options) => {
568
906
  var _a;
569
907
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
908
+ security: [
909
+ {
910
+ scheme: 'bearer',
911
+ type: 'http'
912
+ }
913
+ ],
570
914
  url: '/api/whiteboards',
571
915
  ...options
572
916
  });
@@ -579,6 +923,12 @@ exports.listWhiteboards = listWhiteboards;
579
923
  const createWhiteboard = (options) => {
580
924
  var _a;
581
925
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
926
+ security: [
927
+ {
928
+ scheme: 'bearer',
929
+ type: 'http'
930
+ }
931
+ ],
582
932
  url: '/api/whiteboards',
583
933
  ...options,
584
934
  headers: {
@@ -595,6 +945,12 @@ exports.createWhiteboard = createWhiteboard;
595
945
  const deleteWhiteboard = (options) => {
596
946
  var _a;
597
947
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
948
+ security: [
949
+ {
950
+ scheme: 'bearer',
951
+ type: 'http'
952
+ }
953
+ ],
598
954
  url: '/api/whiteboards/{id}',
599
955
  ...options
600
956
  });
@@ -607,6 +963,12 @@ exports.deleteWhiteboard = deleteWhiteboard;
607
963
  const getWhiteboard = (options) => {
608
964
  var _a;
609
965
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
966
+ security: [
967
+ {
968
+ scheme: 'bearer',
969
+ type: 'http'
970
+ }
971
+ ],
610
972
  url: '/api/whiteboards/{id}',
611
973
  ...options
612
974
  });
@@ -619,6 +981,12 @@ exports.getWhiteboard = getWhiteboard;
619
981
  const updateWhiteboard = (options) => {
620
982
  var _a;
621
983
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
984
+ security: [
985
+ {
986
+ scheme: 'bearer',
987
+ type: 'http'
988
+ }
989
+ ],
622
990
  url: '/api/whiteboards/{id}',
623
991
  ...options,
624
992
  headers: {
@@ -635,6 +1003,12 @@ exports.updateWhiteboard = updateWhiteboard;
635
1003
  const listWhiteboardPostComments = (options) => {
636
1004
  var _a;
637
1005
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1006
+ security: [
1007
+ {
1008
+ scheme: 'bearer',
1009
+ type: 'http'
1010
+ }
1011
+ ],
638
1012
  url: '/api/whiteboards/{whiteboard}/posts/{whiteboard_post}/comments',
639
1013
  ...options
640
1014
  });
@@ -647,6 +1021,12 @@ exports.listWhiteboardPostComments = listWhiteboardPostComments;
647
1021
  const createWhiteboardPostComment = (options) => {
648
1022
  var _a;
649
1023
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1024
+ security: [
1025
+ {
1026
+ scheme: 'bearer',
1027
+ type: 'http'
1028
+ }
1029
+ ],
650
1030
  url: '/api/whiteboards/{whiteboard}/posts/{whiteboard_post}/comments',
651
1031
  ...options,
652
1032
  headers: {
@@ -663,6 +1043,12 @@ exports.createWhiteboardPostComment = createWhiteboardPostComment;
663
1043
  const deleteWhiteboardPostComment = (options) => {
664
1044
  var _a;
665
1045
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
1046
+ security: [
1047
+ {
1048
+ scheme: 'bearer',
1049
+ type: 'http'
1050
+ }
1051
+ ],
666
1052
  url: '/api/whiteboards/{whiteboard}/posts/{whiteboard_post}/comments/{comment}',
667
1053
  ...options
668
1054
  });
@@ -675,6 +1061,12 @@ exports.deleteWhiteboardPostComment = deleteWhiteboardPostComment;
675
1061
  const getWhiteboardPostComment = (options) => {
676
1062
  var _a;
677
1063
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1064
+ security: [
1065
+ {
1066
+ scheme: 'bearer',
1067
+ type: 'http'
1068
+ }
1069
+ ],
678
1070
  url: '/api/whiteboards/{whiteboard}/posts/{whiteboard_post}/comments/{comment}',
679
1071
  ...options
680
1072
  });
@@ -687,6 +1079,12 @@ exports.getWhiteboardPostComment = getWhiteboardPostComment;
687
1079
  const updateWhiteboardPostComment = (options) => {
688
1080
  var _a;
689
1081
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1082
+ security: [
1083
+ {
1084
+ scheme: 'bearer',
1085
+ type: 'http'
1086
+ }
1087
+ ],
690
1088
  url: '/api/whiteboards/{whiteboard}/posts/{whiteboard_post}/comments/{comment}',
691
1089
  ...options,
692
1090
  headers: {
@@ -703,6 +1101,12 @@ exports.updateWhiteboardPostComment = updateWhiteboardPostComment;
703
1101
  const listWhiteboardPosts = (options) => {
704
1102
  var _a;
705
1103
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1104
+ security: [
1105
+ {
1106
+ scheme: 'bearer',
1107
+ type: 'http'
1108
+ }
1109
+ ],
706
1110
  url: '/api/whiteboards/{whiteboard}/posts',
707
1111
  ...options
708
1112
  });
@@ -715,6 +1119,12 @@ exports.listWhiteboardPosts = listWhiteboardPosts;
715
1119
  const createWhiteboardPost = (options) => {
716
1120
  var _a;
717
1121
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1122
+ security: [
1123
+ {
1124
+ scheme: 'bearer',
1125
+ type: 'http'
1126
+ }
1127
+ ],
718
1128
  url: '/api/whiteboards/{whiteboard}/posts',
719
1129
  ...options,
720
1130
  headers: {
@@ -731,6 +1141,12 @@ exports.createWhiteboardPost = createWhiteboardPost;
731
1141
  const deleteWhiteboardPost = (options) => {
732
1142
  var _a;
733
1143
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
1144
+ security: [
1145
+ {
1146
+ scheme: 'bearer',
1147
+ type: 'http'
1148
+ }
1149
+ ],
734
1150
  url: '/api/whiteboards/{whiteboard}/posts/{whiteboard_post}',
735
1151
  ...options
736
1152
  });
@@ -743,6 +1159,12 @@ exports.deleteWhiteboardPost = deleteWhiteboardPost;
743
1159
  const getWhiteboardPost = (options) => {
744
1160
  var _a;
745
1161
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1162
+ security: [
1163
+ {
1164
+ scheme: 'bearer',
1165
+ type: 'http'
1166
+ }
1167
+ ],
746
1168
  url: '/api/whiteboards/{whiteboard}/posts/{whiteboard_post}',
747
1169
  ...options
748
1170
  });
@@ -755,6 +1177,12 @@ exports.getWhiteboardPost = getWhiteboardPost;
755
1177
  const updateWhiteboardPost = (options) => {
756
1178
  var _a;
757
1179
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1180
+ security: [
1181
+ {
1182
+ scheme: 'bearer',
1183
+ type: 'http'
1184
+ }
1185
+ ],
758
1186
  url: '/api/whiteboards/{whiteboard}/posts/{whiteboard_post}',
759
1187
  ...options,
760
1188
  headers: {
@@ -771,6 +1199,12 @@ exports.updateWhiteboardPost = updateWhiteboardPost;
771
1199
  const reorderWhiteboardPosts = (options) => {
772
1200
  var _a;
773
1201
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1202
+ security: [
1203
+ {
1204
+ scheme: 'bearer',
1205
+ type: 'http'
1206
+ }
1207
+ ],
774
1208
  url: '/api/whiteboards/{whiteboard}/posts/reorder',
775
1209
  ...options,
776
1210
  headers: {
@@ -787,6 +1221,12 @@ exports.reorderWhiteboardPosts = reorderWhiteboardPosts;
787
1221
  const duplicateWhiteboardPost = (options) => {
788
1222
  var _a;
789
1223
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1224
+ security: [
1225
+ {
1226
+ scheme: 'bearer',
1227
+ type: 'http'
1228
+ }
1229
+ ],
790
1230
  url: '/api/whiteboards/{whiteboard}/posts/{whiteboard_post}/duplicate',
791
1231
  ...options
792
1232
  });
@@ -799,6 +1239,12 @@ exports.duplicateWhiteboardPost = duplicateWhiteboardPost;
799
1239
  const listWhiteboardPreviews = (options) => {
800
1240
  var _a;
801
1241
  return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1242
+ security: [
1243
+ {
1244
+ scheme: 'bearer',
1245
+ type: 'http'
1246
+ }
1247
+ ],
802
1248
  url: '/api/whiteboard-previews',
803
1249
  ...options
804
1250
  });
@@ -811,6 +1257,12 @@ exports.listWhiteboardPreviews = listWhiteboardPreviews;
811
1257
  const createWhiteboardPreview = (options) => {
812
1258
  var _a;
813
1259
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1260
+ security: [
1261
+ {
1262
+ scheme: 'bearer',
1263
+ type: 'http'
1264
+ }
1265
+ ],
814
1266
  url: '/api/whiteboard-previews',
815
1267
  ...options,
816
1268
  headers: {
@@ -827,6 +1279,12 @@ exports.createWhiteboardPreview = createWhiteboardPreview;
827
1279
  const discardPreviousWhiteboardPreviews = (options) => {
828
1280
  var _a;
829
1281
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1282
+ security: [
1283
+ {
1284
+ scheme: 'bearer',
1285
+ type: 'http'
1286
+ }
1287
+ ],
830
1288
  url: '/api/whiteboard-previews/{id}/discard-previous',
831
1289
  ...options
832
1290
  });
@@ -839,6 +1297,12 @@ exports.discardPreviousWhiteboardPreviews = discardPreviousWhiteboardPreviews;
839
1297
  const deleteWhiteboardPreview = (options) => {
840
1298
  var _a;
841
1299
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
1300
+ security: [
1301
+ {
1302
+ scheme: 'bearer',
1303
+ type: 'http'
1304
+ }
1305
+ ],
842
1306
  url: '/api/whiteboard-previews/{id}',
843
1307
  ...options
844
1308
  });