bundlesocial 2.7.0 → 2.8.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.ts CHANGED
@@ -2262,157 +2262,390 @@ type PostCreateResponse = {
2262
2262
  updatedAt: string | null;
2263
2263
  deletedAt?: string | null;
2264
2264
  };
2265
- type CommentGetData = {
2266
- id: string;
2265
+ type AnalyticsGetProfileAnalyticsData = {
2266
+ platformType: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'REDDIT' | 'PINTEREST' | 'MASTODON';
2267
+ teamId: string;
2267
2268
  };
2268
- type CommentGetResponse = {
2269
+ type AnalyticsGetProfileAnalyticsResponse = Array<{
2269
2270
  id: string;
2271
+ socialAccountId: string;
2272
+ impressions: number;
2273
+ impressionsUnique: number;
2274
+ views: number;
2275
+ viewsUnique: number;
2276
+ likes: number;
2277
+ comments: number;
2278
+ postCount: number;
2279
+ followers: number;
2280
+ following: number;
2281
+ raw?: unknown;
2282
+ createdAt: string | null;
2283
+ updatedAt: string | null;
2284
+ deletedAt?: string | null;
2285
+ }>;
2286
+ type AnalyticsGetProfilePostsData = {
2287
+ platformType: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'REDDIT' | 'PINTEREST' | 'MASTODON';
2270
2288
  teamId: string;
2271
- internalPostId: string;
2272
- internalParentCommentId?: string | null;
2273
- text: string;
2274
- postDate: string | null;
2275
- postedDate?: string | null;
2276
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
2277
- data: {
2278
- FACEBOOK?: {
2279
- text?: string | null;
2280
- } | null;
2281
- INSTAGRAM?: {
2282
- text?: string | null;
2283
- } | null;
2284
- THREADS?: {
2285
- text?: string | null;
2286
- } | null;
2287
- TIKTOK?: {
2288
- text?: string | null;
2289
- } | null;
2290
- LINKEDIN?: {
2291
- text: string;
2292
- } | null;
2293
- YOUTUBE?: {
2294
- text?: string | null;
2295
- } | null;
2296
- REDDIT?: {
2297
- text: string;
2298
- } | null;
2299
- MASTODON?: {
2300
- text?: string | null;
2301
- } | null;
2302
- DISCORD?: {
2303
- text?: string | null;
2304
- } | null;
2305
- SLACK?: {
2306
- text?: string | null;
2307
- } | null;
2308
- };
2309
- error?: string | null;
2310
- errors?: {
2311
- FACEBOOK?: string | null;
2312
- INSTAGRAM?: string | null;
2313
- TIKTOK?: string | null;
2314
- LINKEDIN?: string | null;
2315
- REDDIT?: string | null;
2316
- YOUTUBE?: string | null;
2317
- MASTODON?: string | null;
2318
- THREADS?: string | null;
2319
- DISCORD?: string | null;
2320
- SLACK?: string | null;
2321
- } | null;
2322
- externalData?: {
2323
- FACEBOOK?: {
2324
- id?: string | null;
2325
- permalink?: string | null;
2326
- } | null;
2327
- INSTAGRAM?: {
2328
- id?: string | null;
2329
- permalink?: string | null;
2330
- } | null;
2331
- TIKTOK?: {
2332
- id?: string | null;
2333
- permalink?: string | null;
2334
- } | null;
2335
- LINKEDIN?: {
2336
- id?: string | null;
2337
- commentUrn?: string | null;
2338
- permalink?: string | null;
2339
- } | null;
2340
- REDDIT?: {
2341
- id?: string | null;
2342
- permalink?: string | null;
2343
- } | null;
2344
- YOUTUBE?: {
2345
- id?: string | null;
2346
- permalink?: string | null;
2347
- } | null;
2348
- MASTODON?: {
2349
- id?: string | null;
2350
- permalink?: string | null;
2351
- } | null;
2352
- THREADS?: {
2353
- id?: string | null;
2354
- permalink?: string | null;
2355
- } | null;
2356
- DISCORD?: {
2357
- id?: string | null;
2358
- permalink?: string | null;
2359
- } | null;
2360
- SLACK?: {
2361
- id?: string | null;
2362
- permalink?: string | null;
2363
- } | null;
2364
- } | null;
2289
+ };
2290
+ type AnalyticsGetProfilePostsResponse = Array<{
2291
+ id: string;
2292
+ socialAccountId: string;
2293
+ postId?: string | null;
2294
+ externalId?: string | null;
2295
+ title?: string | null;
2296
+ description?: string | null;
2297
+ smallThumbnail?: string | null;
2298
+ thumbnail?: string | null;
2299
+ permalink?: string | null;
2300
+ subreddit?: string | null;
2301
+ publishedAt?: string | null;
2302
+ type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
2303
+ init: boolean;
2365
2304
  createdAt: string | null;
2366
2305
  updatedAt: string | null;
2367
2306
  deletedAt?: string | null;
2307
+ }>;
2308
+ type AnalyticsGetProfilePostData = {
2309
+ id: string;
2368
2310
  };
2369
- type CommentUpdateData = {
2311
+ type AnalyticsGetProfilePostResponse = {
2370
2312
  id: string;
2371
- /**
2372
- * Body
2373
- */
2374
- requestBody?: {
2375
- text?: string;
2376
- internalPostId?: string;
2377
- internalParentCommentId?: string | null;
2378
- postDate?: string;
2379
- status?: 'DRAFT' | 'SCHEDULED';
2380
- socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
2381
- data?: {
2313
+ socialAccountId: string;
2314
+ postId?: string | null;
2315
+ externalId?: string | null;
2316
+ title?: string | null;
2317
+ description?: string | null;
2318
+ smallThumbnail?: string | null;
2319
+ thumbnail?: string | null;
2320
+ permalink?: string | null;
2321
+ subreddit?: string | null;
2322
+ publishedAt?: string | null;
2323
+ type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
2324
+ init: boolean;
2325
+ createdAt: string | null;
2326
+ updatedAt: string | null;
2327
+ deletedAt?: string | null;
2328
+ analytics: Array<{
2329
+ id: string;
2330
+ profilePostId: string;
2331
+ impressions: number;
2332
+ impressionsUnique: number;
2333
+ views: number;
2334
+ viewsUnique: number;
2335
+ likes: number;
2336
+ dislikes: number;
2337
+ comments: number;
2338
+ shares: number;
2339
+ saves: number;
2340
+ raw?: unknown;
2341
+ createdAt: string | null;
2342
+ updatedAt: string | null;
2343
+ deletedAt?: string | null;
2344
+ }>;
2345
+ socialAccount: {
2346
+ id: string;
2347
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
2348
+ teamId: string;
2349
+ username?: string | null;
2350
+ displayName?: string | null;
2351
+ externalId?: string | null;
2352
+ userUsername?: string | null;
2353
+ userDisplayName?: string | null;
2354
+ userId?: string | null;
2355
+ channels?: Array<{
2356
+ id: string;
2357
+ name?: string | null;
2358
+ username?: string | null;
2359
+ webhook?: {
2360
+ id?: string | null;
2361
+ name?: string | null;
2362
+ avatar?: string | null;
2363
+ url?: string | null;
2364
+ } | null;
2365
+ }> | null;
2366
+ createdAt: string | null;
2367
+ updatedAt: string | null;
2368
+ deletedAt?: string | null;
2369
+ };
2370
+ post?: {
2371
+ id: string;
2372
+ teamId: string;
2373
+ title: string;
2374
+ postDate: string | null;
2375
+ postedDate?: string | null;
2376
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
2377
+ data: {
2378
+ TWITTER?: {
2379
+ text?: string | null;
2380
+ uploadIds?: Array<(string)> | null;
2381
+ } | null;
2382
+ PINTEREST?: {
2383
+ text?: string | null;
2384
+ description?: string | null;
2385
+ boardName: string;
2386
+ uploadIds?: Array<(string)> | null;
2387
+ /**
2388
+ * The URL to which the Pin will link to.
2389
+ */
2390
+ link?: string | null;
2391
+ /**
2392
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
2393
+ */
2394
+ altText?: string | null;
2395
+ /**
2396
+ * A note about the Pin. This is not visible to the public.
2397
+ */
2398
+ note?: string | null;
2399
+ /**
2400
+ * The dominant color of the image. This is used to display the image before it's loaded.
2401
+ */
2402
+ dominantColor?: string | null;
2403
+ } | null;
2382
2404
  FACEBOOK?: {
2405
+ type?: 'POST' | 'REEL' | 'STORY';
2383
2406
  text?: string | null;
2407
+ uploadIds?: Array<(string)> | null;
2384
2408
  } | null;
2385
2409
  INSTAGRAM?: {
2410
+ type?: 'POST' | 'REEL' | 'STORY';
2386
2411
  text?: string | null;
2412
+ uploadIds?: Array<(string)> | null;
2387
2413
  } | null;
2388
2414
  THREADS?: {
2389
2415
  text?: string | null;
2416
+ uploadIds?: Array<(string)> | null;
2390
2417
  } | null;
2391
2418
  TIKTOK?: {
2419
+ type?: 'VIDEO' | 'IMAGE';
2392
2420
  text?: string | null;
2421
+ uploadIds?: Array<(string)> | null;
2422
+ privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
2423
+ /**
2424
+ * Set to true if the video is a paid partnership to promote a third-party business.
2425
+ */
2426
+ isBrandContent?: boolean | null;
2427
+ /**
2428
+ * Set to true if this video is promoting the creator's own business.
2429
+ */
2430
+ isOrganicBrandContent?: boolean | null;
2431
+ /**
2432
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
2433
+ */
2434
+ disableComments?: boolean | null;
2435
+ /**
2436
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
2437
+ */
2438
+ disableDuet?: boolean | null;
2439
+ /**
2440
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
2441
+ */
2442
+ disableStitch?: boolean | null;
2443
+ /**
2444
+ * Choose a frame of the published video as the cover photo in ms
2445
+ */
2446
+ thumbnailOffset?: number | null;
2447
+ /**
2448
+ * Set to true if this video is AI generated.
2449
+ */
2450
+ isAiGenerated?: boolean | null;
2393
2451
  } | null;
2394
2452
  LINKEDIN?: {
2395
2453
  text: string;
2454
+ uploadIds?: Array<(string)> | null;
2455
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
2456
+ /**
2457
+ * Set to true if the post shouldn't be displayed in the main feed.
2458
+ */
2459
+ hideFromFeed?: boolean | null;
2460
+ /**
2461
+ * Set to true if the post is not allowed to be reshared.
2462
+ */
2463
+ disableReshare?: boolean | null;
2396
2464
  } | null;
2397
2465
  YOUTUBE?: {
2466
+ type?: 'VIDEO' | 'SHORT';
2467
+ uploadIds?: Array<(string)> | null;
2398
2468
  text?: string | null;
2469
+ description?: string | null;
2470
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
2471
+ /**
2472
+ * Set to true if the video is made for kids.
2473
+ */
2474
+ madeForKids?: boolean | null;
2399
2475
  } | null;
2400
2476
  REDDIT?: {
2477
+ /**
2478
+ * Subreddit name. Example: r/subredditName or u/username
2479
+ */
2480
+ sr: string;
2401
2481
  text: string;
2402
- } | null;
2403
- MASTODON?: {
2404
- text?: string | null;
2482
+ description?: string | null;
2483
+ uploadIds?: Array<(string)> | null;
2484
+ /**
2485
+ * The URL to which the post will link to.
2486
+ */
2487
+ link?: string | null;
2488
+ /**
2489
+ * Set to true if the post is NSFW.
2490
+ */
2491
+ nsfw?: boolean | null;
2405
2492
  } | null;
2406
2493
  DISCORD?: {
2494
+ channelId: string;
2407
2495
  text?: string | null;
2496
+ uploadIds?: Array<(string)> | null;
2497
+ /**
2498
+ * The username to display as the author of the message.
2499
+ */
2500
+ username?: string | null;
2501
+ /**
2502
+ * Avatar url to display as the author of the message.
2503
+ */
2504
+ avatarUrl?: string | null;
2408
2505
  } | null;
2409
2506
  SLACK?: {
2507
+ channelId: string;
2508
+ text?: string | null;
2509
+ uploadIds?: Array<(string)> | null;
2510
+ /**
2511
+ * The username to display as the author of the message.
2512
+ */
2513
+ username?: string | null;
2514
+ /**
2515
+ * Avatar url to display as the author of the message.
2516
+ */
2517
+ avatarUrl?: string | null;
2518
+ } | null;
2519
+ MASTODON?: {
2410
2520
  text?: string | null;
2521
+ uploadIds?: Array<(string)> | null;
2522
+ privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
2523
+ spoiler?: string | null;
2411
2524
  } | null;
2412
2525
  };
2413
- };
2526
+ error?: string | null;
2527
+ errors?: {
2528
+ TWITTER?: string | null;
2529
+ PINTEREST?: string | null;
2530
+ FACEBOOK?: string | null;
2531
+ INSTAGRAM?: string | null;
2532
+ TIKTOK?: string | null;
2533
+ LINKEDIN?: string | null;
2534
+ REDDIT?: string | null;
2535
+ DISCORD?: string | null;
2536
+ SLACK?: string | null;
2537
+ YOUTUBE?: string | null;
2538
+ MASTODON?: string | null;
2539
+ THREADS?: string | null;
2540
+ } | null;
2541
+ externalData?: {
2542
+ TWITTER?: {
2543
+ id?: string | null;
2544
+ permalink?: string | null;
2545
+ } | null;
2546
+ PINTEREST?: {
2547
+ id?: string | null;
2548
+ permalink?: string | null;
2549
+ } | null;
2550
+ FACEBOOK?: {
2551
+ id?: string | null;
2552
+ postId?: string | null;
2553
+ videoId?: string | null;
2554
+ permalink?: string | null;
2555
+ } | null;
2556
+ INSTAGRAM?: {
2557
+ id?: string | null;
2558
+ permalink?: string | null;
2559
+ } | null;
2560
+ TIKTOK?: {
2561
+ id?: string | null;
2562
+ permalink?: string | null;
2563
+ } | null;
2564
+ LINKEDIN?: {
2565
+ id?: string | null;
2566
+ activity?: string | null;
2567
+ permalink?: string | null;
2568
+ } | null;
2569
+ REDDIT?: {
2570
+ id?: string | null;
2571
+ permalink?: string | null;
2572
+ subreddit_name?: string | null;
2573
+ } | null;
2574
+ DISCORD?: {
2575
+ id?: string | null;
2576
+ permalink?: string | null;
2577
+ channelId?: string | null;
2578
+ } | null;
2579
+ SLACK?: {
2580
+ id?: string | null;
2581
+ permalink?: string | null;
2582
+ channelId?: string | null;
2583
+ } | null;
2584
+ YOUTUBE?: {
2585
+ id?: string | null;
2586
+ permalink?: string | null;
2587
+ } | null;
2588
+ MASTODON?: {
2589
+ id?: string | null;
2590
+ permalink?: string | null;
2591
+ } | null;
2592
+ THREADS?: {
2593
+ id?: string | null;
2594
+ permalink?: string | null;
2595
+ } | null;
2596
+ } | null;
2597
+ createdAt: string | null;
2598
+ updatedAt: string | null;
2599
+ deletedAt?: string | null;
2600
+ profilePosts: Array<{
2601
+ id: string;
2602
+ socialAccountId: string;
2603
+ postId?: string | null;
2604
+ externalId?: string | null;
2605
+ title?: string | null;
2606
+ description?: string | null;
2607
+ smallThumbnail?: string | null;
2608
+ thumbnail?: string | null;
2609
+ permalink?: string | null;
2610
+ subreddit?: string | null;
2611
+ publishedAt?: string | null;
2612
+ type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
2613
+ init: boolean;
2614
+ createdAt: string | null;
2615
+ updatedAt: string | null;
2616
+ deletedAt?: string | null;
2617
+ socialAccount: {
2618
+ id: string;
2619
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
2620
+ teamId: string;
2621
+ username?: string | null;
2622
+ displayName?: string | null;
2623
+ externalId?: string | null;
2624
+ userUsername?: string | null;
2625
+ userDisplayName?: string | null;
2626
+ userId?: string | null;
2627
+ channels?: Array<{
2628
+ id: string;
2629
+ name?: string | null;
2630
+ username?: string | null;
2631
+ webhook?: {
2632
+ id?: string | null;
2633
+ name?: string | null;
2634
+ avatar?: string | null;
2635
+ url?: string | null;
2636
+ } | null;
2637
+ }> | null;
2638
+ createdAt: string | null;
2639
+ updatedAt: string | null;
2640
+ deletedAt?: string | null;
2641
+ };
2642
+ }>;
2643
+ } | null;
2414
2644
  };
2415
- type CommentUpdateResponse = {
2645
+ type CommentGetData = {
2646
+ id: string;
2647
+ };
2648
+ type CommentGetResponse = {
2416
2649
  id: string;
2417
2650
  teamId: string;
2418
2651
  internalPostId: string;
@@ -2513,10 +2746,53 @@ type CommentUpdateResponse = {
2513
2746
  updatedAt: string | null;
2514
2747
  deletedAt?: string | null;
2515
2748
  };
2516
- type CommentDeleteData = {
2749
+ type CommentUpdateData = {
2517
2750
  id: string;
2751
+ /**
2752
+ * Body
2753
+ */
2754
+ requestBody?: {
2755
+ text?: string;
2756
+ internalPostId?: string;
2757
+ internalParentCommentId?: string | null;
2758
+ postDate?: string;
2759
+ status?: 'DRAFT' | 'SCHEDULED';
2760
+ socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
2761
+ data?: {
2762
+ FACEBOOK?: {
2763
+ text?: string | null;
2764
+ } | null;
2765
+ INSTAGRAM?: {
2766
+ text?: string | null;
2767
+ } | null;
2768
+ THREADS?: {
2769
+ text?: string | null;
2770
+ } | null;
2771
+ TIKTOK?: {
2772
+ text?: string | null;
2773
+ } | null;
2774
+ LINKEDIN?: {
2775
+ text: string;
2776
+ } | null;
2777
+ YOUTUBE?: {
2778
+ text?: string | null;
2779
+ } | null;
2780
+ REDDIT?: {
2781
+ text: string;
2782
+ } | null;
2783
+ MASTODON?: {
2784
+ text?: string | null;
2785
+ } | null;
2786
+ DISCORD?: {
2787
+ text?: string | null;
2788
+ } | null;
2789
+ SLACK?: {
2790
+ text?: string | null;
2791
+ } | null;
2792
+ };
2793
+ };
2518
2794
  };
2519
- type CommentDeleteResponse = {
2795
+ type CommentUpdateResponse = {
2520
2796
  id: string;
2521
2797
  teamId: string;
2522
2798
  internalPostId: string;
@@ -2617,72 +2893,176 @@ type CommentDeleteResponse = {
2617
2893
  updatedAt: string | null;
2618
2894
  deletedAt?: string | null;
2619
2895
  };
2620
- type CommentGetListData = {
2621
- limit?: number | null;
2622
- offset?: number | null;
2623
- order?: 'ASC' | 'DESC';
2624
- orderBy?: 'createdAt' | 'updatedAt' | 'deletedAt';
2625
- platforms?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
2626
- q?: string;
2627
- status?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
2628
- teamId: string;
2896
+ type CommentDeleteData = {
2897
+ id: string;
2629
2898
  };
2630
- type CommentGetListResponse = {
2631
- items: Array<{
2632
- id: string;
2633
- teamId: string;
2634
- internalPostId: string;
2635
- internalParentCommentId?: string | null;
2636
- text: string;
2637
- postDate: string | null;
2638
- postedDate?: string | null;
2639
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
2640
- data: {
2641
- FACEBOOK?: {
2642
- text?: string | null;
2643
- } | null;
2644
- INSTAGRAM?: {
2645
- text?: string | null;
2646
- } | null;
2647
- THREADS?: {
2648
- text?: string | null;
2649
- } | null;
2650
- TIKTOK?: {
2651
- text?: string | null;
2652
- } | null;
2653
- LINKEDIN?: {
2654
- text: string;
2655
- } | null;
2656
- YOUTUBE?: {
2657
- text?: string | null;
2658
- } | null;
2659
- REDDIT?: {
2660
- text: string;
2661
- } | null;
2662
- MASTODON?: {
2663
- text?: string | null;
2664
- } | null;
2665
- DISCORD?: {
2666
- text?: string | null;
2667
- } | null;
2668
- SLACK?: {
2669
- text?: string | null;
2670
- } | null;
2671
- };
2672
- error?: string | null;
2673
- errors?: {
2674
- FACEBOOK?: string | null;
2675
- INSTAGRAM?: string | null;
2676
- TIKTOK?: string | null;
2677
- LINKEDIN?: string | null;
2678
- REDDIT?: string | null;
2679
- YOUTUBE?: string | null;
2680
- MASTODON?: string | null;
2681
- THREADS?: string | null;
2682
- DISCORD?: string | null;
2683
- SLACK?: string | null;
2684
- } | null;
2685
- externalData?: {
2899
+ type CommentDeleteResponse = {
2900
+ id: string;
2901
+ teamId: string;
2902
+ internalPostId: string;
2903
+ internalParentCommentId?: string | null;
2904
+ text: string;
2905
+ postDate: string | null;
2906
+ postedDate?: string | null;
2907
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
2908
+ data: {
2909
+ FACEBOOK?: {
2910
+ text?: string | null;
2911
+ } | null;
2912
+ INSTAGRAM?: {
2913
+ text?: string | null;
2914
+ } | null;
2915
+ THREADS?: {
2916
+ text?: string | null;
2917
+ } | null;
2918
+ TIKTOK?: {
2919
+ text?: string | null;
2920
+ } | null;
2921
+ LINKEDIN?: {
2922
+ text: string;
2923
+ } | null;
2924
+ YOUTUBE?: {
2925
+ text?: string | null;
2926
+ } | null;
2927
+ REDDIT?: {
2928
+ text: string;
2929
+ } | null;
2930
+ MASTODON?: {
2931
+ text?: string | null;
2932
+ } | null;
2933
+ DISCORD?: {
2934
+ text?: string | null;
2935
+ } | null;
2936
+ SLACK?: {
2937
+ text?: string | null;
2938
+ } | null;
2939
+ };
2940
+ error?: string | null;
2941
+ errors?: {
2942
+ FACEBOOK?: string | null;
2943
+ INSTAGRAM?: string | null;
2944
+ TIKTOK?: string | null;
2945
+ LINKEDIN?: string | null;
2946
+ REDDIT?: string | null;
2947
+ YOUTUBE?: string | null;
2948
+ MASTODON?: string | null;
2949
+ THREADS?: string | null;
2950
+ DISCORD?: string | null;
2951
+ SLACK?: string | null;
2952
+ } | null;
2953
+ externalData?: {
2954
+ FACEBOOK?: {
2955
+ id?: string | null;
2956
+ permalink?: string | null;
2957
+ } | null;
2958
+ INSTAGRAM?: {
2959
+ id?: string | null;
2960
+ permalink?: string | null;
2961
+ } | null;
2962
+ TIKTOK?: {
2963
+ id?: string | null;
2964
+ permalink?: string | null;
2965
+ } | null;
2966
+ LINKEDIN?: {
2967
+ id?: string | null;
2968
+ commentUrn?: string | null;
2969
+ permalink?: string | null;
2970
+ } | null;
2971
+ REDDIT?: {
2972
+ id?: string | null;
2973
+ permalink?: string | null;
2974
+ } | null;
2975
+ YOUTUBE?: {
2976
+ id?: string | null;
2977
+ permalink?: string | null;
2978
+ } | null;
2979
+ MASTODON?: {
2980
+ id?: string | null;
2981
+ permalink?: string | null;
2982
+ } | null;
2983
+ THREADS?: {
2984
+ id?: string | null;
2985
+ permalink?: string | null;
2986
+ } | null;
2987
+ DISCORD?: {
2988
+ id?: string | null;
2989
+ permalink?: string | null;
2990
+ } | null;
2991
+ SLACK?: {
2992
+ id?: string | null;
2993
+ permalink?: string | null;
2994
+ } | null;
2995
+ } | null;
2996
+ createdAt: string | null;
2997
+ updatedAt: string | null;
2998
+ deletedAt?: string | null;
2999
+ };
3000
+ type CommentGetListData = {
3001
+ limit?: number | null;
3002
+ offset?: number | null;
3003
+ order?: 'ASC' | 'DESC';
3004
+ orderBy?: 'createdAt' | 'updatedAt' | 'deletedAt';
3005
+ platforms?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
3006
+ q?: string;
3007
+ status?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
3008
+ teamId: string;
3009
+ };
3010
+ type CommentGetListResponse = {
3011
+ items: Array<{
3012
+ id: string;
3013
+ teamId: string;
3014
+ internalPostId: string;
3015
+ internalParentCommentId?: string | null;
3016
+ text: string;
3017
+ postDate: string | null;
3018
+ postedDate?: string | null;
3019
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
3020
+ data: {
3021
+ FACEBOOK?: {
3022
+ text?: string | null;
3023
+ } | null;
3024
+ INSTAGRAM?: {
3025
+ text?: string | null;
3026
+ } | null;
3027
+ THREADS?: {
3028
+ text?: string | null;
3029
+ } | null;
3030
+ TIKTOK?: {
3031
+ text?: string | null;
3032
+ } | null;
3033
+ LINKEDIN?: {
3034
+ text: string;
3035
+ } | null;
3036
+ YOUTUBE?: {
3037
+ text?: string | null;
3038
+ } | null;
3039
+ REDDIT?: {
3040
+ text: string;
3041
+ } | null;
3042
+ MASTODON?: {
3043
+ text?: string | null;
3044
+ } | null;
3045
+ DISCORD?: {
3046
+ text?: string | null;
3047
+ } | null;
3048
+ SLACK?: {
3049
+ text?: string | null;
3050
+ } | null;
3051
+ };
3052
+ error?: string | null;
3053
+ errors?: {
3054
+ FACEBOOK?: string | null;
3055
+ INSTAGRAM?: string | null;
3056
+ TIKTOK?: string | null;
3057
+ LINKEDIN?: string | null;
3058
+ REDDIT?: string | null;
3059
+ YOUTUBE?: string | null;
3060
+ MASTODON?: string | null;
3061
+ THREADS?: string | null;
3062
+ DISCORD?: string | null;
3063
+ SLACK?: string | null;
3064
+ } | null;
3065
+ externalData?: {
2686
3066
  FACEBOOK?: {
2687
3067
  id?: string | null;
2688
3068
  permalink?: string | null;
@@ -5560,60 +5940,579 @@ type $OpenApiTs = {
5560
5940
  id?: string | null;
5561
5941
  permalink?: string | null;
5562
5942
  } | null;
5563
- PINTEREST?: {
5564
- id?: string | null;
5565
- permalink?: string | null;
5943
+ PINTEREST?: {
5944
+ id?: string | null;
5945
+ permalink?: string | null;
5946
+ } | null;
5947
+ FACEBOOK?: {
5948
+ id?: string | null;
5949
+ postId?: string | null;
5950
+ videoId?: string | null;
5951
+ permalink?: string | null;
5952
+ } | null;
5953
+ INSTAGRAM?: {
5954
+ id?: string | null;
5955
+ permalink?: string | null;
5956
+ } | null;
5957
+ TIKTOK?: {
5958
+ id?: string | null;
5959
+ permalink?: string | null;
5960
+ } | null;
5961
+ LINKEDIN?: {
5962
+ id?: string | null;
5963
+ activity?: string | null;
5964
+ permalink?: string | null;
5965
+ } | null;
5966
+ REDDIT?: {
5967
+ id?: string | null;
5968
+ permalink?: string | null;
5969
+ subreddit_name?: string | null;
5970
+ } | null;
5971
+ DISCORD?: {
5972
+ id?: string | null;
5973
+ permalink?: string | null;
5974
+ channelId?: string | null;
5975
+ } | null;
5976
+ SLACK?: {
5977
+ id?: string | null;
5978
+ permalink?: string | null;
5979
+ channelId?: string | null;
5980
+ } | null;
5981
+ YOUTUBE?: {
5982
+ id?: string | null;
5983
+ permalink?: string | null;
5984
+ } | null;
5985
+ MASTODON?: {
5986
+ id?: string | null;
5987
+ permalink?: string | null;
5988
+ } | null;
5989
+ THREADS?: {
5990
+ id?: string | null;
5991
+ permalink?: string | null;
5992
+ } | null;
5993
+ } | null;
5994
+ createdAt: string | null;
5995
+ updatedAt: string | null;
5996
+ deletedAt?: string | null;
5997
+ };
5998
+ /**
5999
+ * 400
6000
+ */
6001
+ 400: {
6002
+ message: string;
6003
+ issues?: Array<{
6004
+ message: string;
6005
+ path?: Array<(string | number)> | null;
6006
+ }> | null;
6007
+ };
6008
+ /**
6009
+ * 401
6010
+ */
6011
+ 401: {
6012
+ message: string;
6013
+ };
6014
+ /**
6015
+ * 403
6016
+ */
6017
+ 403: {
6018
+ message: string;
6019
+ };
6020
+ /**
6021
+ * 404
6022
+ */
6023
+ 404: {
6024
+ message: string;
6025
+ };
6026
+ /**
6027
+ * 429
6028
+ */
6029
+ 429: {
6030
+ message: string;
6031
+ };
6032
+ /**
6033
+ * 500
6034
+ */
6035
+ 500: {
6036
+ message: string;
6037
+ };
6038
+ };
6039
+ };
6040
+ };
6041
+ '/api/v1/analytics/profile': {
6042
+ get: {
6043
+ req: AnalyticsGetProfileAnalyticsData;
6044
+ res: {
6045
+ /**
6046
+ * 200
6047
+ */
6048
+ 200: Array<{
6049
+ id: string;
6050
+ socialAccountId: string;
6051
+ impressions: number;
6052
+ impressionsUnique: number;
6053
+ views: number;
6054
+ viewsUnique: number;
6055
+ likes: number;
6056
+ comments: number;
6057
+ postCount: number;
6058
+ followers: number;
6059
+ following: number;
6060
+ raw?: unknown;
6061
+ createdAt: string | null;
6062
+ updatedAt: string | null;
6063
+ deletedAt?: string | null;
6064
+ }>;
6065
+ /**
6066
+ * 400
6067
+ */
6068
+ 400: {
6069
+ message: string;
6070
+ issues?: Array<{
6071
+ message: string;
6072
+ path?: Array<(string | number)> | null;
6073
+ }> | null;
6074
+ };
6075
+ /**
6076
+ * 401
6077
+ */
6078
+ 401: {
6079
+ message: string;
6080
+ };
6081
+ /**
6082
+ * 403
6083
+ */
6084
+ 403: {
6085
+ message: string;
6086
+ };
6087
+ /**
6088
+ * 404
6089
+ */
6090
+ 404: {
6091
+ message: string;
6092
+ };
6093
+ /**
6094
+ * 429
6095
+ */
6096
+ 429: {
6097
+ message: string;
6098
+ };
6099
+ /**
6100
+ * 500
6101
+ */
6102
+ 500: {
6103
+ message: string;
6104
+ };
6105
+ };
6106
+ };
6107
+ };
6108
+ '/api/v1/analytics/profile-post': {
6109
+ get: {
6110
+ req: AnalyticsGetProfilePostsData;
6111
+ res: {
6112
+ /**
6113
+ * 200
6114
+ */
6115
+ 200: Array<{
6116
+ id: string;
6117
+ socialAccountId: string;
6118
+ postId?: string | null;
6119
+ externalId?: string | null;
6120
+ title?: string | null;
6121
+ description?: string | null;
6122
+ smallThumbnail?: string | null;
6123
+ thumbnail?: string | null;
6124
+ permalink?: string | null;
6125
+ subreddit?: string | null;
6126
+ publishedAt?: string | null;
6127
+ type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
6128
+ init: boolean;
6129
+ createdAt: string | null;
6130
+ updatedAt: string | null;
6131
+ deletedAt?: string | null;
6132
+ }>;
6133
+ /**
6134
+ * 400
6135
+ */
6136
+ 400: {
6137
+ message: string;
6138
+ issues?: Array<{
6139
+ message: string;
6140
+ path?: Array<(string | number)> | null;
6141
+ }> | null;
6142
+ };
6143
+ /**
6144
+ * 401
6145
+ */
6146
+ 401: {
6147
+ message: string;
6148
+ };
6149
+ /**
6150
+ * 403
6151
+ */
6152
+ 403: {
6153
+ message: string;
6154
+ };
6155
+ /**
6156
+ * 404
6157
+ */
6158
+ 404: {
6159
+ message: string;
6160
+ };
6161
+ /**
6162
+ * 429
6163
+ */
6164
+ 429: {
6165
+ message: string;
6166
+ };
6167
+ /**
6168
+ * 500
6169
+ */
6170
+ 500: {
6171
+ message: string;
6172
+ };
6173
+ };
6174
+ };
6175
+ };
6176
+ '/api/v1/analytics/profile-post/{id}': {
6177
+ get: {
6178
+ req: AnalyticsGetProfilePostData;
6179
+ res: {
6180
+ /**
6181
+ * 200
6182
+ */
6183
+ 200: {
6184
+ id: string;
6185
+ socialAccountId: string;
6186
+ postId?: string | null;
6187
+ externalId?: string | null;
6188
+ title?: string | null;
6189
+ description?: string | null;
6190
+ smallThumbnail?: string | null;
6191
+ thumbnail?: string | null;
6192
+ permalink?: string | null;
6193
+ subreddit?: string | null;
6194
+ publishedAt?: string | null;
6195
+ type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
6196
+ init: boolean;
6197
+ createdAt: string | null;
6198
+ updatedAt: string | null;
6199
+ deletedAt?: string | null;
6200
+ analytics: Array<{
6201
+ id: string;
6202
+ profilePostId: string;
6203
+ impressions: number;
6204
+ impressionsUnique: number;
6205
+ views: number;
6206
+ viewsUnique: number;
6207
+ likes: number;
6208
+ dislikes: number;
6209
+ comments: number;
6210
+ shares: number;
6211
+ saves: number;
6212
+ raw?: unknown;
6213
+ createdAt: string | null;
6214
+ updatedAt: string | null;
6215
+ deletedAt?: string | null;
6216
+ }>;
6217
+ socialAccount: {
6218
+ id: string;
6219
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
6220
+ teamId: string;
6221
+ username?: string | null;
6222
+ displayName?: string | null;
6223
+ externalId?: string | null;
6224
+ userUsername?: string | null;
6225
+ userDisplayName?: string | null;
6226
+ userId?: string | null;
6227
+ channels?: Array<{
6228
+ id: string;
6229
+ name?: string | null;
6230
+ username?: string | null;
6231
+ webhook?: {
6232
+ id?: string | null;
6233
+ name?: string | null;
6234
+ avatar?: string | null;
6235
+ url?: string | null;
6236
+ } | null;
6237
+ }> | null;
6238
+ createdAt: string | null;
6239
+ updatedAt: string | null;
6240
+ deletedAt?: string | null;
6241
+ };
6242
+ post?: {
6243
+ id: string;
6244
+ teamId: string;
6245
+ title: string;
6246
+ postDate: string | null;
6247
+ postedDate?: string | null;
6248
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
6249
+ data: {
6250
+ TWITTER?: {
6251
+ text?: string | null;
6252
+ uploadIds?: Array<(string)> | null;
6253
+ } | null;
6254
+ PINTEREST?: {
6255
+ text?: string | null;
6256
+ description?: string | null;
6257
+ boardName: string;
6258
+ uploadIds?: Array<(string)> | null;
6259
+ /**
6260
+ * The URL to which the Pin will link to.
6261
+ */
6262
+ link?: string | null;
6263
+ /**
6264
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
6265
+ */
6266
+ altText?: string | null;
6267
+ /**
6268
+ * A note about the Pin. This is not visible to the public.
6269
+ */
6270
+ note?: string | null;
6271
+ /**
6272
+ * The dominant color of the image. This is used to display the image before it's loaded.
6273
+ */
6274
+ dominantColor?: string | null;
6275
+ } | null;
6276
+ FACEBOOK?: {
6277
+ type?: 'POST' | 'REEL' | 'STORY';
6278
+ text?: string | null;
6279
+ uploadIds?: Array<(string)> | null;
6280
+ } | null;
6281
+ INSTAGRAM?: {
6282
+ type?: 'POST' | 'REEL' | 'STORY';
6283
+ text?: string | null;
6284
+ uploadIds?: Array<(string)> | null;
6285
+ } | null;
6286
+ THREADS?: {
6287
+ text?: string | null;
6288
+ uploadIds?: Array<(string)> | null;
6289
+ } | null;
6290
+ TIKTOK?: {
6291
+ type?: 'VIDEO' | 'IMAGE';
6292
+ text?: string | null;
6293
+ uploadIds?: Array<(string)> | null;
6294
+ privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
6295
+ /**
6296
+ * Set to true if the video is a paid partnership to promote a third-party business.
6297
+ */
6298
+ isBrandContent?: boolean | null;
6299
+ /**
6300
+ * Set to true if this video is promoting the creator's own business.
6301
+ */
6302
+ isOrganicBrandContent?: boolean | null;
6303
+ /**
6304
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
6305
+ */
6306
+ disableComments?: boolean | null;
6307
+ /**
6308
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
6309
+ */
6310
+ disableDuet?: boolean | null;
6311
+ /**
6312
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
6313
+ */
6314
+ disableStitch?: boolean | null;
6315
+ /**
6316
+ * Choose a frame of the published video as the cover photo in ms
6317
+ */
6318
+ thumbnailOffset?: number | null;
6319
+ /**
6320
+ * Set to true if this video is AI generated.
6321
+ */
6322
+ isAiGenerated?: boolean | null;
6323
+ } | null;
6324
+ LINKEDIN?: {
6325
+ text: string;
6326
+ uploadIds?: Array<(string)> | null;
6327
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
6328
+ /**
6329
+ * Set to true if the post shouldn't be displayed in the main feed.
6330
+ */
6331
+ hideFromFeed?: boolean | null;
6332
+ /**
6333
+ * Set to true if the post is not allowed to be reshared.
6334
+ */
6335
+ disableReshare?: boolean | null;
6336
+ } | null;
6337
+ YOUTUBE?: {
6338
+ type?: 'VIDEO' | 'SHORT';
6339
+ uploadIds?: Array<(string)> | null;
6340
+ text?: string | null;
6341
+ description?: string | null;
6342
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
6343
+ /**
6344
+ * Set to true if the video is made for kids.
6345
+ */
6346
+ madeForKids?: boolean | null;
6347
+ } | null;
6348
+ REDDIT?: {
6349
+ /**
6350
+ * Subreddit name. Example: r/subredditName or u/username
6351
+ */
6352
+ sr: string;
6353
+ text: string;
6354
+ description?: string | null;
6355
+ uploadIds?: Array<(string)> | null;
6356
+ /**
6357
+ * The URL to which the post will link to.
6358
+ */
6359
+ link?: string | null;
6360
+ /**
6361
+ * Set to true if the post is NSFW.
6362
+ */
6363
+ nsfw?: boolean | null;
6364
+ } | null;
6365
+ DISCORD?: {
6366
+ channelId: string;
6367
+ text?: string | null;
6368
+ uploadIds?: Array<(string)> | null;
6369
+ /**
6370
+ * The username to display as the author of the message.
6371
+ */
6372
+ username?: string | null;
6373
+ /**
6374
+ * Avatar url to display as the author of the message.
6375
+ */
6376
+ avatarUrl?: string | null;
6377
+ } | null;
6378
+ SLACK?: {
6379
+ channelId: string;
6380
+ text?: string | null;
6381
+ uploadIds?: Array<(string)> | null;
6382
+ /**
6383
+ * The username to display as the author of the message.
6384
+ */
6385
+ username?: string | null;
6386
+ /**
6387
+ * Avatar url to display as the author of the message.
6388
+ */
6389
+ avatarUrl?: string | null;
6390
+ } | null;
6391
+ MASTODON?: {
6392
+ text?: string | null;
6393
+ uploadIds?: Array<(string)> | null;
6394
+ privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
6395
+ spoiler?: string | null;
6396
+ } | null;
6397
+ };
6398
+ error?: string | null;
6399
+ errors?: {
6400
+ TWITTER?: string | null;
6401
+ PINTEREST?: string | null;
6402
+ FACEBOOK?: string | null;
6403
+ INSTAGRAM?: string | null;
6404
+ TIKTOK?: string | null;
6405
+ LINKEDIN?: string | null;
6406
+ REDDIT?: string | null;
6407
+ DISCORD?: string | null;
6408
+ SLACK?: string | null;
6409
+ YOUTUBE?: string | null;
6410
+ MASTODON?: string | null;
6411
+ THREADS?: string | null;
6412
+ } | null;
6413
+ externalData?: {
6414
+ TWITTER?: {
6415
+ id?: string | null;
6416
+ permalink?: string | null;
6417
+ } | null;
6418
+ PINTEREST?: {
6419
+ id?: string | null;
6420
+ permalink?: string | null;
6421
+ } | null;
6422
+ FACEBOOK?: {
6423
+ id?: string | null;
6424
+ postId?: string | null;
6425
+ videoId?: string | null;
6426
+ permalink?: string | null;
6427
+ } | null;
6428
+ INSTAGRAM?: {
6429
+ id?: string | null;
6430
+ permalink?: string | null;
6431
+ } | null;
6432
+ TIKTOK?: {
6433
+ id?: string | null;
6434
+ permalink?: string | null;
6435
+ } | null;
6436
+ LINKEDIN?: {
6437
+ id?: string | null;
6438
+ activity?: string | null;
6439
+ permalink?: string | null;
6440
+ } | null;
6441
+ REDDIT?: {
6442
+ id?: string | null;
6443
+ permalink?: string | null;
6444
+ subreddit_name?: string | null;
6445
+ } | null;
6446
+ DISCORD?: {
6447
+ id?: string | null;
6448
+ permalink?: string | null;
6449
+ channelId?: string | null;
6450
+ } | null;
6451
+ SLACK?: {
6452
+ id?: string | null;
6453
+ permalink?: string | null;
6454
+ channelId?: string | null;
6455
+ } | null;
6456
+ YOUTUBE?: {
6457
+ id?: string | null;
6458
+ permalink?: string | null;
6459
+ } | null;
6460
+ MASTODON?: {
6461
+ id?: string | null;
6462
+ permalink?: string | null;
6463
+ } | null;
6464
+ THREADS?: {
6465
+ id?: string | null;
6466
+ permalink?: string | null;
6467
+ } | null;
5566
6468
  } | null;
5567
- FACEBOOK?: {
5568
- id?: string | null;
6469
+ createdAt: string | null;
6470
+ updatedAt: string | null;
6471
+ deletedAt?: string | null;
6472
+ profilePosts: Array<{
6473
+ id: string;
6474
+ socialAccountId: string;
5569
6475
  postId?: string | null;
5570
- videoId?: string | null;
5571
- permalink?: string | null;
5572
- } | null;
5573
- INSTAGRAM?: {
5574
- id?: string | null;
5575
- permalink?: string | null;
5576
- } | null;
5577
- TIKTOK?: {
5578
- id?: string | null;
5579
- permalink?: string | null;
5580
- } | null;
5581
- LINKEDIN?: {
5582
- id?: string | null;
5583
- activity?: string | null;
5584
- permalink?: string | null;
5585
- } | null;
5586
- REDDIT?: {
5587
- id?: string | null;
5588
- permalink?: string | null;
5589
- subreddit_name?: string | null;
5590
- } | null;
5591
- DISCORD?: {
5592
- id?: string | null;
5593
- permalink?: string | null;
5594
- channelId?: string | null;
5595
- } | null;
5596
- SLACK?: {
5597
- id?: string | null;
5598
- permalink?: string | null;
5599
- channelId?: string | null;
5600
- } | null;
5601
- YOUTUBE?: {
5602
- id?: string | null;
5603
- permalink?: string | null;
5604
- } | null;
5605
- MASTODON?: {
5606
- id?: string | null;
5607
- permalink?: string | null;
5608
- } | null;
5609
- THREADS?: {
5610
- id?: string | null;
6476
+ externalId?: string | null;
6477
+ title?: string | null;
6478
+ description?: string | null;
6479
+ smallThumbnail?: string | null;
6480
+ thumbnail?: string | null;
5611
6481
  permalink?: string | null;
5612
- } | null;
6482
+ subreddit?: string | null;
6483
+ publishedAt?: string | null;
6484
+ type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
6485
+ init: boolean;
6486
+ createdAt: string | null;
6487
+ updatedAt: string | null;
6488
+ deletedAt?: string | null;
6489
+ socialAccount: {
6490
+ id: string;
6491
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
6492
+ teamId: string;
6493
+ username?: string | null;
6494
+ displayName?: string | null;
6495
+ externalId?: string | null;
6496
+ userUsername?: string | null;
6497
+ userDisplayName?: string | null;
6498
+ userId?: string | null;
6499
+ channels?: Array<{
6500
+ id: string;
6501
+ name?: string | null;
6502
+ username?: string | null;
6503
+ webhook?: {
6504
+ id?: string | null;
6505
+ name?: string | null;
6506
+ avatar?: string | null;
6507
+ url?: string | null;
6508
+ } | null;
6509
+ }> | null;
6510
+ createdAt: string | null;
6511
+ updatedAt: string | null;
6512
+ deletedAt?: string | null;
6513
+ };
6514
+ }>;
5613
6515
  } | null;
5614
- createdAt: string | null;
5615
- updatedAt: string | null;
5616
- deletedAt?: string | null;
5617
6516
  };
5618
6517
  /**
5619
6518
  * 400
@@ -6615,6 +7514,36 @@ declare class PostService {
6615
7514
  */
6616
7515
  postCreate(data?: PostCreateData): CancelablePromise<PostCreateResponse>;
6617
7516
  }
7517
+ declare class AnalyticsService {
7518
+ readonly httpRequest: BaseHttpRequest;
7519
+ constructor(httpRequest: BaseHttpRequest);
7520
+ /**
7521
+ * Get Profile Analytics
7522
+ * @param data The data for the request.
7523
+ * @param data.teamId
7524
+ * @param data.platformType
7525
+ * @returns unknown 200
7526
+ * @throws ApiError
7527
+ */
7528
+ analyticsGetProfileAnalytics(data: AnalyticsGetProfileAnalyticsData): CancelablePromise<AnalyticsGetProfileAnalyticsResponse>;
7529
+ /**
7530
+ * Get Profile Posts
7531
+ * @param data The data for the request.
7532
+ * @param data.teamId
7533
+ * @param data.platformType
7534
+ * @returns unknown 200
7535
+ * @throws ApiError
7536
+ */
7537
+ analyticsGetProfilePosts(data: AnalyticsGetProfilePostsData): CancelablePromise<AnalyticsGetProfilePostsResponse>;
7538
+ /**
7539
+ * Get Profile Post
7540
+ * @param data The data for the request.
7541
+ * @param data.id
7542
+ * @returns unknown 200
7543
+ * @throws ApiError
7544
+ */
7545
+ analyticsGetProfilePost(data: AnalyticsGetProfilePostData): CancelablePromise<AnalyticsGetProfilePostResponse>;
7546
+ }
6618
7547
  declare class CommentService {
6619
7548
  readonly httpRequest: BaseHttpRequest;
6620
7549
  constructor(httpRequest: BaseHttpRequest);
@@ -6670,6 +7599,7 @@ declare class CommentService {
6670
7599
 
6671
7600
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
6672
7601
  declare class Client {
7602
+ readonly analytics: AnalyticsService;
6673
7603
  readonly app: AppService;
6674
7604
  readonly comment: CommentService;
6675
7605
  readonly organization: OrganizationService;
@@ -6727,4 +7657,4 @@ declare class Bundlesocial extends Client {
6727
7657
  constructor(apiKey: string, options?: OpenAPIConfig);
6728
7658
  }
6729
7659
 
6730
- export { $OpenApiTs, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, CommentCreateData, CommentCreateResponse, CommentDeleteData, CommentDeleteResponse, CommentGetData, CommentGetListData, CommentGetListResponse, CommentGetResponse, CommentUpdateData, CommentUpdateResponse, OpenAPI, OpenAPIConfig, OrganizationGetOrganizationResponse, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, WebhookEvent, WebhookEventType };
7660
+ export { $OpenApiTs, AnalyticsGetProfileAnalyticsData, AnalyticsGetProfileAnalyticsResponse, AnalyticsGetProfilePostData, AnalyticsGetProfilePostResponse, AnalyticsGetProfilePostsData, AnalyticsGetProfilePostsResponse, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, CommentCreateData, CommentCreateResponse, CommentDeleteData, CommentDeleteResponse, CommentGetData, CommentGetListData, CommentGetListResponse, CommentGetResponse, CommentUpdateData, CommentUpdateResponse, OpenAPI, OpenAPIConfig, OrganizationGetOrganizationResponse, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, WebhookEvent, WebhookEventType };