bundlesocial 2.53.0 → 2.55.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 CHANGED
@@ -188,6 +188,7 @@ type OrganizationGetOrganizationResponse = {
188
188
  createdAt: string | null;
189
189
  updatedAt: string | null;
190
190
  deletedAt?: string | null;
191
+ suspended?: boolean;
191
192
  createdBy: {
192
193
  id: string;
193
194
  externalId: string;
@@ -301,6 +302,25 @@ type OrganizationGetUploadsUsageResponse = {
301
302
  limit: number;
302
303
  remaining: number;
303
304
  };
305
+ type OrganizationGetDailyLimitsUsageData = {
306
+ date?: string | null;
307
+ socialAccountId: string;
308
+ };
309
+ type OrganizationGetDailyLimitsUsageResponse = {
310
+ date: string;
311
+ socialAccountId: string;
312
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK' | 'BLUESKY' | 'GOOGLE_BUSINESS';
313
+ posts: {
314
+ used: number;
315
+ limit: number;
316
+ remaining: number;
317
+ };
318
+ comments: {
319
+ used: number;
320
+ limit: number;
321
+ remaining: number;
322
+ };
323
+ };
304
324
  type OrganizationGetImportsUsageData = {
305
325
  page?: number;
306
326
  pageSize?: number;
@@ -392,6 +412,7 @@ type TeamGetTeamResponse = {
392
412
  createdAt: string | null;
393
413
  updatedAt: string | null;
394
414
  deletedAt?: string | null;
415
+ suspended?: boolean;
395
416
  };
396
417
  createdBy: {
397
418
  id: string;
@@ -596,6 +617,7 @@ type TeamGetListResponse = {
596
617
  createdAt: string | null;
597
618
  updatedAt: string | null;
598
619
  deletedAt?: string | null;
620
+ suspended?: boolean;
599
621
  };
600
622
  createdBy: {
601
623
  id: string;
@@ -1494,14 +1516,15 @@ type PostReconnectSocialAccountResponse = {
1494
1516
  message?: string;
1495
1517
  }>;
1496
1518
  };
1497
- type PostGetData = {
1498
- id: string;
1519
+ type PostGetByReferenceKeyData = {
1520
+ referenceKey: string;
1499
1521
  };
1500
- type PostGetResponse = {
1522
+ type PostGetByReferenceKeyResponse = {
1501
1523
  id: string;
1502
1524
  teamId: string;
1503
1525
  organizationId?: string | null;
1504
1526
  title: string;
1527
+ referenceKey?: string | null;
1505
1528
  postDate: string | null;
1506
1529
  postedDate?: string | null;
1507
1530
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -2192,76 +2215,776 @@ type PostGetResponse = {
2192
2215
  };
2193
2216
  }>;
2194
2217
  };
2195
- type PostUpdateData = {
2218
+ type PostGetData = {
2196
2219
  id: string;
2197
- /**
2198
- * Body
2199
- */
2200
- requestBody?: {
2201
- title?: string;
2202
- postDate?: string;
2203
- status?: 'DRAFT' | 'SCHEDULED';
2204
- socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK' | 'BLUESKY' | 'GOOGLE_BUSINESS')>;
2205
- data?: {
2206
- TWITTER?: {
2207
- text?: string | null;
2208
- uploadIds?: Array<(string)> | null;
2209
- replySettings?: 'EVERYONE' | 'FOLLOWING' | 'MENTIONED_USERS' | 'SUBSCRIBERS' | 'VERIFIED' | null;
2220
+ };
2221
+ type PostGetResponse = {
2222
+ id: string;
2223
+ teamId: string;
2224
+ organizationId?: string | null;
2225
+ title: string;
2226
+ referenceKey?: string | null;
2227
+ postDate: string | null;
2228
+ postedDate?: string | null;
2229
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
2230
+ data: {
2231
+ TWITTER?: {
2232
+ text?: string | null;
2233
+ uploadIds?: Array<(string)> | null;
2234
+ replySettings?: 'EVERYONE' | 'FOLLOWING' | 'MENTIONED_USERS' | 'SUBSCRIBERS' | 'VERIFIED' | null;
2235
+ } | null;
2236
+ PINTEREST?: {
2237
+ text?: string | null;
2238
+ description?: string | null;
2239
+ boardName: string;
2240
+ uploadIds?: Array<(string)> | null;
2241
+ /**
2242
+ * The URL to image uploaded on bundle.social.
2243
+ */
2244
+ thumbnail?: string | null;
2245
+ /**
2246
+ * The URL to which the Pin will link to.
2247
+ */
2248
+ link?: string | null;
2249
+ /**
2250
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
2251
+ */
2252
+ altText?: string | null;
2253
+ /**
2254
+ * A note about the Pin. This is not visible to the public.
2255
+ */
2256
+ note?: string | null;
2257
+ /**
2258
+ * The dominant color of the image. This is used to display the image before it's loaded.
2259
+ */
2260
+ dominantColor?: string | null;
2261
+ } | null;
2262
+ FACEBOOK?: {
2263
+ type?: 'POST' | 'REEL' | 'STORY';
2264
+ text?: string | null;
2265
+ uploadIds?: Array<(string)> | null;
2266
+ mediaItems?: Array<{
2267
+ uploadId: string;
2268
+ altText?: string | null;
2269
+ }> | null;
2270
+ /**
2271
+ * The URL to which the post will link to. Only available for type POST.
2272
+ */
2273
+ link?: string | null;
2274
+ /**
2275
+ * The URL to image uploaded on bundle.social.
2276
+ */
2277
+ thumbnail?: string | null;
2278
+ /**
2279
+ * Title for video posts (type POST with video only, not REEL or STORY). This is displayed as the video title on Facebook.
2280
+ */
2281
+ mediaTitle?: string | null;
2282
+ /**
2283
+ * If passed, instead of publishing immediately, the post will be scheduled for the given date/time directly in Meta scheduler. Local date/time as ISO 8601 string max 30 days in the future.
2284
+ */
2285
+ nativeScheduleTime?: string | null;
2286
+ } | null;
2287
+ INSTAGRAM?: {
2288
+ type?: 'POST' | 'REEL' | 'STORY';
2289
+ text?: string | null;
2290
+ uploadIds?: Array<(string)> | null;
2291
+ /**
2292
+ * Alternative text for a single image post.
2293
+ */
2294
+ altText?: string | null;
2295
+ /**
2296
+ * Choose a frame of the published video as the cover photo in ms
2297
+ */
2298
+ thumbnailOffset?: number | null;
2299
+ /**
2300
+ * The URL to image uploaded on bundle.social.
2301
+ */
2302
+ thumbnail?: string | null;
2303
+ /**
2304
+ * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
2305
+ */
2306
+ shareToFeed?: boolean | null;
2307
+ collaborators?: Array<(string)> | null;
2308
+ autoFitImage?: boolean | null;
2309
+ autoCropImage?: boolean | null;
2310
+ tagged?: Array<{
2311
+ username: string;
2312
+ x?: number;
2313
+ y?: number;
2314
+ }> | null;
2315
+ carouselItems?: Array<{
2316
+ uploadId: string;
2317
+ altText?: string | null;
2318
+ tagged?: Array<{
2319
+ username: string;
2320
+ x: number;
2321
+ y: number;
2322
+ }> | null;
2323
+ }> | null;
2324
+ locationId?: string | null;
2325
+ /**
2326
+ * For Reels only. Trial reels are only shared to non-followers.
2327
+ */
2328
+ trialParams?: {
2329
+ graduationStrategy: 'MANUAL' | 'SS_PERFORMANCE';
2210
2330
  } | null;
2211
- PINTEREST?: {
2212
- text?: string | null;
2213
- description?: string | null;
2214
- boardName: string;
2215
- uploadIds?: Array<(string)> | null;
2331
+ /**
2332
+ * Information about the Instagram audio asset used for Reels publishing.
2333
+ */
2334
+ musicSoundInfo?: {
2216
2335
  /**
2217
- * The URL to image uploaded on bundle.social.
2336
+ * Use audio_id from Instagram Audio API search endpoint.
2218
2337
  */
2219
- thumbnail?: string | null;
2338
+ musicSoundId: string;
2220
2339
  /**
2221
- * The URL to which the Pin will link to.
2340
+ * Audio volume (0-100).
2222
2341
  */
2223
- link?: string | null;
2342
+ musicSoundVolume?: number | null;
2224
2343
  /**
2225
- * The alt text for the image. This is used by screen readers and when the image can't be loaded.
2344
+ * Background volume of the original video sound (0-100).
2226
2345
  */
2346
+ videoOriginalSoundVolume?: number | null;
2347
+ } | null;
2348
+ } | null;
2349
+ THREADS?: {
2350
+ text?: string | null;
2351
+ uploadIds?: Array<(string)> | null;
2352
+ mediaItems?: Array<{
2353
+ uploadId: string;
2227
2354
  altText?: string | null;
2355
+ }> | null;
2356
+ } | null;
2357
+ TIKTOK?: {
2358
+ type?: 'VIDEO' | 'IMAGE';
2359
+ text?: string | null;
2360
+ uploadIds?: Array<(string)> | null;
2361
+ /**
2362
+ * The URL to image uploaded on bundle.social.
2363
+ */
2364
+ thumbnail?: string | null;
2365
+ privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
2366
+ photoCoverIndex?: number | null;
2367
+ /**
2368
+ * Set to true if the video is a paid partnership to promote a third-party business.
2369
+ */
2370
+ isBrandContent?: boolean | null;
2371
+ /**
2372
+ * Set to true if this video is promoting the creator's own business.
2373
+ */
2374
+ isOrganicBrandContent?: boolean | null;
2375
+ /**
2376
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
2377
+ */
2378
+ disableComments?: boolean | null;
2379
+ /**
2380
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
2381
+ */
2382
+ disableDuet?: boolean | null;
2383
+ /**
2384
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
2385
+ */
2386
+ disableStitch?: boolean | null;
2387
+ /**
2388
+ * Choose a frame of the published video as the cover photo in ms
2389
+ */
2390
+ thumbnailOffset?: number | null;
2391
+ /**
2392
+ * Set to true if this video is AI generated.
2393
+ */
2394
+ isAiGenerated?: boolean | null;
2395
+ /**
2396
+ * If set to true, TikTok will automatically add music to the photos.
2397
+ */
2398
+ autoAddMusic?: boolean | null;
2399
+ autoScale?: boolean | null;
2400
+ /**
2401
+ * If set to true, upload post as draft.
2402
+ */
2403
+ uploadToDraft?: boolean | null;
2404
+ /**
2405
+ * Information about the commercial sound (track) used for TikTok publishing.
2406
+ */
2407
+ musicSoundInfo?: {
2228
2408
  /**
2229
- * A note about the Pin. This is not visible to the public.
2230
- */
2231
- note?: string | null;
2232
- /**
2233
- * The dominant color of the image. This is used to display the image before it's loaded.
2409
+ * Use song_clip_id from CML trending list (full_duration_song_clip or trending_song_clip).
2234
2410
  */
2235
- dominantColor?: string | null;
2236
- } | null;
2237
- FACEBOOK?: {
2238
- type?: 'POST' | 'REEL' | 'STORY';
2239
- text?: string | null;
2240
- uploadIds?: Array<(string)> | null;
2241
- mediaItems?: Array<{
2242
- uploadId: string;
2243
- altText?: string | null;
2244
- }> | null;
2411
+ musicSoundId: string;
2245
2412
  /**
2246
- * The URL to which the post will link to. Only available for type POST.
2413
+ * Commercial sound volume (0-100).
2247
2414
  */
2248
- link?: string | null;
2415
+ musicSoundVolume?: number | null;
2249
2416
  /**
2250
- * The URL to image uploaded on bundle.social.
2417
+ * Starting point of the commercial sound in milliseconds.
2251
2418
  */
2252
- thumbnail?: string | null;
2419
+ musicSoundStart?: number | null;
2253
2420
  /**
2254
- * Title for video posts (type POST with video only, not REEL or STORY). This is displayed as the video title on Facebook.
2421
+ * Ending point of the commercial sound in milliseconds.
2255
2422
  */
2256
- mediaTitle?: string | null;
2423
+ musicSoundEnd?: number | null;
2257
2424
  /**
2258
- * If passed, instead of publishing immediately, the post will be scheduled for the given date/time directly in Meta scheduler. Local date/time as ISO 8601 string max 30 days in the future.
2425
+ * Background volume of the original video sound (0-100).
2259
2426
  */
2260
- nativeScheduleTime?: string | null;
2427
+ videoOriginalSoundVolume?: number | null;
2261
2428
  } | null;
2262
- INSTAGRAM?: {
2263
- type?: 'POST' | 'REEL' | 'STORY';
2264
- text?: string | null;
2429
+ } | null;
2430
+ LINKEDIN?: {
2431
+ text: string;
2432
+ uploadIds?: Array<(string)> | null;
2433
+ /**
2434
+ * Optional URL for LinkedIn article preview post.
2435
+ */
2436
+ link?: string | null;
2437
+ /**
2438
+ * The URL to image uploaded on bundle.social.
2439
+ */
2440
+ thumbnail?: string | null;
2441
+ /**
2442
+ * Title for video or document posts. If not provided for videos, LinkedIn displays the posting date under the video.
2443
+ */
2444
+ mediaTitle?: string | null;
2445
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
2446
+ /**
2447
+ * Set to true if the post shouldn't be displayed in the main feed.
2448
+ */
2449
+ hideFromFeed?: boolean | null;
2450
+ /**
2451
+ * Set to true if the post is not allowed to be reshared.
2452
+ */
2453
+ disableReshare?: boolean | null;
2454
+ } | null;
2455
+ YOUTUBE?: {
2456
+ type?: 'VIDEO' | 'SHORT';
2457
+ uploadIds?: Array<(string)> | null;
2458
+ text?: string | null;
2459
+ description?: string | null;
2460
+ /**
2461
+ * The URL to image uploaded on bundle.social.
2462
+ */
2463
+ thumbnail?: string | null;
2464
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
2465
+ /**
2466
+ * BCP-47 language code for the video's title and description, e.g. "en" or "pl".
2467
+ */
2468
+ defaultLanguage?: string | null;
2469
+ /**
2470
+ * BCP-47 language code for the video's default audio track, e.g. "en" or "pl".
2471
+ */
2472
+ defaultAudioLanguage?: string | null;
2473
+ /**
2474
+ * Set to true if the video is made for kids.
2475
+ */
2476
+ madeForKids?: boolean | null;
2477
+ /**
2478
+ * Set to true if video contains AI generated content
2479
+ */
2480
+ containsSyntheticMedia?: boolean | null;
2481
+ /**
2482
+ * Set to true if video has paid product placement
2483
+ */
2484
+ hasPaidProductPlacement?: boolean | null;
2485
+ } | null;
2486
+ REDDIT?: {
2487
+ /**
2488
+ * Subreddit name. Example: r/subredditName or u/username
2489
+ */
2490
+ sr: string;
2491
+ text: string;
2492
+ description?: string | null;
2493
+ uploadIds?: Array<(string)> | null;
2494
+ /**
2495
+ * The URL to which the post will link to.
2496
+ */
2497
+ link?: string | null;
2498
+ /**
2499
+ * Set to true if the post is NSFW.
2500
+ */
2501
+ nsfw?: boolean | null;
2502
+ /**
2503
+ * Flair ID for the post. Required if the subreddit requires flair selection.
2504
+ */
2505
+ flairId?: string | null;
2506
+ } | null;
2507
+ DISCORD?: {
2508
+ channelId: string;
2509
+ text?: string | null;
2510
+ uploadIds?: Array<(string)> | null;
2511
+ /**
2512
+ * The username to display as the author of the message.
2513
+ */
2514
+ username?: string | null;
2515
+ /**
2516
+ * Avatar url to display as the author of the message.
2517
+ */
2518
+ avatarUrl?: string | null;
2519
+ } | null;
2520
+ SLACK?: {
2521
+ channelId: string;
2522
+ text?: string | null;
2523
+ uploadIds?: Array<(string)> | null;
2524
+ /**
2525
+ * The username to display as the author of the message.
2526
+ */
2527
+ username?: string | null;
2528
+ /**
2529
+ * Avatar url to display as the author of the message.
2530
+ */
2531
+ avatarUrl?: string | null;
2532
+ } | null;
2533
+ MASTODON?: {
2534
+ text?: string | null;
2535
+ uploadIds?: Array<(string)> | null;
2536
+ /**
2537
+ * The URL to image uploaded on bundle.social.
2538
+ */
2539
+ thumbnail?: string | null;
2540
+ privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
2541
+ spoiler?: string | null;
2542
+ } | null;
2543
+ BLUESKY?: {
2544
+ text?: string | null;
2545
+ uploadIds?: Array<(string)> | null;
2546
+ /**
2547
+ * Extra hashtags (without #), up to 8.
2548
+ */
2549
+ tags?: Array<(string)> | null;
2550
+ /**
2551
+ * Self-labels (content warnings) applied to the post.
2552
+ */
2553
+ labels?: Array<('!no-unauthenticated' | 'porn' | 'sexual' | 'nudity' | 'graphic-media')> | null;
2554
+ /**
2555
+ * AT-URI of the post to quote (e.g. at://did.../app.bsky.feed.post/<rkey>).
2556
+ */
2557
+ quoteUri?: string;
2558
+ /**
2559
+ * Target URL for the external link card
2560
+ */
2561
+ externalUrl?: string | null;
2562
+ /**
2563
+ * Card title for the external link card
2564
+ */
2565
+ externalTitle?: string | null;
2566
+ /**
2567
+ * Card description for the external link card
2568
+ */
2569
+ externalDescription?: string | null;
2570
+ /**
2571
+ * Alt text for the video embed.
2572
+ */
2573
+ videoAlt?: string | null;
2574
+ } | null;
2575
+ GOOGLE_BUSINESS?: {
2576
+ text?: string | null;
2577
+ /**
2578
+ * IDs of images/videos uploaded to bundle.social.
2579
+ */
2580
+ uploadIds?: Array<(string)> | null;
2581
+ topicType?: 'STANDARD' | 'EVENT' | 'OFFER' | 'ALERT' | null;
2582
+ /**
2583
+ * Language tag like 'en' or 'en-US'.
2584
+ */
2585
+ languageCode?: string | null;
2586
+ callToActionType?: 'BOOK' | 'ORDER' | 'SHOP' | 'LEARN_MORE' | 'SIGN_UP' | 'CALL' | null;
2587
+ callToActionUrl?: string | null;
2588
+ eventTitle?: string | null;
2589
+ eventStartDate?: string | null;
2590
+ eventEndDate?: string | null;
2591
+ offerCouponCode?: string | null;
2592
+ offerRedeemOnlineUrl?: string | null;
2593
+ offerTermsConditions?: string | null;
2594
+ /**
2595
+ * Alert type for ALERT posts.
2596
+ */
2597
+ alertType?: 'COVID_19' | null;
2598
+ } | null;
2599
+ };
2600
+ error?: string | null;
2601
+ errors?: {
2602
+ TWITTER?: string | null;
2603
+ PINTEREST?: string | null;
2604
+ FACEBOOK?: string | null;
2605
+ INSTAGRAM?: string | null;
2606
+ TIKTOK?: string | null;
2607
+ LINKEDIN?: string | null;
2608
+ REDDIT?: string | null;
2609
+ DISCORD?: string | null;
2610
+ SLACK?: string | null;
2611
+ YOUTUBE?: string | null;
2612
+ MASTODON?: string | null;
2613
+ THREADS?: string | null;
2614
+ BLUESKY?: string | null;
2615
+ GOOGLE_BUSINESS?: string | null;
2616
+ } | null;
2617
+ errorsVerbose?: {
2618
+ TWITTER?: {
2619
+ code?: string | null;
2620
+ errorMessage?: string | null;
2621
+ isTransient?: boolean | null;
2622
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2623
+ httpStatus?: number | null;
2624
+ meta?: unknown;
2625
+ userFacingMessage?: string | null;
2626
+ } | null;
2627
+ PINTEREST?: {
2628
+ code?: string | null;
2629
+ errorMessage?: string | null;
2630
+ isTransient?: boolean | null;
2631
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2632
+ httpStatus?: number | null;
2633
+ meta?: unknown;
2634
+ userFacingMessage?: string | null;
2635
+ } | null;
2636
+ FACEBOOK?: {
2637
+ code?: string | null;
2638
+ errorMessage?: string | null;
2639
+ isTransient?: boolean | null;
2640
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2641
+ httpStatus?: number | null;
2642
+ meta?: unknown;
2643
+ userFacingMessage?: string | null;
2644
+ } | null;
2645
+ INSTAGRAM?: {
2646
+ code?: string | null;
2647
+ errorMessage?: string | null;
2648
+ isTransient?: boolean | null;
2649
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2650
+ httpStatus?: number | null;
2651
+ meta?: unknown;
2652
+ userFacingMessage?: string | null;
2653
+ } | null;
2654
+ TIKTOK?: {
2655
+ code?: string | null;
2656
+ errorMessage?: string | null;
2657
+ isTransient?: boolean | null;
2658
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2659
+ httpStatus?: number | null;
2660
+ meta?: unknown;
2661
+ userFacingMessage?: string | null;
2662
+ } | null;
2663
+ LINKEDIN?: {
2664
+ code?: string | null;
2665
+ errorMessage?: string | null;
2666
+ isTransient?: boolean | null;
2667
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2668
+ httpStatus?: number | null;
2669
+ meta?: unknown;
2670
+ userFacingMessage?: string | null;
2671
+ } | null;
2672
+ REDDIT?: {
2673
+ code?: string | null;
2674
+ errorMessage?: string | null;
2675
+ isTransient?: boolean | null;
2676
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2677
+ httpStatus?: number | null;
2678
+ meta?: unknown;
2679
+ userFacingMessage?: string | null;
2680
+ } | null;
2681
+ DISCORD?: {
2682
+ code?: string | null;
2683
+ errorMessage?: string | null;
2684
+ isTransient?: boolean | null;
2685
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2686
+ httpStatus?: number | null;
2687
+ meta?: unknown;
2688
+ userFacingMessage?: string | null;
2689
+ } | null;
2690
+ SLACK?: {
2691
+ code?: string | null;
2692
+ errorMessage?: string | null;
2693
+ isTransient?: boolean | null;
2694
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2695
+ httpStatus?: number | null;
2696
+ meta?: unknown;
2697
+ userFacingMessage?: string | null;
2698
+ } | null;
2699
+ YOUTUBE?: {
2700
+ code?: string | null;
2701
+ errorMessage?: string | null;
2702
+ isTransient?: boolean | null;
2703
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2704
+ httpStatus?: number | null;
2705
+ meta?: unknown;
2706
+ userFacingMessage?: string | null;
2707
+ } | null;
2708
+ MASTODON?: {
2709
+ code?: string | null;
2710
+ errorMessage?: string | null;
2711
+ isTransient?: boolean | null;
2712
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2713
+ httpStatus?: number | null;
2714
+ meta?: unknown;
2715
+ userFacingMessage?: string | null;
2716
+ } | null;
2717
+ THREADS?: {
2718
+ code?: string | null;
2719
+ errorMessage?: string | null;
2720
+ isTransient?: boolean | null;
2721
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2722
+ httpStatus?: number | null;
2723
+ meta?: unknown;
2724
+ userFacingMessage?: string | null;
2725
+ } | null;
2726
+ BLUESKY?: {
2727
+ code?: string | null;
2728
+ errorMessage?: string | null;
2729
+ isTransient?: boolean | null;
2730
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2731
+ httpStatus?: number | null;
2732
+ meta?: unknown;
2733
+ userFacingMessage?: string | null;
2734
+ } | null;
2735
+ GOOGLE_BUSINESS?: {
2736
+ code?: string | null;
2737
+ errorMessage?: string | null;
2738
+ isTransient?: boolean | null;
2739
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
2740
+ httpStatus?: number | null;
2741
+ meta?: unknown;
2742
+ userFacingMessage?: string | null;
2743
+ } | null;
2744
+ } | null;
2745
+ externalData?: {
2746
+ TWITTER?: {
2747
+ id?: string | null;
2748
+ permalink?: string | null;
2749
+ } | null;
2750
+ PINTEREST?: {
2751
+ id?: string | null;
2752
+ permalink?: string | null;
2753
+ thumbnail?: string | null;
2754
+ } | null;
2755
+ FACEBOOK?: {
2756
+ id?: string | null;
2757
+ postId?: string | null;
2758
+ videoId?: string | null;
2759
+ permalink?: string | null;
2760
+ thumbnail?: string | null;
2761
+ } | null;
2762
+ INSTAGRAM?: {
2763
+ id?: string | null;
2764
+ permalink?: string | null;
2765
+ thumbnail?: string | null;
2766
+ } | null;
2767
+ TIKTOK?: {
2768
+ id?: string | null;
2769
+ shareId?: string | null;
2770
+ requestId?: string | null;
2771
+ permalink?: string | null;
2772
+ status?: string | null;
2773
+ } | null;
2774
+ LINKEDIN?: {
2775
+ id?: string | null;
2776
+ activity?: string | null;
2777
+ permalink?: string | null;
2778
+ thumbnail?: string | null;
2779
+ } | null;
2780
+ REDDIT?: {
2781
+ id?: string | null;
2782
+ permalink?: string | null;
2783
+ subreddit_name?: string | null;
2784
+ } | null;
2785
+ DISCORD?: {
2786
+ id?: string | null;
2787
+ permalink?: string | null;
2788
+ channelId?: string | null;
2789
+ } | null;
2790
+ SLACK?: {
2791
+ id?: string | null;
2792
+ permalink?: string | null;
2793
+ channelId?: string | null;
2794
+ } | null;
2795
+ YOUTUBE?: {
2796
+ id?: string | null;
2797
+ permalink?: string | null;
2798
+ thumbnail?: string | null;
2799
+ /**
2800
+ * YouTube resumable upload session URI for retry handling
2801
+ */
2802
+ sessionUri?: string | null;
2803
+ } | null;
2804
+ MASTODON?: {
2805
+ id?: string | null;
2806
+ permalink?: string | null;
2807
+ thumbnail?: string | null;
2808
+ } | null;
2809
+ THREADS?: {
2810
+ id?: string | null;
2811
+ permalink?: string | null;
2812
+ } | null;
2813
+ BLUESKY?: {
2814
+ id?: string | null;
2815
+ uri?: string | null;
2816
+ /**
2817
+ * Content ID of the created record
2818
+ */
2819
+ cid?: string | null;
2820
+ permalink?: string | null;
2821
+ /**
2822
+ * Author DID (owner of the record)
2823
+ */
2824
+ did?: string | null;
2825
+ } | null;
2826
+ GOOGLE_BUSINESS?: {
2827
+ /**
2828
+ * Resource name of the Local Post, e.g. 'accounts/{accountId}/locations/{locationId}/localPosts/{postId}'.
2829
+ */
2830
+ id?: string | null;
2831
+ /**
2832
+ * Public link to the post (searchUrl) when available.
2833
+ */
2834
+ permalink?: string | null;
2835
+ } | null;
2836
+ } | null;
2837
+ retryCount: number;
2838
+ createdAt: string | null;
2839
+ updatedAt: string | null;
2840
+ deletedAt?: string | null;
2841
+ uploads: Array<{
2842
+ postId: string;
2843
+ uploadId: string;
2844
+ createdAt: string | null;
2845
+ updatedAt: string | null;
2846
+ deletedAt?: string | null;
2847
+ upload: {
2848
+ id: string;
2849
+ teamId?: string | null;
2850
+ organizationId?: string | null;
2851
+ iconUrl?: string | null;
2852
+ thumbnailUrl?: string | null;
2853
+ url?: string | null;
2854
+ externalLink?: string | null;
2855
+ iconPath?: string | null;
2856
+ thumbnailPath?: string | null;
2857
+ path?: string | null;
2858
+ type: 'image' | 'video' | 'document';
2859
+ width?: number | null;
2860
+ height?: number | null;
2861
+ fileSize?: number | null;
2862
+ videoLength?: number | null;
2863
+ mime?: string | null;
2864
+ ext?: string | null;
2865
+ createdAt: string | null;
2866
+ updatedAt: string | null;
2867
+ };
2868
+ }>;
2869
+ socialAccounts: Array<{
2870
+ postId: string;
2871
+ socialAccountId: string;
2872
+ createdAt: string | null;
2873
+ updatedAt: string | null;
2874
+ deletedAt?: string | null;
2875
+ socialAccount: {
2876
+ id: string;
2877
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK' | 'BLUESKY' | 'GOOGLE_BUSINESS';
2878
+ teamId: string;
2879
+ username?: string | null;
2880
+ displayName?: string | null;
2881
+ avatarUrl?: string | null;
2882
+ externalId?: string | null;
2883
+ userUsername?: string | null;
2884
+ userDisplayName?: string | null;
2885
+ userId?: string | null;
2886
+ channels?: Array<{
2887
+ id: string;
2888
+ name?: string | null;
2889
+ username?: string | null;
2890
+ address?: string | null;
2891
+ avatarUrl?: string | null;
2892
+ webhook?: {
2893
+ id?: string | null;
2894
+ name?: string | null;
2895
+ avatar?: string | null;
2896
+ url?: string | null;
2897
+ } | null;
2898
+ metadata?: {
2899
+ allowImages?: boolean | null;
2900
+ allowVideos?: boolean | null;
2901
+ allowGalleries?: boolean | null;
2902
+ linkFlairEnabled?: boolean | null;
2903
+ } | null;
2904
+ }> | null;
2905
+ mastodonServerId?: string | null;
2906
+ instagramConnectionMethod?: 'FACEBOOK' | 'INSTAGRAM' | null;
2907
+ twitterSubType?: 'none' | 'basic' | 'premium' | 'premium_plus' | null;
2908
+ isTiktokBusinessAccount?: boolean | null;
2909
+ disconnectedCheckTryAt?: string | null;
2910
+ deleteOn?: string | null;
2911
+ createdAt: string | null;
2912
+ updatedAt: string | null;
2913
+ deletedAt?: string | null;
2914
+ };
2915
+ }>;
2916
+ };
2917
+ type PostUpdateData = {
2918
+ id: string;
2919
+ /**
2920
+ * Body
2921
+ */
2922
+ requestBody?: {
2923
+ title?: string;
2924
+ referenceKey?: string | null;
2925
+ postDate?: string;
2926
+ status?: 'DRAFT' | 'SCHEDULED';
2927
+ socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK' | 'BLUESKY' | 'GOOGLE_BUSINESS')>;
2928
+ data?: {
2929
+ TWITTER?: {
2930
+ text?: string | null;
2931
+ uploadIds?: Array<(string)> | null;
2932
+ replySettings?: 'EVERYONE' | 'FOLLOWING' | 'MENTIONED_USERS' | 'SUBSCRIBERS' | 'VERIFIED' | null;
2933
+ } | null;
2934
+ PINTEREST?: {
2935
+ text?: string | null;
2936
+ description?: string | null;
2937
+ boardName: string;
2938
+ uploadIds?: Array<(string)> | null;
2939
+ /**
2940
+ * The URL to image uploaded on bundle.social.
2941
+ */
2942
+ thumbnail?: string | null;
2943
+ /**
2944
+ * The URL to which the Pin will link to.
2945
+ */
2946
+ link?: string | null;
2947
+ /**
2948
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
2949
+ */
2950
+ altText?: string | null;
2951
+ /**
2952
+ * A note about the Pin. This is not visible to the public.
2953
+ */
2954
+ note?: string | null;
2955
+ /**
2956
+ * The dominant color of the image. This is used to display the image before it's loaded.
2957
+ */
2958
+ dominantColor?: string | null;
2959
+ } | null;
2960
+ FACEBOOK?: {
2961
+ type?: 'POST' | 'REEL' | 'STORY';
2962
+ text?: string | null;
2963
+ uploadIds?: Array<(string)> | null;
2964
+ mediaItems?: Array<{
2965
+ uploadId: string;
2966
+ altText?: string | null;
2967
+ }> | null;
2968
+ /**
2969
+ * The URL to which the post will link to. Only available for type POST.
2970
+ */
2971
+ link?: string | null;
2972
+ /**
2973
+ * The URL to image uploaded on bundle.social.
2974
+ */
2975
+ thumbnail?: string | null;
2976
+ /**
2977
+ * Title for video posts (type POST with video only, not REEL or STORY). This is displayed as the video title on Facebook.
2978
+ */
2979
+ mediaTitle?: string | null;
2980
+ /**
2981
+ * If passed, instead of publishing immediately, the post will be scheduled for the given date/time directly in Meta scheduler. Local date/time as ISO 8601 string max 30 days in the future.
2982
+ */
2983
+ nativeScheduleTime?: string | null;
2984
+ } | null;
2985
+ INSTAGRAM?: {
2986
+ type?: 'POST' | 'REEL' | 'STORY';
2987
+ text?: string | null;
2265
2988
  uploadIds?: Array<(string)> | null;
2266
2989
  /**
2267
2990
  * Alternative text for a single image post.
@@ -2579,6 +3302,7 @@ type PostUpdateResponse = {
2579
3302
  teamId: string;
2580
3303
  organizationId?: string | null;
2581
3304
  title: string;
3305
+ referenceKey?: string | null;
2582
3306
  postDate: string | null;
2583
3307
  postedDate?: string | null;
2584
3308
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -3202,6 +3926,7 @@ type PostDeleteResponse = {
3202
3926
  teamId: string;
3203
3927
  organizationId?: string | null;
3204
3928
  title: string;
3929
+ referenceKey?: string | null;
3205
3930
  postDate: string | null;
3206
3931
  postedDate?: string | null;
3207
3932
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -3835,6 +4560,7 @@ type PostGetListResponse = {
3835
4560
  teamId: string;
3836
4561
  organizationId?: string | null;
3837
4562
  title: string;
4563
+ referenceKey?: string | null;
3838
4564
  postDate: string | null;
3839
4565
  postedDate?: string | null;
3840
4566
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -4534,6 +5260,7 @@ type PostCreateData = {
4534
5260
  requestBody?: {
4535
5261
  teamId: string;
4536
5262
  title: string;
5263
+ referenceKey?: string | null;
4537
5264
  postDate: string;
4538
5265
  status: 'DRAFT' | 'SCHEDULED';
4539
5266
  socialAccountTypes: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK' | 'BLUESKY' | 'GOOGLE_BUSINESS')>;
@@ -4914,6 +5641,7 @@ type PostCreateResponse = {
4914
5641
  teamId: string;
4915
5642
  organizationId?: string | null;
4916
5643
  title: string;
5644
+ referenceKey?: string | null;
4917
5645
  postDate: string | null;
4918
5646
  postedDate?: string | null;
4919
5647
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -5537,6 +6265,7 @@ type PostRetryResponse = {
5537
6265
  teamId: string;
5538
6266
  organizationId?: string | null;
5539
6267
  title: string;
6268
+ referenceKey?: string | null;
5540
6269
  postDate: string | null;
5541
6270
  postedDate?: string | null;
5542
6271
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -6226,6 +6955,7 @@ type AnalyticsGetPostAnalyticsResponse = {
6226
6955
  teamId: string;
6227
6956
  organizationId?: string | null;
6228
6957
  title: string;
6958
+ referenceKey?: string | null;
6229
6959
  postDate: string | null;
6230
6960
  postedDate?: string | null;
6231
6961
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -6948,6 +7678,7 @@ type AnalyticsGetPostAnalyticsRawResponse = {
6948
7678
  teamId: string;
6949
7679
  organizationId?: string | null;
6950
7680
  title: string;
7681
+ referenceKey?: string | null;
6951
7682
  postDate: string | null;
6952
7683
  postedDate?: string | null;
6953
7684
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -7691,7 +8422,8 @@ type CommentImportCreateData = {
7691
8422
  */
7692
8423
  requestBody?: {
7693
8424
  teamId: string;
7694
- postId: string;
8425
+ postId?: string;
8426
+ importedPostId?: string;
7695
8427
  socialAccountType: 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE' | 'TIKTOK' | 'REDDIT' | 'THREADS' | 'MASTODON' | 'BLUESKY';
7696
8428
  };
7697
8429
  };
@@ -7700,7 +8432,8 @@ type CommentImportCreateResponse = {
7700
8432
  teamId: string;
7701
8433
  organizationId?: string | null;
7702
8434
  socialAccountId: string;
7703
- postId: string;
8435
+ postId?: string | null;
8436
+ importedPostId?: string | null;
7704
8437
  platform: 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE' | 'TIKTOK' | 'REDDIT' | 'THREADS' | 'MASTODON' | 'BLUESKY';
7705
8438
  status: 'PENDING' | 'FETCHING' | 'RETRYING' | 'COMPLETED' | 'SKIPPED' | 'FAILED' | 'RATE_LIMITED';
7706
8439
  commentsImported: number;
@@ -7712,6 +8445,7 @@ type CommentImportCreateResponse = {
7712
8445
  updatedAt: string | null;
7713
8446
  };
7714
8447
  type CommentImportGetListData = {
8448
+ importedPostId?: string;
7715
8449
  limit?: number | null;
7716
8450
  offset?: number | null;
7717
8451
  postId?: string;
@@ -7724,7 +8458,8 @@ type CommentImportGetListResponse = {
7724
8458
  teamId: string;
7725
8459
  organizationId?: string | null;
7726
8460
  socialAccountId: string;
7727
- postId: string;
8461
+ postId?: string | null;
8462
+ importedPostId?: string | null;
7728
8463
  platform: 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE' | 'TIKTOK' | 'REDDIT' | 'THREADS' | 'MASTODON' | 'BLUESKY';
7729
8464
  status: 'PENDING' | 'FETCHING' | 'RETRYING' | 'COMPLETED' | 'SKIPPED' | 'FAILED' | 'RATE_LIMITED';
7730
8465
  commentsImported: number;
@@ -7737,10 +8472,11 @@ type CommentImportGetListResponse = {
7737
8472
  }>;
7738
8473
  };
7739
8474
  type CommentImportGetFetchedCommentsData = {
8475
+ importedPostId?: string;
7740
8476
  limit?: number | null;
7741
8477
  offset?: number | null;
7742
8478
  platform?: 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE' | 'TIKTOK' | 'REDDIT' | 'THREADS' | 'MASTODON' | 'BLUESKY';
7743
- postId: string;
8479
+ postId?: string;
7744
8480
  socialAccountId?: string;
7745
8481
  teamId: string;
7746
8482
  };
@@ -7749,7 +8485,8 @@ type CommentImportGetFetchedCommentsResponse = {
7749
8485
  id: string;
7750
8486
  teamId: string;
7751
8487
  organizationId?: string | null;
7752
- postId: string;
8488
+ postId?: string | null;
8489
+ importedPostId?: string | null;
7753
8490
  socialAccountId: string;
7754
8491
  importId: string;
7755
8492
  platform: 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE' | 'TIKTOK' | 'REDDIT' | 'THREADS' | 'MASTODON' | 'BLUESKY';
@@ -7811,7 +8548,8 @@ type CommentImportActionFetchedCommentResponse = {
7811
8548
  id: string;
7812
8549
  teamId: string;
7813
8550
  organizationId?: string | null;
7814
- postId: string;
8551
+ postId?: string | null;
8552
+ importedPostId?: string | null;
7815
8553
  socialAccountId: string;
7816
8554
  importId: string;
7817
8555
  platform: 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE' | 'TIKTOK' | 'REDDIT' | 'THREADS' | 'MASTODON' | 'BLUESKY';
@@ -7862,7 +8600,8 @@ type CommentImportGetByIdResponse = {
7862
8600
  teamId: string;
7863
8601
  organizationId?: string | null;
7864
8602
  socialAccountId: string;
7865
- postId: string;
8603
+ postId?: string | null;
8604
+ importedPostId?: string | null;
7866
8605
  platform: 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE' | 'TIKTOK' | 'REDDIT' | 'THREADS' | 'MASTODON' | 'BLUESKY';
7867
8606
  status: 'PENDING' | 'FETCHING' | 'RETRYING' | 'COMPLETED' | 'SKIPPED' | 'FAILED' | 'RATE_LIMITED';
7868
8607
  commentsImported: number;
@@ -7880,7 +8619,8 @@ type CommentGetResponse = {
7880
8619
  id: string;
7881
8620
  teamId: string;
7882
8621
  organizationId?: string | null;
7883
- internalPostId: string;
8622
+ internalPostId?: string | null;
8623
+ importedPostId?: string | null;
7884
8624
  internalParentCommentId?: string | null;
7885
8625
  fetchedParentCommentId?: string | null;
7886
8626
  title: string;
@@ -8105,6 +8845,7 @@ type CommentUpdateData = {
8105
8845
  requestBody?: {
8106
8846
  title?: string;
8107
8847
  internalPostId?: string;
8848
+ importedPostId?: string;
8108
8849
  internalParentCommentId?: string | null;
8109
8850
  fetchedParentCommentId?: string | null;
8110
8851
  postDate?: string;
@@ -8152,7 +8893,8 @@ type CommentUpdateResponse = {
8152
8893
  id: string;
8153
8894
  teamId: string;
8154
8895
  organizationId?: string | null;
8155
- internalPostId: string;
8896
+ internalPostId?: string | null;
8897
+ importedPostId?: string | null;
8156
8898
  internalParentCommentId?: string | null;
8157
8899
  fetchedParentCommentId?: string | null;
8158
8900
  title: string;
@@ -8376,7 +9118,8 @@ type CommentDeleteResponse = {
8376
9118
  id: string;
8377
9119
  teamId: string;
8378
9120
  organizationId?: string | null;
8379
- internalPostId: string;
9121
+ internalPostId?: string | null;
9122
+ importedPostId?: string | null;
8380
9123
  internalParentCommentId?: string | null;
8381
9124
  fetchedParentCommentId?: string | null;
8382
9125
  title: string;
@@ -8594,11 +9337,12 @@ type CommentDeleteResponse = {
8594
9337
  deletedAt?: string | null;
8595
9338
  };
8596
9339
  type CommentGetListData = {
9340
+ importedPostId?: string;
8597
9341
  limit?: number | null;
8598
9342
  offset?: number | null;
8599
9343
  order?: 'ASC' | 'DESC';
8600
9344
  orderBy?: 'createdAt' | 'updatedAt' | 'deletedAt';
8601
- platforms?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK' | 'BLUESKY')>;
9345
+ platforms?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK' | 'BLUESKY')> | null;
8602
9346
  postId?: string;
8603
9347
  q?: string;
8604
9348
  status?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'RETRYING';
@@ -8609,7 +9353,8 @@ type CommentGetListResponse = {
8609
9353
  id: string;
8610
9354
  teamId: string;
8611
9355
  organizationId?: string | null;
8612
- internalPostId: string;
9356
+ internalPostId?: string | null;
9357
+ importedPostId?: string | null;
8613
9358
  internalParentCommentId?: string | null;
8614
9359
  fetchedParentCommentId?: string | null;
8615
9360
  title: string;
@@ -8836,6 +9581,7 @@ type CommentCreateData = {
8836
9581
  teamId: string;
8837
9582
  title?: string;
8838
9583
  internalPostId?: string;
9584
+ importedPostId?: string;
8839
9585
  internalParentCommentId?: string | null;
8840
9586
  fetchedParentCommentId?: string | null;
8841
9587
  postDate?: string;
@@ -8883,7 +9629,8 @@ type CommentCreateResponse = {
8883
9629
  id: string;
8884
9630
  teamId: string;
8885
9631
  organizationId?: string | null;
8886
- internalPostId: string;
9632
+ internalPostId?: string | null;
9633
+ importedPostId?: string | null;
8887
9634
  internalParentCommentId?: string | null;
8888
9635
  fetchedParentCommentId?: string | null;
8889
9636
  title: string;
@@ -9107,7 +9854,8 @@ type CommentRetryResponse = {
9107
9854
  id: string;
9108
9855
  teamId: string;
9109
9856
  organizationId?: string | null;
9110
- internalPostId: string;
9857
+ internalPostId?: string | null;
9858
+ importedPostId?: string | null;
9111
9859
  internalParentCommentId?: string | null;
9112
9860
  fetchedParentCommentId?: string | null;
9113
9861
  title: string;
@@ -9832,9 +10580,11 @@ type MiscYoutubeGetRegionsResponse = {
9832
10580
  }>;
9833
10581
  };
9834
10582
  type MiscLinkedinGetTagsData = {
9835
- q: string;
10583
+ displayName?: string;
10584
+ q?: string;
9836
10585
  scope?: 'people' | 'organizations' | 'all';
9837
10586
  teamId: string;
10587
+ url?: string;
9838
10588
  };
9839
10589
  type MiscLinkedinGetTagsResponse = {
9840
10590
  people?: Array<{
@@ -11867,6 +12617,7 @@ type $OpenApiTs = {
11867
12617
  createdAt: string | null;
11868
12618
  updatedAt: string | null;
11869
12619
  deletedAt?: string | null;
12620
+ suspended?: boolean;
11870
12621
  createdBy: {
11871
12622
  id: string;
11872
12623
  externalId: string;
@@ -12014,7 +12765,68 @@ type $OpenApiTs = {
12014
12765
  };
12015
12766
  };
12016
12767
  };
12017
- '/api/v1/organization/usage/posts': {
12768
+ '/api/v1/organization/usage/posts': {
12769
+ get: {
12770
+ res: {
12771
+ /**
12772
+ * 200
12773
+ */
12774
+ 200: {
12775
+ used: number;
12776
+ limit: number;
12777
+ remaining: number;
12778
+ };
12779
+ /**
12780
+ * 400
12781
+ */
12782
+ 400: {
12783
+ statusCode?: number | null;
12784
+ message: string;
12785
+ issues?: Array<{
12786
+ code?: 'invalid_type' | 'invalid_literal' | 'custom' | 'invalid_union' | 'invalid_union_discriminator' | 'invalid_enum_value' | 'unrecognized_keys' | 'invalid_arguments' | 'invalid_return_type' | 'invalid_date' | 'invalid_string' | 'too_small' | 'too_big' | 'invalid_intersection_types' | 'not_multiple_of' | 'not_finite' | null;
12787
+ message: string;
12788
+ path?: Array<(string | number)> | null;
12789
+ }> | null;
12790
+ };
12791
+ /**
12792
+ * 401
12793
+ */
12794
+ 401: {
12795
+ statusCode?: number | null;
12796
+ message: string;
12797
+ };
12798
+ /**
12799
+ * 403
12800
+ */
12801
+ 403: {
12802
+ statusCode?: number | null;
12803
+ message: string;
12804
+ };
12805
+ /**
12806
+ * 404
12807
+ */
12808
+ 404: {
12809
+ statusCode?: number | null;
12810
+ message: string;
12811
+ };
12812
+ /**
12813
+ * 429
12814
+ */
12815
+ 429: {
12816
+ statusCode?: number | null;
12817
+ message: string;
12818
+ };
12819
+ /**
12820
+ * 500
12821
+ */
12822
+ 500: {
12823
+ statusCode?: number | null;
12824
+ message: string;
12825
+ };
12826
+ };
12827
+ };
12828
+ };
12829
+ '/api/v1/organization/usage/comments': {
12018
12830
  get: {
12019
12831
  res: {
12020
12832
  /**
@@ -12075,7 +12887,7 @@ type $OpenApiTs = {
12075
12887
  };
12076
12888
  };
12077
12889
  };
12078
- '/api/v1/organization/usage/comments': {
12890
+ '/api/v1/organization/usage/uploads': {
12079
12891
  get: {
12080
12892
  res: {
12081
12893
  /**
@@ -12136,16 +12948,27 @@ type $OpenApiTs = {
12136
12948
  };
12137
12949
  };
12138
12950
  };
12139
- '/api/v1/organization/usage/uploads': {
12951
+ '/api/v1/organization/usage/daily-limits': {
12140
12952
  get: {
12953
+ req: OrganizationGetDailyLimitsUsageData;
12141
12954
  res: {
12142
12955
  /**
12143
12956
  * 200
12144
12957
  */
12145
12958
  200: {
12146
- used: number;
12147
- limit: number;
12148
- remaining: number;
12959
+ date: string;
12960
+ socialAccountId: string;
12961
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK' | 'BLUESKY' | 'GOOGLE_BUSINESS';
12962
+ posts: {
12963
+ used: number;
12964
+ limit: number;
12965
+ remaining: number;
12966
+ };
12967
+ comments: {
12968
+ used: number;
12969
+ limit: number;
12970
+ remaining: number;
12971
+ };
12149
12972
  };
12150
12973
  /**
12151
12974
  * 400
@@ -12342,6 +13165,7 @@ type $OpenApiTs = {
12342
13165
  createdAt: string | null;
12343
13166
  updatedAt: string | null;
12344
13167
  deletedAt?: string | null;
13168
+ suspended?: boolean;
12345
13169
  };
12346
13170
  createdBy: {
12347
13171
  id: string;
@@ -12694,6 +13518,7 @@ type $OpenApiTs = {
12694
13518
  createdAt: string | null;
12695
13519
  updatedAt: string | null;
12696
13520
  deletedAt?: string | null;
13521
+ suspended?: boolean;
12697
13522
  };
12698
13523
  createdBy: {
12699
13524
  id: string;
@@ -13897,14 +14722,251 @@ type $OpenApiTs = {
13897
14722
  };
13898
14723
  };
13899
14724
  };
13900
- '/api/v1/upload/': {
14725
+ '/api/v1/upload/': {
14726
+ get: {
14727
+ req: UploadGetListData;
14728
+ res: {
14729
+ /**
14730
+ * 200
14731
+ */
14732
+ 200: Array<{
14733
+ id: string;
14734
+ teamId?: string | null;
14735
+ organizationId?: string | null;
14736
+ iconUrl?: string | null;
14737
+ thumbnailUrl?: string | null;
14738
+ url?: string | null;
14739
+ externalLink?: string | null;
14740
+ iconPath?: string | null;
14741
+ thumbnailPath?: string | null;
14742
+ path?: string | null;
14743
+ type: 'image' | 'video' | 'document';
14744
+ width?: number | null;
14745
+ height?: number | null;
14746
+ fileSize?: number | null;
14747
+ videoLength?: number | null;
14748
+ mime?: string | null;
14749
+ ext?: string | null;
14750
+ createdAt: string | null;
14751
+ updatedAt: string | null;
14752
+ posts: Array<{
14753
+ postId: string;
14754
+ uploadId: string;
14755
+ createdAt: string | null;
14756
+ updatedAt: string | null;
14757
+ deletedAt?: string | null;
14758
+ }>;
14759
+ }>;
14760
+ /**
14761
+ * 400
14762
+ */
14763
+ 400: {
14764
+ statusCode?: number | null;
14765
+ message: string;
14766
+ issues?: Array<{
14767
+ code?: 'invalid_type' | 'invalid_literal' | 'custom' | 'invalid_union' | 'invalid_union_discriminator' | 'invalid_enum_value' | 'unrecognized_keys' | 'invalid_arguments' | 'invalid_return_type' | 'invalid_date' | 'invalid_string' | 'too_small' | 'too_big' | 'invalid_intersection_types' | 'not_multiple_of' | 'not_finite' | null;
14768
+ message: string;
14769
+ path?: Array<(string | number)> | null;
14770
+ }> | null;
14771
+ };
14772
+ /**
14773
+ * 401
14774
+ */
14775
+ 401: {
14776
+ statusCode?: number | null;
14777
+ message: string;
14778
+ };
14779
+ /**
14780
+ * 403
14781
+ */
14782
+ 403: {
14783
+ statusCode?: number | null;
14784
+ message: string;
14785
+ };
14786
+ /**
14787
+ * 404
14788
+ */
14789
+ 404: {
14790
+ statusCode?: number | null;
14791
+ message: string;
14792
+ };
14793
+ /**
14794
+ * 429
14795
+ */
14796
+ 429: {
14797
+ statusCode?: number | null;
14798
+ message: string;
14799
+ };
14800
+ /**
14801
+ * 500
14802
+ */
14803
+ 500: {
14804
+ statusCode?: number | null;
14805
+ message: string;
14806
+ };
14807
+ };
14808
+ };
14809
+ post: {
14810
+ req: UploadCreateData;
14811
+ res: {
14812
+ /**
14813
+ * 200
14814
+ */
14815
+ 200: {
14816
+ id: string;
14817
+ teamId?: string | null;
14818
+ organizationId?: string | null;
14819
+ iconUrl?: string | null;
14820
+ thumbnailUrl?: string | null;
14821
+ url?: string | null;
14822
+ externalLink?: string | null;
14823
+ iconPath?: string | null;
14824
+ thumbnailPath?: string | null;
14825
+ path?: string | null;
14826
+ type: 'image' | 'video' | 'document';
14827
+ width?: number | null;
14828
+ height?: number | null;
14829
+ fileSize?: number | null;
14830
+ videoLength?: number | null;
14831
+ mime?: string | null;
14832
+ ext?: string | null;
14833
+ createdAt: string | null;
14834
+ updatedAt: string | null;
14835
+ };
14836
+ /**
14837
+ * 400
14838
+ */
14839
+ 400: {
14840
+ statusCode?: number | null;
14841
+ message: string;
14842
+ issues?: Array<{
14843
+ code?: 'invalid_type' | 'invalid_literal' | 'custom' | 'invalid_union' | 'invalid_union_discriminator' | 'invalid_enum_value' | 'unrecognized_keys' | 'invalid_arguments' | 'invalid_return_type' | 'invalid_date' | 'invalid_string' | 'too_small' | 'too_big' | 'invalid_intersection_types' | 'not_multiple_of' | 'not_finite' | null;
14844
+ message: string;
14845
+ path?: Array<(string | number)> | null;
14846
+ }> | null;
14847
+ };
14848
+ /**
14849
+ * 401
14850
+ */
14851
+ 401: {
14852
+ statusCode?: number | null;
14853
+ message: string;
14854
+ };
14855
+ /**
14856
+ * 403
14857
+ */
14858
+ 403: {
14859
+ statusCode?: number | null;
14860
+ message: string;
14861
+ };
14862
+ /**
14863
+ * 404
14864
+ */
14865
+ 404: {
14866
+ statusCode?: number | null;
14867
+ message: string;
14868
+ };
14869
+ /**
14870
+ * 429
14871
+ */
14872
+ 429: {
14873
+ statusCode?: number | null;
14874
+ message: string;
14875
+ };
14876
+ /**
14877
+ * 500
14878
+ */
14879
+ 500: {
14880
+ statusCode?: number | null;
14881
+ message: string;
14882
+ };
14883
+ };
14884
+ };
14885
+ delete: {
14886
+ req: UploadDeleteManyData;
14887
+ res: {
14888
+ /**
14889
+ * 200
14890
+ */
14891
+ 200: Array<{
14892
+ id: string;
14893
+ teamId?: string | null;
14894
+ organizationId?: string | null;
14895
+ iconUrl?: string | null;
14896
+ thumbnailUrl?: string | null;
14897
+ url?: string | null;
14898
+ externalLink?: string | null;
14899
+ iconPath?: string | null;
14900
+ thumbnailPath?: string | null;
14901
+ path?: string | null;
14902
+ type: 'image' | 'video' | 'document';
14903
+ width?: number | null;
14904
+ height?: number | null;
14905
+ fileSize?: number | null;
14906
+ videoLength?: number | null;
14907
+ mime?: string | null;
14908
+ ext?: string | null;
14909
+ createdAt: string | null;
14910
+ updatedAt: string | null;
14911
+ }>;
14912
+ /**
14913
+ * 400
14914
+ */
14915
+ 400: {
14916
+ statusCode?: number | null;
14917
+ message: string;
14918
+ issues?: Array<{
14919
+ code?: 'invalid_type' | 'invalid_literal' | 'custom' | 'invalid_union' | 'invalid_union_discriminator' | 'invalid_enum_value' | 'unrecognized_keys' | 'invalid_arguments' | 'invalid_return_type' | 'invalid_date' | 'invalid_string' | 'too_small' | 'too_big' | 'invalid_intersection_types' | 'not_multiple_of' | 'not_finite' | null;
14920
+ message: string;
14921
+ path?: Array<(string | number)> | null;
14922
+ }> | null;
14923
+ };
14924
+ /**
14925
+ * 401
14926
+ */
14927
+ 401: {
14928
+ statusCode?: number | null;
14929
+ message: string;
14930
+ };
14931
+ /**
14932
+ * 403
14933
+ */
14934
+ 403: {
14935
+ statusCode?: number | null;
14936
+ message: string;
14937
+ };
14938
+ /**
14939
+ * 404
14940
+ */
14941
+ 404: {
14942
+ statusCode?: number | null;
14943
+ message: string;
14944
+ };
14945
+ /**
14946
+ * 429
14947
+ */
14948
+ 429: {
14949
+ statusCode?: number | null;
14950
+ message: string;
14951
+ };
14952
+ /**
14953
+ * 500
14954
+ */
14955
+ 500: {
14956
+ statusCode?: number | null;
14957
+ message: string;
14958
+ };
14959
+ };
14960
+ };
14961
+ };
14962
+ '/api/v1/upload/{id}': {
13901
14963
  get: {
13902
- req: UploadGetListData;
14964
+ req: UploadGetData;
13903
14965
  res: {
13904
14966
  /**
13905
14967
  * 200
13906
14968
  */
13907
- 200: Array<{
14969
+ 200: {
13908
14970
  id: string;
13909
14971
  teamId?: string | null;
13910
14972
  organizationId?: string | null;
@@ -13931,7 +14993,7 @@ type $OpenApiTs = {
13931
14993
  updatedAt: string | null;
13932
14994
  deletedAt?: string | null;
13933
14995
  }>;
13934
- }>;
14996
+ };
13935
14997
  /**
13936
14998
  * 400
13937
14999
  */
@@ -13981,8 +15043,8 @@ type $OpenApiTs = {
13981
15043
  };
13982
15044
  };
13983
15045
  };
13984
- post: {
13985
- req: UploadCreateData;
15046
+ delete: {
15047
+ req: UploadDeleteData;
13986
15048
  res: {
13987
15049
  /**
13988
15050
  * 200
@@ -14057,13 +15119,15 @@ type $OpenApiTs = {
14057
15119
  };
14058
15120
  };
14059
15121
  };
14060
- delete: {
14061
- req: UploadDeleteManyData;
15122
+ };
15123
+ '/api/v1/upload/from-url': {
15124
+ post: {
15125
+ req: UploadCreateFromUrlData;
14062
15126
  res: {
14063
15127
  /**
14064
15128
  * 200
14065
15129
  */
14066
- 200: Array<{
15130
+ 200: {
14067
15131
  id: string;
14068
15132
  teamId?: string | null;
14069
15133
  organizationId?: string | null;
@@ -14083,7 +15147,7 @@ type $OpenApiTs = {
14083
15147
  ext?: string | null;
14084
15148
  createdAt: string | null;
14085
15149
  updatedAt: string | null;
14086
- }>;
15150
+ };
14087
15151
  /**
14088
15152
  * 400
14089
15153
  */
@@ -14134,40 +15198,16 @@ type $OpenApiTs = {
14134
15198
  };
14135
15199
  };
14136
15200
  };
14137
- '/api/v1/upload/{id}': {
14138
- get: {
14139
- req: UploadGetData;
15201
+ '/api/v1/upload/init': {
15202
+ post: {
15203
+ req: UploadInitLargeUploadData;
14140
15204
  res: {
14141
15205
  /**
14142
15206
  * 200
14143
15207
  */
14144
15208
  200: {
14145
- id: string;
14146
- teamId?: string | null;
14147
- organizationId?: string | null;
14148
- iconUrl?: string | null;
14149
- thumbnailUrl?: string | null;
14150
- url?: string | null;
14151
- externalLink?: string | null;
14152
- iconPath?: string | null;
14153
- thumbnailPath?: string | null;
14154
- path?: string | null;
14155
- type: 'image' | 'video' | 'document';
14156
- width?: number | null;
14157
- height?: number | null;
14158
- fileSize?: number | null;
14159
- videoLength?: number | null;
14160
- mime?: string | null;
14161
- ext?: string | null;
14162
- createdAt: string | null;
14163
- updatedAt: string | null;
14164
- posts: Array<{
14165
- postId: string;
14166
- uploadId: string;
14167
- createdAt: string | null;
14168
- updatedAt: string | null;
14169
- deletedAt?: string | null;
14170
- }>;
15209
+ url: string;
15210
+ path: string;
14171
15211
  };
14172
15212
  /**
14173
15213
  * 400
@@ -14218,8 +15258,10 @@ type $OpenApiTs = {
14218
15258
  };
14219
15259
  };
14220
15260
  };
14221
- delete: {
14222
- req: UploadDeleteData;
15261
+ };
15262
+ '/api/v1/upload/finalize': {
15263
+ post: {
15264
+ req: UploadFinalizeLargeUploadData;
14223
15265
  res: {
14224
15266
  /**
14225
15267
  * 200
@@ -14295,33 +15337,23 @@ type $OpenApiTs = {
14295
15337
  };
14296
15338
  };
14297
15339
  };
14298
- '/api/v1/upload/from-url': {
14299
- post: {
14300
- req: UploadCreateFromUrlData;
15340
+ '/api/v1/post/reconnect-social-account/candidates': {
15341
+ get: {
15342
+ req: PostGetReconnectSocialAccountCandidatesData;
14301
15343
  res: {
14302
15344
  /**
14303
15345
  * 200
14304
15346
  */
14305
15347
  200: {
14306
- id: string;
14307
- teamId?: string | null;
14308
- organizationId?: string | null;
14309
- iconUrl?: string | null;
14310
- thumbnailUrl?: string | null;
14311
- url?: string | null;
14312
- externalLink?: string | null;
14313
- iconPath?: string | null;
14314
- thumbnailPath?: string | null;
14315
- path?: string | null;
14316
- type: 'image' | 'video' | 'document';
14317
- width?: number | null;
14318
- height?: number | null;
14319
- fileSize?: number | null;
14320
- videoLength?: number | null;
14321
- mime?: string | null;
14322
- ext?: string | null;
14323
- createdAt: string | null;
14324
- updatedAt: string | null;
15348
+ items: Array<{
15349
+ id: string;
15350
+ title: string;
15351
+ postDate: string | null;
15352
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
15353
+ createdAt: string | null;
15354
+ updatedAt: string | null;
15355
+ }>;
15356
+ total: number;
14325
15357
  };
14326
15358
  /**
14327
15359
  * 400
@@ -14373,16 +15405,25 @@ type $OpenApiTs = {
14373
15405
  };
14374
15406
  };
14375
15407
  };
14376
- '/api/v1/upload/init': {
15408
+ '/api/v1/post/reconnect-social-account': {
14377
15409
  post: {
14378
- req: UploadInitLargeUploadData;
15410
+ req: PostReconnectSocialAccountData;
14379
15411
  res: {
14380
15412
  /**
14381
15413
  * 200
14382
15414
  */
14383
15415
  200: {
14384
- url: string;
14385
- path: string;
15416
+ total: number;
15417
+ succeeded: number;
15418
+ failed: number;
15419
+ results: Array<{
15420
+ postId: string;
15421
+ title?: string | null;
15422
+ success: boolean;
15423
+ statusBefore?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
15424
+ statusAfter?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
15425
+ message?: string;
15426
+ }>;
14386
15427
  };
14387
15428
  /**
14388
15429
  * 400
@@ -14434,170 +15475,707 @@ type $OpenApiTs = {
14434
15475
  };
14435
15476
  };
14436
15477
  };
14437
- '/api/v1/upload/finalize': {
14438
- post: {
14439
- req: UploadFinalizeLargeUploadData;
15478
+ '/api/v1/post/reference-key/{referenceKey}': {
15479
+ get: {
15480
+ req: PostGetByReferenceKeyData;
14440
15481
  res: {
14441
15482
  /**
14442
15483
  * 200
14443
15484
  */
14444
15485
  200: {
14445
15486
  id: string;
14446
- teamId?: string | null;
15487
+ teamId: string;
14447
15488
  organizationId?: string | null;
14448
- iconUrl?: string | null;
14449
- thumbnailUrl?: string | null;
14450
- url?: string | null;
14451
- externalLink?: string | null;
14452
- iconPath?: string | null;
14453
- thumbnailPath?: string | null;
14454
- path?: string | null;
14455
- type: 'image' | 'video' | 'document';
14456
- width?: number | null;
14457
- height?: number | null;
14458
- fileSize?: number | null;
14459
- videoLength?: number | null;
14460
- mime?: string | null;
14461
- ext?: string | null;
15489
+ title: string;
15490
+ referenceKey?: string | null;
15491
+ postDate: string | null;
15492
+ postedDate?: string | null;
15493
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
15494
+ data: {
15495
+ TWITTER?: {
15496
+ text?: string | null;
15497
+ uploadIds?: Array<(string)> | null;
15498
+ replySettings?: 'EVERYONE' | 'FOLLOWING' | 'MENTIONED_USERS' | 'SUBSCRIBERS' | 'VERIFIED' | null;
15499
+ } | null;
15500
+ PINTEREST?: {
15501
+ text?: string | null;
15502
+ description?: string | null;
15503
+ boardName: string;
15504
+ uploadIds?: Array<(string)> | null;
15505
+ /**
15506
+ * The URL to image uploaded on bundle.social.
15507
+ */
15508
+ thumbnail?: string | null;
15509
+ /**
15510
+ * The URL to which the Pin will link to.
15511
+ */
15512
+ link?: string | null;
15513
+ /**
15514
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
15515
+ */
15516
+ altText?: string | null;
15517
+ /**
15518
+ * A note about the Pin. This is not visible to the public.
15519
+ */
15520
+ note?: string | null;
15521
+ /**
15522
+ * The dominant color of the image. This is used to display the image before it's loaded.
15523
+ */
15524
+ dominantColor?: string | null;
15525
+ } | null;
15526
+ FACEBOOK?: {
15527
+ type?: 'POST' | 'REEL' | 'STORY';
15528
+ text?: string | null;
15529
+ uploadIds?: Array<(string)> | null;
15530
+ mediaItems?: Array<{
15531
+ uploadId: string;
15532
+ altText?: string | null;
15533
+ }> | null;
15534
+ /**
15535
+ * The URL to which the post will link to. Only available for type POST.
15536
+ */
15537
+ link?: string | null;
15538
+ /**
15539
+ * The URL to image uploaded on bundle.social.
15540
+ */
15541
+ thumbnail?: string | null;
15542
+ /**
15543
+ * Title for video posts (type POST with video only, not REEL or STORY). This is displayed as the video title on Facebook.
15544
+ */
15545
+ mediaTitle?: string | null;
15546
+ /**
15547
+ * If passed, instead of publishing immediately, the post will be scheduled for the given date/time directly in Meta scheduler. Local date/time as ISO 8601 string max 30 days in the future.
15548
+ */
15549
+ nativeScheduleTime?: string | null;
15550
+ } | null;
15551
+ INSTAGRAM?: {
15552
+ type?: 'POST' | 'REEL' | 'STORY';
15553
+ text?: string | null;
15554
+ uploadIds?: Array<(string)> | null;
15555
+ /**
15556
+ * Alternative text for a single image post.
15557
+ */
15558
+ altText?: string | null;
15559
+ /**
15560
+ * Choose a frame of the published video as the cover photo in ms
15561
+ */
15562
+ thumbnailOffset?: number | null;
15563
+ /**
15564
+ * The URL to image uploaded on bundle.social.
15565
+ */
15566
+ thumbnail?: string | null;
15567
+ /**
15568
+ * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
15569
+ */
15570
+ shareToFeed?: boolean | null;
15571
+ collaborators?: Array<(string)> | null;
15572
+ autoFitImage?: boolean | null;
15573
+ autoCropImage?: boolean | null;
15574
+ tagged?: Array<{
15575
+ username: string;
15576
+ x?: number;
15577
+ y?: number;
15578
+ }> | null;
15579
+ carouselItems?: Array<{
15580
+ uploadId: string;
15581
+ altText?: string | null;
15582
+ tagged?: Array<{
15583
+ username: string;
15584
+ x: number;
15585
+ y: number;
15586
+ }> | null;
15587
+ }> | null;
15588
+ locationId?: string | null;
15589
+ /**
15590
+ * For Reels only. Trial reels are only shared to non-followers.
15591
+ */
15592
+ trialParams?: {
15593
+ graduationStrategy: 'MANUAL' | 'SS_PERFORMANCE';
15594
+ } | null;
15595
+ /**
15596
+ * Information about the Instagram audio asset used for Reels publishing.
15597
+ */
15598
+ musicSoundInfo?: {
15599
+ /**
15600
+ * Use audio_id from Instagram Audio API search endpoint.
15601
+ */
15602
+ musicSoundId: string;
15603
+ /**
15604
+ * Audio volume (0-100).
15605
+ */
15606
+ musicSoundVolume?: number | null;
15607
+ /**
15608
+ * Background volume of the original video sound (0-100).
15609
+ */
15610
+ videoOriginalSoundVolume?: number | null;
15611
+ } | null;
15612
+ } | null;
15613
+ THREADS?: {
15614
+ text?: string | null;
15615
+ uploadIds?: Array<(string)> | null;
15616
+ mediaItems?: Array<{
15617
+ uploadId: string;
15618
+ altText?: string | null;
15619
+ }> | null;
15620
+ } | null;
15621
+ TIKTOK?: {
15622
+ type?: 'VIDEO' | 'IMAGE';
15623
+ text?: string | null;
15624
+ uploadIds?: Array<(string)> | null;
15625
+ /**
15626
+ * The URL to image uploaded on bundle.social.
15627
+ */
15628
+ thumbnail?: string | null;
15629
+ privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
15630
+ photoCoverIndex?: number | null;
15631
+ /**
15632
+ * Set to true if the video is a paid partnership to promote a third-party business.
15633
+ */
15634
+ isBrandContent?: boolean | null;
15635
+ /**
15636
+ * Set to true if this video is promoting the creator's own business.
15637
+ */
15638
+ isOrganicBrandContent?: boolean | null;
15639
+ /**
15640
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
15641
+ */
15642
+ disableComments?: boolean | null;
15643
+ /**
15644
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
15645
+ */
15646
+ disableDuet?: boolean | null;
15647
+ /**
15648
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
15649
+ */
15650
+ disableStitch?: boolean | null;
15651
+ /**
15652
+ * Choose a frame of the published video as the cover photo in ms
15653
+ */
15654
+ thumbnailOffset?: number | null;
15655
+ /**
15656
+ * Set to true if this video is AI generated.
15657
+ */
15658
+ isAiGenerated?: boolean | null;
15659
+ /**
15660
+ * If set to true, TikTok will automatically add music to the photos.
15661
+ */
15662
+ autoAddMusic?: boolean | null;
15663
+ autoScale?: boolean | null;
15664
+ /**
15665
+ * If set to true, upload post as draft.
15666
+ */
15667
+ uploadToDraft?: boolean | null;
15668
+ /**
15669
+ * Information about the commercial sound (track) used for TikTok publishing.
15670
+ */
15671
+ musicSoundInfo?: {
15672
+ /**
15673
+ * Use song_clip_id from CML trending list (full_duration_song_clip or trending_song_clip).
15674
+ */
15675
+ musicSoundId: string;
15676
+ /**
15677
+ * Commercial sound volume (0-100).
15678
+ */
15679
+ musicSoundVolume?: number | null;
15680
+ /**
15681
+ * Starting point of the commercial sound in milliseconds.
15682
+ */
15683
+ musicSoundStart?: number | null;
15684
+ /**
15685
+ * Ending point of the commercial sound in milliseconds.
15686
+ */
15687
+ musicSoundEnd?: number | null;
15688
+ /**
15689
+ * Background volume of the original video sound (0-100).
15690
+ */
15691
+ videoOriginalSoundVolume?: number | null;
15692
+ } | null;
15693
+ } | null;
15694
+ LINKEDIN?: {
15695
+ text: string;
15696
+ uploadIds?: Array<(string)> | null;
15697
+ /**
15698
+ * Optional URL for LinkedIn article preview post.
15699
+ */
15700
+ link?: string | null;
15701
+ /**
15702
+ * The URL to image uploaded on bundle.social.
15703
+ */
15704
+ thumbnail?: string | null;
15705
+ /**
15706
+ * Title for video or document posts. If not provided for videos, LinkedIn displays the posting date under the video.
15707
+ */
15708
+ mediaTitle?: string | null;
15709
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
15710
+ /**
15711
+ * Set to true if the post shouldn't be displayed in the main feed.
15712
+ */
15713
+ hideFromFeed?: boolean | null;
15714
+ /**
15715
+ * Set to true if the post is not allowed to be reshared.
15716
+ */
15717
+ disableReshare?: boolean | null;
15718
+ } | null;
15719
+ YOUTUBE?: {
15720
+ type?: 'VIDEO' | 'SHORT';
15721
+ uploadIds?: Array<(string)> | null;
15722
+ text?: string | null;
15723
+ description?: string | null;
15724
+ /**
15725
+ * The URL to image uploaded on bundle.social.
15726
+ */
15727
+ thumbnail?: string | null;
15728
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
15729
+ /**
15730
+ * BCP-47 language code for the video's title and description, e.g. "en" or "pl".
15731
+ */
15732
+ defaultLanguage?: string | null;
15733
+ /**
15734
+ * BCP-47 language code for the video's default audio track, e.g. "en" or "pl".
15735
+ */
15736
+ defaultAudioLanguage?: string | null;
15737
+ /**
15738
+ * Set to true if the video is made for kids.
15739
+ */
15740
+ madeForKids?: boolean | null;
15741
+ /**
15742
+ * Set to true if video contains AI generated content
15743
+ */
15744
+ containsSyntheticMedia?: boolean | null;
15745
+ /**
15746
+ * Set to true if video has paid product placement
15747
+ */
15748
+ hasPaidProductPlacement?: boolean | null;
15749
+ } | null;
15750
+ REDDIT?: {
15751
+ /**
15752
+ * Subreddit name. Example: r/subredditName or u/username
15753
+ */
15754
+ sr: string;
15755
+ text: string;
15756
+ description?: string | null;
15757
+ uploadIds?: Array<(string)> | null;
15758
+ /**
15759
+ * The URL to which the post will link to.
15760
+ */
15761
+ link?: string | null;
15762
+ /**
15763
+ * Set to true if the post is NSFW.
15764
+ */
15765
+ nsfw?: boolean | null;
15766
+ /**
15767
+ * Flair ID for the post. Required if the subreddit requires flair selection.
15768
+ */
15769
+ flairId?: string | null;
15770
+ } | null;
15771
+ DISCORD?: {
15772
+ channelId: string;
15773
+ text?: string | null;
15774
+ uploadIds?: Array<(string)> | null;
15775
+ /**
15776
+ * The username to display as the author of the message.
15777
+ */
15778
+ username?: string | null;
15779
+ /**
15780
+ * Avatar url to display as the author of the message.
15781
+ */
15782
+ avatarUrl?: string | null;
15783
+ } | null;
15784
+ SLACK?: {
15785
+ channelId: string;
15786
+ text?: string | null;
15787
+ uploadIds?: Array<(string)> | null;
15788
+ /**
15789
+ * The username to display as the author of the message.
15790
+ */
15791
+ username?: string | null;
15792
+ /**
15793
+ * Avatar url to display as the author of the message.
15794
+ */
15795
+ avatarUrl?: string | null;
15796
+ } | null;
15797
+ MASTODON?: {
15798
+ text?: string | null;
15799
+ uploadIds?: Array<(string)> | null;
15800
+ /**
15801
+ * The URL to image uploaded on bundle.social.
15802
+ */
15803
+ thumbnail?: string | null;
15804
+ privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
15805
+ spoiler?: string | null;
15806
+ } | null;
15807
+ BLUESKY?: {
15808
+ text?: string | null;
15809
+ uploadIds?: Array<(string)> | null;
15810
+ /**
15811
+ * Extra hashtags (without #), up to 8.
15812
+ */
15813
+ tags?: Array<(string)> | null;
15814
+ /**
15815
+ * Self-labels (content warnings) applied to the post.
15816
+ */
15817
+ labels?: Array<('!no-unauthenticated' | 'porn' | 'sexual' | 'nudity' | 'graphic-media')> | null;
15818
+ /**
15819
+ * AT-URI of the post to quote (e.g. at://did.../app.bsky.feed.post/<rkey>).
15820
+ */
15821
+ quoteUri?: string;
15822
+ /**
15823
+ * Target URL for the external link card
15824
+ */
15825
+ externalUrl?: string | null;
15826
+ /**
15827
+ * Card title for the external link card
15828
+ */
15829
+ externalTitle?: string | null;
15830
+ /**
15831
+ * Card description for the external link card
15832
+ */
15833
+ externalDescription?: string | null;
15834
+ /**
15835
+ * Alt text for the video embed.
15836
+ */
15837
+ videoAlt?: string | null;
15838
+ } | null;
15839
+ GOOGLE_BUSINESS?: {
15840
+ text?: string | null;
15841
+ /**
15842
+ * IDs of images/videos uploaded to bundle.social.
15843
+ */
15844
+ uploadIds?: Array<(string)> | null;
15845
+ topicType?: 'STANDARD' | 'EVENT' | 'OFFER' | 'ALERT' | null;
15846
+ /**
15847
+ * Language tag like 'en' or 'en-US'.
15848
+ */
15849
+ languageCode?: string | null;
15850
+ callToActionType?: 'BOOK' | 'ORDER' | 'SHOP' | 'LEARN_MORE' | 'SIGN_UP' | 'CALL' | null;
15851
+ callToActionUrl?: string | null;
15852
+ eventTitle?: string | null;
15853
+ eventStartDate?: string | null;
15854
+ eventEndDate?: string | null;
15855
+ offerCouponCode?: string | null;
15856
+ offerRedeemOnlineUrl?: string | null;
15857
+ offerTermsConditions?: string | null;
15858
+ /**
15859
+ * Alert type for ALERT posts.
15860
+ */
15861
+ alertType?: 'COVID_19' | null;
15862
+ } | null;
15863
+ };
15864
+ error?: string | null;
15865
+ errors?: {
15866
+ TWITTER?: string | null;
15867
+ PINTEREST?: string | null;
15868
+ FACEBOOK?: string | null;
15869
+ INSTAGRAM?: string | null;
15870
+ TIKTOK?: string | null;
15871
+ LINKEDIN?: string | null;
15872
+ REDDIT?: string | null;
15873
+ DISCORD?: string | null;
15874
+ SLACK?: string | null;
15875
+ YOUTUBE?: string | null;
15876
+ MASTODON?: string | null;
15877
+ THREADS?: string | null;
15878
+ BLUESKY?: string | null;
15879
+ GOOGLE_BUSINESS?: string | null;
15880
+ } | null;
15881
+ errorsVerbose?: {
15882
+ TWITTER?: {
15883
+ code?: string | null;
15884
+ errorMessage?: string | null;
15885
+ isTransient?: boolean | null;
15886
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
15887
+ httpStatus?: number | null;
15888
+ meta?: unknown;
15889
+ userFacingMessage?: string | null;
15890
+ } | null;
15891
+ PINTEREST?: {
15892
+ code?: string | null;
15893
+ errorMessage?: string | null;
15894
+ isTransient?: boolean | null;
15895
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
15896
+ httpStatus?: number | null;
15897
+ meta?: unknown;
15898
+ userFacingMessage?: string | null;
15899
+ } | null;
15900
+ FACEBOOK?: {
15901
+ code?: string | null;
15902
+ errorMessage?: string | null;
15903
+ isTransient?: boolean | null;
15904
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
15905
+ httpStatus?: number | null;
15906
+ meta?: unknown;
15907
+ userFacingMessage?: string | null;
15908
+ } | null;
15909
+ INSTAGRAM?: {
15910
+ code?: string | null;
15911
+ errorMessage?: string | null;
15912
+ isTransient?: boolean | null;
15913
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
15914
+ httpStatus?: number | null;
15915
+ meta?: unknown;
15916
+ userFacingMessage?: string | null;
15917
+ } | null;
15918
+ TIKTOK?: {
15919
+ code?: string | null;
15920
+ errorMessage?: string | null;
15921
+ isTransient?: boolean | null;
15922
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
15923
+ httpStatus?: number | null;
15924
+ meta?: unknown;
15925
+ userFacingMessage?: string | null;
15926
+ } | null;
15927
+ LINKEDIN?: {
15928
+ code?: string | null;
15929
+ errorMessage?: string | null;
15930
+ isTransient?: boolean | null;
15931
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
15932
+ httpStatus?: number | null;
15933
+ meta?: unknown;
15934
+ userFacingMessage?: string | null;
15935
+ } | null;
15936
+ REDDIT?: {
15937
+ code?: string | null;
15938
+ errorMessage?: string | null;
15939
+ isTransient?: boolean | null;
15940
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
15941
+ httpStatus?: number | null;
15942
+ meta?: unknown;
15943
+ userFacingMessage?: string | null;
15944
+ } | null;
15945
+ DISCORD?: {
15946
+ code?: string | null;
15947
+ errorMessage?: string | null;
15948
+ isTransient?: boolean | null;
15949
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
15950
+ httpStatus?: number | null;
15951
+ meta?: unknown;
15952
+ userFacingMessage?: string | null;
15953
+ } | null;
15954
+ SLACK?: {
15955
+ code?: string | null;
15956
+ errorMessage?: string | null;
15957
+ isTransient?: boolean | null;
15958
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
15959
+ httpStatus?: number | null;
15960
+ meta?: unknown;
15961
+ userFacingMessage?: string | null;
15962
+ } | null;
15963
+ YOUTUBE?: {
15964
+ code?: string | null;
15965
+ errorMessage?: string | null;
15966
+ isTransient?: boolean | null;
15967
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
15968
+ httpStatus?: number | null;
15969
+ meta?: unknown;
15970
+ userFacingMessage?: string | null;
15971
+ } | null;
15972
+ MASTODON?: {
15973
+ code?: string | null;
15974
+ errorMessage?: string | null;
15975
+ isTransient?: boolean | null;
15976
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
15977
+ httpStatus?: number | null;
15978
+ meta?: unknown;
15979
+ userFacingMessage?: string | null;
15980
+ } | null;
15981
+ THREADS?: {
15982
+ code?: string | null;
15983
+ errorMessage?: string | null;
15984
+ isTransient?: boolean | null;
15985
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
15986
+ httpStatus?: number | null;
15987
+ meta?: unknown;
15988
+ userFacingMessage?: string | null;
15989
+ } | null;
15990
+ BLUESKY?: {
15991
+ code?: string | null;
15992
+ errorMessage?: string | null;
15993
+ isTransient?: boolean | null;
15994
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
15995
+ httpStatus?: number | null;
15996
+ meta?: unknown;
15997
+ userFacingMessage?: string | null;
15998
+ } | null;
15999
+ GOOGLE_BUSINESS?: {
16000
+ code?: string | null;
16001
+ errorMessage?: string | null;
16002
+ isTransient?: boolean | null;
16003
+ retryability?: 'retryable' | 'non_retryable' | 'unknown' | null;
16004
+ httpStatus?: number | null;
16005
+ meta?: unknown;
16006
+ userFacingMessage?: string | null;
16007
+ } | null;
16008
+ } | null;
16009
+ externalData?: {
16010
+ TWITTER?: {
16011
+ id?: string | null;
16012
+ permalink?: string | null;
16013
+ } | null;
16014
+ PINTEREST?: {
16015
+ id?: string | null;
16016
+ permalink?: string | null;
16017
+ thumbnail?: string | null;
16018
+ } | null;
16019
+ FACEBOOK?: {
16020
+ id?: string | null;
16021
+ postId?: string | null;
16022
+ videoId?: string | null;
16023
+ permalink?: string | null;
16024
+ thumbnail?: string | null;
16025
+ } | null;
16026
+ INSTAGRAM?: {
16027
+ id?: string | null;
16028
+ permalink?: string | null;
16029
+ thumbnail?: string | null;
16030
+ } | null;
16031
+ TIKTOK?: {
16032
+ id?: string | null;
16033
+ shareId?: string | null;
16034
+ requestId?: string | null;
16035
+ permalink?: string | null;
16036
+ status?: string | null;
16037
+ } | null;
16038
+ LINKEDIN?: {
16039
+ id?: string | null;
16040
+ activity?: string | null;
16041
+ permalink?: string | null;
16042
+ thumbnail?: string | null;
16043
+ } | null;
16044
+ REDDIT?: {
16045
+ id?: string | null;
16046
+ permalink?: string | null;
16047
+ subreddit_name?: string | null;
16048
+ } | null;
16049
+ DISCORD?: {
16050
+ id?: string | null;
16051
+ permalink?: string | null;
16052
+ channelId?: string | null;
16053
+ } | null;
16054
+ SLACK?: {
16055
+ id?: string | null;
16056
+ permalink?: string | null;
16057
+ channelId?: string | null;
16058
+ } | null;
16059
+ YOUTUBE?: {
16060
+ id?: string | null;
16061
+ permalink?: string | null;
16062
+ thumbnail?: string | null;
16063
+ /**
16064
+ * YouTube resumable upload session URI for retry handling
16065
+ */
16066
+ sessionUri?: string | null;
16067
+ } | null;
16068
+ MASTODON?: {
16069
+ id?: string | null;
16070
+ permalink?: string | null;
16071
+ thumbnail?: string | null;
16072
+ } | null;
16073
+ THREADS?: {
16074
+ id?: string | null;
16075
+ permalink?: string | null;
16076
+ } | null;
16077
+ BLUESKY?: {
16078
+ id?: string | null;
16079
+ uri?: string | null;
16080
+ /**
16081
+ * Content ID of the created record
16082
+ */
16083
+ cid?: string | null;
16084
+ permalink?: string | null;
16085
+ /**
16086
+ * Author DID (owner of the record)
16087
+ */
16088
+ did?: string | null;
16089
+ } | null;
16090
+ GOOGLE_BUSINESS?: {
16091
+ /**
16092
+ * Resource name of the Local Post, e.g. 'accounts/{accountId}/locations/{locationId}/localPosts/{postId}'.
16093
+ */
16094
+ id?: string | null;
16095
+ /**
16096
+ * Public link to the post (searchUrl) when available.
16097
+ */
16098
+ permalink?: string | null;
16099
+ } | null;
16100
+ } | null;
16101
+ retryCount: number;
14462
16102
  createdAt: string | null;
14463
16103
  updatedAt: string | null;
14464
- };
14465
- /**
14466
- * 400
14467
- */
14468
- 400: {
14469
- statusCode?: number | null;
14470
- message: string;
14471
- issues?: Array<{
14472
- code?: 'invalid_type' | 'invalid_literal' | 'custom' | 'invalid_union' | 'invalid_union_discriminator' | 'invalid_enum_value' | 'unrecognized_keys' | 'invalid_arguments' | 'invalid_return_type' | 'invalid_date' | 'invalid_string' | 'too_small' | 'too_big' | 'invalid_intersection_types' | 'not_multiple_of' | 'not_finite' | null;
14473
- message: string;
14474
- path?: Array<(string | number)> | null;
14475
- }> | null;
14476
- };
14477
- /**
14478
- * 401
14479
- */
14480
- 401: {
14481
- statusCode?: number | null;
14482
- message: string;
14483
- };
14484
- /**
14485
- * 403
14486
- */
14487
- 403: {
14488
- statusCode?: number | null;
14489
- message: string;
14490
- };
14491
- /**
14492
- * 404
14493
- */
14494
- 404: {
14495
- statusCode?: number | null;
14496
- message: string;
14497
- };
14498
- /**
14499
- * 429
14500
- */
14501
- 429: {
14502
- statusCode?: number | null;
14503
- message: string;
14504
- };
14505
- /**
14506
- * 500
14507
- */
14508
- 500: {
14509
- statusCode?: number | null;
14510
- message: string;
14511
- };
14512
- };
14513
- };
14514
- };
14515
- '/api/v1/post/reconnect-social-account/candidates': {
14516
- get: {
14517
- req: PostGetReconnectSocialAccountCandidatesData;
14518
- res: {
14519
- /**
14520
- * 200
14521
- */
14522
- 200: {
14523
- items: Array<{
14524
- id: string;
14525
- title: string;
14526
- postDate: string | null;
14527
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
16104
+ deletedAt?: string | null;
16105
+ uploads: Array<{
16106
+ postId: string;
16107
+ uploadId: string;
14528
16108
  createdAt: string | null;
14529
16109
  updatedAt: string | null;
16110
+ deletedAt?: string | null;
16111
+ upload: {
16112
+ id: string;
16113
+ teamId?: string | null;
16114
+ organizationId?: string | null;
16115
+ iconUrl?: string | null;
16116
+ thumbnailUrl?: string | null;
16117
+ url?: string | null;
16118
+ externalLink?: string | null;
16119
+ iconPath?: string | null;
16120
+ thumbnailPath?: string | null;
16121
+ path?: string | null;
16122
+ type: 'image' | 'video' | 'document';
16123
+ width?: number | null;
16124
+ height?: number | null;
16125
+ fileSize?: number | null;
16126
+ videoLength?: number | null;
16127
+ mime?: string | null;
16128
+ ext?: string | null;
16129
+ createdAt: string | null;
16130
+ updatedAt: string | null;
16131
+ };
14530
16132
  }>;
14531
- total: number;
14532
- };
14533
- /**
14534
- * 400
14535
- */
14536
- 400: {
14537
- statusCode?: number | null;
14538
- message: string;
14539
- issues?: Array<{
14540
- code?: 'invalid_type' | 'invalid_literal' | 'custom' | 'invalid_union' | 'invalid_union_discriminator' | 'invalid_enum_value' | 'unrecognized_keys' | 'invalid_arguments' | 'invalid_return_type' | 'invalid_date' | 'invalid_string' | 'too_small' | 'too_big' | 'invalid_intersection_types' | 'not_multiple_of' | 'not_finite' | null;
14541
- message: string;
14542
- path?: Array<(string | number)> | null;
14543
- }> | null;
14544
- };
14545
- /**
14546
- * 401
14547
- */
14548
- 401: {
14549
- statusCode?: number | null;
14550
- message: string;
14551
- };
14552
- /**
14553
- * 403
14554
- */
14555
- 403: {
14556
- statusCode?: number | null;
14557
- message: string;
14558
- };
14559
- /**
14560
- * 404
14561
- */
14562
- 404: {
14563
- statusCode?: number | null;
14564
- message: string;
14565
- };
14566
- /**
14567
- * 429
14568
- */
14569
- 429: {
14570
- statusCode?: number | null;
14571
- message: string;
14572
- };
14573
- /**
14574
- * 500
14575
- */
14576
- 500: {
14577
- statusCode?: number | null;
14578
- message: string;
14579
- };
14580
- };
14581
- };
14582
- };
14583
- '/api/v1/post/reconnect-social-account': {
14584
- post: {
14585
- req: PostReconnectSocialAccountData;
14586
- res: {
14587
- /**
14588
- * 200
14589
- */
14590
- 200: {
14591
- total: number;
14592
- succeeded: number;
14593
- failed: number;
14594
- results: Array<{
16133
+ socialAccounts: Array<{
14595
16134
  postId: string;
14596
- title?: string | null;
14597
- success: boolean;
14598
- statusBefore?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
14599
- statusAfter?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
14600
- message?: string;
16135
+ socialAccountId: string;
16136
+ createdAt: string | null;
16137
+ updatedAt: string | null;
16138
+ deletedAt?: string | null;
16139
+ socialAccount: {
16140
+ id: string;
16141
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK' | 'BLUESKY' | 'GOOGLE_BUSINESS';
16142
+ teamId: string;
16143
+ username?: string | null;
16144
+ displayName?: string | null;
16145
+ avatarUrl?: string | null;
16146
+ externalId?: string | null;
16147
+ userUsername?: string | null;
16148
+ userDisplayName?: string | null;
16149
+ userId?: string | null;
16150
+ channels?: Array<{
16151
+ id: string;
16152
+ name?: string | null;
16153
+ username?: string | null;
16154
+ address?: string | null;
16155
+ avatarUrl?: string | null;
16156
+ webhook?: {
16157
+ id?: string | null;
16158
+ name?: string | null;
16159
+ avatar?: string | null;
16160
+ url?: string | null;
16161
+ } | null;
16162
+ metadata?: {
16163
+ allowImages?: boolean | null;
16164
+ allowVideos?: boolean | null;
16165
+ allowGalleries?: boolean | null;
16166
+ linkFlairEnabled?: boolean | null;
16167
+ } | null;
16168
+ }> | null;
16169
+ mastodonServerId?: string | null;
16170
+ instagramConnectionMethod?: 'FACEBOOK' | 'INSTAGRAM' | null;
16171
+ twitterSubType?: 'none' | 'basic' | 'premium' | 'premium_plus' | null;
16172
+ isTiktokBusinessAccount?: boolean | null;
16173
+ disconnectedCheckTryAt?: string | null;
16174
+ deleteOn?: string | null;
16175
+ createdAt: string | null;
16176
+ updatedAt: string | null;
16177
+ deletedAt?: string | null;
16178
+ };
14601
16179
  }>;
14602
16180
  };
14603
16181
  /**
@@ -14662,6 +16240,7 @@ type $OpenApiTs = {
14662
16240
  teamId: string;
14663
16241
  organizationId?: string | null;
14664
16242
  title: string;
16243
+ referenceKey?: string | null;
14665
16244
  postDate: string | null;
14666
16245
  postedDate?: string | null;
14667
16246
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -15412,6 +16991,7 @@ type $OpenApiTs = {
15412
16991
  teamId: string;
15413
16992
  organizationId?: string | null;
15414
16993
  title: string;
16994
+ referenceKey?: string | null;
15415
16995
  postDate: string | null;
15416
16996
  postedDate?: string | null;
15417
16997
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -16060,6 +17640,13 @@ type $OpenApiTs = {
16060
17640
  statusCode?: number | null;
16061
17641
  message: string;
16062
17642
  };
17643
+ /**
17644
+ * 409
17645
+ */
17646
+ 409: {
17647
+ statusCode?: number | null;
17648
+ message: string;
17649
+ };
16063
17650
  /**
16064
17651
  * 429
16065
17652
  */
@@ -16087,6 +17674,7 @@ type $OpenApiTs = {
16087
17674
  teamId: string;
16088
17675
  organizationId?: string | null;
16089
17676
  title: string;
17677
+ referenceKey?: string | null;
16090
17678
  postDate: string | null;
16091
17679
  postedDate?: string | null;
16092
17680
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -16765,6 +18353,7 @@ type $OpenApiTs = {
16765
18353
  teamId: string;
16766
18354
  organizationId?: string | null;
16767
18355
  title: string;
18356
+ referenceKey?: string | null;
16768
18357
  postDate: string | null;
16769
18358
  postedDate?: string | null;
16770
18359
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -17517,6 +19106,7 @@ type $OpenApiTs = {
17517
19106
  teamId: string;
17518
19107
  organizationId?: string | null;
17519
19108
  title: string;
19109
+ referenceKey?: string | null;
17520
19110
  postDate: string | null;
17521
19111
  postedDate?: string | null;
17522
19112
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -18165,6 +19755,13 @@ type $OpenApiTs = {
18165
19755
  statusCode?: number | null;
18166
19756
  message: string;
18167
19757
  };
19758
+ /**
19759
+ * 409
19760
+ */
19761
+ 409: {
19762
+ statusCode?: number | null;
19763
+ message: string;
19764
+ };
18168
19765
  /**
18169
19766
  * 429
18170
19767
  */
@@ -18194,6 +19791,7 @@ type $OpenApiTs = {
18194
19791
  teamId: string;
18195
19792
  organizationId?: string | null;
18196
19793
  title: string;
19794
+ referenceKey?: string | null;
18197
19795
  postDate: string | null;
18198
19796
  postedDate?: string | null;
18199
19797
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -18988,6 +20586,7 @@ type $OpenApiTs = {
18988
20586
  teamId: string;
18989
20587
  organizationId?: string | null;
18990
20588
  title: string;
20589
+ referenceKey?: string | null;
18991
20590
  postDate: string | null;
18992
20591
  postedDate?: string | null;
18993
20592
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -19815,6 +21414,7 @@ type $OpenApiTs = {
19815
21414
  teamId: string;
19816
21415
  organizationId?: string | null;
19817
21416
  title: string;
21417
+ referenceKey?: string | null;
19818
21418
  postDate: string | null;
19819
21419
  postedDate?: string | null;
19820
21420
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -20760,7 +22360,8 @@ type $OpenApiTs = {
20760
22360
  teamId: string;
20761
22361
  organizationId?: string | null;
20762
22362
  socialAccountId: string;
20763
- postId: string;
22363
+ postId?: string | null;
22364
+ importedPostId?: string | null;
20764
22365
  platform: 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE' | 'TIKTOK' | 'REDDIT' | 'THREADS' | 'MASTODON' | 'BLUESKY';
20765
22366
  status: 'PENDING' | 'FETCHING' | 'RETRYING' | 'COMPLETED' | 'SKIPPED' | 'FAILED' | 'RATE_LIMITED';
20766
22367
  commentsImported: number;
@@ -20839,7 +22440,8 @@ type $OpenApiTs = {
20839
22440
  teamId: string;
20840
22441
  organizationId?: string | null;
20841
22442
  socialAccountId: string;
20842
- postId: string;
22443
+ postId?: string | null;
22444
+ importedPostId?: string | null;
20843
22445
  platform: 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE' | 'TIKTOK' | 'REDDIT' | 'THREADS' | 'MASTODON' | 'BLUESKY';
20844
22446
  status: 'PENDING' | 'FETCHING' | 'RETRYING' | 'COMPLETED' | 'SKIPPED' | 'FAILED' | 'RATE_LIMITED';
20845
22447
  commentsImported: number;
@@ -20913,7 +22515,8 @@ type $OpenApiTs = {
20913
22515
  id: string;
20914
22516
  teamId: string;
20915
22517
  organizationId?: string | null;
20916
- postId: string;
22518
+ postId?: string | null;
22519
+ importedPostId?: string | null;
20917
22520
  socialAccountId: string;
20918
22521
  importId: string;
20919
22522
  platform: 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE' | 'TIKTOK' | 'REDDIT' | 'THREADS' | 'MASTODON' | 'BLUESKY';
@@ -21020,7 +22623,8 @@ type $OpenApiTs = {
21020
22623
  id: string;
21021
22624
  teamId: string;
21022
22625
  organizationId?: string | null;
21023
- postId: string;
22626
+ postId?: string | null;
22627
+ importedPostId?: string | null;
21024
22628
  socialAccountId: string;
21025
22629
  importId: string;
21026
22630
  platform: 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE' | 'TIKTOK' | 'REDDIT' | 'THREADS' | 'MASTODON' | 'BLUESKY';
@@ -21125,7 +22729,8 @@ type $OpenApiTs = {
21125
22729
  teamId: string;
21126
22730
  organizationId?: string | null;
21127
22731
  socialAccountId: string;
21128
- postId: string;
22732
+ postId?: string | null;
22733
+ importedPostId?: string | null;
21129
22734
  platform: 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'YOUTUBE' | 'TIKTOK' | 'REDDIT' | 'THREADS' | 'MASTODON' | 'BLUESKY';
21130
22735
  status: 'PENDING' | 'FETCHING' | 'RETRYING' | 'COMPLETED' | 'SKIPPED' | 'FAILED' | 'RATE_LIMITED';
21131
22736
  commentsImported: number;
@@ -21197,7 +22802,8 @@ type $OpenApiTs = {
21197
22802
  id: string;
21198
22803
  teamId: string;
21199
22804
  organizationId?: string | null;
21200
- internalPostId: string;
22805
+ internalPostId?: string | null;
22806
+ importedPostId?: string | null;
21201
22807
  internalParentCommentId?: string | null;
21202
22808
  fetchedParentCommentId?: string | null;
21203
22809
  title: string;
@@ -21473,7 +23079,8 @@ type $OpenApiTs = {
21473
23079
  id: string;
21474
23080
  teamId: string;
21475
23081
  organizationId?: string | null;
21476
- internalPostId: string;
23082
+ internalPostId?: string | null;
23083
+ importedPostId?: string | null;
21477
23084
  internalParentCommentId?: string | null;
21478
23085
  fetchedParentCommentId?: string | null;
21479
23086
  title: string;
@@ -21749,7 +23356,8 @@ type $OpenApiTs = {
21749
23356
  id: string;
21750
23357
  teamId: string;
21751
23358
  organizationId?: string | null;
21752
- internalPostId: string;
23359
+ internalPostId?: string | null;
23360
+ importedPostId?: string | null;
21753
23361
  internalParentCommentId?: string | null;
21754
23362
  fetchedParentCommentId?: string | null;
21755
23363
  title: string;
@@ -22028,7 +23636,8 @@ type $OpenApiTs = {
22028
23636
  id: string;
22029
23637
  teamId: string;
22030
23638
  organizationId?: string | null;
22031
- internalPostId: string;
23639
+ internalPostId?: string | null;
23640
+ importedPostId?: string | null;
22032
23641
  internalParentCommentId?: string | null;
22033
23642
  fetchedParentCommentId?: string | null;
22034
23643
  title: string;
@@ -22306,7 +23915,8 @@ type $OpenApiTs = {
22306
23915
  id: string;
22307
23916
  teamId: string;
22308
23917
  organizationId?: string | null;
22309
- internalPostId: string;
23918
+ internalPostId?: string | null;
23919
+ importedPostId?: string | null;
22310
23920
  internalParentCommentId?: string | null;
22311
23921
  fetchedParentCommentId?: string | null;
22312
23922
  title: string;
@@ -22584,7 +24194,8 @@ type $OpenApiTs = {
22584
24194
  id: string;
22585
24195
  teamId: string;
22586
24196
  organizationId?: string | null;
22587
- internalPostId: string;
24197
+ internalPostId?: string | null;
24198
+ importedPostId?: string | null;
22588
24199
  internalParentCommentId?: string | null;
22589
24200
  fetchedParentCommentId?: string | null;
22590
24201
  title: string;
@@ -29466,6 +31077,15 @@ declare class OrganizationService {
29466
31077
  * @throws ApiError
29467
31078
  */
29468
31079
  organizationGetUploadsUsage(): CancelablePromise<OrganizationGetUploadsUsageResponse>;
31080
+ /**
31081
+ * Get daily limits usage for one social account on a given day
31082
+ * @param data The data for the request.
31083
+ * @param data.socialAccountId
31084
+ * @param data.date
31085
+ * @returns unknown 200
31086
+ * @throws ApiError
31087
+ */
31088
+ organizationGetDailyLimitsUsage(data: OrganizationGetDailyLimitsUsageData): CancelablePromise<OrganizationGetDailyLimitsUsageResponse>;
29469
31089
  /**
29470
31090
  * Get organization imports usage per social account (paginated)
29471
31091
  * @param data The data for the request.
@@ -29721,6 +31341,14 @@ declare class PostService {
29721
31341
  * @throws ApiError
29722
31342
  */
29723
31343
  postReconnectSocialAccount(data?: PostReconnectSocialAccountData): CancelablePromise<PostReconnectSocialAccountResponse>;
31344
+ /**
31345
+ * Get post by reference key
31346
+ * @param data The data for the request.
31347
+ * @param data.referenceKey
31348
+ * @returns unknown 200
31349
+ * @throws ApiError
31350
+ */
31351
+ postGetByReferenceKey(data: PostGetByReferenceKeyData): CancelablePromise<PostGetByReferenceKeyResponse>;
29724
31352
  /**
29725
31353
  * Get post
29726
31354
  * @param data The data for the request.
@@ -29866,6 +31494,7 @@ declare class CommentService {
29866
31494
  * @param data The data for the request.
29867
31495
  * @param data.teamId
29868
31496
  * @param data.postId
31497
+ * @param data.importedPostId
29869
31498
  * @param data.status
29870
31499
  * @param data.offset
29871
31500
  * @param data.limit
@@ -29878,6 +31507,7 @@ declare class CommentService {
29878
31507
  * @param data The data for the request.
29879
31508
  * @param data.teamId
29880
31509
  * @param data.postId
31510
+ * @param data.importedPostId
29881
31511
  * @param data.platform
29882
31512
  * @param data.socialAccountId
29883
31513
  * @param data.offset
@@ -29933,6 +31563,7 @@ declare class CommentService {
29933
31563
  * @param data The data for the request.
29934
31564
  * @param data.teamId
29935
31565
  * @param data.postId
31566
+ * @param data.importedPostId
29936
31567
  * @param data.status
29937
31568
  * @param data.orderBy
29938
31569
  * @param data.order
@@ -30093,6 +31724,8 @@ declare class MiscService {
30093
31724
  * @param data The data for the request.
30094
31725
  * @param data.teamId
30095
31726
  * @param data.q
31727
+ * @param data.url
31728
+ * @param data.displayName
30096
31729
  * @param data.scope
30097
31730
  * @returns unknown 200
30098
31731
  * @throws ApiError
@@ -30904,4 +32537,4 @@ declare class Bundlesocial extends Client {
30904
32537
  constructor(apiKey: string, options?: OpenAPIConfig);
30905
32538
  }
30906
32539
 
30907
- export { $OpenApiTs, AnalyticsForcePostAnalyticsData, AnalyticsForcePostAnalyticsResponse, AnalyticsForceSocialAccountAnalyticsData, AnalyticsForceSocialAccountAnalyticsResponse, AnalyticsGetBulkPostAnalyticsData, AnalyticsGetBulkPostAnalyticsResponse, AnalyticsGetPostAnalyticsData, AnalyticsGetPostAnalyticsRawData, AnalyticsGetPostAnalyticsRawResponse, AnalyticsGetPostAnalyticsResponse, AnalyticsGetSocialAccountAnalyticsData, AnalyticsGetSocialAccountAnalyticsRawData, AnalyticsGetSocialAccountAnalyticsRawResponse, AnalyticsGetSocialAccountAnalyticsResponse, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, CommentCreateData, CommentCreateResponse, CommentDeleteData, CommentDeleteResponse, CommentGetData, CommentGetListData, CommentGetListResponse, CommentGetResponse, CommentImportActionFetchedCommentData, CommentImportActionFetchedCommentResponse, CommentImportCreateData, CommentImportCreateResponse, CommentImportGetByIdData, CommentImportGetByIdResponse, CommentImportGetFetchedCommentsData, CommentImportGetFetchedCommentsResponse, CommentImportGetListData, CommentImportGetListResponse, CommentRetryData, CommentRetryResponse, CommentUpdateData, CommentUpdateResponse, MiscBlueskyDeleteCommentData, MiscBlueskyDeleteCommentResponse, MiscBlueskyDeletePostData, MiscBlueskyDeletePostResponse, MiscDiscordDeleteMessageData, MiscDiscordDeleteMessageResponse, MiscFacebookDeleteCommentData, MiscFacebookDeleteCommentResponse, MiscFacebookDeletePostData, MiscFacebookDeletePostResponse, MiscFacebookEditCommentData, MiscFacebookEditCommentResponse, MiscFacebookEditPostData, MiscFacebookEditPostResponse, MiscFacebookGetRecommendationByIdData, MiscFacebookGetRecommendationByIdResponse, MiscFacebookGetRecommendationCommentsData, MiscFacebookGetRecommendationCommentsResponse, MiscFacebookGetRecommendationImportByIdData, MiscFacebookGetRecommendationImportByIdResponse, MiscFacebookGetRecommendationImportStatusData, MiscFacebookGetRecommendationImportStatusResponse, MiscFacebookGetRecommendationsData, MiscFacebookGetRecommendationsResponse, MiscFacebookGetTokenDebugData, MiscFacebookGetTokenDebugResponse, MiscFacebookImportRecommendationsData, MiscFacebookImportRecommendationsResponse, MiscFacebookReplyToRecommendationCommentData, MiscFacebookReplyToRecommendationCommentResponse, MiscFacebookReplyToRecommendationData, MiscFacebookReplyToRecommendationResponse, MiscGoogleBusinessAddMediaData, MiscGoogleBusinessAddMediaResponse, MiscGoogleBusinessCreatePlaceActionLinkData, MiscGoogleBusinessCreatePlaceActionLinkResponse, MiscGoogleBusinessDeleteMediaData, MiscGoogleBusinessDeleteMediaResponse, MiscGoogleBusinessDeletePlaceActionLinkData, MiscGoogleBusinessDeletePlaceActionLinkResponse, MiscGoogleBusinessDeletePostData, MiscGoogleBusinessDeletePostResponse, MiscGoogleBusinessDeleteReviewReplyData, MiscGoogleBusinessDeleteReviewReplyResponse, MiscGoogleBusinessGetAttributesData, MiscGoogleBusinessGetAttributesResponse, MiscGoogleBusinessGetFoodMenusData, MiscGoogleBusinessGetFoodMenusResponse, MiscGoogleBusinessGetLocationData, MiscGoogleBusinessGetLocationResponse, MiscGoogleBusinessGetReviewByIdData, MiscGoogleBusinessGetReviewByIdResponse, MiscGoogleBusinessGetReviewImportByIdData, MiscGoogleBusinessGetReviewImportByIdResponse, MiscGoogleBusinessGetReviewImportStatusData, MiscGoogleBusinessGetReviewImportStatusResponse, MiscGoogleBusinessGetReviewsData, MiscGoogleBusinessGetReviewsResponse, MiscGoogleBusinessGetServiceListData, MiscGoogleBusinessGetServiceListResponse, MiscGoogleBusinessImportReviewsData, MiscGoogleBusinessImportReviewsResponse, MiscGoogleBusinessListAvailableAttributesData, MiscGoogleBusinessListAvailableAttributesResponse, MiscGoogleBusinessListCategoriesData, MiscGoogleBusinessListCategoriesResponse, MiscGoogleBusinessListMediaData, MiscGoogleBusinessListMediaResponse, MiscGoogleBusinessListPlaceActionLinksData, MiscGoogleBusinessListPlaceActionLinksResponse, MiscGoogleBusinessReplyToReviewData, MiscGoogleBusinessReplyToReviewResponse, MiscGoogleBusinessUpdateAttributesData, MiscGoogleBusinessUpdateAttributesResponse, MiscGoogleBusinessUpdateFoodMenusData, MiscGoogleBusinessUpdateFoodMenusResponse, MiscGoogleBusinessUpdateHoursData, MiscGoogleBusinessUpdateHoursResponse, MiscGoogleBusinessUpdateLocationData, MiscGoogleBusinessUpdateLocationResponse, MiscGoogleBusinessUpdatePlaceActionLinkData, MiscGoogleBusinessUpdatePlaceActionLinkResponse, MiscGoogleBusinessUpdateServiceListData, MiscGoogleBusinessUpdateServiceListResponse, MiscInstagramBusinessDiscoveryData, MiscInstagramBusinessDiscoveryResponse, MiscInstagramDeleteCommentData, MiscInstagramDeleteCommentResponse, MiscInstagramSearchAudioData, MiscInstagramSearchAudioResponse, MiscInstagramSearchLocationsData, MiscInstagramSearchLocationsResponse, MiscLinkedinBuildCommentaryData, MiscLinkedinBuildCommentaryResponse, MiscLinkedinDeleteCommentData, MiscLinkedinDeleteCommentResponse, MiscLinkedinDeletePostData, MiscLinkedinDeletePostResponse, MiscLinkedinEditCommentData, MiscLinkedinEditCommentResponse, MiscLinkedinEditPostData, MiscLinkedinEditPostResponse, MiscLinkedinGetTagsData, MiscLinkedinGetTagsResponse, MiscMastodonDeleteCommentData, MiscMastodonDeleteCommentResponse, MiscMastodonDeleteStatusData, MiscMastodonDeleteStatusResponse, MiscMastodonEditCommentData, MiscMastodonEditCommentResponse, MiscMastodonEditStatusData, MiscMastodonEditStatusResponse, MiscPinterestDeletePinData, MiscPinterestDeletePinResponse, MiscPinterestEditPinData, MiscPinterestEditPinResponse, MiscRedditDeleteCommentData, MiscRedditDeleteCommentResponse, MiscRedditDeletePostData, MiscRedditDeletePostResponse, MiscRedditEditCommentData, MiscRedditEditCommentResponse, MiscRedditEditPostData, MiscRedditEditPostResponse, MiscRedditGetPostRequirementsData, MiscRedditGetPostRequirementsResponse, MiscRedditGetSubredditFlairsData, MiscRedditGetSubredditFlairsResponse, MiscSlackDeleteMessageData, MiscSlackDeleteMessageResponse, MiscSlackEditMessageData, MiscSlackEditMessageResponse, MiscTiktokDeleteCommentData, MiscTiktokDeleteCommentResponse, MiscTiktokGetCommercialMusicTrendingListData, MiscTiktokGetCommercialMusicTrendingListResponse, MiscTwitterDeleteTweetData, MiscTwitterDeleteTweetResponse, MiscYoutubeAddVideoToPlaylistData, MiscYoutubeAddVideoToPlaylistResponse, MiscYoutubeCreateNewChannelPlaylistData, MiscYoutubeCreateNewChannelPlaylistResponse, MiscYoutubeDeleteChannelPlaylistData, MiscYoutubeDeleteChannelPlaylistResponse, MiscYoutubeDeleteCommentData, MiscYoutubeDeleteCommentResponse, MiscYoutubeDeleteVideoData, MiscYoutubeDeleteVideoFromPlaylistData, MiscYoutubeDeleteVideoFromPlaylistResponse, MiscYoutubeDeleteVideoResponse, MiscYoutubeEditCommentData, MiscYoutubeEditCommentResponse, MiscYoutubeEditVideoData, MiscYoutubeEditVideoResponse, MiscYoutubeGetChannelPlaylistData, MiscYoutubeGetChannelPlaylistResponse, MiscYoutubeGetRegionsData, MiscYoutubeGetRegionsResponse, MiscYoutubeGetVideoCategoriesData, MiscYoutubeGetVideoCategoriesResponse, MiscYoutubeGetVideosFromPlaylistData, MiscYoutubeGetVideosFromPlaylistResponse, MiscYoutubeSetThumbnailData, MiscYoutubeSetThumbnailResponse, MiscYoutubeUpdateChannelPlaylistData, MiscYoutubeUpdateChannelPlaylistResponse, OpenAPI, OpenAPIConfig, OrganizationGetCommentsUsageResponse, OrganizationGetImportsUsageData, OrganizationGetImportsUsageResponse, OrganizationGetOrganizationResponse, OrganizationGetPostsUsageResponse, OrganizationGetUploadsUsageResponse, PostCreateData, PostCreateResponse, PostCsvCreateData, PostCsvCreateResponse, PostCsvGetByIdData, PostCsvGetByIdResponse, PostCsvGetListData, PostCsvGetListResponse, PostCsvGetRowsData, PostCsvGetRowsResponse, PostCsvGetStatusData, PostCsvGetStatusResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetReconnectSocialAccountCandidatesData, PostGetReconnectSocialAccountCandidatesResponse, PostGetResponse, PostImportCreateData, PostImportCreateResponse, PostImportDeleteImportedPostsData, PostImportDeleteImportedPostsResponse, PostImportGetByIdData, PostImportGetByIdResponse, PostImportGetImportedPostsData, PostImportGetImportedPostsResponse, PostImportGetStatusData, PostImportGetStatusResponse, PostImportRetryImportData, PostImportRetryImportResponse, PostReconnectSocialAccountData, PostReconnectSocialAccountResponse, PostRetryData, PostRetryResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountConnectionCheckData, SocialAccountConnectionCheckResponse, SocialAccountCopyData, SocialAccountCopyResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountGetAccountsToDeleteData, SocialAccountGetAccountsToDeleteResponse, SocialAccountGetByTypeData, SocialAccountGetByTypeResponse, SocialAccountProfileRefreshData, SocialAccountProfileRefreshResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, SocialAccountUnsetChannelData, SocialAccountUnsetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetListData, TeamGetListResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateFromUrlData, UploadCreateFromUrlResponse, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadFinalizeLargeUploadData, UploadFinalizeLargeUploadResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, UploadInitLargeUploadData, UploadInitLargeUploadResponse, WebhookEvent, WebhookEventType, webhookEventTypes };
32540
+ export { $OpenApiTs, AnalyticsForcePostAnalyticsData, AnalyticsForcePostAnalyticsResponse, AnalyticsForceSocialAccountAnalyticsData, AnalyticsForceSocialAccountAnalyticsResponse, AnalyticsGetBulkPostAnalyticsData, AnalyticsGetBulkPostAnalyticsResponse, AnalyticsGetPostAnalyticsData, AnalyticsGetPostAnalyticsRawData, AnalyticsGetPostAnalyticsRawResponse, AnalyticsGetPostAnalyticsResponse, AnalyticsGetSocialAccountAnalyticsData, AnalyticsGetSocialAccountAnalyticsRawData, AnalyticsGetSocialAccountAnalyticsRawResponse, AnalyticsGetSocialAccountAnalyticsResponse, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, CommentCreateData, CommentCreateResponse, CommentDeleteData, CommentDeleteResponse, CommentGetData, CommentGetListData, CommentGetListResponse, CommentGetResponse, CommentImportActionFetchedCommentData, CommentImportActionFetchedCommentResponse, CommentImportCreateData, CommentImportCreateResponse, CommentImportGetByIdData, CommentImportGetByIdResponse, CommentImportGetFetchedCommentsData, CommentImportGetFetchedCommentsResponse, CommentImportGetListData, CommentImportGetListResponse, CommentRetryData, CommentRetryResponse, CommentUpdateData, CommentUpdateResponse, MiscBlueskyDeleteCommentData, MiscBlueskyDeleteCommentResponse, MiscBlueskyDeletePostData, MiscBlueskyDeletePostResponse, MiscDiscordDeleteMessageData, MiscDiscordDeleteMessageResponse, MiscFacebookDeleteCommentData, MiscFacebookDeleteCommentResponse, MiscFacebookDeletePostData, MiscFacebookDeletePostResponse, MiscFacebookEditCommentData, MiscFacebookEditCommentResponse, MiscFacebookEditPostData, MiscFacebookEditPostResponse, MiscFacebookGetRecommendationByIdData, MiscFacebookGetRecommendationByIdResponse, MiscFacebookGetRecommendationCommentsData, MiscFacebookGetRecommendationCommentsResponse, MiscFacebookGetRecommendationImportByIdData, MiscFacebookGetRecommendationImportByIdResponse, MiscFacebookGetRecommendationImportStatusData, MiscFacebookGetRecommendationImportStatusResponse, MiscFacebookGetRecommendationsData, MiscFacebookGetRecommendationsResponse, MiscFacebookGetTokenDebugData, MiscFacebookGetTokenDebugResponse, MiscFacebookImportRecommendationsData, MiscFacebookImportRecommendationsResponse, MiscFacebookReplyToRecommendationCommentData, MiscFacebookReplyToRecommendationCommentResponse, MiscFacebookReplyToRecommendationData, MiscFacebookReplyToRecommendationResponse, MiscGoogleBusinessAddMediaData, MiscGoogleBusinessAddMediaResponse, MiscGoogleBusinessCreatePlaceActionLinkData, MiscGoogleBusinessCreatePlaceActionLinkResponse, MiscGoogleBusinessDeleteMediaData, MiscGoogleBusinessDeleteMediaResponse, MiscGoogleBusinessDeletePlaceActionLinkData, MiscGoogleBusinessDeletePlaceActionLinkResponse, MiscGoogleBusinessDeletePostData, MiscGoogleBusinessDeletePostResponse, MiscGoogleBusinessDeleteReviewReplyData, MiscGoogleBusinessDeleteReviewReplyResponse, MiscGoogleBusinessGetAttributesData, MiscGoogleBusinessGetAttributesResponse, MiscGoogleBusinessGetFoodMenusData, MiscGoogleBusinessGetFoodMenusResponse, MiscGoogleBusinessGetLocationData, MiscGoogleBusinessGetLocationResponse, MiscGoogleBusinessGetReviewByIdData, MiscGoogleBusinessGetReviewByIdResponse, MiscGoogleBusinessGetReviewImportByIdData, MiscGoogleBusinessGetReviewImportByIdResponse, MiscGoogleBusinessGetReviewImportStatusData, MiscGoogleBusinessGetReviewImportStatusResponse, MiscGoogleBusinessGetReviewsData, MiscGoogleBusinessGetReviewsResponse, MiscGoogleBusinessGetServiceListData, MiscGoogleBusinessGetServiceListResponse, MiscGoogleBusinessImportReviewsData, MiscGoogleBusinessImportReviewsResponse, MiscGoogleBusinessListAvailableAttributesData, MiscGoogleBusinessListAvailableAttributesResponse, MiscGoogleBusinessListCategoriesData, MiscGoogleBusinessListCategoriesResponse, MiscGoogleBusinessListMediaData, MiscGoogleBusinessListMediaResponse, MiscGoogleBusinessListPlaceActionLinksData, MiscGoogleBusinessListPlaceActionLinksResponse, MiscGoogleBusinessReplyToReviewData, MiscGoogleBusinessReplyToReviewResponse, MiscGoogleBusinessUpdateAttributesData, MiscGoogleBusinessUpdateAttributesResponse, MiscGoogleBusinessUpdateFoodMenusData, MiscGoogleBusinessUpdateFoodMenusResponse, MiscGoogleBusinessUpdateHoursData, MiscGoogleBusinessUpdateHoursResponse, MiscGoogleBusinessUpdateLocationData, MiscGoogleBusinessUpdateLocationResponse, MiscGoogleBusinessUpdatePlaceActionLinkData, MiscGoogleBusinessUpdatePlaceActionLinkResponse, MiscGoogleBusinessUpdateServiceListData, MiscGoogleBusinessUpdateServiceListResponse, MiscInstagramBusinessDiscoveryData, MiscInstagramBusinessDiscoveryResponse, MiscInstagramDeleteCommentData, MiscInstagramDeleteCommentResponse, MiscInstagramSearchAudioData, MiscInstagramSearchAudioResponse, MiscInstagramSearchLocationsData, MiscInstagramSearchLocationsResponse, MiscLinkedinBuildCommentaryData, MiscLinkedinBuildCommentaryResponse, MiscLinkedinDeleteCommentData, MiscLinkedinDeleteCommentResponse, MiscLinkedinDeletePostData, MiscLinkedinDeletePostResponse, MiscLinkedinEditCommentData, MiscLinkedinEditCommentResponse, MiscLinkedinEditPostData, MiscLinkedinEditPostResponse, MiscLinkedinGetTagsData, MiscLinkedinGetTagsResponse, MiscMastodonDeleteCommentData, MiscMastodonDeleteCommentResponse, MiscMastodonDeleteStatusData, MiscMastodonDeleteStatusResponse, MiscMastodonEditCommentData, MiscMastodonEditCommentResponse, MiscMastodonEditStatusData, MiscMastodonEditStatusResponse, MiscPinterestDeletePinData, MiscPinterestDeletePinResponse, MiscPinterestEditPinData, MiscPinterestEditPinResponse, MiscRedditDeleteCommentData, MiscRedditDeleteCommentResponse, MiscRedditDeletePostData, MiscRedditDeletePostResponse, MiscRedditEditCommentData, MiscRedditEditCommentResponse, MiscRedditEditPostData, MiscRedditEditPostResponse, MiscRedditGetPostRequirementsData, MiscRedditGetPostRequirementsResponse, MiscRedditGetSubredditFlairsData, MiscRedditGetSubredditFlairsResponse, MiscSlackDeleteMessageData, MiscSlackDeleteMessageResponse, MiscSlackEditMessageData, MiscSlackEditMessageResponse, MiscTiktokDeleteCommentData, MiscTiktokDeleteCommentResponse, MiscTiktokGetCommercialMusicTrendingListData, MiscTiktokGetCommercialMusicTrendingListResponse, MiscTwitterDeleteTweetData, MiscTwitterDeleteTweetResponse, MiscYoutubeAddVideoToPlaylistData, MiscYoutubeAddVideoToPlaylistResponse, MiscYoutubeCreateNewChannelPlaylistData, MiscYoutubeCreateNewChannelPlaylistResponse, MiscYoutubeDeleteChannelPlaylistData, MiscYoutubeDeleteChannelPlaylistResponse, MiscYoutubeDeleteCommentData, MiscYoutubeDeleteCommentResponse, MiscYoutubeDeleteVideoData, MiscYoutubeDeleteVideoFromPlaylistData, MiscYoutubeDeleteVideoFromPlaylistResponse, MiscYoutubeDeleteVideoResponse, MiscYoutubeEditCommentData, MiscYoutubeEditCommentResponse, MiscYoutubeEditVideoData, MiscYoutubeEditVideoResponse, MiscYoutubeGetChannelPlaylistData, MiscYoutubeGetChannelPlaylistResponse, MiscYoutubeGetRegionsData, MiscYoutubeGetRegionsResponse, MiscYoutubeGetVideoCategoriesData, MiscYoutubeGetVideoCategoriesResponse, MiscYoutubeGetVideosFromPlaylistData, MiscYoutubeGetVideosFromPlaylistResponse, MiscYoutubeSetThumbnailData, MiscYoutubeSetThumbnailResponse, MiscYoutubeUpdateChannelPlaylistData, MiscYoutubeUpdateChannelPlaylistResponse, OpenAPI, OpenAPIConfig, OrganizationGetCommentsUsageResponse, OrganizationGetDailyLimitsUsageData, OrganizationGetDailyLimitsUsageResponse, OrganizationGetImportsUsageData, OrganizationGetImportsUsageResponse, OrganizationGetOrganizationResponse, OrganizationGetPostsUsageResponse, OrganizationGetUploadsUsageResponse, PostCreateData, PostCreateResponse, PostCsvCreateData, PostCsvCreateResponse, PostCsvGetByIdData, PostCsvGetByIdResponse, PostCsvGetListData, PostCsvGetListResponse, PostCsvGetRowsData, PostCsvGetRowsResponse, PostCsvGetStatusData, PostCsvGetStatusResponse, PostDeleteData, PostDeleteResponse, PostGetByReferenceKeyData, PostGetByReferenceKeyResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetReconnectSocialAccountCandidatesData, PostGetReconnectSocialAccountCandidatesResponse, PostGetResponse, PostImportCreateData, PostImportCreateResponse, PostImportDeleteImportedPostsData, PostImportDeleteImportedPostsResponse, PostImportGetByIdData, PostImportGetByIdResponse, PostImportGetImportedPostsData, PostImportGetImportedPostsResponse, PostImportGetStatusData, PostImportGetStatusResponse, PostImportRetryImportData, PostImportRetryImportResponse, PostReconnectSocialAccountData, PostReconnectSocialAccountResponse, PostRetryData, PostRetryResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountConnectionCheckData, SocialAccountConnectionCheckResponse, SocialAccountCopyData, SocialAccountCopyResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountGetAccountsToDeleteData, SocialAccountGetAccountsToDeleteResponse, SocialAccountGetByTypeData, SocialAccountGetByTypeResponse, SocialAccountProfileRefreshData, SocialAccountProfileRefreshResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, SocialAccountUnsetChannelData, SocialAccountUnsetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetListData, TeamGetListResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateFromUrlData, UploadCreateFromUrlResponse, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadFinalizeLargeUploadData, UploadFinalizeLargeUploadResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, UploadInitLargeUploadData, UploadInitLargeUploadResponse, WebhookEvent, WebhookEventType, webhookEventTypes };