@adspireai/adspire-node-sdk 1.0.41 → 1.0.43
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.
- package/dist/types.gen.d.ts +126 -123
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
export type PostPlatform = 'facebook' | 'linkedin' | 'instagram' | 'blog' | 'google_ads' | 'figma' | 'generic';
|
|
2
|
+
export type PostStatus = 'draft' | 'scheduled' | 'published' | 'error';
|
|
3
|
+
export type PostType = 'carousel' | 'reel' | 'short' | 'single_image' | 'video' | 'story' | 'article';
|
|
1
4
|
export type AiCreditUsage = {
|
|
2
5
|
id?: number;
|
|
3
|
-
brand_id:
|
|
4
|
-
workspace_id:
|
|
5
|
-
used_by_user_id?:
|
|
6
|
+
brand_id: string;
|
|
7
|
+
workspace_id: string;
|
|
8
|
+
used_by_user_id?: string | null;
|
|
6
9
|
usage_type: string;
|
|
7
10
|
credits_used: number;
|
|
8
|
-
reference_id?:
|
|
11
|
+
reference_id?: string | null;
|
|
9
12
|
details?: {
|
|
10
13
|
[key: string]: unknown;
|
|
11
14
|
} | null;
|
|
@@ -14,25 +17,25 @@ export type AiCreditUsage = {
|
|
|
14
17
|
updated_at?: string;
|
|
15
18
|
};
|
|
16
19
|
export type ActivityLogs = {
|
|
17
|
-
id?:
|
|
20
|
+
id?: string;
|
|
18
21
|
loggable_type: string;
|
|
19
|
-
user_id:
|
|
22
|
+
user_id: string;
|
|
20
23
|
action: string;
|
|
21
24
|
comment?: string;
|
|
22
25
|
created_at?: string;
|
|
23
26
|
updated_at?: string;
|
|
24
27
|
};
|
|
25
28
|
export type ApiKeys = {
|
|
26
|
-
id?:
|
|
27
|
-
user_id:
|
|
29
|
+
id?: string;
|
|
30
|
+
user_id: string;
|
|
28
31
|
key: string;
|
|
29
32
|
name: string;
|
|
30
33
|
created_at?: string;
|
|
31
34
|
updated_at?: string;
|
|
32
35
|
};
|
|
33
36
|
export type ApprovalRequests = {
|
|
34
|
-
user_id:
|
|
35
|
-
whiteboard_preview_id:
|
|
37
|
+
user_id: string;
|
|
38
|
+
whiteboard_preview_id: string;
|
|
36
39
|
status: string;
|
|
37
40
|
reason?: string;
|
|
38
41
|
decision?: string;
|
|
@@ -41,8 +44,8 @@ export type ApprovalRequests = {
|
|
|
41
44
|
updated_at?: string;
|
|
42
45
|
};
|
|
43
46
|
export type Brands = {
|
|
44
|
-
id?:
|
|
45
|
-
workspace_id:
|
|
47
|
+
id?: string;
|
|
48
|
+
workspace_id: string;
|
|
46
49
|
name: string;
|
|
47
50
|
company_id?: number;
|
|
48
51
|
email: string;
|
|
@@ -52,9 +55,9 @@ export type Brands = {
|
|
|
52
55
|
updated_at?: string;
|
|
53
56
|
};
|
|
54
57
|
export type Campaigns = {
|
|
55
|
-
id?:
|
|
56
|
-
brand_id:
|
|
57
|
-
workspace_id:
|
|
58
|
+
id?: string;
|
|
59
|
+
brand_id: string;
|
|
60
|
+
workspace_id: string;
|
|
58
61
|
title: string;
|
|
59
62
|
description?: string;
|
|
60
63
|
start_date?: string;
|
|
@@ -64,13 +67,13 @@ export type Campaigns = {
|
|
|
64
67
|
updated_at?: string;
|
|
65
68
|
};
|
|
66
69
|
export type Comments = {
|
|
67
|
-
id?:
|
|
68
|
-
user_id:
|
|
70
|
+
id?: string;
|
|
71
|
+
user_id: string;
|
|
69
72
|
content: string;
|
|
70
73
|
/**
|
|
71
74
|
* ID of the associated entity
|
|
72
75
|
*/
|
|
73
|
-
commentable_id?:
|
|
76
|
+
commentable_id?: string;
|
|
74
77
|
/**
|
|
75
78
|
* Type of the associated entity
|
|
76
79
|
*/
|
|
@@ -79,19 +82,19 @@ export type Comments = {
|
|
|
79
82
|
updated_at?: string;
|
|
80
83
|
};
|
|
81
84
|
export type Companies = {
|
|
82
|
-
id?:
|
|
85
|
+
id?: string;
|
|
83
86
|
name: string;
|
|
84
87
|
address?: string;
|
|
85
88
|
email?: string;
|
|
86
89
|
phone?: string;
|
|
87
90
|
};
|
|
88
91
|
export type CompanyUsers = {
|
|
89
|
-
id?:
|
|
92
|
+
id?: string;
|
|
90
93
|
user_id?: number;
|
|
91
|
-
company_id?:
|
|
94
|
+
company_id?: string;
|
|
92
95
|
};
|
|
93
96
|
export type Connectors = {
|
|
94
|
-
id?:
|
|
97
|
+
id?: string;
|
|
95
98
|
name: string;
|
|
96
99
|
type: string;
|
|
97
100
|
config?: {
|
|
@@ -106,11 +109,11 @@ export type ConnectorInstallations = {
|
|
|
106
109
|
/**
|
|
107
110
|
* Foreign key to connector
|
|
108
111
|
*/
|
|
109
|
-
connector_id:
|
|
112
|
+
connector_id: string;
|
|
110
113
|
/**
|
|
111
114
|
* Foreign key to workspace
|
|
112
115
|
*/
|
|
113
|
-
workspace_id:
|
|
116
|
+
workspace_id: string;
|
|
114
117
|
/**
|
|
115
118
|
* User who installed connector
|
|
116
119
|
*/
|
|
@@ -128,17 +131,17 @@ export type ConnectorInstallations = {
|
|
|
128
131
|
updated_at?: string;
|
|
129
132
|
};
|
|
130
133
|
export type ExternalUsers = {
|
|
131
|
-
id?:
|
|
134
|
+
id?: string;
|
|
132
135
|
email: string;
|
|
133
136
|
name?: string;
|
|
134
137
|
created_at?: string;
|
|
135
138
|
updated_at?: string;
|
|
136
139
|
};
|
|
137
140
|
export type Notifications = {
|
|
138
|
-
id?:
|
|
139
|
-
user_id:
|
|
141
|
+
id?: string;
|
|
142
|
+
user_id: string;
|
|
140
143
|
notifiable_type: string;
|
|
141
|
-
notifiable_id:
|
|
144
|
+
notifiable_id: string;
|
|
142
145
|
message: string;
|
|
143
146
|
type?: string;
|
|
144
147
|
read_at?: string | null;
|
|
@@ -146,7 +149,7 @@ export type Notifications = {
|
|
|
146
149
|
updated_at?: string;
|
|
147
150
|
};
|
|
148
151
|
export type Packages = {
|
|
149
|
-
id?:
|
|
152
|
+
id?: string;
|
|
150
153
|
name: string;
|
|
151
154
|
version: string;
|
|
152
155
|
monthly_ai_credits: number;
|
|
@@ -156,7 +159,7 @@ export type Packages = {
|
|
|
156
159
|
updated_at?: string;
|
|
157
160
|
};
|
|
158
161
|
export type Users = {
|
|
159
|
-
id?:
|
|
162
|
+
id?: string;
|
|
160
163
|
name: string;
|
|
161
164
|
email: string;
|
|
162
165
|
role?: string;
|
|
@@ -166,9 +169,9 @@ export type Users = {
|
|
|
166
169
|
updated_at?: string;
|
|
167
170
|
};
|
|
168
171
|
export type WebhookEvents = {
|
|
169
|
-
id?:
|
|
172
|
+
id?: string;
|
|
170
173
|
event_type: string;
|
|
171
|
-
connector_installation_id:
|
|
174
|
+
connector_installation_id: string;
|
|
172
175
|
payload: {
|
|
173
176
|
[key: string]: unknown;
|
|
174
177
|
};
|
|
@@ -177,8 +180,8 @@ export type WebhookEvents = {
|
|
|
177
180
|
updated_at?: string;
|
|
178
181
|
};
|
|
179
182
|
export type WebhookLogs = {
|
|
180
|
-
id?:
|
|
181
|
-
connector_installation_id:
|
|
183
|
+
id?: string;
|
|
184
|
+
connector_installation_id: string;
|
|
182
185
|
direction: 'incoming' | 'outgoing';
|
|
183
186
|
event_type: string;
|
|
184
187
|
payload: {
|
|
@@ -192,11 +195,11 @@ export type WebhookLogs = {
|
|
|
192
195
|
updated_at?: string;
|
|
193
196
|
};
|
|
194
197
|
export type Whiteboards = {
|
|
195
|
-
id?:
|
|
196
|
-
brand_id:
|
|
198
|
+
id?: string;
|
|
199
|
+
brand_id: string;
|
|
197
200
|
title: string;
|
|
198
201
|
description?: string;
|
|
199
|
-
owner_id?:
|
|
202
|
+
owner_id?: string;
|
|
200
203
|
created_at?: string;
|
|
201
204
|
updated_at?: string;
|
|
202
205
|
};
|
|
@@ -204,10 +207,10 @@ export type WhiteboardsWithPosts = Whiteboards & {
|
|
|
204
207
|
posts?: Array<WhiteboardPosts>;
|
|
205
208
|
};
|
|
206
209
|
export type WhiteboardPosts = {
|
|
207
|
-
id?:
|
|
208
|
-
whiteboard_id:
|
|
209
|
-
type?:
|
|
210
|
-
platform?:
|
|
210
|
+
id?: string;
|
|
211
|
+
whiteboard_id: string;
|
|
212
|
+
type?: PostType;
|
|
213
|
+
platform?: PostPlatform;
|
|
211
214
|
content?: string;
|
|
212
215
|
title?: string;
|
|
213
216
|
image_url?: string;
|
|
@@ -218,7 +221,7 @@ export type WhiteboardPosts = {
|
|
|
218
221
|
platform_metadata?: {
|
|
219
222
|
[key: string]: unknown;
|
|
220
223
|
};
|
|
221
|
-
status?:
|
|
224
|
+
status?: PostStatus;
|
|
222
225
|
platform_ad_id?: string;
|
|
223
226
|
ad_status?: string;
|
|
224
227
|
ad_budget?: number;
|
|
@@ -231,26 +234,26 @@ export type WhiteboardPosts = {
|
|
|
231
234
|
updated_at?: string;
|
|
232
235
|
};
|
|
233
236
|
export type WhiteboardPreviews = {
|
|
234
|
-
id?:
|
|
237
|
+
id?: string;
|
|
235
238
|
title: string;
|
|
236
|
-
whiteboard_id:
|
|
239
|
+
whiteboard_id: string;
|
|
237
240
|
image_url?: string;
|
|
238
241
|
generated_at?: string;
|
|
239
242
|
created_at?: string;
|
|
240
243
|
updated_at?: string;
|
|
241
244
|
};
|
|
242
245
|
export type Workspaces = {
|
|
243
|
-
id?:
|
|
246
|
+
id?: string;
|
|
244
247
|
name: string;
|
|
245
248
|
description?: string;
|
|
246
|
-
owner_id?:
|
|
249
|
+
owner_id?: string;
|
|
247
250
|
created_at?: string;
|
|
248
251
|
updated_at?: string;
|
|
249
252
|
};
|
|
250
253
|
export type WorkspaceUser = {
|
|
251
|
-
id?:
|
|
252
|
-
user_id?:
|
|
253
|
-
workspace_id?:
|
|
254
|
+
id?: string;
|
|
255
|
+
user_id?: string;
|
|
256
|
+
workspace_id?: string;
|
|
254
257
|
};
|
|
255
258
|
export type ListAiCreditUsagesData = {
|
|
256
259
|
body?: never;
|
|
@@ -290,7 +293,7 @@ export type ListBrandAiCreditUsagesData = {
|
|
|
290
293
|
/**
|
|
291
294
|
* Brand ID
|
|
292
295
|
*/
|
|
293
|
-
brand:
|
|
296
|
+
brand: string;
|
|
294
297
|
};
|
|
295
298
|
query?: never;
|
|
296
299
|
url: '/api/brands/{brand}/ai-credit-usages';
|
|
@@ -308,7 +311,7 @@ export type ListWorkspaceAiCreditUsagesData = {
|
|
|
308
311
|
/**
|
|
309
312
|
* Workspace ID
|
|
310
313
|
*/
|
|
311
|
-
workspace:
|
|
314
|
+
workspace: string;
|
|
312
315
|
};
|
|
313
316
|
query?: never;
|
|
314
317
|
url: '/api/workspaces/{workspace}/ai-credit-usages';
|
|
@@ -326,7 +329,7 @@ export type DeleteAiCreditUsageData = {
|
|
|
326
329
|
/**
|
|
327
330
|
* AICreditUsage ID
|
|
328
331
|
*/
|
|
329
|
-
id:
|
|
332
|
+
id: string;
|
|
330
333
|
};
|
|
331
334
|
query?: never;
|
|
332
335
|
url: '/api/ai-credit-usages/{id}';
|
|
@@ -350,7 +353,7 @@ export type GetAiCreditUsageData = {
|
|
|
350
353
|
/**
|
|
351
354
|
* AICreditUsage ID
|
|
352
355
|
*/
|
|
353
|
-
id:
|
|
356
|
+
id: string;
|
|
354
357
|
};
|
|
355
358
|
query?: never;
|
|
356
359
|
url: '/api/ai-credit-usages/{id}';
|
|
@@ -368,7 +371,7 @@ export type UpdateAiCreditUsageData = {
|
|
|
368
371
|
/**
|
|
369
372
|
* AICreditUsage ID
|
|
370
373
|
*/
|
|
371
|
-
id:
|
|
374
|
+
id: string;
|
|
372
375
|
};
|
|
373
376
|
query?: never;
|
|
374
377
|
url: '/api/ai-credit-usages/{id}';
|
|
@@ -424,7 +427,7 @@ export type ListWorkspaceActivityLogsData = {
|
|
|
424
427
|
/**
|
|
425
428
|
* Workspace ID
|
|
426
429
|
*/
|
|
427
|
-
workspace_id:
|
|
430
|
+
workspace_id: string;
|
|
428
431
|
};
|
|
429
432
|
query?: never;
|
|
430
433
|
url: '/api/workspaces/{workspace_id}/activity-logs';
|
|
@@ -442,7 +445,7 @@ export type ListBrandActivityLogsData = {
|
|
|
442
445
|
/**
|
|
443
446
|
* Brand ID
|
|
444
447
|
*/
|
|
445
|
-
brand_id:
|
|
448
|
+
brand_id: string;
|
|
446
449
|
};
|
|
447
450
|
query?: never;
|
|
448
451
|
url: '/api/brands/{brand_id}/activity-logs';
|
|
@@ -460,7 +463,7 @@ export type DeleteActivityLogData = {
|
|
|
460
463
|
/**
|
|
461
464
|
* ActivityLog ID
|
|
462
465
|
*/
|
|
463
|
-
id:
|
|
466
|
+
id: string;
|
|
464
467
|
};
|
|
465
468
|
query?: never;
|
|
466
469
|
url: '/api/activity-logs/{id}';
|
|
@@ -484,7 +487,7 @@ export type GetActivityLogData = {
|
|
|
484
487
|
/**
|
|
485
488
|
* ActivityLog ID
|
|
486
489
|
*/
|
|
487
|
-
id:
|
|
490
|
+
id: string;
|
|
488
491
|
};
|
|
489
492
|
query?: never;
|
|
490
493
|
url: '/api/activity-logs/{id}';
|
|
@@ -508,7 +511,7 @@ export type UpdateActivityLogData = {
|
|
|
508
511
|
/**
|
|
509
512
|
* ActivityLog ID
|
|
510
513
|
*/
|
|
511
|
-
id:
|
|
514
|
+
id: string;
|
|
512
515
|
};
|
|
513
516
|
query?: never;
|
|
514
517
|
url: '/api/activity-logs/{id}';
|
|
@@ -564,7 +567,7 @@ export type DeleteApiKeyData = {
|
|
|
564
567
|
/**
|
|
565
568
|
* API key ID
|
|
566
569
|
*/
|
|
567
|
-
id:
|
|
570
|
+
id: string;
|
|
568
571
|
};
|
|
569
572
|
query?: never;
|
|
570
573
|
url: '/api/api-keys/{id}';
|
|
@@ -588,7 +591,7 @@ export type GetApiKeyData = {
|
|
|
588
591
|
/**
|
|
589
592
|
* API key ID
|
|
590
593
|
*/
|
|
591
|
-
id:
|
|
594
|
+
id: string;
|
|
592
595
|
};
|
|
593
596
|
query?: never;
|
|
594
597
|
url: '/api/api-keys/{id}';
|
|
@@ -612,7 +615,7 @@ export type UpdateApiKeyData = {
|
|
|
612
615
|
/**
|
|
613
616
|
* API key ID
|
|
614
617
|
*/
|
|
615
|
-
id:
|
|
618
|
+
id: string;
|
|
616
619
|
};
|
|
617
620
|
query?: never;
|
|
618
621
|
url: '/api/api-keys/{id}';
|
|
@@ -665,7 +668,7 @@ export type CreateApprovalRequestResponse = CreateApprovalRequestResponses[keyof
|
|
|
665
668
|
export type ListApprovalRequestsByWhiteboardPreviewData = {
|
|
666
669
|
body?: never;
|
|
667
670
|
path: {
|
|
668
|
-
whiteboardPreview:
|
|
671
|
+
whiteboardPreview: string;
|
|
669
672
|
};
|
|
670
673
|
query?: never;
|
|
671
674
|
url: '/api/whiteboard-preview/{whiteboardPreview}/approval-requests';
|
|
@@ -683,7 +686,7 @@ export type DeleteApprovalRequestData = {
|
|
|
683
686
|
/**
|
|
684
687
|
* ApprovalRequest ID
|
|
685
688
|
*/
|
|
686
|
-
id:
|
|
689
|
+
id: string;
|
|
687
690
|
};
|
|
688
691
|
query?: never;
|
|
689
692
|
url: '/api/approval-requests/{id}';
|
|
@@ -707,7 +710,7 @@ export type GetApprovalRequestData = {
|
|
|
707
710
|
/**
|
|
708
711
|
* ApprovalRequest ID
|
|
709
712
|
*/
|
|
710
|
-
id:
|
|
713
|
+
id: string;
|
|
711
714
|
};
|
|
712
715
|
query?: never;
|
|
713
716
|
url: '/api/approval-requests/{id}';
|
|
@@ -731,7 +734,7 @@ export type UpdateApprovalRequestData = {
|
|
|
731
734
|
/**
|
|
732
735
|
* ApprovalRequest ID
|
|
733
736
|
*/
|
|
734
|
-
id:
|
|
737
|
+
id: string;
|
|
735
738
|
};
|
|
736
739
|
query?: never;
|
|
737
740
|
url: '/api/approval-requests/{id}';
|
|
@@ -982,7 +985,7 @@ export type DeleteBrandData = {
|
|
|
982
985
|
/**
|
|
983
986
|
* Brand ID
|
|
984
987
|
*/
|
|
985
|
-
id:
|
|
988
|
+
id: string;
|
|
986
989
|
};
|
|
987
990
|
query?: never;
|
|
988
991
|
url: '/api/brands/{id}';
|
|
@@ -1006,7 +1009,7 @@ export type GetBrandData = {
|
|
|
1006
1009
|
/**
|
|
1007
1010
|
* Brand ID
|
|
1008
1011
|
*/
|
|
1009
|
-
id:
|
|
1012
|
+
id: string;
|
|
1010
1013
|
};
|
|
1011
1014
|
query?: never;
|
|
1012
1015
|
url: '/api/brands/{id}';
|
|
@@ -1030,7 +1033,7 @@ export type UpdateBrandData = {
|
|
|
1030
1033
|
/**
|
|
1031
1034
|
* Brand ID
|
|
1032
1035
|
*/
|
|
1033
|
-
id:
|
|
1036
|
+
id: string;
|
|
1034
1037
|
};
|
|
1035
1038
|
query?: never;
|
|
1036
1039
|
url: '/api/brands/{id}';
|
|
@@ -1055,7 +1058,7 @@ export type ListCampaignsData = {
|
|
|
1055
1058
|
/**
|
|
1056
1059
|
* Workspace ID
|
|
1057
1060
|
*/
|
|
1058
|
-
workspace_id:
|
|
1061
|
+
workspace_id: string;
|
|
1059
1062
|
};
|
|
1060
1063
|
url: '/api/campaigns';
|
|
1061
1064
|
};
|
|
@@ -1100,7 +1103,7 @@ export type ListBrandCampaignsData = {
|
|
|
1100
1103
|
/**
|
|
1101
1104
|
* Brand ID
|
|
1102
1105
|
*/
|
|
1103
|
-
brand:
|
|
1106
|
+
brand: string;
|
|
1104
1107
|
};
|
|
1105
1108
|
query?: never;
|
|
1106
1109
|
url: '/api/brands/{brand}/campaigns';
|
|
@@ -1118,7 +1121,7 @@ export type DeleteCampaignData = {
|
|
|
1118
1121
|
/**
|
|
1119
1122
|
* Campaign ID
|
|
1120
1123
|
*/
|
|
1121
|
-
id:
|
|
1124
|
+
id: string;
|
|
1122
1125
|
};
|
|
1123
1126
|
query?: never;
|
|
1124
1127
|
url: '/api/campaigns/{id}';
|
|
@@ -1142,7 +1145,7 @@ export type GetCampaignData = {
|
|
|
1142
1145
|
/**
|
|
1143
1146
|
* Campaign ID
|
|
1144
1147
|
*/
|
|
1145
|
-
id:
|
|
1148
|
+
id: string;
|
|
1146
1149
|
};
|
|
1147
1150
|
query?: never;
|
|
1148
1151
|
url: '/api/campaigns/{id}';
|
|
@@ -1166,7 +1169,7 @@ export type UpdateCampaignData = {
|
|
|
1166
1169
|
/**
|
|
1167
1170
|
* Campaign ID
|
|
1168
1171
|
*/
|
|
1169
|
-
id:
|
|
1172
|
+
id: string;
|
|
1170
1173
|
};
|
|
1171
1174
|
query?: never;
|
|
1172
1175
|
url: '/api/campaigns/{id}';
|
|
@@ -1222,7 +1225,7 @@ export type DeleteCommentData = {
|
|
|
1222
1225
|
/**
|
|
1223
1226
|
* Comment ID
|
|
1224
1227
|
*/
|
|
1225
|
-
id:
|
|
1228
|
+
id: string;
|
|
1226
1229
|
};
|
|
1227
1230
|
query?: never;
|
|
1228
1231
|
url: '/api/comments/{id}';
|
|
@@ -1246,7 +1249,7 @@ export type GetCommentData = {
|
|
|
1246
1249
|
/**
|
|
1247
1250
|
* Comment ID
|
|
1248
1251
|
*/
|
|
1249
|
-
id:
|
|
1252
|
+
id: string;
|
|
1250
1253
|
};
|
|
1251
1254
|
query?: never;
|
|
1252
1255
|
url: '/api/comments/{id}';
|
|
@@ -1270,7 +1273,7 @@ export type UpdateCommentData = {
|
|
|
1270
1273
|
/**
|
|
1271
1274
|
* Comment ID
|
|
1272
1275
|
*/
|
|
1273
|
-
id:
|
|
1276
|
+
id: string;
|
|
1274
1277
|
};
|
|
1275
1278
|
query?: never;
|
|
1276
1279
|
url: '/api/comments/{id}';
|
|
@@ -1339,7 +1342,7 @@ export type DeleteConnectorData = {
|
|
|
1339
1342
|
/**
|
|
1340
1343
|
* Connector ID
|
|
1341
1344
|
*/
|
|
1342
|
-
id:
|
|
1345
|
+
id: string;
|
|
1343
1346
|
};
|
|
1344
1347
|
query?: never;
|
|
1345
1348
|
url: '/api/connectors/{id}';
|
|
@@ -1363,7 +1366,7 @@ export type GetConnectorData = {
|
|
|
1363
1366
|
/**
|
|
1364
1367
|
* Connector ID
|
|
1365
1368
|
*/
|
|
1366
|
-
id:
|
|
1369
|
+
id: string;
|
|
1367
1370
|
};
|
|
1368
1371
|
query?: never;
|
|
1369
1372
|
url: '/api/connectors/{id}';
|
|
@@ -1387,7 +1390,7 @@ export type UpdateConnectorData = {
|
|
|
1387
1390
|
/**
|
|
1388
1391
|
* Connector ID
|
|
1389
1392
|
*/
|
|
1390
|
-
id:
|
|
1393
|
+
id: string;
|
|
1391
1394
|
};
|
|
1392
1395
|
query?: never;
|
|
1393
1396
|
url: '/api/connectors/{id}';
|
|
@@ -1446,7 +1449,7 @@ export type DeleteConnectorInstallationData = {
|
|
|
1446
1449
|
/**
|
|
1447
1450
|
* ConnectorInstallation ID
|
|
1448
1451
|
*/
|
|
1449
|
-
id:
|
|
1452
|
+
id: string;
|
|
1450
1453
|
};
|
|
1451
1454
|
query?: never;
|
|
1452
1455
|
url: '/connector-installations/{id}';
|
|
@@ -1470,7 +1473,7 @@ export type GetConnectorInstallationData = {
|
|
|
1470
1473
|
/**
|
|
1471
1474
|
* ConnectorInstallation ID
|
|
1472
1475
|
*/
|
|
1473
|
-
id:
|
|
1476
|
+
id: string;
|
|
1474
1477
|
};
|
|
1475
1478
|
query?: never;
|
|
1476
1479
|
url: '/connector-installations/{id}';
|
|
@@ -1493,7 +1496,7 @@ export type UpdateConnectorInstallationData = {
|
|
|
1493
1496
|
/**
|
|
1494
1497
|
* ConnectorInstallation ID
|
|
1495
1498
|
*/
|
|
1496
|
-
id:
|
|
1499
|
+
id: string;
|
|
1497
1500
|
};
|
|
1498
1501
|
query?: never;
|
|
1499
1502
|
url: '/connector-installations/{id}';
|
|
@@ -1517,7 +1520,7 @@ export type ListExternalUsersData = {
|
|
|
1517
1520
|
/**
|
|
1518
1521
|
* Filter by brand ID
|
|
1519
1522
|
*/
|
|
1520
|
-
brand_id?:
|
|
1523
|
+
brand_id?: string;
|
|
1521
1524
|
};
|
|
1522
1525
|
url: '/api/external-users';
|
|
1523
1526
|
};
|
|
@@ -1559,7 +1562,7 @@ export type DeleteExternalUserData = {
|
|
|
1559
1562
|
/**
|
|
1560
1563
|
* External User ID
|
|
1561
1564
|
*/
|
|
1562
|
-
id:
|
|
1565
|
+
id: string;
|
|
1563
1566
|
};
|
|
1564
1567
|
query?: never;
|
|
1565
1568
|
url: '/api/external-users/{id}';
|
|
@@ -1583,7 +1586,7 @@ export type GetExternalUserData = {
|
|
|
1583
1586
|
/**
|
|
1584
1587
|
* External User ID
|
|
1585
1588
|
*/
|
|
1586
|
-
id:
|
|
1589
|
+
id: string;
|
|
1587
1590
|
};
|
|
1588
1591
|
query?: never;
|
|
1589
1592
|
url: '/api/external-users/{id}';
|
|
@@ -1607,7 +1610,7 @@ export type UpdateExternalUserData = {
|
|
|
1607
1610
|
/**
|
|
1608
1611
|
* External User ID
|
|
1609
1612
|
*/
|
|
1610
|
-
id:
|
|
1613
|
+
id: string;
|
|
1611
1614
|
};
|
|
1612
1615
|
query?: never;
|
|
1613
1616
|
url: '/api/external-users/{id}';
|
|
@@ -1668,7 +1671,7 @@ export type DeleteNotificationData = {
|
|
|
1668
1671
|
/**
|
|
1669
1672
|
* Notification ID
|
|
1670
1673
|
*/
|
|
1671
|
-
id:
|
|
1674
|
+
id: string;
|
|
1672
1675
|
};
|
|
1673
1676
|
query?: never;
|
|
1674
1677
|
url: '/api/notifications/{id}';
|
|
@@ -1692,7 +1695,7 @@ export type GetNotificationData = {
|
|
|
1692
1695
|
/**
|
|
1693
1696
|
* Notification ID
|
|
1694
1697
|
*/
|
|
1695
|
-
id:
|
|
1698
|
+
id: string;
|
|
1696
1699
|
};
|
|
1697
1700
|
query?: never;
|
|
1698
1701
|
url: '/api/notifications/{id}';
|
|
@@ -1716,7 +1719,7 @@ export type UpdateNotificationData = {
|
|
|
1716
1719
|
/**
|
|
1717
1720
|
* Notification ID
|
|
1718
1721
|
*/
|
|
1719
|
-
id:
|
|
1722
|
+
id: string;
|
|
1720
1723
|
};
|
|
1721
1724
|
query?: never;
|
|
1722
1725
|
url: '/api/notifications/{id}';
|
|
@@ -1772,7 +1775,7 @@ export type DeletePackageData = {
|
|
|
1772
1775
|
/**
|
|
1773
1776
|
* Package ID
|
|
1774
1777
|
*/
|
|
1775
|
-
id:
|
|
1778
|
+
id: string;
|
|
1776
1779
|
};
|
|
1777
1780
|
query?: never;
|
|
1778
1781
|
url: '/api/packages/{id}';
|
|
@@ -1796,7 +1799,7 @@ export type GetPackageData = {
|
|
|
1796
1799
|
/**
|
|
1797
1800
|
* Package ID
|
|
1798
1801
|
*/
|
|
1799
|
-
id:
|
|
1802
|
+
id: string;
|
|
1800
1803
|
};
|
|
1801
1804
|
query?: never;
|
|
1802
1805
|
url: '/api/packages/{id}';
|
|
@@ -1820,7 +1823,7 @@ export type UpdatePackageData = {
|
|
|
1820
1823
|
/**
|
|
1821
1824
|
* Package ID
|
|
1822
1825
|
*/
|
|
1823
|
-
id:
|
|
1826
|
+
id: string;
|
|
1824
1827
|
};
|
|
1825
1828
|
query?: never;
|
|
1826
1829
|
url: '/api/packages/{id}';
|
|
@@ -1882,7 +1885,7 @@ export type DeleteUserData = {
|
|
|
1882
1885
|
/**
|
|
1883
1886
|
* User ID
|
|
1884
1887
|
*/
|
|
1885
|
-
id:
|
|
1888
|
+
id: string;
|
|
1886
1889
|
};
|
|
1887
1890
|
query?: never;
|
|
1888
1891
|
url: '/api/users/{id}';
|
|
@@ -1906,7 +1909,7 @@ export type GetUserData = {
|
|
|
1906
1909
|
/**
|
|
1907
1910
|
* User ID
|
|
1908
1911
|
*/
|
|
1909
|
-
id:
|
|
1912
|
+
id: string;
|
|
1910
1913
|
};
|
|
1911
1914
|
query?: never;
|
|
1912
1915
|
url: '/api/users/{id}';
|
|
@@ -1930,7 +1933,7 @@ export type UpdateUserData = {
|
|
|
1930
1933
|
/**
|
|
1931
1934
|
* User ID
|
|
1932
1935
|
*/
|
|
1933
|
-
id:
|
|
1936
|
+
id: string;
|
|
1934
1937
|
};
|
|
1935
1938
|
query?: never;
|
|
1936
1939
|
url: '/api/users/{id}';
|
|
@@ -1997,7 +2000,7 @@ export type DeleteWebhookEventData = {
|
|
|
1997
2000
|
/**
|
|
1998
2001
|
* Webhook Event ID
|
|
1999
2002
|
*/
|
|
2000
|
-
id:
|
|
2003
|
+
id: string;
|
|
2001
2004
|
};
|
|
2002
2005
|
query?: never;
|
|
2003
2006
|
url: '/api/webhook-events/{id}';
|
|
@@ -2021,7 +2024,7 @@ export type GetWebhookEventData = {
|
|
|
2021
2024
|
/**
|
|
2022
2025
|
* Webhook Event ID
|
|
2023
2026
|
*/
|
|
2024
|
-
id:
|
|
2027
|
+
id: string;
|
|
2025
2028
|
};
|
|
2026
2029
|
query?: never;
|
|
2027
2030
|
url: '/api/webhook-events/{id}';
|
|
@@ -2045,7 +2048,7 @@ export type UpdateWebhookEventData = {
|
|
|
2045
2048
|
/**
|
|
2046
2049
|
* Webhook Event ID
|
|
2047
2050
|
*/
|
|
2048
|
-
id:
|
|
2051
|
+
id: string;
|
|
2049
2052
|
};
|
|
2050
2053
|
query?: never;
|
|
2051
2054
|
url: '/api/webhook-events/{id}';
|
|
@@ -2112,7 +2115,7 @@ export type DeleteWebhookLogData = {
|
|
|
2112
2115
|
/**
|
|
2113
2116
|
* Webhook Log ID
|
|
2114
2117
|
*/
|
|
2115
|
-
id:
|
|
2118
|
+
id: string;
|
|
2116
2119
|
};
|
|
2117
2120
|
query?: never;
|
|
2118
2121
|
url: '/api/webhook-logs/{id}';
|
|
@@ -2136,7 +2139,7 @@ export type GetWebhookLogData = {
|
|
|
2136
2139
|
/**
|
|
2137
2140
|
* Webhook Log ID
|
|
2138
2141
|
*/
|
|
2139
|
-
id:
|
|
2142
|
+
id: string;
|
|
2140
2143
|
};
|
|
2141
2144
|
query?: never;
|
|
2142
2145
|
url: '/api/webhook-logs/{id}';
|
|
@@ -2160,7 +2163,7 @@ export type UpdateWebhookLogData = {
|
|
|
2160
2163
|
/**
|
|
2161
2164
|
* Webhook Log ID
|
|
2162
2165
|
*/
|
|
2163
|
-
id:
|
|
2166
|
+
id: string;
|
|
2164
2167
|
};
|
|
2165
2168
|
query?: never;
|
|
2166
2169
|
url: '/api/webhook-logs/{id}';
|
|
@@ -2185,11 +2188,11 @@ export type ListWhiteboardsData = {
|
|
|
2185
2188
|
/**
|
|
2186
2189
|
* Filter by brand ID
|
|
2187
2190
|
*/
|
|
2188
|
-
brand_id?:
|
|
2191
|
+
brand_id?: string;
|
|
2189
2192
|
/**
|
|
2190
2193
|
* Filter by campaign ID
|
|
2191
2194
|
*/
|
|
2192
|
-
campaign_id?:
|
|
2195
|
+
campaign_id?: string;
|
|
2193
2196
|
};
|
|
2194
2197
|
url: '/api/whiteboards';
|
|
2195
2198
|
};
|
|
@@ -2231,7 +2234,7 @@ export type DeleteWhiteboardData = {
|
|
|
2231
2234
|
/**
|
|
2232
2235
|
* Whiteboard ID
|
|
2233
2236
|
*/
|
|
2234
|
-
id:
|
|
2237
|
+
id: string;
|
|
2235
2238
|
};
|
|
2236
2239
|
query?: never;
|
|
2237
2240
|
url: '/api/whiteboards/{id}';
|
|
@@ -2255,7 +2258,7 @@ export type GetWhiteboardData = {
|
|
|
2255
2258
|
/**
|
|
2256
2259
|
* Whiteboard ID
|
|
2257
2260
|
*/
|
|
2258
|
-
id:
|
|
2261
|
+
id: string;
|
|
2259
2262
|
};
|
|
2260
2263
|
query?: never;
|
|
2261
2264
|
url: '/api/whiteboards/{id}';
|
|
@@ -2279,7 +2282,7 @@ export type UpdateWhiteboardData = {
|
|
|
2279
2282
|
/**
|
|
2280
2283
|
* Whiteboard ID
|
|
2281
2284
|
*/
|
|
2282
|
-
id:
|
|
2285
|
+
id: string;
|
|
2283
2286
|
};
|
|
2284
2287
|
query?: never;
|
|
2285
2288
|
url: '/api/whiteboards/{id}';
|
|
@@ -2303,7 +2306,7 @@ export type ListWhiteboardPostsData = {
|
|
|
2303
2306
|
/**
|
|
2304
2307
|
* Whiteboard ID
|
|
2305
2308
|
*/
|
|
2306
|
-
whiteboard:
|
|
2309
|
+
whiteboard: string;
|
|
2307
2310
|
};
|
|
2308
2311
|
query?: {
|
|
2309
2312
|
/**
|
|
@@ -2336,7 +2339,7 @@ export type CreateWhiteboardPostData = {
|
|
|
2336
2339
|
/**
|
|
2337
2340
|
* Whiteboard ID
|
|
2338
2341
|
*/
|
|
2339
|
-
whiteboard:
|
|
2342
|
+
whiteboard: string;
|
|
2340
2343
|
};
|
|
2341
2344
|
query?: never;
|
|
2342
2345
|
url: '/api/whiteboards/{whiteboard}/posts';
|
|
@@ -2364,11 +2367,11 @@ export type DeleteWhiteboardPostData = {
|
|
|
2364
2367
|
/**
|
|
2365
2368
|
* Whiteboard ID
|
|
2366
2369
|
*/
|
|
2367
|
-
whiteboard:
|
|
2370
|
+
whiteboard: string;
|
|
2368
2371
|
/**
|
|
2369
2372
|
* Whiteboard Post ID
|
|
2370
2373
|
*/
|
|
2371
|
-
whiteboardPost:
|
|
2374
|
+
whiteboardPost: string;
|
|
2372
2375
|
};
|
|
2373
2376
|
query?: never;
|
|
2374
2377
|
url: '/api/whiteboards/{whiteboard}/posts/{whiteboardPost}';
|
|
@@ -2396,11 +2399,11 @@ export type GetWhiteboardPostData = {
|
|
|
2396
2399
|
/**
|
|
2397
2400
|
* Whiteboard ID
|
|
2398
2401
|
*/
|
|
2399
|
-
whiteboard:
|
|
2402
|
+
whiteboard: string;
|
|
2400
2403
|
/**
|
|
2401
2404
|
* Whiteboard Post ID
|
|
2402
2405
|
*/
|
|
2403
|
-
whiteboardPost:
|
|
2406
|
+
whiteboardPost: string;
|
|
2404
2407
|
};
|
|
2405
2408
|
query?: never;
|
|
2406
2409
|
url: '/api/whiteboards/{whiteboard}/posts/{whiteboardPost}';
|
|
@@ -2428,11 +2431,11 @@ export type UpdateWhiteboardPostData = {
|
|
|
2428
2431
|
/**
|
|
2429
2432
|
* Whiteboard ID
|
|
2430
2433
|
*/
|
|
2431
|
-
whiteboard:
|
|
2434
|
+
whiteboard: string;
|
|
2432
2435
|
/**
|
|
2433
2436
|
* Whiteboard Post ID
|
|
2434
2437
|
*/
|
|
2435
|
-
whiteboardPost:
|
|
2438
|
+
whiteboardPost: string;
|
|
2436
2439
|
};
|
|
2437
2440
|
query?: never;
|
|
2438
2441
|
url: '/api/whiteboards/{whiteboard}/posts/{whiteboardPost}';
|
|
@@ -2465,7 +2468,7 @@ export type ReorderWhiteboardPostsData = {
|
|
|
2465
2468
|
/**
|
|
2466
2469
|
* Whiteboard ID
|
|
2467
2470
|
*/
|
|
2468
|
-
whiteboard:
|
|
2471
|
+
whiteboard: string;
|
|
2469
2472
|
};
|
|
2470
2473
|
query?: never;
|
|
2471
2474
|
url: '/api/whiteboards/{whiteboard}/posts/reorder';
|
|
@@ -2496,7 +2499,7 @@ export type ListWhiteboardPreviewsData = {
|
|
|
2496
2499
|
/**
|
|
2497
2500
|
* Filter by whiteboard ID
|
|
2498
2501
|
*/
|
|
2499
|
-
whiteboard_id?:
|
|
2502
|
+
whiteboard_id?: string;
|
|
2500
2503
|
/**
|
|
2501
2504
|
* Filter for latest versions only
|
|
2502
2505
|
*/
|
|
@@ -2546,7 +2549,7 @@ export type DeleteWhiteboardPreviewData = {
|
|
|
2546
2549
|
/**
|
|
2547
2550
|
* Whiteboard Preview ID
|
|
2548
2551
|
*/
|
|
2549
|
-
id:
|
|
2552
|
+
id: string;
|
|
2550
2553
|
};
|
|
2551
2554
|
query?: never;
|
|
2552
2555
|
url: '/api/whiteboard-previews/{id}';
|
|
@@ -2570,7 +2573,7 @@ export type GetWhiteboardPreviewData = {
|
|
|
2570
2573
|
/**
|
|
2571
2574
|
* Whiteboard Preview ID
|
|
2572
2575
|
*/
|
|
2573
|
-
id:
|
|
2576
|
+
id: string;
|
|
2574
2577
|
};
|
|
2575
2578
|
query?: never;
|
|
2576
2579
|
url: '/api/whiteboard-previews/{id}';
|
|
@@ -2594,7 +2597,7 @@ export type UpdateWhiteboardPreviewData = {
|
|
|
2594
2597
|
/**
|
|
2595
2598
|
* Whiteboard Preview ID
|
|
2596
2599
|
*/
|
|
2597
|
-
id:
|
|
2600
|
+
id: string;
|
|
2598
2601
|
};
|
|
2599
2602
|
query?: never;
|
|
2600
2603
|
url: '/api/whiteboard-previews/{id}';
|
|
@@ -2650,7 +2653,7 @@ export type DeleteWorkspaceData = {
|
|
|
2650
2653
|
/**
|
|
2651
2654
|
* Workspace ID
|
|
2652
2655
|
*/
|
|
2653
|
-
id:
|
|
2656
|
+
id: string;
|
|
2654
2657
|
};
|
|
2655
2658
|
query?: never;
|
|
2656
2659
|
url: '/api/workspaces/{id}';
|
|
@@ -2674,7 +2677,7 @@ export type GetWorkspaceData = {
|
|
|
2674
2677
|
/**
|
|
2675
2678
|
* Workspace ID
|
|
2676
2679
|
*/
|
|
2677
|
-
id:
|
|
2680
|
+
id: string;
|
|
2678
2681
|
};
|
|
2679
2682
|
query?: never;
|
|
2680
2683
|
url: '/api/workspaces/{id}';
|
|
@@ -2698,7 +2701,7 @@ export type UpdateWorkspaceData = {
|
|
|
2698
2701
|
/**
|
|
2699
2702
|
* Workspace ID
|
|
2700
2703
|
*/
|
|
2701
|
-
id:
|
|
2704
|
+
id: string;
|
|
2702
2705
|
};
|
|
2703
2706
|
query?: never;
|
|
2704
2707
|
url: '/api/workspaces/{id}';
|