bundlesocial 2.54.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
@@ -1516,14 +1516,15 @@ type PostReconnectSocialAccountResponse = {
1516
1516
  message?: string;
1517
1517
  }>;
1518
1518
  };
1519
- type PostGetData = {
1520
- id: string;
1519
+ type PostGetByReferenceKeyData = {
1520
+ referenceKey: string;
1521
1521
  };
1522
- type PostGetResponse = {
1522
+ type PostGetByReferenceKeyResponse = {
1523
1523
  id: string;
1524
1524
  teamId: string;
1525
1525
  organizationId?: string | null;
1526
1526
  title: string;
1527
+ referenceKey?: string | null;
1527
1528
  postDate: string | null;
1528
1529
  postedDate?: string | null;
1529
1530
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -2214,89 +2215,789 @@ type PostGetResponse = {
2214
2215
  };
2215
2216
  }>;
2216
2217
  };
2217
- type PostUpdateData = {
2218
+ type PostGetData = {
2218
2219
  id: string;
2219
- /**
2220
- * Body
2221
- */
2222
- requestBody?: {
2223
- title?: string;
2224
- postDate?: string;
2225
- status?: 'DRAFT' | 'SCHEDULED';
2226
- socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK' | 'BLUESKY' | 'GOOGLE_BUSINESS')>;
2227
- data?: {
2228
- TWITTER?: {
2229
- text?: string | null;
2230
- uploadIds?: Array<(string)> | null;
2231
- 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';
2232
2330
  } | null;
2233
- PINTEREST?: {
2234
- text?: string | null;
2235
- description?: string | null;
2236
- boardName: string;
2237
- uploadIds?: Array<(string)> | null;
2331
+ /**
2332
+ * Information about the Instagram audio asset used for Reels publishing.
2333
+ */
2334
+ musicSoundInfo?: {
2238
2335
  /**
2239
- * The URL to image uploaded on bundle.social.
2336
+ * Use audio_id from Instagram Audio API search endpoint.
2240
2337
  */
2241
- thumbnail?: string | null;
2338
+ musicSoundId: string;
2242
2339
  /**
2243
- * The URL to which the Pin will link to.
2340
+ * Audio volume (0-100).
2244
2341
  */
2245
- link?: string | null;
2342
+ musicSoundVolume?: number | null;
2246
2343
  /**
2247
- * 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).
2248
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;
2249
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?: {
2250
2408
  /**
2251
- * A note about the Pin. This is not visible to the public.
2252
- */
2253
- note?: string | null;
2254
- /**
2255
- * 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).
2256
2410
  */
2257
- dominantColor?: string | null;
2258
- } | null;
2259
- FACEBOOK?: {
2260
- type?: 'POST' | 'REEL' | 'STORY';
2261
- text?: string | null;
2262
- uploadIds?: Array<(string)> | null;
2263
- mediaItems?: Array<{
2264
- uploadId: string;
2265
- altText?: string | null;
2266
- }> | null;
2411
+ musicSoundId: string;
2267
2412
  /**
2268
- * The URL to which the post will link to. Only available for type POST.
2413
+ * Commercial sound volume (0-100).
2269
2414
  */
2270
- link?: string | null;
2415
+ musicSoundVolume?: number | null;
2271
2416
  /**
2272
- * The URL to image uploaded on bundle.social.
2417
+ * Starting point of the commercial sound in milliseconds.
2273
2418
  */
2274
- thumbnail?: string | null;
2419
+ musicSoundStart?: number | null;
2275
2420
  /**
2276
- * 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.
2277
2422
  */
2278
- mediaTitle?: string | null;
2423
+ musicSoundEnd?: number | null;
2279
2424
  /**
2280
- * 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).
2281
2426
  */
2282
- nativeScheduleTime?: string | null;
2427
+ videoOriginalSoundVolume?: number | null;
2283
2428
  } | null;
2284
- INSTAGRAM?: {
2285
- type?: 'POST' | 'REEL' | 'STORY';
2286
- text?: string | null;
2287
- uploadIds?: Array<(string)> | null;
2288
- /**
2289
- * Alternative text for a single image post.
2290
- */
2291
- altText?: string | null;
2292
- /**
2293
- * Choose a frame of the published video as the cover photo in ms
2294
- */
2295
- thumbnailOffset?: number | null;
2296
- /**
2297
- * The URL to image uploaded on bundle.social.
2298
- */
2299
- thumbnail?: 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;
2988
+ uploadIds?: Array<(string)> | null;
2989
+ /**
2990
+ * Alternative text for a single image post.
2991
+ */
2992
+ altText?: string | null;
2993
+ /**
2994
+ * Choose a frame of the published video as the cover photo in ms
2995
+ */
2996
+ thumbnailOffset?: number | null;
2997
+ /**
2998
+ * The URL to image uploaded on bundle.social.
2999
+ */
3000
+ thumbnail?: string | null;
2300
3001
  /**
2301
3002
  * 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.
2302
3003
  */
@@ -2601,6 +3302,7 @@ type PostUpdateResponse = {
2601
3302
  teamId: string;
2602
3303
  organizationId?: string | null;
2603
3304
  title: string;
3305
+ referenceKey?: string | null;
2604
3306
  postDate: string | null;
2605
3307
  postedDate?: string | null;
2606
3308
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -3224,6 +3926,7 @@ type PostDeleteResponse = {
3224
3926
  teamId: string;
3225
3927
  organizationId?: string | null;
3226
3928
  title: string;
3929
+ referenceKey?: string | null;
3227
3930
  postDate: string | null;
3228
3931
  postedDate?: string | null;
3229
3932
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -3857,6 +4560,7 @@ type PostGetListResponse = {
3857
4560
  teamId: string;
3858
4561
  organizationId?: string | null;
3859
4562
  title: string;
4563
+ referenceKey?: string | null;
3860
4564
  postDate: string | null;
3861
4565
  postedDate?: string | null;
3862
4566
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -4556,6 +5260,7 @@ type PostCreateData = {
4556
5260
  requestBody?: {
4557
5261
  teamId: string;
4558
5262
  title: string;
5263
+ referenceKey?: string | null;
4559
5264
  postDate: string;
4560
5265
  status: 'DRAFT' | 'SCHEDULED';
4561
5266
  socialAccountTypes: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK' | 'BLUESKY' | 'GOOGLE_BUSINESS')>;
@@ -4936,6 +5641,7 @@ type PostCreateResponse = {
4936
5641
  teamId: string;
4937
5642
  organizationId?: string | null;
4938
5643
  title: string;
5644
+ referenceKey?: string | null;
4939
5645
  postDate: string | null;
4940
5646
  postedDate?: string | null;
4941
5647
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -5559,6 +6265,7 @@ type PostRetryResponse = {
5559
6265
  teamId: string;
5560
6266
  organizationId?: string | null;
5561
6267
  title: string;
6268
+ referenceKey?: string | null;
5562
6269
  postDate: string | null;
5563
6270
  postedDate?: string | null;
5564
6271
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -6248,6 +6955,7 @@ type AnalyticsGetPostAnalyticsResponse = {
6248
6955
  teamId: string;
6249
6956
  organizationId?: string | null;
6250
6957
  title: string;
6958
+ referenceKey?: string | null;
6251
6959
  postDate: string | null;
6252
6960
  postedDate?: string | null;
6253
6961
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -6970,6 +7678,7 @@ type AnalyticsGetPostAnalyticsRawResponse = {
6970
7678
  teamId: string;
6971
7679
  organizationId?: string | null;
6972
7680
  title: string;
7681
+ referenceKey?: string | null;
6973
7682
  postDate: string | null;
6974
7683
  postedDate?: string | null;
6975
7684
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -14012,10 +14721,169 @@ type $OpenApiTs = {
14012
14721
  };
14013
14722
  };
14014
14723
  };
14015
- };
14016
- '/api/v1/upload/': {
14017
- get: {
14018
- req: UploadGetListData;
14724
+ };
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;
14019
14887
  res: {
14020
14888
  /**
14021
14889
  * 200
@@ -14040,13 +14908,6 @@ type $OpenApiTs = {
14040
14908
  ext?: string | null;
14041
14909
  createdAt: string | null;
14042
14910
  updatedAt: string | null;
14043
- posts: Array<{
14044
- postId: string;
14045
- uploadId: string;
14046
- createdAt: string | null;
14047
- updatedAt: string | null;
14048
- deletedAt?: string | null;
14049
- }>;
14050
14911
  }>;
14051
14912
  /**
14052
14913
  * 400
@@ -14097,8 +14958,10 @@ type $OpenApiTs = {
14097
14958
  };
14098
14959
  };
14099
14960
  };
14100
- post: {
14101
- req: UploadCreateData;
14961
+ };
14962
+ '/api/v1/upload/{id}': {
14963
+ get: {
14964
+ req: UploadGetData;
14102
14965
  res: {
14103
14966
  /**
14104
14967
  * 200
@@ -14123,6 +14986,13 @@ type $OpenApiTs = {
14123
14986
  ext?: string | null;
14124
14987
  createdAt: string | null;
14125
14988
  updatedAt: string | null;
14989
+ posts: Array<{
14990
+ postId: string;
14991
+ uploadId: string;
14992
+ createdAt: string | null;
14993
+ updatedAt: string | null;
14994
+ deletedAt?: string | null;
14995
+ }>;
14126
14996
  };
14127
14997
  /**
14128
14998
  * 400
@@ -14174,12 +15044,12 @@ type $OpenApiTs = {
14174
15044
  };
14175
15045
  };
14176
15046
  delete: {
14177
- req: UploadDeleteManyData;
15047
+ req: UploadDeleteData;
14178
15048
  res: {
14179
15049
  /**
14180
15050
  * 200
14181
15051
  */
14182
- 200: Array<{
15052
+ 200: {
14183
15053
  id: string;
14184
15054
  teamId?: string | null;
14185
15055
  organizationId?: string | null;
@@ -14199,7 +15069,7 @@ type $OpenApiTs = {
14199
15069
  ext?: string | null;
14200
15070
  createdAt: string | null;
14201
15071
  updatedAt: string | null;
14202
- }>;
15072
+ };
14203
15073
  /**
14204
15074
  * 400
14205
15075
  */
@@ -14250,9 +15120,9 @@ type $OpenApiTs = {
14250
15120
  };
14251
15121
  };
14252
15122
  };
14253
- '/api/v1/upload/{id}': {
14254
- get: {
14255
- req: UploadGetData;
15123
+ '/api/v1/upload/from-url': {
15124
+ post: {
15125
+ req: UploadCreateFromUrlData;
14256
15126
  res: {
14257
15127
  /**
14258
15128
  * 200
@@ -14277,13 +15147,6 @@ type $OpenApiTs = {
14277
15147
  ext?: string | null;
14278
15148
  createdAt: string | null;
14279
15149
  updatedAt: string | null;
14280
- posts: Array<{
14281
- postId: string;
14282
- uploadId: string;
14283
- createdAt: string | null;
14284
- updatedAt: string | null;
14285
- deletedAt?: string | null;
14286
- }>;
14287
15150
  };
14288
15151
  /**
14289
15152
  * 400
@@ -14334,32 +15197,17 @@ type $OpenApiTs = {
14334
15197
  };
14335
15198
  };
14336
15199
  };
14337
- delete: {
14338
- req: UploadDeleteData;
15200
+ };
15201
+ '/api/v1/upload/init': {
15202
+ post: {
15203
+ req: UploadInitLargeUploadData;
14339
15204
  res: {
14340
15205
  /**
14341
15206
  * 200
14342
15207
  */
14343
15208
  200: {
14344
- id: string;
14345
- teamId?: string | null;
14346
- organizationId?: string | null;
14347
- iconUrl?: string | null;
14348
- thumbnailUrl?: string | null;
14349
- url?: string | null;
14350
- externalLink?: string | null;
14351
- iconPath?: string | null;
14352
- thumbnailPath?: string | null;
14353
- path?: string | null;
14354
- type: 'image' | 'video' | 'document';
14355
- width?: number | null;
14356
- height?: number | null;
14357
- fileSize?: number | null;
14358
- videoLength?: number | null;
14359
- mime?: string | null;
14360
- ext?: string | null;
14361
- createdAt: string | null;
14362
- updatedAt: string | null;
15209
+ url: string;
15210
+ path: string;
14363
15211
  };
14364
15212
  /**
14365
15213
  * 400
@@ -14411,9 +15259,9 @@ type $OpenApiTs = {
14411
15259
  };
14412
15260
  };
14413
15261
  };
14414
- '/api/v1/upload/from-url': {
15262
+ '/api/v1/upload/finalize': {
14415
15263
  post: {
14416
- req: UploadCreateFromUrlData;
15264
+ req: UploadFinalizeLargeUploadData;
14417
15265
  res: {
14418
15266
  /**
14419
15267
  * 200
@@ -14489,16 +15337,23 @@ type $OpenApiTs = {
14489
15337
  };
14490
15338
  };
14491
15339
  };
14492
- '/api/v1/upload/init': {
14493
- post: {
14494
- req: UploadInitLargeUploadData;
15340
+ '/api/v1/post/reconnect-social-account/candidates': {
15341
+ get: {
15342
+ req: PostGetReconnectSocialAccountCandidatesData;
14495
15343
  res: {
14496
15344
  /**
14497
15345
  * 200
14498
15346
  */
14499
15347
  200: {
14500
- url: string;
14501
- path: string;
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;
14502
15357
  };
14503
15358
  /**
14504
15359
  * 400
@@ -14550,170 +15405,777 @@ type $OpenApiTs = {
14550
15405
  };
14551
15406
  };
14552
15407
  };
14553
- '/api/v1/upload/finalize': {
15408
+ '/api/v1/post/reconnect-social-account': {
14554
15409
  post: {
14555
- req: UploadFinalizeLargeUploadData;
15410
+ req: PostReconnectSocialAccountData;
15411
+ res: {
15412
+ /**
15413
+ * 200
15414
+ */
15415
+ 200: {
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
+ }>;
15427
+ };
15428
+ /**
15429
+ * 400
15430
+ */
15431
+ 400: {
15432
+ statusCode?: number | null;
15433
+ message: string;
15434
+ issues?: Array<{
15435
+ 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;
15436
+ message: string;
15437
+ path?: Array<(string | number)> | null;
15438
+ }> | null;
15439
+ };
15440
+ /**
15441
+ * 401
15442
+ */
15443
+ 401: {
15444
+ statusCode?: number | null;
15445
+ message: string;
15446
+ };
15447
+ /**
15448
+ * 403
15449
+ */
15450
+ 403: {
15451
+ statusCode?: number | null;
15452
+ message: string;
15453
+ };
15454
+ /**
15455
+ * 404
15456
+ */
15457
+ 404: {
15458
+ statusCode?: number | null;
15459
+ message: string;
15460
+ };
15461
+ /**
15462
+ * 429
15463
+ */
15464
+ 429: {
15465
+ statusCode?: number | null;
15466
+ message: string;
15467
+ };
15468
+ /**
15469
+ * 500
15470
+ */
15471
+ 500: {
15472
+ statusCode?: number | null;
15473
+ message: string;
15474
+ };
15475
+ };
15476
+ };
15477
+ };
15478
+ '/api/v1/post/reference-key/{referenceKey}': {
15479
+ get: {
15480
+ req: PostGetByReferenceKeyData;
14556
15481
  res: {
14557
15482
  /**
14558
15483
  * 200
14559
15484
  */
14560
15485
  200: {
14561
15486
  id: string;
14562
- teamId?: string | null;
15487
+ teamId: string;
14563
15488
  organizationId?: string | null;
14564
- iconUrl?: string | null;
14565
- thumbnailUrl?: string | null;
14566
- url?: string | null;
14567
- externalLink?: string | null;
14568
- iconPath?: string | null;
14569
- thumbnailPath?: string | null;
14570
- path?: string | null;
14571
- type: 'image' | 'video' | 'document';
14572
- width?: number | null;
14573
- height?: number | null;
14574
- fileSize?: number | null;
14575
- videoLength?: number | null;
14576
- mime?: string | null;
14577
- 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;
14578
16102
  createdAt: string | null;
14579
16103
  updatedAt: string | null;
14580
- };
14581
- /**
14582
- * 400
14583
- */
14584
- 400: {
14585
- statusCode?: number | null;
14586
- message: string;
14587
- issues?: Array<{
14588
- 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;
14589
- message: string;
14590
- path?: Array<(string | number)> | null;
14591
- }> | null;
14592
- };
14593
- /**
14594
- * 401
14595
- */
14596
- 401: {
14597
- statusCode?: number | null;
14598
- message: string;
14599
- };
14600
- /**
14601
- * 403
14602
- */
14603
- 403: {
14604
- statusCode?: number | null;
14605
- message: string;
14606
- };
14607
- /**
14608
- * 404
14609
- */
14610
- 404: {
14611
- statusCode?: number | null;
14612
- message: string;
14613
- };
14614
- /**
14615
- * 429
14616
- */
14617
- 429: {
14618
- statusCode?: number | null;
14619
- message: string;
14620
- };
14621
- /**
14622
- * 500
14623
- */
14624
- 500: {
14625
- statusCode?: number | null;
14626
- message: string;
14627
- };
14628
- };
14629
- };
14630
- };
14631
- '/api/v1/post/reconnect-social-account/candidates': {
14632
- get: {
14633
- req: PostGetReconnectSocialAccountCandidatesData;
14634
- res: {
14635
- /**
14636
- * 200
14637
- */
14638
- 200: {
14639
- items: Array<{
14640
- id: string;
14641
- title: string;
14642
- postDate: string | null;
14643
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
16104
+ deletedAt?: string | null;
16105
+ uploads: Array<{
16106
+ postId: string;
16107
+ uploadId: string;
14644
16108
  createdAt: string | null;
14645
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
+ };
14646
16132
  }>;
14647
- total: number;
14648
- };
14649
- /**
14650
- * 400
14651
- */
14652
- 400: {
14653
- statusCode?: number | null;
14654
- message: string;
14655
- issues?: Array<{
14656
- 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;
14657
- message: string;
14658
- path?: Array<(string | number)> | null;
14659
- }> | null;
14660
- };
14661
- /**
14662
- * 401
14663
- */
14664
- 401: {
14665
- statusCode?: number | null;
14666
- message: string;
14667
- };
14668
- /**
14669
- * 403
14670
- */
14671
- 403: {
14672
- statusCode?: number | null;
14673
- message: string;
14674
- };
14675
- /**
14676
- * 404
14677
- */
14678
- 404: {
14679
- statusCode?: number | null;
14680
- message: string;
14681
- };
14682
- /**
14683
- * 429
14684
- */
14685
- 429: {
14686
- statusCode?: number | null;
14687
- message: string;
14688
- };
14689
- /**
14690
- * 500
14691
- */
14692
- 500: {
14693
- statusCode?: number | null;
14694
- message: string;
14695
- };
14696
- };
14697
- };
14698
- };
14699
- '/api/v1/post/reconnect-social-account': {
14700
- post: {
14701
- req: PostReconnectSocialAccountData;
14702
- res: {
14703
- /**
14704
- * 200
14705
- */
14706
- 200: {
14707
- total: number;
14708
- succeeded: number;
14709
- failed: number;
14710
- results: Array<{
16133
+ socialAccounts: Array<{
14711
16134
  postId: string;
14712
- title?: string | null;
14713
- success: boolean;
14714
- statusBefore?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
14715
- statusAfter?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
14716
- 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
+ };
14717
16179
  }>;
14718
16180
  };
14719
16181
  /**
@@ -14778,6 +16240,7 @@ type $OpenApiTs = {
14778
16240
  teamId: string;
14779
16241
  organizationId?: string | null;
14780
16242
  title: string;
16243
+ referenceKey?: string | null;
14781
16244
  postDate: string | null;
14782
16245
  postedDate?: string | null;
14783
16246
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -15528,6 +16991,7 @@ type $OpenApiTs = {
15528
16991
  teamId: string;
15529
16992
  organizationId?: string | null;
15530
16993
  title: string;
16994
+ referenceKey?: string | null;
15531
16995
  postDate: string | null;
15532
16996
  postedDate?: string | null;
15533
16997
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -16176,6 +17640,13 @@ type $OpenApiTs = {
16176
17640
  statusCode?: number | null;
16177
17641
  message: string;
16178
17642
  };
17643
+ /**
17644
+ * 409
17645
+ */
17646
+ 409: {
17647
+ statusCode?: number | null;
17648
+ message: string;
17649
+ };
16179
17650
  /**
16180
17651
  * 429
16181
17652
  */
@@ -16203,6 +17674,7 @@ type $OpenApiTs = {
16203
17674
  teamId: string;
16204
17675
  organizationId?: string | null;
16205
17676
  title: string;
17677
+ referenceKey?: string | null;
16206
17678
  postDate: string | null;
16207
17679
  postedDate?: string | null;
16208
17680
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -16881,6 +18353,7 @@ type $OpenApiTs = {
16881
18353
  teamId: string;
16882
18354
  organizationId?: string | null;
16883
18355
  title: string;
18356
+ referenceKey?: string | null;
16884
18357
  postDate: string | null;
16885
18358
  postedDate?: string | null;
16886
18359
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -17633,6 +19106,7 @@ type $OpenApiTs = {
17633
19106
  teamId: string;
17634
19107
  organizationId?: string | null;
17635
19108
  title: string;
19109
+ referenceKey?: string | null;
17636
19110
  postDate: string | null;
17637
19111
  postedDate?: string | null;
17638
19112
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -18281,6 +19755,13 @@ type $OpenApiTs = {
18281
19755
  statusCode?: number | null;
18282
19756
  message: string;
18283
19757
  };
19758
+ /**
19759
+ * 409
19760
+ */
19761
+ 409: {
19762
+ statusCode?: number | null;
19763
+ message: string;
19764
+ };
18284
19765
  /**
18285
19766
  * 429
18286
19767
  */
@@ -18310,6 +19791,7 @@ type $OpenApiTs = {
18310
19791
  teamId: string;
18311
19792
  organizationId?: string | null;
18312
19793
  title: string;
19794
+ referenceKey?: string | null;
18313
19795
  postDate: string | null;
18314
19796
  postedDate?: string | null;
18315
19797
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -19104,6 +20586,7 @@ type $OpenApiTs = {
19104
20586
  teamId: string;
19105
20587
  organizationId?: string | null;
19106
20588
  title: string;
20589
+ referenceKey?: string | null;
19107
20590
  postDate: string | null;
19108
20591
  postedDate?: string | null;
19109
20592
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -19931,6 +21414,7 @@ type $OpenApiTs = {
19931
21414
  teamId: string;
19932
21415
  organizationId?: string | null;
19933
21416
  title: string;
21417
+ referenceKey?: string | null;
19934
21418
  postDate: string | null;
19935
21419
  postedDate?: string | null;
19936
21420
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | 'RETRYING';
@@ -29857,6 +31341,14 @@ declare class PostService {
29857
31341
  * @throws ApiError
29858
31342
  */
29859
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>;
29860
31352
  /**
29861
31353
  * Get post
29862
31354
  * @param data The data for the request.
@@ -31045,4 +32537,4 @@ declare class Bundlesocial extends Client {
31045
32537
  constructor(apiKey: string, options?: OpenAPIConfig);
31046
32538
  }
31047
32539
 
31048
- 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, 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 };