bundlesocial 2.6.0 → 2.7.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 +2492 -953
- package/dist/index.d.ts +2492 -953
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -381,7 +381,7 @@ type SocialAccountConnectData = {
|
|
|
381
381
|
* Body
|
|
382
382
|
*/
|
|
383
383
|
requestBody?: {
|
|
384
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | '
|
|
384
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
|
|
385
385
|
teamId: string;
|
|
386
386
|
redirectUrl: string;
|
|
387
387
|
/**
|
|
@@ -401,7 +401,7 @@ type SocialAccountDisconnectData = {
|
|
|
401
401
|
* Body
|
|
402
402
|
*/
|
|
403
403
|
requestBody?: {
|
|
404
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | '
|
|
404
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
|
|
405
405
|
teamId: string;
|
|
406
406
|
};
|
|
407
407
|
};
|
|
@@ -506,7 +506,7 @@ type SocialAccountCreatePortalLinkData = {
|
|
|
506
506
|
requestBody?: {
|
|
507
507
|
teamId: string;
|
|
508
508
|
redirectUrl: string;
|
|
509
|
-
socialAccountTypes: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | '
|
|
509
|
+
socialAccountTypes: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
|
|
510
510
|
logoUrl?: string;
|
|
511
511
|
userLogoUrl?: string;
|
|
512
512
|
userName?: string;
|
|
@@ -700,6 +700,7 @@ type PostGetResponse = {
|
|
|
700
700
|
uploadIds?: Array<(string)> | null;
|
|
701
701
|
} | null;
|
|
702
702
|
TIKTOK?: {
|
|
703
|
+
type?: 'VIDEO' | 'IMAGE';
|
|
703
704
|
text?: string | null;
|
|
704
705
|
uploadIds?: Array<(string)> | null;
|
|
705
706
|
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
@@ -723,6 +724,14 @@ type PostGetResponse = {
|
|
|
723
724
|
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
724
725
|
*/
|
|
725
726
|
disableStitch?: boolean | null;
|
|
727
|
+
/**
|
|
728
|
+
* Choose a frame of the published video as the cover photo in ms
|
|
729
|
+
*/
|
|
730
|
+
thumbnailOffset?: number | null;
|
|
731
|
+
/**
|
|
732
|
+
* Set to true if this video is AI generated.
|
|
733
|
+
*/
|
|
734
|
+
isAiGenerated?: boolean | null;
|
|
726
735
|
} | null;
|
|
727
736
|
LINKEDIN?: {
|
|
728
737
|
text: string;
|
|
@@ -838,6 +847,7 @@ type PostGetResponse = {
|
|
|
838
847
|
} | null;
|
|
839
848
|
LINKEDIN?: {
|
|
840
849
|
id?: string | null;
|
|
850
|
+
activity?: string | null;
|
|
841
851
|
permalink?: string | null;
|
|
842
852
|
} | null;
|
|
843
853
|
REDDIT?: {
|
|
@@ -983,6 +993,7 @@ type PostUpdateData = {
|
|
|
983
993
|
uploadIds?: Array<(string)> | null;
|
|
984
994
|
} | null;
|
|
985
995
|
TIKTOK?: {
|
|
996
|
+
type?: 'VIDEO' | 'IMAGE';
|
|
986
997
|
text?: string | null;
|
|
987
998
|
uploadIds?: Array<(string)> | null;
|
|
988
999
|
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
@@ -1006,6 +1017,14 @@ type PostUpdateData = {
|
|
|
1006
1017
|
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
1007
1018
|
*/
|
|
1008
1019
|
disableStitch?: boolean | null;
|
|
1020
|
+
/**
|
|
1021
|
+
* Choose a frame of the published video as the cover photo in ms
|
|
1022
|
+
*/
|
|
1023
|
+
thumbnailOffset?: number | null;
|
|
1024
|
+
/**
|
|
1025
|
+
* Set to true if this video is AI generated.
|
|
1026
|
+
*/
|
|
1027
|
+
isAiGenerated?: boolean | null;
|
|
1009
1028
|
} | null;
|
|
1010
1029
|
LINKEDIN?: {
|
|
1011
1030
|
text: string;
|
|
@@ -1132,6 +1151,7 @@ type PostUpdateResponse = {
|
|
|
1132
1151
|
uploadIds?: Array<(string)> | null;
|
|
1133
1152
|
} | null;
|
|
1134
1153
|
TIKTOK?: {
|
|
1154
|
+
type?: 'VIDEO' | 'IMAGE';
|
|
1135
1155
|
text?: string | null;
|
|
1136
1156
|
uploadIds?: Array<(string)> | null;
|
|
1137
1157
|
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
@@ -1155,6 +1175,14 @@ type PostUpdateResponse = {
|
|
|
1155
1175
|
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
1156
1176
|
*/
|
|
1157
1177
|
disableStitch?: boolean | null;
|
|
1178
|
+
/**
|
|
1179
|
+
* Choose a frame of the published video as the cover photo in ms
|
|
1180
|
+
*/
|
|
1181
|
+
thumbnailOffset?: number | null;
|
|
1182
|
+
/**
|
|
1183
|
+
* Set to true if this video is AI generated.
|
|
1184
|
+
*/
|
|
1185
|
+
isAiGenerated?: boolean | null;
|
|
1158
1186
|
} | null;
|
|
1159
1187
|
LINKEDIN?: {
|
|
1160
1188
|
text: string;
|
|
@@ -1270,6 +1298,7 @@ type PostUpdateResponse = {
|
|
|
1270
1298
|
} | null;
|
|
1271
1299
|
LINKEDIN?: {
|
|
1272
1300
|
id?: string | null;
|
|
1301
|
+
activity?: string | null;
|
|
1273
1302
|
permalink?: string | null;
|
|
1274
1303
|
} | null;
|
|
1275
1304
|
REDDIT?: {
|
|
@@ -1356,6 +1385,7 @@ type PostDeleteResponse = {
|
|
|
1356
1385
|
uploadIds?: Array<(string)> | null;
|
|
1357
1386
|
} | null;
|
|
1358
1387
|
TIKTOK?: {
|
|
1388
|
+
type?: 'VIDEO' | 'IMAGE';
|
|
1359
1389
|
text?: string | null;
|
|
1360
1390
|
uploadIds?: Array<(string)> | null;
|
|
1361
1391
|
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
@@ -1379,6 +1409,14 @@ type PostDeleteResponse = {
|
|
|
1379
1409
|
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
1380
1410
|
*/
|
|
1381
1411
|
disableStitch?: boolean | null;
|
|
1412
|
+
/**
|
|
1413
|
+
* Choose a frame of the published video as the cover photo in ms
|
|
1414
|
+
*/
|
|
1415
|
+
thumbnailOffset?: number | null;
|
|
1416
|
+
/**
|
|
1417
|
+
* Set to true if this video is AI generated.
|
|
1418
|
+
*/
|
|
1419
|
+
isAiGenerated?: boolean | null;
|
|
1382
1420
|
} | null;
|
|
1383
1421
|
LINKEDIN?: {
|
|
1384
1422
|
text: string;
|
|
@@ -1494,6 +1532,7 @@ type PostDeleteResponse = {
|
|
|
1494
1532
|
} | null;
|
|
1495
1533
|
LINKEDIN?: {
|
|
1496
1534
|
id?: string | null;
|
|
1535
|
+
activity?: string | null;
|
|
1497
1536
|
permalink?: string | null;
|
|
1498
1537
|
} | null;
|
|
1499
1538
|
REDDIT?: {
|
|
@@ -1588,6 +1627,7 @@ type PostGetListResponse = {
|
|
|
1588
1627
|
uploadIds?: Array<(string)> | null;
|
|
1589
1628
|
} | null;
|
|
1590
1629
|
TIKTOK?: {
|
|
1630
|
+
type?: 'VIDEO' | 'IMAGE';
|
|
1591
1631
|
text?: string | null;
|
|
1592
1632
|
uploadIds?: Array<(string)> | null;
|
|
1593
1633
|
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
@@ -1611,6 +1651,14 @@ type PostGetListResponse = {
|
|
|
1611
1651
|
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
1612
1652
|
*/
|
|
1613
1653
|
disableStitch?: boolean | null;
|
|
1654
|
+
/**
|
|
1655
|
+
* Choose a frame of the published video as the cover photo in ms
|
|
1656
|
+
*/
|
|
1657
|
+
thumbnailOffset?: number | null;
|
|
1658
|
+
/**
|
|
1659
|
+
* Set to true if this video is AI generated.
|
|
1660
|
+
*/
|
|
1661
|
+
isAiGenerated?: boolean | null;
|
|
1614
1662
|
} | null;
|
|
1615
1663
|
LINKEDIN?: {
|
|
1616
1664
|
text: string;
|
|
@@ -1726,6 +1774,7 @@ type PostGetListResponse = {
|
|
|
1726
1774
|
} | null;
|
|
1727
1775
|
LINKEDIN?: {
|
|
1728
1776
|
id?: string | null;
|
|
1777
|
+
activity?: string | null;
|
|
1729
1778
|
permalink?: string | null;
|
|
1730
1779
|
} | null;
|
|
1731
1780
|
REDDIT?: {
|
|
@@ -1873,6 +1922,7 @@ type PostCreateData = {
|
|
|
1873
1922
|
uploadIds?: Array<(string)> | null;
|
|
1874
1923
|
} | null;
|
|
1875
1924
|
TIKTOK?: {
|
|
1925
|
+
type?: 'VIDEO' | 'IMAGE';
|
|
1876
1926
|
text?: string | null;
|
|
1877
1927
|
uploadIds?: Array<(string)> | null;
|
|
1878
1928
|
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
@@ -1896,6 +1946,14 @@ type PostCreateData = {
|
|
|
1896
1946
|
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
1897
1947
|
*/
|
|
1898
1948
|
disableStitch?: boolean | null;
|
|
1949
|
+
/**
|
|
1950
|
+
* Choose a frame of the published video as the cover photo in ms
|
|
1951
|
+
*/
|
|
1952
|
+
thumbnailOffset?: number | null;
|
|
1953
|
+
/**
|
|
1954
|
+
* Set to true if this video is AI generated.
|
|
1955
|
+
*/
|
|
1956
|
+
isAiGenerated?: boolean | null;
|
|
1899
1957
|
} | null;
|
|
1900
1958
|
LINKEDIN?: {
|
|
1901
1959
|
text: string;
|
|
@@ -2022,6 +2080,7 @@ type PostCreateResponse = {
|
|
|
2022
2080
|
uploadIds?: Array<(string)> | null;
|
|
2023
2081
|
} | null;
|
|
2024
2082
|
TIKTOK?: {
|
|
2083
|
+
type?: 'VIDEO' | 'IMAGE';
|
|
2025
2084
|
text?: string | null;
|
|
2026
2085
|
uploadIds?: Array<(string)> | null;
|
|
2027
2086
|
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
@@ -2045,6 +2104,14 @@ type PostCreateResponse = {
|
|
|
2045
2104
|
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
2046
2105
|
*/
|
|
2047
2106
|
disableStitch?: boolean | null;
|
|
2107
|
+
/**
|
|
2108
|
+
* Choose a frame of the published video as the cover photo in ms
|
|
2109
|
+
*/
|
|
2110
|
+
thumbnailOffset?: number | null;
|
|
2111
|
+
/**
|
|
2112
|
+
* Set to true if this video is AI generated.
|
|
2113
|
+
*/
|
|
2114
|
+
isAiGenerated?: boolean | null;
|
|
2048
2115
|
} | null;
|
|
2049
2116
|
LINKEDIN?: {
|
|
2050
2117
|
text: string;
|
|
@@ -2160,6 +2227,7 @@ type PostCreateResponse = {
|
|
|
2160
2227
|
} | null;
|
|
2161
2228
|
LINKEDIN?: {
|
|
2162
2229
|
id?: string | null;
|
|
2230
|
+
activity?: string | null;
|
|
2163
2231
|
permalink?: string | null;
|
|
2164
2232
|
} | null;
|
|
2165
2233
|
REDDIT?: {
|
|
@@ -2194,97 +2262,713 @@ type PostCreateResponse = {
|
|
|
2194
2262
|
updatedAt: string | null;
|
|
2195
2263
|
deletedAt?: string | null;
|
|
2196
2264
|
};
|
|
2197
|
-
type
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2265
|
+
type CommentGetData = {
|
|
2266
|
+
id: string;
|
|
2267
|
+
};
|
|
2268
|
+
type CommentGetResponse = {
|
|
2269
|
+
id: string;
|
|
2270
|
+
teamId: string;
|
|
2271
|
+
internalPostId: string;
|
|
2272
|
+
internalParentCommentId?: string | null;
|
|
2273
|
+
text: string;
|
|
2274
|
+
postDate: string | null;
|
|
2275
|
+
postedDate?: string | null;
|
|
2276
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
2277
|
+
data: {
|
|
2278
|
+
FACEBOOK?: {
|
|
2279
|
+
text?: string | null;
|
|
2280
|
+
} | null;
|
|
2281
|
+
INSTAGRAM?: {
|
|
2282
|
+
text?: string | null;
|
|
2283
|
+
} | null;
|
|
2284
|
+
THREADS?: {
|
|
2285
|
+
text?: string | null;
|
|
2286
|
+
} | null;
|
|
2287
|
+
TIKTOK?: {
|
|
2288
|
+
text?: string | null;
|
|
2289
|
+
} | null;
|
|
2290
|
+
LINKEDIN?: {
|
|
2291
|
+
text: string;
|
|
2292
|
+
} | null;
|
|
2293
|
+
YOUTUBE?: {
|
|
2294
|
+
text?: string | null;
|
|
2295
|
+
} | null;
|
|
2296
|
+
REDDIT?: {
|
|
2297
|
+
text: string;
|
|
2298
|
+
} | null;
|
|
2299
|
+
MASTODON?: {
|
|
2300
|
+
text?: string | null;
|
|
2301
|
+
} | null;
|
|
2302
|
+
DISCORD?: {
|
|
2303
|
+
text?: string | null;
|
|
2304
|
+
} | null;
|
|
2305
|
+
SLACK?: {
|
|
2306
|
+
text?: string | null;
|
|
2307
|
+
} | null;
|
|
2308
|
+
};
|
|
2309
|
+
error?: string | null;
|
|
2310
|
+
errors?: {
|
|
2311
|
+
FACEBOOK?: string | null;
|
|
2312
|
+
INSTAGRAM?: string | null;
|
|
2313
|
+
TIKTOK?: string | null;
|
|
2314
|
+
LINKEDIN?: string | null;
|
|
2315
|
+
REDDIT?: string | null;
|
|
2316
|
+
YOUTUBE?: string | null;
|
|
2317
|
+
MASTODON?: string | null;
|
|
2318
|
+
THREADS?: string | null;
|
|
2319
|
+
DISCORD?: string | null;
|
|
2320
|
+
SLACK?: string | null;
|
|
2321
|
+
} | null;
|
|
2322
|
+
externalData?: {
|
|
2323
|
+
FACEBOOK?: {
|
|
2324
|
+
id?: string | null;
|
|
2325
|
+
permalink?: string | null;
|
|
2326
|
+
} | null;
|
|
2327
|
+
INSTAGRAM?: {
|
|
2328
|
+
id?: string | null;
|
|
2329
|
+
permalink?: string | null;
|
|
2330
|
+
} | null;
|
|
2331
|
+
TIKTOK?: {
|
|
2332
|
+
id?: string | null;
|
|
2333
|
+
permalink?: string | null;
|
|
2334
|
+
} | null;
|
|
2335
|
+
LINKEDIN?: {
|
|
2336
|
+
id?: string | null;
|
|
2337
|
+
commentUrn?: string | null;
|
|
2338
|
+
permalink?: string | null;
|
|
2339
|
+
} | null;
|
|
2340
|
+
REDDIT?: {
|
|
2341
|
+
id?: string | null;
|
|
2342
|
+
permalink?: string | null;
|
|
2343
|
+
} | null;
|
|
2344
|
+
YOUTUBE?: {
|
|
2345
|
+
id?: string | null;
|
|
2346
|
+
permalink?: string | null;
|
|
2347
|
+
} | null;
|
|
2348
|
+
MASTODON?: {
|
|
2349
|
+
id?: string | null;
|
|
2350
|
+
permalink?: string | null;
|
|
2351
|
+
} | null;
|
|
2352
|
+
THREADS?: {
|
|
2353
|
+
id?: string | null;
|
|
2354
|
+
permalink?: string | null;
|
|
2355
|
+
} | null;
|
|
2356
|
+
DISCORD?: {
|
|
2357
|
+
id?: string | null;
|
|
2358
|
+
permalink?: string | null;
|
|
2359
|
+
} | null;
|
|
2360
|
+
SLACK?: {
|
|
2361
|
+
id?: string | null;
|
|
2362
|
+
permalink?: string | null;
|
|
2363
|
+
} | null;
|
|
2364
|
+
} | null;
|
|
2365
|
+
createdAt: string | null;
|
|
2366
|
+
updatedAt: string | null;
|
|
2367
|
+
deletedAt?: string | null;
|
|
2368
|
+
};
|
|
2369
|
+
type CommentUpdateData = {
|
|
2370
|
+
id: string;
|
|
2371
|
+
/**
|
|
2372
|
+
* Body
|
|
2373
|
+
*/
|
|
2374
|
+
requestBody?: {
|
|
2375
|
+
text?: string;
|
|
2376
|
+
internalPostId?: string;
|
|
2377
|
+
internalParentCommentId?: string | null;
|
|
2378
|
+
postDate?: string;
|
|
2379
|
+
status?: 'DRAFT' | 'SCHEDULED';
|
|
2380
|
+
socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
|
|
2381
|
+
data?: {
|
|
2382
|
+
FACEBOOK?: {
|
|
2383
|
+
text?: string | null;
|
|
2384
|
+
} | null;
|
|
2385
|
+
INSTAGRAM?: {
|
|
2386
|
+
text?: string | null;
|
|
2387
|
+
} | null;
|
|
2388
|
+
THREADS?: {
|
|
2389
|
+
text?: string | null;
|
|
2390
|
+
} | null;
|
|
2391
|
+
TIKTOK?: {
|
|
2392
|
+
text?: string | null;
|
|
2393
|
+
} | null;
|
|
2394
|
+
LINKEDIN?: {
|
|
2395
|
+
text: string;
|
|
2396
|
+
} | null;
|
|
2397
|
+
YOUTUBE?: {
|
|
2398
|
+
text?: string | null;
|
|
2399
|
+
} | null;
|
|
2400
|
+
REDDIT?: {
|
|
2401
|
+
text: string;
|
|
2402
|
+
} | null;
|
|
2403
|
+
MASTODON?: {
|
|
2404
|
+
text?: string | null;
|
|
2405
|
+
} | null;
|
|
2406
|
+
DISCORD?: {
|
|
2407
|
+
text?: string | null;
|
|
2408
|
+
} | null;
|
|
2409
|
+
SLACK?: {
|
|
2410
|
+
text?: string | null;
|
|
2411
|
+
} | null;
|
|
2249
2412
|
};
|
|
2250
2413
|
};
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2414
|
+
};
|
|
2415
|
+
type CommentUpdateResponse = {
|
|
2416
|
+
id: string;
|
|
2417
|
+
teamId: string;
|
|
2418
|
+
internalPostId: string;
|
|
2419
|
+
internalParentCommentId?: string | null;
|
|
2420
|
+
text: string;
|
|
2421
|
+
postDate: string | null;
|
|
2422
|
+
postedDate?: string | null;
|
|
2423
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
2424
|
+
data: {
|
|
2425
|
+
FACEBOOK?: {
|
|
2426
|
+
text?: string | null;
|
|
2427
|
+
} | null;
|
|
2428
|
+
INSTAGRAM?: {
|
|
2429
|
+
text?: string | null;
|
|
2430
|
+
} | null;
|
|
2431
|
+
THREADS?: {
|
|
2432
|
+
text?: string | null;
|
|
2433
|
+
} | null;
|
|
2434
|
+
TIKTOK?: {
|
|
2435
|
+
text?: string | null;
|
|
2436
|
+
} | null;
|
|
2437
|
+
LINKEDIN?: {
|
|
2438
|
+
text: string;
|
|
2439
|
+
} | null;
|
|
2440
|
+
YOUTUBE?: {
|
|
2441
|
+
text?: string | null;
|
|
2442
|
+
} | null;
|
|
2443
|
+
REDDIT?: {
|
|
2444
|
+
text: string;
|
|
2445
|
+
} | null;
|
|
2446
|
+
MASTODON?: {
|
|
2447
|
+
text?: string | null;
|
|
2448
|
+
} | null;
|
|
2449
|
+
DISCORD?: {
|
|
2450
|
+
text?: string | null;
|
|
2451
|
+
} | null;
|
|
2452
|
+
SLACK?: {
|
|
2453
|
+
text?: string | null;
|
|
2454
|
+
} | null;
|
|
2455
|
+
};
|
|
2456
|
+
error?: string | null;
|
|
2457
|
+
errors?: {
|
|
2458
|
+
FACEBOOK?: string | null;
|
|
2459
|
+
INSTAGRAM?: string | null;
|
|
2460
|
+
TIKTOK?: string | null;
|
|
2461
|
+
LINKEDIN?: string | null;
|
|
2462
|
+
REDDIT?: string | null;
|
|
2463
|
+
YOUTUBE?: string | null;
|
|
2464
|
+
MASTODON?: string | null;
|
|
2465
|
+
THREADS?: string | null;
|
|
2466
|
+
DISCORD?: string | null;
|
|
2467
|
+
SLACK?: string | null;
|
|
2468
|
+
} | null;
|
|
2469
|
+
externalData?: {
|
|
2470
|
+
FACEBOOK?: {
|
|
2471
|
+
id?: string | null;
|
|
2472
|
+
permalink?: string | null;
|
|
2473
|
+
} | null;
|
|
2474
|
+
INSTAGRAM?: {
|
|
2475
|
+
id?: string | null;
|
|
2476
|
+
permalink?: string | null;
|
|
2477
|
+
} | null;
|
|
2478
|
+
TIKTOK?: {
|
|
2479
|
+
id?: string | null;
|
|
2480
|
+
permalink?: string | null;
|
|
2481
|
+
} | null;
|
|
2482
|
+
LINKEDIN?: {
|
|
2483
|
+
id?: string | null;
|
|
2484
|
+
commentUrn?: string | null;
|
|
2485
|
+
permalink?: string | null;
|
|
2486
|
+
} | null;
|
|
2487
|
+
REDDIT?: {
|
|
2488
|
+
id?: string | null;
|
|
2489
|
+
permalink?: string | null;
|
|
2490
|
+
} | null;
|
|
2491
|
+
YOUTUBE?: {
|
|
2492
|
+
id?: string | null;
|
|
2493
|
+
permalink?: string | null;
|
|
2494
|
+
} | null;
|
|
2495
|
+
MASTODON?: {
|
|
2496
|
+
id?: string | null;
|
|
2497
|
+
permalink?: string | null;
|
|
2498
|
+
} | null;
|
|
2499
|
+
THREADS?: {
|
|
2500
|
+
id?: string | null;
|
|
2501
|
+
permalink?: string | null;
|
|
2502
|
+
} | null;
|
|
2503
|
+
DISCORD?: {
|
|
2504
|
+
id?: string | null;
|
|
2505
|
+
permalink?: string | null;
|
|
2506
|
+
} | null;
|
|
2507
|
+
SLACK?: {
|
|
2508
|
+
id?: string | null;
|
|
2509
|
+
permalink?: string | null;
|
|
2510
|
+
} | null;
|
|
2511
|
+
} | null;
|
|
2512
|
+
createdAt: string | null;
|
|
2513
|
+
updatedAt: string | null;
|
|
2514
|
+
deletedAt?: string | null;
|
|
2515
|
+
};
|
|
2516
|
+
type CommentDeleteData = {
|
|
2517
|
+
id: string;
|
|
2518
|
+
};
|
|
2519
|
+
type CommentDeleteResponse = {
|
|
2520
|
+
id: string;
|
|
2521
|
+
teamId: string;
|
|
2522
|
+
internalPostId: string;
|
|
2523
|
+
internalParentCommentId?: string | null;
|
|
2524
|
+
text: string;
|
|
2525
|
+
postDate: string | null;
|
|
2526
|
+
postedDate?: string | null;
|
|
2527
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
2528
|
+
data: {
|
|
2529
|
+
FACEBOOK?: {
|
|
2530
|
+
text?: string | null;
|
|
2531
|
+
} | null;
|
|
2532
|
+
INSTAGRAM?: {
|
|
2533
|
+
text?: string | null;
|
|
2534
|
+
} | null;
|
|
2535
|
+
THREADS?: {
|
|
2536
|
+
text?: string | null;
|
|
2537
|
+
} | null;
|
|
2538
|
+
TIKTOK?: {
|
|
2539
|
+
text?: string | null;
|
|
2540
|
+
} | null;
|
|
2541
|
+
LINKEDIN?: {
|
|
2542
|
+
text: string;
|
|
2543
|
+
} | null;
|
|
2544
|
+
YOUTUBE?: {
|
|
2545
|
+
text?: string | null;
|
|
2546
|
+
} | null;
|
|
2547
|
+
REDDIT?: {
|
|
2548
|
+
text: string;
|
|
2549
|
+
} | null;
|
|
2550
|
+
MASTODON?: {
|
|
2551
|
+
text?: string | null;
|
|
2552
|
+
} | null;
|
|
2553
|
+
DISCORD?: {
|
|
2554
|
+
text?: string | null;
|
|
2555
|
+
} | null;
|
|
2556
|
+
SLACK?: {
|
|
2557
|
+
text?: string | null;
|
|
2558
|
+
} | null;
|
|
2559
|
+
};
|
|
2560
|
+
error?: string | null;
|
|
2561
|
+
errors?: {
|
|
2562
|
+
FACEBOOK?: string | null;
|
|
2563
|
+
INSTAGRAM?: string | null;
|
|
2564
|
+
TIKTOK?: string | null;
|
|
2565
|
+
LINKEDIN?: string | null;
|
|
2566
|
+
REDDIT?: string | null;
|
|
2567
|
+
YOUTUBE?: string | null;
|
|
2568
|
+
MASTODON?: string | null;
|
|
2569
|
+
THREADS?: string | null;
|
|
2570
|
+
DISCORD?: string | null;
|
|
2571
|
+
SLACK?: string | null;
|
|
2572
|
+
} | null;
|
|
2573
|
+
externalData?: {
|
|
2574
|
+
FACEBOOK?: {
|
|
2575
|
+
id?: string | null;
|
|
2576
|
+
permalink?: string | null;
|
|
2577
|
+
} | null;
|
|
2578
|
+
INSTAGRAM?: {
|
|
2579
|
+
id?: string | null;
|
|
2580
|
+
permalink?: string | null;
|
|
2581
|
+
} | null;
|
|
2582
|
+
TIKTOK?: {
|
|
2583
|
+
id?: string | null;
|
|
2584
|
+
permalink?: string | null;
|
|
2585
|
+
} | null;
|
|
2586
|
+
LINKEDIN?: {
|
|
2587
|
+
id?: string | null;
|
|
2588
|
+
commentUrn?: string | null;
|
|
2589
|
+
permalink?: string | null;
|
|
2590
|
+
} | null;
|
|
2591
|
+
REDDIT?: {
|
|
2592
|
+
id?: string | null;
|
|
2593
|
+
permalink?: string | null;
|
|
2594
|
+
} | null;
|
|
2595
|
+
YOUTUBE?: {
|
|
2596
|
+
id?: string | null;
|
|
2597
|
+
permalink?: string | null;
|
|
2598
|
+
} | null;
|
|
2599
|
+
MASTODON?: {
|
|
2600
|
+
id?: string | null;
|
|
2601
|
+
permalink?: string | null;
|
|
2602
|
+
} | null;
|
|
2603
|
+
THREADS?: {
|
|
2604
|
+
id?: string | null;
|
|
2605
|
+
permalink?: string | null;
|
|
2606
|
+
} | null;
|
|
2607
|
+
DISCORD?: {
|
|
2608
|
+
id?: string | null;
|
|
2609
|
+
permalink?: string | null;
|
|
2610
|
+
} | null;
|
|
2611
|
+
SLACK?: {
|
|
2612
|
+
id?: string | null;
|
|
2613
|
+
permalink?: string | null;
|
|
2614
|
+
} | null;
|
|
2615
|
+
} | null;
|
|
2616
|
+
createdAt: string | null;
|
|
2617
|
+
updatedAt: string | null;
|
|
2618
|
+
deletedAt?: string | null;
|
|
2619
|
+
};
|
|
2620
|
+
type CommentGetListData = {
|
|
2621
|
+
limit?: number | null;
|
|
2622
|
+
offset?: number | null;
|
|
2623
|
+
order?: 'ASC' | 'DESC';
|
|
2624
|
+
orderBy?: 'createdAt' | 'updatedAt' | 'deletedAt';
|
|
2625
|
+
platforms?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
|
|
2626
|
+
q?: string;
|
|
2627
|
+
status?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
2628
|
+
teamId: string;
|
|
2629
|
+
};
|
|
2630
|
+
type CommentGetListResponse = {
|
|
2631
|
+
items: Array<{
|
|
2632
|
+
id: string;
|
|
2633
|
+
teamId: string;
|
|
2634
|
+
internalPostId: string;
|
|
2635
|
+
internalParentCommentId?: string | null;
|
|
2636
|
+
text: string;
|
|
2637
|
+
postDate: string | null;
|
|
2638
|
+
postedDate?: string | null;
|
|
2639
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
2640
|
+
data: {
|
|
2641
|
+
FACEBOOK?: {
|
|
2642
|
+
text?: string | null;
|
|
2643
|
+
} | null;
|
|
2644
|
+
INSTAGRAM?: {
|
|
2645
|
+
text?: string | null;
|
|
2646
|
+
} | null;
|
|
2647
|
+
THREADS?: {
|
|
2648
|
+
text?: string | null;
|
|
2649
|
+
} | null;
|
|
2650
|
+
TIKTOK?: {
|
|
2651
|
+
text?: string | null;
|
|
2652
|
+
} | null;
|
|
2653
|
+
LINKEDIN?: {
|
|
2654
|
+
text: string;
|
|
2655
|
+
} | null;
|
|
2656
|
+
YOUTUBE?: {
|
|
2657
|
+
text?: string | null;
|
|
2658
|
+
} | null;
|
|
2659
|
+
REDDIT?: {
|
|
2660
|
+
text: string;
|
|
2661
|
+
} | null;
|
|
2662
|
+
MASTODON?: {
|
|
2663
|
+
text?: string | null;
|
|
2664
|
+
} | null;
|
|
2665
|
+
DISCORD?: {
|
|
2666
|
+
text?: string | null;
|
|
2667
|
+
} | null;
|
|
2668
|
+
SLACK?: {
|
|
2669
|
+
text?: string | null;
|
|
2670
|
+
} | null;
|
|
2671
|
+
};
|
|
2672
|
+
error?: string | null;
|
|
2673
|
+
errors?: {
|
|
2674
|
+
FACEBOOK?: string | null;
|
|
2675
|
+
INSTAGRAM?: string | null;
|
|
2676
|
+
TIKTOK?: string | null;
|
|
2677
|
+
LINKEDIN?: string | null;
|
|
2678
|
+
REDDIT?: string | null;
|
|
2679
|
+
YOUTUBE?: string | null;
|
|
2680
|
+
MASTODON?: string | null;
|
|
2681
|
+
THREADS?: string | null;
|
|
2682
|
+
DISCORD?: string | null;
|
|
2683
|
+
SLACK?: string | null;
|
|
2684
|
+
} | null;
|
|
2685
|
+
externalData?: {
|
|
2686
|
+
FACEBOOK?: {
|
|
2687
|
+
id?: string | null;
|
|
2688
|
+
permalink?: string | null;
|
|
2689
|
+
} | null;
|
|
2690
|
+
INSTAGRAM?: {
|
|
2691
|
+
id?: string | null;
|
|
2692
|
+
permalink?: string | null;
|
|
2693
|
+
} | null;
|
|
2694
|
+
TIKTOK?: {
|
|
2695
|
+
id?: string | null;
|
|
2696
|
+
permalink?: string | null;
|
|
2697
|
+
} | null;
|
|
2698
|
+
LINKEDIN?: {
|
|
2699
|
+
id?: string | null;
|
|
2700
|
+
commentUrn?: string | null;
|
|
2701
|
+
permalink?: string | null;
|
|
2702
|
+
} | null;
|
|
2703
|
+
REDDIT?: {
|
|
2704
|
+
id?: string | null;
|
|
2705
|
+
permalink?: string | null;
|
|
2706
|
+
} | null;
|
|
2707
|
+
YOUTUBE?: {
|
|
2708
|
+
id?: string | null;
|
|
2709
|
+
permalink?: string | null;
|
|
2710
|
+
} | null;
|
|
2711
|
+
MASTODON?: {
|
|
2712
|
+
id?: string | null;
|
|
2713
|
+
permalink?: string | null;
|
|
2714
|
+
} | null;
|
|
2715
|
+
THREADS?: {
|
|
2716
|
+
id?: string | null;
|
|
2717
|
+
permalink?: string | null;
|
|
2718
|
+
} | null;
|
|
2719
|
+
DISCORD?: {
|
|
2720
|
+
id?: string | null;
|
|
2721
|
+
permalink?: string | null;
|
|
2722
|
+
} | null;
|
|
2723
|
+
SLACK?: {
|
|
2724
|
+
id?: string | null;
|
|
2725
|
+
permalink?: string | null;
|
|
2726
|
+
} | null;
|
|
2727
|
+
} | null;
|
|
2728
|
+
createdAt: string | null;
|
|
2729
|
+
updatedAt: string | null;
|
|
2730
|
+
deletedAt?: string | null;
|
|
2731
|
+
}>;
|
|
2732
|
+
total: number;
|
|
2733
|
+
};
|
|
2734
|
+
type CommentCreateData = {
|
|
2735
|
+
/**
|
|
2736
|
+
* Body
|
|
2737
|
+
*/
|
|
2738
|
+
requestBody?: {
|
|
2739
|
+
teamId: string;
|
|
2740
|
+
text: string;
|
|
2741
|
+
internalPostId: string;
|
|
2742
|
+
internalParentCommentId?: string | null;
|
|
2743
|
+
postDate: string;
|
|
2744
|
+
status: 'DRAFT' | 'SCHEDULED';
|
|
2745
|
+
socialAccountTypes: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
|
|
2746
|
+
data: {
|
|
2747
|
+
FACEBOOK?: {
|
|
2748
|
+
text?: string | null;
|
|
2749
|
+
} | null;
|
|
2750
|
+
INSTAGRAM?: {
|
|
2751
|
+
text?: string | null;
|
|
2752
|
+
} | null;
|
|
2753
|
+
THREADS?: {
|
|
2754
|
+
text?: string | null;
|
|
2755
|
+
} | null;
|
|
2756
|
+
TIKTOK?: {
|
|
2757
|
+
text?: string | null;
|
|
2758
|
+
} | null;
|
|
2759
|
+
LINKEDIN?: {
|
|
2760
|
+
text: string;
|
|
2761
|
+
} | null;
|
|
2762
|
+
YOUTUBE?: {
|
|
2763
|
+
text?: string | null;
|
|
2764
|
+
} | null;
|
|
2765
|
+
REDDIT?: {
|
|
2766
|
+
text: string;
|
|
2767
|
+
} | null;
|
|
2768
|
+
MASTODON?: {
|
|
2769
|
+
text?: string | null;
|
|
2770
|
+
} | null;
|
|
2771
|
+
DISCORD?: {
|
|
2772
|
+
text?: string | null;
|
|
2773
|
+
} | null;
|
|
2774
|
+
SLACK?: {
|
|
2775
|
+
text?: string | null;
|
|
2776
|
+
} | null;
|
|
2777
|
+
};
|
|
2778
|
+
};
|
|
2779
|
+
};
|
|
2780
|
+
type CommentCreateResponse = {
|
|
2781
|
+
id: string;
|
|
2782
|
+
teamId: string;
|
|
2783
|
+
internalPostId: string;
|
|
2784
|
+
internalParentCommentId?: string | null;
|
|
2785
|
+
text: string;
|
|
2786
|
+
postDate: string | null;
|
|
2787
|
+
postedDate?: string | null;
|
|
2788
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
2789
|
+
data: {
|
|
2790
|
+
FACEBOOK?: {
|
|
2791
|
+
text?: string | null;
|
|
2792
|
+
} | null;
|
|
2793
|
+
INSTAGRAM?: {
|
|
2794
|
+
text?: string | null;
|
|
2795
|
+
} | null;
|
|
2796
|
+
THREADS?: {
|
|
2797
|
+
text?: string | null;
|
|
2798
|
+
} | null;
|
|
2799
|
+
TIKTOK?: {
|
|
2800
|
+
text?: string | null;
|
|
2801
|
+
} | null;
|
|
2802
|
+
LINKEDIN?: {
|
|
2803
|
+
text: string;
|
|
2804
|
+
} | null;
|
|
2805
|
+
YOUTUBE?: {
|
|
2806
|
+
text?: string | null;
|
|
2807
|
+
} | null;
|
|
2808
|
+
REDDIT?: {
|
|
2809
|
+
text: string;
|
|
2810
|
+
} | null;
|
|
2811
|
+
MASTODON?: {
|
|
2812
|
+
text?: string | null;
|
|
2813
|
+
} | null;
|
|
2814
|
+
DISCORD?: {
|
|
2815
|
+
text?: string | null;
|
|
2816
|
+
} | null;
|
|
2817
|
+
SLACK?: {
|
|
2818
|
+
text?: string | null;
|
|
2819
|
+
} | null;
|
|
2820
|
+
};
|
|
2821
|
+
error?: string | null;
|
|
2822
|
+
errors?: {
|
|
2823
|
+
FACEBOOK?: string | null;
|
|
2824
|
+
INSTAGRAM?: string | null;
|
|
2825
|
+
TIKTOK?: string | null;
|
|
2826
|
+
LINKEDIN?: string | null;
|
|
2827
|
+
REDDIT?: string | null;
|
|
2828
|
+
YOUTUBE?: string | null;
|
|
2829
|
+
MASTODON?: string | null;
|
|
2830
|
+
THREADS?: string | null;
|
|
2831
|
+
DISCORD?: string | null;
|
|
2832
|
+
SLACK?: string | null;
|
|
2833
|
+
} | null;
|
|
2834
|
+
externalData?: {
|
|
2835
|
+
FACEBOOK?: {
|
|
2836
|
+
id?: string | null;
|
|
2837
|
+
permalink?: string | null;
|
|
2838
|
+
} | null;
|
|
2839
|
+
INSTAGRAM?: {
|
|
2840
|
+
id?: string | null;
|
|
2841
|
+
permalink?: string | null;
|
|
2842
|
+
} | null;
|
|
2843
|
+
TIKTOK?: {
|
|
2844
|
+
id?: string | null;
|
|
2845
|
+
permalink?: string | null;
|
|
2846
|
+
} | null;
|
|
2847
|
+
LINKEDIN?: {
|
|
2848
|
+
id?: string | null;
|
|
2849
|
+
commentUrn?: string | null;
|
|
2850
|
+
permalink?: string | null;
|
|
2851
|
+
} | null;
|
|
2852
|
+
REDDIT?: {
|
|
2853
|
+
id?: string | null;
|
|
2854
|
+
permalink?: string | null;
|
|
2855
|
+
} | null;
|
|
2856
|
+
YOUTUBE?: {
|
|
2857
|
+
id?: string | null;
|
|
2858
|
+
permalink?: string | null;
|
|
2859
|
+
} | null;
|
|
2860
|
+
MASTODON?: {
|
|
2861
|
+
id?: string | null;
|
|
2862
|
+
permalink?: string | null;
|
|
2863
|
+
} | null;
|
|
2864
|
+
THREADS?: {
|
|
2865
|
+
id?: string | null;
|
|
2866
|
+
permalink?: string | null;
|
|
2867
|
+
} | null;
|
|
2868
|
+
DISCORD?: {
|
|
2869
|
+
id?: string | null;
|
|
2870
|
+
permalink?: string | null;
|
|
2871
|
+
} | null;
|
|
2872
|
+
SLACK?: {
|
|
2873
|
+
id?: string | null;
|
|
2874
|
+
permalink?: string | null;
|
|
2875
|
+
} | null;
|
|
2876
|
+
} | null;
|
|
2877
|
+
createdAt: string | null;
|
|
2878
|
+
updatedAt: string | null;
|
|
2879
|
+
deletedAt?: string | null;
|
|
2880
|
+
};
|
|
2881
|
+
type $OpenApiTs = {
|
|
2882
|
+
'/api/v1/': {
|
|
2883
|
+
get: {
|
|
2884
|
+
res: {
|
|
2885
|
+
/**
|
|
2886
|
+
* 200
|
|
2887
|
+
*/
|
|
2888
|
+
200: {
|
|
2889
|
+
status: string;
|
|
2890
|
+
createdAt: string;
|
|
2891
|
+
};
|
|
2892
|
+
/**
|
|
2893
|
+
* 400
|
|
2894
|
+
*/
|
|
2895
|
+
400: {
|
|
2896
|
+
message: string;
|
|
2897
|
+
issues?: Array<{
|
|
2898
|
+
message: string;
|
|
2899
|
+
path?: Array<(string | number)> | null;
|
|
2900
|
+
}> | null;
|
|
2901
|
+
};
|
|
2902
|
+
/**
|
|
2903
|
+
* 401
|
|
2904
|
+
*/
|
|
2905
|
+
401: {
|
|
2906
|
+
message: string;
|
|
2907
|
+
};
|
|
2908
|
+
/**
|
|
2909
|
+
* 403
|
|
2910
|
+
*/
|
|
2911
|
+
403: {
|
|
2912
|
+
message: string;
|
|
2913
|
+
};
|
|
2914
|
+
/**
|
|
2915
|
+
* 404
|
|
2916
|
+
*/
|
|
2917
|
+
404: {
|
|
2918
|
+
message: string;
|
|
2919
|
+
};
|
|
2920
|
+
/**
|
|
2921
|
+
* 429
|
|
2922
|
+
*/
|
|
2923
|
+
429: {
|
|
2924
|
+
message: string;
|
|
2925
|
+
};
|
|
2926
|
+
/**
|
|
2927
|
+
* 500
|
|
2928
|
+
*/
|
|
2929
|
+
500: {
|
|
2930
|
+
message: string;
|
|
2931
|
+
};
|
|
2932
|
+
};
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
2935
|
+
'/api/v1/organization/': {
|
|
2936
|
+
get: {
|
|
2937
|
+
res: {
|
|
2938
|
+
/**
|
|
2939
|
+
* 200
|
|
2940
|
+
*/
|
|
2941
|
+
200: {
|
|
2942
|
+
id: string;
|
|
2943
|
+
createdById: string;
|
|
2944
|
+
promotionCodeId?: string | null;
|
|
2945
|
+
name?: string | null;
|
|
2946
|
+
avatarUrl?: string | null;
|
|
2947
|
+
apiAccess?: boolean;
|
|
2948
|
+
ref?: string | null;
|
|
2949
|
+
createdAt: string | null;
|
|
2950
|
+
updatedAt: string | null;
|
|
2951
|
+
deletedAt?: string | null;
|
|
2952
|
+
teams: Array<{
|
|
2953
|
+
id: string;
|
|
2954
|
+
name: string;
|
|
2955
|
+
avatarUrl?: string | null;
|
|
2956
|
+
organizationId: string;
|
|
2957
|
+
createdById: string;
|
|
2958
|
+
createdAt: string | null;
|
|
2959
|
+
updatedAt: string | null;
|
|
2960
|
+
deletedAt?: string | null;
|
|
2961
|
+
}>;
|
|
2962
|
+
createdBy: {
|
|
2963
|
+
id: string;
|
|
2964
|
+
externalId: string;
|
|
2965
|
+
email: string;
|
|
2966
|
+
emailVerified?: string | null;
|
|
2967
|
+
firstName?: string | null;
|
|
2968
|
+
lastName?: string | null;
|
|
2969
|
+
avatarUrl?: string | null;
|
|
2970
|
+
role: 'ADMIN' | 'CUSTOMER';
|
|
2971
|
+
createdAt: string | null;
|
|
2288
2972
|
updatedAt: string | null;
|
|
2289
2973
|
deletedAt?: string | null;
|
|
2290
2974
|
};
|
|
@@ -2592,18 +3276,267 @@ type $OpenApiTs = {
|
|
|
2592
3276
|
};
|
|
2593
3277
|
};
|
|
2594
3278
|
};
|
|
2595
|
-
patch: {
|
|
2596
|
-
req: TeamUpdateTeamData;
|
|
3279
|
+
patch: {
|
|
3280
|
+
req: TeamUpdateTeamData;
|
|
3281
|
+
res: {
|
|
3282
|
+
/**
|
|
3283
|
+
* 200
|
|
3284
|
+
*/
|
|
3285
|
+
200: {
|
|
3286
|
+
id: string;
|
|
3287
|
+
name: string;
|
|
3288
|
+
avatarUrl?: string | null;
|
|
3289
|
+
organizationId: string;
|
|
3290
|
+
createdById: string;
|
|
3291
|
+
createdAt: string | null;
|
|
3292
|
+
updatedAt: string | null;
|
|
3293
|
+
deletedAt?: string | null;
|
|
3294
|
+
};
|
|
3295
|
+
/**
|
|
3296
|
+
* 400
|
|
3297
|
+
*/
|
|
3298
|
+
400: {
|
|
3299
|
+
message: string;
|
|
3300
|
+
issues?: Array<{
|
|
3301
|
+
message: string;
|
|
3302
|
+
path?: Array<(string | number)> | null;
|
|
3303
|
+
}> | null;
|
|
3304
|
+
};
|
|
3305
|
+
/**
|
|
3306
|
+
* 401
|
|
3307
|
+
*/
|
|
3308
|
+
401: {
|
|
3309
|
+
message: string;
|
|
3310
|
+
};
|
|
3311
|
+
/**
|
|
3312
|
+
* 403
|
|
3313
|
+
*/
|
|
3314
|
+
403: {
|
|
3315
|
+
message: string;
|
|
3316
|
+
};
|
|
3317
|
+
/**
|
|
3318
|
+
* 404
|
|
3319
|
+
*/
|
|
3320
|
+
404: {
|
|
3321
|
+
message: string;
|
|
3322
|
+
};
|
|
3323
|
+
/**
|
|
3324
|
+
* 429
|
|
3325
|
+
*/
|
|
3326
|
+
429: {
|
|
3327
|
+
message: string;
|
|
3328
|
+
};
|
|
3329
|
+
/**
|
|
3330
|
+
* 500
|
|
3331
|
+
*/
|
|
3332
|
+
500: {
|
|
3333
|
+
message: string;
|
|
3334
|
+
};
|
|
3335
|
+
};
|
|
3336
|
+
};
|
|
3337
|
+
delete: {
|
|
3338
|
+
req: TeamDeleteTeamData;
|
|
3339
|
+
res: {
|
|
3340
|
+
/**
|
|
3341
|
+
* 200
|
|
3342
|
+
*/
|
|
3343
|
+
200: {
|
|
3344
|
+
id: string;
|
|
3345
|
+
name: string;
|
|
3346
|
+
avatarUrl?: string | null;
|
|
3347
|
+
organizationId: string;
|
|
3348
|
+
createdById: string;
|
|
3349
|
+
createdAt: string | null;
|
|
3350
|
+
updatedAt: string | null;
|
|
3351
|
+
deletedAt?: string | null;
|
|
3352
|
+
};
|
|
3353
|
+
/**
|
|
3354
|
+
* 400
|
|
3355
|
+
*/
|
|
3356
|
+
400: {
|
|
3357
|
+
message: string;
|
|
3358
|
+
issues?: Array<{
|
|
3359
|
+
message: string;
|
|
3360
|
+
path?: Array<(string | number)> | null;
|
|
3361
|
+
}> | null;
|
|
3362
|
+
};
|
|
3363
|
+
/**
|
|
3364
|
+
* 401
|
|
3365
|
+
*/
|
|
3366
|
+
401: {
|
|
3367
|
+
message: string;
|
|
3368
|
+
};
|
|
3369
|
+
/**
|
|
3370
|
+
* 403
|
|
3371
|
+
*/
|
|
3372
|
+
403: {
|
|
3373
|
+
message: string;
|
|
3374
|
+
};
|
|
3375
|
+
/**
|
|
3376
|
+
* 404
|
|
3377
|
+
*/
|
|
3378
|
+
404: {
|
|
3379
|
+
message: string;
|
|
3380
|
+
};
|
|
3381
|
+
/**
|
|
3382
|
+
* 429
|
|
3383
|
+
*/
|
|
3384
|
+
429: {
|
|
3385
|
+
message: string;
|
|
3386
|
+
};
|
|
3387
|
+
/**
|
|
3388
|
+
* 500
|
|
3389
|
+
*/
|
|
3390
|
+
500: {
|
|
3391
|
+
message: string;
|
|
3392
|
+
};
|
|
3393
|
+
};
|
|
3394
|
+
};
|
|
3395
|
+
};
|
|
3396
|
+
'/api/v1/team/': {
|
|
3397
|
+
post: {
|
|
3398
|
+
req: TeamCreateTeamData;
|
|
3399
|
+
res: {
|
|
3400
|
+
/**
|
|
3401
|
+
* 200
|
|
3402
|
+
*/
|
|
3403
|
+
200: {
|
|
3404
|
+
id: string;
|
|
3405
|
+
name: string;
|
|
3406
|
+
avatarUrl?: string | null;
|
|
3407
|
+
organizationId: string;
|
|
3408
|
+
createdById: string;
|
|
3409
|
+
createdAt: string | null;
|
|
3410
|
+
updatedAt: string | null;
|
|
3411
|
+
deletedAt?: string | null;
|
|
3412
|
+
};
|
|
3413
|
+
/**
|
|
3414
|
+
* 400
|
|
3415
|
+
*/
|
|
3416
|
+
400: {
|
|
3417
|
+
message: string;
|
|
3418
|
+
issues?: Array<{
|
|
3419
|
+
message: string;
|
|
3420
|
+
path?: Array<(string | number)> | null;
|
|
3421
|
+
}> | null;
|
|
3422
|
+
};
|
|
3423
|
+
/**
|
|
3424
|
+
* 401
|
|
3425
|
+
*/
|
|
3426
|
+
401: {
|
|
3427
|
+
message: string;
|
|
3428
|
+
};
|
|
3429
|
+
/**
|
|
3430
|
+
* 403
|
|
3431
|
+
*/
|
|
3432
|
+
403: {
|
|
3433
|
+
message: string;
|
|
3434
|
+
};
|
|
3435
|
+
/**
|
|
3436
|
+
* 404
|
|
3437
|
+
*/
|
|
3438
|
+
404: {
|
|
3439
|
+
message: string;
|
|
3440
|
+
};
|
|
3441
|
+
/**
|
|
3442
|
+
* 429
|
|
3443
|
+
*/
|
|
3444
|
+
429: {
|
|
3445
|
+
message: string;
|
|
3446
|
+
};
|
|
3447
|
+
/**
|
|
3448
|
+
* 500
|
|
3449
|
+
*/
|
|
3450
|
+
500: {
|
|
3451
|
+
message: string;
|
|
3452
|
+
};
|
|
3453
|
+
};
|
|
3454
|
+
};
|
|
3455
|
+
};
|
|
3456
|
+
'/api/v1/social-account/connect': {
|
|
3457
|
+
post: {
|
|
3458
|
+
req: SocialAccountConnectData;
|
|
3459
|
+
res: {
|
|
3460
|
+
/**
|
|
3461
|
+
* 200
|
|
3462
|
+
*/
|
|
3463
|
+
200: {
|
|
3464
|
+
/**
|
|
3465
|
+
* OAuth URL - Redirect user to this URL to connect social account
|
|
3466
|
+
*/
|
|
3467
|
+
url: string;
|
|
3468
|
+
};
|
|
3469
|
+
/**
|
|
3470
|
+
* 400
|
|
3471
|
+
*/
|
|
3472
|
+
400: {
|
|
3473
|
+
message: string;
|
|
3474
|
+
issues?: Array<{
|
|
3475
|
+
message: string;
|
|
3476
|
+
path?: Array<(string | number)> | null;
|
|
3477
|
+
}> | null;
|
|
3478
|
+
};
|
|
3479
|
+
/**
|
|
3480
|
+
* 401
|
|
3481
|
+
*/
|
|
3482
|
+
401: {
|
|
3483
|
+
message: string;
|
|
3484
|
+
};
|
|
3485
|
+
/**
|
|
3486
|
+
* 403
|
|
3487
|
+
*/
|
|
3488
|
+
403: {
|
|
3489
|
+
message: string;
|
|
3490
|
+
};
|
|
3491
|
+
/**
|
|
3492
|
+
* 404
|
|
3493
|
+
*/
|
|
3494
|
+
404: {
|
|
3495
|
+
message: string;
|
|
3496
|
+
};
|
|
3497
|
+
/**
|
|
3498
|
+
* 429
|
|
3499
|
+
*/
|
|
3500
|
+
429: {
|
|
3501
|
+
message: string;
|
|
3502
|
+
};
|
|
3503
|
+
/**
|
|
3504
|
+
* 500
|
|
3505
|
+
*/
|
|
3506
|
+
500: {
|
|
3507
|
+
message: string;
|
|
3508
|
+
};
|
|
3509
|
+
};
|
|
3510
|
+
};
|
|
3511
|
+
};
|
|
3512
|
+
'/api/v1/social-account/disconnect': {
|
|
3513
|
+
delete: {
|
|
3514
|
+
req: SocialAccountDisconnectData;
|
|
2597
3515
|
res: {
|
|
2598
3516
|
/**
|
|
2599
3517
|
* 200
|
|
2600
3518
|
*/
|
|
2601
3519
|
200: {
|
|
2602
3520
|
id: string;
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
3521
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
|
|
3522
|
+
teamId: string;
|
|
3523
|
+
username?: string | null;
|
|
3524
|
+
displayName?: string | null;
|
|
3525
|
+
externalId?: string | null;
|
|
3526
|
+
userUsername?: string | null;
|
|
3527
|
+
userDisplayName?: string | null;
|
|
3528
|
+
userId?: string | null;
|
|
3529
|
+
channels?: Array<{
|
|
3530
|
+
id: string;
|
|
3531
|
+
name?: string | null;
|
|
3532
|
+
username?: string | null;
|
|
3533
|
+
webhook?: {
|
|
3534
|
+
id?: string | null;
|
|
3535
|
+
name?: string | null;
|
|
3536
|
+
avatar?: string | null;
|
|
3537
|
+
url?: string | null;
|
|
3538
|
+
} | null;
|
|
3539
|
+
}> | null;
|
|
2607
3540
|
createdAt: string | null;
|
|
2608
3541
|
updatedAt: string | null;
|
|
2609
3542
|
deletedAt?: string | null;
|
|
@@ -2650,18 +3583,35 @@ type $OpenApiTs = {
|
|
|
2650
3583
|
};
|
|
2651
3584
|
};
|
|
2652
3585
|
};
|
|
2653
|
-
|
|
2654
|
-
|
|
3586
|
+
};
|
|
3587
|
+
'/api/v1/social-account/set-channel': {
|
|
3588
|
+
post: {
|
|
3589
|
+
req: SocialAccountSetChannelData;
|
|
2655
3590
|
res: {
|
|
2656
3591
|
/**
|
|
2657
3592
|
* 200
|
|
2658
3593
|
*/
|
|
2659
3594
|
200: {
|
|
2660
3595
|
id: string;
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
3596
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
|
|
3597
|
+
teamId: string;
|
|
3598
|
+
username?: string | null;
|
|
3599
|
+
displayName?: string | null;
|
|
3600
|
+
externalId?: string | null;
|
|
3601
|
+
userUsername?: string | null;
|
|
3602
|
+
userDisplayName?: string | null;
|
|
3603
|
+
userId?: string | null;
|
|
3604
|
+
channels?: Array<{
|
|
3605
|
+
id: string;
|
|
3606
|
+
name?: string | null;
|
|
3607
|
+
username?: string | null;
|
|
3608
|
+
webhook?: {
|
|
3609
|
+
id?: string | null;
|
|
3610
|
+
name?: string | null;
|
|
3611
|
+
avatar?: string | null;
|
|
3612
|
+
url?: string | null;
|
|
3613
|
+
} | null;
|
|
3614
|
+
}> | null;
|
|
2665
3615
|
createdAt: string | null;
|
|
2666
3616
|
updatedAt: string | null;
|
|
2667
3617
|
deletedAt?: string | null;
|
|
@@ -2709,19 +3659,34 @@ type $OpenApiTs = {
|
|
|
2709
3659
|
};
|
|
2710
3660
|
};
|
|
2711
3661
|
};
|
|
2712
|
-
'/api/v1/
|
|
3662
|
+
'/api/v1/social-account/refresh-channels': {
|
|
2713
3663
|
post: {
|
|
2714
|
-
req:
|
|
3664
|
+
req: SocialAccountRefreshChannelsData;
|
|
2715
3665
|
res: {
|
|
2716
3666
|
/**
|
|
2717
3667
|
* 200
|
|
2718
3668
|
*/
|
|
2719
3669
|
200: {
|
|
2720
3670
|
id: string;
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
3671
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
|
|
3672
|
+
teamId: string;
|
|
3673
|
+
username?: string | null;
|
|
3674
|
+
displayName?: string | null;
|
|
3675
|
+
externalId?: string | null;
|
|
3676
|
+
userUsername?: string | null;
|
|
3677
|
+
userDisplayName?: string | null;
|
|
3678
|
+
userId?: string | null;
|
|
3679
|
+
channels?: Array<{
|
|
3680
|
+
id: string;
|
|
3681
|
+
name?: string | null;
|
|
3682
|
+
username?: string | null;
|
|
3683
|
+
webhook?: {
|
|
3684
|
+
id?: string | null;
|
|
3685
|
+
name?: string | null;
|
|
3686
|
+
avatar?: string | null;
|
|
3687
|
+
url?: string | null;
|
|
3688
|
+
} | null;
|
|
3689
|
+
}> | null;
|
|
2725
3690
|
createdAt: string | null;
|
|
2726
3691
|
updatedAt: string | null;
|
|
2727
3692
|
deletedAt?: string | null;
|
|
@@ -2769,17 +3734,14 @@ type $OpenApiTs = {
|
|
|
2769
3734
|
};
|
|
2770
3735
|
};
|
|
2771
3736
|
};
|
|
2772
|
-
'/api/v1/social-account/
|
|
3737
|
+
'/api/v1/social-account/create-portal-link': {
|
|
2773
3738
|
post: {
|
|
2774
|
-
req:
|
|
3739
|
+
req: SocialAccountCreatePortalLinkData;
|
|
2775
3740
|
res: {
|
|
2776
3741
|
/**
|
|
2777
3742
|
* 200
|
|
2778
3743
|
*/
|
|
2779
3744
|
200: {
|
|
2780
|
-
/**
|
|
2781
|
-
* OAuth URL - Redirect user to this URL to connect social account
|
|
2782
|
-
*/
|
|
2783
3745
|
url: string;
|
|
2784
3746
|
};
|
|
2785
3747
|
/**
|
|
@@ -2825,38 +3787,40 @@ type $OpenApiTs = {
|
|
|
2825
3787
|
};
|
|
2826
3788
|
};
|
|
2827
3789
|
};
|
|
2828
|
-
'/api/v1/
|
|
2829
|
-
|
|
2830
|
-
req:
|
|
3790
|
+
'/api/v1/upload/': {
|
|
3791
|
+
get: {
|
|
3792
|
+
req: UploadGetListData;
|
|
2831
3793
|
res: {
|
|
2832
3794
|
/**
|
|
2833
3795
|
* 200
|
|
2834
3796
|
*/
|
|
2835
|
-
200: {
|
|
3797
|
+
200: Array<{
|
|
2836
3798
|
id: string;
|
|
2837
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
|
|
2838
3799
|
teamId: string;
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
url?: string | null;
|
|
2854
|
-
} | null;
|
|
2855
|
-
}> | null;
|
|
3800
|
+
expiresAt?: string | null;
|
|
3801
|
+
iconUrl?: string | null;
|
|
3802
|
+
thumbnailUrl?: string | null;
|
|
3803
|
+
url?: string | null;
|
|
3804
|
+
iconPath?: string | null;
|
|
3805
|
+
thumbnailPath?: string | null;
|
|
3806
|
+
path?: string | null;
|
|
3807
|
+
type: 'image' | 'video';
|
|
3808
|
+
width?: number | null;
|
|
3809
|
+
height?: number | null;
|
|
3810
|
+
fileSize?: number | null;
|
|
3811
|
+
videoLength?: number | null;
|
|
3812
|
+
mime?: string | null;
|
|
3813
|
+
ext?: string | null;
|
|
2856
3814
|
createdAt: string | null;
|
|
2857
3815
|
updatedAt: string | null;
|
|
2858
|
-
|
|
2859
|
-
|
|
3816
|
+
posts: Array<{
|
|
3817
|
+
postId: string;
|
|
3818
|
+
uploadId: string;
|
|
3819
|
+
createdAt: string | null;
|
|
3820
|
+
updatedAt: string | null;
|
|
3821
|
+
deletedAt?: string | null;
|
|
3822
|
+
}>;
|
|
3823
|
+
}>;
|
|
2860
3824
|
/**
|
|
2861
3825
|
* 400
|
|
2862
3826
|
*/
|
|
@@ -2899,38 +3863,31 @@ type $OpenApiTs = {
|
|
|
2899
3863
|
};
|
|
2900
3864
|
};
|
|
2901
3865
|
};
|
|
2902
|
-
};
|
|
2903
|
-
'/api/v1/social-account/set-channel': {
|
|
2904
3866
|
post: {
|
|
2905
|
-
req:
|
|
3867
|
+
req: UploadCreateData;
|
|
2906
3868
|
res: {
|
|
2907
3869
|
/**
|
|
2908
3870
|
* 200
|
|
2909
3871
|
*/
|
|
2910
3872
|
200: {
|
|
2911
3873
|
id: string;
|
|
2912
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
|
|
2913
3874
|
teamId: string;
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
url?: string | null;
|
|
2929
|
-
} | null;
|
|
2930
|
-
}> | null;
|
|
3875
|
+
expiresAt?: string | null;
|
|
3876
|
+
iconUrl?: string | null;
|
|
3877
|
+
thumbnailUrl?: string | null;
|
|
3878
|
+
url?: string | null;
|
|
3879
|
+
iconPath?: string | null;
|
|
3880
|
+
thumbnailPath?: string | null;
|
|
3881
|
+
path?: string | null;
|
|
3882
|
+
type: 'image' | 'video';
|
|
3883
|
+
width?: number | null;
|
|
3884
|
+
height?: number | null;
|
|
3885
|
+
fileSize?: number | null;
|
|
3886
|
+
videoLength?: number | null;
|
|
3887
|
+
mime?: string | null;
|
|
3888
|
+
ext?: string | null;
|
|
2931
3889
|
createdAt: string | null;
|
|
2932
3890
|
updatedAt: string | null;
|
|
2933
|
-
deletedAt?: string | null;
|
|
2934
3891
|
};
|
|
2935
3892
|
/**
|
|
2936
3893
|
* 400
|
|
@@ -2974,39 +3931,32 @@ type $OpenApiTs = {
|
|
|
2974
3931
|
};
|
|
2975
3932
|
};
|
|
2976
3933
|
};
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
post: {
|
|
2980
|
-
req: SocialAccountRefreshChannelsData;
|
|
3934
|
+
delete: {
|
|
3935
|
+
req: UploadDeleteManyData;
|
|
2981
3936
|
res: {
|
|
2982
3937
|
/**
|
|
2983
3938
|
* 200
|
|
2984
3939
|
*/
|
|
2985
|
-
200: {
|
|
3940
|
+
200: Array<{
|
|
2986
3941
|
id: string;
|
|
2987
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
|
|
2988
3942
|
teamId: string;
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
url?: string | null;
|
|
3004
|
-
} | null;
|
|
3005
|
-
}> | null;
|
|
3943
|
+
expiresAt?: string | null;
|
|
3944
|
+
iconUrl?: string | null;
|
|
3945
|
+
thumbnailUrl?: string | null;
|
|
3946
|
+
url?: string | null;
|
|
3947
|
+
iconPath?: string | null;
|
|
3948
|
+
thumbnailPath?: string | null;
|
|
3949
|
+
path?: string | null;
|
|
3950
|
+
type: 'image' | 'video';
|
|
3951
|
+
width?: number | null;
|
|
3952
|
+
height?: number | null;
|
|
3953
|
+
fileSize?: number | null;
|
|
3954
|
+
videoLength?: number | null;
|
|
3955
|
+
mime?: string | null;
|
|
3956
|
+
ext?: string | null;
|
|
3006
3957
|
createdAt: string | null;
|
|
3007
3958
|
updatedAt: string | null;
|
|
3008
|
-
|
|
3009
|
-
};
|
|
3959
|
+
}>;
|
|
3010
3960
|
/**
|
|
3011
3961
|
* 400
|
|
3012
3962
|
*/
|
|
@@ -3050,15 +4000,32 @@ type $OpenApiTs = {
|
|
|
3050
4000
|
};
|
|
3051
4001
|
};
|
|
3052
4002
|
};
|
|
3053
|
-
'/api/v1/
|
|
3054
|
-
|
|
3055
|
-
req:
|
|
4003
|
+
'/api/v1/upload/{id}': {
|
|
4004
|
+
get: {
|
|
4005
|
+
req: UploadGetData;
|
|
3056
4006
|
res: {
|
|
3057
4007
|
/**
|
|
3058
4008
|
* 200
|
|
3059
4009
|
*/
|
|
3060
4010
|
200: {
|
|
3061
|
-
|
|
4011
|
+
id: string;
|
|
4012
|
+
teamId: string;
|
|
4013
|
+
expiresAt?: string | null;
|
|
4014
|
+
iconUrl?: string | null;
|
|
4015
|
+
thumbnailUrl?: string | null;
|
|
4016
|
+
url?: string | null;
|
|
4017
|
+
iconPath?: string | null;
|
|
4018
|
+
thumbnailPath?: string | null;
|
|
4019
|
+
path?: string | null;
|
|
4020
|
+
type: 'image' | 'video';
|
|
4021
|
+
width?: number | null;
|
|
4022
|
+
height?: number | null;
|
|
4023
|
+
fileSize?: number | null;
|
|
4024
|
+
videoLength?: number | null;
|
|
4025
|
+
mime?: string | null;
|
|
4026
|
+
ext?: string | null;
|
|
4027
|
+
createdAt: string | null;
|
|
4028
|
+
updatedAt: string | null;
|
|
3062
4029
|
};
|
|
3063
4030
|
/**
|
|
3064
4031
|
* 400
|
|
@@ -3102,15 +4069,13 @@ type $OpenApiTs = {
|
|
|
3102
4069
|
};
|
|
3103
4070
|
};
|
|
3104
4071
|
};
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
get: {
|
|
3108
|
-
req: UploadGetListData;
|
|
4072
|
+
delete: {
|
|
4073
|
+
req: UploadDeleteData;
|
|
3109
4074
|
res: {
|
|
3110
4075
|
/**
|
|
3111
4076
|
* 200
|
|
3112
4077
|
*/
|
|
3113
|
-
200:
|
|
4078
|
+
200: {
|
|
3114
4079
|
id: string;
|
|
3115
4080
|
teamId: string;
|
|
3116
4081
|
expiresAt?: string | null;
|
|
@@ -3129,14 +4094,7 @@ type $OpenApiTs = {
|
|
|
3129
4094
|
ext?: string | null;
|
|
3130
4095
|
createdAt: string | null;
|
|
3131
4096
|
updatedAt: string | null;
|
|
3132
|
-
|
|
3133
|
-
postId: string;
|
|
3134
|
-
uploadId: string;
|
|
3135
|
-
createdAt: string | null;
|
|
3136
|
-
updatedAt: string | null;
|
|
3137
|
-
deletedAt?: string | null;
|
|
3138
|
-
}>;
|
|
3139
|
-
}>;
|
|
4097
|
+
};
|
|
3140
4098
|
/**
|
|
3141
4099
|
* 400
|
|
3142
4100
|
*/
|
|
@@ -3179,8 +4137,10 @@ type $OpenApiTs = {
|
|
|
3179
4137
|
};
|
|
3180
4138
|
};
|
|
3181
4139
|
};
|
|
3182
|
-
|
|
3183
|
-
|
|
4140
|
+
};
|
|
4141
|
+
'/api/v1/post/{id}': {
|
|
4142
|
+
get: {
|
|
4143
|
+
req: PostGetData;
|
|
3184
4144
|
res: {
|
|
3185
4145
|
/**
|
|
3186
4146
|
* 200
|
|
@@ -3188,22 +4148,292 @@ type $OpenApiTs = {
|
|
|
3188
4148
|
200: {
|
|
3189
4149
|
id: string;
|
|
3190
4150
|
teamId: string;
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
4151
|
+
title: string;
|
|
4152
|
+
postDate: string | null;
|
|
4153
|
+
postedDate?: string | null;
|
|
4154
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
4155
|
+
data: {
|
|
4156
|
+
TWITTER?: {
|
|
4157
|
+
text?: string | null;
|
|
4158
|
+
uploadIds?: Array<(string)> | null;
|
|
4159
|
+
} | null;
|
|
4160
|
+
PINTEREST?: {
|
|
4161
|
+
text?: string | null;
|
|
4162
|
+
description?: string | null;
|
|
4163
|
+
boardName: string;
|
|
4164
|
+
uploadIds?: Array<(string)> | null;
|
|
4165
|
+
/**
|
|
4166
|
+
* The URL to which the Pin will link to.
|
|
4167
|
+
*/
|
|
4168
|
+
link?: string | null;
|
|
4169
|
+
/**
|
|
4170
|
+
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
4171
|
+
*/
|
|
4172
|
+
altText?: string | null;
|
|
4173
|
+
/**
|
|
4174
|
+
* A note about the Pin. This is not visible to the public.
|
|
4175
|
+
*/
|
|
4176
|
+
note?: string | null;
|
|
4177
|
+
/**
|
|
4178
|
+
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
4179
|
+
*/
|
|
4180
|
+
dominantColor?: string | null;
|
|
4181
|
+
} | null;
|
|
4182
|
+
FACEBOOK?: {
|
|
4183
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
4184
|
+
text?: string | null;
|
|
4185
|
+
uploadIds?: Array<(string)> | null;
|
|
4186
|
+
} | null;
|
|
4187
|
+
INSTAGRAM?: {
|
|
4188
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
4189
|
+
text?: string | null;
|
|
4190
|
+
uploadIds?: Array<(string)> | null;
|
|
4191
|
+
} | null;
|
|
4192
|
+
THREADS?: {
|
|
4193
|
+
text?: string | null;
|
|
4194
|
+
uploadIds?: Array<(string)> | null;
|
|
4195
|
+
} | null;
|
|
4196
|
+
TIKTOK?: {
|
|
4197
|
+
type?: 'VIDEO' | 'IMAGE';
|
|
4198
|
+
text?: string | null;
|
|
4199
|
+
uploadIds?: Array<(string)> | null;
|
|
4200
|
+
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
4201
|
+
/**
|
|
4202
|
+
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
4203
|
+
*/
|
|
4204
|
+
isBrandContent?: boolean | null;
|
|
4205
|
+
/**
|
|
4206
|
+
* Set to true if this video is promoting the creator's own business.
|
|
4207
|
+
*/
|
|
4208
|
+
isOrganicBrandContent?: boolean | null;
|
|
4209
|
+
/**
|
|
4210
|
+
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
4211
|
+
*/
|
|
4212
|
+
disableComments?: boolean | null;
|
|
4213
|
+
/**
|
|
4214
|
+
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
4215
|
+
*/
|
|
4216
|
+
disableDuet?: boolean | null;
|
|
4217
|
+
/**
|
|
4218
|
+
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
4219
|
+
*/
|
|
4220
|
+
disableStitch?: boolean | null;
|
|
4221
|
+
/**
|
|
4222
|
+
* Choose a frame of the published video as the cover photo in ms
|
|
4223
|
+
*/
|
|
4224
|
+
thumbnailOffset?: number | null;
|
|
4225
|
+
/**
|
|
4226
|
+
* Set to true if this video is AI generated.
|
|
4227
|
+
*/
|
|
4228
|
+
isAiGenerated?: boolean | null;
|
|
4229
|
+
} | null;
|
|
4230
|
+
LINKEDIN?: {
|
|
4231
|
+
text: string;
|
|
4232
|
+
uploadIds?: Array<(string)> | null;
|
|
4233
|
+
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
4234
|
+
/**
|
|
4235
|
+
* Set to true if the post shouldn't be displayed in the main feed.
|
|
4236
|
+
*/
|
|
4237
|
+
hideFromFeed?: boolean | null;
|
|
4238
|
+
/**
|
|
4239
|
+
* Set to true if the post is not allowed to be reshared.
|
|
4240
|
+
*/
|
|
4241
|
+
disableReshare?: boolean | null;
|
|
4242
|
+
} | null;
|
|
4243
|
+
YOUTUBE?: {
|
|
4244
|
+
type?: 'VIDEO' | 'SHORT';
|
|
4245
|
+
uploadIds?: Array<(string)> | null;
|
|
4246
|
+
text?: string | null;
|
|
4247
|
+
description?: string | null;
|
|
4248
|
+
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
4249
|
+
/**
|
|
4250
|
+
* Set to true if the video is made for kids.
|
|
4251
|
+
*/
|
|
4252
|
+
madeForKids?: boolean | null;
|
|
4253
|
+
} | null;
|
|
4254
|
+
REDDIT?: {
|
|
4255
|
+
/**
|
|
4256
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
4257
|
+
*/
|
|
4258
|
+
sr: string;
|
|
4259
|
+
text: string;
|
|
4260
|
+
description?: string | null;
|
|
4261
|
+
uploadIds?: Array<(string)> | null;
|
|
4262
|
+
/**
|
|
4263
|
+
* The URL to which the post will link to.
|
|
4264
|
+
*/
|
|
4265
|
+
link?: string | null;
|
|
4266
|
+
/**
|
|
4267
|
+
* Set to true if the post is NSFW.
|
|
4268
|
+
*/
|
|
4269
|
+
nsfw?: boolean | null;
|
|
4270
|
+
} | null;
|
|
4271
|
+
DISCORD?: {
|
|
4272
|
+
channelId: string;
|
|
4273
|
+
text?: string | null;
|
|
4274
|
+
uploadIds?: Array<(string)> | null;
|
|
4275
|
+
/**
|
|
4276
|
+
* The username to display as the author of the message.
|
|
4277
|
+
*/
|
|
4278
|
+
username?: string | null;
|
|
4279
|
+
/**
|
|
4280
|
+
* Avatar url to display as the author of the message.
|
|
4281
|
+
*/
|
|
4282
|
+
avatarUrl?: string | null;
|
|
4283
|
+
} | null;
|
|
4284
|
+
SLACK?: {
|
|
4285
|
+
channelId: string;
|
|
4286
|
+
text?: string | null;
|
|
4287
|
+
uploadIds?: Array<(string)> | null;
|
|
4288
|
+
/**
|
|
4289
|
+
* The username to display as the author of the message.
|
|
4290
|
+
*/
|
|
4291
|
+
username?: string | null;
|
|
4292
|
+
/**
|
|
4293
|
+
* Avatar url to display as the author of the message.
|
|
4294
|
+
*/
|
|
4295
|
+
avatarUrl?: string | null;
|
|
4296
|
+
} | null;
|
|
4297
|
+
MASTODON?: {
|
|
4298
|
+
text?: string | null;
|
|
4299
|
+
uploadIds?: Array<(string)> | null;
|
|
4300
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
4301
|
+
spoiler?: string | null;
|
|
4302
|
+
} | null;
|
|
4303
|
+
};
|
|
4304
|
+
error?: string | null;
|
|
4305
|
+
errors?: {
|
|
4306
|
+
TWITTER?: string | null;
|
|
4307
|
+
PINTEREST?: string | null;
|
|
4308
|
+
FACEBOOK?: string | null;
|
|
4309
|
+
INSTAGRAM?: string | null;
|
|
4310
|
+
TIKTOK?: string | null;
|
|
4311
|
+
LINKEDIN?: string | null;
|
|
4312
|
+
REDDIT?: string | null;
|
|
4313
|
+
DISCORD?: string | null;
|
|
4314
|
+
SLACK?: string | null;
|
|
4315
|
+
YOUTUBE?: string | null;
|
|
4316
|
+
MASTODON?: string | null;
|
|
4317
|
+
THREADS?: string | null;
|
|
4318
|
+
} | null;
|
|
4319
|
+
externalData?: {
|
|
4320
|
+
TWITTER?: {
|
|
4321
|
+
id?: string | null;
|
|
4322
|
+
permalink?: string | null;
|
|
4323
|
+
} | null;
|
|
4324
|
+
PINTEREST?: {
|
|
4325
|
+
id?: string | null;
|
|
4326
|
+
permalink?: string | null;
|
|
4327
|
+
} | null;
|
|
4328
|
+
FACEBOOK?: {
|
|
4329
|
+
id?: string | null;
|
|
4330
|
+
postId?: string | null;
|
|
4331
|
+
videoId?: string | null;
|
|
4332
|
+
permalink?: string | null;
|
|
4333
|
+
} | null;
|
|
4334
|
+
INSTAGRAM?: {
|
|
4335
|
+
id?: string | null;
|
|
4336
|
+
permalink?: string | null;
|
|
4337
|
+
} | null;
|
|
4338
|
+
TIKTOK?: {
|
|
4339
|
+
id?: string | null;
|
|
4340
|
+
permalink?: string | null;
|
|
4341
|
+
} | null;
|
|
4342
|
+
LINKEDIN?: {
|
|
4343
|
+
id?: string | null;
|
|
4344
|
+
activity?: string | null;
|
|
4345
|
+
permalink?: string | null;
|
|
4346
|
+
} | null;
|
|
4347
|
+
REDDIT?: {
|
|
4348
|
+
id?: string | null;
|
|
4349
|
+
permalink?: string | null;
|
|
4350
|
+
subreddit_name?: string | null;
|
|
4351
|
+
} | null;
|
|
4352
|
+
DISCORD?: {
|
|
4353
|
+
id?: string | null;
|
|
4354
|
+
permalink?: string | null;
|
|
4355
|
+
channelId?: string | null;
|
|
4356
|
+
} | null;
|
|
4357
|
+
SLACK?: {
|
|
4358
|
+
id?: string | null;
|
|
4359
|
+
permalink?: string | null;
|
|
4360
|
+
channelId?: string | null;
|
|
4361
|
+
} | null;
|
|
4362
|
+
YOUTUBE?: {
|
|
4363
|
+
id?: string | null;
|
|
4364
|
+
permalink?: string | null;
|
|
4365
|
+
} | null;
|
|
4366
|
+
MASTODON?: {
|
|
4367
|
+
id?: string | null;
|
|
4368
|
+
permalink?: string | null;
|
|
4369
|
+
} | null;
|
|
4370
|
+
THREADS?: {
|
|
4371
|
+
id?: string | null;
|
|
4372
|
+
permalink?: string | null;
|
|
4373
|
+
} | null;
|
|
4374
|
+
} | null;
|
|
3205
4375
|
createdAt: string | null;
|
|
3206
4376
|
updatedAt: string | null;
|
|
4377
|
+
deletedAt?: string | null;
|
|
4378
|
+
uploads: Array<{
|
|
4379
|
+
postId: string;
|
|
4380
|
+
uploadId: string;
|
|
4381
|
+
createdAt: string | null;
|
|
4382
|
+
updatedAt: string | null;
|
|
4383
|
+
deletedAt?: string | null;
|
|
4384
|
+
upload: {
|
|
4385
|
+
id: string;
|
|
4386
|
+
teamId: string;
|
|
4387
|
+
expiresAt?: string | null;
|
|
4388
|
+
iconUrl?: string | null;
|
|
4389
|
+
thumbnailUrl?: string | null;
|
|
4390
|
+
url?: string | null;
|
|
4391
|
+
iconPath?: string | null;
|
|
4392
|
+
thumbnailPath?: string | null;
|
|
4393
|
+
path?: string | null;
|
|
4394
|
+
type: 'image' | 'video';
|
|
4395
|
+
width?: number | null;
|
|
4396
|
+
height?: number | null;
|
|
4397
|
+
fileSize?: number | null;
|
|
4398
|
+
videoLength?: number | null;
|
|
4399
|
+
mime?: string | null;
|
|
4400
|
+
ext?: string | null;
|
|
4401
|
+
createdAt: string | null;
|
|
4402
|
+
updatedAt: string | null;
|
|
4403
|
+
};
|
|
4404
|
+
}>;
|
|
4405
|
+
socialAccounts: Array<{
|
|
4406
|
+
postId: string;
|
|
4407
|
+
socialAccountId: string;
|
|
4408
|
+
createdAt: string | null;
|
|
4409
|
+
updatedAt: string | null;
|
|
4410
|
+
deletedAt?: string | null;
|
|
4411
|
+
socialAccount: {
|
|
4412
|
+
id: string;
|
|
4413
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
|
|
4414
|
+
teamId: string;
|
|
4415
|
+
username?: string | null;
|
|
4416
|
+
displayName?: string | null;
|
|
4417
|
+
externalId?: string | null;
|
|
4418
|
+
userUsername?: string | null;
|
|
4419
|
+
userDisplayName?: string | null;
|
|
4420
|
+
userId?: string | null;
|
|
4421
|
+
channels?: Array<{
|
|
4422
|
+
id: string;
|
|
4423
|
+
name?: string | null;
|
|
4424
|
+
username?: string | null;
|
|
4425
|
+
webhook?: {
|
|
4426
|
+
id?: string | null;
|
|
4427
|
+
name?: string | null;
|
|
4428
|
+
avatar?: string | null;
|
|
4429
|
+
url?: string | null;
|
|
4430
|
+
} | null;
|
|
4431
|
+
}> | null;
|
|
4432
|
+
createdAt: string | null;
|
|
4433
|
+
updatedAt: string | null;
|
|
4434
|
+
deletedAt?: string | null;
|
|
4435
|
+
};
|
|
4436
|
+
}>;
|
|
3207
4437
|
};
|
|
3208
4438
|
/**
|
|
3209
4439
|
* 400
|
|
@@ -3247,32 +4477,243 @@ type $OpenApiTs = {
|
|
|
3247
4477
|
};
|
|
3248
4478
|
};
|
|
3249
4479
|
};
|
|
3250
|
-
|
|
3251
|
-
req:
|
|
4480
|
+
patch: {
|
|
4481
|
+
req: PostUpdateData;
|
|
3252
4482
|
res: {
|
|
3253
4483
|
/**
|
|
3254
4484
|
* 200
|
|
3255
4485
|
*/
|
|
3256
|
-
200:
|
|
4486
|
+
200: {
|
|
3257
4487
|
id: string;
|
|
3258
4488
|
teamId: string;
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
4489
|
+
title: string;
|
|
4490
|
+
postDate: string | null;
|
|
4491
|
+
postedDate?: string | null;
|
|
4492
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
4493
|
+
data: {
|
|
4494
|
+
TWITTER?: {
|
|
4495
|
+
text?: string | null;
|
|
4496
|
+
uploadIds?: Array<(string)> | null;
|
|
4497
|
+
} | null;
|
|
4498
|
+
PINTEREST?: {
|
|
4499
|
+
text?: string | null;
|
|
4500
|
+
description?: string | null;
|
|
4501
|
+
boardName: string;
|
|
4502
|
+
uploadIds?: Array<(string)> | null;
|
|
4503
|
+
/**
|
|
4504
|
+
* The URL to which the Pin will link to.
|
|
4505
|
+
*/
|
|
4506
|
+
link?: string | null;
|
|
4507
|
+
/**
|
|
4508
|
+
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
4509
|
+
*/
|
|
4510
|
+
altText?: string | null;
|
|
4511
|
+
/**
|
|
4512
|
+
* A note about the Pin. This is not visible to the public.
|
|
4513
|
+
*/
|
|
4514
|
+
note?: string | null;
|
|
4515
|
+
/**
|
|
4516
|
+
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
4517
|
+
*/
|
|
4518
|
+
dominantColor?: string | null;
|
|
4519
|
+
} | null;
|
|
4520
|
+
FACEBOOK?: {
|
|
4521
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
4522
|
+
text?: string | null;
|
|
4523
|
+
uploadIds?: Array<(string)> | null;
|
|
4524
|
+
} | null;
|
|
4525
|
+
INSTAGRAM?: {
|
|
4526
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
4527
|
+
text?: string | null;
|
|
4528
|
+
uploadIds?: Array<(string)> | null;
|
|
4529
|
+
} | null;
|
|
4530
|
+
THREADS?: {
|
|
4531
|
+
text?: string | null;
|
|
4532
|
+
uploadIds?: Array<(string)> | null;
|
|
4533
|
+
} | null;
|
|
4534
|
+
TIKTOK?: {
|
|
4535
|
+
type?: 'VIDEO' | 'IMAGE';
|
|
4536
|
+
text?: string | null;
|
|
4537
|
+
uploadIds?: Array<(string)> | null;
|
|
4538
|
+
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
4539
|
+
/**
|
|
4540
|
+
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
4541
|
+
*/
|
|
4542
|
+
isBrandContent?: boolean | null;
|
|
4543
|
+
/**
|
|
4544
|
+
* Set to true if this video is promoting the creator's own business.
|
|
4545
|
+
*/
|
|
4546
|
+
isOrganicBrandContent?: boolean | null;
|
|
4547
|
+
/**
|
|
4548
|
+
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
4549
|
+
*/
|
|
4550
|
+
disableComments?: boolean | null;
|
|
4551
|
+
/**
|
|
4552
|
+
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
4553
|
+
*/
|
|
4554
|
+
disableDuet?: boolean | null;
|
|
4555
|
+
/**
|
|
4556
|
+
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
4557
|
+
*/
|
|
4558
|
+
disableStitch?: boolean | null;
|
|
4559
|
+
/**
|
|
4560
|
+
* Choose a frame of the published video as the cover photo in ms
|
|
4561
|
+
*/
|
|
4562
|
+
thumbnailOffset?: number | null;
|
|
4563
|
+
/**
|
|
4564
|
+
* Set to true if this video is AI generated.
|
|
4565
|
+
*/
|
|
4566
|
+
isAiGenerated?: boolean | null;
|
|
4567
|
+
} | null;
|
|
4568
|
+
LINKEDIN?: {
|
|
4569
|
+
text: string;
|
|
4570
|
+
uploadIds?: Array<(string)> | null;
|
|
4571
|
+
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
4572
|
+
/**
|
|
4573
|
+
* Set to true if the post shouldn't be displayed in the main feed.
|
|
4574
|
+
*/
|
|
4575
|
+
hideFromFeed?: boolean | null;
|
|
4576
|
+
/**
|
|
4577
|
+
* Set to true if the post is not allowed to be reshared.
|
|
4578
|
+
*/
|
|
4579
|
+
disableReshare?: boolean | null;
|
|
4580
|
+
} | null;
|
|
4581
|
+
YOUTUBE?: {
|
|
4582
|
+
type?: 'VIDEO' | 'SHORT';
|
|
4583
|
+
uploadIds?: Array<(string)> | null;
|
|
4584
|
+
text?: string | null;
|
|
4585
|
+
description?: string | null;
|
|
4586
|
+
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
4587
|
+
/**
|
|
4588
|
+
* Set to true if the video is made for kids.
|
|
4589
|
+
*/
|
|
4590
|
+
madeForKids?: boolean | null;
|
|
4591
|
+
} | null;
|
|
4592
|
+
REDDIT?: {
|
|
4593
|
+
/**
|
|
4594
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
4595
|
+
*/
|
|
4596
|
+
sr: string;
|
|
4597
|
+
text: string;
|
|
4598
|
+
description?: string | null;
|
|
4599
|
+
uploadIds?: Array<(string)> | null;
|
|
4600
|
+
/**
|
|
4601
|
+
* The URL to which the post will link to.
|
|
4602
|
+
*/
|
|
4603
|
+
link?: string | null;
|
|
4604
|
+
/**
|
|
4605
|
+
* Set to true if the post is NSFW.
|
|
4606
|
+
*/
|
|
4607
|
+
nsfw?: boolean | null;
|
|
4608
|
+
} | null;
|
|
4609
|
+
DISCORD?: {
|
|
4610
|
+
channelId: string;
|
|
4611
|
+
text?: string | null;
|
|
4612
|
+
uploadIds?: Array<(string)> | null;
|
|
4613
|
+
/**
|
|
4614
|
+
* The username to display as the author of the message.
|
|
4615
|
+
*/
|
|
4616
|
+
username?: string | null;
|
|
4617
|
+
/**
|
|
4618
|
+
* Avatar url to display as the author of the message.
|
|
4619
|
+
*/
|
|
4620
|
+
avatarUrl?: string | null;
|
|
4621
|
+
} | null;
|
|
4622
|
+
SLACK?: {
|
|
4623
|
+
channelId: string;
|
|
4624
|
+
text?: string | null;
|
|
4625
|
+
uploadIds?: Array<(string)> | null;
|
|
4626
|
+
/**
|
|
4627
|
+
* The username to display as the author of the message.
|
|
4628
|
+
*/
|
|
4629
|
+
username?: string | null;
|
|
4630
|
+
/**
|
|
4631
|
+
* Avatar url to display as the author of the message.
|
|
4632
|
+
*/
|
|
4633
|
+
avatarUrl?: string | null;
|
|
4634
|
+
} | null;
|
|
4635
|
+
MASTODON?: {
|
|
4636
|
+
text?: string | null;
|
|
4637
|
+
uploadIds?: Array<(string)> | null;
|
|
4638
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
4639
|
+
spoiler?: string | null;
|
|
4640
|
+
} | null;
|
|
4641
|
+
};
|
|
4642
|
+
error?: string | null;
|
|
4643
|
+
errors?: {
|
|
4644
|
+
TWITTER?: string | null;
|
|
4645
|
+
PINTEREST?: string | null;
|
|
4646
|
+
FACEBOOK?: string | null;
|
|
4647
|
+
INSTAGRAM?: string | null;
|
|
4648
|
+
TIKTOK?: string | null;
|
|
4649
|
+
LINKEDIN?: string | null;
|
|
4650
|
+
REDDIT?: string | null;
|
|
4651
|
+
DISCORD?: string | null;
|
|
4652
|
+
SLACK?: string | null;
|
|
4653
|
+
YOUTUBE?: string | null;
|
|
4654
|
+
MASTODON?: string | null;
|
|
4655
|
+
THREADS?: string | null;
|
|
4656
|
+
} | null;
|
|
4657
|
+
externalData?: {
|
|
4658
|
+
TWITTER?: {
|
|
4659
|
+
id?: string | null;
|
|
4660
|
+
permalink?: string | null;
|
|
4661
|
+
} | null;
|
|
4662
|
+
PINTEREST?: {
|
|
4663
|
+
id?: string | null;
|
|
4664
|
+
permalink?: string | null;
|
|
4665
|
+
} | null;
|
|
4666
|
+
FACEBOOK?: {
|
|
4667
|
+
id?: string | null;
|
|
4668
|
+
postId?: string | null;
|
|
4669
|
+
videoId?: string | null;
|
|
4670
|
+
permalink?: string | null;
|
|
4671
|
+
} | null;
|
|
4672
|
+
INSTAGRAM?: {
|
|
4673
|
+
id?: string | null;
|
|
4674
|
+
permalink?: string | null;
|
|
4675
|
+
} | null;
|
|
4676
|
+
TIKTOK?: {
|
|
4677
|
+
id?: string | null;
|
|
4678
|
+
permalink?: string | null;
|
|
4679
|
+
} | null;
|
|
4680
|
+
LINKEDIN?: {
|
|
4681
|
+
id?: string | null;
|
|
4682
|
+
activity?: string | null;
|
|
4683
|
+
permalink?: string | null;
|
|
4684
|
+
} | null;
|
|
4685
|
+
REDDIT?: {
|
|
4686
|
+
id?: string | null;
|
|
4687
|
+
permalink?: string | null;
|
|
4688
|
+
subreddit_name?: string | null;
|
|
4689
|
+
} | null;
|
|
4690
|
+
DISCORD?: {
|
|
4691
|
+
id?: string | null;
|
|
4692
|
+
permalink?: string | null;
|
|
4693
|
+
channelId?: string | null;
|
|
4694
|
+
} | null;
|
|
4695
|
+
SLACK?: {
|
|
4696
|
+
id?: string | null;
|
|
4697
|
+
permalink?: string | null;
|
|
4698
|
+
channelId?: string | null;
|
|
4699
|
+
} | null;
|
|
4700
|
+
YOUTUBE?: {
|
|
4701
|
+
id?: string | null;
|
|
4702
|
+
permalink?: string | null;
|
|
4703
|
+
} | null;
|
|
4704
|
+
MASTODON?: {
|
|
4705
|
+
id?: string | null;
|
|
4706
|
+
permalink?: string | null;
|
|
4707
|
+
} | null;
|
|
4708
|
+
THREADS?: {
|
|
4709
|
+
id?: string | null;
|
|
4710
|
+
permalink?: string | null;
|
|
4711
|
+
} | null;
|
|
4712
|
+
} | null;
|
|
3273
4713
|
createdAt: string | null;
|
|
3274
4714
|
updatedAt: string | null;
|
|
3275
|
-
|
|
4715
|
+
deletedAt?: string | null;
|
|
4716
|
+
};
|
|
3276
4717
|
/**
|
|
3277
4718
|
* 400
|
|
3278
4719
|
*/
|
|
@@ -3315,10 +4756,8 @@ type $OpenApiTs = {
|
|
|
3315
4756
|
};
|
|
3316
4757
|
};
|
|
3317
4758
|
};
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
get: {
|
|
3321
|
-
req: UploadGetData;
|
|
4759
|
+
delete: {
|
|
4760
|
+
req: PostDeleteData;
|
|
3322
4761
|
res: {
|
|
3323
4762
|
/**
|
|
3324
4763
|
* 200
|
|
@@ -3326,22 +4765,233 @@ type $OpenApiTs = {
|
|
|
3326
4765
|
200: {
|
|
3327
4766
|
id: string;
|
|
3328
4767
|
teamId: string;
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
4768
|
+
title: string;
|
|
4769
|
+
postDate: string | null;
|
|
4770
|
+
postedDate?: string | null;
|
|
4771
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
4772
|
+
data: {
|
|
4773
|
+
TWITTER?: {
|
|
4774
|
+
text?: string | null;
|
|
4775
|
+
uploadIds?: Array<(string)> | null;
|
|
4776
|
+
} | null;
|
|
4777
|
+
PINTEREST?: {
|
|
4778
|
+
text?: string | null;
|
|
4779
|
+
description?: string | null;
|
|
4780
|
+
boardName: string;
|
|
4781
|
+
uploadIds?: Array<(string)> | null;
|
|
4782
|
+
/**
|
|
4783
|
+
* The URL to which the Pin will link to.
|
|
4784
|
+
*/
|
|
4785
|
+
link?: string | null;
|
|
4786
|
+
/**
|
|
4787
|
+
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
4788
|
+
*/
|
|
4789
|
+
altText?: string | null;
|
|
4790
|
+
/**
|
|
4791
|
+
* A note about the Pin. This is not visible to the public.
|
|
4792
|
+
*/
|
|
4793
|
+
note?: string | null;
|
|
4794
|
+
/**
|
|
4795
|
+
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
4796
|
+
*/
|
|
4797
|
+
dominantColor?: string | null;
|
|
4798
|
+
} | null;
|
|
4799
|
+
FACEBOOK?: {
|
|
4800
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
4801
|
+
text?: string | null;
|
|
4802
|
+
uploadIds?: Array<(string)> | null;
|
|
4803
|
+
} | null;
|
|
4804
|
+
INSTAGRAM?: {
|
|
4805
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
4806
|
+
text?: string | null;
|
|
4807
|
+
uploadIds?: Array<(string)> | null;
|
|
4808
|
+
} | null;
|
|
4809
|
+
THREADS?: {
|
|
4810
|
+
text?: string | null;
|
|
4811
|
+
uploadIds?: Array<(string)> | null;
|
|
4812
|
+
} | null;
|
|
4813
|
+
TIKTOK?: {
|
|
4814
|
+
type?: 'VIDEO' | 'IMAGE';
|
|
4815
|
+
text?: string | null;
|
|
4816
|
+
uploadIds?: Array<(string)> | null;
|
|
4817
|
+
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
4818
|
+
/**
|
|
4819
|
+
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
4820
|
+
*/
|
|
4821
|
+
isBrandContent?: boolean | null;
|
|
4822
|
+
/**
|
|
4823
|
+
* Set to true if this video is promoting the creator's own business.
|
|
4824
|
+
*/
|
|
4825
|
+
isOrganicBrandContent?: boolean | null;
|
|
4826
|
+
/**
|
|
4827
|
+
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
4828
|
+
*/
|
|
4829
|
+
disableComments?: boolean | null;
|
|
4830
|
+
/**
|
|
4831
|
+
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
4832
|
+
*/
|
|
4833
|
+
disableDuet?: boolean | null;
|
|
4834
|
+
/**
|
|
4835
|
+
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
4836
|
+
*/
|
|
4837
|
+
disableStitch?: boolean | null;
|
|
4838
|
+
/**
|
|
4839
|
+
* Choose a frame of the published video as the cover photo in ms
|
|
4840
|
+
*/
|
|
4841
|
+
thumbnailOffset?: number | null;
|
|
4842
|
+
/**
|
|
4843
|
+
* Set to true if this video is AI generated.
|
|
4844
|
+
*/
|
|
4845
|
+
isAiGenerated?: boolean | null;
|
|
4846
|
+
} | null;
|
|
4847
|
+
LINKEDIN?: {
|
|
4848
|
+
text: string;
|
|
4849
|
+
uploadIds?: Array<(string)> | null;
|
|
4850
|
+
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
4851
|
+
/**
|
|
4852
|
+
* Set to true if the post shouldn't be displayed in the main feed.
|
|
4853
|
+
*/
|
|
4854
|
+
hideFromFeed?: boolean | null;
|
|
4855
|
+
/**
|
|
4856
|
+
* Set to true if the post is not allowed to be reshared.
|
|
4857
|
+
*/
|
|
4858
|
+
disableReshare?: boolean | null;
|
|
4859
|
+
} | null;
|
|
4860
|
+
YOUTUBE?: {
|
|
4861
|
+
type?: 'VIDEO' | 'SHORT';
|
|
4862
|
+
uploadIds?: Array<(string)> | null;
|
|
4863
|
+
text?: string | null;
|
|
4864
|
+
description?: string | null;
|
|
4865
|
+
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
4866
|
+
/**
|
|
4867
|
+
* Set to true if the video is made for kids.
|
|
4868
|
+
*/
|
|
4869
|
+
madeForKids?: boolean | null;
|
|
4870
|
+
} | null;
|
|
4871
|
+
REDDIT?: {
|
|
4872
|
+
/**
|
|
4873
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
4874
|
+
*/
|
|
4875
|
+
sr: string;
|
|
4876
|
+
text: string;
|
|
4877
|
+
description?: string | null;
|
|
4878
|
+
uploadIds?: Array<(string)> | null;
|
|
4879
|
+
/**
|
|
4880
|
+
* The URL to which the post will link to.
|
|
4881
|
+
*/
|
|
4882
|
+
link?: string | null;
|
|
4883
|
+
/**
|
|
4884
|
+
* Set to true if the post is NSFW.
|
|
4885
|
+
*/
|
|
4886
|
+
nsfw?: boolean | null;
|
|
4887
|
+
} | null;
|
|
4888
|
+
DISCORD?: {
|
|
4889
|
+
channelId: string;
|
|
4890
|
+
text?: string | null;
|
|
4891
|
+
uploadIds?: Array<(string)> | null;
|
|
4892
|
+
/**
|
|
4893
|
+
* The username to display as the author of the message.
|
|
4894
|
+
*/
|
|
4895
|
+
username?: string | null;
|
|
4896
|
+
/**
|
|
4897
|
+
* Avatar url to display as the author of the message.
|
|
4898
|
+
*/
|
|
4899
|
+
avatarUrl?: string | null;
|
|
4900
|
+
} | null;
|
|
4901
|
+
SLACK?: {
|
|
4902
|
+
channelId: string;
|
|
4903
|
+
text?: string | null;
|
|
4904
|
+
uploadIds?: Array<(string)> | null;
|
|
4905
|
+
/**
|
|
4906
|
+
* The username to display as the author of the message.
|
|
4907
|
+
*/
|
|
4908
|
+
username?: string | null;
|
|
4909
|
+
/**
|
|
4910
|
+
* Avatar url to display as the author of the message.
|
|
4911
|
+
*/
|
|
4912
|
+
avatarUrl?: string | null;
|
|
4913
|
+
} | null;
|
|
4914
|
+
MASTODON?: {
|
|
4915
|
+
text?: string | null;
|
|
4916
|
+
uploadIds?: Array<(string)> | null;
|
|
4917
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
4918
|
+
spoiler?: string | null;
|
|
4919
|
+
} | null;
|
|
4920
|
+
};
|
|
4921
|
+
error?: string | null;
|
|
4922
|
+
errors?: {
|
|
4923
|
+
TWITTER?: string | null;
|
|
4924
|
+
PINTEREST?: string | null;
|
|
4925
|
+
FACEBOOK?: string | null;
|
|
4926
|
+
INSTAGRAM?: string | null;
|
|
4927
|
+
TIKTOK?: string | null;
|
|
4928
|
+
LINKEDIN?: string | null;
|
|
4929
|
+
REDDIT?: string | null;
|
|
4930
|
+
DISCORD?: string | null;
|
|
4931
|
+
SLACK?: string | null;
|
|
4932
|
+
YOUTUBE?: string | null;
|
|
4933
|
+
MASTODON?: string | null;
|
|
4934
|
+
THREADS?: string | null;
|
|
4935
|
+
} | null;
|
|
4936
|
+
externalData?: {
|
|
4937
|
+
TWITTER?: {
|
|
4938
|
+
id?: string | null;
|
|
4939
|
+
permalink?: string | null;
|
|
4940
|
+
} | null;
|
|
4941
|
+
PINTEREST?: {
|
|
4942
|
+
id?: string | null;
|
|
4943
|
+
permalink?: string | null;
|
|
4944
|
+
} | null;
|
|
4945
|
+
FACEBOOK?: {
|
|
4946
|
+
id?: string | null;
|
|
4947
|
+
postId?: string | null;
|
|
4948
|
+
videoId?: string | null;
|
|
4949
|
+
permalink?: string | null;
|
|
4950
|
+
} | null;
|
|
4951
|
+
INSTAGRAM?: {
|
|
4952
|
+
id?: string | null;
|
|
4953
|
+
permalink?: string | null;
|
|
4954
|
+
} | null;
|
|
4955
|
+
TIKTOK?: {
|
|
4956
|
+
id?: string | null;
|
|
4957
|
+
permalink?: string | null;
|
|
4958
|
+
} | null;
|
|
4959
|
+
LINKEDIN?: {
|
|
4960
|
+
id?: string | null;
|
|
4961
|
+
activity?: string | null;
|
|
4962
|
+
permalink?: string | null;
|
|
4963
|
+
} | null;
|
|
4964
|
+
REDDIT?: {
|
|
4965
|
+
id?: string | null;
|
|
4966
|
+
permalink?: string | null;
|
|
4967
|
+
subreddit_name?: string | null;
|
|
4968
|
+
} | null;
|
|
4969
|
+
DISCORD?: {
|
|
4970
|
+
id?: string | null;
|
|
4971
|
+
permalink?: string | null;
|
|
4972
|
+
channelId?: string | null;
|
|
4973
|
+
} | null;
|
|
4974
|
+
SLACK?: {
|
|
4975
|
+
id?: string | null;
|
|
4976
|
+
permalink?: string | null;
|
|
4977
|
+
channelId?: string | null;
|
|
4978
|
+
} | null;
|
|
4979
|
+
YOUTUBE?: {
|
|
4980
|
+
id?: string | null;
|
|
4981
|
+
permalink?: string | null;
|
|
4982
|
+
} | null;
|
|
4983
|
+
MASTODON?: {
|
|
4984
|
+
id?: string | null;
|
|
4985
|
+
permalink?: string | null;
|
|
4986
|
+
} | null;
|
|
4987
|
+
THREADS?: {
|
|
4988
|
+
id?: string | null;
|
|
4989
|
+
permalink?: string | null;
|
|
4990
|
+
} | null;
|
|
4991
|
+
} | null;
|
|
3343
4992
|
createdAt: string | null;
|
|
3344
4993
|
updatedAt: string | null;
|
|
4994
|
+
deletedAt?: string | null;
|
|
3345
4995
|
};
|
|
3346
4996
|
/**
|
|
3347
4997
|
* 400
|
|
@@ -3385,31 +5035,306 @@ type $OpenApiTs = {
|
|
|
3385
5035
|
};
|
|
3386
5036
|
};
|
|
3387
5037
|
};
|
|
3388
|
-
|
|
3389
|
-
|
|
5038
|
+
};
|
|
5039
|
+
'/api/v1/post/': {
|
|
5040
|
+
get: {
|
|
5041
|
+
req: PostGetListData;
|
|
3390
5042
|
res: {
|
|
3391
5043
|
/**
|
|
3392
5044
|
* 200
|
|
3393
5045
|
*/
|
|
3394
5046
|
200: {
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
5047
|
+
items: Array<{
|
|
5048
|
+
id: string;
|
|
5049
|
+
teamId: string;
|
|
5050
|
+
title: string;
|
|
5051
|
+
postDate: string | null;
|
|
5052
|
+
postedDate?: string | null;
|
|
5053
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
5054
|
+
data: {
|
|
5055
|
+
TWITTER?: {
|
|
5056
|
+
text?: string | null;
|
|
5057
|
+
uploadIds?: Array<(string)> | null;
|
|
5058
|
+
} | null;
|
|
5059
|
+
PINTEREST?: {
|
|
5060
|
+
text?: string | null;
|
|
5061
|
+
description?: string | null;
|
|
5062
|
+
boardName: string;
|
|
5063
|
+
uploadIds?: Array<(string)> | null;
|
|
5064
|
+
/**
|
|
5065
|
+
* The URL to which the Pin will link to.
|
|
5066
|
+
*/
|
|
5067
|
+
link?: string | null;
|
|
5068
|
+
/**
|
|
5069
|
+
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
5070
|
+
*/
|
|
5071
|
+
altText?: string | null;
|
|
5072
|
+
/**
|
|
5073
|
+
* A note about the Pin. This is not visible to the public.
|
|
5074
|
+
*/
|
|
5075
|
+
note?: string | null;
|
|
5076
|
+
/**
|
|
5077
|
+
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
5078
|
+
*/
|
|
5079
|
+
dominantColor?: string | null;
|
|
5080
|
+
} | null;
|
|
5081
|
+
FACEBOOK?: {
|
|
5082
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
5083
|
+
text?: string | null;
|
|
5084
|
+
uploadIds?: Array<(string)> | null;
|
|
5085
|
+
} | null;
|
|
5086
|
+
INSTAGRAM?: {
|
|
5087
|
+
type?: 'POST' | 'REEL' | 'STORY';
|
|
5088
|
+
text?: string | null;
|
|
5089
|
+
uploadIds?: Array<(string)> | null;
|
|
5090
|
+
} | null;
|
|
5091
|
+
THREADS?: {
|
|
5092
|
+
text?: string | null;
|
|
5093
|
+
uploadIds?: Array<(string)> | null;
|
|
5094
|
+
} | null;
|
|
5095
|
+
TIKTOK?: {
|
|
5096
|
+
type?: 'VIDEO' | 'IMAGE';
|
|
5097
|
+
text?: string | null;
|
|
5098
|
+
uploadIds?: Array<(string)> | null;
|
|
5099
|
+
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
5100
|
+
/**
|
|
5101
|
+
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
5102
|
+
*/
|
|
5103
|
+
isBrandContent?: boolean | null;
|
|
5104
|
+
/**
|
|
5105
|
+
* Set to true if this video is promoting the creator's own business.
|
|
5106
|
+
*/
|
|
5107
|
+
isOrganicBrandContent?: boolean | null;
|
|
5108
|
+
/**
|
|
5109
|
+
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
5110
|
+
*/
|
|
5111
|
+
disableComments?: boolean | null;
|
|
5112
|
+
/**
|
|
5113
|
+
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
5114
|
+
*/
|
|
5115
|
+
disableDuet?: boolean | null;
|
|
5116
|
+
/**
|
|
5117
|
+
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
5118
|
+
*/
|
|
5119
|
+
disableStitch?: boolean | null;
|
|
5120
|
+
/**
|
|
5121
|
+
* Choose a frame of the published video as the cover photo in ms
|
|
5122
|
+
*/
|
|
5123
|
+
thumbnailOffset?: number | null;
|
|
5124
|
+
/**
|
|
5125
|
+
* Set to true if this video is AI generated.
|
|
5126
|
+
*/
|
|
5127
|
+
isAiGenerated?: boolean | null;
|
|
5128
|
+
} | null;
|
|
5129
|
+
LINKEDIN?: {
|
|
5130
|
+
text: string;
|
|
5131
|
+
uploadIds?: Array<(string)> | null;
|
|
5132
|
+
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
5133
|
+
/**
|
|
5134
|
+
* Set to true if the post shouldn't be displayed in the main feed.
|
|
5135
|
+
*/
|
|
5136
|
+
hideFromFeed?: boolean | null;
|
|
5137
|
+
/**
|
|
5138
|
+
* Set to true if the post is not allowed to be reshared.
|
|
5139
|
+
*/
|
|
5140
|
+
disableReshare?: boolean | null;
|
|
5141
|
+
} | null;
|
|
5142
|
+
YOUTUBE?: {
|
|
5143
|
+
type?: 'VIDEO' | 'SHORT';
|
|
5144
|
+
uploadIds?: Array<(string)> | null;
|
|
5145
|
+
text?: string | null;
|
|
5146
|
+
description?: string | null;
|
|
5147
|
+
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
5148
|
+
/**
|
|
5149
|
+
* Set to true if the video is made for kids.
|
|
5150
|
+
*/
|
|
5151
|
+
madeForKids?: boolean | null;
|
|
5152
|
+
} | null;
|
|
5153
|
+
REDDIT?: {
|
|
5154
|
+
/**
|
|
5155
|
+
* Subreddit name. Example: r/subredditName or u/username
|
|
5156
|
+
*/
|
|
5157
|
+
sr: string;
|
|
5158
|
+
text: string;
|
|
5159
|
+
description?: string | null;
|
|
5160
|
+
uploadIds?: Array<(string)> | null;
|
|
5161
|
+
/**
|
|
5162
|
+
* The URL to which the post will link to.
|
|
5163
|
+
*/
|
|
5164
|
+
link?: string | null;
|
|
5165
|
+
/**
|
|
5166
|
+
* Set to true if the post is NSFW.
|
|
5167
|
+
*/
|
|
5168
|
+
nsfw?: boolean | null;
|
|
5169
|
+
} | null;
|
|
5170
|
+
DISCORD?: {
|
|
5171
|
+
channelId: string;
|
|
5172
|
+
text?: string | null;
|
|
5173
|
+
uploadIds?: Array<(string)> | null;
|
|
5174
|
+
/**
|
|
5175
|
+
* The username to display as the author of the message.
|
|
5176
|
+
*/
|
|
5177
|
+
username?: string | null;
|
|
5178
|
+
/**
|
|
5179
|
+
* Avatar url to display as the author of the message.
|
|
5180
|
+
*/
|
|
5181
|
+
avatarUrl?: string | null;
|
|
5182
|
+
} | null;
|
|
5183
|
+
SLACK?: {
|
|
5184
|
+
channelId: string;
|
|
5185
|
+
text?: string | null;
|
|
5186
|
+
uploadIds?: Array<(string)> | null;
|
|
5187
|
+
/**
|
|
5188
|
+
* The username to display as the author of the message.
|
|
5189
|
+
*/
|
|
5190
|
+
username?: string | null;
|
|
5191
|
+
/**
|
|
5192
|
+
* Avatar url to display as the author of the message.
|
|
5193
|
+
*/
|
|
5194
|
+
avatarUrl?: string | null;
|
|
5195
|
+
} | null;
|
|
5196
|
+
MASTODON?: {
|
|
5197
|
+
text?: string | null;
|
|
5198
|
+
uploadIds?: Array<(string)> | null;
|
|
5199
|
+
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
5200
|
+
spoiler?: string | null;
|
|
5201
|
+
} | null;
|
|
5202
|
+
};
|
|
5203
|
+
error?: string | null;
|
|
5204
|
+
errors?: {
|
|
5205
|
+
TWITTER?: string | null;
|
|
5206
|
+
PINTEREST?: string | null;
|
|
5207
|
+
FACEBOOK?: string | null;
|
|
5208
|
+
INSTAGRAM?: string | null;
|
|
5209
|
+
TIKTOK?: string | null;
|
|
5210
|
+
LINKEDIN?: string | null;
|
|
5211
|
+
REDDIT?: string | null;
|
|
5212
|
+
DISCORD?: string | null;
|
|
5213
|
+
SLACK?: string | null;
|
|
5214
|
+
YOUTUBE?: string | null;
|
|
5215
|
+
MASTODON?: string | null;
|
|
5216
|
+
THREADS?: string | null;
|
|
5217
|
+
} | null;
|
|
5218
|
+
externalData?: {
|
|
5219
|
+
TWITTER?: {
|
|
5220
|
+
id?: string | null;
|
|
5221
|
+
permalink?: string | null;
|
|
5222
|
+
} | null;
|
|
5223
|
+
PINTEREST?: {
|
|
5224
|
+
id?: string | null;
|
|
5225
|
+
permalink?: string | null;
|
|
5226
|
+
} | null;
|
|
5227
|
+
FACEBOOK?: {
|
|
5228
|
+
id?: string | null;
|
|
5229
|
+
postId?: string | null;
|
|
5230
|
+
videoId?: string | null;
|
|
5231
|
+
permalink?: string | null;
|
|
5232
|
+
} | null;
|
|
5233
|
+
INSTAGRAM?: {
|
|
5234
|
+
id?: string | null;
|
|
5235
|
+
permalink?: string | null;
|
|
5236
|
+
} | null;
|
|
5237
|
+
TIKTOK?: {
|
|
5238
|
+
id?: string | null;
|
|
5239
|
+
permalink?: string | null;
|
|
5240
|
+
} | null;
|
|
5241
|
+
LINKEDIN?: {
|
|
5242
|
+
id?: string | null;
|
|
5243
|
+
activity?: string | null;
|
|
5244
|
+
permalink?: string | null;
|
|
5245
|
+
} | null;
|
|
5246
|
+
REDDIT?: {
|
|
5247
|
+
id?: string | null;
|
|
5248
|
+
permalink?: string | null;
|
|
5249
|
+
subreddit_name?: string | null;
|
|
5250
|
+
} | null;
|
|
5251
|
+
DISCORD?: {
|
|
5252
|
+
id?: string | null;
|
|
5253
|
+
permalink?: string | null;
|
|
5254
|
+
channelId?: string | null;
|
|
5255
|
+
} | null;
|
|
5256
|
+
SLACK?: {
|
|
5257
|
+
id?: string | null;
|
|
5258
|
+
permalink?: string | null;
|
|
5259
|
+
channelId?: string | null;
|
|
5260
|
+
} | null;
|
|
5261
|
+
YOUTUBE?: {
|
|
5262
|
+
id?: string | null;
|
|
5263
|
+
permalink?: string | null;
|
|
5264
|
+
} | null;
|
|
5265
|
+
MASTODON?: {
|
|
5266
|
+
id?: string | null;
|
|
5267
|
+
permalink?: string | null;
|
|
5268
|
+
} | null;
|
|
5269
|
+
THREADS?: {
|
|
5270
|
+
id?: string | null;
|
|
5271
|
+
permalink?: string | null;
|
|
5272
|
+
} | null;
|
|
5273
|
+
} | null;
|
|
5274
|
+
createdAt: string | null;
|
|
5275
|
+
updatedAt: string | null;
|
|
5276
|
+
deletedAt?: string | null;
|
|
5277
|
+
uploads: Array<{
|
|
5278
|
+
postId: string;
|
|
5279
|
+
uploadId: string;
|
|
5280
|
+
createdAt: string | null;
|
|
5281
|
+
updatedAt: string | null;
|
|
5282
|
+
deletedAt?: string | null;
|
|
5283
|
+
upload: {
|
|
5284
|
+
id: string;
|
|
5285
|
+
teamId: string;
|
|
5286
|
+
expiresAt?: string | null;
|
|
5287
|
+
iconUrl?: string | null;
|
|
5288
|
+
thumbnailUrl?: string | null;
|
|
5289
|
+
url?: string | null;
|
|
5290
|
+
iconPath?: string | null;
|
|
5291
|
+
thumbnailPath?: string | null;
|
|
5292
|
+
path?: string | null;
|
|
5293
|
+
type: 'image' | 'video';
|
|
5294
|
+
width?: number | null;
|
|
5295
|
+
height?: number | null;
|
|
5296
|
+
fileSize?: number | null;
|
|
5297
|
+
videoLength?: number | null;
|
|
5298
|
+
mime?: string | null;
|
|
5299
|
+
ext?: string | null;
|
|
5300
|
+
createdAt: string | null;
|
|
5301
|
+
updatedAt: string | null;
|
|
5302
|
+
};
|
|
5303
|
+
}>;
|
|
5304
|
+
socialAccounts: Array<{
|
|
5305
|
+
postId: string;
|
|
5306
|
+
socialAccountId: string;
|
|
5307
|
+
createdAt: string | null;
|
|
5308
|
+
updatedAt: string | null;
|
|
5309
|
+
deletedAt?: string | null;
|
|
5310
|
+
socialAccount: {
|
|
5311
|
+
id: string;
|
|
5312
|
+
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
|
|
5313
|
+
teamId: string;
|
|
5314
|
+
username?: string | null;
|
|
5315
|
+
displayName?: string | null;
|
|
5316
|
+
externalId?: string | null;
|
|
5317
|
+
userUsername?: string | null;
|
|
5318
|
+
userDisplayName?: string | null;
|
|
5319
|
+
userId?: string | null;
|
|
5320
|
+
channels?: Array<{
|
|
5321
|
+
id: string;
|
|
5322
|
+
name?: string | null;
|
|
5323
|
+
username?: string | null;
|
|
5324
|
+
webhook?: {
|
|
5325
|
+
id?: string | null;
|
|
5326
|
+
name?: string | null;
|
|
5327
|
+
avatar?: string | null;
|
|
5328
|
+
url?: string | null;
|
|
5329
|
+
} | null;
|
|
5330
|
+
}> | null;
|
|
5331
|
+
createdAt: string | null;
|
|
5332
|
+
updatedAt: string | null;
|
|
5333
|
+
deletedAt?: string | null;
|
|
5334
|
+
};
|
|
5335
|
+
}>;
|
|
5336
|
+
}>;
|
|
5337
|
+
total: number;
|
|
3413
5338
|
};
|
|
3414
5339
|
/**
|
|
3415
5340
|
* 400
|
|
@@ -3453,10 +5378,8 @@ type $OpenApiTs = {
|
|
|
3453
5378
|
};
|
|
3454
5379
|
};
|
|
3455
5380
|
};
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
get: {
|
|
3459
|
-
req: PostGetData;
|
|
5381
|
+
post: {
|
|
5382
|
+
req: PostCreateData;
|
|
3460
5383
|
res: {
|
|
3461
5384
|
/**
|
|
3462
5385
|
* 200
|
|
@@ -3510,6 +5433,7 @@ type $OpenApiTs = {
|
|
|
3510
5433
|
uploadIds?: Array<(string)> | null;
|
|
3511
5434
|
} | null;
|
|
3512
5435
|
TIKTOK?: {
|
|
5436
|
+
type?: 'VIDEO' | 'IMAGE';
|
|
3513
5437
|
text?: string | null;
|
|
3514
5438
|
uploadIds?: Array<(string)> | null;
|
|
3515
5439
|
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
@@ -3533,6 +5457,14 @@ type $OpenApiTs = {
|
|
|
3533
5457
|
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
3534
5458
|
*/
|
|
3535
5459
|
disableStitch?: boolean | null;
|
|
5460
|
+
/**
|
|
5461
|
+
* Choose a frame of the published video as the cover photo in ms
|
|
5462
|
+
*/
|
|
5463
|
+
thumbnailOffset?: number | null;
|
|
5464
|
+
/**
|
|
5465
|
+
* Set to true if this video is AI generated.
|
|
5466
|
+
*/
|
|
5467
|
+
isAiGenerated?: boolean | null;
|
|
3536
5468
|
} | null;
|
|
3537
5469
|
LINKEDIN?: {
|
|
3538
5470
|
text: string;
|
|
@@ -3634,8 +5566,162 @@ type $OpenApiTs = {
|
|
|
3634
5566
|
} | null;
|
|
3635
5567
|
FACEBOOK?: {
|
|
3636
5568
|
id?: string | null;
|
|
3637
|
-
postId?: string | null;
|
|
3638
|
-
videoId?: string | null;
|
|
5569
|
+
postId?: string | null;
|
|
5570
|
+
videoId?: string | null;
|
|
5571
|
+
permalink?: string | null;
|
|
5572
|
+
} | null;
|
|
5573
|
+
INSTAGRAM?: {
|
|
5574
|
+
id?: string | null;
|
|
5575
|
+
permalink?: string | null;
|
|
5576
|
+
} | null;
|
|
5577
|
+
TIKTOK?: {
|
|
5578
|
+
id?: string | null;
|
|
5579
|
+
permalink?: string | null;
|
|
5580
|
+
} | null;
|
|
5581
|
+
LINKEDIN?: {
|
|
5582
|
+
id?: string | null;
|
|
5583
|
+
activity?: string | null;
|
|
5584
|
+
permalink?: string | null;
|
|
5585
|
+
} | null;
|
|
5586
|
+
REDDIT?: {
|
|
5587
|
+
id?: string | null;
|
|
5588
|
+
permalink?: string | null;
|
|
5589
|
+
subreddit_name?: string | null;
|
|
5590
|
+
} | null;
|
|
5591
|
+
DISCORD?: {
|
|
5592
|
+
id?: string | null;
|
|
5593
|
+
permalink?: string | null;
|
|
5594
|
+
channelId?: string | null;
|
|
5595
|
+
} | null;
|
|
5596
|
+
SLACK?: {
|
|
5597
|
+
id?: string | null;
|
|
5598
|
+
permalink?: string | null;
|
|
5599
|
+
channelId?: string | null;
|
|
5600
|
+
} | null;
|
|
5601
|
+
YOUTUBE?: {
|
|
5602
|
+
id?: string | null;
|
|
5603
|
+
permalink?: string | null;
|
|
5604
|
+
} | null;
|
|
5605
|
+
MASTODON?: {
|
|
5606
|
+
id?: string | null;
|
|
5607
|
+
permalink?: string | null;
|
|
5608
|
+
} | null;
|
|
5609
|
+
THREADS?: {
|
|
5610
|
+
id?: string | null;
|
|
5611
|
+
permalink?: string | null;
|
|
5612
|
+
} | null;
|
|
5613
|
+
} | null;
|
|
5614
|
+
createdAt: string | null;
|
|
5615
|
+
updatedAt: string | null;
|
|
5616
|
+
deletedAt?: string | null;
|
|
5617
|
+
};
|
|
5618
|
+
/**
|
|
5619
|
+
* 400
|
|
5620
|
+
*/
|
|
5621
|
+
400: {
|
|
5622
|
+
message: string;
|
|
5623
|
+
issues?: Array<{
|
|
5624
|
+
message: string;
|
|
5625
|
+
path?: Array<(string | number)> | null;
|
|
5626
|
+
}> | null;
|
|
5627
|
+
};
|
|
5628
|
+
/**
|
|
5629
|
+
* 401
|
|
5630
|
+
*/
|
|
5631
|
+
401: {
|
|
5632
|
+
message: string;
|
|
5633
|
+
};
|
|
5634
|
+
/**
|
|
5635
|
+
* 403
|
|
5636
|
+
*/
|
|
5637
|
+
403: {
|
|
5638
|
+
message: string;
|
|
5639
|
+
};
|
|
5640
|
+
/**
|
|
5641
|
+
* 404
|
|
5642
|
+
*/
|
|
5643
|
+
404: {
|
|
5644
|
+
message: string;
|
|
5645
|
+
};
|
|
5646
|
+
/**
|
|
5647
|
+
* 429
|
|
5648
|
+
*/
|
|
5649
|
+
429: {
|
|
5650
|
+
message: string;
|
|
5651
|
+
};
|
|
5652
|
+
/**
|
|
5653
|
+
* 500
|
|
5654
|
+
*/
|
|
5655
|
+
500: {
|
|
5656
|
+
message: string;
|
|
5657
|
+
};
|
|
5658
|
+
};
|
|
5659
|
+
};
|
|
5660
|
+
};
|
|
5661
|
+
'/api/v1/comment/{id}': {
|
|
5662
|
+
get: {
|
|
5663
|
+
req: CommentGetData;
|
|
5664
|
+
res: {
|
|
5665
|
+
/**
|
|
5666
|
+
* 200
|
|
5667
|
+
*/
|
|
5668
|
+
200: {
|
|
5669
|
+
id: string;
|
|
5670
|
+
teamId: string;
|
|
5671
|
+
internalPostId: string;
|
|
5672
|
+
internalParentCommentId?: string | null;
|
|
5673
|
+
text: string;
|
|
5674
|
+
postDate: string | null;
|
|
5675
|
+
postedDate?: string | null;
|
|
5676
|
+
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
5677
|
+
data: {
|
|
5678
|
+
FACEBOOK?: {
|
|
5679
|
+
text?: string | null;
|
|
5680
|
+
} | null;
|
|
5681
|
+
INSTAGRAM?: {
|
|
5682
|
+
text?: string | null;
|
|
5683
|
+
} | null;
|
|
5684
|
+
THREADS?: {
|
|
5685
|
+
text?: string | null;
|
|
5686
|
+
} | null;
|
|
5687
|
+
TIKTOK?: {
|
|
5688
|
+
text?: string | null;
|
|
5689
|
+
} | null;
|
|
5690
|
+
LINKEDIN?: {
|
|
5691
|
+
text: string;
|
|
5692
|
+
} | null;
|
|
5693
|
+
YOUTUBE?: {
|
|
5694
|
+
text?: string | null;
|
|
5695
|
+
} | null;
|
|
5696
|
+
REDDIT?: {
|
|
5697
|
+
text: string;
|
|
5698
|
+
} | null;
|
|
5699
|
+
MASTODON?: {
|
|
5700
|
+
text?: string | null;
|
|
5701
|
+
} | null;
|
|
5702
|
+
DISCORD?: {
|
|
5703
|
+
text?: string | null;
|
|
5704
|
+
} | null;
|
|
5705
|
+
SLACK?: {
|
|
5706
|
+
text?: string | null;
|
|
5707
|
+
} | null;
|
|
5708
|
+
};
|
|
5709
|
+
error?: string | null;
|
|
5710
|
+
errors?: {
|
|
5711
|
+
FACEBOOK?: string | null;
|
|
5712
|
+
INSTAGRAM?: string | null;
|
|
5713
|
+
TIKTOK?: string | null;
|
|
5714
|
+
LINKEDIN?: string | null;
|
|
5715
|
+
REDDIT?: string | null;
|
|
5716
|
+
YOUTUBE?: string | null;
|
|
5717
|
+
MASTODON?: string | null;
|
|
5718
|
+
THREADS?: string | null;
|
|
5719
|
+
DISCORD?: string | null;
|
|
5720
|
+
SLACK?: string | null;
|
|
5721
|
+
} | null;
|
|
5722
|
+
externalData?: {
|
|
5723
|
+
FACEBOOK?: {
|
|
5724
|
+
id?: string | null;
|
|
3639
5725
|
permalink?: string | null;
|
|
3640
5726
|
} | null;
|
|
3641
5727
|
INSTAGRAM?: {
|
|
@@ -3648,32 +5734,30 @@ type $OpenApiTs = {
|
|
|
3648
5734
|
} | null;
|
|
3649
5735
|
LINKEDIN?: {
|
|
3650
5736
|
id?: string | null;
|
|
5737
|
+
commentUrn?: string | null;
|
|
3651
5738
|
permalink?: string | null;
|
|
3652
5739
|
} | null;
|
|
3653
5740
|
REDDIT?: {
|
|
3654
5741
|
id?: string | null;
|
|
3655
5742
|
permalink?: string | null;
|
|
3656
|
-
subreddit_name?: string | null;
|
|
3657
5743
|
} | null;
|
|
3658
|
-
|
|
5744
|
+
YOUTUBE?: {
|
|
3659
5745
|
id?: string | null;
|
|
3660
5746
|
permalink?: string | null;
|
|
3661
|
-
channelId?: string | null;
|
|
3662
5747
|
} | null;
|
|
3663
|
-
|
|
5748
|
+
MASTODON?: {
|
|
3664
5749
|
id?: string | null;
|
|
3665
5750
|
permalink?: string | null;
|
|
3666
|
-
channelId?: string | null;
|
|
3667
5751
|
} | null;
|
|
3668
|
-
|
|
5752
|
+
THREADS?: {
|
|
3669
5753
|
id?: string | null;
|
|
3670
5754
|
permalink?: string | null;
|
|
3671
5755
|
} | null;
|
|
3672
|
-
|
|
5756
|
+
DISCORD?: {
|
|
3673
5757
|
id?: string | null;
|
|
3674
5758
|
permalink?: string | null;
|
|
3675
5759
|
} | null;
|
|
3676
|
-
|
|
5760
|
+
SLACK?: {
|
|
3677
5761
|
id?: string | null;
|
|
3678
5762
|
permalink?: string | null;
|
|
3679
5763
|
} | null;
|
|
@@ -3681,65 +5765,6 @@ type $OpenApiTs = {
|
|
|
3681
5765
|
createdAt: string | null;
|
|
3682
5766
|
updatedAt: string | null;
|
|
3683
5767
|
deletedAt?: string | null;
|
|
3684
|
-
uploads: Array<{
|
|
3685
|
-
postId: string;
|
|
3686
|
-
uploadId: string;
|
|
3687
|
-
createdAt: string | null;
|
|
3688
|
-
updatedAt: string | null;
|
|
3689
|
-
deletedAt?: string | null;
|
|
3690
|
-
upload: {
|
|
3691
|
-
id: string;
|
|
3692
|
-
teamId: string;
|
|
3693
|
-
expiresAt?: string | null;
|
|
3694
|
-
iconUrl?: string | null;
|
|
3695
|
-
thumbnailUrl?: string | null;
|
|
3696
|
-
url?: string | null;
|
|
3697
|
-
iconPath?: string | null;
|
|
3698
|
-
thumbnailPath?: string | null;
|
|
3699
|
-
path?: string | null;
|
|
3700
|
-
type: 'image' | 'video';
|
|
3701
|
-
width?: number | null;
|
|
3702
|
-
height?: number | null;
|
|
3703
|
-
fileSize?: number | null;
|
|
3704
|
-
videoLength?: number | null;
|
|
3705
|
-
mime?: string | null;
|
|
3706
|
-
ext?: string | null;
|
|
3707
|
-
createdAt: string | null;
|
|
3708
|
-
updatedAt: string | null;
|
|
3709
|
-
};
|
|
3710
|
-
}>;
|
|
3711
|
-
socialAccounts: Array<{
|
|
3712
|
-
postId: string;
|
|
3713
|
-
socialAccountId: string;
|
|
3714
|
-
createdAt: string | null;
|
|
3715
|
-
updatedAt: string | null;
|
|
3716
|
-
deletedAt?: string | null;
|
|
3717
|
-
socialAccount: {
|
|
3718
|
-
id: string;
|
|
3719
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
|
|
3720
|
-
teamId: string;
|
|
3721
|
-
username?: string | null;
|
|
3722
|
-
displayName?: string | null;
|
|
3723
|
-
externalId?: string | null;
|
|
3724
|
-
userUsername?: string | null;
|
|
3725
|
-
userDisplayName?: string | null;
|
|
3726
|
-
userId?: string | null;
|
|
3727
|
-
channels?: Array<{
|
|
3728
|
-
id: string;
|
|
3729
|
-
name?: string | null;
|
|
3730
|
-
username?: string | null;
|
|
3731
|
-
webhook?: {
|
|
3732
|
-
id?: string | null;
|
|
3733
|
-
name?: string | null;
|
|
3734
|
-
avatar?: string | null;
|
|
3735
|
-
url?: string | null;
|
|
3736
|
-
} | null;
|
|
3737
|
-
}> | null;
|
|
3738
|
-
createdAt: string | null;
|
|
3739
|
-
updatedAt: string | null;
|
|
3740
|
-
deletedAt?: string | null;
|
|
3741
|
-
};
|
|
3742
|
-
}>;
|
|
3743
5768
|
};
|
|
3744
5769
|
/**
|
|
3745
5770
|
* 400
|
|
@@ -3784,7 +5809,7 @@ type $OpenApiTs = {
|
|
|
3784
5809
|
};
|
|
3785
5810
|
};
|
|
3786
5811
|
patch: {
|
|
3787
|
-
req:
|
|
5812
|
+
req: CommentUpdateData;
|
|
3788
5813
|
res: {
|
|
3789
5814
|
/**
|
|
3790
5815
|
* 200
|
|
@@ -3792,178 +5817,60 @@ type $OpenApiTs = {
|
|
|
3792
5817
|
200: {
|
|
3793
5818
|
id: string;
|
|
3794
5819
|
teamId: string;
|
|
3795
|
-
|
|
5820
|
+
internalPostId: string;
|
|
5821
|
+
internalParentCommentId?: string | null;
|
|
5822
|
+
text: string;
|
|
3796
5823
|
postDate: string | null;
|
|
3797
5824
|
postedDate?: string | null;
|
|
3798
5825
|
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
3799
5826
|
data: {
|
|
3800
|
-
TWITTER?: {
|
|
3801
|
-
text?: string | null;
|
|
3802
|
-
uploadIds?: Array<(string)> | null;
|
|
3803
|
-
} | null;
|
|
3804
|
-
PINTEREST?: {
|
|
3805
|
-
text?: string | null;
|
|
3806
|
-
description?: string | null;
|
|
3807
|
-
boardName: string;
|
|
3808
|
-
uploadIds?: Array<(string)> | null;
|
|
3809
|
-
/**
|
|
3810
|
-
* The URL to which the Pin will link to.
|
|
3811
|
-
*/
|
|
3812
|
-
link?: string | null;
|
|
3813
|
-
/**
|
|
3814
|
-
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
3815
|
-
*/
|
|
3816
|
-
altText?: string | null;
|
|
3817
|
-
/**
|
|
3818
|
-
* A note about the Pin. This is not visible to the public.
|
|
3819
|
-
*/
|
|
3820
|
-
note?: string | null;
|
|
3821
|
-
/**
|
|
3822
|
-
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
3823
|
-
*/
|
|
3824
|
-
dominantColor?: string | null;
|
|
3825
|
-
} | null;
|
|
3826
5827
|
FACEBOOK?: {
|
|
3827
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
3828
5828
|
text?: string | null;
|
|
3829
|
-
uploadIds?: Array<(string)> | null;
|
|
3830
5829
|
} | null;
|
|
3831
5830
|
INSTAGRAM?: {
|
|
3832
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
3833
5831
|
text?: string | null;
|
|
3834
|
-
uploadIds?: Array<(string)> | null;
|
|
3835
5832
|
} | null;
|
|
3836
5833
|
THREADS?: {
|
|
3837
5834
|
text?: string | null;
|
|
3838
|
-
uploadIds?: Array<(string)> | null;
|
|
3839
5835
|
} | null;
|
|
3840
5836
|
TIKTOK?: {
|
|
3841
5837
|
text?: string | null;
|
|
3842
|
-
uploadIds?: Array<(string)> | null;
|
|
3843
|
-
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
3844
|
-
/**
|
|
3845
|
-
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
3846
|
-
*/
|
|
3847
|
-
isBrandContent?: boolean | null;
|
|
3848
|
-
/**
|
|
3849
|
-
* Set to true if this video is promoting the creator's own business.
|
|
3850
|
-
*/
|
|
3851
|
-
isOrganicBrandContent?: boolean | null;
|
|
3852
|
-
/**
|
|
3853
|
-
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
3854
|
-
*/
|
|
3855
|
-
disableComments?: boolean | null;
|
|
3856
|
-
/**
|
|
3857
|
-
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
3858
|
-
*/
|
|
3859
|
-
disableDuet?: boolean | null;
|
|
3860
|
-
/**
|
|
3861
|
-
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
3862
|
-
*/
|
|
3863
|
-
disableStitch?: boolean | null;
|
|
3864
5838
|
} | null;
|
|
3865
5839
|
LINKEDIN?: {
|
|
3866
5840
|
text: string;
|
|
3867
|
-
uploadIds?: Array<(string)> | null;
|
|
3868
|
-
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
3869
|
-
/**
|
|
3870
|
-
* Set to true if the post shouldn't be displayed in the main feed.
|
|
3871
|
-
*/
|
|
3872
|
-
hideFromFeed?: boolean | null;
|
|
3873
|
-
/**
|
|
3874
|
-
* Set to true if the post is not allowed to be reshared.
|
|
3875
|
-
*/
|
|
3876
|
-
disableReshare?: boolean | null;
|
|
3877
5841
|
} | null;
|
|
3878
5842
|
YOUTUBE?: {
|
|
3879
|
-
type?: 'VIDEO' | 'SHORT';
|
|
3880
|
-
uploadIds?: Array<(string)> | null;
|
|
3881
5843
|
text?: string | null;
|
|
3882
|
-
description?: string | null;
|
|
3883
|
-
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
3884
|
-
/**
|
|
3885
|
-
* Set to true if the video is made for kids.
|
|
3886
|
-
*/
|
|
3887
|
-
madeForKids?: boolean | null;
|
|
3888
5844
|
} | null;
|
|
3889
5845
|
REDDIT?: {
|
|
3890
|
-
/**
|
|
3891
|
-
* Subreddit name. Example: r/subredditName or u/username
|
|
3892
|
-
*/
|
|
3893
|
-
sr: string;
|
|
3894
5846
|
text: string;
|
|
3895
|
-
description?: string | null;
|
|
3896
|
-
uploadIds?: Array<(string)> | null;
|
|
3897
|
-
/**
|
|
3898
|
-
* The URL to which the post will link to.
|
|
3899
|
-
*/
|
|
3900
|
-
link?: string | null;
|
|
3901
|
-
/**
|
|
3902
|
-
* Set to true if the post is NSFW.
|
|
3903
|
-
*/
|
|
3904
|
-
nsfw?: boolean | null;
|
|
3905
5847
|
} | null;
|
|
3906
|
-
|
|
3907
|
-
channelId: string;
|
|
5848
|
+
MASTODON?: {
|
|
3908
5849
|
text?: string | null;
|
|
3909
|
-
uploadIds?: Array<(string)> | null;
|
|
3910
|
-
/**
|
|
3911
|
-
* The username to display as the author of the message.
|
|
3912
|
-
*/
|
|
3913
|
-
username?: string | null;
|
|
3914
|
-
/**
|
|
3915
|
-
* Avatar url to display as the author of the message.
|
|
3916
|
-
*/
|
|
3917
|
-
avatarUrl?: string | null;
|
|
3918
5850
|
} | null;
|
|
3919
|
-
|
|
3920
|
-
channelId: string;
|
|
5851
|
+
DISCORD?: {
|
|
3921
5852
|
text?: string | null;
|
|
3922
|
-
uploadIds?: Array<(string)> | null;
|
|
3923
|
-
/**
|
|
3924
|
-
* The username to display as the author of the message.
|
|
3925
|
-
*/
|
|
3926
|
-
username?: string | null;
|
|
3927
|
-
/**
|
|
3928
|
-
* Avatar url to display as the author of the message.
|
|
3929
|
-
*/
|
|
3930
|
-
avatarUrl?: string | null;
|
|
3931
5853
|
} | null;
|
|
3932
|
-
|
|
5854
|
+
SLACK?: {
|
|
3933
5855
|
text?: string | null;
|
|
3934
|
-
uploadIds?: Array<(string)> | null;
|
|
3935
|
-
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
3936
|
-
spoiler?: string | null;
|
|
3937
5856
|
} | null;
|
|
3938
5857
|
};
|
|
3939
5858
|
error?: string | null;
|
|
3940
5859
|
errors?: {
|
|
3941
|
-
TWITTER?: string | null;
|
|
3942
|
-
PINTEREST?: string | null;
|
|
3943
5860
|
FACEBOOK?: string | null;
|
|
3944
5861
|
INSTAGRAM?: string | null;
|
|
3945
5862
|
TIKTOK?: string | null;
|
|
3946
5863
|
LINKEDIN?: string | null;
|
|
3947
5864
|
REDDIT?: string | null;
|
|
3948
|
-
DISCORD?: string | null;
|
|
3949
|
-
SLACK?: string | null;
|
|
3950
5865
|
YOUTUBE?: string | null;
|
|
3951
5866
|
MASTODON?: string | null;
|
|
3952
5867
|
THREADS?: string | null;
|
|
5868
|
+
DISCORD?: string | null;
|
|
5869
|
+
SLACK?: string | null;
|
|
3953
5870
|
} | null;
|
|
3954
5871
|
externalData?: {
|
|
3955
|
-
TWITTER?: {
|
|
3956
|
-
id?: string | null;
|
|
3957
|
-
permalink?: string | null;
|
|
3958
|
-
} | null;
|
|
3959
|
-
PINTEREST?: {
|
|
3960
|
-
id?: string | null;
|
|
3961
|
-
permalink?: string | null;
|
|
3962
|
-
} | null;
|
|
3963
5872
|
FACEBOOK?: {
|
|
3964
5873
|
id?: string | null;
|
|
3965
|
-
postId?: string | null;
|
|
3966
|
-
videoId?: string | null;
|
|
3967
5874
|
permalink?: string | null;
|
|
3968
5875
|
} | null;
|
|
3969
5876
|
INSTAGRAM?: {
|
|
@@ -3976,32 +5883,30 @@ type $OpenApiTs = {
|
|
|
3976
5883
|
} | null;
|
|
3977
5884
|
LINKEDIN?: {
|
|
3978
5885
|
id?: string | null;
|
|
5886
|
+
commentUrn?: string | null;
|
|
3979
5887
|
permalink?: string | null;
|
|
3980
5888
|
} | null;
|
|
3981
5889
|
REDDIT?: {
|
|
3982
5890
|
id?: string | null;
|
|
3983
5891
|
permalink?: string | null;
|
|
3984
|
-
subreddit_name?: string | null;
|
|
3985
5892
|
} | null;
|
|
3986
|
-
|
|
5893
|
+
YOUTUBE?: {
|
|
3987
5894
|
id?: string | null;
|
|
3988
5895
|
permalink?: string | null;
|
|
3989
|
-
channelId?: string | null;
|
|
3990
5896
|
} | null;
|
|
3991
|
-
|
|
5897
|
+
MASTODON?: {
|
|
3992
5898
|
id?: string | null;
|
|
3993
5899
|
permalink?: string | null;
|
|
3994
|
-
channelId?: string | null;
|
|
3995
5900
|
} | null;
|
|
3996
|
-
|
|
5901
|
+
THREADS?: {
|
|
3997
5902
|
id?: string | null;
|
|
3998
5903
|
permalink?: string | null;
|
|
3999
5904
|
} | null;
|
|
4000
|
-
|
|
5905
|
+
DISCORD?: {
|
|
4001
5906
|
id?: string | null;
|
|
4002
5907
|
permalink?: string | null;
|
|
4003
5908
|
} | null;
|
|
4004
|
-
|
|
5909
|
+
SLACK?: {
|
|
4005
5910
|
id?: string | null;
|
|
4006
5911
|
permalink?: string | null;
|
|
4007
5912
|
} | null;
|
|
@@ -4053,7 +5958,7 @@ type $OpenApiTs = {
|
|
|
4053
5958
|
};
|
|
4054
5959
|
};
|
|
4055
5960
|
delete: {
|
|
4056
|
-
req:
|
|
5961
|
+
req: CommentDeleteData;
|
|
4057
5962
|
res: {
|
|
4058
5963
|
/**
|
|
4059
5964
|
* 200
|
|
@@ -4061,178 +5966,60 @@ type $OpenApiTs = {
|
|
|
4061
5966
|
200: {
|
|
4062
5967
|
id: string;
|
|
4063
5968
|
teamId: string;
|
|
4064
|
-
|
|
5969
|
+
internalPostId: string;
|
|
5970
|
+
internalParentCommentId?: string | null;
|
|
5971
|
+
text: string;
|
|
4065
5972
|
postDate: string | null;
|
|
4066
5973
|
postedDate?: string | null;
|
|
4067
5974
|
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
4068
5975
|
data: {
|
|
4069
|
-
TWITTER?: {
|
|
4070
|
-
text?: string | null;
|
|
4071
|
-
uploadIds?: Array<(string)> | null;
|
|
4072
|
-
} | null;
|
|
4073
|
-
PINTEREST?: {
|
|
4074
|
-
text?: string | null;
|
|
4075
|
-
description?: string | null;
|
|
4076
|
-
boardName: string;
|
|
4077
|
-
uploadIds?: Array<(string)> | null;
|
|
4078
|
-
/**
|
|
4079
|
-
* The URL to which the Pin will link to.
|
|
4080
|
-
*/
|
|
4081
|
-
link?: string | null;
|
|
4082
|
-
/**
|
|
4083
|
-
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
4084
|
-
*/
|
|
4085
|
-
altText?: string | null;
|
|
4086
|
-
/**
|
|
4087
|
-
* A note about the Pin. This is not visible to the public.
|
|
4088
|
-
*/
|
|
4089
|
-
note?: string | null;
|
|
4090
|
-
/**
|
|
4091
|
-
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
4092
|
-
*/
|
|
4093
|
-
dominantColor?: string | null;
|
|
4094
|
-
} | null;
|
|
4095
5976
|
FACEBOOK?: {
|
|
4096
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
4097
5977
|
text?: string | null;
|
|
4098
|
-
uploadIds?: Array<(string)> | null;
|
|
4099
5978
|
} | null;
|
|
4100
5979
|
INSTAGRAM?: {
|
|
4101
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
4102
5980
|
text?: string | null;
|
|
4103
|
-
uploadIds?: Array<(string)> | null;
|
|
4104
5981
|
} | null;
|
|
4105
5982
|
THREADS?: {
|
|
4106
5983
|
text?: string | null;
|
|
4107
|
-
uploadIds?: Array<(string)> | null;
|
|
4108
5984
|
} | null;
|
|
4109
5985
|
TIKTOK?: {
|
|
4110
5986
|
text?: string | null;
|
|
4111
|
-
uploadIds?: Array<(string)> | null;
|
|
4112
|
-
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
4113
|
-
/**
|
|
4114
|
-
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
4115
|
-
*/
|
|
4116
|
-
isBrandContent?: boolean | null;
|
|
4117
|
-
/**
|
|
4118
|
-
* Set to true if this video is promoting the creator's own business.
|
|
4119
|
-
*/
|
|
4120
|
-
isOrganicBrandContent?: boolean | null;
|
|
4121
|
-
/**
|
|
4122
|
-
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
4123
|
-
*/
|
|
4124
|
-
disableComments?: boolean | null;
|
|
4125
|
-
/**
|
|
4126
|
-
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
4127
|
-
*/
|
|
4128
|
-
disableDuet?: boolean | null;
|
|
4129
|
-
/**
|
|
4130
|
-
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
4131
|
-
*/
|
|
4132
|
-
disableStitch?: boolean | null;
|
|
4133
5987
|
} | null;
|
|
4134
5988
|
LINKEDIN?: {
|
|
4135
5989
|
text: string;
|
|
4136
|
-
uploadIds?: Array<(string)> | null;
|
|
4137
|
-
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
4138
|
-
/**
|
|
4139
|
-
* Set to true if the post shouldn't be displayed in the main feed.
|
|
4140
|
-
*/
|
|
4141
|
-
hideFromFeed?: boolean | null;
|
|
4142
|
-
/**
|
|
4143
|
-
* Set to true if the post is not allowed to be reshared.
|
|
4144
|
-
*/
|
|
4145
|
-
disableReshare?: boolean | null;
|
|
4146
5990
|
} | null;
|
|
4147
5991
|
YOUTUBE?: {
|
|
4148
|
-
type?: 'VIDEO' | 'SHORT';
|
|
4149
|
-
uploadIds?: Array<(string)> | null;
|
|
4150
5992
|
text?: string | null;
|
|
4151
|
-
description?: string | null;
|
|
4152
|
-
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
4153
|
-
/**
|
|
4154
|
-
* Set to true if the video is made for kids.
|
|
4155
|
-
*/
|
|
4156
|
-
madeForKids?: boolean | null;
|
|
4157
5993
|
} | null;
|
|
4158
5994
|
REDDIT?: {
|
|
4159
|
-
/**
|
|
4160
|
-
* Subreddit name. Example: r/subredditName or u/username
|
|
4161
|
-
*/
|
|
4162
|
-
sr: string;
|
|
4163
5995
|
text: string;
|
|
4164
|
-
description?: string | null;
|
|
4165
|
-
uploadIds?: Array<(string)> | null;
|
|
4166
|
-
/**
|
|
4167
|
-
* The URL to which the post will link to.
|
|
4168
|
-
*/
|
|
4169
|
-
link?: string | null;
|
|
4170
|
-
/**
|
|
4171
|
-
* Set to true if the post is NSFW.
|
|
4172
|
-
*/
|
|
4173
|
-
nsfw?: boolean | null;
|
|
4174
5996
|
} | null;
|
|
4175
|
-
|
|
4176
|
-
channelId: string;
|
|
5997
|
+
MASTODON?: {
|
|
4177
5998
|
text?: string | null;
|
|
4178
|
-
uploadIds?: Array<(string)> | null;
|
|
4179
|
-
/**
|
|
4180
|
-
* The username to display as the author of the message.
|
|
4181
|
-
*/
|
|
4182
|
-
username?: string | null;
|
|
4183
|
-
/**
|
|
4184
|
-
* Avatar url to display as the author of the message.
|
|
4185
|
-
*/
|
|
4186
|
-
avatarUrl?: string | null;
|
|
4187
5999
|
} | null;
|
|
4188
|
-
|
|
4189
|
-
channelId: string;
|
|
6000
|
+
DISCORD?: {
|
|
4190
6001
|
text?: string | null;
|
|
4191
|
-
uploadIds?: Array<(string)> | null;
|
|
4192
|
-
/**
|
|
4193
|
-
* The username to display as the author of the message.
|
|
4194
|
-
*/
|
|
4195
|
-
username?: string | null;
|
|
4196
|
-
/**
|
|
4197
|
-
* Avatar url to display as the author of the message.
|
|
4198
|
-
*/
|
|
4199
|
-
avatarUrl?: string | null;
|
|
4200
6002
|
} | null;
|
|
4201
|
-
|
|
6003
|
+
SLACK?: {
|
|
4202
6004
|
text?: string | null;
|
|
4203
|
-
uploadIds?: Array<(string)> | null;
|
|
4204
|
-
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
4205
|
-
spoiler?: string | null;
|
|
4206
6005
|
} | null;
|
|
4207
6006
|
};
|
|
4208
6007
|
error?: string | null;
|
|
4209
6008
|
errors?: {
|
|
4210
|
-
TWITTER?: string | null;
|
|
4211
|
-
PINTEREST?: string | null;
|
|
4212
6009
|
FACEBOOK?: string | null;
|
|
4213
6010
|
INSTAGRAM?: string | null;
|
|
4214
6011
|
TIKTOK?: string | null;
|
|
4215
6012
|
LINKEDIN?: string | null;
|
|
4216
6013
|
REDDIT?: string | null;
|
|
4217
|
-
DISCORD?: string | null;
|
|
4218
|
-
SLACK?: string | null;
|
|
4219
6014
|
YOUTUBE?: string | null;
|
|
4220
6015
|
MASTODON?: string | null;
|
|
4221
6016
|
THREADS?: string | null;
|
|
6017
|
+
DISCORD?: string | null;
|
|
6018
|
+
SLACK?: string | null;
|
|
4222
6019
|
} | null;
|
|
4223
6020
|
externalData?: {
|
|
4224
|
-
TWITTER?: {
|
|
4225
|
-
id?: string | null;
|
|
4226
|
-
permalink?: string | null;
|
|
4227
|
-
} | null;
|
|
4228
|
-
PINTEREST?: {
|
|
4229
|
-
id?: string | null;
|
|
4230
|
-
permalink?: string | null;
|
|
4231
|
-
} | null;
|
|
4232
6021
|
FACEBOOK?: {
|
|
4233
6022
|
id?: string | null;
|
|
4234
|
-
postId?: string | null;
|
|
4235
|
-
videoId?: string | null;
|
|
4236
6023
|
permalink?: string | null;
|
|
4237
6024
|
} | null;
|
|
4238
6025
|
INSTAGRAM?: {
|
|
@@ -4245,32 +6032,30 @@ type $OpenApiTs = {
|
|
|
4245
6032
|
} | null;
|
|
4246
6033
|
LINKEDIN?: {
|
|
4247
6034
|
id?: string | null;
|
|
6035
|
+
commentUrn?: string | null;
|
|
4248
6036
|
permalink?: string | null;
|
|
4249
6037
|
} | null;
|
|
4250
6038
|
REDDIT?: {
|
|
4251
6039
|
id?: string | null;
|
|
4252
6040
|
permalink?: string | null;
|
|
4253
|
-
subreddit_name?: string | null;
|
|
4254
6041
|
} | null;
|
|
4255
|
-
|
|
6042
|
+
YOUTUBE?: {
|
|
4256
6043
|
id?: string | null;
|
|
4257
6044
|
permalink?: string | null;
|
|
4258
|
-
channelId?: string | null;
|
|
4259
6045
|
} | null;
|
|
4260
|
-
|
|
6046
|
+
MASTODON?: {
|
|
4261
6047
|
id?: string | null;
|
|
4262
6048
|
permalink?: string | null;
|
|
4263
|
-
channelId?: string | null;
|
|
4264
6049
|
} | null;
|
|
4265
|
-
|
|
6050
|
+
THREADS?: {
|
|
4266
6051
|
id?: string | null;
|
|
4267
6052
|
permalink?: string | null;
|
|
4268
6053
|
} | null;
|
|
4269
|
-
|
|
6054
|
+
DISCORD?: {
|
|
4270
6055
|
id?: string | null;
|
|
4271
6056
|
permalink?: string | null;
|
|
4272
6057
|
} | null;
|
|
4273
|
-
|
|
6058
|
+
SLACK?: {
|
|
4274
6059
|
id?: string | null;
|
|
4275
6060
|
permalink?: string | null;
|
|
4276
6061
|
} | null;
|
|
@@ -4322,9 +6107,9 @@ type $OpenApiTs = {
|
|
|
4322
6107
|
};
|
|
4323
6108
|
};
|
|
4324
6109
|
};
|
|
4325
|
-
'/api/v1/
|
|
6110
|
+
'/api/v1/comment/': {
|
|
4326
6111
|
get: {
|
|
4327
|
-
req:
|
|
6112
|
+
req: CommentGetListData;
|
|
4328
6113
|
res: {
|
|
4329
6114
|
/**
|
|
4330
6115
|
* 200
|
|
@@ -4333,178 +6118,60 @@ type $OpenApiTs = {
|
|
|
4333
6118
|
items: Array<{
|
|
4334
6119
|
id: string;
|
|
4335
6120
|
teamId: string;
|
|
4336
|
-
|
|
6121
|
+
internalPostId: string;
|
|
6122
|
+
internalParentCommentId?: string | null;
|
|
6123
|
+
text: string;
|
|
4337
6124
|
postDate: string | null;
|
|
4338
6125
|
postedDate?: string | null;
|
|
4339
6126
|
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
4340
6127
|
data: {
|
|
4341
|
-
TWITTER?: {
|
|
4342
|
-
text?: string | null;
|
|
4343
|
-
uploadIds?: Array<(string)> | null;
|
|
4344
|
-
} | null;
|
|
4345
|
-
PINTEREST?: {
|
|
4346
|
-
text?: string | null;
|
|
4347
|
-
description?: string | null;
|
|
4348
|
-
boardName: string;
|
|
4349
|
-
uploadIds?: Array<(string)> | null;
|
|
4350
|
-
/**
|
|
4351
|
-
* The URL to which the Pin will link to.
|
|
4352
|
-
*/
|
|
4353
|
-
link?: string | null;
|
|
4354
|
-
/**
|
|
4355
|
-
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
4356
|
-
*/
|
|
4357
|
-
altText?: string | null;
|
|
4358
|
-
/**
|
|
4359
|
-
* A note about the Pin. This is not visible to the public.
|
|
4360
|
-
*/
|
|
4361
|
-
note?: string | null;
|
|
4362
|
-
/**
|
|
4363
|
-
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
4364
|
-
*/
|
|
4365
|
-
dominantColor?: string | null;
|
|
4366
|
-
} | null;
|
|
4367
6128
|
FACEBOOK?: {
|
|
4368
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
4369
6129
|
text?: string | null;
|
|
4370
|
-
uploadIds?: Array<(string)> | null;
|
|
4371
6130
|
} | null;
|
|
4372
6131
|
INSTAGRAM?: {
|
|
4373
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
4374
6132
|
text?: string | null;
|
|
4375
|
-
uploadIds?: Array<(string)> | null;
|
|
4376
6133
|
} | null;
|
|
4377
6134
|
THREADS?: {
|
|
4378
6135
|
text?: string | null;
|
|
4379
|
-
uploadIds?: Array<(string)> | null;
|
|
4380
6136
|
} | null;
|
|
4381
6137
|
TIKTOK?: {
|
|
4382
6138
|
text?: string | null;
|
|
4383
|
-
uploadIds?: Array<(string)> | null;
|
|
4384
|
-
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
4385
|
-
/**
|
|
4386
|
-
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
4387
|
-
*/
|
|
4388
|
-
isBrandContent?: boolean | null;
|
|
4389
|
-
/**
|
|
4390
|
-
* Set to true if this video is promoting the creator's own business.
|
|
4391
|
-
*/
|
|
4392
|
-
isOrganicBrandContent?: boolean | null;
|
|
4393
|
-
/**
|
|
4394
|
-
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
4395
|
-
*/
|
|
4396
|
-
disableComments?: boolean | null;
|
|
4397
|
-
/**
|
|
4398
|
-
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
4399
|
-
*/
|
|
4400
|
-
disableDuet?: boolean | null;
|
|
4401
|
-
/**
|
|
4402
|
-
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
4403
|
-
*/
|
|
4404
|
-
disableStitch?: boolean | null;
|
|
4405
6139
|
} | null;
|
|
4406
6140
|
LINKEDIN?: {
|
|
4407
6141
|
text: string;
|
|
4408
|
-
uploadIds?: Array<(string)> | null;
|
|
4409
|
-
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
4410
|
-
/**
|
|
4411
|
-
* Set to true if the post shouldn't be displayed in the main feed.
|
|
4412
|
-
*/
|
|
4413
|
-
hideFromFeed?: boolean | null;
|
|
4414
|
-
/**
|
|
4415
|
-
* Set to true if the post is not allowed to be reshared.
|
|
4416
|
-
*/
|
|
4417
|
-
disableReshare?: boolean | null;
|
|
4418
6142
|
} | null;
|
|
4419
6143
|
YOUTUBE?: {
|
|
4420
|
-
type?: 'VIDEO' | 'SHORT';
|
|
4421
|
-
uploadIds?: Array<(string)> | null;
|
|
4422
6144
|
text?: string | null;
|
|
4423
|
-
description?: string | null;
|
|
4424
|
-
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
4425
|
-
/**
|
|
4426
|
-
* Set to true if the video is made for kids.
|
|
4427
|
-
*/
|
|
4428
|
-
madeForKids?: boolean | null;
|
|
4429
6145
|
} | null;
|
|
4430
6146
|
REDDIT?: {
|
|
4431
|
-
/**
|
|
4432
|
-
* Subreddit name. Example: r/subredditName or u/username
|
|
4433
|
-
*/
|
|
4434
|
-
sr: string;
|
|
4435
6147
|
text: string;
|
|
4436
|
-
description?: string | null;
|
|
4437
|
-
uploadIds?: Array<(string)> | null;
|
|
4438
|
-
/**
|
|
4439
|
-
* The URL to which the post will link to.
|
|
4440
|
-
*/
|
|
4441
|
-
link?: string | null;
|
|
4442
|
-
/**
|
|
4443
|
-
* Set to true if the post is NSFW.
|
|
4444
|
-
*/
|
|
4445
|
-
nsfw?: boolean | null;
|
|
4446
6148
|
} | null;
|
|
4447
|
-
|
|
4448
|
-
channelId: string;
|
|
6149
|
+
MASTODON?: {
|
|
4449
6150
|
text?: string | null;
|
|
4450
|
-
uploadIds?: Array<(string)> | null;
|
|
4451
|
-
/**
|
|
4452
|
-
* The username to display as the author of the message.
|
|
4453
|
-
*/
|
|
4454
|
-
username?: string | null;
|
|
4455
|
-
/**
|
|
4456
|
-
* Avatar url to display as the author of the message.
|
|
4457
|
-
*/
|
|
4458
|
-
avatarUrl?: string | null;
|
|
4459
6151
|
} | null;
|
|
4460
|
-
|
|
4461
|
-
channelId: string;
|
|
6152
|
+
DISCORD?: {
|
|
4462
6153
|
text?: string | null;
|
|
4463
|
-
uploadIds?: Array<(string)> | null;
|
|
4464
|
-
/**
|
|
4465
|
-
* The username to display as the author of the message.
|
|
4466
|
-
*/
|
|
4467
|
-
username?: string | null;
|
|
4468
|
-
/**
|
|
4469
|
-
* Avatar url to display as the author of the message.
|
|
4470
|
-
*/
|
|
4471
|
-
avatarUrl?: string | null;
|
|
4472
6154
|
} | null;
|
|
4473
|
-
|
|
6155
|
+
SLACK?: {
|
|
4474
6156
|
text?: string | null;
|
|
4475
|
-
uploadIds?: Array<(string)> | null;
|
|
4476
|
-
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
4477
|
-
spoiler?: string | null;
|
|
4478
6157
|
} | null;
|
|
4479
6158
|
};
|
|
4480
6159
|
error?: string | null;
|
|
4481
6160
|
errors?: {
|
|
4482
|
-
TWITTER?: string | null;
|
|
4483
|
-
PINTEREST?: string | null;
|
|
4484
6161
|
FACEBOOK?: string | null;
|
|
4485
6162
|
INSTAGRAM?: string | null;
|
|
4486
6163
|
TIKTOK?: string | null;
|
|
4487
6164
|
LINKEDIN?: string | null;
|
|
4488
6165
|
REDDIT?: string | null;
|
|
4489
|
-
DISCORD?: string | null;
|
|
4490
|
-
SLACK?: string | null;
|
|
4491
6166
|
YOUTUBE?: string | null;
|
|
4492
6167
|
MASTODON?: string | null;
|
|
4493
6168
|
THREADS?: string | null;
|
|
6169
|
+
DISCORD?: string | null;
|
|
6170
|
+
SLACK?: string | null;
|
|
4494
6171
|
} | null;
|
|
4495
6172
|
externalData?: {
|
|
4496
|
-
TWITTER?: {
|
|
4497
|
-
id?: string | null;
|
|
4498
|
-
permalink?: string | null;
|
|
4499
|
-
} | null;
|
|
4500
|
-
PINTEREST?: {
|
|
4501
|
-
id?: string | null;
|
|
4502
|
-
permalink?: string | null;
|
|
4503
|
-
} | null;
|
|
4504
6173
|
FACEBOOK?: {
|
|
4505
6174
|
id?: string | null;
|
|
4506
|
-
postId?: string | null;
|
|
4507
|
-
videoId?: string | null;
|
|
4508
6175
|
permalink?: string | null;
|
|
4509
6176
|
} | null;
|
|
4510
6177
|
INSTAGRAM?: {
|
|
@@ -4517,22 +6184,12 @@ type $OpenApiTs = {
|
|
|
4517
6184
|
} | null;
|
|
4518
6185
|
LINKEDIN?: {
|
|
4519
6186
|
id?: string | null;
|
|
6187
|
+
commentUrn?: string | null;
|
|
4520
6188
|
permalink?: string | null;
|
|
4521
6189
|
} | null;
|
|
4522
|
-
REDDIT?: {
|
|
4523
|
-
id?: string | null;
|
|
4524
|
-
permalink?: string | null;
|
|
4525
|
-
subreddit_name?: string | null;
|
|
4526
|
-
} | null;
|
|
4527
|
-
DISCORD?: {
|
|
4528
|
-
id?: string | null;
|
|
4529
|
-
permalink?: string | null;
|
|
4530
|
-
channelId?: string | null;
|
|
4531
|
-
} | null;
|
|
4532
|
-
SLACK?: {
|
|
6190
|
+
REDDIT?: {
|
|
4533
6191
|
id?: string | null;
|
|
4534
6192
|
permalink?: string | null;
|
|
4535
|
-
channelId?: string | null;
|
|
4536
6193
|
} | null;
|
|
4537
6194
|
YOUTUBE?: {
|
|
4538
6195
|
id?: string | null;
|
|
@@ -4546,69 +6203,18 @@ type $OpenApiTs = {
|
|
|
4546
6203
|
id?: string | null;
|
|
4547
6204
|
permalink?: string | null;
|
|
4548
6205
|
} | null;
|
|
6206
|
+
DISCORD?: {
|
|
6207
|
+
id?: string | null;
|
|
6208
|
+
permalink?: string | null;
|
|
6209
|
+
} | null;
|
|
6210
|
+
SLACK?: {
|
|
6211
|
+
id?: string | null;
|
|
6212
|
+
permalink?: string | null;
|
|
6213
|
+
} | null;
|
|
4549
6214
|
} | null;
|
|
4550
6215
|
createdAt: string | null;
|
|
4551
6216
|
updatedAt: string | null;
|
|
4552
6217
|
deletedAt?: string | null;
|
|
4553
|
-
uploads: Array<{
|
|
4554
|
-
postId: string;
|
|
4555
|
-
uploadId: string;
|
|
4556
|
-
createdAt: string | null;
|
|
4557
|
-
updatedAt: string | null;
|
|
4558
|
-
deletedAt?: string | null;
|
|
4559
|
-
upload: {
|
|
4560
|
-
id: string;
|
|
4561
|
-
teamId: string;
|
|
4562
|
-
expiresAt?: string | null;
|
|
4563
|
-
iconUrl?: string | null;
|
|
4564
|
-
thumbnailUrl?: string | null;
|
|
4565
|
-
url?: string | null;
|
|
4566
|
-
iconPath?: string | null;
|
|
4567
|
-
thumbnailPath?: string | null;
|
|
4568
|
-
path?: string | null;
|
|
4569
|
-
type: 'image' | 'video';
|
|
4570
|
-
width?: number | null;
|
|
4571
|
-
height?: number | null;
|
|
4572
|
-
fileSize?: number | null;
|
|
4573
|
-
videoLength?: number | null;
|
|
4574
|
-
mime?: string | null;
|
|
4575
|
-
ext?: string | null;
|
|
4576
|
-
createdAt: string | null;
|
|
4577
|
-
updatedAt: string | null;
|
|
4578
|
-
};
|
|
4579
|
-
}>;
|
|
4580
|
-
socialAccounts: Array<{
|
|
4581
|
-
postId: string;
|
|
4582
|
-
socialAccountId: string;
|
|
4583
|
-
createdAt: string | null;
|
|
4584
|
-
updatedAt: string | null;
|
|
4585
|
-
deletedAt?: string | null;
|
|
4586
|
-
socialAccount: {
|
|
4587
|
-
id: string;
|
|
4588
|
-
type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
|
|
4589
|
-
teamId: string;
|
|
4590
|
-
username?: string | null;
|
|
4591
|
-
displayName?: string | null;
|
|
4592
|
-
externalId?: string | null;
|
|
4593
|
-
userUsername?: string | null;
|
|
4594
|
-
userDisplayName?: string | null;
|
|
4595
|
-
userId?: string | null;
|
|
4596
|
-
channels?: Array<{
|
|
4597
|
-
id: string;
|
|
4598
|
-
name?: string | null;
|
|
4599
|
-
username?: string | null;
|
|
4600
|
-
webhook?: {
|
|
4601
|
-
id?: string | null;
|
|
4602
|
-
name?: string | null;
|
|
4603
|
-
avatar?: string | null;
|
|
4604
|
-
url?: string | null;
|
|
4605
|
-
} | null;
|
|
4606
|
-
}> | null;
|
|
4607
|
-
createdAt: string | null;
|
|
4608
|
-
updatedAt: string | null;
|
|
4609
|
-
deletedAt?: string | null;
|
|
4610
|
-
};
|
|
4611
|
-
}>;
|
|
4612
6218
|
}>;
|
|
4613
6219
|
total: number;
|
|
4614
6220
|
};
|
|
@@ -4655,7 +6261,7 @@ type $OpenApiTs = {
|
|
|
4655
6261
|
};
|
|
4656
6262
|
};
|
|
4657
6263
|
post: {
|
|
4658
|
-
req:
|
|
6264
|
+
req: CommentCreateData;
|
|
4659
6265
|
res: {
|
|
4660
6266
|
/**
|
|
4661
6267
|
* 200
|
|
@@ -4663,178 +6269,60 @@ type $OpenApiTs = {
|
|
|
4663
6269
|
200: {
|
|
4664
6270
|
id: string;
|
|
4665
6271
|
teamId: string;
|
|
4666
|
-
|
|
6272
|
+
internalPostId: string;
|
|
6273
|
+
internalParentCommentId?: string | null;
|
|
6274
|
+
text: string;
|
|
4667
6275
|
postDate: string | null;
|
|
4668
6276
|
postedDate?: string | null;
|
|
4669
6277
|
status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
|
|
4670
6278
|
data: {
|
|
4671
|
-
TWITTER?: {
|
|
4672
|
-
text?: string | null;
|
|
4673
|
-
uploadIds?: Array<(string)> | null;
|
|
4674
|
-
} | null;
|
|
4675
|
-
PINTEREST?: {
|
|
4676
|
-
text?: string | null;
|
|
4677
|
-
description?: string | null;
|
|
4678
|
-
boardName: string;
|
|
4679
|
-
uploadIds?: Array<(string)> | null;
|
|
4680
|
-
/**
|
|
4681
|
-
* The URL to which the Pin will link to.
|
|
4682
|
-
*/
|
|
4683
|
-
link?: string | null;
|
|
4684
|
-
/**
|
|
4685
|
-
* The alt text for the image. This is used by screen readers and when the image can't be loaded.
|
|
4686
|
-
*/
|
|
4687
|
-
altText?: string | null;
|
|
4688
|
-
/**
|
|
4689
|
-
* A note about the Pin. This is not visible to the public.
|
|
4690
|
-
*/
|
|
4691
|
-
note?: string | null;
|
|
4692
|
-
/**
|
|
4693
|
-
* The dominant color of the image. This is used to display the image before it's loaded.
|
|
4694
|
-
*/
|
|
4695
|
-
dominantColor?: string | null;
|
|
4696
|
-
} | null;
|
|
4697
6279
|
FACEBOOK?: {
|
|
4698
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
4699
6280
|
text?: string | null;
|
|
4700
|
-
uploadIds?: Array<(string)> | null;
|
|
4701
6281
|
} | null;
|
|
4702
6282
|
INSTAGRAM?: {
|
|
4703
|
-
type?: 'POST' | 'REEL' | 'STORY';
|
|
4704
6283
|
text?: string | null;
|
|
4705
|
-
uploadIds?: Array<(string)> | null;
|
|
4706
6284
|
} | null;
|
|
4707
6285
|
THREADS?: {
|
|
4708
6286
|
text?: string | null;
|
|
4709
|
-
uploadIds?: Array<(string)> | null;
|
|
4710
6287
|
} | null;
|
|
4711
6288
|
TIKTOK?: {
|
|
4712
6289
|
text?: string | null;
|
|
4713
|
-
uploadIds?: Array<(string)> | null;
|
|
4714
|
-
privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
|
|
4715
|
-
/**
|
|
4716
|
-
* Set to true if the video is a paid partnership to promote a third-party business.
|
|
4717
|
-
*/
|
|
4718
|
-
isBrandContent?: boolean | null;
|
|
4719
|
-
/**
|
|
4720
|
-
* Set to true if this video is promoting the creator's own business.
|
|
4721
|
-
*/
|
|
4722
|
-
isOrganicBrandContent?: boolean | null;
|
|
4723
|
-
/**
|
|
4724
|
-
* If set to true, other TikTok users will not be allowed to make comments on this post.
|
|
4725
|
-
*/
|
|
4726
|
-
disableComments?: boolean | null;
|
|
4727
|
-
/**
|
|
4728
|
-
* If set to true, other TikTok users will not be allowed to make Stitches using this post.
|
|
4729
|
-
*/
|
|
4730
|
-
disableDuet?: boolean | null;
|
|
4731
|
-
/**
|
|
4732
|
-
* If set to true, other TikTok users will not be allowed to make Duets using this post.
|
|
4733
|
-
*/
|
|
4734
|
-
disableStitch?: boolean | null;
|
|
4735
6290
|
} | null;
|
|
4736
6291
|
LINKEDIN?: {
|
|
4737
6292
|
text: string;
|
|
4738
|
-
uploadIds?: Array<(string)> | null;
|
|
4739
|
-
privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
|
|
4740
|
-
/**
|
|
4741
|
-
* Set to true if the post shouldn't be displayed in the main feed.
|
|
4742
|
-
*/
|
|
4743
|
-
hideFromFeed?: boolean | null;
|
|
4744
|
-
/**
|
|
4745
|
-
* Set to true if the post is not allowed to be reshared.
|
|
4746
|
-
*/
|
|
4747
|
-
disableReshare?: boolean | null;
|
|
4748
6293
|
} | null;
|
|
4749
6294
|
YOUTUBE?: {
|
|
4750
|
-
type?: 'VIDEO' | 'SHORT';
|
|
4751
|
-
uploadIds?: Array<(string)> | null;
|
|
4752
6295
|
text?: string | null;
|
|
4753
|
-
description?: string | null;
|
|
4754
|
-
privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
|
|
4755
|
-
/**
|
|
4756
|
-
* Set to true if the video is made for kids.
|
|
4757
|
-
*/
|
|
4758
|
-
madeForKids?: boolean | null;
|
|
4759
6296
|
} | null;
|
|
4760
6297
|
REDDIT?: {
|
|
4761
|
-
/**
|
|
4762
|
-
* Subreddit name. Example: r/subredditName or u/username
|
|
4763
|
-
*/
|
|
4764
|
-
sr: string;
|
|
4765
6298
|
text: string;
|
|
4766
|
-
description?: string | null;
|
|
4767
|
-
uploadIds?: Array<(string)> | null;
|
|
4768
|
-
/**
|
|
4769
|
-
* The URL to which the post will link to.
|
|
4770
|
-
*/
|
|
4771
|
-
link?: string | null;
|
|
4772
|
-
/**
|
|
4773
|
-
* Set to true if the post is NSFW.
|
|
4774
|
-
*/
|
|
4775
|
-
nsfw?: boolean | null;
|
|
4776
6299
|
} | null;
|
|
4777
|
-
|
|
4778
|
-
channelId: string;
|
|
6300
|
+
MASTODON?: {
|
|
4779
6301
|
text?: string | null;
|
|
4780
|
-
uploadIds?: Array<(string)> | null;
|
|
4781
|
-
/**
|
|
4782
|
-
* The username to display as the author of the message.
|
|
4783
|
-
*/
|
|
4784
|
-
username?: string | null;
|
|
4785
|
-
/**
|
|
4786
|
-
* Avatar url to display as the author of the message.
|
|
4787
|
-
*/
|
|
4788
|
-
avatarUrl?: string | null;
|
|
4789
6302
|
} | null;
|
|
4790
|
-
|
|
4791
|
-
channelId: string;
|
|
6303
|
+
DISCORD?: {
|
|
4792
6304
|
text?: string | null;
|
|
4793
|
-
uploadIds?: Array<(string)> | null;
|
|
4794
|
-
/**
|
|
4795
|
-
* The username to display as the author of the message.
|
|
4796
|
-
*/
|
|
4797
|
-
username?: string | null;
|
|
4798
|
-
/**
|
|
4799
|
-
* Avatar url to display as the author of the message.
|
|
4800
|
-
*/
|
|
4801
|
-
avatarUrl?: string | null;
|
|
4802
6305
|
} | null;
|
|
4803
|
-
|
|
6306
|
+
SLACK?: {
|
|
4804
6307
|
text?: string | null;
|
|
4805
|
-
uploadIds?: Array<(string)> | null;
|
|
4806
|
-
privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
|
|
4807
|
-
spoiler?: string | null;
|
|
4808
6308
|
} | null;
|
|
4809
6309
|
};
|
|
4810
6310
|
error?: string | null;
|
|
4811
6311
|
errors?: {
|
|
4812
|
-
TWITTER?: string | null;
|
|
4813
|
-
PINTEREST?: string | null;
|
|
4814
6312
|
FACEBOOK?: string | null;
|
|
4815
6313
|
INSTAGRAM?: string | null;
|
|
4816
6314
|
TIKTOK?: string | null;
|
|
4817
6315
|
LINKEDIN?: string | null;
|
|
4818
6316
|
REDDIT?: string | null;
|
|
4819
|
-
DISCORD?: string | null;
|
|
4820
|
-
SLACK?: string | null;
|
|
4821
6317
|
YOUTUBE?: string | null;
|
|
4822
6318
|
MASTODON?: string | null;
|
|
4823
6319
|
THREADS?: string | null;
|
|
6320
|
+
DISCORD?: string | null;
|
|
6321
|
+
SLACK?: string | null;
|
|
4824
6322
|
} | null;
|
|
4825
6323
|
externalData?: {
|
|
4826
|
-
TWITTER?: {
|
|
4827
|
-
id?: string | null;
|
|
4828
|
-
permalink?: string | null;
|
|
4829
|
-
} | null;
|
|
4830
|
-
PINTEREST?: {
|
|
4831
|
-
id?: string | null;
|
|
4832
|
-
permalink?: string | null;
|
|
4833
|
-
} | null;
|
|
4834
6324
|
FACEBOOK?: {
|
|
4835
6325
|
id?: string | null;
|
|
4836
|
-
postId?: string | null;
|
|
4837
|
-
videoId?: string | null;
|
|
4838
6326
|
permalink?: string | null;
|
|
4839
6327
|
} | null;
|
|
4840
6328
|
INSTAGRAM?: {
|
|
@@ -4847,32 +6335,30 @@ type $OpenApiTs = {
|
|
|
4847
6335
|
} | null;
|
|
4848
6336
|
LINKEDIN?: {
|
|
4849
6337
|
id?: string | null;
|
|
6338
|
+
commentUrn?: string | null;
|
|
4850
6339
|
permalink?: string | null;
|
|
4851
6340
|
} | null;
|
|
4852
6341
|
REDDIT?: {
|
|
4853
6342
|
id?: string | null;
|
|
4854
6343
|
permalink?: string | null;
|
|
4855
|
-
subreddit_name?: string | null;
|
|
4856
6344
|
} | null;
|
|
4857
|
-
|
|
6345
|
+
YOUTUBE?: {
|
|
4858
6346
|
id?: string | null;
|
|
4859
6347
|
permalink?: string | null;
|
|
4860
|
-
channelId?: string | null;
|
|
4861
6348
|
} | null;
|
|
4862
|
-
|
|
6349
|
+
MASTODON?: {
|
|
4863
6350
|
id?: string | null;
|
|
4864
6351
|
permalink?: string | null;
|
|
4865
|
-
channelId?: string | null;
|
|
4866
6352
|
} | null;
|
|
4867
|
-
|
|
6353
|
+
THREADS?: {
|
|
4868
6354
|
id?: string | null;
|
|
4869
6355
|
permalink?: string | null;
|
|
4870
6356
|
} | null;
|
|
4871
|
-
|
|
6357
|
+
DISCORD?: {
|
|
4872
6358
|
id?: string | null;
|
|
4873
6359
|
permalink?: string | null;
|
|
4874
6360
|
} | null;
|
|
4875
|
-
|
|
6361
|
+
SLACK?: {
|
|
4876
6362
|
id?: string | null;
|
|
4877
6363
|
permalink?: string | null;
|
|
4878
6364
|
} | null;
|
|
@@ -5129,10 +6615,63 @@ declare class PostService {
|
|
|
5129
6615
|
*/
|
|
5130
6616
|
postCreate(data?: PostCreateData): CancelablePromise<PostCreateResponse>;
|
|
5131
6617
|
}
|
|
6618
|
+
declare class CommentService {
|
|
6619
|
+
readonly httpRequest: BaseHttpRequest;
|
|
6620
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
6621
|
+
/**
|
|
6622
|
+
* Get comment
|
|
6623
|
+
* @param data The data for the request.
|
|
6624
|
+
* @param data.id
|
|
6625
|
+
* @returns unknown 200
|
|
6626
|
+
* @throws ApiError
|
|
6627
|
+
*/
|
|
6628
|
+
commentGet(data: CommentGetData): CancelablePromise<CommentGetResponse>;
|
|
6629
|
+
/**
|
|
6630
|
+
* Update comment
|
|
6631
|
+
* @param data The data for the request.
|
|
6632
|
+
* @param data.id
|
|
6633
|
+
* @param data.requestBody Body
|
|
6634
|
+
* @returns unknown 200
|
|
6635
|
+
* @throws ApiError
|
|
6636
|
+
*/
|
|
6637
|
+
commentUpdate(data: CommentUpdateData): CancelablePromise<CommentUpdateResponse>;
|
|
6638
|
+
/**
|
|
6639
|
+
* Delete comment
|
|
6640
|
+
* @param data The data for the request.
|
|
6641
|
+
* @param data.id
|
|
6642
|
+
* @returns unknown 200
|
|
6643
|
+
* @throws ApiError
|
|
6644
|
+
*/
|
|
6645
|
+
commentDelete(data: CommentDeleteData): CancelablePromise<CommentDeleteResponse>;
|
|
6646
|
+
/**
|
|
6647
|
+
* Get comment list
|
|
6648
|
+
* @param data The data for the request.
|
|
6649
|
+
* @param data.teamId
|
|
6650
|
+
* @param data.status
|
|
6651
|
+
* @param data.orderBy
|
|
6652
|
+
* @param data.order
|
|
6653
|
+
* @param data.q
|
|
6654
|
+
* @param data.platforms
|
|
6655
|
+
* @param data.offset
|
|
6656
|
+
* @param data.limit
|
|
6657
|
+
* @returns unknown 200
|
|
6658
|
+
* @throws ApiError
|
|
6659
|
+
*/
|
|
6660
|
+
commentGetList(data: CommentGetListData): CancelablePromise<CommentGetListResponse>;
|
|
6661
|
+
/**
|
|
6662
|
+
* Create comment
|
|
6663
|
+
* @param data The data for the request.
|
|
6664
|
+
* @param data.requestBody Body
|
|
6665
|
+
* @returns unknown 200
|
|
6666
|
+
* @throws ApiError
|
|
6667
|
+
*/
|
|
6668
|
+
commentCreate(data?: CommentCreateData): CancelablePromise<CommentCreateResponse>;
|
|
6669
|
+
}
|
|
5132
6670
|
|
|
5133
6671
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
5134
6672
|
declare class Client {
|
|
5135
6673
|
readonly app: AppService;
|
|
6674
|
+
readonly comment: CommentService;
|
|
5136
6675
|
readonly organization: OrganizationService;
|
|
5137
6676
|
readonly post: PostService;
|
|
5138
6677
|
readonly socialAccount: SocialAccountService;
|
|
@@ -5188,4 +6727,4 @@ declare class Bundlesocial extends Client {
|
|
|
5188
6727
|
constructor(apiKey: string, options?: OpenAPIConfig);
|
|
5189
6728
|
}
|
|
5190
6729
|
|
|
5191
|
-
export { $OpenApiTs, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, OpenAPI, OpenAPIConfig, OrganizationGetOrganizationResponse, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, 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 };
|
|
6730
|
+
export { $OpenApiTs, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, CommentCreateData, CommentCreateResponse, CommentDeleteData, CommentDeleteResponse, CommentGetData, CommentGetListData, CommentGetListResponse, CommentGetResponse, CommentUpdateData, CommentUpdateResponse, OpenAPI, OpenAPIConfig, OrganizationGetOrganizationResponse, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, 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 };
|