bundlesocial 1.5.0 → 2.0.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.
- package/dist/index.d.mts +2730 -1703
- package/dist/index.d.ts +2730 -1703
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/readme.md +101 -6
package/dist/index.d.ts
CHANGED
|
@@ -75,33 +75,26 @@ type AppGetHealthResponse = {
|
|
|
75
75
|
status: string;
|
|
76
76
|
createdAt: string;
|
|
77
77
|
};
|
|
78
|
-
type
|
|
78
|
+
type OrganizationGetOrganizationResponse = {
|
|
79
79
|
id: string;
|
|
80
|
-
name: string;
|
|
81
|
-
avatarUrl?: string | null;
|
|
82
80
|
createdById: string;
|
|
81
|
+
name?: string | null;
|
|
82
|
+
avatarUrl?: string | null;
|
|
83
|
+
defaultPaymentMethodFilled?: boolean;
|
|
84
|
+
billingAddressFilled?: boolean;
|
|
85
|
+
apiAccess?: boolean;
|
|
83
86
|
createdAt: string | null;
|
|
84
87
|
updatedAt: string | null;
|
|
85
88
|
deletedAt?: string | null;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
+
teams: Array<{
|
|
90
|
+
id: string;
|
|
91
|
+
name: string;
|
|
92
|
+
avatarUrl?: string | null;
|
|
93
|
+
organizationId: string;
|
|
94
|
+
createdById: string;
|
|
89
95
|
createdAt: string | null;
|
|
90
96
|
updatedAt: string | null;
|
|
91
97
|
deletedAt?: string | null;
|
|
92
|
-
user: {
|
|
93
|
-
id: string;
|
|
94
|
-
externalId: string;
|
|
95
|
-
email: string;
|
|
96
|
-
emailVerified?: string | null;
|
|
97
|
-
firstName?: string | null;
|
|
98
|
-
lastName?: string | null;
|
|
99
|
-
avatarUrl?: string | null;
|
|
100
|
-
role: 'ADMIN' | 'CUSTOMER';
|
|
101
|
-
createdAt: string | null;
|
|
102
|
-
updatedAt: string | null;
|
|
103
|
-
deletedAt?: string | null;
|
|
104
|
-
};
|
|
105
98
|
}>;
|
|
106
99
|
createdBy: {
|
|
107
100
|
id: string;
|
|
@@ -116,27 +109,81 @@ type TeamGetTeamResponse = {
|
|
|
116
109
|
updatedAt: string | null;
|
|
117
110
|
deletedAt?: string | null;
|
|
118
111
|
};
|
|
119
|
-
|
|
112
|
+
organizationSubscription?: {
|
|
113
|
+
id: string;
|
|
114
|
+
organizationId: string;
|
|
115
|
+
stripeSubscriptionId: string;
|
|
116
|
+
stripeSubscriptionItems?: Array<{
|
|
117
|
+
id: string;
|
|
118
|
+
price: string;
|
|
119
|
+
quantity: number;
|
|
120
|
+
}> | null;
|
|
121
|
+
status: 'trialing' | 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'unpaid' | 'paused';
|
|
122
|
+
metadata?: unknown;
|
|
123
|
+
cancelAtPeriodEnd: boolean;
|
|
124
|
+
created: string | null;
|
|
125
|
+
currentPeriodStart: string | null;
|
|
126
|
+
currentPeriodEnd: string | null;
|
|
127
|
+
endedAt?: string | null;
|
|
128
|
+
cancelAt?: string | null;
|
|
129
|
+
canceledAt?: string | null;
|
|
130
|
+
trialStart?: string | null;
|
|
131
|
+
trialEnd?: string | null;
|
|
132
|
+
createdAt: string | null;
|
|
133
|
+
updatedAt: string | null;
|
|
134
|
+
teamPlan?: {
|
|
135
|
+
id: string;
|
|
136
|
+
organizationSubscriptionId: string;
|
|
137
|
+
teamId: string;
|
|
138
|
+
stripePriceId: string;
|
|
139
|
+
tier: 'PRO';
|
|
140
|
+
createdAt: string | null;
|
|
141
|
+
updatedAt: string | null;
|
|
142
|
+
} | null;
|
|
143
|
+
} | null;
|
|
144
|
+
};
|
|
145
|
+
type TeamGetTeamData = {
|
|
146
|
+
id: string;
|
|
147
|
+
};
|
|
148
|
+
type TeamGetTeamResponse = {
|
|
149
|
+
id: string;
|
|
150
|
+
name: string;
|
|
151
|
+
avatarUrl?: string | null;
|
|
152
|
+
organizationId: string;
|
|
153
|
+
createdById: string;
|
|
154
|
+
createdAt: string | null;
|
|
155
|
+
updatedAt: string | null;
|
|
156
|
+
deletedAt?: string | null;
|
|
157
|
+
organization: {
|
|
120
158
|
id: string;
|
|
121
|
-
email: string;
|
|
122
|
-
teamId: string;
|
|
123
159
|
createdById: string;
|
|
160
|
+
name?: string | null;
|
|
161
|
+
avatarUrl?: string | null;
|
|
162
|
+
defaultPaymentMethodFilled?: boolean;
|
|
163
|
+
billingAddressFilled?: boolean;
|
|
164
|
+
apiAccess?: boolean;
|
|
124
165
|
createdAt: string | null;
|
|
125
166
|
updatedAt: string | null;
|
|
126
|
-
|
|
127
|
-
|
|
167
|
+
deletedAt?: string | null;
|
|
168
|
+
};
|
|
169
|
+
createdBy: {
|
|
128
170
|
id: string;
|
|
129
|
-
|
|
171
|
+
externalId: string;
|
|
172
|
+
email: string;
|
|
173
|
+
emailVerified?: string | null;
|
|
174
|
+
firstName?: string | null;
|
|
175
|
+
lastName?: string | null;
|
|
130
176
|
avatarUrl?: string | null;
|
|
131
|
-
|
|
177
|
+
role: 'ADMIN' | 'CUSTOMER';
|
|
132
178
|
createdAt: string | null;
|
|
133
179
|
updatedAt: string | null;
|
|
134
180
|
deletedAt?: string | null;
|
|
135
|
-
}
|
|
136
|
-
|
|
181
|
+
};
|
|
182
|
+
bots: Array<{
|
|
137
183
|
id: string;
|
|
184
|
+
name: string;
|
|
185
|
+
avatarUrl?: string | null;
|
|
138
186
|
teamId: string;
|
|
139
|
-
url: string;
|
|
140
187
|
createdAt: string | null;
|
|
141
188
|
updatedAt: string | null;
|
|
142
189
|
deletedAt?: string | null;
|
|
@@ -169,16 +216,215 @@ type TeamGetTeamResponse = {
|
|
|
169
216
|
usage: {
|
|
170
217
|
monthlyPosts: number;
|
|
171
218
|
};
|
|
219
|
+
teamPlan?: {
|
|
220
|
+
id: string;
|
|
221
|
+
organizationSubscriptionId: string;
|
|
222
|
+
teamId: string;
|
|
223
|
+
stripePriceId: string;
|
|
224
|
+
tier: 'PRO';
|
|
225
|
+
createdAt: string | null;
|
|
226
|
+
updatedAt: string | null;
|
|
227
|
+
organizationSubscription?: {
|
|
228
|
+
id: string;
|
|
229
|
+
organizationId: string;
|
|
230
|
+
stripeSubscriptionId: string;
|
|
231
|
+
stripeSubscriptionItems?: Array<{
|
|
232
|
+
id: string;
|
|
233
|
+
price: string;
|
|
234
|
+
quantity: number;
|
|
235
|
+
}> | null;
|
|
236
|
+
status: 'trialing' | 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'unpaid' | 'paused';
|
|
237
|
+
metadata?: unknown;
|
|
238
|
+
cancelAtPeriodEnd: boolean;
|
|
239
|
+
created: string | null;
|
|
240
|
+
currentPeriodStart: string | null;
|
|
241
|
+
currentPeriodEnd: string | null;
|
|
242
|
+
endedAt?: string | null;
|
|
243
|
+
cancelAt?: string | null;
|
|
244
|
+
canceledAt?: string | null;
|
|
245
|
+
trialStart?: string | null;
|
|
246
|
+
trialEnd?: string | null;
|
|
247
|
+
createdAt: string | null;
|
|
248
|
+
updatedAt: string | null;
|
|
249
|
+
} | null;
|
|
250
|
+
} | null;
|
|
251
|
+
};
|
|
252
|
+
type TeamUpdateTeamData = {
|
|
253
|
+
id: string;
|
|
254
|
+
/**
|
|
255
|
+
* Body
|
|
256
|
+
*/
|
|
257
|
+
requestBody?: {
|
|
258
|
+
name?: string;
|
|
259
|
+
avatarUrl?: string | null;
|
|
260
|
+
};
|
|
172
261
|
};
|
|
173
|
-
type
|
|
262
|
+
type TeamUpdateTeamResponse = {
|
|
263
|
+
id: string;
|
|
264
|
+
name: string;
|
|
265
|
+
avatarUrl?: string | null;
|
|
266
|
+
organizationId: string;
|
|
267
|
+
createdById: string;
|
|
268
|
+
createdAt: string | null;
|
|
269
|
+
updatedAt: string | null;
|
|
270
|
+
deletedAt?: string | null;
|
|
271
|
+
};
|
|
272
|
+
type TeamDeleteTeamData = {
|
|
273
|
+
id: string;
|
|
274
|
+
};
|
|
275
|
+
type TeamDeleteTeamResponse = {
|
|
276
|
+
id: string;
|
|
277
|
+
name: string;
|
|
278
|
+
avatarUrl?: string | null;
|
|
279
|
+
organizationId: string;
|
|
280
|
+
createdById: string;
|
|
281
|
+
createdAt: string | null;
|
|
282
|
+
updatedAt: string | null;
|
|
283
|
+
deletedAt?: string | null;
|
|
284
|
+
};
|
|
285
|
+
type TeamCreateTeamData = {
|
|
174
286
|
/**
|
|
175
287
|
* Body
|
|
176
288
|
*/
|
|
177
|
-
|
|
178
|
-
|
|
289
|
+
requestBody?: {
|
|
290
|
+
name: string;
|
|
291
|
+
tier: 'FREE' | 'PRO';
|
|
292
|
+
avatarUrl?: string | null;
|
|
179
293
|
};
|
|
180
294
|
};
|
|
181
|
-
type
|
|
295
|
+
type TeamCreateTeamResponse = {
|
|
296
|
+
id: string;
|
|
297
|
+
name: string;
|
|
298
|
+
avatarUrl?: string | null;
|
|
299
|
+
organizationId: string;
|
|
300
|
+
createdById: string;
|
|
301
|
+
createdAt: string | null;
|
|
302
|
+
updatedAt: string | null;
|
|
303
|
+
deletedAt?: string | null;
|
|
304
|
+
};
|
|
305
|
+
type SocialAccountConnectData = {
|
|
306
|
+
/**
|
|
307
|
+
* Body
|
|
308
|
+
*/
|
|
309
|
+
requestBody?: {
|
|
310
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK';
|
|
311
|
+
teamId: string;
|
|
312
|
+
redirectUrl: string;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
type SocialAccountConnectResponse = {
|
|
316
|
+
/**
|
|
317
|
+
* OAuth URL - Redirect user to this URL to connect social account
|
|
318
|
+
*/
|
|
319
|
+
url: string;
|
|
320
|
+
};
|
|
321
|
+
type SocialAccountDisconnectData = {
|
|
322
|
+
/**
|
|
323
|
+
* Body
|
|
324
|
+
*/
|
|
325
|
+
requestBody?: {
|
|
326
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'DISCORD' | 'SLACK';
|
|
327
|
+
teamId: string;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
type SocialAccountDisconnectResponse = {
|
|
331
|
+
id: string;
|
|
332
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
|
|
333
|
+
teamId: string;
|
|
334
|
+
username?: string | null;
|
|
335
|
+
displayName?: string | null;
|
|
336
|
+
externalId?: string | null;
|
|
337
|
+
userUsername?: string | null;
|
|
338
|
+
userDisplayName?: string | null;
|
|
339
|
+
userId?: string | null;
|
|
340
|
+
channels?: Array<{
|
|
341
|
+
id: string;
|
|
342
|
+
name?: string | null;
|
|
343
|
+
username?: string | null;
|
|
344
|
+
webhook?: {
|
|
345
|
+
id?: string | null;
|
|
346
|
+
name?: string | null;
|
|
347
|
+
avatar?: string | null;
|
|
348
|
+
url?: string | null;
|
|
349
|
+
} | null;
|
|
350
|
+
}> | null;
|
|
351
|
+
createdAt: string | null;
|
|
352
|
+
updatedAt: string | null;
|
|
353
|
+
deletedAt?: string | null;
|
|
354
|
+
};
|
|
355
|
+
type SocialAccountSetChannelData = {
|
|
356
|
+
/**
|
|
357
|
+
* Body
|
|
358
|
+
*/
|
|
359
|
+
requestBody?: {
|
|
360
|
+
type: 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE';
|
|
361
|
+
teamId: string;
|
|
362
|
+
channelId: string;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
type SocialAccountSetChannelResponse = {
|
|
366
|
+
id: string;
|
|
367
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
|
|
368
|
+
teamId: string;
|
|
369
|
+
username?: string | null;
|
|
370
|
+
displayName?: string | null;
|
|
371
|
+
externalId?: string | null;
|
|
372
|
+
userUsername?: string | null;
|
|
373
|
+
userDisplayName?: string | null;
|
|
374
|
+
userId?: string | null;
|
|
375
|
+
channels?: Array<{
|
|
376
|
+
id: string;
|
|
377
|
+
name?: string | null;
|
|
378
|
+
username?: string | null;
|
|
379
|
+
webhook?: {
|
|
380
|
+
id?: string | null;
|
|
381
|
+
name?: string | null;
|
|
382
|
+
avatar?: string | null;
|
|
383
|
+
url?: string | null;
|
|
384
|
+
} | null;
|
|
385
|
+
}> | null;
|
|
386
|
+
createdAt: string | null;
|
|
387
|
+
updatedAt: string | null;
|
|
388
|
+
deletedAt?: string | null;
|
|
389
|
+
};
|
|
390
|
+
type SocialAccountRefreshChannelsData = {
|
|
391
|
+
/**
|
|
392
|
+
* Body
|
|
393
|
+
*/
|
|
394
|
+
requestBody?: {
|
|
395
|
+
type: 'DISCORD' | 'SLACK' | 'REDDIT' | 'PINTEREST';
|
|
396
|
+
teamId: string;
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
type SocialAccountRefreshChannelsResponse = {
|
|
400
|
+
id: string;
|
|
401
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
|
|
402
|
+
teamId: string;
|
|
403
|
+
username?: string | null;
|
|
404
|
+
displayName?: string | null;
|
|
405
|
+
externalId?: string | null;
|
|
406
|
+
userUsername?: string | null;
|
|
407
|
+
userDisplayName?: string | null;
|
|
408
|
+
userId?: string | null;
|
|
409
|
+
channels?: Array<{
|
|
410
|
+
id: string;
|
|
411
|
+
name?: string | null;
|
|
412
|
+
username?: string | null;
|
|
413
|
+
webhook?: {
|
|
414
|
+
id?: string | null;
|
|
415
|
+
name?: string | null;
|
|
416
|
+
avatar?: string | null;
|
|
417
|
+
url?: string | null;
|
|
418
|
+
} | null;
|
|
419
|
+
}> | null;
|
|
420
|
+
createdAt: string | null;
|
|
421
|
+
updatedAt: string | null;
|
|
422
|
+
deletedAt?: string | null;
|
|
423
|
+
};
|
|
424
|
+
type UploadGetListData = {
|
|
425
|
+
teamId: string;
|
|
426
|
+
};
|
|
427
|
+
type UploadGetListResponse = Array<{
|
|
182
428
|
id: string;
|
|
183
429
|
teamId: string;
|
|
184
430
|
expiresAt?: string | null;
|
|
@@ -197,8 +443,24 @@ type UploadCreateResponse = {
|
|
|
197
443
|
ext?: string | null;
|
|
198
444
|
createdAt: string | null;
|
|
199
445
|
updatedAt: string | null;
|
|
446
|
+
posts: Array<{
|
|
447
|
+
postId: string;
|
|
448
|
+
uploadId: string;
|
|
449
|
+
createdAt: string | null;
|
|
450
|
+
updatedAt: string | null;
|
|
451
|
+
deletedAt?: string | null;
|
|
452
|
+
}>;
|
|
453
|
+
}>;
|
|
454
|
+
type UploadCreateData = {
|
|
455
|
+
/**
|
|
456
|
+
* Body
|
|
457
|
+
*/
|
|
458
|
+
formData?: {
|
|
459
|
+
teamId: string;
|
|
460
|
+
file?: (Blob | File) | null;
|
|
461
|
+
};
|
|
200
462
|
};
|
|
201
|
-
type
|
|
463
|
+
type UploadCreateResponse = {
|
|
202
464
|
id: string;
|
|
203
465
|
teamId: string;
|
|
204
466
|
expiresAt?: string | null;
|
|
@@ -217,14 +479,7 @@ type UploadGetListResponse = Array<{
|
|
|
217
479
|
ext?: string | null;
|
|
218
480
|
createdAt: string | null;
|
|
219
481
|
updatedAt: string | null;
|
|
220
|
-
|
|
221
|
-
postId: string;
|
|
222
|
-
uploadId: string;
|
|
223
|
-
createdAt: string | null;
|
|
224
|
-
updatedAt: string | null;
|
|
225
|
-
deletedAt?: string | null;
|
|
226
|
-
}>;
|
|
227
|
-
}>;
|
|
482
|
+
};
|
|
228
483
|
type UploadDeleteManyData = {
|
|
229
484
|
/**
|
|
230
485
|
* Body
|
|
@@ -299,147 +554,10 @@ type UploadDeleteResponse = {
|
|
|
299
554
|
createdAt: string | null;
|
|
300
555
|
updatedAt: string | null;
|
|
301
556
|
};
|
|
302
|
-
type
|
|
303
|
-
|
|
304
|
-
* Body
|
|
305
|
-
*/
|
|
306
|
-
requestBody?: {
|
|
307
|
-
title: string;
|
|
308
|
-
postDate: string;
|
|
309
|
-
status: 'DRAFT' | 'SCHEDULED';
|
|
310
|
-
socialAccountTypes: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK')>;
|
|
311
|
-
data: {
|
|
312
|
-
TWITTER?: {
|
|
313
|
-
text?: string | null;
|
|
314
|
-
uploadIds?: Array<(string)> | null;
|
|
315
|
-
} | null;
|
|
316
|
-
PINTEREST?: {
|
|
317
|
-
text?: string | null;
|
|
318
|
-
description?: string | null;
|
|
319
|
-
boardName: string;
|
|
320
|
-
uploadIds?: Array<(string)> | null;
|
|
321
|
-
/**
|
|
322
|
-
* The URL to which the Pin will link to.
|
|
323
|
-
*/
|
|
324
|
-
link?: string | null;
|
|
325
|
-
/**
|
|
326
|
-
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
327
|
-
*/
|
|
328
|
-
altText?: string | null;
|
|
329
|
-
/**
|
|
330
|
-
* A note about the Pin. This is not visible to the public.
|
|
331
|
-
*/
|
|
332
|
-
note?: string | null;
|
|
333
|
-
/**
|
|
334
|
-
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
335
|
-
*/
|
|
336
|
-
dominantColor?: string | null;
|
|
337
|
-
} | null;
|
|
338
|
-
FACEBOOK?: {
|
|
339
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
340
|
-
text?: string | null;
|
|
341
|
-
uploadIds?: Array<(string)> | null;
|
|
342
|
-
} | null;
|
|
343
|
-
INSTAGRAM?: {
|
|
344
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
345
|
-
text?: string | null;
|
|
346
|
-
uploadIds?: Array<(string)> | null;
|
|
347
|
-
} | null;
|
|
348
|
-
TIKTOK?: {
|
|
349
|
-
text?: string | null;
|
|
350
|
-
uploadIds?: Array<(string)> | null;
|
|
351
|
-
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
352
|
-
/**
|
|
353
|
-
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
354
|
-
*/
|
|
355
|
-
isBrandContent?: boolean | null;
|
|
356
|
-
/**
|
|
357
|
-
* Set to true if this video is promoting the creator's own business.
|
|
358
|
-
*/
|
|
359
|
-
isOrganicBrandContent?: boolean | null;
|
|
360
|
-
/**
|
|
361
|
-
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
362
|
-
*/
|
|
363
|
-
disableComments?: boolean | null;
|
|
364
|
-
/**
|
|
365
|
-
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
366
|
-
*/
|
|
367
|
-
disableDuet?: boolean | null;
|
|
368
|
-
/**
|
|
369
|
-
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
370
|
-
*/
|
|
371
|
-
disableStitch?: boolean | null;
|
|
372
|
-
} | null;
|
|
373
|
-
LINKEDIN?: {
|
|
374
|
-
text: string;
|
|
375
|
-
uploadIds?: Array<(string)> | null;
|
|
376
|
-
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
377
|
-
/**
|
|
378
|
-
* Set to true if the post shouldn't be displayed in the main feed.
|
|
379
|
-
*/
|
|
380
|
-
hideFromFeed?: boolean | null;
|
|
381
|
-
/**
|
|
382
|
-
* Set to true if the post is not allowed to be reshared.
|
|
383
|
-
*/
|
|
384
|
-
disableReshare?: boolean | null;
|
|
385
|
-
} | null;
|
|
386
|
-
YOUTUBE?: {
|
|
387
|
-
type?: 'VIDEO' | 'SHORT';
|
|
388
|
-
uploadIds?: Array<(string)> | null;
|
|
389
|
-
text?: string | null;
|
|
390
|
-
description?: string | null;
|
|
391
|
-
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
392
|
-
/**
|
|
393
|
-
* Set to true if the video is made for kids.
|
|
394
|
-
*/
|
|
395
|
-
madeForKids?: boolean | null;
|
|
396
|
-
} | null;
|
|
397
|
-
REDDIT?: {
|
|
398
|
-
sr: string;
|
|
399
|
-
text: string;
|
|
400
|
-
description?: string | null;
|
|
401
|
-
uploadIds?: Array<(string)> | null;
|
|
402
|
-
/**
|
|
403
|
-
* The URL to which the post will link to.
|
|
404
|
-
*/
|
|
405
|
-
link?: string | null;
|
|
406
|
-
/**
|
|
407
|
-
* Set to true if the post is NSFW.
|
|
408
|
-
*/
|
|
409
|
-
nsfw?: boolean | null;
|
|
410
|
-
} | null;
|
|
411
|
-
DISCORD?: {
|
|
412
|
-
channelId: string;
|
|
413
|
-
text?: string | null;
|
|
414
|
-
uploadIds?: Array<(string)> | null;
|
|
415
|
-
/**
|
|
416
|
-
* The username to display as the author of the message.
|
|
417
|
-
*/
|
|
418
|
-
username?: string | null;
|
|
419
|
-
/**
|
|
420
|
-
* Avatar url to display as the author of the message.
|
|
421
|
-
*/
|
|
422
|
-
avatarUrl?: string | null;
|
|
423
|
-
} | null;
|
|
424
|
-
SLACK?: {
|
|
425
|
-
channelId: string;
|
|
426
|
-
text?: string | null;
|
|
427
|
-
uploadIds?: Array<(string)> | null;
|
|
428
|
-
/**
|
|
429
|
-
* The username to display as the author of the message.
|
|
430
|
-
*/
|
|
431
|
-
username?: string | null;
|
|
432
|
-
/**
|
|
433
|
-
* Avatar url to display as the author of the message.
|
|
434
|
-
*/
|
|
435
|
-
avatarUrl?: string | null;
|
|
436
|
-
} | null;
|
|
437
|
-
TELEGRAM?: unknown;
|
|
438
|
-
THREADS?: unknown;
|
|
439
|
-
};
|
|
440
|
-
};
|
|
557
|
+
type PostGetData = {
|
|
558
|
+
id: string;
|
|
441
559
|
};
|
|
442
|
-
type
|
|
560
|
+
type PostGetResponse = {
|
|
443
561
|
id: string;
|
|
444
562
|
teamId: string;
|
|
445
563
|
title: string;
|
|
@@ -533,6 +651,9 @@ type PostCreateResponse = {
|
|
|
533
651
|
madeForKids?: boolean | null;
|
|
534
652
|
} | null;
|
|
535
653
|
REDDIT?: {
|
|
654
|
+
/**
|
|
655
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
656
|
+
*/
|
|
536
657
|
sr: string;
|
|
537
658
|
text: string;
|
|
538
659
|
description?: string | null;
|
|
@@ -648,25 +769,77 @@ type PostCreateResponse = {
|
|
|
648
769
|
createdAt: string | null;
|
|
649
770
|
updatedAt: string | null;
|
|
650
771
|
deletedAt?: string | null;
|
|
772
|
+
uploads: Array<{
|
|
773
|
+
postId: string;
|
|
774
|
+
uploadId: string;
|
|
775
|
+
createdAt: string | null;
|
|
776
|
+
updatedAt: string | null;
|
|
777
|
+
deletedAt?: string | null;
|
|
778
|
+
upload: {
|
|
779
|
+
id: string;
|
|
780
|
+
teamId: string;
|
|
781
|
+
expiresAt?: string | null;
|
|
782
|
+
iconUrl?: string | null;
|
|
783
|
+
thumbnailUrl?: string | null;
|
|
784
|
+
url?: string | null;
|
|
785
|
+
iconPath?: string | null;
|
|
786
|
+
thumbnailPath?: string | null;
|
|
787
|
+
path?: string | null;
|
|
788
|
+
type: 'image' | 'video';
|
|
789
|
+
width?: number | null;
|
|
790
|
+
height?: number | null;
|
|
791
|
+
fileSize?: number | null;
|
|
792
|
+
videoLength?: number | null;
|
|
793
|
+
mime?: string | null;
|
|
794
|
+
ext?: string | null;
|
|
795
|
+
createdAt: string | null;
|
|
796
|
+
updatedAt: string | null;
|
|
797
|
+
};
|
|
798
|
+
}>;
|
|
799
|
+
socialAccounts: Array<{
|
|
800
|
+
postId: string;
|
|
801
|
+
socialAccountId: string;
|
|
802
|
+
createdAt: string | null;
|
|
803
|
+
updatedAt: string | null;
|
|
804
|
+
deletedAt?: string | null;
|
|
805
|
+
socialAccount: {
|
|
806
|
+
id: string;
|
|
807
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
|
|
808
|
+
teamId: string;
|
|
809
|
+
username?: string | null;
|
|
810
|
+
displayName?: string | null;
|
|
811
|
+
externalId?: string | null;
|
|
812
|
+
userUsername?: string | null;
|
|
813
|
+
userDisplayName?: string | null;
|
|
814
|
+
userId?: string | null;
|
|
815
|
+
channels?: Array<{
|
|
816
|
+
id: string;
|
|
817
|
+
name?: string | null;
|
|
818
|
+
username?: string | null;
|
|
819
|
+
webhook?: {
|
|
820
|
+
id?: string | null;
|
|
821
|
+
name?: string | null;
|
|
822
|
+
avatar?: string | null;
|
|
823
|
+
url?: string | null;
|
|
824
|
+
} | null;
|
|
825
|
+
}> | null;
|
|
826
|
+
createdAt: string | null;
|
|
827
|
+
updatedAt: string | null;
|
|
828
|
+
deletedAt?: string | null;
|
|
829
|
+
};
|
|
830
|
+
}>;
|
|
651
831
|
};
|
|
652
|
-
type
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
id: string;
|
|
664
|
-
teamId: string;
|
|
665
|
-
title: string;
|
|
666
|
-
postDate: string | null;
|
|
667
|
-
postedDate?: string | null;
|
|
668
|
-
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
669
|
-
data: {
|
|
832
|
+
type PostUpdateData = {
|
|
833
|
+
id: string;
|
|
834
|
+
/**
|
|
835
|
+
* Body
|
|
836
|
+
*/
|
|
837
|
+
requestBody?: {
|
|
838
|
+
title?: string;
|
|
839
|
+
postDate?: string;
|
|
840
|
+
status?: 'DRAFT' | 'SCHEDULED';
|
|
841
|
+
socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK')>;
|
|
842
|
+
data?: {
|
|
670
843
|
TWITTER?: {
|
|
671
844
|
text?: string | null;
|
|
672
845
|
uploadIds?: Array<(string)> | null;
|
|
@@ -753,6 +926,9 @@ type PostGetListResponse = {
|
|
|
753
926
|
madeForKids?: boolean | null;
|
|
754
927
|
} | null;
|
|
755
928
|
REDDIT?: {
|
|
929
|
+
/**
|
|
930
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
931
|
+
*/
|
|
756
932
|
sr: string;
|
|
757
933
|
text: string;
|
|
758
934
|
description?: string | null;
|
|
@@ -795,155 +971,19 @@ type PostGetListResponse = {
|
|
|
795
971
|
TELEGRAM?: unknown;
|
|
796
972
|
THREADS?: unknown;
|
|
797
973
|
};
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
THREADS?: string | null;
|
|
812
|
-
} | null;
|
|
813
|
-
externalData?: {
|
|
814
|
-
TWITTER?: {
|
|
815
|
-
id?: string | null;
|
|
816
|
-
permalink?: string | null;
|
|
817
|
-
} | null;
|
|
818
|
-
PINTEREST?: {
|
|
819
|
-
id?: string | null;
|
|
820
|
-
permalink?: string | null;
|
|
821
|
-
} | null;
|
|
822
|
-
FACEBOOK?: {
|
|
823
|
-
id?: string | null;
|
|
824
|
-
postId?: string | null;
|
|
825
|
-
videoId?: string | null;
|
|
826
|
-
permalink?: string | null;
|
|
827
|
-
} | null;
|
|
828
|
-
INSTAGRAM?: {
|
|
829
|
-
id?: string | null;
|
|
830
|
-
permalink?: string | null;
|
|
831
|
-
} | null;
|
|
832
|
-
TIKTOK?: {
|
|
833
|
-
id?: string | null;
|
|
834
|
-
permalink?: string | null;
|
|
835
|
-
} | null;
|
|
836
|
-
LINKEDIN?: {
|
|
837
|
-
id?: string | null;
|
|
838
|
-
permalink?: string | null;
|
|
839
|
-
} | null;
|
|
840
|
-
REDDIT?: {
|
|
841
|
-
id?: string | null;
|
|
842
|
-
permalink?: string | null;
|
|
843
|
-
subreddit_name?: string | null;
|
|
844
|
-
} | null;
|
|
845
|
-
DISCORD?: {
|
|
846
|
-
id?: string | null;
|
|
847
|
-
permalink?: string | null;
|
|
848
|
-
channelId?: string | null;
|
|
849
|
-
} | null;
|
|
850
|
-
SLACK?: {
|
|
851
|
-
id?: string | null;
|
|
852
|
-
permalink?: string | null;
|
|
853
|
-
channelId?: string | null;
|
|
854
|
-
} | null;
|
|
855
|
-
YOUTUBE?: {
|
|
856
|
-
id?: string | null;
|
|
857
|
-
permalink?: string | null;
|
|
858
|
-
} | null;
|
|
859
|
-
TELEGRAM?: {
|
|
860
|
-
id?: string | null;
|
|
861
|
-
permalink?: string | null;
|
|
862
|
-
} | null;
|
|
863
|
-
THREADS?: {
|
|
864
|
-
id?: string | null;
|
|
865
|
-
permalink?: string | null;
|
|
866
|
-
} | null;
|
|
867
|
-
} | null;
|
|
868
|
-
createdAt: string | null;
|
|
869
|
-
updatedAt: string | null;
|
|
870
|
-
deletedAt?: string | null;
|
|
871
|
-
uploads: Array<{
|
|
872
|
-
postId: string;
|
|
873
|
-
uploadId: string;
|
|
874
|
-
createdAt: string | null;
|
|
875
|
-
updatedAt: string | null;
|
|
876
|
-
deletedAt?: string | null;
|
|
877
|
-
upload: {
|
|
878
|
-
id: string;
|
|
879
|
-
teamId: string;
|
|
880
|
-
expiresAt?: string | null;
|
|
881
|
-
iconUrl?: string | null;
|
|
882
|
-
thumbnailUrl?: string | null;
|
|
883
|
-
url?: string | null;
|
|
884
|
-
iconPath?: string | null;
|
|
885
|
-
thumbnailPath?: string | null;
|
|
886
|
-
path?: string | null;
|
|
887
|
-
type: 'image' | 'video';
|
|
888
|
-
width?: number | null;
|
|
889
|
-
height?: number | null;
|
|
890
|
-
fileSize?: number | null;
|
|
891
|
-
videoLength?: number | null;
|
|
892
|
-
mime?: string | null;
|
|
893
|
-
ext?: string | null;
|
|
894
|
-
createdAt: string | null;
|
|
895
|
-
updatedAt: string | null;
|
|
896
|
-
};
|
|
897
|
-
}>;
|
|
898
|
-
socialAccounts: Array<{
|
|
899
|
-
postId: string;
|
|
900
|
-
socialAccountId: string;
|
|
901
|
-
createdAt: string | null;
|
|
902
|
-
updatedAt: string | null;
|
|
903
|
-
deletedAt?: string | null;
|
|
904
|
-
socialAccount: {
|
|
905
|
-
id: string;
|
|
906
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
|
|
907
|
-
teamId: string;
|
|
908
|
-
username?: string | null;
|
|
909
|
-
displayName?: string | null;
|
|
910
|
-
externalId?: string | null;
|
|
911
|
-
userUsername?: string | null;
|
|
912
|
-
userDisplayName?: string | null;
|
|
913
|
-
userId?: string | null;
|
|
914
|
-
channels?: Array<{
|
|
915
|
-
id: string;
|
|
916
|
-
name?: string | null;
|
|
917
|
-
username?: string | null;
|
|
918
|
-
webhook?: {
|
|
919
|
-
id?: string | null;
|
|
920
|
-
name?: string | null;
|
|
921
|
-
avatar?: string | null;
|
|
922
|
-
url?: string | null;
|
|
923
|
-
} | null;
|
|
924
|
-
}> | null;
|
|
925
|
-
createdAt: string | null;
|
|
926
|
-
updatedAt: string | null;
|
|
927
|
-
deletedAt?: string | null;
|
|
928
|
-
};
|
|
929
|
-
}>;
|
|
930
|
-
}>;
|
|
931
|
-
total: number;
|
|
932
|
-
};
|
|
933
|
-
type PostGetData = {
|
|
934
|
-
id: string;
|
|
935
|
-
};
|
|
936
|
-
type PostGetResponse = {
|
|
937
|
-
id: string;
|
|
938
|
-
teamId: string;
|
|
939
|
-
title: string;
|
|
940
|
-
postDate: string | null;
|
|
941
|
-
postedDate?: string | null;
|
|
942
|
-
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
943
|
-
data: {
|
|
944
|
-
TWITTER?: {
|
|
945
|
-
text?: string | null;
|
|
946
|
-
uploadIds?: Array<(string)> | null;
|
|
974
|
+
};
|
|
975
|
+
};
|
|
976
|
+
type PostUpdateResponse = {
|
|
977
|
+
id: string;
|
|
978
|
+
teamId: string;
|
|
979
|
+
title: string;
|
|
980
|
+
postDate: string | null;
|
|
981
|
+
postedDate?: string | null;
|
|
982
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
983
|
+
data: {
|
|
984
|
+
TWITTER?: {
|
|
985
|
+
text?: string | null;
|
|
986
|
+
uploadIds?: Array<(string)> | null;
|
|
947
987
|
} | null;
|
|
948
988
|
PINTEREST?: {
|
|
949
989
|
text?: string | null;
|
|
@@ -1027,6 +1067,9 @@ type PostGetResponse = {
|
|
|
1027
1067
|
madeForKids?: boolean | null;
|
|
1028
1068
|
} | null;
|
|
1029
1069
|
REDDIT?: {
|
|
1070
|
+
/**
|
|
1071
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
1072
|
+
*/
|
|
1030
1073
|
sr: string;
|
|
1031
1074
|
text: string;
|
|
1032
1075
|
description?: string | null;
|
|
@@ -1142,208 +1185,11 @@ type PostGetResponse = {
|
|
|
1142
1185
|
createdAt: string | null;
|
|
1143
1186
|
updatedAt: string | null;
|
|
1144
1187
|
deletedAt?: string | null;
|
|
1145
|
-
uploads: Array<{
|
|
1146
|
-
postId: string;
|
|
1147
|
-
uploadId: string;
|
|
1148
|
-
createdAt: string | null;
|
|
1149
|
-
updatedAt: string | null;
|
|
1150
|
-
deletedAt?: string | null;
|
|
1151
|
-
upload: {
|
|
1152
|
-
id: string;
|
|
1153
|
-
teamId: string;
|
|
1154
|
-
expiresAt?: string | null;
|
|
1155
|
-
iconUrl?: string | null;
|
|
1156
|
-
thumbnailUrl?: string | null;
|
|
1157
|
-
url?: string | null;
|
|
1158
|
-
iconPath?: string | null;
|
|
1159
|
-
thumbnailPath?: string | null;
|
|
1160
|
-
path?: string | null;
|
|
1161
|
-
type: 'image' | 'video';
|
|
1162
|
-
width?: number | null;
|
|
1163
|
-
height?: number | null;
|
|
1164
|
-
fileSize?: number | null;
|
|
1165
|
-
videoLength?: number | null;
|
|
1166
|
-
mime?: string | null;
|
|
1167
|
-
ext?: string | null;
|
|
1168
|
-
createdAt: string | null;
|
|
1169
|
-
updatedAt: string | null;
|
|
1170
|
-
};
|
|
1171
|
-
}>;
|
|
1172
|
-
socialAccounts: Array<{
|
|
1173
|
-
postId: string;
|
|
1174
|
-
socialAccountId: string;
|
|
1175
|
-
createdAt: string | null;
|
|
1176
|
-
updatedAt: string | null;
|
|
1177
|
-
deletedAt?: string | null;
|
|
1178
|
-
socialAccount: {
|
|
1179
|
-
id: string;
|
|
1180
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
|
|
1181
|
-
teamId: string;
|
|
1182
|
-
username?: string | null;
|
|
1183
|
-
displayName?: string | null;
|
|
1184
|
-
externalId?: string | null;
|
|
1185
|
-
userUsername?: string | null;
|
|
1186
|
-
userDisplayName?: string | null;
|
|
1187
|
-
userId?: string | null;
|
|
1188
|
-
channels?: Array<{
|
|
1189
|
-
id: string;
|
|
1190
|
-
name?: string | null;
|
|
1191
|
-
username?: string | null;
|
|
1192
|
-
webhook?: {
|
|
1193
|
-
id?: string | null;
|
|
1194
|
-
name?: string | null;
|
|
1195
|
-
avatar?: string | null;
|
|
1196
|
-
url?: string | null;
|
|
1197
|
-
} | null;
|
|
1198
|
-
}> | null;
|
|
1199
|
-
createdAt: string | null;
|
|
1200
|
-
updatedAt: string | null;
|
|
1201
|
-
deletedAt?: string | null;
|
|
1202
|
-
};
|
|
1203
|
-
}>;
|
|
1204
1188
|
};
|
|
1205
|
-
type
|
|
1189
|
+
type PostDeleteData = {
|
|
1206
1190
|
id: string;
|
|
1207
|
-
/**
|
|
1208
|
-
* Body
|
|
1209
|
-
*/
|
|
1210
|
-
requestBody?: {
|
|
1211
|
-
title?: string;
|
|
1212
|
-
postDate?: string;
|
|
1213
|
-
status?: 'DRAFT' | 'SCHEDULED';
|
|
1214
|
-
socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK')>;
|
|
1215
|
-
data?: {
|
|
1216
|
-
TWITTER?: {
|
|
1217
|
-
text?: string | null;
|
|
1218
|
-
uploadIds?: Array<(string)> | null;
|
|
1219
|
-
} | null;
|
|
1220
|
-
PINTEREST?: {
|
|
1221
|
-
text?: string | null;
|
|
1222
|
-
description?: string | null;
|
|
1223
|
-
boardName: string;
|
|
1224
|
-
uploadIds?: Array<(string)> | null;
|
|
1225
|
-
/**
|
|
1226
|
-
* The URL to which the Pin will link to.
|
|
1227
|
-
*/
|
|
1228
|
-
link?: string | null;
|
|
1229
|
-
/**
|
|
1230
|
-
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
1231
|
-
*/
|
|
1232
|
-
altText?: string | null;
|
|
1233
|
-
/**
|
|
1234
|
-
* A note about the Pin. This is not visible to the public.
|
|
1235
|
-
*/
|
|
1236
|
-
note?: string | null;
|
|
1237
|
-
/**
|
|
1238
|
-
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
1239
|
-
*/
|
|
1240
|
-
dominantColor?: string | null;
|
|
1241
|
-
} | null;
|
|
1242
|
-
FACEBOOK?: {
|
|
1243
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
1244
|
-
text?: string | null;
|
|
1245
|
-
uploadIds?: Array<(string)> | null;
|
|
1246
|
-
} | null;
|
|
1247
|
-
INSTAGRAM?: {
|
|
1248
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
1249
|
-
text?: string | null;
|
|
1250
|
-
uploadIds?: Array<(string)> | null;
|
|
1251
|
-
} | null;
|
|
1252
|
-
TIKTOK?: {
|
|
1253
|
-
text?: string | null;
|
|
1254
|
-
uploadIds?: Array<(string)> | null;
|
|
1255
|
-
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
1256
|
-
/**
|
|
1257
|
-
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
1258
|
-
*/
|
|
1259
|
-
isBrandContent?: boolean | null;
|
|
1260
|
-
/**
|
|
1261
|
-
* Set to true if this video is promoting the creator's own business.
|
|
1262
|
-
*/
|
|
1263
|
-
isOrganicBrandContent?: boolean | null;
|
|
1264
|
-
/**
|
|
1265
|
-
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
1266
|
-
*/
|
|
1267
|
-
disableComments?: boolean | null;
|
|
1268
|
-
/**
|
|
1269
|
-
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
1270
|
-
*/
|
|
1271
|
-
disableDuet?: boolean | null;
|
|
1272
|
-
/**
|
|
1273
|
-
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
1274
|
-
*/
|
|
1275
|
-
disableStitch?: boolean | null;
|
|
1276
|
-
} | null;
|
|
1277
|
-
LINKEDIN?: {
|
|
1278
|
-
text: string;
|
|
1279
|
-
uploadIds?: Array<(string)> | null;
|
|
1280
|
-
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
1281
|
-
/**
|
|
1282
|
-
* Set to true if the post shouldn't be displayed in the main feed.
|
|
1283
|
-
*/
|
|
1284
|
-
hideFromFeed?: boolean | null;
|
|
1285
|
-
/**
|
|
1286
|
-
* Set to true if the post is not allowed to be reshared.
|
|
1287
|
-
*/
|
|
1288
|
-
disableReshare?: boolean | null;
|
|
1289
|
-
} | null;
|
|
1290
|
-
YOUTUBE?: {
|
|
1291
|
-
type?: 'VIDEO' | 'SHORT';
|
|
1292
|
-
uploadIds?: Array<(string)> | null;
|
|
1293
|
-
text?: string | null;
|
|
1294
|
-
description?: string | null;
|
|
1295
|
-
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
1296
|
-
/**
|
|
1297
|
-
* Set to true if the video is made for kids.
|
|
1298
|
-
*/
|
|
1299
|
-
madeForKids?: boolean | null;
|
|
1300
|
-
} | null;
|
|
1301
|
-
REDDIT?: {
|
|
1302
|
-
sr: string;
|
|
1303
|
-
text: string;
|
|
1304
|
-
description?: string | null;
|
|
1305
|
-
uploadIds?: Array<(string)> | null;
|
|
1306
|
-
/**
|
|
1307
|
-
* The URL to which the post will link to.
|
|
1308
|
-
*/
|
|
1309
|
-
link?: string | null;
|
|
1310
|
-
/**
|
|
1311
|
-
* Set to true if the post is NSFW.
|
|
1312
|
-
*/
|
|
1313
|
-
nsfw?: boolean | null;
|
|
1314
|
-
} | null;
|
|
1315
|
-
DISCORD?: {
|
|
1316
|
-
channelId: string;
|
|
1317
|
-
text?: string | null;
|
|
1318
|
-
uploadIds?: Array<(string)> | null;
|
|
1319
|
-
/**
|
|
1320
|
-
* The username to display as the author of the message.
|
|
1321
|
-
*/
|
|
1322
|
-
username?: string | null;
|
|
1323
|
-
/**
|
|
1324
|
-
* Avatar url to display as the author of the message.
|
|
1325
|
-
*/
|
|
1326
|
-
avatarUrl?: string | null;
|
|
1327
|
-
} | null;
|
|
1328
|
-
SLACK?: {
|
|
1329
|
-
channelId: string;
|
|
1330
|
-
text?: string | null;
|
|
1331
|
-
uploadIds?: Array<(string)> | null;
|
|
1332
|
-
/**
|
|
1333
|
-
* The username to display as the author of the message.
|
|
1334
|
-
*/
|
|
1335
|
-
username?: string | null;
|
|
1336
|
-
/**
|
|
1337
|
-
* Avatar url to display as the author of the message.
|
|
1338
|
-
*/
|
|
1339
|
-
avatarUrl?: string | null;
|
|
1340
|
-
} | null;
|
|
1341
|
-
TELEGRAM?: unknown;
|
|
1342
|
-
THREADS?: unknown;
|
|
1343
|
-
};
|
|
1344
|
-
};
|
|
1345
1191
|
};
|
|
1346
|
-
type
|
|
1192
|
+
type PostDeleteResponse = {
|
|
1347
1193
|
id: string;
|
|
1348
1194
|
teamId: string;
|
|
1349
1195
|
title: string;
|
|
@@ -1437,219 +1283,9 @@ type PostUpdateResponse = {
|
|
|
1437
1283
|
madeForKids?: boolean | null;
|
|
1438
1284
|
} | null;
|
|
1439
1285
|
REDDIT?: {
|
|
1440
|
-
sr: string;
|
|
1441
|
-
text: string;
|
|
1442
|
-
description?: string | null;
|
|
1443
|
-
uploadIds?: Array<(string)> | null;
|
|
1444
|
-
/**
|
|
1445
|
-
* The URL to which the post will link to.
|
|
1446
|
-
*/
|
|
1447
|
-
link?: string | null;
|
|
1448
|
-
/**
|
|
1449
|
-
* Set to true if the post is NSFW.
|
|
1450
|
-
*/
|
|
1451
|
-
nsfw?: boolean | null;
|
|
1452
|
-
} | null;
|
|
1453
|
-
DISCORD?: {
|
|
1454
|
-
channelId: string;
|
|
1455
|
-
text?: string | null;
|
|
1456
|
-
uploadIds?: Array<(string)> | null;
|
|
1457
|
-
/**
|
|
1458
|
-
* The username to display as the author of the message.
|
|
1459
|
-
*/
|
|
1460
|
-
username?: string | null;
|
|
1461
|
-
/**
|
|
1462
|
-
* Avatar url to display as the author of the message.
|
|
1463
|
-
*/
|
|
1464
|
-
avatarUrl?: string | null;
|
|
1465
|
-
} | null;
|
|
1466
|
-
SLACK?: {
|
|
1467
|
-
channelId: string;
|
|
1468
|
-
text?: string | null;
|
|
1469
|
-
uploadIds?: Array<(string)> | null;
|
|
1470
|
-
/**
|
|
1471
|
-
* The username to display as the author of the message.
|
|
1472
|
-
*/
|
|
1473
|
-
username?: string | null;
|
|
1474
|
-
/**
|
|
1475
|
-
* Avatar url to display as the author of the message.
|
|
1476
|
-
*/
|
|
1477
|
-
avatarUrl?: string | null;
|
|
1478
|
-
} | null;
|
|
1479
|
-
TELEGRAM?: unknown;
|
|
1480
|
-
THREADS?: unknown;
|
|
1481
|
-
};
|
|
1482
|
-
error?: string | null;
|
|
1483
|
-
errors?: {
|
|
1484
|
-
TWITTER?: string | null;
|
|
1485
|
-
PINTEREST?: string | null;
|
|
1486
|
-
FACEBOOK?: string | null;
|
|
1487
|
-
INSTAGRAM?: string | null;
|
|
1488
|
-
TIKTOK?: string | null;
|
|
1489
|
-
LINKEDIN?: string | null;
|
|
1490
|
-
REDDIT?: string | null;
|
|
1491
|
-
DISCORD?: string | null;
|
|
1492
|
-
SLACK?: string | null;
|
|
1493
|
-
YOUTUBE?: string | null;
|
|
1494
|
-
TELEGRAM?: string | null;
|
|
1495
|
-
THREADS?: string | null;
|
|
1496
|
-
} | null;
|
|
1497
|
-
externalData?: {
|
|
1498
|
-
TWITTER?: {
|
|
1499
|
-
id?: string | null;
|
|
1500
|
-
permalink?: string | null;
|
|
1501
|
-
} | null;
|
|
1502
|
-
PINTEREST?: {
|
|
1503
|
-
id?: string | null;
|
|
1504
|
-
permalink?: string | null;
|
|
1505
|
-
} | null;
|
|
1506
|
-
FACEBOOK?: {
|
|
1507
|
-
id?: string | null;
|
|
1508
|
-
postId?: string | null;
|
|
1509
|
-
videoId?: string | null;
|
|
1510
|
-
permalink?: string | null;
|
|
1511
|
-
} | null;
|
|
1512
|
-
INSTAGRAM?: {
|
|
1513
|
-
id?: string | null;
|
|
1514
|
-
permalink?: string | null;
|
|
1515
|
-
} | null;
|
|
1516
|
-
TIKTOK?: {
|
|
1517
|
-
id?: string | null;
|
|
1518
|
-
permalink?: string | null;
|
|
1519
|
-
} | null;
|
|
1520
|
-
LINKEDIN?: {
|
|
1521
|
-
id?: string | null;
|
|
1522
|
-
permalink?: string | null;
|
|
1523
|
-
} | null;
|
|
1524
|
-
REDDIT?: {
|
|
1525
|
-
id?: string | null;
|
|
1526
|
-
permalink?: string | null;
|
|
1527
|
-
subreddit_name?: string | null;
|
|
1528
|
-
} | null;
|
|
1529
|
-
DISCORD?: {
|
|
1530
|
-
id?: string | null;
|
|
1531
|
-
permalink?: string | null;
|
|
1532
|
-
channelId?: string | null;
|
|
1533
|
-
} | null;
|
|
1534
|
-
SLACK?: {
|
|
1535
|
-
id?: string | null;
|
|
1536
|
-
permalink?: string | null;
|
|
1537
|
-
channelId?: string | null;
|
|
1538
|
-
} | null;
|
|
1539
|
-
YOUTUBE?: {
|
|
1540
|
-
id?: string | null;
|
|
1541
|
-
permalink?: string | null;
|
|
1542
|
-
} | null;
|
|
1543
|
-
TELEGRAM?: {
|
|
1544
|
-
id?: string | null;
|
|
1545
|
-
permalink?: string | null;
|
|
1546
|
-
} | null;
|
|
1547
|
-
THREADS?: {
|
|
1548
|
-
id?: string | null;
|
|
1549
|
-
permalink?: string | null;
|
|
1550
|
-
} | null;
|
|
1551
|
-
} | null;
|
|
1552
|
-
createdAt: string | null;
|
|
1553
|
-
updatedAt: string | null;
|
|
1554
|
-
deletedAt?: string | null;
|
|
1555
|
-
};
|
|
1556
|
-
type PostDeleteData = {
|
|
1557
|
-
id: string;
|
|
1558
|
-
};
|
|
1559
|
-
type PostDeleteResponse = {
|
|
1560
|
-
id: string;
|
|
1561
|
-
teamId: string;
|
|
1562
|
-
title: string;
|
|
1563
|
-
postDate: string | null;
|
|
1564
|
-
postedDate?: string | null;
|
|
1565
|
-
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
1566
|
-
data: {
|
|
1567
|
-
TWITTER?: {
|
|
1568
|
-
text?: string | null;
|
|
1569
|
-
uploadIds?: Array<(string)> | null;
|
|
1570
|
-
} | null;
|
|
1571
|
-
PINTEREST?: {
|
|
1572
|
-
text?: string | null;
|
|
1573
|
-
description?: string | null;
|
|
1574
|
-
boardName: string;
|
|
1575
|
-
uploadIds?: Array<(string)> | null;
|
|
1576
|
-
/**
|
|
1577
|
-
* The URL to which the Pin will link to.
|
|
1578
|
-
*/
|
|
1579
|
-
link?: string | null;
|
|
1580
|
-
/**
|
|
1581
|
-
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
1582
|
-
*/
|
|
1583
|
-
altText?: string | null;
|
|
1584
|
-
/**
|
|
1585
|
-
* A note about the Pin. This is not visible to the public.
|
|
1586
|
-
*/
|
|
1587
|
-
note?: string | null;
|
|
1588
|
-
/**
|
|
1589
|
-
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
1590
|
-
*/
|
|
1591
|
-
dominantColor?: string | null;
|
|
1592
|
-
} | null;
|
|
1593
|
-
FACEBOOK?: {
|
|
1594
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
1595
|
-
text?: string | null;
|
|
1596
|
-
uploadIds?: Array<(string)> | null;
|
|
1597
|
-
} | null;
|
|
1598
|
-
INSTAGRAM?: {
|
|
1599
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
1600
|
-
text?: string | null;
|
|
1601
|
-
uploadIds?: Array<(string)> | null;
|
|
1602
|
-
} | null;
|
|
1603
|
-
TIKTOK?: {
|
|
1604
|
-
text?: string | null;
|
|
1605
|
-
uploadIds?: Array<(string)> | null;
|
|
1606
|
-
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
1607
|
-
/**
|
|
1608
|
-
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
1609
|
-
*/
|
|
1610
|
-
isBrandContent?: boolean | null;
|
|
1611
|
-
/**
|
|
1612
|
-
* Set to true if this video is promoting the creator's own business.
|
|
1613
|
-
*/
|
|
1614
|
-
isOrganicBrandContent?: boolean | null;
|
|
1615
|
-
/**
|
|
1616
|
-
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
1617
|
-
*/
|
|
1618
|
-
disableComments?: boolean | null;
|
|
1619
|
-
/**
|
|
1620
|
-
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
1621
|
-
*/
|
|
1622
|
-
disableDuet?: boolean | null;
|
|
1623
|
-
/**
|
|
1624
|
-
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
1625
|
-
*/
|
|
1626
|
-
disableStitch?: boolean | null;
|
|
1627
|
-
} | null;
|
|
1628
|
-
LINKEDIN?: {
|
|
1629
|
-
text: string;
|
|
1630
|
-
uploadIds?: Array<(string)> | null;
|
|
1631
|
-
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
1632
|
-
/**
|
|
1633
|
-
* Set to true if the post shouldn't be displayed in the main feed.
|
|
1634
|
-
*/
|
|
1635
|
-
hideFromFeed?: boolean | null;
|
|
1636
|
-
/**
|
|
1637
|
-
* Set to true if the post is not allowed to be reshared.
|
|
1638
|
-
*/
|
|
1639
|
-
disableReshare?: boolean | null;
|
|
1640
|
-
} | null;
|
|
1641
|
-
YOUTUBE?: {
|
|
1642
|
-
type?: 'VIDEO' | 'SHORT';
|
|
1643
|
-
uploadIds?: Array<(string)> | null;
|
|
1644
|
-
text?: string | null;
|
|
1645
|
-
description?: string | null;
|
|
1646
|
-
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
1647
1286
|
/**
|
|
1648
|
-
*
|
|
1287
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
1649
1288
|
*/
|
|
1650
|
-
madeForKids?: boolean | null;
|
|
1651
|
-
} | null;
|
|
1652
|
-
REDDIT?: {
|
|
1653
1289
|
sr: string;
|
|
1654
1290
|
text: string;
|
|
1655
1291
|
description?: string | null;
|
|
@@ -1766,725 +1402,1101 @@ type PostDeleteResponse = {
|
|
|
1766
1402
|
updatedAt: string | null;
|
|
1767
1403
|
deletedAt?: string | null;
|
|
1768
1404
|
};
|
|
1769
|
-
type
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1405
|
+
type PostGetListData = {
|
|
1406
|
+
limit?: number | null;
|
|
1407
|
+
offset?: number | null;
|
|
1408
|
+
order?: 'ASC' | 'DESC' | null;
|
|
1409
|
+
orderBy?: 'createdAt' | 'updatedAt' | 'postDate' | 'postedDate' | 'deletedAt' | null;
|
|
1410
|
+
platforms?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK')> | null;
|
|
1411
|
+
q?: string | null;
|
|
1412
|
+
status?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | null;
|
|
1413
|
+
teamId: string;
|
|
1414
|
+
};
|
|
1415
|
+
type PostGetListResponse = {
|
|
1416
|
+
items: Array<{
|
|
1417
|
+
id: string;
|
|
1418
|
+
teamId: string;
|
|
1419
|
+
title: string;
|
|
1420
|
+
postDate: string | null;
|
|
1421
|
+
postedDate?: string | null;
|
|
1422
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
1423
|
+
data: {
|
|
1424
|
+
TWITTER?: {
|
|
1425
|
+
text?: string | null;
|
|
1426
|
+
uploadIds?: Array<(string)> | null;
|
|
1427
|
+
} | null;
|
|
1428
|
+
PINTEREST?: {
|
|
1429
|
+
text?: string | null;
|
|
1430
|
+
description?: string | null;
|
|
1431
|
+
boardName: string;
|
|
1432
|
+
uploadIds?: Array<(string)> | null;
|
|
1780
1433
|
/**
|
|
1781
|
-
*
|
|
1434
|
+
* The URL to which the Pin will link to.
|
|
1782
1435
|
*/
|
|
1783
|
-
|
|
1784
|
-
message: string;
|
|
1785
|
-
issues?: Array<{
|
|
1786
|
-
message: string;
|
|
1787
|
-
path?: Array<(string | number)> | null;
|
|
1788
|
-
}> | null;
|
|
1789
|
-
};
|
|
1436
|
+
link?: string | null;
|
|
1790
1437
|
/**
|
|
1791
|
-
*
|
|
1438
|
+
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
1792
1439
|
*/
|
|
1793
|
-
|
|
1794
|
-
message: string;
|
|
1795
|
-
};
|
|
1440
|
+
altText?: string | null;
|
|
1796
1441
|
/**
|
|
1797
|
-
*
|
|
1442
|
+
* A note about the Pin. This is not visible to the public.
|
|
1798
1443
|
*/
|
|
1799
|
-
|
|
1800
|
-
message: string;
|
|
1801
|
-
};
|
|
1444
|
+
note?: string | null;
|
|
1802
1445
|
/**
|
|
1803
|
-
*
|
|
1446
|
+
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
1804
1447
|
*/
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1448
|
+
dominantColor?: string | null;
|
|
1449
|
+
} | null;
|
|
1450
|
+
FACEBOOK?: {
|
|
1451
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
1452
|
+
text?: string | null;
|
|
1453
|
+
uploadIds?: Array<(string)> | null;
|
|
1454
|
+
} | null;
|
|
1455
|
+
INSTAGRAM?: {
|
|
1456
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
1457
|
+
text?: string | null;
|
|
1458
|
+
uploadIds?: Array<(string)> | null;
|
|
1459
|
+
} | null;
|
|
1460
|
+
TIKTOK?: {
|
|
1461
|
+
text?: string | null;
|
|
1462
|
+
uploadIds?: Array<(string)> | null;
|
|
1463
|
+
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
1808
1464
|
/**
|
|
1809
|
-
*
|
|
1465
|
+
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
1810
1466
|
*/
|
|
1811
|
-
|
|
1812
|
-
message: string;
|
|
1813
|
-
};
|
|
1814
|
-
};
|
|
1815
|
-
};
|
|
1816
|
-
};
|
|
1817
|
-
'/api/v1/team/': {
|
|
1818
|
-
get: {
|
|
1819
|
-
res: {
|
|
1467
|
+
isBrandContent?: boolean | null;
|
|
1820
1468
|
/**
|
|
1821
|
-
*
|
|
1469
|
+
* Set to true if this video is promoting the creator's own business.
|
|
1822
1470
|
*/
|
|
1823
|
-
|
|
1824
|
-
id: string;
|
|
1825
|
-
name: string;
|
|
1826
|
-
avatarUrl?: string | null;
|
|
1827
|
-
createdById: string;
|
|
1828
|
-
createdAt: string | null;
|
|
1829
|
-
updatedAt: string | null;
|
|
1830
|
-
deletedAt?: string | null;
|
|
1831
|
-
users: Array<{
|
|
1832
|
-
userId: string;
|
|
1833
|
-
teamId: string;
|
|
1834
|
-
createdAt: string | null;
|
|
1835
|
-
updatedAt: string | null;
|
|
1836
|
-
deletedAt?: string | null;
|
|
1837
|
-
user: {
|
|
1838
|
-
id: string;
|
|
1839
|
-
externalId: string;
|
|
1840
|
-
email: string;
|
|
1841
|
-
emailVerified?: string | null;
|
|
1842
|
-
firstName?: string | null;
|
|
1843
|
-
lastName?: string | null;
|
|
1844
|
-
avatarUrl?: string | null;
|
|
1845
|
-
role: 'ADMIN' | 'CUSTOMER';
|
|
1846
|
-
createdAt: string | null;
|
|
1847
|
-
updatedAt: string | null;
|
|
1848
|
-
deletedAt?: string | null;
|
|
1849
|
-
};
|
|
1850
|
-
}>;
|
|
1851
|
-
createdBy: {
|
|
1852
|
-
id: string;
|
|
1853
|
-
externalId: string;
|
|
1854
|
-
email: string;
|
|
1855
|
-
emailVerified?: string | null;
|
|
1856
|
-
firstName?: string | null;
|
|
1857
|
-
lastName?: string | null;
|
|
1858
|
-
avatarUrl?: string | null;
|
|
1859
|
-
role: 'ADMIN' | 'CUSTOMER';
|
|
1860
|
-
createdAt: string | null;
|
|
1861
|
-
updatedAt: string | null;
|
|
1862
|
-
deletedAt?: string | null;
|
|
1863
|
-
};
|
|
1864
|
-
invitations: Array<{
|
|
1865
|
-
id: string;
|
|
1866
|
-
email: string;
|
|
1867
|
-
teamId: string;
|
|
1868
|
-
createdById: string;
|
|
1869
|
-
createdAt: string | null;
|
|
1870
|
-
updatedAt: string | null;
|
|
1871
|
-
}>;
|
|
1872
|
-
bots: Array<{
|
|
1873
|
-
id: string;
|
|
1874
|
-
name: string;
|
|
1875
|
-
avatarUrl?: string | null;
|
|
1876
|
-
teamId: string;
|
|
1877
|
-
createdAt: string | null;
|
|
1878
|
-
updatedAt: string | null;
|
|
1879
|
-
deletedAt?: string | null;
|
|
1880
|
-
}>;
|
|
1881
|
-
webhooks: Array<{
|
|
1882
|
-
id: string;
|
|
1883
|
-
teamId: string;
|
|
1884
|
-
url: string;
|
|
1885
|
-
createdAt: string | null;
|
|
1886
|
-
updatedAt: string | null;
|
|
1887
|
-
deletedAt?: string | null;
|
|
1888
|
-
}>;
|
|
1889
|
-
socialAccounts: Array<{
|
|
1890
|
-
id: string;
|
|
1891
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
|
|
1892
|
-
teamId: string;
|
|
1893
|
-
username?: string | null;
|
|
1894
|
-
displayName?: string | null;
|
|
1895
|
-
externalId?: string | null;
|
|
1896
|
-
userUsername?: string | null;
|
|
1897
|
-
userDisplayName?: string | null;
|
|
1898
|
-
userId?: string | null;
|
|
1899
|
-
channels?: Array<{
|
|
1900
|
-
id: string;
|
|
1901
|
-
name?: string | null;
|
|
1902
|
-
username?: string | null;
|
|
1903
|
-
webhook?: {
|
|
1904
|
-
id?: string | null;
|
|
1905
|
-
name?: string | null;
|
|
1906
|
-
avatar?: string | null;
|
|
1907
|
-
url?: string | null;
|
|
1908
|
-
} | null;
|
|
1909
|
-
}> | null;
|
|
1910
|
-
createdAt: string | null;
|
|
1911
|
-
updatedAt: string | null;
|
|
1912
|
-
deletedAt?: string | null;
|
|
1913
|
-
}>;
|
|
1914
|
-
usage: {
|
|
1915
|
-
monthlyPosts: number;
|
|
1916
|
-
};
|
|
1917
|
-
};
|
|
1471
|
+
isOrganicBrandContent?: boolean | null;
|
|
1918
1472
|
/**
|
|
1919
|
-
*
|
|
1473
|
+
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
1920
1474
|
*/
|
|
1921
|
-
|
|
1922
|
-
message: string;
|
|
1923
|
-
issues?: Array<{
|
|
1924
|
-
message: string;
|
|
1925
|
-
path?: Array<(string | number)> | null;
|
|
1926
|
-
}> | null;
|
|
1927
|
-
};
|
|
1475
|
+
disableComments?: boolean | null;
|
|
1928
1476
|
/**
|
|
1929
|
-
*
|
|
1477
|
+
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
1930
1478
|
*/
|
|
1931
|
-
|
|
1932
|
-
message: string;
|
|
1933
|
-
};
|
|
1479
|
+
disableDuet?: boolean | null;
|
|
1934
1480
|
/**
|
|
1935
|
-
*
|
|
1481
|
+
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
1936
1482
|
*/
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1483
|
+
disableStitch?: boolean | null;
|
|
1484
|
+
} | null;
|
|
1485
|
+
LINKEDIN?: {
|
|
1486
|
+
text: string;
|
|
1487
|
+
uploadIds?: Array<(string)> | null;
|
|
1488
|
+
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
1940
1489
|
/**
|
|
1941
|
-
*
|
|
1490
|
+
* Set to true if the post shouldn't be displayed in the main feed.
|
|
1942
1491
|
*/
|
|
1943
|
-
|
|
1944
|
-
message: string;
|
|
1945
|
-
};
|
|
1492
|
+
hideFromFeed?: boolean | null;
|
|
1946
1493
|
/**
|
|
1947
|
-
*
|
|
1494
|
+
* Set to true if the post is not allowed to be reshared.
|
|
1948
1495
|
*/
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
req: UploadCreateData;
|
|
1958
|
-
res: {
|
|
1496
|
+
disableReshare?: boolean | null;
|
|
1497
|
+
} | null;
|
|
1498
|
+
YOUTUBE?: {
|
|
1499
|
+
type?: 'VIDEO' | 'SHORT';
|
|
1500
|
+
uploadIds?: Array<(string)> | null;
|
|
1501
|
+
text?: string | null;
|
|
1502
|
+
description?: string | null;
|
|
1503
|
+
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
1959
1504
|
/**
|
|
1960
|
-
*
|
|
1505
|
+
* Set to true if the video is made for kids.
|
|
1961
1506
|
*/
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
expiresAt?: string | null;
|
|
1966
|
-
iconUrl?: string | null;
|
|
1967
|
-
thumbnailUrl?: string | null;
|
|
1968
|
-
url?: string | null;
|
|
1969
|
-
iconPath?: string | null;
|
|
1970
|
-
thumbnailPath?: string | null;
|
|
1971
|
-
path?: string | null;
|
|
1972
|
-
type: 'image' | 'video';
|
|
1973
|
-
width?: number | null;
|
|
1974
|
-
height?: number | null;
|
|
1975
|
-
fileSize?: number | null;
|
|
1976
|
-
videoLength?: number | null;
|
|
1977
|
-
mime?: string | null;
|
|
1978
|
-
ext?: string | null;
|
|
1979
|
-
createdAt: string | null;
|
|
1980
|
-
updatedAt: string | null;
|
|
1981
|
-
};
|
|
1507
|
+
madeForKids?: boolean | null;
|
|
1508
|
+
} | null;
|
|
1509
|
+
REDDIT?: {
|
|
1982
1510
|
/**
|
|
1983
|
-
*
|
|
1511
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
1984
1512
|
*/
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
path?: Array<(string | number)> | null;
|
|
1990
|
-
}> | null;
|
|
1991
|
-
};
|
|
1513
|
+
sr: string;
|
|
1514
|
+
text: string;
|
|
1515
|
+
description?: string | null;
|
|
1516
|
+
uploadIds?: Array<(string)> | null;
|
|
1992
1517
|
/**
|
|
1993
|
-
*
|
|
1518
|
+
* The URL to which the post will link to.
|
|
1994
1519
|
*/
|
|
1995
|
-
|
|
1996
|
-
message: string;
|
|
1997
|
-
};
|
|
1520
|
+
link?: string | null;
|
|
1998
1521
|
/**
|
|
1999
|
-
*
|
|
1522
|
+
* Set to true if the post is NSFW.
|
|
2000
1523
|
*/
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
1524
|
+
nsfw?: boolean | null;
|
|
1525
|
+
} | null;
|
|
1526
|
+
DISCORD?: {
|
|
1527
|
+
channelId: string;
|
|
1528
|
+
text?: string | null;
|
|
1529
|
+
uploadIds?: Array<(string)> | null;
|
|
2004
1530
|
/**
|
|
2005
|
-
*
|
|
1531
|
+
* The username to display as the author of the message.
|
|
2006
1532
|
*/
|
|
2007
|
-
|
|
2008
|
-
message: string;
|
|
2009
|
-
};
|
|
1533
|
+
username?: string | null;
|
|
2010
1534
|
/**
|
|
2011
|
-
*
|
|
1535
|
+
* Avatar url to display as the author of the message.
|
|
2012
1536
|
*/
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
res: {
|
|
1537
|
+
avatarUrl?: string | null;
|
|
1538
|
+
} | null;
|
|
1539
|
+
SLACK?: {
|
|
1540
|
+
channelId: string;
|
|
1541
|
+
text?: string | null;
|
|
1542
|
+
uploadIds?: Array<(string)> | null;
|
|
2020
1543
|
/**
|
|
2021
|
-
*
|
|
1544
|
+
* The username to display as the author of the message.
|
|
2022
1545
|
*/
|
|
2023
|
-
|
|
1546
|
+
username?: string | null;
|
|
1547
|
+
/**
|
|
1548
|
+
* Avatar url to display as the author of the message.
|
|
1549
|
+
*/
|
|
1550
|
+
avatarUrl?: string | null;
|
|
1551
|
+
} | null;
|
|
1552
|
+
TELEGRAM?: unknown;
|
|
1553
|
+
THREADS?: unknown;
|
|
1554
|
+
};
|
|
1555
|
+
error?: string | null;
|
|
1556
|
+
errors?: {
|
|
1557
|
+
TWITTER?: string | null;
|
|
1558
|
+
PINTEREST?: string | null;
|
|
1559
|
+
FACEBOOK?: string | null;
|
|
1560
|
+
INSTAGRAM?: string | null;
|
|
1561
|
+
TIKTOK?: string | null;
|
|
1562
|
+
LINKEDIN?: string | null;
|
|
1563
|
+
REDDIT?: string | null;
|
|
1564
|
+
DISCORD?: string | null;
|
|
1565
|
+
SLACK?: string | null;
|
|
1566
|
+
YOUTUBE?: string | null;
|
|
1567
|
+
TELEGRAM?: string | null;
|
|
1568
|
+
THREADS?: string | null;
|
|
1569
|
+
} | null;
|
|
1570
|
+
externalData?: {
|
|
1571
|
+
TWITTER?: {
|
|
1572
|
+
id?: string | null;
|
|
1573
|
+
permalink?: string | null;
|
|
1574
|
+
} | null;
|
|
1575
|
+
PINTEREST?: {
|
|
1576
|
+
id?: string | null;
|
|
1577
|
+
permalink?: string | null;
|
|
1578
|
+
} | null;
|
|
1579
|
+
FACEBOOK?: {
|
|
1580
|
+
id?: string | null;
|
|
1581
|
+
postId?: string | null;
|
|
1582
|
+
videoId?: string | null;
|
|
1583
|
+
permalink?: string | null;
|
|
1584
|
+
} | null;
|
|
1585
|
+
INSTAGRAM?: {
|
|
1586
|
+
id?: string | null;
|
|
1587
|
+
permalink?: string | null;
|
|
1588
|
+
} | null;
|
|
1589
|
+
TIKTOK?: {
|
|
1590
|
+
id?: string | null;
|
|
1591
|
+
permalink?: string | null;
|
|
1592
|
+
} | null;
|
|
1593
|
+
LINKEDIN?: {
|
|
1594
|
+
id?: string | null;
|
|
1595
|
+
permalink?: string | null;
|
|
1596
|
+
} | null;
|
|
1597
|
+
REDDIT?: {
|
|
1598
|
+
id?: string | null;
|
|
1599
|
+
permalink?: string | null;
|
|
1600
|
+
subreddit_name?: string | null;
|
|
1601
|
+
} | null;
|
|
1602
|
+
DISCORD?: {
|
|
1603
|
+
id?: string | null;
|
|
1604
|
+
permalink?: string | null;
|
|
1605
|
+
channelId?: string | null;
|
|
1606
|
+
} | null;
|
|
1607
|
+
SLACK?: {
|
|
1608
|
+
id?: string | null;
|
|
1609
|
+
permalink?: string | null;
|
|
1610
|
+
channelId?: string | null;
|
|
1611
|
+
} | null;
|
|
1612
|
+
YOUTUBE?: {
|
|
1613
|
+
id?: string | null;
|
|
1614
|
+
permalink?: string | null;
|
|
1615
|
+
} | null;
|
|
1616
|
+
TELEGRAM?: {
|
|
1617
|
+
id?: string | null;
|
|
1618
|
+
permalink?: string | null;
|
|
1619
|
+
} | null;
|
|
1620
|
+
THREADS?: {
|
|
1621
|
+
id?: string | null;
|
|
1622
|
+
permalink?: string | null;
|
|
1623
|
+
} | null;
|
|
1624
|
+
} | null;
|
|
1625
|
+
createdAt: string | null;
|
|
1626
|
+
updatedAt: string | null;
|
|
1627
|
+
deletedAt?: string | null;
|
|
1628
|
+
uploads: Array<{
|
|
1629
|
+
postId: string;
|
|
1630
|
+
uploadId: string;
|
|
1631
|
+
createdAt: string | null;
|
|
1632
|
+
updatedAt: string | null;
|
|
1633
|
+
deletedAt?: string | null;
|
|
1634
|
+
upload: {
|
|
1635
|
+
id: string;
|
|
1636
|
+
teamId: string;
|
|
1637
|
+
expiresAt?: string | null;
|
|
1638
|
+
iconUrl?: string | null;
|
|
1639
|
+
thumbnailUrl?: string | null;
|
|
1640
|
+
url?: string | null;
|
|
1641
|
+
iconPath?: string | null;
|
|
1642
|
+
thumbnailPath?: string | null;
|
|
1643
|
+
path?: string | null;
|
|
1644
|
+
type: 'image' | 'video';
|
|
1645
|
+
width?: number | null;
|
|
1646
|
+
height?: number | null;
|
|
1647
|
+
fileSize?: number | null;
|
|
1648
|
+
videoLength?: number | null;
|
|
1649
|
+
mime?: string | null;
|
|
1650
|
+
ext?: string | null;
|
|
1651
|
+
createdAt: string | null;
|
|
1652
|
+
updatedAt: string | null;
|
|
1653
|
+
};
|
|
1654
|
+
}>;
|
|
1655
|
+
socialAccounts: Array<{
|
|
1656
|
+
postId: string;
|
|
1657
|
+
socialAccountId: string;
|
|
1658
|
+
createdAt: string | null;
|
|
1659
|
+
updatedAt: string | null;
|
|
1660
|
+
deletedAt?: string | null;
|
|
1661
|
+
socialAccount: {
|
|
1662
|
+
id: string;
|
|
1663
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
|
|
1664
|
+
teamId: string;
|
|
1665
|
+
username?: string | null;
|
|
1666
|
+
displayName?: string | null;
|
|
1667
|
+
externalId?: string | null;
|
|
1668
|
+
userUsername?: string | null;
|
|
1669
|
+
userDisplayName?: string | null;
|
|
1670
|
+
userId?: string | null;
|
|
1671
|
+
channels?: Array<{
|
|
2024
1672
|
id: string;
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
1673
|
+
name?: string | null;
|
|
1674
|
+
username?: string | null;
|
|
1675
|
+
webhook?: {
|
|
1676
|
+
id?: string | null;
|
|
1677
|
+
name?: string | null;
|
|
1678
|
+
avatar?: string | null;
|
|
1679
|
+
url?: string | null;
|
|
1680
|
+
} | null;
|
|
1681
|
+
}> | null;
|
|
1682
|
+
createdAt: string | null;
|
|
1683
|
+
updatedAt: string | null;
|
|
1684
|
+
deletedAt?: string | null;
|
|
1685
|
+
};
|
|
1686
|
+
}>;
|
|
1687
|
+
}>;
|
|
1688
|
+
total: number;
|
|
1689
|
+
};
|
|
1690
|
+
type PostCreateData = {
|
|
1691
|
+
/**
|
|
1692
|
+
* Body
|
|
1693
|
+
*/
|
|
1694
|
+
requestBody?: {
|
|
1695
|
+
teamId: string;
|
|
1696
|
+
title: string;
|
|
1697
|
+
postDate: string;
|
|
1698
|
+
status: 'DRAFT' | 'SCHEDULED';
|
|
1699
|
+
socialAccountTypes: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK')>;
|
|
1700
|
+
data: {
|
|
1701
|
+
TWITTER?: {
|
|
1702
|
+
text?: string | null;
|
|
1703
|
+
uploadIds?: Array<(string)> | null;
|
|
1704
|
+
} | null;
|
|
1705
|
+
PINTEREST?: {
|
|
1706
|
+
text?: string | null;
|
|
1707
|
+
description?: string | null;
|
|
1708
|
+
boardName: string;
|
|
1709
|
+
uploadIds?: Array<(string)> | null;
|
|
2050
1710
|
/**
|
|
2051
|
-
*
|
|
1711
|
+
* The URL to which the Pin will link to.
|
|
2052
1712
|
*/
|
|
2053
|
-
|
|
2054
|
-
message: string;
|
|
2055
|
-
issues?: Array<{
|
|
2056
|
-
message: string;
|
|
2057
|
-
path?: Array<(string | number)> | null;
|
|
2058
|
-
}> | null;
|
|
2059
|
-
};
|
|
1713
|
+
link?: string | null;
|
|
2060
1714
|
/**
|
|
2061
|
-
*
|
|
1715
|
+
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
2062
1716
|
*/
|
|
2063
|
-
|
|
2064
|
-
message: string;
|
|
2065
|
-
};
|
|
1717
|
+
altText?: string | null;
|
|
2066
1718
|
/**
|
|
2067
|
-
*
|
|
1719
|
+
* A note about the Pin. This is not visible to the public.
|
|
2068
1720
|
*/
|
|
2069
|
-
|
|
2070
|
-
message: string;
|
|
2071
|
-
};
|
|
2072
|
-
/**
|
|
2073
|
-
* 404
|
|
2074
|
-
*/
|
|
2075
|
-
404: {
|
|
2076
|
-
message: string;
|
|
2077
|
-
};
|
|
2078
|
-
/**
|
|
2079
|
-
* 500
|
|
2080
|
-
*/
|
|
2081
|
-
500: {
|
|
2082
|
-
message: string;
|
|
2083
|
-
};
|
|
2084
|
-
};
|
|
2085
|
-
};
|
|
2086
|
-
delete: {
|
|
2087
|
-
req: UploadDeleteManyData;
|
|
2088
|
-
res: {
|
|
2089
|
-
/**
|
|
2090
|
-
* 200
|
|
2091
|
-
*/
|
|
2092
|
-
200: Array<{
|
|
2093
|
-
id: string;
|
|
2094
|
-
teamId: string;
|
|
2095
|
-
expiresAt?: string | null;
|
|
2096
|
-
iconUrl?: string | null;
|
|
2097
|
-
thumbnailUrl?: string | null;
|
|
2098
|
-
url?: string | null;
|
|
2099
|
-
iconPath?: string | null;
|
|
2100
|
-
thumbnailPath?: string | null;
|
|
2101
|
-
path?: string | null;
|
|
2102
|
-
type: 'image' | 'video';
|
|
2103
|
-
width?: number | null;
|
|
2104
|
-
height?: number | null;
|
|
2105
|
-
fileSize?: number | null;
|
|
2106
|
-
videoLength?: number | null;
|
|
2107
|
-
mime?: string | null;
|
|
2108
|
-
ext?: string | null;
|
|
2109
|
-
createdAt: string | null;
|
|
2110
|
-
updatedAt: string | null;
|
|
2111
|
-
}>;
|
|
2112
|
-
/**
|
|
2113
|
-
* 400
|
|
2114
|
-
*/
|
|
2115
|
-
400: {
|
|
2116
|
-
message: string;
|
|
2117
|
-
issues?: Array<{
|
|
2118
|
-
message: string;
|
|
2119
|
-
path?: Array<(string | number)> | null;
|
|
2120
|
-
}> | null;
|
|
2121
|
-
};
|
|
1721
|
+
note?: string | null;
|
|
2122
1722
|
/**
|
|
2123
|
-
*
|
|
1723
|
+
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
2124
1724
|
*/
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
1725
|
+
dominantColor?: string | null;
|
|
1726
|
+
} | null;
|
|
1727
|
+
FACEBOOK?: {
|
|
1728
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
1729
|
+
text?: string | null;
|
|
1730
|
+
uploadIds?: Array<(string)> | null;
|
|
1731
|
+
} | null;
|
|
1732
|
+
INSTAGRAM?: {
|
|
1733
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
1734
|
+
text?: string | null;
|
|
1735
|
+
uploadIds?: Array<(string)> | null;
|
|
1736
|
+
} | null;
|
|
1737
|
+
TIKTOK?: {
|
|
1738
|
+
text?: string | null;
|
|
1739
|
+
uploadIds?: Array<(string)> | null;
|
|
1740
|
+
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
2128
1741
|
/**
|
|
2129
|
-
*
|
|
1742
|
+
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
2130
1743
|
*/
|
|
2131
|
-
|
|
2132
|
-
message: string;
|
|
2133
|
-
};
|
|
1744
|
+
isBrandContent?: boolean | null;
|
|
2134
1745
|
/**
|
|
2135
|
-
*
|
|
1746
|
+
* Set to true if this video is promoting the creator's own business.
|
|
2136
1747
|
*/
|
|
2137
|
-
|
|
2138
|
-
message: string;
|
|
2139
|
-
};
|
|
1748
|
+
isOrganicBrandContent?: boolean | null;
|
|
2140
1749
|
/**
|
|
2141
|
-
*
|
|
1750
|
+
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
2142
1751
|
*/
|
|
2143
|
-
|
|
2144
|
-
message: string;
|
|
2145
|
-
};
|
|
2146
|
-
};
|
|
2147
|
-
};
|
|
2148
|
-
};
|
|
2149
|
-
'/api/v1/upload/{id}': {
|
|
2150
|
-
get: {
|
|
2151
|
-
req: UploadGetData;
|
|
2152
|
-
res: {
|
|
1752
|
+
disableComments?: boolean | null;
|
|
2153
1753
|
/**
|
|
2154
|
-
*
|
|
1754
|
+
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
2155
1755
|
*/
|
|
2156
|
-
|
|
2157
|
-
id: string;
|
|
2158
|
-
teamId: string;
|
|
2159
|
-
expiresAt?: string | null;
|
|
2160
|
-
iconUrl?: string | null;
|
|
2161
|
-
thumbnailUrl?: string | null;
|
|
2162
|
-
url?: string | null;
|
|
2163
|
-
iconPath?: string | null;
|
|
2164
|
-
thumbnailPath?: string | null;
|
|
2165
|
-
path?: string | null;
|
|
2166
|
-
type: 'image' | 'video';
|
|
2167
|
-
width?: number | null;
|
|
2168
|
-
height?: number | null;
|
|
2169
|
-
fileSize?: number | null;
|
|
2170
|
-
videoLength?: number | null;
|
|
2171
|
-
mime?: string | null;
|
|
2172
|
-
ext?: string | null;
|
|
2173
|
-
createdAt: string | null;
|
|
2174
|
-
updatedAt: string | null;
|
|
2175
|
-
};
|
|
1756
|
+
disableDuet?: boolean | null;
|
|
2176
1757
|
/**
|
|
2177
|
-
*
|
|
1758
|
+
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
2178
1759
|
*/
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
};
|
|
1760
|
+
disableStitch?: boolean | null;
|
|
1761
|
+
} | null;
|
|
1762
|
+
LINKEDIN?: {
|
|
1763
|
+
text: string;
|
|
1764
|
+
uploadIds?: Array<(string)> | null;
|
|
1765
|
+
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
2186
1766
|
/**
|
|
2187
|
-
*
|
|
1767
|
+
* Set to true if the post shouldn't be displayed in the main feed.
|
|
2188
1768
|
*/
|
|
2189
|
-
|
|
2190
|
-
message: string;
|
|
2191
|
-
};
|
|
1769
|
+
hideFromFeed?: boolean | null;
|
|
2192
1770
|
/**
|
|
2193
|
-
*
|
|
1771
|
+
* Set to true if the post is not allowed to be reshared.
|
|
2194
1772
|
*/
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
1773
|
+
disableReshare?: boolean | null;
|
|
1774
|
+
} | null;
|
|
1775
|
+
YOUTUBE?: {
|
|
1776
|
+
type?: 'VIDEO' | 'SHORT';
|
|
1777
|
+
uploadIds?: Array<(string)> | null;
|
|
1778
|
+
text?: string | null;
|
|
1779
|
+
description?: string | null;
|
|
1780
|
+
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
2198
1781
|
/**
|
|
2199
|
-
*
|
|
1782
|
+
* Set to true if the video is made for kids.
|
|
2200
1783
|
*/
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
1784
|
+
madeForKids?: boolean | null;
|
|
1785
|
+
} | null;
|
|
1786
|
+
REDDIT?: {
|
|
2204
1787
|
/**
|
|
2205
|
-
*
|
|
1788
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
2206
1789
|
*/
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
};
|
|
2212
|
-
delete: {
|
|
2213
|
-
req: UploadDeleteData;
|
|
2214
|
-
res: {
|
|
1790
|
+
sr: string;
|
|
1791
|
+
text: string;
|
|
1792
|
+
description?: string | null;
|
|
1793
|
+
uploadIds?: Array<(string)> | null;
|
|
2215
1794
|
/**
|
|
2216
|
-
*
|
|
1795
|
+
* The URL to which the post will link to.
|
|
2217
1796
|
*/
|
|
2218
|
-
|
|
2219
|
-
id: string;
|
|
2220
|
-
teamId: string;
|
|
2221
|
-
expiresAt?: string | null;
|
|
2222
|
-
iconUrl?: string | null;
|
|
2223
|
-
thumbnailUrl?: string | null;
|
|
2224
|
-
url?: string | null;
|
|
2225
|
-
iconPath?: string | null;
|
|
2226
|
-
thumbnailPath?: string | null;
|
|
2227
|
-
path?: string | null;
|
|
2228
|
-
type: 'image' | 'video';
|
|
2229
|
-
width?: number | null;
|
|
2230
|
-
height?: number | null;
|
|
2231
|
-
fileSize?: number | null;
|
|
2232
|
-
videoLength?: number | null;
|
|
2233
|
-
mime?: string | null;
|
|
2234
|
-
ext?: string | null;
|
|
2235
|
-
createdAt: string | null;
|
|
2236
|
-
updatedAt: string | null;
|
|
2237
|
-
};
|
|
1797
|
+
link?: string | null;
|
|
2238
1798
|
/**
|
|
2239
|
-
*
|
|
1799
|
+
* Set to true if the post is NSFW.
|
|
2240
1800
|
*/
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
};
|
|
1801
|
+
nsfw?: boolean | null;
|
|
1802
|
+
} | null;
|
|
1803
|
+
DISCORD?: {
|
|
1804
|
+
channelId: string;
|
|
1805
|
+
text?: string | null;
|
|
1806
|
+
uploadIds?: Array<(string)> | null;
|
|
2248
1807
|
/**
|
|
2249
|
-
*
|
|
1808
|
+
* The username to display as the author of the message.
|
|
2250
1809
|
*/
|
|
2251
|
-
|
|
2252
|
-
message: string;
|
|
2253
|
-
};
|
|
1810
|
+
username?: string | null;
|
|
2254
1811
|
/**
|
|
2255
|
-
*
|
|
1812
|
+
* Avatar url to display as the author of the message.
|
|
2256
1813
|
*/
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
1814
|
+
avatarUrl?: string | null;
|
|
1815
|
+
} | null;
|
|
1816
|
+
SLACK?: {
|
|
1817
|
+
channelId: string;
|
|
1818
|
+
text?: string | null;
|
|
1819
|
+
uploadIds?: Array<(string)> | null;
|
|
2260
1820
|
/**
|
|
2261
|
-
*
|
|
1821
|
+
* The username to display as the author of the message.
|
|
2262
1822
|
*/
|
|
2263
|
-
|
|
2264
|
-
message: string;
|
|
2265
|
-
};
|
|
1823
|
+
username?: string | null;
|
|
2266
1824
|
/**
|
|
2267
|
-
*
|
|
1825
|
+
* Avatar url to display as the author of the message.
|
|
2268
1826
|
*/
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
1827
|
+
avatarUrl?: string | null;
|
|
1828
|
+
} | null;
|
|
1829
|
+
TELEGRAM?: unknown;
|
|
1830
|
+
THREADS?: unknown;
|
|
2273
1831
|
};
|
|
2274
1832
|
};
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
1833
|
+
};
|
|
1834
|
+
type PostCreateResponse = {
|
|
1835
|
+
id: string;
|
|
1836
|
+
teamId: string;
|
|
1837
|
+
title: string;
|
|
1838
|
+
postDate: string | null;
|
|
1839
|
+
postedDate?: string | null;
|
|
1840
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
1841
|
+
data: {
|
|
1842
|
+
TWITTER?: {
|
|
1843
|
+
text?: string | null;
|
|
1844
|
+
uploadIds?: Array<(string)> | null;
|
|
1845
|
+
} | null;
|
|
1846
|
+
PINTEREST?: {
|
|
1847
|
+
text?: string | null;
|
|
1848
|
+
description?: string | null;
|
|
1849
|
+
boardName: string;
|
|
1850
|
+
uploadIds?: Array<(string)> | null;
|
|
1851
|
+
/**
|
|
1852
|
+
* The URL to which the Pin will link to.
|
|
1853
|
+
*/
|
|
1854
|
+
link?: string | null;
|
|
1855
|
+
/**
|
|
1856
|
+
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
1857
|
+
*/
|
|
1858
|
+
altText?: string | null;
|
|
1859
|
+
/**
|
|
1860
|
+
* A note about the Pin. This is not visible to the public.
|
|
1861
|
+
*/
|
|
1862
|
+
note?: string | null;
|
|
1863
|
+
/**
|
|
1864
|
+
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
1865
|
+
*/
|
|
1866
|
+
dominantColor?: string | null;
|
|
1867
|
+
} | null;
|
|
1868
|
+
FACEBOOK?: {
|
|
1869
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
1870
|
+
text?: string | null;
|
|
1871
|
+
uploadIds?: Array<(string)> | null;
|
|
1872
|
+
} | null;
|
|
1873
|
+
INSTAGRAM?: {
|
|
1874
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
1875
|
+
text?: string | null;
|
|
1876
|
+
uploadIds?: Array<(string)> | null;
|
|
1877
|
+
} | null;
|
|
1878
|
+
TIKTOK?: {
|
|
1879
|
+
text?: string | null;
|
|
1880
|
+
uploadIds?: Array<(string)> | null;
|
|
1881
|
+
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
1882
|
+
/**
|
|
1883
|
+
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
1884
|
+
*/
|
|
1885
|
+
isBrandContent?: boolean | null;
|
|
1886
|
+
/**
|
|
1887
|
+
* Set to true if this video is promoting the creator's own business.
|
|
1888
|
+
*/
|
|
1889
|
+
isOrganicBrandContent?: boolean | null;
|
|
1890
|
+
/**
|
|
1891
|
+
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
1892
|
+
*/
|
|
1893
|
+
disableComments?: boolean | null;
|
|
1894
|
+
/**
|
|
1895
|
+
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
1896
|
+
*/
|
|
1897
|
+
disableDuet?: boolean | null;
|
|
1898
|
+
/**
|
|
1899
|
+
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
1900
|
+
*/
|
|
1901
|
+
disableStitch?: boolean | null;
|
|
1902
|
+
} | null;
|
|
1903
|
+
LINKEDIN?: {
|
|
1904
|
+
text: string;
|
|
1905
|
+
uploadIds?: Array<(string)> | null;
|
|
1906
|
+
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
1907
|
+
/**
|
|
1908
|
+
* Set to true if the post shouldn't be displayed in the main feed.
|
|
1909
|
+
*/
|
|
1910
|
+
hideFromFeed?: boolean | null;
|
|
1911
|
+
/**
|
|
1912
|
+
* Set to true if the post is not allowed to be reshared.
|
|
1913
|
+
*/
|
|
1914
|
+
disableReshare?: boolean | null;
|
|
1915
|
+
} | null;
|
|
1916
|
+
YOUTUBE?: {
|
|
1917
|
+
type?: 'VIDEO' | 'SHORT';
|
|
1918
|
+
uploadIds?: Array<(string)> | null;
|
|
1919
|
+
text?: string | null;
|
|
1920
|
+
description?: string | null;
|
|
1921
|
+
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
1922
|
+
/**
|
|
1923
|
+
* Set to true if the video is made for kids.
|
|
1924
|
+
*/
|
|
1925
|
+
madeForKids?: boolean | null;
|
|
1926
|
+
} | null;
|
|
1927
|
+
REDDIT?: {
|
|
1928
|
+
/**
|
|
1929
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
1930
|
+
*/
|
|
1931
|
+
sr: string;
|
|
1932
|
+
text: string;
|
|
1933
|
+
description?: string | null;
|
|
1934
|
+
uploadIds?: Array<(string)> | null;
|
|
1935
|
+
/**
|
|
1936
|
+
* The URL to which the post will link to.
|
|
1937
|
+
*/
|
|
1938
|
+
link?: string | null;
|
|
1939
|
+
/**
|
|
1940
|
+
* Set to true if the post is NSFW.
|
|
1941
|
+
*/
|
|
1942
|
+
nsfw?: boolean | null;
|
|
1943
|
+
} | null;
|
|
1944
|
+
DISCORD?: {
|
|
1945
|
+
channelId: string;
|
|
1946
|
+
text?: string | null;
|
|
1947
|
+
uploadIds?: Array<(string)> | null;
|
|
1948
|
+
/**
|
|
1949
|
+
* The username to display as the author of the message.
|
|
1950
|
+
*/
|
|
1951
|
+
username?: string | null;
|
|
1952
|
+
/**
|
|
1953
|
+
* Avatar url to display as the author of the message.
|
|
1954
|
+
*/
|
|
1955
|
+
avatarUrl?: string | null;
|
|
1956
|
+
} | null;
|
|
1957
|
+
SLACK?: {
|
|
1958
|
+
channelId: string;
|
|
1959
|
+
text?: string | null;
|
|
1960
|
+
uploadIds?: Array<(string)> | null;
|
|
1961
|
+
/**
|
|
1962
|
+
* The username to display as the author of the message.
|
|
1963
|
+
*/
|
|
1964
|
+
username?: string | null;
|
|
1965
|
+
/**
|
|
1966
|
+
* Avatar url to display as the author of the message.
|
|
1967
|
+
*/
|
|
1968
|
+
avatarUrl?: string | null;
|
|
1969
|
+
} | null;
|
|
1970
|
+
TELEGRAM?: unknown;
|
|
1971
|
+
THREADS?: unknown;
|
|
1972
|
+
};
|
|
1973
|
+
error?: string | null;
|
|
1974
|
+
errors?: {
|
|
1975
|
+
TWITTER?: string | null;
|
|
1976
|
+
PINTEREST?: string | null;
|
|
1977
|
+
FACEBOOK?: string | null;
|
|
1978
|
+
INSTAGRAM?: string | null;
|
|
1979
|
+
TIKTOK?: string | null;
|
|
1980
|
+
LINKEDIN?: string | null;
|
|
1981
|
+
REDDIT?: string | null;
|
|
1982
|
+
DISCORD?: string | null;
|
|
1983
|
+
SLACK?: string | null;
|
|
1984
|
+
YOUTUBE?: string | null;
|
|
1985
|
+
TELEGRAM?: string | null;
|
|
1986
|
+
THREADS?: string | null;
|
|
1987
|
+
} | null;
|
|
1988
|
+
externalData?: {
|
|
1989
|
+
TWITTER?: {
|
|
1990
|
+
id?: string | null;
|
|
1991
|
+
permalink?: string | null;
|
|
1992
|
+
} | null;
|
|
1993
|
+
PINTEREST?: {
|
|
1994
|
+
id?: string | null;
|
|
1995
|
+
permalink?: string | null;
|
|
1996
|
+
} | null;
|
|
1997
|
+
FACEBOOK?: {
|
|
1998
|
+
id?: string | null;
|
|
1999
|
+
postId?: string | null;
|
|
2000
|
+
videoId?: string | null;
|
|
2001
|
+
permalink?: string | null;
|
|
2002
|
+
} | null;
|
|
2003
|
+
INSTAGRAM?: {
|
|
2004
|
+
id?: string | null;
|
|
2005
|
+
permalink?: string | null;
|
|
2006
|
+
} | null;
|
|
2007
|
+
TIKTOK?: {
|
|
2008
|
+
id?: string | null;
|
|
2009
|
+
permalink?: string | null;
|
|
2010
|
+
} | null;
|
|
2011
|
+
LINKEDIN?: {
|
|
2012
|
+
id?: string | null;
|
|
2013
|
+
permalink?: string | null;
|
|
2014
|
+
} | null;
|
|
2015
|
+
REDDIT?: {
|
|
2016
|
+
id?: string | null;
|
|
2017
|
+
permalink?: string | null;
|
|
2018
|
+
subreddit_name?: string | null;
|
|
2019
|
+
} | null;
|
|
2020
|
+
DISCORD?: {
|
|
2021
|
+
id?: string | null;
|
|
2022
|
+
permalink?: string | null;
|
|
2023
|
+
channelId?: string | null;
|
|
2024
|
+
} | null;
|
|
2025
|
+
SLACK?: {
|
|
2026
|
+
id?: string | null;
|
|
2027
|
+
permalink?: string | null;
|
|
2028
|
+
channelId?: string | null;
|
|
2029
|
+
} | null;
|
|
2030
|
+
YOUTUBE?: {
|
|
2031
|
+
id?: string | null;
|
|
2032
|
+
permalink?: string | null;
|
|
2033
|
+
} | null;
|
|
2034
|
+
TELEGRAM?: {
|
|
2035
|
+
id?: string | null;
|
|
2036
|
+
permalink?: string | null;
|
|
2037
|
+
} | null;
|
|
2038
|
+
THREADS?: {
|
|
2039
|
+
id?: string | null;
|
|
2040
|
+
permalink?: string | null;
|
|
2041
|
+
} | null;
|
|
2042
|
+
} | null;
|
|
2043
|
+
createdAt: string | null;
|
|
2044
|
+
updatedAt: string | null;
|
|
2045
|
+
deletedAt?: string | null;
|
|
2046
|
+
};
|
|
2047
|
+
type $OpenApiTs = {
|
|
2048
|
+
'/api/v1/': {
|
|
2049
|
+
get: {
|
|
2050
|
+
res: {
|
|
2051
|
+
/**
|
|
2052
|
+
* 200
|
|
2053
|
+
*/
|
|
2054
|
+
200: {
|
|
2055
|
+
status: string;
|
|
2056
|
+
createdAt: string;
|
|
2057
|
+
};
|
|
2058
|
+
/**
|
|
2059
|
+
* 400
|
|
2060
|
+
*/
|
|
2061
|
+
400: {
|
|
2062
|
+
message: string;
|
|
2063
|
+
issues?: Array<{
|
|
2064
|
+
message: string;
|
|
2065
|
+
path?: Array<(string | number)> | null;
|
|
2066
|
+
}> | null;
|
|
2067
|
+
};
|
|
2068
|
+
/**
|
|
2069
|
+
* 401
|
|
2070
|
+
*/
|
|
2071
|
+
401: {
|
|
2072
|
+
message: string;
|
|
2073
|
+
};
|
|
2074
|
+
/**
|
|
2075
|
+
* 403
|
|
2076
|
+
*/
|
|
2077
|
+
403: {
|
|
2078
|
+
message: string;
|
|
2079
|
+
};
|
|
2080
|
+
/**
|
|
2081
|
+
* 404
|
|
2082
|
+
*/
|
|
2083
|
+
404: {
|
|
2084
|
+
message: string;
|
|
2085
|
+
};
|
|
2086
|
+
/**
|
|
2087
|
+
* 429
|
|
2088
|
+
*/
|
|
2089
|
+
429: {
|
|
2090
|
+
message: string;
|
|
2091
|
+
};
|
|
2092
|
+
/**
|
|
2093
|
+
* 500
|
|
2094
|
+
*/
|
|
2095
|
+
500: {
|
|
2096
|
+
message: string;
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2099
|
+
};
|
|
2100
|
+
};
|
|
2101
|
+
'/api/v1/organization/': {
|
|
2102
|
+
get: {
|
|
2103
|
+
res: {
|
|
2104
|
+
/**
|
|
2105
|
+
* 200
|
|
2106
|
+
*/
|
|
2107
|
+
200: {
|
|
2283
2108
|
id: string;
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
/**
|
|
2347
|
-
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
2348
|
-
*/
|
|
2349
|
-
disableStitch?: boolean | null;
|
|
2350
|
-
} | null;
|
|
2351
|
-
LINKEDIN?: {
|
|
2352
|
-
text: string;
|
|
2353
|
-
uploadIds?: Array<(string)> | null;
|
|
2354
|
-
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
2355
|
-
/**
|
|
2356
|
-
* Set to true if the post shouldn't be displayed in the main feed.
|
|
2357
|
-
*/
|
|
2358
|
-
hideFromFeed?: boolean | null;
|
|
2359
|
-
/**
|
|
2360
|
-
* Set to true if the post is not allowed to be reshared.
|
|
2361
|
-
*/
|
|
2362
|
-
disableReshare?: boolean | null;
|
|
2363
|
-
} | null;
|
|
2364
|
-
YOUTUBE?: {
|
|
2365
|
-
type?: 'VIDEO' | 'SHORT';
|
|
2366
|
-
uploadIds?: Array<(string)> | null;
|
|
2367
|
-
text?: string | null;
|
|
2368
|
-
description?: string | null;
|
|
2369
|
-
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
2370
|
-
/**
|
|
2371
|
-
* Set to true if the video is made for kids.
|
|
2372
|
-
*/
|
|
2373
|
-
madeForKids?: boolean | null;
|
|
2374
|
-
} | null;
|
|
2375
|
-
REDDIT?: {
|
|
2376
|
-
sr: string;
|
|
2377
|
-
text: string;
|
|
2378
|
-
description?: string | null;
|
|
2379
|
-
uploadIds?: Array<(string)> | null;
|
|
2380
|
-
/**
|
|
2381
|
-
* The URL to which the post will link to.
|
|
2382
|
-
*/
|
|
2383
|
-
link?: string | null;
|
|
2384
|
-
/**
|
|
2385
|
-
* Set to true if the post is NSFW.
|
|
2386
|
-
*/
|
|
2387
|
-
nsfw?: boolean | null;
|
|
2388
|
-
} | null;
|
|
2389
|
-
DISCORD?: {
|
|
2390
|
-
channelId: string;
|
|
2391
|
-
text?: string | null;
|
|
2392
|
-
uploadIds?: Array<(string)> | null;
|
|
2393
|
-
/**
|
|
2394
|
-
* The username to display as the author of the message.
|
|
2395
|
-
*/
|
|
2396
|
-
username?: string | null;
|
|
2397
|
-
/**
|
|
2398
|
-
* Avatar url to display as the author of the message.
|
|
2399
|
-
*/
|
|
2400
|
-
avatarUrl?: string | null;
|
|
2109
|
+
createdById: string;
|
|
2110
|
+
name?: string | null;
|
|
2111
|
+
avatarUrl?: string | null;
|
|
2112
|
+
defaultPaymentMethodFilled?: boolean;
|
|
2113
|
+
billingAddressFilled?: boolean;
|
|
2114
|
+
apiAccess?: boolean;
|
|
2115
|
+
createdAt: string | null;
|
|
2116
|
+
updatedAt: string | null;
|
|
2117
|
+
deletedAt?: string | null;
|
|
2118
|
+
teams: Array<{
|
|
2119
|
+
id: string;
|
|
2120
|
+
name: string;
|
|
2121
|
+
avatarUrl?: string | null;
|
|
2122
|
+
organizationId: string;
|
|
2123
|
+
createdById: string;
|
|
2124
|
+
createdAt: string | null;
|
|
2125
|
+
updatedAt: string | null;
|
|
2126
|
+
deletedAt?: string | null;
|
|
2127
|
+
}>;
|
|
2128
|
+
createdBy: {
|
|
2129
|
+
id: string;
|
|
2130
|
+
externalId: string;
|
|
2131
|
+
email: string;
|
|
2132
|
+
emailVerified?: string | null;
|
|
2133
|
+
firstName?: string | null;
|
|
2134
|
+
lastName?: string | null;
|
|
2135
|
+
avatarUrl?: string | null;
|
|
2136
|
+
role: 'ADMIN' | 'CUSTOMER';
|
|
2137
|
+
createdAt: string | null;
|
|
2138
|
+
updatedAt: string | null;
|
|
2139
|
+
deletedAt?: string | null;
|
|
2140
|
+
};
|
|
2141
|
+
organizationSubscription?: {
|
|
2142
|
+
id: string;
|
|
2143
|
+
organizationId: string;
|
|
2144
|
+
stripeSubscriptionId: string;
|
|
2145
|
+
stripeSubscriptionItems?: Array<{
|
|
2146
|
+
id: string;
|
|
2147
|
+
price: string;
|
|
2148
|
+
quantity: number;
|
|
2149
|
+
}> | null;
|
|
2150
|
+
status: 'trialing' | 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'unpaid' | 'paused';
|
|
2151
|
+
metadata?: unknown;
|
|
2152
|
+
cancelAtPeriodEnd: boolean;
|
|
2153
|
+
created: string | null;
|
|
2154
|
+
currentPeriodStart: string | null;
|
|
2155
|
+
currentPeriodEnd: string | null;
|
|
2156
|
+
endedAt?: string | null;
|
|
2157
|
+
cancelAt?: string | null;
|
|
2158
|
+
canceledAt?: string | null;
|
|
2159
|
+
trialStart?: string | null;
|
|
2160
|
+
trialEnd?: string | null;
|
|
2161
|
+
createdAt: string | null;
|
|
2162
|
+
updatedAt: string | null;
|
|
2163
|
+
teamPlan?: {
|
|
2164
|
+
id: string;
|
|
2165
|
+
organizationSubscriptionId: string;
|
|
2166
|
+
teamId: string;
|
|
2167
|
+
stripePriceId: string;
|
|
2168
|
+
tier: 'PRO';
|
|
2169
|
+
createdAt: string | null;
|
|
2170
|
+
updatedAt: string | null;
|
|
2401
2171
|
} | null;
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2172
|
+
} | null;
|
|
2173
|
+
};
|
|
2174
|
+
/**
|
|
2175
|
+
* 400
|
|
2176
|
+
*/
|
|
2177
|
+
400: {
|
|
2178
|
+
message: string;
|
|
2179
|
+
issues?: Array<{
|
|
2180
|
+
message: string;
|
|
2181
|
+
path?: Array<(string | number)> | null;
|
|
2182
|
+
}> | null;
|
|
2183
|
+
};
|
|
2184
|
+
/**
|
|
2185
|
+
* 401
|
|
2186
|
+
*/
|
|
2187
|
+
401: {
|
|
2188
|
+
message: string;
|
|
2189
|
+
};
|
|
2190
|
+
/**
|
|
2191
|
+
* 403
|
|
2192
|
+
*/
|
|
2193
|
+
403: {
|
|
2194
|
+
message: string;
|
|
2195
|
+
};
|
|
2196
|
+
/**
|
|
2197
|
+
* 404
|
|
2198
|
+
*/
|
|
2199
|
+
404: {
|
|
2200
|
+
message: string;
|
|
2201
|
+
};
|
|
2202
|
+
/**
|
|
2203
|
+
* 429
|
|
2204
|
+
*/
|
|
2205
|
+
429: {
|
|
2206
|
+
message: string;
|
|
2207
|
+
};
|
|
2208
|
+
/**
|
|
2209
|
+
* 500
|
|
2210
|
+
*/
|
|
2211
|
+
500: {
|
|
2212
|
+
message: string;
|
|
2213
|
+
};
|
|
2214
|
+
};
|
|
2215
|
+
};
|
|
2216
|
+
};
|
|
2217
|
+
'/api/v1/team/{id}': {
|
|
2218
|
+
get: {
|
|
2219
|
+
req: TeamGetTeamData;
|
|
2220
|
+
res: {
|
|
2221
|
+
/**
|
|
2222
|
+
* 200
|
|
2223
|
+
*/
|
|
2224
|
+
200: {
|
|
2225
|
+
id: string;
|
|
2226
|
+
name: string;
|
|
2227
|
+
avatarUrl?: string | null;
|
|
2228
|
+
organizationId: string;
|
|
2229
|
+
createdById: string;
|
|
2230
|
+
createdAt: string | null;
|
|
2231
|
+
updatedAt: string | null;
|
|
2232
|
+
deletedAt?: string | null;
|
|
2233
|
+
organization: {
|
|
2234
|
+
id: string;
|
|
2235
|
+
createdById: string;
|
|
2236
|
+
name?: string | null;
|
|
2237
|
+
avatarUrl?: string | null;
|
|
2238
|
+
defaultPaymentMethodFilled?: boolean;
|
|
2239
|
+
billingAddressFilled?: boolean;
|
|
2240
|
+
apiAccess?: boolean;
|
|
2241
|
+
createdAt: string | null;
|
|
2242
|
+
updatedAt: string | null;
|
|
2243
|
+
deletedAt?: string | null;
|
|
2244
|
+
};
|
|
2245
|
+
createdBy: {
|
|
2246
|
+
id: string;
|
|
2247
|
+
externalId: string;
|
|
2248
|
+
email: string;
|
|
2249
|
+
emailVerified?: string | null;
|
|
2250
|
+
firstName?: string | null;
|
|
2251
|
+
lastName?: string | null;
|
|
2252
|
+
avatarUrl?: string | null;
|
|
2253
|
+
role: 'ADMIN' | 'CUSTOMER';
|
|
2254
|
+
createdAt: string | null;
|
|
2255
|
+
updatedAt: string | null;
|
|
2256
|
+
deletedAt?: string | null;
|
|
2257
|
+
};
|
|
2258
|
+
bots: Array<{
|
|
2259
|
+
id: string;
|
|
2260
|
+
name: string;
|
|
2261
|
+
avatarUrl?: string | null;
|
|
2262
|
+
teamId: string;
|
|
2263
|
+
createdAt: string | null;
|
|
2264
|
+
updatedAt: string | null;
|
|
2265
|
+
deletedAt?: string | null;
|
|
2266
|
+
}>;
|
|
2267
|
+
socialAccounts: Array<{
|
|
2268
|
+
id: string;
|
|
2269
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
|
|
2270
|
+
teamId: string;
|
|
2271
|
+
username?: string | null;
|
|
2272
|
+
displayName?: string | null;
|
|
2273
|
+
externalId?: string | null;
|
|
2274
|
+
userUsername?: string | null;
|
|
2275
|
+
userDisplayName?: string | null;
|
|
2276
|
+
userId?: string | null;
|
|
2277
|
+
channels?: Array<{
|
|
2278
|
+
id: string;
|
|
2279
|
+
name?: string | null;
|
|
2409
2280
|
username?: string | null;
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2281
|
+
webhook?: {
|
|
2282
|
+
id?: string | null;
|
|
2283
|
+
name?: string | null;
|
|
2284
|
+
avatar?: string | null;
|
|
2285
|
+
url?: string | null;
|
|
2286
|
+
} | null;
|
|
2287
|
+
}> | null;
|
|
2288
|
+
createdAt: string | null;
|
|
2289
|
+
updatedAt: string | null;
|
|
2290
|
+
deletedAt?: string | null;
|
|
2291
|
+
}>;
|
|
2292
|
+
usage: {
|
|
2293
|
+
monthlyPosts: number;
|
|
2417
2294
|
};
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
INSTAGRAM?: {
|
|
2449
|
-
id?: string | null;
|
|
2450
|
-
permalink?: string | null;
|
|
2451
|
-
} | null;
|
|
2452
|
-
TIKTOK?: {
|
|
2453
|
-
id?: string | null;
|
|
2454
|
-
permalink?: string | null;
|
|
2455
|
-
} | null;
|
|
2456
|
-
LINKEDIN?: {
|
|
2457
|
-
id?: string | null;
|
|
2458
|
-
permalink?: string | null;
|
|
2459
|
-
} | null;
|
|
2460
|
-
REDDIT?: {
|
|
2461
|
-
id?: string | null;
|
|
2462
|
-
permalink?: string | null;
|
|
2463
|
-
subreddit_name?: string | null;
|
|
2464
|
-
} | null;
|
|
2465
|
-
DISCORD?: {
|
|
2466
|
-
id?: string | null;
|
|
2467
|
-
permalink?: string | null;
|
|
2468
|
-
channelId?: string | null;
|
|
2469
|
-
} | null;
|
|
2470
|
-
SLACK?: {
|
|
2471
|
-
id?: string | null;
|
|
2472
|
-
permalink?: string | null;
|
|
2473
|
-
channelId?: string | null;
|
|
2474
|
-
} | null;
|
|
2475
|
-
YOUTUBE?: {
|
|
2476
|
-
id?: string | null;
|
|
2477
|
-
permalink?: string | null;
|
|
2478
|
-
} | null;
|
|
2479
|
-
TELEGRAM?: {
|
|
2480
|
-
id?: string | null;
|
|
2481
|
-
permalink?: string | null;
|
|
2482
|
-
} | null;
|
|
2483
|
-
THREADS?: {
|
|
2484
|
-
id?: string | null;
|
|
2485
|
-
permalink?: string | null;
|
|
2295
|
+
teamPlan?: {
|
|
2296
|
+
id: string;
|
|
2297
|
+
organizationSubscriptionId: string;
|
|
2298
|
+
teamId: string;
|
|
2299
|
+
stripePriceId: string;
|
|
2300
|
+
tier: 'PRO';
|
|
2301
|
+
createdAt: string | null;
|
|
2302
|
+
updatedAt: string | null;
|
|
2303
|
+
organizationSubscription?: {
|
|
2304
|
+
id: string;
|
|
2305
|
+
organizationId: string;
|
|
2306
|
+
stripeSubscriptionId: string;
|
|
2307
|
+
stripeSubscriptionItems?: Array<{
|
|
2308
|
+
id: string;
|
|
2309
|
+
price: string;
|
|
2310
|
+
quantity: number;
|
|
2311
|
+
}> | null;
|
|
2312
|
+
status: 'trialing' | 'active' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'past_due' | 'unpaid' | 'paused';
|
|
2313
|
+
metadata?: unknown;
|
|
2314
|
+
cancelAtPeriodEnd: boolean;
|
|
2315
|
+
created: string | null;
|
|
2316
|
+
currentPeriodStart: string | null;
|
|
2317
|
+
currentPeriodEnd: string | null;
|
|
2318
|
+
endedAt?: string | null;
|
|
2319
|
+
cancelAt?: string | null;
|
|
2320
|
+
canceledAt?: string | null;
|
|
2321
|
+
trialStart?: string | null;
|
|
2322
|
+
trialEnd?: string | null;
|
|
2323
|
+
createdAt: string | null;
|
|
2324
|
+
updatedAt: string | null;
|
|
2486
2325
|
} | null;
|
|
2487
2326
|
} | null;
|
|
2327
|
+
};
|
|
2328
|
+
/**
|
|
2329
|
+
* 400
|
|
2330
|
+
*/
|
|
2331
|
+
400: {
|
|
2332
|
+
message: string;
|
|
2333
|
+
issues?: Array<{
|
|
2334
|
+
message: string;
|
|
2335
|
+
path?: Array<(string | number)> | null;
|
|
2336
|
+
}> | null;
|
|
2337
|
+
};
|
|
2338
|
+
/**
|
|
2339
|
+
* 401
|
|
2340
|
+
*/
|
|
2341
|
+
401: {
|
|
2342
|
+
message: string;
|
|
2343
|
+
};
|
|
2344
|
+
/**
|
|
2345
|
+
* 403
|
|
2346
|
+
*/
|
|
2347
|
+
403: {
|
|
2348
|
+
message: string;
|
|
2349
|
+
};
|
|
2350
|
+
/**
|
|
2351
|
+
* 404
|
|
2352
|
+
*/
|
|
2353
|
+
404: {
|
|
2354
|
+
message: string;
|
|
2355
|
+
};
|
|
2356
|
+
/**
|
|
2357
|
+
* 429
|
|
2358
|
+
*/
|
|
2359
|
+
429: {
|
|
2360
|
+
message: string;
|
|
2361
|
+
};
|
|
2362
|
+
/**
|
|
2363
|
+
* 500
|
|
2364
|
+
*/
|
|
2365
|
+
500: {
|
|
2366
|
+
message: string;
|
|
2367
|
+
};
|
|
2368
|
+
};
|
|
2369
|
+
};
|
|
2370
|
+
patch: {
|
|
2371
|
+
req: TeamUpdateTeamData;
|
|
2372
|
+
res: {
|
|
2373
|
+
/**
|
|
2374
|
+
* 200
|
|
2375
|
+
*/
|
|
2376
|
+
200: {
|
|
2377
|
+
id: string;
|
|
2378
|
+
name: string;
|
|
2379
|
+
avatarUrl?: string | null;
|
|
2380
|
+
organizationId: string;
|
|
2381
|
+
createdById: string;
|
|
2382
|
+
createdAt: string | null;
|
|
2383
|
+
updatedAt: string | null;
|
|
2384
|
+
deletedAt?: string | null;
|
|
2385
|
+
};
|
|
2386
|
+
/**
|
|
2387
|
+
* 400
|
|
2388
|
+
*/
|
|
2389
|
+
400: {
|
|
2390
|
+
message: string;
|
|
2391
|
+
issues?: Array<{
|
|
2392
|
+
message: string;
|
|
2393
|
+
path?: Array<(string | number)> | null;
|
|
2394
|
+
}> | null;
|
|
2395
|
+
};
|
|
2396
|
+
/**
|
|
2397
|
+
* 401
|
|
2398
|
+
*/
|
|
2399
|
+
401: {
|
|
2400
|
+
message: string;
|
|
2401
|
+
};
|
|
2402
|
+
/**
|
|
2403
|
+
* 403
|
|
2404
|
+
*/
|
|
2405
|
+
403: {
|
|
2406
|
+
message: string;
|
|
2407
|
+
};
|
|
2408
|
+
/**
|
|
2409
|
+
* 404
|
|
2410
|
+
*/
|
|
2411
|
+
404: {
|
|
2412
|
+
message: string;
|
|
2413
|
+
};
|
|
2414
|
+
/**
|
|
2415
|
+
* 429
|
|
2416
|
+
*/
|
|
2417
|
+
429: {
|
|
2418
|
+
message: string;
|
|
2419
|
+
};
|
|
2420
|
+
/**
|
|
2421
|
+
* 500
|
|
2422
|
+
*/
|
|
2423
|
+
500: {
|
|
2424
|
+
message: string;
|
|
2425
|
+
};
|
|
2426
|
+
};
|
|
2427
|
+
};
|
|
2428
|
+
delete: {
|
|
2429
|
+
req: TeamDeleteTeamData;
|
|
2430
|
+
res: {
|
|
2431
|
+
/**
|
|
2432
|
+
* 200
|
|
2433
|
+
*/
|
|
2434
|
+
200: {
|
|
2435
|
+
id: string;
|
|
2436
|
+
name: string;
|
|
2437
|
+
avatarUrl?: string | null;
|
|
2438
|
+
organizationId: string;
|
|
2439
|
+
createdById: string;
|
|
2440
|
+
createdAt: string | null;
|
|
2441
|
+
updatedAt: string | null;
|
|
2442
|
+
deletedAt?: string | null;
|
|
2443
|
+
};
|
|
2444
|
+
/**
|
|
2445
|
+
* 400
|
|
2446
|
+
*/
|
|
2447
|
+
400: {
|
|
2448
|
+
message: string;
|
|
2449
|
+
issues?: Array<{
|
|
2450
|
+
message: string;
|
|
2451
|
+
path?: Array<(string | number)> | null;
|
|
2452
|
+
}> | null;
|
|
2453
|
+
};
|
|
2454
|
+
/**
|
|
2455
|
+
* 401
|
|
2456
|
+
*/
|
|
2457
|
+
401: {
|
|
2458
|
+
message: string;
|
|
2459
|
+
};
|
|
2460
|
+
/**
|
|
2461
|
+
* 403
|
|
2462
|
+
*/
|
|
2463
|
+
403: {
|
|
2464
|
+
message: string;
|
|
2465
|
+
};
|
|
2466
|
+
/**
|
|
2467
|
+
* 404
|
|
2468
|
+
*/
|
|
2469
|
+
404: {
|
|
2470
|
+
message: string;
|
|
2471
|
+
};
|
|
2472
|
+
/**
|
|
2473
|
+
* 429
|
|
2474
|
+
*/
|
|
2475
|
+
429: {
|
|
2476
|
+
message: string;
|
|
2477
|
+
};
|
|
2478
|
+
/**
|
|
2479
|
+
* 500
|
|
2480
|
+
*/
|
|
2481
|
+
500: {
|
|
2482
|
+
message: string;
|
|
2483
|
+
};
|
|
2484
|
+
};
|
|
2485
|
+
};
|
|
2486
|
+
};
|
|
2487
|
+
'/api/v1/team/': {
|
|
2488
|
+
post: {
|
|
2489
|
+
req: TeamCreateTeamData;
|
|
2490
|
+
res: {
|
|
2491
|
+
/**
|
|
2492
|
+
* 200
|
|
2493
|
+
*/
|
|
2494
|
+
200: {
|
|
2495
|
+
id: string;
|
|
2496
|
+
name: string;
|
|
2497
|
+
avatarUrl?: string | null;
|
|
2498
|
+
organizationId: string;
|
|
2499
|
+
createdById: string;
|
|
2488
2500
|
createdAt: string | null;
|
|
2489
2501
|
updatedAt: string | null;
|
|
2490
2502
|
deletedAt?: string | null;
|
|
@@ -2517,6 +2529,12 @@ type $OpenApiTs = {
|
|
|
2517
2529
|
404: {
|
|
2518
2530
|
message: string;
|
|
2519
2531
|
};
|
|
2532
|
+
/**
|
|
2533
|
+
* 429
|
|
2534
|
+
*/
|
|
2535
|
+
429: {
|
|
2536
|
+
message: string;
|
|
2537
|
+
};
|
|
2520
2538
|
/**
|
|
2521
2539
|
* 500
|
|
2522
2540
|
*/
|
|
@@ -2525,283 +2543,595 @@ type $OpenApiTs = {
|
|
|
2525
2543
|
};
|
|
2526
2544
|
};
|
|
2527
2545
|
};
|
|
2528
|
-
|
|
2529
|
-
|
|
2546
|
+
};
|
|
2547
|
+
'/api/v1/social-account/connect': {
|
|
2548
|
+
post: {
|
|
2549
|
+
req: SocialAccountConnectData;
|
|
2530
2550
|
res: {
|
|
2531
2551
|
/**
|
|
2532
2552
|
* 200
|
|
2533
2553
|
*/
|
|
2534
2554
|
200: {
|
|
2535
|
-
|
|
2555
|
+
/**
|
|
2556
|
+
* OAuth URL - Redirect user to this URL to connect social account
|
|
2557
|
+
*/
|
|
2558
|
+
url: string;
|
|
2559
|
+
};
|
|
2560
|
+
/**
|
|
2561
|
+
* 400
|
|
2562
|
+
*/
|
|
2563
|
+
400: {
|
|
2564
|
+
message: string;
|
|
2565
|
+
issues?: Array<{
|
|
2566
|
+
message: string;
|
|
2567
|
+
path?: Array<(string | number)> | null;
|
|
2568
|
+
}> | null;
|
|
2569
|
+
};
|
|
2570
|
+
/**
|
|
2571
|
+
* 401
|
|
2572
|
+
*/
|
|
2573
|
+
401: {
|
|
2574
|
+
message: string;
|
|
2575
|
+
};
|
|
2576
|
+
/**
|
|
2577
|
+
* 403
|
|
2578
|
+
*/
|
|
2579
|
+
403: {
|
|
2580
|
+
message: string;
|
|
2581
|
+
};
|
|
2582
|
+
/**
|
|
2583
|
+
* 404
|
|
2584
|
+
*/
|
|
2585
|
+
404: {
|
|
2586
|
+
message: string;
|
|
2587
|
+
};
|
|
2588
|
+
/**
|
|
2589
|
+
* 429
|
|
2590
|
+
*/
|
|
2591
|
+
429: {
|
|
2592
|
+
message: string;
|
|
2593
|
+
};
|
|
2594
|
+
/**
|
|
2595
|
+
* 500
|
|
2596
|
+
*/
|
|
2597
|
+
500: {
|
|
2598
|
+
message: string;
|
|
2599
|
+
};
|
|
2600
|
+
};
|
|
2601
|
+
};
|
|
2602
|
+
};
|
|
2603
|
+
'/api/v1/social-account/disconnect': {
|
|
2604
|
+
delete: {
|
|
2605
|
+
req: SocialAccountDisconnectData;
|
|
2606
|
+
res: {
|
|
2607
|
+
/**
|
|
2608
|
+
* 200
|
|
2609
|
+
*/
|
|
2610
|
+
200: {
|
|
2611
|
+
id: string;
|
|
2612
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
|
|
2613
|
+
teamId: string;
|
|
2614
|
+
username?: string | null;
|
|
2615
|
+
displayName?: string | null;
|
|
2616
|
+
externalId?: string | null;
|
|
2617
|
+
userUsername?: string | null;
|
|
2618
|
+
userDisplayName?: string | null;
|
|
2619
|
+
userId?: string | null;
|
|
2620
|
+
channels?: Array<{
|
|
2536
2621
|
id: string;
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
uploadIds?: Array<(string)> | null;
|
|
2620
|
-
text?: string | null;
|
|
2621
|
-
description?: string | null;
|
|
2622
|
-
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
2623
|
-
/**
|
|
2624
|
-
* Set to true if the video is made for kids.
|
|
2625
|
-
*/
|
|
2626
|
-
madeForKids?: boolean | null;
|
|
2627
|
-
} | null;
|
|
2628
|
-
REDDIT?: {
|
|
2629
|
-
sr: string;
|
|
2630
|
-
text: string;
|
|
2631
|
-
description?: string | null;
|
|
2632
|
-
uploadIds?: Array<(string)> | null;
|
|
2633
|
-
/**
|
|
2634
|
-
* The URL to which the post will link to.
|
|
2635
|
-
*/
|
|
2636
|
-
link?: string | null;
|
|
2637
|
-
/**
|
|
2638
|
-
* Set to true if the post is NSFW.
|
|
2639
|
-
*/
|
|
2640
|
-
nsfw?: boolean | null;
|
|
2641
|
-
} | null;
|
|
2642
|
-
DISCORD?: {
|
|
2643
|
-
channelId: string;
|
|
2644
|
-
text?: string | null;
|
|
2645
|
-
uploadIds?: Array<(string)> | null;
|
|
2646
|
-
/**
|
|
2647
|
-
* The username to display as the author of the message.
|
|
2648
|
-
*/
|
|
2649
|
-
username?: string | null;
|
|
2650
|
-
/**
|
|
2651
|
-
* Avatar url to display as the author of the message.
|
|
2652
|
-
*/
|
|
2653
|
-
avatarUrl?: string | null;
|
|
2654
|
-
} | null;
|
|
2655
|
-
SLACK?: {
|
|
2656
|
-
channelId: string;
|
|
2657
|
-
text?: string | null;
|
|
2658
|
-
uploadIds?: Array<(string)> | null;
|
|
2659
|
-
/**
|
|
2660
|
-
* The username to display as the author of the message.
|
|
2661
|
-
*/
|
|
2662
|
-
username?: string | null;
|
|
2663
|
-
/**
|
|
2664
|
-
* Avatar url to display as the author of the message.
|
|
2665
|
-
*/
|
|
2666
|
-
avatarUrl?: string | null;
|
|
2667
|
-
} | null;
|
|
2668
|
-
TELEGRAM?: unknown;
|
|
2669
|
-
THREADS?: unknown;
|
|
2670
|
-
};
|
|
2671
|
-
error?: string | null;
|
|
2672
|
-
errors?: {
|
|
2673
|
-
TWITTER?: string | null;
|
|
2674
|
-
PINTEREST?: string | null;
|
|
2675
|
-
FACEBOOK?: string | null;
|
|
2676
|
-
INSTAGRAM?: string | null;
|
|
2677
|
-
TIKTOK?: string | null;
|
|
2678
|
-
LINKEDIN?: string | null;
|
|
2679
|
-
REDDIT?: string | null;
|
|
2680
|
-
DISCORD?: string | null;
|
|
2681
|
-
SLACK?: string | null;
|
|
2682
|
-
YOUTUBE?: string | null;
|
|
2683
|
-
TELEGRAM?: string | null;
|
|
2684
|
-
THREADS?: string | null;
|
|
2622
|
+
name?: string | null;
|
|
2623
|
+
username?: string | null;
|
|
2624
|
+
webhook?: {
|
|
2625
|
+
id?: string | null;
|
|
2626
|
+
name?: string | null;
|
|
2627
|
+
avatar?: string | null;
|
|
2628
|
+
url?: string | null;
|
|
2629
|
+
} | null;
|
|
2630
|
+
}> | null;
|
|
2631
|
+
createdAt: string | null;
|
|
2632
|
+
updatedAt: string | null;
|
|
2633
|
+
deletedAt?: string | null;
|
|
2634
|
+
};
|
|
2635
|
+
/**
|
|
2636
|
+
* 400
|
|
2637
|
+
*/
|
|
2638
|
+
400: {
|
|
2639
|
+
message: string;
|
|
2640
|
+
issues?: Array<{
|
|
2641
|
+
message: string;
|
|
2642
|
+
path?: Array<(string | number)> | null;
|
|
2643
|
+
}> | null;
|
|
2644
|
+
};
|
|
2645
|
+
/**
|
|
2646
|
+
* 401
|
|
2647
|
+
*/
|
|
2648
|
+
401: {
|
|
2649
|
+
message: string;
|
|
2650
|
+
};
|
|
2651
|
+
/**
|
|
2652
|
+
* 403
|
|
2653
|
+
*/
|
|
2654
|
+
403: {
|
|
2655
|
+
message: string;
|
|
2656
|
+
};
|
|
2657
|
+
/**
|
|
2658
|
+
* 404
|
|
2659
|
+
*/
|
|
2660
|
+
404: {
|
|
2661
|
+
message: string;
|
|
2662
|
+
};
|
|
2663
|
+
/**
|
|
2664
|
+
* 429
|
|
2665
|
+
*/
|
|
2666
|
+
429: {
|
|
2667
|
+
message: string;
|
|
2668
|
+
};
|
|
2669
|
+
/**
|
|
2670
|
+
* 500
|
|
2671
|
+
*/
|
|
2672
|
+
500: {
|
|
2673
|
+
message: string;
|
|
2674
|
+
};
|
|
2675
|
+
};
|
|
2676
|
+
};
|
|
2677
|
+
};
|
|
2678
|
+
'/api/v1/social-account/set-channel': {
|
|
2679
|
+
post: {
|
|
2680
|
+
req: SocialAccountSetChannelData;
|
|
2681
|
+
res: {
|
|
2682
|
+
/**
|
|
2683
|
+
* 200
|
|
2684
|
+
*/
|
|
2685
|
+
200: {
|
|
2686
|
+
id: string;
|
|
2687
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
|
|
2688
|
+
teamId: string;
|
|
2689
|
+
username?: string | null;
|
|
2690
|
+
displayName?: string | null;
|
|
2691
|
+
externalId?: string | null;
|
|
2692
|
+
userUsername?: string | null;
|
|
2693
|
+
userDisplayName?: string | null;
|
|
2694
|
+
userId?: string | null;
|
|
2695
|
+
channels?: Array<{
|
|
2696
|
+
id: string;
|
|
2697
|
+
name?: string | null;
|
|
2698
|
+
username?: string | null;
|
|
2699
|
+
webhook?: {
|
|
2700
|
+
id?: string | null;
|
|
2701
|
+
name?: string | null;
|
|
2702
|
+
avatar?: string | null;
|
|
2703
|
+
url?: string | null;
|
|
2685
2704
|
} | null;
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2705
|
+
}> | null;
|
|
2706
|
+
createdAt: string | null;
|
|
2707
|
+
updatedAt: string | null;
|
|
2708
|
+
deletedAt?: string | null;
|
|
2709
|
+
};
|
|
2710
|
+
/**
|
|
2711
|
+
* 400
|
|
2712
|
+
*/
|
|
2713
|
+
400: {
|
|
2714
|
+
message: string;
|
|
2715
|
+
issues?: Array<{
|
|
2716
|
+
message: string;
|
|
2717
|
+
path?: Array<(string | number)> | null;
|
|
2718
|
+
}> | null;
|
|
2719
|
+
};
|
|
2720
|
+
/**
|
|
2721
|
+
* 401
|
|
2722
|
+
*/
|
|
2723
|
+
401: {
|
|
2724
|
+
message: string;
|
|
2725
|
+
};
|
|
2726
|
+
/**
|
|
2727
|
+
* 403
|
|
2728
|
+
*/
|
|
2729
|
+
403: {
|
|
2730
|
+
message: string;
|
|
2731
|
+
};
|
|
2732
|
+
/**
|
|
2733
|
+
* 404
|
|
2734
|
+
*/
|
|
2735
|
+
404: {
|
|
2736
|
+
message: string;
|
|
2737
|
+
};
|
|
2738
|
+
/**
|
|
2739
|
+
* 429
|
|
2740
|
+
*/
|
|
2741
|
+
429: {
|
|
2742
|
+
message: string;
|
|
2743
|
+
};
|
|
2744
|
+
/**
|
|
2745
|
+
* 500
|
|
2746
|
+
*/
|
|
2747
|
+
500: {
|
|
2748
|
+
message: string;
|
|
2749
|
+
};
|
|
2750
|
+
};
|
|
2751
|
+
};
|
|
2752
|
+
};
|
|
2753
|
+
'/api/v1/social-account/refresh-channels': {
|
|
2754
|
+
post: {
|
|
2755
|
+
req: SocialAccountRefreshChannelsData;
|
|
2756
|
+
res: {
|
|
2757
|
+
/**
|
|
2758
|
+
* 200
|
|
2759
|
+
*/
|
|
2760
|
+
200: {
|
|
2761
|
+
id: string;
|
|
2762
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
|
|
2763
|
+
teamId: string;
|
|
2764
|
+
username?: string | null;
|
|
2765
|
+
displayName?: string | null;
|
|
2766
|
+
externalId?: string | null;
|
|
2767
|
+
userUsername?: string | null;
|
|
2768
|
+
userDisplayName?: string | null;
|
|
2769
|
+
userId?: string | null;
|
|
2770
|
+
channels?: Array<{
|
|
2771
|
+
id: string;
|
|
2772
|
+
name?: string | null;
|
|
2773
|
+
username?: string | null;
|
|
2774
|
+
webhook?: {
|
|
2775
|
+
id?: string | null;
|
|
2776
|
+
name?: string | null;
|
|
2777
|
+
avatar?: string | null;
|
|
2778
|
+
url?: string | null;
|
|
2740
2779
|
} | null;
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2780
|
+
}> | null;
|
|
2781
|
+
createdAt: string | null;
|
|
2782
|
+
updatedAt: string | null;
|
|
2783
|
+
deletedAt?: string | null;
|
|
2784
|
+
};
|
|
2785
|
+
/**
|
|
2786
|
+
* 400
|
|
2787
|
+
*/
|
|
2788
|
+
400: {
|
|
2789
|
+
message: string;
|
|
2790
|
+
issues?: Array<{
|
|
2791
|
+
message: string;
|
|
2792
|
+
path?: Array<(string | number)> | null;
|
|
2793
|
+
}> | null;
|
|
2794
|
+
};
|
|
2795
|
+
/**
|
|
2796
|
+
* 401
|
|
2797
|
+
*/
|
|
2798
|
+
401: {
|
|
2799
|
+
message: string;
|
|
2800
|
+
};
|
|
2801
|
+
/**
|
|
2802
|
+
* 403
|
|
2803
|
+
*/
|
|
2804
|
+
403: {
|
|
2805
|
+
message: string;
|
|
2806
|
+
};
|
|
2807
|
+
/**
|
|
2808
|
+
* 404
|
|
2809
|
+
*/
|
|
2810
|
+
404: {
|
|
2811
|
+
message: string;
|
|
2812
|
+
};
|
|
2813
|
+
/**
|
|
2814
|
+
* 429
|
|
2815
|
+
*/
|
|
2816
|
+
429: {
|
|
2817
|
+
message: string;
|
|
2818
|
+
};
|
|
2819
|
+
/**
|
|
2820
|
+
* 500
|
|
2821
|
+
*/
|
|
2822
|
+
500: {
|
|
2823
|
+
message: string;
|
|
2824
|
+
};
|
|
2825
|
+
};
|
|
2826
|
+
};
|
|
2827
|
+
};
|
|
2828
|
+
'/api/v1/upload/': {
|
|
2829
|
+
get: {
|
|
2830
|
+
req: UploadGetListData;
|
|
2831
|
+
res: {
|
|
2832
|
+
/**
|
|
2833
|
+
* 200
|
|
2834
|
+
*/
|
|
2835
|
+
200: Array<{
|
|
2836
|
+
id: string;
|
|
2837
|
+
teamId: string;
|
|
2838
|
+
expiresAt?: string | null;
|
|
2839
|
+
iconUrl?: string | null;
|
|
2840
|
+
thumbnailUrl?: string | null;
|
|
2841
|
+
url?: string | null;
|
|
2842
|
+
iconPath?: string | null;
|
|
2843
|
+
thumbnailPath?: string | null;
|
|
2844
|
+
path?: string | null;
|
|
2845
|
+
type: 'image' | 'video';
|
|
2846
|
+
width?: number | null;
|
|
2847
|
+
height?: number | null;
|
|
2848
|
+
fileSize?: number | null;
|
|
2849
|
+
videoLength?: number | null;
|
|
2850
|
+
mime?: string | null;
|
|
2851
|
+
ext?: string | null;
|
|
2852
|
+
createdAt: string | null;
|
|
2853
|
+
updatedAt: string | null;
|
|
2854
|
+
posts: Array<{
|
|
2855
|
+
postId: string;
|
|
2856
|
+
uploadId: string;
|
|
2857
|
+
createdAt: string | null;
|
|
2858
|
+
updatedAt: string | null;
|
|
2859
|
+
deletedAt?: string | null;
|
|
2803
2860
|
}>;
|
|
2804
|
-
|
|
2861
|
+
}>;
|
|
2862
|
+
/**
|
|
2863
|
+
* 400
|
|
2864
|
+
*/
|
|
2865
|
+
400: {
|
|
2866
|
+
message: string;
|
|
2867
|
+
issues?: Array<{
|
|
2868
|
+
message: string;
|
|
2869
|
+
path?: Array<(string | number)> | null;
|
|
2870
|
+
}> | null;
|
|
2871
|
+
};
|
|
2872
|
+
/**
|
|
2873
|
+
* 401
|
|
2874
|
+
*/
|
|
2875
|
+
401: {
|
|
2876
|
+
message: string;
|
|
2877
|
+
};
|
|
2878
|
+
/**
|
|
2879
|
+
* 403
|
|
2880
|
+
*/
|
|
2881
|
+
403: {
|
|
2882
|
+
message: string;
|
|
2883
|
+
};
|
|
2884
|
+
/**
|
|
2885
|
+
* 404
|
|
2886
|
+
*/
|
|
2887
|
+
404: {
|
|
2888
|
+
message: string;
|
|
2889
|
+
};
|
|
2890
|
+
/**
|
|
2891
|
+
* 429
|
|
2892
|
+
*/
|
|
2893
|
+
429: {
|
|
2894
|
+
message: string;
|
|
2895
|
+
};
|
|
2896
|
+
/**
|
|
2897
|
+
* 500
|
|
2898
|
+
*/
|
|
2899
|
+
500: {
|
|
2900
|
+
message: string;
|
|
2901
|
+
};
|
|
2902
|
+
};
|
|
2903
|
+
};
|
|
2904
|
+
post: {
|
|
2905
|
+
req: UploadCreateData;
|
|
2906
|
+
res: {
|
|
2907
|
+
/**
|
|
2908
|
+
* 200
|
|
2909
|
+
*/
|
|
2910
|
+
200: {
|
|
2911
|
+
id: string;
|
|
2912
|
+
teamId: string;
|
|
2913
|
+
expiresAt?: string | null;
|
|
2914
|
+
iconUrl?: string | null;
|
|
2915
|
+
thumbnailUrl?: string | null;
|
|
2916
|
+
url?: string | null;
|
|
2917
|
+
iconPath?: string | null;
|
|
2918
|
+
thumbnailPath?: string | null;
|
|
2919
|
+
path?: string | null;
|
|
2920
|
+
type: 'image' | 'video';
|
|
2921
|
+
width?: number | null;
|
|
2922
|
+
height?: number | null;
|
|
2923
|
+
fileSize?: number | null;
|
|
2924
|
+
videoLength?: number | null;
|
|
2925
|
+
mime?: string | null;
|
|
2926
|
+
ext?: string | null;
|
|
2927
|
+
createdAt: string | null;
|
|
2928
|
+
updatedAt: string | null;
|
|
2929
|
+
};
|
|
2930
|
+
/**
|
|
2931
|
+
* 400
|
|
2932
|
+
*/
|
|
2933
|
+
400: {
|
|
2934
|
+
message: string;
|
|
2935
|
+
issues?: Array<{
|
|
2936
|
+
message: string;
|
|
2937
|
+
path?: Array<(string | number)> | null;
|
|
2938
|
+
}> | null;
|
|
2939
|
+
};
|
|
2940
|
+
/**
|
|
2941
|
+
* 401
|
|
2942
|
+
*/
|
|
2943
|
+
401: {
|
|
2944
|
+
message: string;
|
|
2945
|
+
};
|
|
2946
|
+
/**
|
|
2947
|
+
* 403
|
|
2948
|
+
*/
|
|
2949
|
+
403: {
|
|
2950
|
+
message: string;
|
|
2951
|
+
};
|
|
2952
|
+
/**
|
|
2953
|
+
* 404
|
|
2954
|
+
*/
|
|
2955
|
+
404: {
|
|
2956
|
+
message: string;
|
|
2957
|
+
};
|
|
2958
|
+
/**
|
|
2959
|
+
* 429
|
|
2960
|
+
*/
|
|
2961
|
+
429: {
|
|
2962
|
+
message: string;
|
|
2963
|
+
};
|
|
2964
|
+
/**
|
|
2965
|
+
* 500
|
|
2966
|
+
*/
|
|
2967
|
+
500: {
|
|
2968
|
+
message: string;
|
|
2969
|
+
};
|
|
2970
|
+
};
|
|
2971
|
+
};
|
|
2972
|
+
delete: {
|
|
2973
|
+
req: UploadDeleteManyData;
|
|
2974
|
+
res: {
|
|
2975
|
+
/**
|
|
2976
|
+
* 200
|
|
2977
|
+
*/
|
|
2978
|
+
200: Array<{
|
|
2979
|
+
id: string;
|
|
2980
|
+
teamId: string;
|
|
2981
|
+
expiresAt?: string | null;
|
|
2982
|
+
iconUrl?: string | null;
|
|
2983
|
+
thumbnailUrl?: string | null;
|
|
2984
|
+
url?: string | null;
|
|
2985
|
+
iconPath?: string | null;
|
|
2986
|
+
thumbnailPath?: string | null;
|
|
2987
|
+
path?: string | null;
|
|
2988
|
+
type: 'image' | 'video';
|
|
2989
|
+
width?: number | null;
|
|
2990
|
+
height?: number | null;
|
|
2991
|
+
fileSize?: number | null;
|
|
2992
|
+
videoLength?: number | null;
|
|
2993
|
+
mime?: string | null;
|
|
2994
|
+
ext?: string | null;
|
|
2995
|
+
createdAt: string | null;
|
|
2996
|
+
updatedAt: string | null;
|
|
2997
|
+
}>;
|
|
2998
|
+
/**
|
|
2999
|
+
* 400
|
|
3000
|
+
*/
|
|
3001
|
+
400: {
|
|
3002
|
+
message: string;
|
|
3003
|
+
issues?: Array<{
|
|
3004
|
+
message: string;
|
|
3005
|
+
path?: Array<(string | number)> | null;
|
|
3006
|
+
}> | null;
|
|
3007
|
+
};
|
|
3008
|
+
/**
|
|
3009
|
+
* 401
|
|
3010
|
+
*/
|
|
3011
|
+
401: {
|
|
3012
|
+
message: string;
|
|
3013
|
+
};
|
|
3014
|
+
/**
|
|
3015
|
+
* 403
|
|
3016
|
+
*/
|
|
3017
|
+
403: {
|
|
3018
|
+
message: string;
|
|
3019
|
+
};
|
|
3020
|
+
/**
|
|
3021
|
+
* 404
|
|
3022
|
+
*/
|
|
3023
|
+
404: {
|
|
3024
|
+
message: string;
|
|
3025
|
+
};
|
|
3026
|
+
/**
|
|
3027
|
+
* 429
|
|
3028
|
+
*/
|
|
3029
|
+
429: {
|
|
3030
|
+
message: string;
|
|
3031
|
+
};
|
|
3032
|
+
/**
|
|
3033
|
+
* 500
|
|
3034
|
+
*/
|
|
3035
|
+
500: {
|
|
3036
|
+
message: string;
|
|
3037
|
+
};
|
|
3038
|
+
};
|
|
3039
|
+
};
|
|
3040
|
+
};
|
|
3041
|
+
'/api/v1/upload/{id}': {
|
|
3042
|
+
get: {
|
|
3043
|
+
req: UploadGetData;
|
|
3044
|
+
res: {
|
|
3045
|
+
/**
|
|
3046
|
+
* 200
|
|
3047
|
+
*/
|
|
3048
|
+
200: {
|
|
3049
|
+
id: string;
|
|
3050
|
+
teamId: string;
|
|
3051
|
+
expiresAt?: string | null;
|
|
3052
|
+
iconUrl?: string | null;
|
|
3053
|
+
thumbnailUrl?: string | null;
|
|
3054
|
+
url?: string | null;
|
|
3055
|
+
iconPath?: string | null;
|
|
3056
|
+
thumbnailPath?: string | null;
|
|
3057
|
+
path?: string | null;
|
|
3058
|
+
type: 'image' | 'video';
|
|
3059
|
+
width?: number | null;
|
|
3060
|
+
height?: number | null;
|
|
3061
|
+
fileSize?: number | null;
|
|
3062
|
+
videoLength?: number | null;
|
|
3063
|
+
mime?: string | null;
|
|
3064
|
+
ext?: string | null;
|
|
3065
|
+
createdAt: string | null;
|
|
3066
|
+
updatedAt: string | null;
|
|
3067
|
+
};
|
|
3068
|
+
/**
|
|
3069
|
+
* 400
|
|
3070
|
+
*/
|
|
3071
|
+
400: {
|
|
3072
|
+
message: string;
|
|
3073
|
+
issues?: Array<{
|
|
3074
|
+
message: string;
|
|
3075
|
+
path?: Array<(string | number)> | null;
|
|
3076
|
+
}> | null;
|
|
3077
|
+
};
|
|
3078
|
+
/**
|
|
3079
|
+
* 401
|
|
3080
|
+
*/
|
|
3081
|
+
401: {
|
|
3082
|
+
message: string;
|
|
3083
|
+
};
|
|
3084
|
+
/**
|
|
3085
|
+
* 403
|
|
3086
|
+
*/
|
|
3087
|
+
403: {
|
|
3088
|
+
message: string;
|
|
3089
|
+
};
|
|
3090
|
+
/**
|
|
3091
|
+
* 404
|
|
3092
|
+
*/
|
|
3093
|
+
404: {
|
|
3094
|
+
message: string;
|
|
3095
|
+
};
|
|
3096
|
+
/**
|
|
3097
|
+
* 429
|
|
3098
|
+
*/
|
|
3099
|
+
429: {
|
|
3100
|
+
message: string;
|
|
3101
|
+
};
|
|
3102
|
+
/**
|
|
3103
|
+
* 500
|
|
3104
|
+
*/
|
|
3105
|
+
500: {
|
|
3106
|
+
message: string;
|
|
3107
|
+
};
|
|
3108
|
+
};
|
|
3109
|
+
};
|
|
3110
|
+
delete: {
|
|
3111
|
+
req: UploadDeleteData;
|
|
3112
|
+
res: {
|
|
3113
|
+
/**
|
|
3114
|
+
* 200
|
|
3115
|
+
*/
|
|
3116
|
+
200: {
|
|
3117
|
+
id: string;
|
|
3118
|
+
teamId: string;
|
|
3119
|
+
expiresAt?: string | null;
|
|
3120
|
+
iconUrl?: string | null;
|
|
3121
|
+
thumbnailUrl?: string | null;
|
|
3122
|
+
url?: string | null;
|
|
3123
|
+
iconPath?: string | null;
|
|
3124
|
+
thumbnailPath?: string | null;
|
|
3125
|
+
path?: string | null;
|
|
3126
|
+
type: 'image' | 'video';
|
|
3127
|
+
width?: number | null;
|
|
3128
|
+
height?: number | null;
|
|
3129
|
+
fileSize?: number | null;
|
|
3130
|
+
videoLength?: number | null;
|
|
3131
|
+
mime?: string | null;
|
|
3132
|
+
ext?: string | null;
|
|
3133
|
+
createdAt: string | null;
|
|
3134
|
+
updatedAt: string | null;
|
|
2805
3135
|
};
|
|
2806
3136
|
/**
|
|
2807
3137
|
* 400
|
|
@@ -2831,6 +3161,12 @@ type $OpenApiTs = {
|
|
|
2831
3161
|
404: {
|
|
2832
3162
|
message: string;
|
|
2833
3163
|
};
|
|
3164
|
+
/**
|
|
3165
|
+
* 429
|
|
3166
|
+
*/
|
|
3167
|
+
429: {
|
|
3168
|
+
message: string;
|
|
3169
|
+
};
|
|
2834
3170
|
/**
|
|
2835
3171
|
* 500
|
|
2836
3172
|
*/
|
|
@@ -2941,6 +3277,9 @@ type $OpenApiTs = {
|
|
|
2941
3277
|
madeForKids?: boolean | null;
|
|
2942
3278
|
} | null;
|
|
2943
3279
|
REDDIT?: {
|
|
3280
|
+
/**
|
|
3281
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
3282
|
+
*/
|
|
2944
3283
|
sr: string;
|
|
2945
3284
|
text: string;
|
|
2946
3285
|
description?: string | null;
|
|
@@ -3144,6 +3483,273 @@ type $OpenApiTs = {
|
|
|
3144
3483
|
404: {
|
|
3145
3484
|
message: string;
|
|
3146
3485
|
};
|
|
3486
|
+
/**
|
|
3487
|
+
* 429
|
|
3488
|
+
*/
|
|
3489
|
+
429: {
|
|
3490
|
+
message: string;
|
|
3491
|
+
};
|
|
3492
|
+
/**
|
|
3493
|
+
* 500
|
|
3494
|
+
*/
|
|
3495
|
+
500: {
|
|
3496
|
+
message: string;
|
|
3497
|
+
};
|
|
3498
|
+
};
|
|
3499
|
+
};
|
|
3500
|
+
patch: {
|
|
3501
|
+
req: PostUpdateData;
|
|
3502
|
+
res: {
|
|
3503
|
+
/**
|
|
3504
|
+
* 200
|
|
3505
|
+
*/
|
|
3506
|
+
200: {
|
|
3507
|
+
id: string;
|
|
3508
|
+
teamId: string;
|
|
3509
|
+
title: string;
|
|
3510
|
+
postDate: string | null;
|
|
3511
|
+
postedDate?: string | null;
|
|
3512
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
3513
|
+
data: {
|
|
3514
|
+
TWITTER?: {
|
|
3515
|
+
text?: string | null;
|
|
3516
|
+
uploadIds?: Array<(string)> | null;
|
|
3517
|
+
} | null;
|
|
3518
|
+
PINTEREST?: {
|
|
3519
|
+
text?: string | null;
|
|
3520
|
+
description?: string | null;
|
|
3521
|
+
boardName: string;
|
|
3522
|
+
uploadIds?: Array<(string)> | null;
|
|
3523
|
+
/**
|
|
3524
|
+
* The URL to which the Pin will link to.
|
|
3525
|
+
*/
|
|
3526
|
+
link?: string | null;
|
|
3527
|
+
/**
|
|
3528
|
+
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
3529
|
+
*/
|
|
3530
|
+
altText?: string | null;
|
|
3531
|
+
/**
|
|
3532
|
+
* A note about the Pin. This is not visible to the public.
|
|
3533
|
+
*/
|
|
3534
|
+
note?: string | null;
|
|
3535
|
+
/**
|
|
3536
|
+
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
3537
|
+
*/
|
|
3538
|
+
dominantColor?: string | null;
|
|
3539
|
+
} | null;
|
|
3540
|
+
FACEBOOK?: {
|
|
3541
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
3542
|
+
text?: string | null;
|
|
3543
|
+
uploadIds?: Array<(string)> | null;
|
|
3544
|
+
} | null;
|
|
3545
|
+
INSTAGRAM?: {
|
|
3546
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
3547
|
+
text?: string | null;
|
|
3548
|
+
uploadIds?: Array<(string)> | null;
|
|
3549
|
+
} | null;
|
|
3550
|
+
TIKTOK?: {
|
|
3551
|
+
text?: string | null;
|
|
3552
|
+
uploadIds?: Array<(string)> | null;
|
|
3553
|
+
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
3554
|
+
/**
|
|
3555
|
+
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
3556
|
+
*/
|
|
3557
|
+
isBrandContent?: boolean | null;
|
|
3558
|
+
/**
|
|
3559
|
+
* Set to true if this video is promoting the creator's own business.
|
|
3560
|
+
*/
|
|
3561
|
+
isOrganicBrandContent?: boolean | null;
|
|
3562
|
+
/**
|
|
3563
|
+
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
3564
|
+
*/
|
|
3565
|
+
disableComments?: boolean | null;
|
|
3566
|
+
/**
|
|
3567
|
+
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
3568
|
+
*/
|
|
3569
|
+
disableDuet?: boolean | null;
|
|
3570
|
+
/**
|
|
3571
|
+
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
3572
|
+
*/
|
|
3573
|
+
disableStitch?: boolean | null;
|
|
3574
|
+
} | null;
|
|
3575
|
+
LINKEDIN?: {
|
|
3576
|
+
text: string;
|
|
3577
|
+
uploadIds?: Array<(string)> | null;
|
|
3578
|
+
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
3579
|
+
/**
|
|
3580
|
+
* Set to true if the post shouldn't be displayed in the main feed.
|
|
3581
|
+
*/
|
|
3582
|
+
hideFromFeed?: boolean | null;
|
|
3583
|
+
/**
|
|
3584
|
+
* Set to true if the post is not allowed to be reshared.
|
|
3585
|
+
*/
|
|
3586
|
+
disableReshare?: boolean | null;
|
|
3587
|
+
} | null;
|
|
3588
|
+
YOUTUBE?: {
|
|
3589
|
+
type?: 'VIDEO' | 'SHORT';
|
|
3590
|
+
uploadIds?: Array<(string)> | null;
|
|
3591
|
+
text?: string | null;
|
|
3592
|
+
description?: string | null;
|
|
3593
|
+
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
3594
|
+
/**
|
|
3595
|
+
* Set to true if the video is made for kids.
|
|
3596
|
+
*/
|
|
3597
|
+
madeForKids?: boolean | null;
|
|
3598
|
+
} | null;
|
|
3599
|
+
REDDIT?: {
|
|
3600
|
+
/**
|
|
3601
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
3602
|
+
*/
|
|
3603
|
+
sr: string;
|
|
3604
|
+
text: string;
|
|
3605
|
+
description?: string | null;
|
|
3606
|
+
uploadIds?: Array<(string)> | null;
|
|
3607
|
+
/**
|
|
3608
|
+
* The URL to which the post will link to.
|
|
3609
|
+
*/
|
|
3610
|
+
link?: string | null;
|
|
3611
|
+
/**
|
|
3612
|
+
* Set to true if the post is NSFW.
|
|
3613
|
+
*/
|
|
3614
|
+
nsfw?: boolean | null;
|
|
3615
|
+
} | null;
|
|
3616
|
+
DISCORD?: {
|
|
3617
|
+
channelId: string;
|
|
3618
|
+
text?: string | null;
|
|
3619
|
+
uploadIds?: Array<(string)> | null;
|
|
3620
|
+
/**
|
|
3621
|
+
* The username to display as the author of the message.
|
|
3622
|
+
*/
|
|
3623
|
+
username?: string | null;
|
|
3624
|
+
/**
|
|
3625
|
+
* Avatar url to display as the author of the message.
|
|
3626
|
+
*/
|
|
3627
|
+
avatarUrl?: string | null;
|
|
3628
|
+
} | null;
|
|
3629
|
+
SLACK?: {
|
|
3630
|
+
channelId: string;
|
|
3631
|
+
text?: string | null;
|
|
3632
|
+
uploadIds?: Array<(string)> | null;
|
|
3633
|
+
/**
|
|
3634
|
+
* The username to display as the author of the message.
|
|
3635
|
+
*/
|
|
3636
|
+
username?: string | null;
|
|
3637
|
+
/**
|
|
3638
|
+
* Avatar url to display as the author of the message.
|
|
3639
|
+
*/
|
|
3640
|
+
avatarUrl?: string | null;
|
|
3641
|
+
} | null;
|
|
3642
|
+
TELEGRAM?: unknown;
|
|
3643
|
+
THREADS?: unknown;
|
|
3644
|
+
};
|
|
3645
|
+
error?: string | null;
|
|
3646
|
+
errors?: {
|
|
3647
|
+
TWITTER?: string | null;
|
|
3648
|
+
PINTEREST?: string | null;
|
|
3649
|
+
FACEBOOK?: string | null;
|
|
3650
|
+
INSTAGRAM?: string | null;
|
|
3651
|
+
TIKTOK?: string | null;
|
|
3652
|
+
LINKEDIN?: string | null;
|
|
3653
|
+
REDDIT?: string | null;
|
|
3654
|
+
DISCORD?: string | null;
|
|
3655
|
+
SLACK?: string | null;
|
|
3656
|
+
YOUTUBE?: string | null;
|
|
3657
|
+
TELEGRAM?: string | null;
|
|
3658
|
+
THREADS?: string | null;
|
|
3659
|
+
} | null;
|
|
3660
|
+
externalData?: {
|
|
3661
|
+
TWITTER?: {
|
|
3662
|
+
id?: string | null;
|
|
3663
|
+
permalink?: string | null;
|
|
3664
|
+
} | null;
|
|
3665
|
+
PINTEREST?: {
|
|
3666
|
+
id?: string | null;
|
|
3667
|
+
permalink?: string | null;
|
|
3668
|
+
} | null;
|
|
3669
|
+
FACEBOOK?: {
|
|
3670
|
+
id?: string | null;
|
|
3671
|
+
postId?: string | null;
|
|
3672
|
+
videoId?: string | null;
|
|
3673
|
+
permalink?: string | null;
|
|
3674
|
+
} | null;
|
|
3675
|
+
INSTAGRAM?: {
|
|
3676
|
+
id?: string | null;
|
|
3677
|
+
permalink?: string | null;
|
|
3678
|
+
} | null;
|
|
3679
|
+
TIKTOK?: {
|
|
3680
|
+
id?: string | null;
|
|
3681
|
+
permalink?: string | null;
|
|
3682
|
+
} | null;
|
|
3683
|
+
LINKEDIN?: {
|
|
3684
|
+
id?: string | null;
|
|
3685
|
+
permalink?: string | null;
|
|
3686
|
+
} | null;
|
|
3687
|
+
REDDIT?: {
|
|
3688
|
+
id?: string | null;
|
|
3689
|
+
permalink?: string | null;
|
|
3690
|
+
subreddit_name?: string | null;
|
|
3691
|
+
} | null;
|
|
3692
|
+
DISCORD?: {
|
|
3693
|
+
id?: string | null;
|
|
3694
|
+
permalink?: string | null;
|
|
3695
|
+
channelId?: string | null;
|
|
3696
|
+
} | null;
|
|
3697
|
+
SLACK?: {
|
|
3698
|
+
id?: string | null;
|
|
3699
|
+
permalink?: string | null;
|
|
3700
|
+
channelId?: string | null;
|
|
3701
|
+
} | null;
|
|
3702
|
+
YOUTUBE?: {
|
|
3703
|
+
id?: string | null;
|
|
3704
|
+
permalink?: string | null;
|
|
3705
|
+
} | null;
|
|
3706
|
+
TELEGRAM?: {
|
|
3707
|
+
id?: string | null;
|
|
3708
|
+
permalink?: string | null;
|
|
3709
|
+
} | null;
|
|
3710
|
+
THREADS?: {
|
|
3711
|
+
id?: string | null;
|
|
3712
|
+
permalink?: string | null;
|
|
3713
|
+
} | null;
|
|
3714
|
+
} | null;
|
|
3715
|
+
createdAt: string | null;
|
|
3716
|
+
updatedAt: string | null;
|
|
3717
|
+
deletedAt?: string | null;
|
|
3718
|
+
};
|
|
3719
|
+
/**
|
|
3720
|
+
* 400
|
|
3721
|
+
*/
|
|
3722
|
+
400: {
|
|
3723
|
+
message: string;
|
|
3724
|
+
issues?: Array<{
|
|
3725
|
+
message: string;
|
|
3726
|
+
path?: Array<(string | number)> | null;
|
|
3727
|
+
}> | null;
|
|
3728
|
+
};
|
|
3729
|
+
/**
|
|
3730
|
+
* 401
|
|
3731
|
+
*/
|
|
3732
|
+
401: {
|
|
3733
|
+
message: string;
|
|
3734
|
+
};
|
|
3735
|
+
/**
|
|
3736
|
+
* 403
|
|
3737
|
+
*/
|
|
3738
|
+
403: {
|
|
3739
|
+
message: string;
|
|
3740
|
+
};
|
|
3741
|
+
/**
|
|
3742
|
+
* 404
|
|
3743
|
+
*/
|
|
3744
|
+
404: {
|
|
3745
|
+
message: string;
|
|
3746
|
+
};
|
|
3747
|
+
/**
|
|
3748
|
+
* 429
|
|
3749
|
+
*/
|
|
3750
|
+
429: {
|
|
3751
|
+
message: string;
|
|
3752
|
+
};
|
|
3147
3753
|
/**
|
|
3148
3754
|
* 500
|
|
3149
3755
|
*/
|
|
@@ -3152,8 +3758,8 @@ type $OpenApiTs = {
|
|
|
3152
3758
|
};
|
|
3153
3759
|
};
|
|
3154
3760
|
};
|
|
3155
|
-
|
|
3156
|
-
req:
|
|
3761
|
+
delete: {
|
|
3762
|
+
req: PostDeleteData;
|
|
3157
3763
|
res: {
|
|
3158
3764
|
/**
|
|
3159
3765
|
* 200
|
|
@@ -3252,6 +3858,9 @@ type $OpenApiTs = {
|
|
|
3252
3858
|
madeForKids?: boolean | null;
|
|
3253
3859
|
} | null;
|
|
3254
3860
|
REDDIT?: {
|
|
3861
|
+
/**
|
|
3862
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
3863
|
+
*/
|
|
3255
3864
|
sr: string;
|
|
3256
3865
|
text: string;
|
|
3257
3866
|
description?: string | null;
|
|
@@ -3359,14 +3968,339 @@ type $OpenApiTs = {
|
|
|
3359
3968
|
id?: string | null;
|
|
3360
3969
|
permalink?: string | null;
|
|
3361
3970
|
} | null;
|
|
3362
|
-
THREADS?: {
|
|
3363
|
-
id?: string | null;
|
|
3364
|
-
permalink?: string | null;
|
|
3971
|
+
THREADS?: {
|
|
3972
|
+
id?: string | null;
|
|
3973
|
+
permalink?: string | null;
|
|
3974
|
+
} | null;
|
|
3975
|
+
} | null;
|
|
3976
|
+
createdAt: string | null;
|
|
3977
|
+
updatedAt: string | null;
|
|
3978
|
+
deletedAt?: string | null;
|
|
3979
|
+
};
|
|
3980
|
+
/**
|
|
3981
|
+
* 400
|
|
3982
|
+
*/
|
|
3983
|
+
400: {
|
|
3984
|
+
message: string;
|
|
3985
|
+
issues?: Array<{
|
|
3986
|
+
message: string;
|
|
3987
|
+
path?: Array<(string | number)> | null;
|
|
3988
|
+
}> | null;
|
|
3989
|
+
};
|
|
3990
|
+
/**
|
|
3991
|
+
* 401
|
|
3992
|
+
*/
|
|
3993
|
+
401: {
|
|
3994
|
+
message: string;
|
|
3995
|
+
};
|
|
3996
|
+
/**
|
|
3997
|
+
* 403
|
|
3998
|
+
*/
|
|
3999
|
+
403: {
|
|
4000
|
+
message: string;
|
|
4001
|
+
};
|
|
4002
|
+
/**
|
|
4003
|
+
* 404
|
|
4004
|
+
*/
|
|
4005
|
+
404: {
|
|
4006
|
+
message: string;
|
|
4007
|
+
};
|
|
4008
|
+
/**
|
|
4009
|
+
* 429
|
|
4010
|
+
*/
|
|
4011
|
+
429: {
|
|
4012
|
+
message: string;
|
|
4013
|
+
};
|
|
4014
|
+
/**
|
|
4015
|
+
* 500
|
|
4016
|
+
*/
|
|
4017
|
+
500: {
|
|
4018
|
+
message: string;
|
|
4019
|
+
};
|
|
4020
|
+
};
|
|
4021
|
+
};
|
|
4022
|
+
};
|
|
4023
|
+
'/api/v1/post/': {
|
|
4024
|
+
get: {
|
|
4025
|
+
req: PostGetListData;
|
|
4026
|
+
res: {
|
|
4027
|
+
/**
|
|
4028
|
+
* 200
|
|
4029
|
+
*/
|
|
4030
|
+
200: {
|
|
4031
|
+
items: Array<{
|
|
4032
|
+
id: string;
|
|
4033
|
+
teamId: string;
|
|
4034
|
+
title: string;
|
|
4035
|
+
postDate: string | null;
|
|
4036
|
+
postedDate?: string | null;
|
|
4037
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
4038
|
+
data: {
|
|
4039
|
+
TWITTER?: {
|
|
4040
|
+
text?: string | null;
|
|
4041
|
+
uploadIds?: Array<(string)> | null;
|
|
4042
|
+
} | null;
|
|
4043
|
+
PINTEREST?: {
|
|
4044
|
+
text?: string | null;
|
|
4045
|
+
description?: string | null;
|
|
4046
|
+
boardName: string;
|
|
4047
|
+
uploadIds?: Array<(string)> | null;
|
|
4048
|
+
/**
|
|
4049
|
+
* The URL to which the Pin will link to.
|
|
4050
|
+
*/
|
|
4051
|
+
link?: string | null;
|
|
4052
|
+
/**
|
|
4053
|
+
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
4054
|
+
*/
|
|
4055
|
+
altText?: string | null;
|
|
4056
|
+
/**
|
|
4057
|
+
* A note about the Pin. This is not visible to the public.
|
|
4058
|
+
*/
|
|
4059
|
+
note?: string | null;
|
|
4060
|
+
/**
|
|
4061
|
+
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
4062
|
+
*/
|
|
4063
|
+
dominantColor?: string | null;
|
|
4064
|
+
} | null;
|
|
4065
|
+
FACEBOOK?: {
|
|
4066
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
4067
|
+
text?: string | null;
|
|
4068
|
+
uploadIds?: Array<(string)> | null;
|
|
4069
|
+
} | null;
|
|
4070
|
+
INSTAGRAM?: {
|
|
4071
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
4072
|
+
text?: string | null;
|
|
4073
|
+
uploadIds?: Array<(string)> | null;
|
|
4074
|
+
} | null;
|
|
4075
|
+
TIKTOK?: {
|
|
4076
|
+
text?: string | null;
|
|
4077
|
+
uploadIds?: Array<(string)> | null;
|
|
4078
|
+
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
4079
|
+
/**
|
|
4080
|
+
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
4081
|
+
*/
|
|
4082
|
+
isBrandContent?: boolean | null;
|
|
4083
|
+
/**
|
|
4084
|
+
* Set to true if this video is promoting the creator's own business.
|
|
4085
|
+
*/
|
|
4086
|
+
isOrganicBrandContent?: boolean | null;
|
|
4087
|
+
/**
|
|
4088
|
+
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
4089
|
+
*/
|
|
4090
|
+
disableComments?: boolean | null;
|
|
4091
|
+
/**
|
|
4092
|
+
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
4093
|
+
*/
|
|
4094
|
+
disableDuet?: boolean | null;
|
|
4095
|
+
/**
|
|
4096
|
+
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
4097
|
+
*/
|
|
4098
|
+
disableStitch?: boolean | null;
|
|
4099
|
+
} | null;
|
|
4100
|
+
LINKEDIN?: {
|
|
4101
|
+
text: string;
|
|
4102
|
+
uploadIds?: Array<(string)> | null;
|
|
4103
|
+
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
4104
|
+
/**
|
|
4105
|
+
* Set to true if the post shouldn't be displayed in the main feed.
|
|
4106
|
+
*/
|
|
4107
|
+
hideFromFeed?: boolean | null;
|
|
4108
|
+
/**
|
|
4109
|
+
* Set to true if the post is not allowed to be reshared.
|
|
4110
|
+
*/
|
|
4111
|
+
disableReshare?: boolean | null;
|
|
4112
|
+
} | null;
|
|
4113
|
+
YOUTUBE?: {
|
|
4114
|
+
type?: 'VIDEO' | 'SHORT';
|
|
4115
|
+
uploadIds?: Array<(string)> | null;
|
|
4116
|
+
text?: string | null;
|
|
4117
|
+
description?: string | null;
|
|
4118
|
+
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
4119
|
+
/**
|
|
4120
|
+
* Set to true if the video is made for kids.
|
|
4121
|
+
*/
|
|
4122
|
+
madeForKids?: boolean | null;
|
|
4123
|
+
} | null;
|
|
4124
|
+
REDDIT?: {
|
|
4125
|
+
/**
|
|
4126
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
4127
|
+
*/
|
|
4128
|
+
sr: string;
|
|
4129
|
+
text: string;
|
|
4130
|
+
description?: string | null;
|
|
4131
|
+
uploadIds?: Array<(string)> | null;
|
|
4132
|
+
/**
|
|
4133
|
+
* The URL to which the post will link to.
|
|
4134
|
+
*/
|
|
4135
|
+
link?: string | null;
|
|
4136
|
+
/**
|
|
4137
|
+
* Set to true if the post is NSFW.
|
|
4138
|
+
*/
|
|
4139
|
+
nsfw?: boolean | null;
|
|
4140
|
+
} | null;
|
|
4141
|
+
DISCORD?: {
|
|
4142
|
+
channelId: string;
|
|
4143
|
+
text?: string | null;
|
|
4144
|
+
uploadIds?: Array<(string)> | null;
|
|
4145
|
+
/**
|
|
4146
|
+
* The username to display as the author of the message.
|
|
4147
|
+
*/
|
|
4148
|
+
username?: string | null;
|
|
4149
|
+
/**
|
|
4150
|
+
* Avatar url to display as the author of the message.
|
|
4151
|
+
*/
|
|
4152
|
+
avatarUrl?: string | null;
|
|
4153
|
+
} | null;
|
|
4154
|
+
SLACK?: {
|
|
4155
|
+
channelId: string;
|
|
4156
|
+
text?: string | null;
|
|
4157
|
+
uploadIds?: Array<(string)> | null;
|
|
4158
|
+
/**
|
|
4159
|
+
* The username to display as the author of the message.
|
|
4160
|
+
*/
|
|
4161
|
+
username?: string | null;
|
|
4162
|
+
/**
|
|
4163
|
+
* Avatar url to display as the author of the message.
|
|
4164
|
+
*/
|
|
4165
|
+
avatarUrl?: string | null;
|
|
4166
|
+
} | null;
|
|
4167
|
+
TELEGRAM?: unknown;
|
|
4168
|
+
THREADS?: unknown;
|
|
4169
|
+
};
|
|
4170
|
+
error?: string | null;
|
|
4171
|
+
errors?: {
|
|
4172
|
+
TWITTER?: string | null;
|
|
4173
|
+
PINTEREST?: string | null;
|
|
4174
|
+
FACEBOOK?: string | null;
|
|
4175
|
+
INSTAGRAM?: string | null;
|
|
4176
|
+
TIKTOK?: string | null;
|
|
4177
|
+
LINKEDIN?: string | null;
|
|
4178
|
+
REDDIT?: string | null;
|
|
4179
|
+
DISCORD?: string | null;
|
|
4180
|
+
SLACK?: string | null;
|
|
4181
|
+
YOUTUBE?: string | null;
|
|
4182
|
+
TELEGRAM?: string | null;
|
|
4183
|
+
THREADS?: string | null;
|
|
4184
|
+
} | null;
|
|
4185
|
+
externalData?: {
|
|
4186
|
+
TWITTER?: {
|
|
4187
|
+
id?: string | null;
|
|
4188
|
+
permalink?: string | null;
|
|
4189
|
+
} | null;
|
|
4190
|
+
PINTEREST?: {
|
|
4191
|
+
id?: string | null;
|
|
4192
|
+
permalink?: string | null;
|
|
4193
|
+
} | null;
|
|
4194
|
+
FACEBOOK?: {
|
|
4195
|
+
id?: string | null;
|
|
4196
|
+
postId?: string | null;
|
|
4197
|
+
videoId?: string | null;
|
|
4198
|
+
permalink?: string | null;
|
|
4199
|
+
} | null;
|
|
4200
|
+
INSTAGRAM?: {
|
|
4201
|
+
id?: string | null;
|
|
4202
|
+
permalink?: string | null;
|
|
4203
|
+
} | null;
|
|
4204
|
+
TIKTOK?: {
|
|
4205
|
+
id?: string | null;
|
|
4206
|
+
permalink?: string | null;
|
|
4207
|
+
} | null;
|
|
4208
|
+
LINKEDIN?: {
|
|
4209
|
+
id?: string | null;
|
|
4210
|
+
permalink?: string | null;
|
|
4211
|
+
} | null;
|
|
4212
|
+
REDDIT?: {
|
|
4213
|
+
id?: string | null;
|
|
4214
|
+
permalink?: string | null;
|
|
4215
|
+
subreddit_name?: string | null;
|
|
4216
|
+
} | null;
|
|
4217
|
+
DISCORD?: {
|
|
4218
|
+
id?: string | null;
|
|
4219
|
+
permalink?: string | null;
|
|
4220
|
+
channelId?: string | null;
|
|
4221
|
+
} | null;
|
|
4222
|
+
SLACK?: {
|
|
4223
|
+
id?: string | null;
|
|
4224
|
+
permalink?: string | null;
|
|
4225
|
+
channelId?: string | null;
|
|
4226
|
+
} | null;
|
|
4227
|
+
YOUTUBE?: {
|
|
4228
|
+
id?: string | null;
|
|
4229
|
+
permalink?: string | null;
|
|
4230
|
+
} | null;
|
|
4231
|
+
TELEGRAM?: {
|
|
4232
|
+
id?: string | null;
|
|
4233
|
+
permalink?: string | null;
|
|
4234
|
+
} | null;
|
|
4235
|
+
THREADS?: {
|
|
4236
|
+
id?: string | null;
|
|
4237
|
+
permalink?: string | null;
|
|
4238
|
+
} | null;
|
|
3365
4239
|
} | null;
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
4240
|
+
createdAt: string | null;
|
|
4241
|
+
updatedAt: string | null;
|
|
4242
|
+
deletedAt?: string | null;
|
|
4243
|
+
uploads: Array<{
|
|
4244
|
+
postId: string;
|
|
4245
|
+
uploadId: string;
|
|
4246
|
+
createdAt: string | null;
|
|
4247
|
+
updatedAt: string | null;
|
|
4248
|
+
deletedAt?: string | null;
|
|
4249
|
+
upload: {
|
|
4250
|
+
id: string;
|
|
4251
|
+
teamId: string;
|
|
4252
|
+
expiresAt?: string | null;
|
|
4253
|
+
iconUrl?: string | null;
|
|
4254
|
+
thumbnailUrl?: string | null;
|
|
4255
|
+
url?: string | null;
|
|
4256
|
+
iconPath?: string | null;
|
|
4257
|
+
thumbnailPath?: string | null;
|
|
4258
|
+
path?: string | null;
|
|
4259
|
+
type: 'image' | 'video';
|
|
4260
|
+
width?: number | null;
|
|
4261
|
+
height?: number | null;
|
|
4262
|
+
fileSize?: number | null;
|
|
4263
|
+
videoLength?: number | null;
|
|
4264
|
+
mime?: string | null;
|
|
4265
|
+
ext?: string | null;
|
|
4266
|
+
createdAt: string | null;
|
|
4267
|
+
updatedAt: string | null;
|
|
4268
|
+
};
|
|
4269
|
+
}>;
|
|
4270
|
+
socialAccounts: Array<{
|
|
4271
|
+
postId: string;
|
|
4272
|
+
socialAccountId: string;
|
|
4273
|
+
createdAt: string | null;
|
|
4274
|
+
updatedAt: string | null;
|
|
4275
|
+
deletedAt?: string | null;
|
|
4276
|
+
socialAccount: {
|
|
4277
|
+
id: string;
|
|
4278
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
|
|
4279
|
+
teamId: string;
|
|
4280
|
+
username?: string | null;
|
|
4281
|
+
displayName?: string | null;
|
|
4282
|
+
externalId?: string | null;
|
|
4283
|
+
userUsername?: string | null;
|
|
4284
|
+
userDisplayName?: string | null;
|
|
4285
|
+
userId?: string | null;
|
|
4286
|
+
channels?: Array<{
|
|
4287
|
+
id: string;
|
|
4288
|
+
name?: string | null;
|
|
4289
|
+
username?: string | null;
|
|
4290
|
+
webhook?: {
|
|
4291
|
+
id?: string | null;
|
|
4292
|
+
name?: string | null;
|
|
4293
|
+
avatar?: string | null;
|
|
4294
|
+
url?: string | null;
|
|
4295
|
+
} | null;
|
|
4296
|
+
}> | null;
|
|
4297
|
+
createdAt: string | null;
|
|
4298
|
+
updatedAt: string | null;
|
|
4299
|
+
deletedAt?: string | null;
|
|
4300
|
+
};
|
|
4301
|
+
}>;
|
|
4302
|
+
}>;
|
|
4303
|
+
total: number;
|
|
3370
4304
|
};
|
|
3371
4305
|
/**
|
|
3372
4306
|
* 400
|
|
@@ -3396,6 +4330,12 @@ type $OpenApiTs = {
|
|
|
3396
4330
|
404: {
|
|
3397
4331
|
message: string;
|
|
3398
4332
|
};
|
|
4333
|
+
/**
|
|
4334
|
+
* 429
|
|
4335
|
+
*/
|
|
4336
|
+
429: {
|
|
4337
|
+
message: string;
|
|
4338
|
+
};
|
|
3399
4339
|
/**
|
|
3400
4340
|
* 500
|
|
3401
4341
|
*/
|
|
@@ -3404,8 +4344,8 @@ type $OpenApiTs = {
|
|
|
3404
4344
|
};
|
|
3405
4345
|
};
|
|
3406
4346
|
};
|
|
3407
|
-
|
|
3408
|
-
req:
|
|
4347
|
+
post: {
|
|
4348
|
+
req: PostCreateData;
|
|
3409
4349
|
res: {
|
|
3410
4350
|
/**
|
|
3411
4351
|
* 200
|
|
@@ -3504,6 +4444,9 @@ type $OpenApiTs = {
|
|
|
3504
4444
|
madeForKids?: boolean | null;
|
|
3505
4445
|
} | null;
|
|
3506
4446
|
REDDIT?: {
|
|
4447
|
+
/**
|
|
4448
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
4449
|
+
*/
|
|
3507
4450
|
sr: string;
|
|
3508
4451
|
text: string;
|
|
3509
4452
|
description?: string | null;
|
|
@@ -3648,6 +4591,12 @@ type $OpenApiTs = {
|
|
|
3648
4591
|
404: {
|
|
3649
4592
|
message: string;
|
|
3650
4593
|
};
|
|
4594
|
+
/**
|
|
4595
|
+
* 429
|
|
4596
|
+
*/
|
|
4597
|
+
429: {
|
|
4598
|
+
message: string;
|
|
4599
|
+
};
|
|
3651
4600
|
/**
|
|
3652
4601
|
* 500
|
|
3653
4602
|
*/
|
|
@@ -3669,34 +4618,109 @@ declare class AppService {
|
|
|
3669
4618
|
*/
|
|
3670
4619
|
appGetHealth(): CancelablePromise<AppGetHealthResponse>;
|
|
3671
4620
|
}
|
|
4621
|
+
declare class OrganizationService {
|
|
4622
|
+
readonly httpRequest: BaseHttpRequest;
|
|
4623
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
4624
|
+
/**
|
|
4625
|
+
* Get organization
|
|
4626
|
+
* @returns unknown 200
|
|
4627
|
+
* @throws ApiError
|
|
4628
|
+
*/
|
|
4629
|
+
organizationGetOrganization(): CancelablePromise<OrganizationGetOrganizationResponse>;
|
|
4630
|
+
}
|
|
3672
4631
|
declare class TeamService {
|
|
3673
4632
|
readonly httpRequest: BaseHttpRequest;
|
|
3674
4633
|
constructor(httpRequest: BaseHttpRequest);
|
|
3675
4634
|
/**
|
|
3676
4635
|
* Get team
|
|
4636
|
+
* @param data The data for the request.
|
|
4637
|
+
* @param data.id
|
|
4638
|
+
* @returns unknown 200
|
|
4639
|
+
* @throws ApiError
|
|
4640
|
+
*/
|
|
4641
|
+
teamGetTeam(data: TeamGetTeamData): CancelablePromise<TeamGetTeamResponse>;
|
|
4642
|
+
/**
|
|
4643
|
+
* Update team
|
|
4644
|
+
* @param data The data for the request.
|
|
4645
|
+
* @param data.id
|
|
4646
|
+
* @param data.requestBody Body
|
|
4647
|
+
* @returns unknown 200
|
|
4648
|
+
* @throws ApiError
|
|
4649
|
+
*/
|
|
4650
|
+
teamUpdateTeam(data: TeamUpdateTeamData): CancelablePromise<TeamUpdateTeamResponse>;
|
|
4651
|
+
/**
|
|
4652
|
+
* Delete team
|
|
4653
|
+
* @param data The data for the request.
|
|
4654
|
+
* @param data.id
|
|
4655
|
+
* @returns unknown 200
|
|
4656
|
+
* @throws ApiError
|
|
4657
|
+
*/
|
|
4658
|
+
teamDeleteTeam(data: TeamDeleteTeamData): CancelablePromise<TeamDeleteTeamResponse>;
|
|
4659
|
+
/**
|
|
4660
|
+
* Create new team
|
|
4661
|
+
* @param data The data for the request.
|
|
4662
|
+
* @param data.requestBody Body
|
|
3677
4663
|
* @returns unknown 200
|
|
3678
4664
|
* @throws ApiError
|
|
3679
4665
|
*/
|
|
3680
|
-
|
|
4666
|
+
teamCreateTeam(data?: TeamCreateTeamData): CancelablePromise<TeamCreateTeamResponse>;
|
|
3681
4667
|
}
|
|
3682
|
-
declare class
|
|
4668
|
+
declare class SocialAccountService {
|
|
3683
4669
|
readonly httpRequest: BaseHttpRequest;
|
|
3684
4670
|
constructor(httpRequest: BaseHttpRequest);
|
|
3685
4671
|
/**
|
|
3686
|
-
*
|
|
3687
|
-
* Upload a file. This is the only endpoint that uses multipart/form-data.
|
|
4672
|
+
* Generate OAuth URL
|
|
3688
4673
|
* @param data The data for the request.
|
|
3689
|
-
* @param data.
|
|
4674
|
+
* @param data.requestBody Body
|
|
3690
4675
|
* @returns unknown 200
|
|
3691
4676
|
* @throws ApiError
|
|
3692
4677
|
*/
|
|
3693
|
-
|
|
4678
|
+
socialAccountConnect(data?: SocialAccountConnectData): CancelablePromise<SocialAccountConnectResponse>;
|
|
4679
|
+
/**
|
|
4680
|
+
* Disconnect social account from team
|
|
4681
|
+
* @param data The data for the request.
|
|
4682
|
+
* @param data.requestBody Body
|
|
4683
|
+
* @returns unknown 200
|
|
4684
|
+
* @throws ApiError
|
|
4685
|
+
*/
|
|
4686
|
+
socialAccountDisconnect(data?: SocialAccountDisconnectData): CancelablePromise<SocialAccountDisconnectResponse>;
|
|
4687
|
+
/**
|
|
4688
|
+
* Set channel for social account
|
|
4689
|
+
* @param data The data for the request.
|
|
4690
|
+
* @param data.requestBody Body
|
|
4691
|
+
* @returns unknown 200
|
|
4692
|
+
* @throws ApiError
|
|
4693
|
+
*/
|
|
4694
|
+
socialAccountSetChannel(data?: SocialAccountSetChannelData): CancelablePromise<SocialAccountSetChannelResponse>;
|
|
4695
|
+
/**
|
|
4696
|
+
* Refresh channels for social account
|
|
4697
|
+
* @param data The data for the request.
|
|
4698
|
+
* @param data.requestBody Body
|
|
4699
|
+
* @returns unknown 200
|
|
4700
|
+
* @throws ApiError
|
|
4701
|
+
*/
|
|
4702
|
+
socialAccountRefreshChannels(data?: SocialAccountRefreshChannelsData): CancelablePromise<SocialAccountRefreshChannelsResponse>;
|
|
4703
|
+
}
|
|
4704
|
+
declare class UploadService {
|
|
4705
|
+
readonly httpRequest: BaseHttpRequest;
|
|
4706
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
3694
4707
|
/**
|
|
3695
4708
|
* Get upload list
|
|
4709
|
+
* @param data The data for the request.
|
|
4710
|
+
* @param data.teamId
|
|
4711
|
+
* @returns unknown 200
|
|
4712
|
+
* @throws ApiError
|
|
4713
|
+
*/
|
|
4714
|
+
uploadGetList(data: UploadGetListData): CancelablePromise<UploadGetListResponse>;
|
|
4715
|
+
/**
|
|
4716
|
+
* Create upload
|
|
4717
|
+
* Upload a file. This is the only endpoint that uses multipart/form-data.
|
|
4718
|
+
* @param data The data for the request.
|
|
4719
|
+
* @param data.formData Body
|
|
3696
4720
|
* @returns unknown 200
|
|
3697
4721
|
* @throws ApiError
|
|
3698
4722
|
*/
|
|
3699
|
-
|
|
4723
|
+
uploadCreate(data?: UploadCreateData): CancelablePromise<UploadCreateResponse>;
|
|
3700
4724
|
/**
|
|
3701
4725
|
* Delete many uploads
|
|
3702
4726
|
* @param data The data for the request.
|
|
@@ -3726,58 +4750,61 @@ declare class PostService {
|
|
|
3726
4750
|
readonly httpRequest: BaseHttpRequest;
|
|
3727
4751
|
constructor(httpRequest: BaseHttpRequest);
|
|
3728
4752
|
/**
|
|
3729
|
-
*
|
|
4753
|
+
* Get post
|
|
3730
4754
|
* @param data The data for the request.
|
|
3731
|
-
* @param data.
|
|
4755
|
+
* @param data.id
|
|
3732
4756
|
* @returns unknown 200
|
|
3733
4757
|
* @throws ApiError
|
|
3734
4758
|
*/
|
|
3735
|
-
|
|
4759
|
+
postGet(data: PostGetData): CancelablePromise<PostGetResponse>;
|
|
3736
4760
|
/**
|
|
3737
|
-
*
|
|
4761
|
+
* Update post
|
|
3738
4762
|
* @param data The data for the request.
|
|
3739
|
-
* @param data.
|
|
3740
|
-
* @param data.
|
|
3741
|
-
* @param data.order
|
|
3742
|
-
* @param data.q
|
|
3743
|
-
* @param data.platforms
|
|
3744
|
-
* @param data.offset
|
|
3745
|
-
* @param data.limit
|
|
4763
|
+
* @param data.id
|
|
4764
|
+
* @param data.requestBody Body
|
|
3746
4765
|
* @returns unknown 200
|
|
3747
4766
|
* @throws ApiError
|
|
3748
4767
|
*/
|
|
3749
|
-
|
|
4768
|
+
postUpdate(data: PostUpdateData): CancelablePromise<PostUpdateResponse>;
|
|
3750
4769
|
/**
|
|
3751
|
-
*
|
|
4770
|
+
* Delete post
|
|
3752
4771
|
* @param data The data for the request.
|
|
3753
4772
|
* @param data.id
|
|
3754
4773
|
* @returns unknown 200
|
|
3755
4774
|
* @throws ApiError
|
|
3756
4775
|
*/
|
|
3757
|
-
|
|
4776
|
+
postDelete(data: PostDeleteData): CancelablePromise<PostDeleteResponse>;
|
|
3758
4777
|
/**
|
|
3759
|
-
*
|
|
4778
|
+
* Get post list
|
|
3760
4779
|
* @param data The data for the request.
|
|
3761
|
-
* @param data.
|
|
3762
|
-
* @param data.
|
|
4780
|
+
* @param data.teamId
|
|
4781
|
+
* @param data.status
|
|
4782
|
+
* @param data.orderBy
|
|
4783
|
+
* @param data.order
|
|
4784
|
+
* @param data.q
|
|
4785
|
+
* @param data.platforms
|
|
4786
|
+
* @param data.offset
|
|
4787
|
+
* @param data.limit
|
|
3763
4788
|
* @returns unknown 200
|
|
3764
4789
|
* @throws ApiError
|
|
3765
4790
|
*/
|
|
3766
|
-
|
|
4791
|
+
postGetList(data: PostGetListData): CancelablePromise<PostGetListResponse>;
|
|
3767
4792
|
/**
|
|
3768
|
-
*
|
|
4793
|
+
* Create post
|
|
3769
4794
|
* @param data The data for the request.
|
|
3770
|
-
* @param data.
|
|
4795
|
+
* @param data.requestBody Body
|
|
3771
4796
|
* @returns unknown 200
|
|
3772
4797
|
* @throws ApiError
|
|
3773
4798
|
*/
|
|
3774
|
-
|
|
4799
|
+
postCreate(data?: PostCreateData): CancelablePromise<PostCreateResponse>;
|
|
3775
4800
|
}
|
|
3776
4801
|
|
|
3777
4802
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
3778
4803
|
declare class Client {
|
|
3779
4804
|
readonly app: AppService;
|
|
4805
|
+
readonly organization: OrganizationService;
|
|
3780
4806
|
readonly post: PostService;
|
|
4807
|
+
readonly socialAccount: SocialAccountService;
|
|
3781
4808
|
readonly team: TeamService;
|
|
3782
4809
|
readonly upload: UploadService;
|
|
3783
4810
|
readonly request: BaseHttpRequest;
|
|
@@ -3830,4 +4857,4 @@ declare class Bundlesocial extends Client {
|
|
|
3830
4857
|
constructor(apiKey: string, options?: OpenAPIConfig);
|
|
3831
4858
|
}
|
|
3832
4859
|
|
|
3833
|
-
export { $OpenApiTs, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, OpenAPI, OpenAPIConfig, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, TeamGetTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadGetData, UploadGetListResponse, UploadGetResponse, WebhookEvent, WebhookEventType };
|
|
4860
|
+
export { $OpenApiTs, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, OpenAPI, OpenAPIConfig, OrganizationGetOrganizationResponse, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, WebhookEvent, WebhookEventType };
|