bundlesocial 2.12.1 → 2.14.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
@@ -147,8 +147,8 @@ type OrganizationGetOrganizationResponse = {
147
147
  canceledAt?: string | null;
148
148
  trialStart?: string | null;
149
149
  trialEnd?: string | null;
150
- maxMonthlyPosts: number;
151
- maxMonthlyUploads: number;
150
+ maxMonthlyPosts?: number | null;
151
+ maxMonthlyUploads?: number | null;
152
152
  discountStart?: string | null;
153
153
  discountEnd?: string | null;
154
154
  createdAt: string | null;
@@ -386,6 +386,133 @@ type TeamDeleteTeamResponse = {
386
386
  updatedAt: string | null;
387
387
  deletedAt?: string | null;
388
388
  };
389
+ type TeamGetListData = {
390
+ limit?: number | null;
391
+ offset?: number | null;
392
+ };
393
+ type TeamGetListResponse = {
394
+ items: Array<{
395
+ id: string;
396
+ name: string;
397
+ avatarUrl?: string | null;
398
+ organizationId: string;
399
+ createdById: string;
400
+ createdAt: string | null;
401
+ updatedAt: string | null;
402
+ deletedAt?: string | null;
403
+ organization: {
404
+ id: string;
405
+ createdById: string;
406
+ promotionCodeId?: string | null;
407
+ name?: string | null;
408
+ avatarUrl?: string | null;
409
+ apiAccess?: boolean;
410
+ ref?: string | null;
411
+ dailyPostLimit?: {
412
+ TWITTER?: number;
413
+ FACEBOOK?: number;
414
+ INSTAGRAM?: number;
415
+ LINKEDIN?: number;
416
+ YOUTUBE?: number;
417
+ TIKTOK?: number;
418
+ THREADS?: number;
419
+ PINTEREST?: number;
420
+ REDDIT?: number;
421
+ DISCORD?: number;
422
+ SLACK?: number;
423
+ MASTODON?: number;
424
+ } | null;
425
+ createdAt: string | null;
426
+ updatedAt: string | null;
427
+ deletedAt?: string | null;
428
+ };
429
+ createdBy: {
430
+ id: string;
431
+ externalId: string;
432
+ email: string;
433
+ emailVerified?: string | null;
434
+ firstName?: string | null;
435
+ lastName?: string | null;
436
+ avatarUrl?: string | null;
437
+ role: 'ADMIN' | 'CUSTOMER';
438
+ createdAt: string | null;
439
+ updatedAt: string | null;
440
+ deletedAt?: string | null;
441
+ };
442
+ bots: Array<{
443
+ id: string;
444
+ name: string;
445
+ avatarUrl?: string | null;
446
+ teamId: string;
447
+ createdAt: string | null;
448
+ updatedAt: string | null;
449
+ deletedAt?: string | null;
450
+ }>;
451
+ socialAccounts: Array<{
452
+ id: string;
453
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
454
+ teamId: string;
455
+ username?: string | null;
456
+ displayName?: string | null;
457
+ externalId?: string | null;
458
+ userUsername?: string | null;
459
+ userDisplayName?: string | null;
460
+ userId?: string | null;
461
+ channels?: Array<{
462
+ id: string;
463
+ name?: string | null;
464
+ username?: string | null;
465
+ webhook?: {
466
+ id?: string | null;
467
+ name?: string | null;
468
+ avatar?: string | null;
469
+ url?: string | null;
470
+ } | null;
471
+ }> | null;
472
+ createdAt: string | null;
473
+ updatedAt: string | null;
474
+ deletedAt?: string | null;
475
+ }>;
476
+ bio?: {
477
+ id: string;
478
+ username: string;
479
+ name: string | null;
480
+ description: string | null;
481
+ avatarUrl: string | null;
482
+ socials: {
483
+ [key: string]: (string | null);
484
+ } | null;
485
+ teamId: string;
486
+ createdAt: string | null;
487
+ updatedAt: string | null;
488
+ items: Array<{
489
+ id: string;
490
+ bioId: string;
491
+ name: string;
492
+ link: string;
493
+ icon?: string | null;
494
+ enabled: boolean;
495
+ order?: number | null;
496
+ createdAt: string | null;
497
+ updatedAt: string | null;
498
+ analytics: Array<{
499
+ id: string;
500
+ count: number;
501
+ bioItemId: string;
502
+ deviceType: {
503
+ [key: string]: (number);
504
+ };
505
+ country: {
506
+ [key: string]: (number);
507
+ };
508
+ createdAt: string | null;
509
+ updatedAt: string | null;
510
+ }>;
511
+ }>;
512
+ } | null;
513
+ }>;
514
+ total: number;
515
+ };
389
516
  type TeamCreateTeamData = {
390
517
  /**
391
518
  * Body
@@ -585,7 +712,9 @@ type SocialAccountCopyResponse = Array<{
585
712
  deletedAt?: string | null;
586
713
  }>;
587
714
  type UploadGetListData = {
715
+ status?: 'USED' | 'UNUSED' | null;
588
716
  teamId?: string | null;
717
+ type?: 'image' | 'video' | null;
589
718
  };
590
719
  type UploadGetListResponse = Array<{
591
720
  id: string;
@@ -697,6 +826,13 @@ type UploadGetResponse = {
697
826
  ext?: string | null;
698
827
  createdAt: string | null;
699
828
  updatedAt: string | null;
829
+ posts: Array<{
830
+ postId: string;
831
+ uploadId: string;
832
+ createdAt: string | null;
833
+ updatedAt: string | null;
834
+ deletedAt?: string | null;
835
+ }>;
700
836
  };
701
837
  type UploadDeleteData = {
702
838
  id: string;
@@ -772,10 +908,11 @@ type PostGetData = {
772
908
  type PostGetResponse = {
773
909
  id: string;
774
910
  teamId: string;
911
+ organizationId?: string | null;
775
912
  title: string;
776
913
  postDate: string | null;
777
914
  postedDate?: string | null;
778
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
915
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
779
916
  data: {
780
917
  TWITTER?: {
781
918
  text?: string | null;
@@ -811,6 +948,10 @@ type PostGetResponse = {
811
948
  type?: 'POST' | 'REEL' | 'STORY';
812
949
  text?: string | null;
813
950
  uploadIds?: Array<(string)> | null;
951
+ /**
952
+ * The URL to which the post will link to. Only available for type POST.
953
+ */
954
+ link?: string | null;
814
955
  /**
815
956
  * The URL to image uploaded on bundle.social.
816
957
  */
@@ -832,6 +973,12 @@ type PostGetResponse = {
832
973
  * 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.
833
974
  */
834
975
  shareToFeed?: boolean | null;
976
+ collaborators?: Array<(string)> | null;
977
+ tagged?: Array<{
978
+ username: string;
979
+ x: number;
980
+ y: number;
981
+ }> | null;
835
982
  } | null;
836
983
  THREADS?: {
837
984
  text?: string | null;
@@ -841,6 +988,10 @@ type PostGetResponse = {
841
988
  type?: 'VIDEO' | 'IMAGE';
842
989
  text?: string | null;
843
990
  uploadIds?: Array<(string)> | null;
991
+ /**
992
+ * The URL to image uploaded on bundle.social.
993
+ */
994
+ thumbnail?: string | null;
844
995
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
845
996
  /**
846
997
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -1143,6 +1294,10 @@ type PostUpdateData = {
1143
1294
  type?: 'POST' | 'REEL' | 'STORY';
1144
1295
  text?: string | null;
1145
1296
  uploadIds?: Array<(string)> | null;
1297
+ /**
1298
+ * The URL to which the post will link to. Only available for type POST.
1299
+ */
1300
+ link?: string | null;
1146
1301
  /**
1147
1302
  * The URL to image uploaded on bundle.social.
1148
1303
  */
@@ -1164,6 +1319,12 @@ type PostUpdateData = {
1164
1319
  * 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.
1165
1320
  */
1166
1321
  shareToFeed?: boolean | null;
1322
+ collaborators?: Array<(string)> | null;
1323
+ tagged?: Array<{
1324
+ username: string;
1325
+ x: number;
1326
+ y: number;
1327
+ }> | null;
1167
1328
  } | null;
1168
1329
  THREADS?: {
1169
1330
  text?: string | null;
@@ -1173,6 +1334,10 @@ type PostUpdateData = {
1173
1334
  type?: 'VIDEO' | 'IMAGE';
1174
1335
  text?: string | null;
1175
1336
  uploadIds?: Array<(string)> | null;
1337
+ /**
1338
+ * The URL to image uploaded on bundle.social.
1339
+ */
1340
+ thumbnail?: string | null;
1176
1341
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
1177
1342
  /**
1178
1343
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -1294,10 +1459,11 @@ type PostUpdateData = {
1294
1459
  type PostUpdateResponse = {
1295
1460
  id: string;
1296
1461
  teamId: string;
1462
+ organizationId?: string | null;
1297
1463
  title: string;
1298
1464
  postDate: string | null;
1299
1465
  postedDate?: string | null;
1300
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
1466
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
1301
1467
  data: {
1302
1468
  TWITTER?: {
1303
1469
  text?: string | null;
@@ -1333,6 +1499,10 @@ type PostUpdateResponse = {
1333
1499
  type?: 'POST' | 'REEL' | 'STORY';
1334
1500
  text?: string | null;
1335
1501
  uploadIds?: Array<(string)> | null;
1502
+ /**
1503
+ * The URL to which the post will link to. Only available for type POST.
1504
+ */
1505
+ link?: string | null;
1336
1506
  /**
1337
1507
  * The URL to image uploaded on bundle.social.
1338
1508
  */
@@ -1354,6 +1524,12 @@ type PostUpdateResponse = {
1354
1524
  * 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.
1355
1525
  */
1356
1526
  shareToFeed?: boolean | null;
1527
+ collaborators?: Array<(string)> | null;
1528
+ tagged?: Array<{
1529
+ username: string;
1530
+ x: number;
1531
+ y: number;
1532
+ }> | null;
1357
1533
  } | null;
1358
1534
  THREADS?: {
1359
1535
  text?: string | null;
@@ -1363,6 +1539,10 @@ type PostUpdateResponse = {
1363
1539
  type?: 'VIDEO' | 'IMAGE';
1364
1540
  text?: string | null;
1365
1541
  uploadIds?: Array<(string)> | null;
1542
+ /**
1543
+ * The URL to image uploaded on bundle.social.
1544
+ */
1545
+ thumbnail?: string | null;
1366
1546
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
1367
1547
  /**
1368
1548
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -1566,10 +1746,11 @@ type PostDeleteData = {
1566
1746
  type PostDeleteResponse = {
1567
1747
  id: string;
1568
1748
  teamId: string;
1749
+ organizationId?: string | null;
1569
1750
  title: string;
1570
1751
  postDate: string | null;
1571
1752
  postedDate?: string | null;
1572
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
1753
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
1573
1754
  data: {
1574
1755
  TWITTER?: {
1575
1756
  text?: string | null;
@@ -1605,6 +1786,10 @@ type PostDeleteResponse = {
1605
1786
  type?: 'POST' | 'REEL' | 'STORY';
1606
1787
  text?: string | null;
1607
1788
  uploadIds?: Array<(string)> | null;
1789
+ /**
1790
+ * The URL to which the post will link to. Only available for type POST.
1791
+ */
1792
+ link?: string | null;
1608
1793
  /**
1609
1794
  * The URL to image uploaded on bundle.social.
1610
1795
  */
@@ -1626,6 +1811,12 @@ type PostDeleteResponse = {
1626
1811
  * 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.
1627
1812
  */
1628
1813
  shareToFeed?: boolean | null;
1814
+ collaborators?: Array<(string)> | null;
1815
+ tagged?: Array<{
1816
+ username: string;
1817
+ x: number;
1818
+ y: number;
1819
+ }> | null;
1629
1820
  } | null;
1630
1821
  THREADS?: {
1631
1822
  text?: string | null;
@@ -1635,6 +1826,10 @@ type PostDeleteResponse = {
1635
1826
  type?: 'VIDEO' | 'IMAGE';
1636
1827
  text?: string | null;
1637
1828
  uploadIds?: Array<(string)> | null;
1829
+ /**
1830
+ * The URL to image uploaded on bundle.social.
1831
+ */
1832
+ thumbnail?: string | null;
1638
1833
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
1639
1834
  /**
1640
1835
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -1839,17 +2034,18 @@ type PostGetListData = {
1839
2034
  orderBy?: 'createdAt' | 'updatedAt' | 'postDate' | 'postedDate' | 'deletedAt' | null;
1840
2035
  platforms?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')> | null;
1841
2036
  q?: string | null;
1842
- status?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | null;
2037
+ status?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW' | null;
1843
2038
  teamId: string;
1844
2039
  };
1845
2040
  type PostGetListResponse = {
1846
2041
  items: Array<{
1847
2042
  id: string;
1848
2043
  teamId: string;
2044
+ organizationId?: string | null;
1849
2045
  title: string;
1850
2046
  postDate: string | null;
1851
2047
  postedDate?: string | null;
1852
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
2048
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
1853
2049
  data: {
1854
2050
  TWITTER?: {
1855
2051
  text?: string | null;
@@ -1885,6 +2081,10 @@ type PostGetListResponse = {
1885
2081
  type?: 'POST' | 'REEL' | 'STORY';
1886
2082
  text?: string | null;
1887
2083
  uploadIds?: Array<(string)> | null;
2084
+ /**
2085
+ * The URL to which the post will link to. Only available for type POST.
2086
+ */
2087
+ link?: string | null;
1888
2088
  /**
1889
2089
  * The URL to image uploaded on bundle.social.
1890
2090
  */
@@ -1906,6 +2106,12 @@ type PostGetListResponse = {
1906
2106
  * 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.
1907
2107
  */
1908
2108
  shareToFeed?: boolean | null;
2109
+ collaborators?: Array<(string)> | null;
2110
+ tagged?: Array<{
2111
+ username: string;
2112
+ x: number;
2113
+ y: number;
2114
+ }> | null;
1909
2115
  } | null;
1910
2116
  THREADS?: {
1911
2117
  text?: string | null;
@@ -1915,6 +2121,10 @@ type PostGetListResponse = {
1915
2121
  type?: 'VIDEO' | 'IMAGE';
1916
2122
  text?: string | null;
1917
2123
  uploadIds?: Array<(string)> | null;
2124
+ /**
2125
+ * The URL to image uploaded on bundle.social.
2126
+ */
2127
+ thumbnail?: string | null;
1918
2128
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
1919
2129
  /**
1920
2130
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -2219,6 +2429,10 @@ type PostCreateData = {
2219
2429
  type?: 'POST' | 'REEL' | 'STORY';
2220
2430
  text?: string | null;
2221
2431
  uploadIds?: Array<(string)> | null;
2432
+ /**
2433
+ * The URL to which the post will link to. Only available for type POST.
2434
+ */
2435
+ link?: string | null;
2222
2436
  /**
2223
2437
  * The URL to image uploaded on bundle.social.
2224
2438
  */
@@ -2240,6 +2454,12 @@ type PostCreateData = {
2240
2454
  * 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.
2241
2455
  */
2242
2456
  shareToFeed?: boolean | null;
2457
+ collaborators?: Array<(string)> | null;
2458
+ tagged?: Array<{
2459
+ username: string;
2460
+ x: number;
2461
+ y: number;
2462
+ }> | null;
2243
2463
  } | null;
2244
2464
  THREADS?: {
2245
2465
  text?: string | null;
@@ -2249,6 +2469,10 @@ type PostCreateData = {
2249
2469
  type?: 'VIDEO' | 'IMAGE';
2250
2470
  text?: string | null;
2251
2471
  uploadIds?: Array<(string)> | null;
2472
+ /**
2473
+ * The URL to image uploaded on bundle.social.
2474
+ */
2475
+ thumbnail?: string | null;
2252
2476
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
2253
2477
  /**
2254
2478
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -2370,10 +2594,11 @@ type PostCreateData = {
2370
2594
  type PostCreateResponse = {
2371
2595
  id: string;
2372
2596
  teamId: string;
2597
+ organizationId?: string | null;
2373
2598
  title: string;
2374
2599
  postDate: string | null;
2375
2600
  postedDate?: string | null;
2376
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
2601
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
2377
2602
  data: {
2378
2603
  TWITTER?: {
2379
2604
  text?: string | null;
@@ -2409,6 +2634,10 @@ type PostCreateResponse = {
2409
2634
  type?: 'POST' | 'REEL' | 'STORY';
2410
2635
  text?: string | null;
2411
2636
  uploadIds?: Array<(string)> | null;
2637
+ /**
2638
+ * The URL to which the post will link to. Only available for type POST.
2639
+ */
2640
+ link?: string | null;
2412
2641
  /**
2413
2642
  * The URL to image uploaded on bundle.social.
2414
2643
  */
@@ -2430,6 +2659,12 @@ type PostCreateResponse = {
2430
2659
  * 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.
2431
2660
  */
2432
2661
  shareToFeed?: boolean | null;
2662
+ collaborators?: Array<(string)> | null;
2663
+ tagged?: Array<{
2664
+ username: string;
2665
+ x: number;
2666
+ y: number;
2667
+ }> | null;
2433
2668
  } | null;
2434
2669
  THREADS?: {
2435
2670
  text?: string | null;
@@ -2439,6 +2674,10 @@ type PostCreateResponse = {
2439
2674
  type?: 'VIDEO' | 'IMAGE';
2440
2675
  text?: string | null;
2441
2676
  uploadIds?: Array<(string)> | null;
2677
+ /**
2678
+ * The URL to image uploaded on bundle.social.
2679
+ */
2680
+ thumbnail?: string | null;
2442
2681
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
2443
2682
  /**
2444
2683
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -2744,10 +2983,11 @@ type AnalyticsGetProfilePostResponse = {
2744
2983
  post?: {
2745
2984
  id: string;
2746
2985
  teamId: string;
2986
+ organizationId?: string | null;
2747
2987
  title: string;
2748
2988
  postDate: string | null;
2749
2989
  postedDate?: string | null;
2750
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
2990
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
2751
2991
  data: {
2752
2992
  TWITTER?: {
2753
2993
  text?: string | null;
@@ -2783,6 +3023,10 @@ type AnalyticsGetProfilePostResponse = {
2783
3023
  type?: 'POST' | 'REEL' | 'STORY';
2784
3024
  text?: string | null;
2785
3025
  uploadIds?: Array<(string)> | null;
3026
+ /**
3027
+ * The URL to which the post will link to. Only available for type POST.
3028
+ */
3029
+ link?: string | null;
2786
3030
  /**
2787
3031
  * The URL to image uploaded on bundle.social.
2788
3032
  */
@@ -2804,6 +3048,12 @@ type AnalyticsGetProfilePostResponse = {
2804
3048
  * 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.
2805
3049
  */
2806
3050
  shareToFeed?: boolean | null;
3051
+ collaborators?: Array<(string)> | null;
3052
+ tagged?: Array<{
3053
+ username: string;
3054
+ x: number;
3055
+ y: number;
3056
+ }> | null;
2807
3057
  } | null;
2808
3058
  THREADS?: {
2809
3059
  text?: string | null;
@@ -2813,6 +3063,10 @@ type AnalyticsGetProfilePostResponse = {
2813
3063
  type?: 'VIDEO' | 'IMAGE';
2814
3064
  text?: string | null;
2815
3065
  uploadIds?: Array<(string)> | null;
3066
+ /**
3067
+ * The URL to image uploaded on bundle.social.
3068
+ */
3069
+ thumbnail?: string | null;
2816
3070
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
2817
3071
  /**
2818
3072
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -3060,9 +3314,10 @@ type CommentGetData = {
3060
3314
  type CommentGetResponse = {
3061
3315
  id: string;
3062
3316
  teamId: string;
3317
+ organizationId?: string | null;
3063
3318
  internalPostId: string;
3064
3319
  internalParentCommentId?: string | null;
3065
- text: string;
3320
+ title: string;
3066
3321
  postDate: string | null;
3067
3322
  postedDate?: string | null;
3068
3323
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -3164,7 +3419,7 @@ type CommentUpdateData = {
3164
3419
  * Body
3165
3420
  */
3166
3421
  requestBody?: {
3167
- text?: string;
3422
+ title?: string;
3168
3423
  internalPostId?: string;
3169
3424
  internalParentCommentId?: string | null;
3170
3425
  postDate?: string;
@@ -3207,9 +3462,10 @@ type CommentUpdateData = {
3207
3462
  type CommentUpdateResponse = {
3208
3463
  id: string;
3209
3464
  teamId: string;
3465
+ organizationId?: string | null;
3210
3466
  internalPostId: string;
3211
3467
  internalParentCommentId?: string | null;
3212
- text: string;
3468
+ title: string;
3213
3469
  postDate: string | null;
3214
3470
  postedDate?: string | null;
3215
3471
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -3311,9 +3567,10 @@ type CommentDeleteData = {
3311
3567
  type CommentDeleteResponse = {
3312
3568
  id: string;
3313
3569
  teamId: string;
3570
+ organizationId?: string | null;
3314
3571
  internalPostId: string;
3315
3572
  internalParentCommentId?: string | null;
3316
- text: string;
3573
+ title: string;
3317
3574
  postDate: string | null;
3318
3575
  postedDate?: string | null;
3319
3576
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -3423,9 +3680,10 @@ type CommentGetListResponse = {
3423
3680
  items: Array<{
3424
3681
  id: string;
3425
3682
  teamId: string;
3683
+ organizationId?: string | null;
3426
3684
  internalPostId: string;
3427
3685
  internalParentCommentId?: string | null;
3428
- text: string;
3686
+ title: string;
3429
3687
  postDate: string | null;
3430
3688
  postedDate?: string | null;
3431
3689
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -3529,7 +3787,7 @@ type CommentCreateData = {
3529
3787
  */
3530
3788
  requestBody?: {
3531
3789
  teamId: string;
3532
- text: string;
3790
+ title: string;
3533
3791
  internalPostId: string;
3534
3792
  internalParentCommentId?: string | null;
3535
3793
  postDate: string;
@@ -3572,9 +3830,10 @@ type CommentCreateData = {
3572
3830
  type CommentCreateResponse = {
3573
3831
  id: string;
3574
3832
  teamId: string;
3833
+ organizationId?: string | null;
3575
3834
  internalPostId: string;
3576
3835
  internalParentCommentId?: string | null;
3577
- text: string;
3836
+ title: string;
3578
3837
  postDate: string | null;
3579
3838
  postedDate?: string | null;
3580
3839
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -3802,8 +4061,8 @@ type $OpenApiTs = {
3802
4061
  canceledAt?: string | null;
3803
4062
  trialStart?: string | null;
3804
4063
  trialEnd?: string | null;
3805
- maxMonthlyPosts: number;
3806
- maxMonthlyUploads: number;
4064
+ maxMonthlyPosts?: number | null;
4065
+ maxMonthlyUploads?: number | null;
3807
4066
  discountStart?: string | null;
3808
4067
  discountEnd?: string | null;
3809
4068
  createdAt: string | null;
@@ -4215,6 +4474,177 @@ type $OpenApiTs = {
4215
4474
  };
4216
4475
  };
4217
4476
  '/api/v1/team/': {
4477
+ get: {
4478
+ req: TeamGetListData;
4479
+ res: {
4480
+ /**
4481
+ * 200
4482
+ */
4483
+ 200: {
4484
+ items: Array<{
4485
+ id: string;
4486
+ name: string;
4487
+ avatarUrl?: string | null;
4488
+ organizationId: string;
4489
+ createdById: string;
4490
+ createdAt: string | null;
4491
+ updatedAt: string | null;
4492
+ deletedAt?: string | null;
4493
+ organization: {
4494
+ id: string;
4495
+ createdById: string;
4496
+ promotionCodeId?: string | null;
4497
+ name?: string | null;
4498
+ avatarUrl?: string | null;
4499
+ apiAccess?: boolean;
4500
+ ref?: string | null;
4501
+ dailyPostLimit?: {
4502
+ TWITTER?: number;
4503
+ FACEBOOK?: number;
4504
+ INSTAGRAM?: number;
4505
+ LINKEDIN?: number;
4506
+ YOUTUBE?: number;
4507
+ TIKTOK?: number;
4508
+ THREADS?: number;
4509
+ PINTEREST?: number;
4510
+ REDDIT?: number;
4511
+ DISCORD?: number;
4512
+ SLACK?: number;
4513
+ MASTODON?: number;
4514
+ } | null;
4515
+ createdAt: string | null;
4516
+ updatedAt: string | null;
4517
+ deletedAt?: string | null;
4518
+ };
4519
+ createdBy: {
4520
+ id: string;
4521
+ externalId: string;
4522
+ email: string;
4523
+ emailVerified?: string | null;
4524
+ firstName?: string | null;
4525
+ lastName?: string | null;
4526
+ avatarUrl?: string | null;
4527
+ role: 'ADMIN' | 'CUSTOMER';
4528
+ createdAt: string | null;
4529
+ updatedAt: string | null;
4530
+ deletedAt?: string | null;
4531
+ };
4532
+ bots: Array<{
4533
+ id: string;
4534
+ name: string;
4535
+ avatarUrl?: string | null;
4536
+ teamId: string;
4537
+ createdAt: string | null;
4538
+ updatedAt: string | null;
4539
+ deletedAt?: string | null;
4540
+ }>;
4541
+ socialAccounts: Array<{
4542
+ id: string;
4543
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
4544
+ teamId: string;
4545
+ username?: string | null;
4546
+ displayName?: string | null;
4547
+ externalId?: string | null;
4548
+ userUsername?: string | null;
4549
+ userDisplayName?: string | null;
4550
+ userId?: string | null;
4551
+ channels?: Array<{
4552
+ id: string;
4553
+ name?: string | null;
4554
+ username?: string | null;
4555
+ webhook?: {
4556
+ id?: string | null;
4557
+ name?: string | null;
4558
+ avatar?: string | null;
4559
+ url?: string | null;
4560
+ } | null;
4561
+ }> | null;
4562
+ createdAt: string | null;
4563
+ updatedAt: string | null;
4564
+ deletedAt?: string | null;
4565
+ }>;
4566
+ bio?: {
4567
+ id: string;
4568
+ username: string;
4569
+ name: string | null;
4570
+ description: string | null;
4571
+ avatarUrl: string | null;
4572
+ socials: {
4573
+ [key: string]: (string | null);
4574
+ } | null;
4575
+ teamId: string;
4576
+ createdAt: string | null;
4577
+ updatedAt: string | null;
4578
+ items: Array<{
4579
+ id: string;
4580
+ bioId: string;
4581
+ name: string;
4582
+ link: string;
4583
+ icon?: string | null;
4584
+ enabled: boolean;
4585
+ order?: number | null;
4586
+ createdAt: string | null;
4587
+ updatedAt: string | null;
4588
+ analytics: Array<{
4589
+ id: string;
4590
+ count: number;
4591
+ bioItemId: string;
4592
+ deviceType: {
4593
+ [key: string]: (number);
4594
+ };
4595
+ country: {
4596
+ [key: string]: (number);
4597
+ };
4598
+ createdAt: string | null;
4599
+ updatedAt: string | null;
4600
+ }>;
4601
+ }>;
4602
+ } | null;
4603
+ }>;
4604
+ total: number;
4605
+ };
4606
+ /**
4607
+ * 400
4608
+ */
4609
+ 400: {
4610
+ message: string;
4611
+ issues?: Array<{
4612
+ message: string;
4613
+ path?: Array<(string | number)> | null;
4614
+ }> | null;
4615
+ };
4616
+ /**
4617
+ * 401
4618
+ */
4619
+ 401: {
4620
+ message: string;
4621
+ };
4622
+ /**
4623
+ * 403
4624
+ */
4625
+ 403: {
4626
+ message: string;
4627
+ };
4628
+ /**
4629
+ * 404
4630
+ */
4631
+ 404: {
4632
+ message: string;
4633
+ };
4634
+ /**
4635
+ * 429
4636
+ */
4637
+ 429: {
4638
+ message: string;
4639
+ };
4640
+ /**
4641
+ * 500
4642
+ */
4643
+ 500: {
4644
+ message: string;
4645
+ };
4646
+ };
4647
+ };
4218
4648
  post: {
4219
4649
  req: TeamCreateTeamData;
4220
4650
  res: {
@@ -4926,6 +5356,13 @@ type $OpenApiTs = {
4926
5356
  ext?: string | null;
4927
5357
  createdAt: string | null;
4928
5358
  updatedAt: string | null;
5359
+ posts: Array<{
5360
+ postId: string;
5361
+ uploadId: string;
5362
+ createdAt: string | null;
5363
+ updatedAt: string | null;
5364
+ deletedAt?: string | null;
5365
+ }>;
4929
5366
  };
4930
5367
  /**
4931
5368
  * 400
@@ -5174,10 +5611,11 @@ type $OpenApiTs = {
5174
5611
  200: {
5175
5612
  id: string;
5176
5613
  teamId: string;
5614
+ organizationId?: string | null;
5177
5615
  title: string;
5178
5616
  postDate: string | null;
5179
5617
  postedDate?: string | null;
5180
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
5618
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
5181
5619
  data: {
5182
5620
  TWITTER?: {
5183
5621
  text?: string | null;
@@ -5213,6 +5651,10 @@ type $OpenApiTs = {
5213
5651
  type?: 'POST' | 'REEL' | 'STORY';
5214
5652
  text?: string | null;
5215
5653
  uploadIds?: Array<(string)> | null;
5654
+ /**
5655
+ * The URL to which the post will link to. Only available for type POST.
5656
+ */
5657
+ link?: string | null;
5216
5658
  /**
5217
5659
  * The URL to image uploaded on bundle.social.
5218
5660
  */
@@ -5234,6 +5676,12 @@ type $OpenApiTs = {
5234
5676
  * 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.
5235
5677
  */
5236
5678
  shareToFeed?: boolean | null;
5679
+ collaborators?: Array<(string)> | null;
5680
+ tagged?: Array<{
5681
+ username: string;
5682
+ x: number;
5683
+ y: number;
5684
+ }> | null;
5237
5685
  } | null;
5238
5686
  THREADS?: {
5239
5687
  text?: string | null;
@@ -5243,6 +5691,10 @@ type $OpenApiTs = {
5243
5691
  type?: 'VIDEO' | 'IMAGE';
5244
5692
  text?: string | null;
5245
5693
  uploadIds?: Array<(string)> | null;
5694
+ /**
5695
+ * The URL to image uploaded on bundle.social.
5696
+ */
5697
+ thumbnail?: string | null;
5246
5698
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
5247
5699
  /**
5248
5700
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -5551,10 +6003,11 @@ type $OpenApiTs = {
5551
6003
  200: {
5552
6004
  id: string;
5553
6005
  teamId: string;
6006
+ organizationId?: string | null;
5554
6007
  title: string;
5555
6008
  postDate: string | null;
5556
6009
  postedDate?: string | null;
5557
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
6010
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
5558
6011
  data: {
5559
6012
  TWITTER?: {
5560
6013
  text?: string | null;
@@ -5590,6 +6043,10 @@ type $OpenApiTs = {
5590
6043
  type?: 'POST' | 'REEL' | 'STORY';
5591
6044
  text?: string | null;
5592
6045
  uploadIds?: Array<(string)> | null;
6046
+ /**
6047
+ * The URL to which the post will link to. Only available for type POST.
6048
+ */
6049
+ link?: string | null;
5593
6050
  /**
5594
6051
  * The URL to image uploaded on bundle.social.
5595
6052
  */
@@ -5611,6 +6068,12 @@ type $OpenApiTs = {
5611
6068
  * 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.
5612
6069
  */
5613
6070
  shareToFeed?: boolean | null;
6071
+ collaborators?: Array<(string)> | null;
6072
+ tagged?: Array<{
6073
+ username: string;
6074
+ x: number;
6075
+ y: number;
6076
+ }> | null;
5614
6077
  } | null;
5615
6078
  THREADS?: {
5616
6079
  text?: string | null;
@@ -5620,6 +6083,10 @@ type $OpenApiTs = {
5620
6083
  type?: 'VIDEO' | 'IMAGE';
5621
6084
  text?: string | null;
5622
6085
  uploadIds?: Array<(string)> | null;
6086
+ /**
6087
+ * The URL to image uploaded on bundle.social.
6088
+ */
6089
+ thumbnail?: string | null;
5623
6090
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
5624
6091
  /**
5625
6092
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -5868,10 +6335,11 @@ type $OpenApiTs = {
5868
6335
  200: {
5869
6336
  id: string;
5870
6337
  teamId: string;
6338
+ organizationId?: string | null;
5871
6339
  title: string;
5872
6340
  postDate: string | null;
5873
6341
  postedDate?: string | null;
5874
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
6342
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
5875
6343
  data: {
5876
6344
  TWITTER?: {
5877
6345
  text?: string | null;
@@ -5907,6 +6375,10 @@ type $OpenApiTs = {
5907
6375
  type?: 'POST' | 'REEL' | 'STORY';
5908
6376
  text?: string | null;
5909
6377
  uploadIds?: Array<(string)> | null;
6378
+ /**
6379
+ * The URL to which the post will link to. Only available for type POST.
6380
+ */
6381
+ link?: string | null;
5910
6382
  /**
5911
6383
  * The URL to image uploaded on bundle.social.
5912
6384
  */
@@ -5928,6 +6400,12 @@ type $OpenApiTs = {
5928
6400
  * 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.
5929
6401
  */
5930
6402
  shareToFeed?: boolean | null;
6403
+ collaborators?: Array<(string)> | null;
6404
+ tagged?: Array<{
6405
+ username: string;
6406
+ x: number;
6407
+ y: number;
6408
+ }> | null;
5931
6409
  } | null;
5932
6410
  THREADS?: {
5933
6411
  text?: string | null;
@@ -5937,6 +6415,10 @@ type $OpenApiTs = {
5937
6415
  type?: 'VIDEO' | 'IMAGE';
5938
6416
  text?: string | null;
5939
6417
  uploadIds?: Array<(string)> | null;
6418
+ /**
6419
+ * The URL to image uploaded on bundle.social.
6420
+ */
6421
+ thumbnail?: string | null;
5940
6422
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
5941
6423
  /**
5942
6424
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -6188,10 +6670,11 @@ type $OpenApiTs = {
6188
6670
  items: Array<{
6189
6671
  id: string;
6190
6672
  teamId: string;
6673
+ organizationId?: string | null;
6191
6674
  title: string;
6192
6675
  postDate: string | null;
6193
6676
  postedDate?: string | null;
6194
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
6677
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
6195
6678
  data: {
6196
6679
  TWITTER?: {
6197
6680
  text?: string | null;
@@ -6227,6 +6710,10 @@ type $OpenApiTs = {
6227
6710
  type?: 'POST' | 'REEL' | 'STORY';
6228
6711
  text?: string | null;
6229
6712
  uploadIds?: Array<(string)> | null;
6713
+ /**
6714
+ * The URL to which the post will link to. Only available for type POST.
6715
+ */
6716
+ link?: string | null;
6230
6717
  /**
6231
6718
  * The URL to image uploaded on bundle.social.
6232
6719
  */
@@ -6248,6 +6735,12 @@ type $OpenApiTs = {
6248
6735
  * 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.
6249
6736
  */
6250
6737
  shareToFeed?: boolean | null;
6738
+ collaborators?: Array<(string)> | null;
6739
+ tagged?: Array<{
6740
+ username: string;
6741
+ x: number;
6742
+ y: number;
6743
+ }> | null;
6251
6744
  } | null;
6252
6745
  THREADS?: {
6253
6746
  text?: string | null;
@@ -6257,6 +6750,10 @@ type $OpenApiTs = {
6257
6750
  type?: 'VIDEO' | 'IMAGE';
6258
6751
  text?: string | null;
6259
6752
  uploadIds?: Array<(string)> | null;
6753
+ /**
6754
+ * The URL to image uploaded on bundle.social.
6755
+ */
6756
+ thumbnail?: string | null;
6260
6757
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
6261
6758
  /**
6262
6759
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -6567,10 +7064,11 @@ type $OpenApiTs = {
6567
7064
  200: {
6568
7065
  id: string;
6569
7066
  teamId: string;
7067
+ organizationId?: string | null;
6570
7068
  title: string;
6571
7069
  postDate: string | null;
6572
7070
  postedDate?: string | null;
6573
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
7071
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
6574
7072
  data: {
6575
7073
  TWITTER?: {
6576
7074
  text?: string | null;
@@ -6606,6 +7104,10 @@ type $OpenApiTs = {
6606
7104
  type?: 'POST' | 'REEL' | 'STORY';
6607
7105
  text?: string | null;
6608
7106
  uploadIds?: Array<(string)> | null;
7107
+ /**
7108
+ * The URL to which the post will link to. Only available for type POST.
7109
+ */
7110
+ link?: string | null;
6609
7111
  /**
6610
7112
  * The URL to image uploaded on bundle.social.
6611
7113
  */
@@ -6627,6 +7129,12 @@ type $OpenApiTs = {
6627
7129
  * 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.
6628
7130
  */
6629
7131
  shareToFeed?: boolean | null;
7132
+ collaborators?: Array<(string)> | null;
7133
+ tagged?: Array<{
7134
+ username: string;
7135
+ x: number;
7136
+ y: number;
7137
+ }> | null;
6630
7138
  } | null;
6631
7139
  THREADS?: {
6632
7140
  text?: string | null;
@@ -6636,6 +7144,10 @@ type $OpenApiTs = {
6636
7144
  type?: 'VIDEO' | 'IMAGE';
6637
7145
  text?: string | null;
6638
7146
  uploadIds?: Array<(string)> | null;
7147
+ /**
7148
+ * The URL to image uploaded on bundle.social.
7149
+ */
7150
+ thumbnail?: string | null;
6639
7151
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
6640
7152
  /**
6641
7153
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -7080,10 +7592,11 @@ type $OpenApiTs = {
7080
7592
  post?: {
7081
7593
  id: string;
7082
7594
  teamId: string;
7595
+ organizationId?: string | null;
7083
7596
  title: string;
7084
7597
  postDate: string | null;
7085
7598
  postedDate?: string | null;
7086
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
7599
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
7087
7600
  data: {
7088
7601
  TWITTER?: {
7089
7602
  text?: string | null;
@@ -7119,6 +7632,10 @@ type $OpenApiTs = {
7119
7632
  type?: 'POST' | 'REEL' | 'STORY';
7120
7633
  text?: string | null;
7121
7634
  uploadIds?: Array<(string)> | null;
7635
+ /**
7636
+ * The URL to which the post will link to. Only available for type POST.
7637
+ */
7638
+ link?: string | null;
7122
7639
  /**
7123
7640
  * The URL to image uploaded on bundle.social.
7124
7641
  */
@@ -7140,6 +7657,12 @@ type $OpenApiTs = {
7140
7657
  * 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.
7141
7658
  */
7142
7659
  shareToFeed?: boolean | null;
7660
+ collaborators?: Array<(string)> | null;
7661
+ tagged?: Array<{
7662
+ username: string;
7663
+ x: number;
7664
+ y: number;
7665
+ }> | null;
7143
7666
  } | null;
7144
7667
  THREADS?: {
7145
7668
  text?: string | null;
@@ -7149,6 +7672,10 @@ type $OpenApiTs = {
7149
7672
  type?: 'VIDEO' | 'IMAGE';
7150
7673
  text?: string | null;
7151
7674
  uploadIds?: Array<(string)> | null;
7675
+ /**
7676
+ * The URL to image uploaded on bundle.social.
7677
+ */
7678
+ thumbnail?: string | null;
7152
7679
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
7153
7680
  /**
7154
7681
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -7443,9 +7970,10 @@ type $OpenApiTs = {
7443
7970
  200: {
7444
7971
  id: string;
7445
7972
  teamId: string;
7973
+ organizationId?: string | null;
7446
7974
  internalPostId: string;
7447
7975
  internalParentCommentId?: string | null;
7448
- text: string;
7976
+ title: string;
7449
7977
  postDate: string | null;
7450
7978
  postedDate?: string | null;
7451
7979
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -7592,9 +8120,10 @@ type $OpenApiTs = {
7592
8120
  200: {
7593
8121
  id: string;
7594
8122
  teamId: string;
8123
+ organizationId?: string | null;
7595
8124
  internalPostId: string;
7596
8125
  internalParentCommentId?: string | null;
7597
- text: string;
8126
+ title: string;
7598
8127
  postDate: string | null;
7599
8128
  postedDate?: string | null;
7600
8129
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -7741,9 +8270,10 @@ type $OpenApiTs = {
7741
8270
  200: {
7742
8271
  id: string;
7743
8272
  teamId: string;
8273
+ organizationId?: string | null;
7744
8274
  internalPostId: string;
7745
8275
  internalParentCommentId?: string | null;
7746
- text: string;
8276
+ title: string;
7747
8277
  postDate: string | null;
7748
8278
  postedDate?: string | null;
7749
8279
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -7893,9 +8423,10 @@ type $OpenApiTs = {
7893
8423
  items: Array<{
7894
8424
  id: string;
7895
8425
  teamId: string;
8426
+ organizationId?: string | null;
7896
8427
  internalPostId: string;
7897
8428
  internalParentCommentId?: string | null;
7898
- text: string;
8429
+ title: string;
7899
8430
  postDate: string | null;
7900
8431
  postedDate?: string | null;
7901
8432
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -8044,9 +8575,10 @@ type $OpenApiTs = {
8044
8575
  200: {
8045
8576
  id: string;
8046
8577
  teamId: string;
8578
+ organizationId?: string | null;
8047
8579
  internalPostId: string;
8048
8580
  internalParentCommentId?: string | null;
8049
- text: string;
8581
+ title: string;
8050
8582
  postDate: string | null;
8051
8583
  postedDate?: string | null;
8052
8584
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -8235,6 +8767,15 @@ declare class TeamService {
8235
8767
  * @throws ApiError
8236
8768
  */
8237
8769
  teamDeleteTeam(data: TeamDeleteTeamData): CancelablePromise<TeamDeleteTeamResponse>;
8770
+ /**
8771
+ * Get list of teams
8772
+ * @param data The data for the request.
8773
+ * @param data.offset
8774
+ * @param data.limit
8775
+ * @returns unknown 200
8776
+ * @throws ApiError
8777
+ */
8778
+ teamGetList(data?: TeamGetListData): CancelablePromise<TeamGetListResponse>;
8238
8779
  /**
8239
8780
  * Create new team
8240
8781
  * @param data The data for the request.
@@ -8308,6 +8849,8 @@ declare class UploadService {
8308
8849
  * Get upload list
8309
8850
  * @param data The data for the request.
8310
8851
  * @param data.teamId
8852
+ * @param data.type
8853
+ * @param data.status
8311
8854
  * @returns unknown 200
8312
8855
  * @throws ApiError
8313
8856
  */
@@ -8572,4 +9115,4 @@ declare class Bundlesocial extends Client {
8572
9115
  constructor(apiKey: string, options?: OpenAPIConfig);
8573
9116
  }
8574
9117
 
8575
- 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, SocialAccountCopyData, SocialAccountCopyResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadFinalizeLargeUploadData, UploadFinalizeLargeUploadResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, UploadInitLargeUploadData, UploadInitLargeUploadResponse, WebhookEvent, WebhookEventType, webhookEventTypes };
9118
+ 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, SocialAccountCopyData, SocialAccountCopyResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetListData, TeamGetListResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadFinalizeLargeUploadData, UploadFinalizeLargeUploadResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, UploadInitLargeUploadData, UploadInitLargeUploadResponse, WebhookEvent, WebhookEventType, webhookEventTypes };