bundlesocial 2.8.0 → 2.9.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
@@ -83,6 +83,20 @@ type OrganizationGetOrganizationResponse = {
83
83
  avatarUrl?: string | null;
84
84
  apiAccess?: boolean;
85
85
  ref?: string | null;
86
+ dailyPostLimit?: {
87
+ TWITTER?: number;
88
+ FACEBOOK?: number;
89
+ INSTAGRAM?: number;
90
+ LINKEDIN?: number;
91
+ YOUTUBE?: number;
92
+ TIKTOK?: number;
93
+ THREADS?: number;
94
+ PINTEREST?: number;
95
+ REDDIT?: number;
96
+ DISCORD?: number;
97
+ SLACK?: number;
98
+ MASTODON?: number;
99
+ } | null;
86
100
  createdAt: string | null;
87
101
  updatedAt: string | null;
88
102
  deletedAt?: string | null;
@@ -235,6 +249,20 @@ type TeamGetTeamResponse = {
235
249
  avatarUrl?: string | null;
236
250
  apiAccess?: boolean;
237
251
  ref?: string | null;
252
+ dailyPostLimit?: {
253
+ TWITTER?: number;
254
+ FACEBOOK?: number;
255
+ INSTAGRAM?: number;
256
+ LINKEDIN?: number;
257
+ YOUTUBE?: number;
258
+ TIKTOK?: number;
259
+ THREADS?: number;
260
+ PINTEREST?: number;
261
+ REDDIT?: number;
262
+ DISCORD?: number;
263
+ SLACK?: number;
264
+ MASTODON?: number;
265
+ } | null;
238
266
  createdAt: string | null;
239
267
  updatedAt: string | null;
240
268
  deletedAt?: string | null;
@@ -516,11 +544,12 @@ type SocialAccountCreatePortalLinkResponse = {
516
544
  url: string;
517
545
  };
518
546
  type UploadGetListData = {
519
- teamId: string;
547
+ teamId?: string | null;
520
548
  };
521
549
  type UploadGetListResponse = Array<{
522
550
  id: string;
523
- teamId: string;
551
+ teamId?: string | null;
552
+ organizationId?: string | null;
524
553
  expiresAt?: string | null;
525
554
  iconUrl?: string | null;
526
555
  thumbnailUrl?: string | null;
@@ -550,13 +579,14 @@ type UploadCreateData = {
550
579
  * Body
551
580
  */
552
581
  formData?: {
553
- teamId: string;
582
+ teamId?: string | null;
554
583
  file?: (Blob | File) | null;
555
584
  };
556
585
  };
557
586
  type UploadCreateResponse = {
558
587
  id: string;
559
- teamId: string;
588
+ teamId?: string | null;
589
+ organizationId?: string | null;
560
590
  expiresAt?: string | null;
561
591
  iconUrl?: string | null;
562
592
  thumbnailUrl?: string | null;
@@ -584,7 +614,8 @@ type UploadDeleteManyData = {
584
614
  };
585
615
  type UploadDeleteManyResponse = Array<{
586
616
  id: string;
587
- teamId: string;
617
+ teamId?: string | null;
618
+ organizationId?: string | null;
588
619
  expiresAt?: string | null;
589
620
  iconUrl?: string | null;
590
621
  thumbnailUrl?: string | null;
@@ -607,7 +638,8 @@ type UploadGetData = {
607
638
  };
608
639
  type UploadGetResponse = {
609
640
  id: string;
610
- teamId: string;
641
+ teamId?: string | null;
642
+ organizationId?: string | null;
611
643
  expiresAt?: string | null;
612
644
  iconUrl?: string | null;
613
645
  thumbnailUrl?: string | null;
@@ -630,7 +662,52 @@ type UploadDeleteData = {
630
662
  };
631
663
  type UploadDeleteResponse = {
632
664
  id: string;
633
- teamId: string;
665
+ teamId?: string | null;
666
+ organizationId?: string | null;
667
+ expiresAt?: string | null;
668
+ iconUrl?: string | null;
669
+ thumbnailUrl?: string | null;
670
+ url?: string | null;
671
+ iconPath?: string | null;
672
+ thumbnailPath?: string | null;
673
+ path?: string | null;
674
+ type: 'image' | 'video';
675
+ width?: number | null;
676
+ height?: number | null;
677
+ fileSize?: number | null;
678
+ videoLength?: number | null;
679
+ mime?: string | null;
680
+ ext?: string | null;
681
+ createdAt: string | null;
682
+ updatedAt: string | null;
683
+ };
684
+ type UploadInitLargeUploadData = {
685
+ /**
686
+ * Body
687
+ */
688
+ requestBody?: {
689
+ teamId?: string | null;
690
+ fileName: string;
691
+ mimeType: string;
692
+ };
693
+ };
694
+ type UploadInitLargeUploadResponse = {
695
+ url: string;
696
+ path: string;
697
+ };
698
+ type UploadFinalizeLargeUploadData = {
699
+ /**
700
+ * Body
701
+ */
702
+ requestBody?: {
703
+ teamId?: string | null;
704
+ path: string;
705
+ };
706
+ };
707
+ type UploadFinalizeLargeUploadResponse = {
708
+ id: string;
709
+ teamId?: string | null;
710
+ organizationId?: string | null;
634
711
  expiresAt?: string | null;
635
712
  iconUrl?: string | null;
636
713
  thumbnailUrl?: string | null;
@@ -668,6 +745,10 @@ type PostGetResponse = {
668
745
  description?: string | null;
669
746
  boardName: string;
670
747
  uploadIds?: Array<(string)> | null;
748
+ /**
749
+ * The URL to image uploaded on bundle.social.
750
+ */
751
+ thumbnail?: string | null;
671
752
  /**
672
753
  * The URL to which the Pin will link to.
673
754
  */
@@ -689,11 +770,27 @@ type PostGetResponse = {
689
770
  type?: 'POST' | 'REEL' | 'STORY';
690
771
  text?: string | null;
691
772
  uploadIds?: Array<(string)> | null;
773
+ /**
774
+ * The URL to image uploaded on bundle.social.
775
+ */
776
+ thumbnail?: string | null;
692
777
  } | null;
693
778
  INSTAGRAM?: {
694
779
  type?: 'POST' | 'REEL' | 'STORY';
695
780
  text?: string | null;
696
781
  uploadIds?: Array<(string)> | null;
782
+ /**
783
+ * Choose a frame of the published video as the cover photo in ms
784
+ */
785
+ thumbnailOffset?: number | null;
786
+ /**
787
+ * The URL to image uploaded on bundle.social.
788
+ */
789
+ thumbnail?: string | null;
790
+ /**
791
+ * 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.
792
+ */
793
+ shareToFeed?: boolean | null;
697
794
  } | null;
698
795
  THREADS?: {
699
796
  text?: string | null;
@@ -736,6 +833,10 @@ type PostGetResponse = {
736
833
  LINKEDIN?: {
737
834
  text: string;
738
835
  uploadIds?: Array<(string)> | null;
836
+ /**
837
+ * The URL to image uploaded on bundle.social.
838
+ */
839
+ thumbnail?: string | null;
739
840
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
740
841
  /**
741
842
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -751,6 +852,10 @@ type PostGetResponse = {
751
852
  uploadIds?: Array<(string)> | null;
752
853
  text?: string | null;
753
854
  description?: string | null;
855
+ /**
856
+ * The URL to image uploaded on bundle.social.
857
+ */
858
+ thumbnail?: string | null;
754
859
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
755
860
  /**
756
861
  * Set to true if the video is made for kids.
@@ -803,6 +908,10 @@ type PostGetResponse = {
803
908
  MASTODON?: {
804
909
  text?: string | null;
805
910
  uploadIds?: Array<(string)> | null;
911
+ /**
912
+ * The URL to image uploaded on bundle.social.
913
+ */
914
+ thumbnail?: string | null;
806
915
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
807
916
  spoiler?: string | null;
808
917
  } | null;
@@ -830,16 +939,19 @@ type PostGetResponse = {
830
939
  PINTEREST?: {
831
940
  id?: string | null;
832
941
  permalink?: string | null;
942
+ thumbnail?: string | null;
833
943
  } | null;
834
944
  FACEBOOK?: {
835
945
  id?: string | null;
836
946
  postId?: string | null;
837
947
  videoId?: string | null;
838
948
  permalink?: string | null;
949
+ thumbnail?: string;
839
950
  } | null;
840
951
  INSTAGRAM?: {
841
952
  id?: string | null;
842
953
  permalink?: string | null;
954
+ thumbnail?: string;
843
955
  } | null;
844
956
  TIKTOK?: {
845
957
  id?: string | null;
@@ -849,6 +961,7 @@ type PostGetResponse = {
849
961
  id?: string | null;
850
962
  activity?: string | null;
851
963
  permalink?: string | null;
964
+ thumbnail?: string;
852
965
  } | null;
853
966
  REDDIT?: {
854
967
  id?: string | null;
@@ -868,10 +981,12 @@ type PostGetResponse = {
868
981
  YOUTUBE?: {
869
982
  id?: string | null;
870
983
  permalink?: string | null;
984
+ thumbnail?: string | null;
871
985
  } | null;
872
986
  MASTODON?: {
873
987
  id?: string | null;
874
988
  permalink?: string | null;
989
+ thumbnail?: string | null;
875
990
  } | null;
876
991
  THREADS?: {
877
992
  id?: string | null;
@@ -889,7 +1004,8 @@ type PostGetResponse = {
889
1004
  deletedAt?: string | null;
890
1005
  upload: {
891
1006
  id: string;
892
- teamId: string;
1007
+ teamId?: string | null;
1008
+ organizationId?: string | null;
893
1009
  expiresAt?: string | null;
894
1010
  iconUrl?: string | null;
895
1011
  thumbnailUrl?: string | null;
@@ -961,6 +1077,10 @@ type PostUpdateData = {
961
1077
  description?: string | null;
962
1078
  boardName: string;
963
1079
  uploadIds?: Array<(string)> | null;
1080
+ /**
1081
+ * The URL to image uploaded on bundle.social.
1082
+ */
1083
+ thumbnail?: string | null;
964
1084
  /**
965
1085
  * The URL to which the Pin will link to.
966
1086
  */
@@ -982,11 +1102,27 @@ type PostUpdateData = {
982
1102
  type?: 'POST' | 'REEL' | 'STORY';
983
1103
  text?: string | null;
984
1104
  uploadIds?: Array<(string)> | null;
1105
+ /**
1106
+ * The URL to image uploaded on bundle.social.
1107
+ */
1108
+ thumbnail?: string | null;
985
1109
  } | null;
986
1110
  INSTAGRAM?: {
987
1111
  type?: 'POST' | 'REEL' | 'STORY';
988
1112
  text?: string | null;
989
1113
  uploadIds?: Array<(string)> | null;
1114
+ /**
1115
+ * Choose a frame of the published video as the cover photo in ms
1116
+ */
1117
+ thumbnailOffset?: number | null;
1118
+ /**
1119
+ * The URL to image uploaded on bundle.social.
1120
+ */
1121
+ thumbnail?: string | null;
1122
+ /**
1123
+ * 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.
1124
+ */
1125
+ shareToFeed?: boolean | null;
990
1126
  } | null;
991
1127
  THREADS?: {
992
1128
  text?: string | null;
@@ -1029,6 +1165,10 @@ type PostUpdateData = {
1029
1165
  LINKEDIN?: {
1030
1166
  text: string;
1031
1167
  uploadIds?: Array<(string)> | null;
1168
+ /**
1169
+ * The URL to image uploaded on bundle.social.
1170
+ */
1171
+ thumbnail?: string | null;
1032
1172
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
1033
1173
  /**
1034
1174
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -1044,6 +1184,10 @@ type PostUpdateData = {
1044
1184
  uploadIds?: Array<(string)> | null;
1045
1185
  text?: string | null;
1046
1186
  description?: string | null;
1187
+ /**
1188
+ * The URL to image uploaded on bundle.social.
1189
+ */
1190
+ thumbnail?: string | null;
1047
1191
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
1048
1192
  /**
1049
1193
  * Set to true if the video is made for kids.
@@ -1096,6 +1240,10 @@ type PostUpdateData = {
1096
1240
  MASTODON?: {
1097
1241
  text?: string | null;
1098
1242
  uploadIds?: Array<(string)> | null;
1243
+ /**
1244
+ * The URL to image uploaded on bundle.social.
1245
+ */
1246
+ thumbnail?: string | null;
1099
1247
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
1100
1248
  spoiler?: string | null;
1101
1249
  } | null;
@@ -1119,6 +1267,10 @@ type PostUpdateResponse = {
1119
1267
  description?: string | null;
1120
1268
  boardName: string;
1121
1269
  uploadIds?: Array<(string)> | null;
1270
+ /**
1271
+ * The URL to image uploaded on bundle.social.
1272
+ */
1273
+ thumbnail?: string | null;
1122
1274
  /**
1123
1275
  * The URL to which the Pin will link to.
1124
1276
  */
@@ -1140,11 +1292,27 @@ type PostUpdateResponse = {
1140
1292
  type?: 'POST' | 'REEL' | 'STORY';
1141
1293
  text?: string | null;
1142
1294
  uploadIds?: Array<(string)> | null;
1295
+ /**
1296
+ * The URL to image uploaded on bundle.social.
1297
+ */
1298
+ thumbnail?: string | null;
1143
1299
  } | null;
1144
1300
  INSTAGRAM?: {
1145
1301
  type?: 'POST' | 'REEL' | 'STORY';
1146
1302
  text?: string | null;
1147
1303
  uploadIds?: Array<(string)> | null;
1304
+ /**
1305
+ * Choose a frame of the published video as the cover photo in ms
1306
+ */
1307
+ thumbnailOffset?: number | null;
1308
+ /**
1309
+ * The URL to image uploaded on bundle.social.
1310
+ */
1311
+ thumbnail?: string | null;
1312
+ /**
1313
+ * 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.
1314
+ */
1315
+ shareToFeed?: boolean | null;
1148
1316
  } | null;
1149
1317
  THREADS?: {
1150
1318
  text?: string | null;
@@ -1187,6 +1355,10 @@ type PostUpdateResponse = {
1187
1355
  LINKEDIN?: {
1188
1356
  text: string;
1189
1357
  uploadIds?: Array<(string)> | null;
1358
+ /**
1359
+ * The URL to image uploaded on bundle.social.
1360
+ */
1361
+ thumbnail?: string | null;
1190
1362
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
1191
1363
  /**
1192
1364
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -1202,6 +1374,10 @@ type PostUpdateResponse = {
1202
1374
  uploadIds?: Array<(string)> | null;
1203
1375
  text?: string | null;
1204
1376
  description?: string | null;
1377
+ /**
1378
+ * The URL to image uploaded on bundle.social.
1379
+ */
1380
+ thumbnail?: string | null;
1205
1381
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
1206
1382
  /**
1207
1383
  * Set to true if the video is made for kids.
@@ -1254,6 +1430,10 @@ type PostUpdateResponse = {
1254
1430
  MASTODON?: {
1255
1431
  text?: string | null;
1256
1432
  uploadIds?: Array<(string)> | null;
1433
+ /**
1434
+ * The URL to image uploaded on bundle.social.
1435
+ */
1436
+ thumbnail?: string | null;
1257
1437
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
1258
1438
  spoiler?: string | null;
1259
1439
  } | null;
@@ -1281,16 +1461,19 @@ type PostUpdateResponse = {
1281
1461
  PINTEREST?: {
1282
1462
  id?: string | null;
1283
1463
  permalink?: string | null;
1464
+ thumbnail?: string | null;
1284
1465
  } | null;
1285
1466
  FACEBOOK?: {
1286
1467
  id?: string | null;
1287
1468
  postId?: string | null;
1288
1469
  videoId?: string | null;
1289
1470
  permalink?: string | null;
1471
+ thumbnail?: string;
1290
1472
  } | null;
1291
1473
  INSTAGRAM?: {
1292
1474
  id?: string | null;
1293
1475
  permalink?: string | null;
1476
+ thumbnail?: string;
1294
1477
  } | null;
1295
1478
  TIKTOK?: {
1296
1479
  id?: string | null;
@@ -1300,6 +1483,7 @@ type PostUpdateResponse = {
1300
1483
  id?: string | null;
1301
1484
  activity?: string | null;
1302
1485
  permalink?: string | null;
1486
+ thumbnail?: string;
1303
1487
  } | null;
1304
1488
  REDDIT?: {
1305
1489
  id?: string | null;
@@ -1319,10 +1503,12 @@ type PostUpdateResponse = {
1319
1503
  YOUTUBE?: {
1320
1504
  id?: string | null;
1321
1505
  permalink?: string | null;
1506
+ thumbnail?: string | null;
1322
1507
  } | null;
1323
1508
  MASTODON?: {
1324
1509
  id?: string | null;
1325
1510
  permalink?: string | null;
1511
+ thumbnail?: string | null;
1326
1512
  } | null;
1327
1513
  THREADS?: {
1328
1514
  id?: string | null;
@@ -1353,6 +1539,10 @@ type PostDeleteResponse = {
1353
1539
  description?: string | null;
1354
1540
  boardName: string;
1355
1541
  uploadIds?: Array<(string)> | null;
1542
+ /**
1543
+ * The URL to image uploaded on bundle.social.
1544
+ */
1545
+ thumbnail?: string | null;
1356
1546
  /**
1357
1547
  * The URL to which the Pin will link to.
1358
1548
  */
@@ -1374,11 +1564,27 @@ type PostDeleteResponse = {
1374
1564
  type?: 'POST' | 'REEL' | 'STORY';
1375
1565
  text?: string | null;
1376
1566
  uploadIds?: Array<(string)> | null;
1567
+ /**
1568
+ * The URL to image uploaded on bundle.social.
1569
+ */
1570
+ thumbnail?: string | null;
1377
1571
  } | null;
1378
1572
  INSTAGRAM?: {
1379
1573
  type?: 'POST' | 'REEL' | 'STORY';
1380
1574
  text?: string | null;
1381
1575
  uploadIds?: Array<(string)> | null;
1576
+ /**
1577
+ * Choose a frame of the published video as the cover photo in ms
1578
+ */
1579
+ thumbnailOffset?: number | null;
1580
+ /**
1581
+ * The URL to image uploaded on bundle.social.
1582
+ */
1583
+ thumbnail?: string | null;
1584
+ /**
1585
+ * 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.
1586
+ */
1587
+ shareToFeed?: boolean | null;
1382
1588
  } | null;
1383
1589
  THREADS?: {
1384
1590
  text?: string | null;
@@ -1421,6 +1627,10 @@ type PostDeleteResponse = {
1421
1627
  LINKEDIN?: {
1422
1628
  text: string;
1423
1629
  uploadIds?: Array<(string)> | null;
1630
+ /**
1631
+ * The URL to image uploaded on bundle.social.
1632
+ */
1633
+ thumbnail?: string | null;
1424
1634
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
1425
1635
  /**
1426
1636
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -1436,6 +1646,10 @@ type PostDeleteResponse = {
1436
1646
  uploadIds?: Array<(string)> | null;
1437
1647
  text?: string | null;
1438
1648
  description?: string | null;
1649
+ /**
1650
+ * The URL to image uploaded on bundle.social.
1651
+ */
1652
+ thumbnail?: string | null;
1439
1653
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
1440
1654
  /**
1441
1655
  * Set to true if the video is made for kids.
@@ -1488,6 +1702,10 @@ type PostDeleteResponse = {
1488
1702
  MASTODON?: {
1489
1703
  text?: string | null;
1490
1704
  uploadIds?: Array<(string)> | null;
1705
+ /**
1706
+ * The URL to image uploaded on bundle.social.
1707
+ */
1708
+ thumbnail?: string | null;
1491
1709
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
1492
1710
  spoiler?: string | null;
1493
1711
  } | null;
@@ -1515,16 +1733,19 @@ type PostDeleteResponse = {
1515
1733
  PINTEREST?: {
1516
1734
  id?: string | null;
1517
1735
  permalink?: string | null;
1736
+ thumbnail?: string | null;
1518
1737
  } | null;
1519
1738
  FACEBOOK?: {
1520
1739
  id?: string | null;
1521
1740
  postId?: string | null;
1522
1741
  videoId?: string | null;
1523
1742
  permalink?: string | null;
1743
+ thumbnail?: string;
1524
1744
  } | null;
1525
1745
  INSTAGRAM?: {
1526
1746
  id?: string | null;
1527
1747
  permalink?: string | null;
1748
+ thumbnail?: string;
1528
1749
  } | null;
1529
1750
  TIKTOK?: {
1530
1751
  id?: string | null;
@@ -1534,6 +1755,7 @@ type PostDeleteResponse = {
1534
1755
  id?: string | null;
1535
1756
  activity?: string | null;
1536
1757
  permalink?: string | null;
1758
+ thumbnail?: string;
1537
1759
  } | null;
1538
1760
  REDDIT?: {
1539
1761
  id?: string | null;
@@ -1553,10 +1775,12 @@ type PostDeleteResponse = {
1553
1775
  YOUTUBE?: {
1554
1776
  id?: string | null;
1555
1777
  permalink?: string | null;
1778
+ thumbnail?: string | null;
1556
1779
  } | null;
1557
1780
  MASTODON?: {
1558
1781
  id?: string | null;
1559
1782
  permalink?: string | null;
1783
+ thumbnail?: string | null;
1560
1784
  } | null;
1561
1785
  THREADS?: {
1562
1786
  id?: string | null;
@@ -1595,6 +1819,10 @@ type PostGetListResponse = {
1595
1819
  description?: string | null;
1596
1820
  boardName: string;
1597
1821
  uploadIds?: Array<(string)> | null;
1822
+ /**
1823
+ * The URL to image uploaded on bundle.social.
1824
+ */
1825
+ thumbnail?: string | null;
1598
1826
  /**
1599
1827
  * The URL to which the Pin will link to.
1600
1828
  */
@@ -1616,11 +1844,27 @@ type PostGetListResponse = {
1616
1844
  type?: 'POST' | 'REEL' | 'STORY';
1617
1845
  text?: string | null;
1618
1846
  uploadIds?: Array<(string)> | null;
1847
+ /**
1848
+ * The URL to image uploaded on bundle.social.
1849
+ */
1850
+ thumbnail?: string | null;
1619
1851
  } | null;
1620
1852
  INSTAGRAM?: {
1621
1853
  type?: 'POST' | 'REEL' | 'STORY';
1622
1854
  text?: string | null;
1623
1855
  uploadIds?: Array<(string)> | null;
1856
+ /**
1857
+ * Choose a frame of the published video as the cover photo in ms
1858
+ */
1859
+ thumbnailOffset?: number | null;
1860
+ /**
1861
+ * The URL to image uploaded on bundle.social.
1862
+ */
1863
+ thumbnail?: string | null;
1864
+ /**
1865
+ * 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.
1866
+ */
1867
+ shareToFeed?: boolean | null;
1624
1868
  } | null;
1625
1869
  THREADS?: {
1626
1870
  text?: string | null;
@@ -1663,6 +1907,10 @@ type PostGetListResponse = {
1663
1907
  LINKEDIN?: {
1664
1908
  text: string;
1665
1909
  uploadIds?: Array<(string)> | null;
1910
+ /**
1911
+ * The URL to image uploaded on bundle.social.
1912
+ */
1913
+ thumbnail?: string | null;
1666
1914
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
1667
1915
  /**
1668
1916
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -1678,6 +1926,10 @@ type PostGetListResponse = {
1678
1926
  uploadIds?: Array<(string)> | null;
1679
1927
  text?: string | null;
1680
1928
  description?: string | null;
1929
+ /**
1930
+ * The URL to image uploaded on bundle.social.
1931
+ */
1932
+ thumbnail?: string | null;
1681
1933
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
1682
1934
  /**
1683
1935
  * Set to true if the video is made for kids.
@@ -1730,6 +1982,10 @@ type PostGetListResponse = {
1730
1982
  MASTODON?: {
1731
1983
  text?: string | null;
1732
1984
  uploadIds?: Array<(string)> | null;
1985
+ /**
1986
+ * The URL to image uploaded on bundle.social.
1987
+ */
1988
+ thumbnail?: string | null;
1733
1989
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
1734
1990
  spoiler?: string | null;
1735
1991
  } | null;
@@ -1757,16 +2013,19 @@ type PostGetListResponse = {
1757
2013
  PINTEREST?: {
1758
2014
  id?: string | null;
1759
2015
  permalink?: string | null;
2016
+ thumbnail?: string | null;
1760
2017
  } | null;
1761
2018
  FACEBOOK?: {
1762
2019
  id?: string | null;
1763
2020
  postId?: string | null;
1764
2021
  videoId?: string | null;
1765
2022
  permalink?: string | null;
2023
+ thumbnail?: string;
1766
2024
  } | null;
1767
2025
  INSTAGRAM?: {
1768
2026
  id?: string | null;
1769
2027
  permalink?: string | null;
2028
+ thumbnail?: string;
1770
2029
  } | null;
1771
2030
  TIKTOK?: {
1772
2031
  id?: string | null;
@@ -1776,6 +2035,7 @@ type PostGetListResponse = {
1776
2035
  id?: string | null;
1777
2036
  activity?: string | null;
1778
2037
  permalink?: string | null;
2038
+ thumbnail?: string;
1779
2039
  } | null;
1780
2040
  REDDIT?: {
1781
2041
  id?: string | null;
@@ -1795,10 +2055,12 @@ type PostGetListResponse = {
1795
2055
  YOUTUBE?: {
1796
2056
  id?: string | null;
1797
2057
  permalink?: string | null;
2058
+ thumbnail?: string | null;
1798
2059
  } | null;
1799
2060
  MASTODON?: {
1800
2061
  id?: string | null;
1801
2062
  permalink?: string | null;
2063
+ thumbnail?: string | null;
1802
2064
  } | null;
1803
2065
  THREADS?: {
1804
2066
  id?: string | null;
@@ -1816,7 +2078,8 @@ type PostGetListResponse = {
1816
2078
  deletedAt?: string | null;
1817
2079
  upload: {
1818
2080
  id: string;
1819
- teamId: string;
2081
+ teamId?: string | null;
2082
+ organizationId?: string | null;
1820
2083
  expiresAt?: string | null;
1821
2084
  iconUrl?: string | null;
1822
2085
  thumbnailUrl?: string | null;
@@ -1890,6 +2153,10 @@ type PostCreateData = {
1890
2153
  description?: string | null;
1891
2154
  boardName: string;
1892
2155
  uploadIds?: Array<(string)> | null;
2156
+ /**
2157
+ * The URL to image uploaded on bundle.social.
2158
+ */
2159
+ thumbnail?: string | null;
1893
2160
  /**
1894
2161
  * The URL to which the Pin will link to.
1895
2162
  */
@@ -1911,11 +2178,27 @@ type PostCreateData = {
1911
2178
  type?: 'POST' | 'REEL' | 'STORY';
1912
2179
  text?: string | null;
1913
2180
  uploadIds?: Array<(string)> | null;
2181
+ /**
2182
+ * The URL to image uploaded on bundle.social.
2183
+ */
2184
+ thumbnail?: string | null;
1914
2185
  } | null;
1915
2186
  INSTAGRAM?: {
1916
2187
  type?: 'POST' | 'REEL' | 'STORY';
1917
2188
  text?: string | null;
1918
2189
  uploadIds?: Array<(string)> | null;
2190
+ /**
2191
+ * Choose a frame of the published video as the cover photo in ms
2192
+ */
2193
+ thumbnailOffset?: number | null;
2194
+ /**
2195
+ * The URL to image uploaded on bundle.social.
2196
+ */
2197
+ thumbnail?: string | null;
2198
+ /**
2199
+ * 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.
2200
+ */
2201
+ shareToFeed?: boolean | null;
1919
2202
  } | null;
1920
2203
  THREADS?: {
1921
2204
  text?: string | null;
@@ -1958,6 +2241,10 @@ type PostCreateData = {
1958
2241
  LINKEDIN?: {
1959
2242
  text: string;
1960
2243
  uploadIds?: Array<(string)> | null;
2244
+ /**
2245
+ * The URL to image uploaded on bundle.social.
2246
+ */
2247
+ thumbnail?: string | null;
1961
2248
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
1962
2249
  /**
1963
2250
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -1973,6 +2260,10 @@ type PostCreateData = {
1973
2260
  uploadIds?: Array<(string)> | null;
1974
2261
  text?: string | null;
1975
2262
  description?: string | null;
2263
+ /**
2264
+ * The URL to image uploaded on bundle.social.
2265
+ */
2266
+ thumbnail?: string | null;
1976
2267
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
1977
2268
  /**
1978
2269
  * Set to true if the video is made for kids.
@@ -2025,6 +2316,10 @@ type PostCreateData = {
2025
2316
  MASTODON?: {
2026
2317
  text?: string | null;
2027
2318
  uploadIds?: Array<(string)> | null;
2319
+ /**
2320
+ * The URL to image uploaded on bundle.social.
2321
+ */
2322
+ thumbnail?: string | null;
2028
2323
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
2029
2324
  spoiler?: string | null;
2030
2325
  } | null;
@@ -2048,6 +2343,10 @@ type PostCreateResponse = {
2048
2343
  description?: string | null;
2049
2344
  boardName: string;
2050
2345
  uploadIds?: Array<(string)> | null;
2346
+ /**
2347
+ * The URL to image uploaded on bundle.social.
2348
+ */
2349
+ thumbnail?: string | null;
2051
2350
  /**
2052
2351
  * The URL to which the Pin will link to.
2053
2352
  */
@@ -2069,11 +2368,27 @@ type PostCreateResponse = {
2069
2368
  type?: 'POST' | 'REEL' | 'STORY';
2070
2369
  text?: string | null;
2071
2370
  uploadIds?: Array<(string)> | null;
2371
+ /**
2372
+ * The URL to image uploaded on bundle.social.
2373
+ */
2374
+ thumbnail?: string | null;
2072
2375
  } | null;
2073
2376
  INSTAGRAM?: {
2074
2377
  type?: 'POST' | 'REEL' | 'STORY';
2075
2378
  text?: string | null;
2076
2379
  uploadIds?: Array<(string)> | null;
2380
+ /**
2381
+ * Choose a frame of the published video as the cover photo in ms
2382
+ */
2383
+ thumbnailOffset?: number | null;
2384
+ /**
2385
+ * The URL to image uploaded on bundle.social.
2386
+ */
2387
+ thumbnail?: string | null;
2388
+ /**
2389
+ * 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.
2390
+ */
2391
+ shareToFeed?: boolean | null;
2077
2392
  } | null;
2078
2393
  THREADS?: {
2079
2394
  text?: string | null;
@@ -2116,6 +2431,10 @@ type PostCreateResponse = {
2116
2431
  LINKEDIN?: {
2117
2432
  text: string;
2118
2433
  uploadIds?: Array<(string)> | null;
2434
+ /**
2435
+ * The URL to image uploaded on bundle.social.
2436
+ */
2437
+ thumbnail?: string | null;
2119
2438
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
2120
2439
  /**
2121
2440
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -2131,6 +2450,10 @@ type PostCreateResponse = {
2131
2450
  uploadIds?: Array<(string)> | null;
2132
2451
  text?: string | null;
2133
2452
  description?: string | null;
2453
+ /**
2454
+ * The URL to image uploaded on bundle.social.
2455
+ */
2456
+ thumbnail?: string | null;
2134
2457
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
2135
2458
  /**
2136
2459
  * Set to true if the video is made for kids.
@@ -2183,6 +2506,10 @@ type PostCreateResponse = {
2183
2506
  MASTODON?: {
2184
2507
  text?: string | null;
2185
2508
  uploadIds?: Array<(string)> | null;
2509
+ /**
2510
+ * The URL to image uploaded on bundle.social.
2511
+ */
2512
+ thumbnail?: string | null;
2186
2513
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
2187
2514
  spoiler?: string | null;
2188
2515
  } | null;
@@ -2210,16 +2537,19 @@ type PostCreateResponse = {
2210
2537
  PINTEREST?: {
2211
2538
  id?: string | null;
2212
2539
  permalink?: string | null;
2540
+ thumbnail?: string | null;
2213
2541
  } | null;
2214
2542
  FACEBOOK?: {
2215
2543
  id?: string | null;
2216
2544
  postId?: string | null;
2217
2545
  videoId?: string | null;
2218
2546
  permalink?: string | null;
2547
+ thumbnail?: string;
2219
2548
  } | null;
2220
2549
  INSTAGRAM?: {
2221
2550
  id?: string | null;
2222
2551
  permalink?: string | null;
2552
+ thumbnail?: string;
2223
2553
  } | null;
2224
2554
  TIKTOK?: {
2225
2555
  id?: string | null;
@@ -2229,6 +2559,7 @@ type PostCreateResponse = {
2229
2559
  id?: string | null;
2230
2560
  activity?: string | null;
2231
2561
  permalink?: string | null;
2562
+ thumbnail?: string;
2232
2563
  } | null;
2233
2564
  REDDIT?: {
2234
2565
  id?: string | null;
@@ -2248,10 +2579,12 @@ type PostCreateResponse = {
2248
2579
  YOUTUBE?: {
2249
2580
  id?: string | null;
2250
2581
  permalink?: string | null;
2582
+ thumbnail?: string | null;
2251
2583
  } | null;
2252
2584
  MASTODON?: {
2253
2585
  id?: string | null;
2254
2586
  permalink?: string | null;
2587
+ thumbnail?: string | null;
2255
2588
  } | null;
2256
2589
  THREADS?: {
2257
2590
  id?: string | null;
@@ -2384,6 +2717,10 @@ type AnalyticsGetProfilePostResponse = {
2384
2717
  description?: string | null;
2385
2718
  boardName: string;
2386
2719
  uploadIds?: Array<(string)> | null;
2720
+ /**
2721
+ * The URL to image uploaded on bundle.social.
2722
+ */
2723
+ thumbnail?: string | null;
2387
2724
  /**
2388
2725
  * The URL to which the Pin will link to.
2389
2726
  */
@@ -2405,11 +2742,27 @@ type AnalyticsGetProfilePostResponse = {
2405
2742
  type?: 'POST' | 'REEL' | 'STORY';
2406
2743
  text?: string | null;
2407
2744
  uploadIds?: Array<(string)> | null;
2745
+ /**
2746
+ * The URL to image uploaded on bundle.social.
2747
+ */
2748
+ thumbnail?: string | null;
2408
2749
  } | null;
2409
2750
  INSTAGRAM?: {
2410
2751
  type?: 'POST' | 'REEL' | 'STORY';
2411
2752
  text?: string | null;
2412
2753
  uploadIds?: Array<(string)> | null;
2754
+ /**
2755
+ * Choose a frame of the published video as the cover photo in ms
2756
+ */
2757
+ thumbnailOffset?: number | null;
2758
+ /**
2759
+ * The URL to image uploaded on bundle.social.
2760
+ */
2761
+ thumbnail?: string | null;
2762
+ /**
2763
+ * 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.
2764
+ */
2765
+ shareToFeed?: boolean | null;
2413
2766
  } | null;
2414
2767
  THREADS?: {
2415
2768
  text?: string | null;
@@ -2452,6 +2805,10 @@ type AnalyticsGetProfilePostResponse = {
2452
2805
  LINKEDIN?: {
2453
2806
  text: string;
2454
2807
  uploadIds?: Array<(string)> | null;
2808
+ /**
2809
+ * The URL to image uploaded on bundle.social.
2810
+ */
2811
+ thumbnail?: string | null;
2455
2812
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
2456
2813
  /**
2457
2814
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -2467,6 +2824,10 @@ type AnalyticsGetProfilePostResponse = {
2467
2824
  uploadIds?: Array<(string)> | null;
2468
2825
  text?: string | null;
2469
2826
  description?: string | null;
2827
+ /**
2828
+ * The URL to image uploaded on bundle.social.
2829
+ */
2830
+ thumbnail?: string | null;
2470
2831
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
2471
2832
  /**
2472
2833
  * Set to true if the video is made for kids.
@@ -2519,6 +2880,10 @@ type AnalyticsGetProfilePostResponse = {
2519
2880
  MASTODON?: {
2520
2881
  text?: string | null;
2521
2882
  uploadIds?: Array<(string)> | null;
2883
+ /**
2884
+ * The URL to image uploaded on bundle.social.
2885
+ */
2886
+ thumbnail?: string | null;
2522
2887
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
2523
2888
  spoiler?: string | null;
2524
2889
  } | null;
@@ -2546,16 +2911,19 @@ type AnalyticsGetProfilePostResponse = {
2546
2911
  PINTEREST?: {
2547
2912
  id?: string | null;
2548
2913
  permalink?: string | null;
2914
+ thumbnail?: string | null;
2549
2915
  } | null;
2550
2916
  FACEBOOK?: {
2551
2917
  id?: string | null;
2552
2918
  postId?: string | null;
2553
2919
  videoId?: string | null;
2554
2920
  permalink?: string | null;
2921
+ thumbnail?: string;
2555
2922
  } | null;
2556
2923
  INSTAGRAM?: {
2557
2924
  id?: string | null;
2558
2925
  permalink?: string | null;
2926
+ thumbnail?: string;
2559
2927
  } | null;
2560
2928
  TIKTOK?: {
2561
2929
  id?: string | null;
@@ -2565,6 +2933,7 @@ type AnalyticsGetProfilePostResponse = {
2565
2933
  id?: string | null;
2566
2934
  activity?: string | null;
2567
2935
  permalink?: string | null;
2936
+ thumbnail?: string;
2568
2937
  } | null;
2569
2938
  REDDIT?: {
2570
2939
  id?: string | null;
@@ -2584,10 +2953,12 @@ type AnalyticsGetProfilePostResponse = {
2584
2953
  YOUTUBE?: {
2585
2954
  id?: string | null;
2586
2955
  permalink?: string | null;
2956
+ thumbnail?: string | null;
2587
2957
  } | null;
2588
2958
  MASTODON?: {
2589
2959
  id?: string | null;
2590
2960
  permalink?: string | null;
2961
+ thumbnail?: string | null;
2591
2962
  } | null;
2592
2963
  THREADS?: {
2593
2964
  id?: string | null;
@@ -2668,13 +3039,13 @@ type CommentGetResponse = {
2668
3039
  text?: string | null;
2669
3040
  } | null;
2670
3041
  LINKEDIN?: {
2671
- text: string;
3042
+ text?: string | null;
2672
3043
  } | null;
2673
3044
  YOUTUBE?: {
2674
3045
  text?: string | null;
2675
3046
  } | null;
2676
3047
  REDDIT?: {
2677
- text: string;
3048
+ text?: string | null;
2678
3049
  } | null;
2679
3050
  MASTODON?: {
2680
3051
  text?: string | null;
@@ -2772,13 +3143,13 @@ type CommentUpdateData = {
2772
3143
  text?: string | null;
2773
3144
  } | null;
2774
3145
  LINKEDIN?: {
2775
- text: string;
3146
+ text?: string | null;
2776
3147
  } | null;
2777
3148
  YOUTUBE?: {
2778
3149
  text?: string | null;
2779
3150
  } | null;
2780
3151
  REDDIT?: {
2781
- text: string;
3152
+ text?: string | null;
2782
3153
  } | null;
2783
3154
  MASTODON?: {
2784
3155
  text?: string | null;
@@ -2815,13 +3186,13 @@ type CommentUpdateResponse = {
2815
3186
  text?: string | null;
2816
3187
  } | null;
2817
3188
  LINKEDIN?: {
2818
- text: string;
3189
+ text?: string | null;
2819
3190
  } | null;
2820
3191
  YOUTUBE?: {
2821
3192
  text?: string | null;
2822
3193
  } | null;
2823
3194
  REDDIT?: {
2824
- text: string;
3195
+ text?: string | null;
2825
3196
  } | null;
2826
3197
  MASTODON?: {
2827
3198
  text?: string | null;
@@ -2919,13 +3290,13 @@ type CommentDeleteResponse = {
2919
3290
  text?: string | null;
2920
3291
  } | null;
2921
3292
  LINKEDIN?: {
2922
- text: string;
3293
+ text?: string | null;
2923
3294
  } | null;
2924
3295
  YOUTUBE?: {
2925
3296
  text?: string | null;
2926
3297
  } | null;
2927
3298
  REDDIT?: {
2928
- text: string;
3299
+ text?: string | null;
2929
3300
  } | null;
2930
3301
  MASTODON?: {
2931
3302
  text?: string | null;
@@ -3031,13 +3402,13 @@ type CommentGetListResponse = {
3031
3402
  text?: string | null;
3032
3403
  } | null;
3033
3404
  LINKEDIN?: {
3034
- text: string;
3405
+ text?: string | null;
3035
3406
  } | null;
3036
3407
  YOUTUBE?: {
3037
3408
  text?: string | null;
3038
3409
  } | null;
3039
3410
  REDDIT?: {
3040
- text: string;
3411
+ text?: string | null;
3041
3412
  } | null;
3042
3413
  MASTODON?: {
3043
3414
  text?: string | null;
@@ -3137,13 +3508,13 @@ type CommentCreateData = {
3137
3508
  text?: string | null;
3138
3509
  } | null;
3139
3510
  LINKEDIN?: {
3140
- text: string;
3511
+ text?: string | null;
3141
3512
  } | null;
3142
3513
  YOUTUBE?: {
3143
3514
  text?: string | null;
3144
3515
  } | null;
3145
3516
  REDDIT?: {
3146
- text: string;
3517
+ text?: string | null;
3147
3518
  } | null;
3148
3519
  MASTODON?: {
3149
3520
  text?: string | null;
@@ -3180,13 +3551,13 @@ type CommentCreateResponse = {
3180
3551
  text?: string | null;
3181
3552
  } | null;
3182
3553
  LINKEDIN?: {
3183
- text: string;
3554
+ text?: string | null;
3184
3555
  } | null;
3185
3556
  YOUTUBE?: {
3186
3557
  text?: string | null;
3187
3558
  } | null;
3188
3559
  REDDIT?: {
3189
- text: string;
3560
+ text?: string | null;
3190
3561
  } | null;
3191
3562
  MASTODON?: {
3192
3563
  text?: string | null;
@@ -3326,6 +3697,20 @@ type $OpenApiTs = {
3326
3697
  avatarUrl?: string | null;
3327
3698
  apiAccess?: boolean;
3328
3699
  ref?: string | null;
3700
+ dailyPostLimit?: {
3701
+ TWITTER?: number;
3702
+ FACEBOOK?: number;
3703
+ INSTAGRAM?: number;
3704
+ LINKEDIN?: number;
3705
+ YOUTUBE?: number;
3706
+ TIKTOK?: number;
3707
+ THREADS?: number;
3708
+ PINTEREST?: number;
3709
+ REDDIT?: number;
3710
+ DISCORD?: number;
3711
+ SLACK?: number;
3712
+ MASTODON?: number;
3713
+ } | null;
3329
3714
  createdAt: string | null;
3330
3715
  updatedAt: string | null;
3331
3716
  deletedAt?: string | null;
@@ -3525,6 +3910,20 @@ type $OpenApiTs = {
3525
3910
  avatarUrl?: string | null;
3526
3911
  apiAccess?: boolean;
3527
3912
  ref?: string | null;
3913
+ dailyPostLimit?: {
3914
+ TWITTER?: number;
3915
+ FACEBOOK?: number;
3916
+ INSTAGRAM?: number;
3917
+ LINKEDIN?: number;
3918
+ YOUTUBE?: number;
3919
+ TIKTOK?: number;
3920
+ THREADS?: number;
3921
+ PINTEREST?: number;
3922
+ REDDIT?: number;
3923
+ DISCORD?: number;
3924
+ SLACK?: number;
3925
+ MASTODON?: number;
3926
+ } | null;
3528
3927
  createdAt: string | null;
3529
3928
  updatedAt: string | null;
3530
3929
  deletedAt?: string | null;
@@ -4176,7 +4575,8 @@ type $OpenApiTs = {
4176
4575
  */
4177
4576
  200: Array<{
4178
4577
  id: string;
4179
- teamId: string;
4578
+ teamId?: string | null;
4579
+ organizationId?: string | null;
4180
4580
  expiresAt?: string | null;
4181
4581
  iconUrl?: string | null;
4182
4582
  thumbnailUrl?: string | null;
@@ -4251,7 +4651,8 @@ type $OpenApiTs = {
4251
4651
  */
4252
4652
  200: {
4253
4653
  id: string;
4254
- teamId: string;
4654
+ teamId?: string | null;
4655
+ organizationId?: string | null;
4255
4656
  expiresAt?: string | null;
4256
4657
  iconUrl?: string | null;
4257
4658
  thumbnailUrl?: string | null;
@@ -4319,7 +4720,8 @@ type $OpenApiTs = {
4319
4720
  */
4320
4721
  200: Array<{
4321
4722
  id: string;
4322
- teamId: string;
4723
+ teamId?: string | null;
4724
+ organizationId?: string | null;
4323
4725
  expiresAt?: string | null;
4324
4726
  iconUrl?: string | null;
4325
4727
  thumbnailUrl?: string | null;
@@ -4389,7 +4791,8 @@ type $OpenApiTs = {
4389
4791
  */
4390
4792
  200: {
4391
4793
  id: string;
4392
- teamId: string;
4794
+ teamId?: string | null;
4795
+ organizationId?: string | null;
4393
4796
  expiresAt?: string | null;
4394
4797
  iconUrl?: string | null;
4395
4798
  thumbnailUrl?: string | null;
@@ -4457,7 +4860,133 @@ type $OpenApiTs = {
4457
4860
  */
4458
4861
  200: {
4459
4862
  id: string;
4460
- teamId: string;
4863
+ teamId?: string | null;
4864
+ organizationId?: string | null;
4865
+ expiresAt?: string | null;
4866
+ iconUrl?: string | null;
4867
+ thumbnailUrl?: string | null;
4868
+ url?: string | null;
4869
+ iconPath?: string | null;
4870
+ thumbnailPath?: string | null;
4871
+ path?: string | null;
4872
+ type: 'image' | 'video';
4873
+ width?: number | null;
4874
+ height?: number | null;
4875
+ fileSize?: number | null;
4876
+ videoLength?: number | null;
4877
+ mime?: string | null;
4878
+ ext?: string | null;
4879
+ createdAt: string | null;
4880
+ updatedAt: string | null;
4881
+ };
4882
+ /**
4883
+ * 400
4884
+ */
4885
+ 400: {
4886
+ message: string;
4887
+ issues?: Array<{
4888
+ message: string;
4889
+ path?: Array<(string | number)> | null;
4890
+ }> | null;
4891
+ };
4892
+ /**
4893
+ * 401
4894
+ */
4895
+ 401: {
4896
+ message: string;
4897
+ };
4898
+ /**
4899
+ * 403
4900
+ */
4901
+ 403: {
4902
+ message: string;
4903
+ };
4904
+ /**
4905
+ * 404
4906
+ */
4907
+ 404: {
4908
+ message: string;
4909
+ };
4910
+ /**
4911
+ * 429
4912
+ */
4913
+ 429: {
4914
+ message: string;
4915
+ };
4916
+ /**
4917
+ * 500
4918
+ */
4919
+ 500: {
4920
+ message: string;
4921
+ };
4922
+ };
4923
+ };
4924
+ };
4925
+ '/api/v1/upload/init': {
4926
+ post: {
4927
+ req: UploadInitLargeUploadData;
4928
+ res: {
4929
+ /**
4930
+ * 200
4931
+ */
4932
+ 200: {
4933
+ url: string;
4934
+ path: string;
4935
+ };
4936
+ /**
4937
+ * 400
4938
+ */
4939
+ 400: {
4940
+ message: string;
4941
+ issues?: Array<{
4942
+ message: string;
4943
+ path?: Array<(string | number)> | null;
4944
+ }> | null;
4945
+ };
4946
+ /**
4947
+ * 401
4948
+ */
4949
+ 401: {
4950
+ message: string;
4951
+ };
4952
+ /**
4953
+ * 403
4954
+ */
4955
+ 403: {
4956
+ message: string;
4957
+ };
4958
+ /**
4959
+ * 404
4960
+ */
4961
+ 404: {
4962
+ message: string;
4963
+ };
4964
+ /**
4965
+ * 429
4966
+ */
4967
+ 429: {
4968
+ message: string;
4969
+ };
4970
+ /**
4971
+ * 500
4972
+ */
4973
+ 500: {
4974
+ message: string;
4975
+ };
4976
+ };
4977
+ };
4978
+ };
4979
+ '/api/v1/upload/finalize': {
4980
+ post: {
4981
+ req: UploadFinalizeLargeUploadData;
4982
+ res: {
4983
+ /**
4984
+ * 200
4985
+ */
4986
+ 200: {
4987
+ id: string;
4988
+ teamId?: string | null;
4989
+ organizationId?: string | null;
4461
4990
  expiresAt?: string | null;
4462
4991
  iconUrl?: string | null;
4463
4992
  thumbnailUrl?: string | null;
@@ -4542,6 +5071,10 @@ type $OpenApiTs = {
4542
5071
  description?: string | null;
4543
5072
  boardName: string;
4544
5073
  uploadIds?: Array<(string)> | null;
5074
+ /**
5075
+ * The URL to image uploaded on bundle.social.
5076
+ */
5077
+ thumbnail?: string | null;
4545
5078
  /**
4546
5079
  * The URL to which the Pin will link to.
4547
5080
  */
@@ -4563,11 +5096,27 @@ type $OpenApiTs = {
4563
5096
  type?: 'POST' | 'REEL' | 'STORY';
4564
5097
  text?: string | null;
4565
5098
  uploadIds?: Array<(string)> | null;
5099
+ /**
5100
+ * The URL to image uploaded on bundle.social.
5101
+ */
5102
+ thumbnail?: string | null;
4566
5103
  } | null;
4567
5104
  INSTAGRAM?: {
4568
5105
  type?: 'POST' | 'REEL' | 'STORY';
4569
5106
  text?: string | null;
4570
5107
  uploadIds?: Array<(string)> | null;
5108
+ /**
5109
+ * Choose a frame of the published video as the cover photo in ms
5110
+ */
5111
+ thumbnailOffset?: number | null;
5112
+ /**
5113
+ * The URL to image uploaded on bundle.social.
5114
+ */
5115
+ thumbnail?: string | null;
5116
+ /**
5117
+ * 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.
5118
+ */
5119
+ shareToFeed?: boolean | null;
4571
5120
  } | null;
4572
5121
  THREADS?: {
4573
5122
  text?: string | null;
@@ -4610,6 +5159,10 @@ type $OpenApiTs = {
4610
5159
  LINKEDIN?: {
4611
5160
  text: string;
4612
5161
  uploadIds?: Array<(string)> | null;
5162
+ /**
5163
+ * The URL to image uploaded on bundle.social.
5164
+ */
5165
+ thumbnail?: string | null;
4613
5166
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
4614
5167
  /**
4615
5168
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -4625,6 +5178,10 @@ type $OpenApiTs = {
4625
5178
  uploadIds?: Array<(string)> | null;
4626
5179
  text?: string | null;
4627
5180
  description?: string | null;
5181
+ /**
5182
+ * The URL to image uploaded on bundle.social.
5183
+ */
5184
+ thumbnail?: string | null;
4628
5185
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
4629
5186
  /**
4630
5187
  * Set to true if the video is made for kids.
@@ -4677,6 +5234,10 @@ type $OpenApiTs = {
4677
5234
  MASTODON?: {
4678
5235
  text?: string | null;
4679
5236
  uploadIds?: Array<(string)> | null;
5237
+ /**
5238
+ * The URL to image uploaded on bundle.social.
5239
+ */
5240
+ thumbnail?: string | null;
4680
5241
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
4681
5242
  spoiler?: string | null;
4682
5243
  } | null;
@@ -4704,16 +5265,19 @@ type $OpenApiTs = {
4704
5265
  PINTEREST?: {
4705
5266
  id?: string | null;
4706
5267
  permalink?: string | null;
5268
+ thumbnail?: string | null;
4707
5269
  } | null;
4708
5270
  FACEBOOK?: {
4709
5271
  id?: string | null;
4710
5272
  postId?: string | null;
4711
5273
  videoId?: string | null;
4712
5274
  permalink?: string | null;
5275
+ thumbnail?: string;
4713
5276
  } | null;
4714
5277
  INSTAGRAM?: {
4715
5278
  id?: string | null;
4716
5279
  permalink?: string | null;
5280
+ thumbnail?: string;
4717
5281
  } | null;
4718
5282
  TIKTOK?: {
4719
5283
  id?: string | null;
@@ -4723,6 +5287,7 @@ type $OpenApiTs = {
4723
5287
  id?: string | null;
4724
5288
  activity?: string | null;
4725
5289
  permalink?: string | null;
5290
+ thumbnail?: string;
4726
5291
  } | null;
4727
5292
  REDDIT?: {
4728
5293
  id?: string | null;
@@ -4742,10 +5307,12 @@ type $OpenApiTs = {
4742
5307
  YOUTUBE?: {
4743
5308
  id?: string | null;
4744
5309
  permalink?: string | null;
5310
+ thumbnail?: string | null;
4745
5311
  } | null;
4746
5312
  MASTODON?: {
4747
5313
  id?: string | null;
4748
5314
  permalink?: string | null;
5315
+ thumbnail?: string | null;
4749
5316
  } | null;
4750
5317
  THREADS?: {
4751
5318
  id?: string | null;
@@ -4763,7 +5330,8 @@ type $OpenApiTs = {
4763
5330
  deletedAt?: string | null;
4764
5331
  upload: {
4765
5332
  id: string;
4766
- teamId: string;
5333
+ teamId?: string | null;
5334
+ organizationId?: string | null;
4767
5335
  expiresAt?: string | null;
4768
5336
  iconUrl?: string | null;
4769
5337
  thumbnailUrl?: string | null;
@@ -4880,6 +5448,10 @@ type $OpenApiTs = {
4880
5448
  description?: string | null;
4881
5449
  boardName: string;
4882
5450
  uploadIds?: Array<(string)> | null;
5451
+ /**
5452
+ * The URL to image uploaded on bundle.social.
5453
+ */
5454
+ thumbnail?: string | null;
4883
5455
  /**
4884
5456
  * The URL to which the Pin will link to.
4885
5457
  */
@@ -4901,11 +5473,27 @@ type $OpenApiTs = {
4901
5473
  type?: 'POST' | 'REEL' | 'STORY';
4902
5474
  text?: string | null;
4903
5475
  uploadIds?: Array<(string)> | null;
5476
+ /**
5477
+ * The URL to image uploaded on bundle.social.
5478
+ */
5479
+ thumbnail?: string | null;
4904
5480
  } | null;
4905
5481
  INSTAGRAM?: {
4906
5482
  type?: 'POST' | 'REEL' | 'STORY';
4907
5483
  text?: string | null;
4908
5484
  uploadIds?: Array<(string)> | null;
5485
+ /**
5486
+ * Choose a frame of the published video as the cover photo in ms
5487
+ */
5488
+ thumbnailOffset?: number | null;
5489
+ /**
5490
+ * The URL to image uploaded on bundle.social.
5491
+ */
5492
+ thumbnail?: string | null;
5493
+ /**
5494
+ * 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.
5495
+ */
5496
+ shareToFeed?: boolean | null;
4909
5497
  } | null;
4910
5498
  THREADS?: {
4911
5499
  text?: string | null;
@@ -4948,6 +5536,10 @@ type $OpenApiTs = {
4948
5536
  LINKEDIN?: {
4949
5537
  text: string;
4950
5538
  uploadIds?: Array<(string)> | null;
5539
+ /**
5540
+ * The URL to image uploaded on bundle.social.
5541
+ */
5542
+ thumbnail?: string | null;
4951
5543
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
4952
5544
  /**
4953
5545
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -4963,6 +5555,10 @@ type $OpenApiTs = {
4963
5555
  uploadIds?: Array<(string)> | null;
4964
5556
  text?: string | null;
4965
5557
  description?: string | null;
5558
+ /**
5559
+ * The URL to image uploaded on bundle.social.
5560
+ */
5561
+ thumbnail?: string | null;
4966
5562
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
4967
5563
  /**
4968
5564
  * Set to true if the video is made for kids.
@@ -5015,6 +5611,10 @@ type $OpenApiTs = {
5015
5611
  MASTODON?: {
5016
5612
  text?: string | null;
5017
5613
  uploadIds?: Array<(string)> | null;
5614
+ /**
5615
+ * The URL to image uploaded on bundle.social.
5616
+ */
5617
+ thumbnail?: string | null;
5018
5618
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
5019
5619
  spoiler?: string | null;
5020
5620
  } | null;
@@ -5042,16 +5642,19 @@ type $OpenApiTs = {
5042
5642
  PINTEREST?: {
5043
5643
  id?: string | null;
5044
5644
  permalink?: string | null;
5645
+ thumbnail?: string | null;
5045
5646
  } | null;
5046
5647
  FACEBOOK?: {
5047
5648
  id?: string | null;
5048
5649
  postId?: string | null;
5049
5650
  videoId?: string | null;
5050
5651
  permalink?: string | null;
5652
+ thumbnail?: string;
5051
5653
  } | null;
5052
5654
  INSTAGRAM?: {
5053
5655
  id?: string | null;
5054
5656
  permalink?: string | null;
5657
+ thumbnail?: string;
5055
5658
  } | null;
5056
5659
  TIKTOK?: {
5057
5660
  id?: string | null;
@@ -5061,6 +5664,7 @@ type $OpenApiTs = {
5061
5664
  id?: string | null;
5062
5665
  activity?: string | null;
5063
5666
  permalink?: string | null;
5667
+ thumbnail?: string;
5064
5668
  } | null;
5065
5669
  REDDIT?: {
5066
5670
  id?: string | null;
@@ -5080,10 +5684,12 @@ type $OpenApiTs = {
5080
5684
  YOUTUBE?: {
5081
5685
  id?: string | null;
5082
5686
  permalink?: string | null;
5687
+ thumbnail?: string | null;
5083
5688
  } | null;
5084
5689
  MASTODON?: {
5085
5690
  id?: string | null;
5086
5691
  permalink?: string | null;
5692
+ thumbnail?: string | null;
5087
5693
  } | null;
5088
5694
  THREADS?: {
5089
5695
  id?: string | null;
@@ -5159,6 +5765,10 @@ type $OpenApiTs = {
5159
5765
  description?: string | null;
5160
5766
  boardName: string;
5161
5767
  uploadIds?: Array<(string)> | null;
5768
+ /**
5769
+ * The URL to image uploaded on bundle.social.
5770
+ */
5771
+ thumbnail?: string | null;
5162
5772
  /**
5163
5773
  * The URL to which the Pin will link to.
5164
5774
  */
@@ -5180,11 +5790,27 @@ type $OpenApiTs = {
5180
5790
  type?: 'POST' | 'REEL' | 'STORY';
5181
5791
  text?: string | null;
5182
5792
  uploadIds?: Array<(string)> | null;
5793
+ /**
5794
+ * The URL to image uploaded on bundle.social.
5795
+ */
5796
+ thumbnail?: string | null;
5183
5797
  } | null;
5184
5798
  INSTAGRAM?: {
5185
5799
  type?: 'POST' | 'REEL' | 'STORY';
5186
5800
  text?: string | null;
5187
5801
  uploadIds?: Array<(string)> | null;
5802
+ /**
5803
+ * Choose a frame of the published video as the cover photo in ms
5804
+ */
5805
+ thumbnailOffset?: number | null;
5806
+ /**
5807
+ * The URL to image uploaded on bundle.social.
5808
+ */
5809
+ thumbnail?: string | null;
5810
+ /**
5811
+ * 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.
5812
+ */
5813
+ shareToFeed?: boolean | null;
5188
5814
  } | null;
5189
5815
  THREADS?: {
5190
5816
  text?: string | null;
@@ -5227,6 +5853,10 @@ type $OpenApiTs = {
5227
5853
  LINKEDIN?: {
5228
5854
  text: string;
5229
5855
  uploadIds?: Array<(string)> | null;
5856
+ /**
5857
+ * The URL to image uploaded on bundle.social.
5858
+ */
5859
+ thumbnail?: string | null;
5230
5860
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
5231
5861
  /**
5232
5862
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -5242,6 +5872,10 @@ type $OpenApiTs = {
5242
5872
  uploadIds?: Array<(string)> | null;
5243
5873
  text?: string | null;
5244
5874
  description?: string | null;
5875
+ /**
5876
+ * The URL to image uploaded on bundle.social.
5877
+ */
5878
+ thumbnail?: string | null;
5245
5879
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
5246
5880
  /**
5247
5881
  * Set to true if the video is made for kids.
@@ -5294,6 +5928,10 @@ type $OpenApiTs = {
5294
5928
  MASTODON?: {
5295
5929
  text?: string | null;
5296
5930
  uploadIds?: Array<(string)> | null;
5931
+ /**
5932
+ * The URL to image uploaded on bundle.social.
5933
+ */
5934
+ thumbnail?: string | null;
5297
5935
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
5298
5936
  spoiler?: string | null;
5299
5937
  } | null;
@@ -5321,16 +5959,19 @@ type $OpenApiTs = {
5321
5959
  PINTEREST?: {
5322
5960
  id?: string | null;
5323
5961
  permalink?: string | null;
5962
+ thumbnail?: string | null;
5324
5963
  } | null;
5325
5964
  FACEBOOK?: {
5326
5965
  id?: string | null;
5327
5966
  postId?: string | null;
5328
5967
  videoId?: string | null;
5329
5968
  permalink?: string | null;
5969
+ thumbnail?: string;
5330
5970
  } | null;
5331
5971
  INSTAGRAM?: {
5332
5972
  id?: string | null;
5333
5973
  permalink?: string | null;
5974
+ thumbnail?: string;
5334
5975
  } | null;
5335
5976
  TIKTOK?: {
5336
5977
  id?: string | null;
@@ -5340,6 +5981,7 @@ type $OpenApiTs = {
5340
5981
  id?: string | null;
5341
5982
  activity?: string | null;
5342
5983
  permalink?: string | null;
5984
+ thumbnail?: string;
5343
5985
  } | null;
5344
5986
  REDDIT?: {
5345
5987
  id?: string | null;
@@ -5359,10 +6001,12 @@ type $OpenApiTs = {
5359
6001
  YOUTUBE?: {
5360
6002
  id?: string | null;
5361
6003
  permalink?: string | null;
6004
+ thumbnail?: string | null;
5362
6005
  } | null;
5363
6006
  MASTODON?: {
5364
6007
  id?: string | null;
5365
6008
  permalink?: string | null;
6009
+ thumbnail?: string | null;
5366
6010
  } | null;
5367
6011
  THREADS?: {
5368
6012
  id?: string | null;
@@ -5441,6 +6085,10 @@ type $OpenApiTs = {
5441
6085
  description?: string | null;
5442
6086
  boardName: string;
5443
6087
  uploadIds?: Array<(string)> | null;
6088
+ /**
6089
+ * The URL to image uploaded on bundle.social.
6090
+ */
6091
+ thumbnail?: string | null;
5444
6092
  /**
5445
6093
  * The URL to which the Pin will link to.
5446
6094
  */
@@ -5462,11 +6110,27 @@ type $OpenApiTs = {
5462
6110
  type?: 'POST' | 'REEL' | 'STORY';
5463
6111
  text?: string | null;
5464
6112
  uploadIds?: Array<(string)> | null;
6113
+ /**
6114
+ * The URL to image uploaded on bundle.social.
6115
+ */
6116
+ thumbnail?: string | null;
5465
6117
  } | null;
5466
6118
  INSTAGRAM?: {
5467
6119
  type?: 'POST' | 'REEL' | 'STORY';
5468
6120
  text?: string | null;
5469
6121
  uploadIds?: Array<(string)> | null;
6122
+ /**
6123
+ * Choose a frame of the published video as the cover photo in ms
6124
+ */
6125
+ thumbnailOffset?: number | null;
6126
+ /**
6127
+ * The URL to image uploaded on bundle.social.
6128
+ */
6129
+ thumbnail?: string | null;
6130
+ /**
6131
+ * 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.
6132
+ */
6133
+ shareToFeed?: boolean | null;
5470
6134
  } | null;
5471
6135
  THREADS?: {
5472
6136
  text?: string | null;
@@ -5509,6 +6173,10 @@ type $OpenApiTs = {
5509
6173
  LINKEDIN?: {
5510
6174
  text: string;
5511
6175
  uploadIds?: Array<(string)> | null;
6176
+ /**
6177
+ * The URL to image uploaded on bundle.social.
6178
+ */
6179
+ thumbnail?: string | null;
5512
6180
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
5513
6181
  /**
5514
6182
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -5524,6 +6192,10 @@ type $OpenApiTs = {
5524
6192
  uploadIds?: Array<(string)> | null;
5525
6193
  text?: string | null;
5526
6194
  description?: string | null;
6195
+ /**
6196
+ * The URL to image uploaded on bundle.social.
6197
+ */
6198
+ thumbnail?: string | null;
5527
6199
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
5528
6200
  /**
5529
6201
  * Set to true if the video is made for kids.
@@ -5576,6 +6248,10 @@ type $OpenApiTs = {
5576
6248
  MASTODON?: {
5577
6249
  text?: string | null;
5578
6250
  uploadIds?: Array<(string)> | null;
6251
+ /**
6252
+ * The URL to image uploaded on bundle.social.
6253
+ */
6254
+ thumbnail?: string | null;
5579
6255
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
5580
6256
  spoiler?: string | null;
5581
6257
  } | null;
@@ -5603,16 +6279,19 @@ type $OpenApiTs = {
5603
6279
  PINTEREST?: {
5604
6280
  id?: string | null;
5605
6281
  permalink?: string | null;
6282
+ thumbnail?: string | null;
5606
6283
  } | null;
5607
6284
  FACEBOOK?: {
5608
6285
  id?: string | null;
5609
6286
  postId?: string | null;
5610
6287
  videoId?: string | null;
5611
6288
  permalink?: string | null;
6289
+ thumbnail?: string;
5612
6290
  } | null;
5613
6291
  INSTAGRAM?: {
5614
6292
  id?: string | null;
5615
6293
  permalink?: string | null;
6294
+ thumbnail?: string;
5616
6295
  } | null;
5617
6296
  TIKTOK?: {
5618
6297
  id?: string | null;
@@ -5622,6 +6301,7 @@ type $OpenApiTs = {
5622
6301
  id?: string | null;
5623
6302
  activity?: string | null;
5624
6303
  permalink?: string | null;
6304
+ thumbnail?: string;
5625
6305
  } | null;
5626
6306
  REDDIT?: {
5627
6307
  id?: string | null;
@@ -5641,10 +6321,12 @@ type $OpenApiTs = {
5641
6321
  YOUTUBE?: {
5642
6322
  id?: string | null;
5643
6323
  permalink?: string | null;
6324
+ thumbnail?: string | null;
5644
6325
  } | null;
5645
6326
  MASTODON?: {
5646
6327
  id?: string | null;
5647
6328
  permalink?: string | null;
6329
+ thumbnail?: string | null;
5648
6330
  } | null;
5649
6331
  THREADS?: {
5650
6332
  id?: string | null;
@@ -5662,7 +6344,8 @@ type $OpenApiTs = {
5662
6344
  deletedAt?: string | null;
5663
6345
  upload: {
5664
6346
  id: string;
5665
- teamId: string;
6347
+ teamId?: string | null;
6348
+ organizationId?: string | null;
5666
6349
  expiresAt?: string | null;
5667
6350
  iconUrl?: string | null;
5668
6351
  thumbnailUrl?: string | null;
@@ -5781,6 +6464,10 @@ type $OpenApiTs = {
5781
6464
  description?: string | null;
5782
6465
  boardName: string;
5783
6466
  uploadIds?: Array<(string)> | null;
6467
+ /**
6468
+ * The URL to image uploaded on bundle.social.
6469
+ */
6470
+ thumbnail?: string | null;
5784
6471
  /**
5785
6472
  * The URL to which the Pin will link to.
5786
6473
  */
@@ -5802,11 +6489,27 @@ type $OpenApiTs = {
5802
6489
  type?: 'POST' | 'REEL' | 'STORY';
5803
6490
  text?: string | null;
5804
6491
  uploadIds?: Array<(string)> | null;
6492
+ /**
6493
+ * The URL to image uploaded on bundle.social.
6494
+ */
6495
+ thumbnail?: string | null;
5805
6496
  } | null;
5806
6497
  INSTAGRAM?: {
5807
6498
  type?: 'POST' | 'REEL' | 'STORY';
5808
6499
  text?: string | null;
5809
6500
  uploadIds?: Array<(string)> | null;
6501
+ /**
6502
+ * Choose a frame of the published video as the cover photo in ms
6503
+ */
6504
+ thumbnailOffset?: number | null;
6505
+ /**
6506
+ * The URL to image uploaded on bundle.social.
6507
+ */
6508
+ thumbnail?: string | null;
6509
+ /**
6510
+ * 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.
6511
+ */
6512
+ shareToFeed?: boolean | null;
5810
6513
  } | null;
5811
6514
  THREADS?: {
5812
6515
  text?: string | null;
@@ -5849,6 +6552,10 @@ type $OpenApiTs = {
5849
6552
  LINKEDIN?: {
5850
6553
  text: string;
5851
6554
  uploadIds?: Array<(string)> | null;
6555
+ /**
6556
+ * The URL to image uploaded on bundle.social.
6557
+ */
6558
+ thumbnail?: string | null;
5852
6559
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
5853
6560
  /**
5854
6561
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -5864,6 +6571,10 @@ type $OpenApiTs = {
5864
6571
  uploadIds?: Array<(string)> | null;
5865
6572
  text?: string | null;
5866
6573
  description?: string | null;
6574
+ /**
6575
+ * The URL to image uploaded on bundle.social.
6576
+ */
6577
+ thumbnail?: string | null;
5867
6578
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
5868
6579
  /**
5869
6580
  * Set to true if the video is made for kids.
@@ -5916,6 +6627,10 @@ type $OpenApiTs = {
5916
6627
  MASTODON?: {
5917
6628
  text?: string | null;
5918
6629
  uploadIds?: Array<(string)> | null;
6630
+ /**
6631
+ * The URL to image uploaded on bundle.social.
6632
+ */
6633
+ thumbnail?: string | null;
5919
6634
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
5920
6635
  spoiler?: string | null;
5921
6636
  } | null;
@@ -5943,16 +6658,19 @@ type $OpenApiTs = {
5943
6658
  PINTEREST?: {
5944
6659
  id?: string | null;
5945
6660
  permalink?: string | null;
6661
+ thumbnail?: string | null;
5946
6662
  } | null;
5947
6663
  FACEBOOK?: {
5948
6664
  id?: string | null;
5949
6665
  postId?: string | null;
5950
6666
  videoId?: string | null;
5951
6667
  permalink?: string | null;
6668
+ thumbnail?: string;
5952
6669
  } | null;
5953
6670
  INSTAGRAM?: {
5954
6671
  id?: string | null;
5955
6672
  permalink?: string | null;
6673
+ thumbnail?: string;
5956
6674
  } | null;
5957
6675
  TIKTOK?: {
5958
6676
  id?: string | null;
@@ -5962,6 +6680,7 @@ type $OpenApiTs = {
5962
6680
  id?: string | null;
5963
6681
  activity?: string | null;
5964
6682
  permalink?: string | null;
6683
+ thumbnail?: string;
5965
6684
  } | null;
5966
6685
  REDDIT?: {
5967
6686
  id?: string | null;
@@ -5981,10 +6700,12 @@ type $OpenApiTs = {
5981
6700
  YOUTUBE?: {
5982
6701
  id?: string | null;
5983
6702
  permalink?: string | null;
6703
+ thumbnail?: string | null;
5984
6704
  } | null;
5985
6705
  MASTODON?: {
5986
6706
  id?: string | null;
5987
6707
  permalink?: string | null;
6708
+ thumbnail?: string | null;
5988
6709
  } | null;
5989
6710
  THREADS?: {
5990
6711
  id?: string | null;
@@ -6256,6 +6977,10 @@ type $OpenApiTs = {
6256
6977
  description?: string | null;
6257
6978
  boardName: string;
6258
6979
  uploadIds?: Array<(string)> | null;
6980
+ /**
6981
+ * The URL to image uploaded on bundle.social.
6982
+ */
6983
+ thumbnail?: string | null;
6259
6984
  /**
6260
6985
  * The URL to which the Pin will link to.
6261
6986
  */
@@ -6277,11 +7002,27 @@ type $OpenApiTs = {
6277
7002
  type?: 'POST' | 'REEL' | 'STORY';
6278
7003
  text?: string | null;
6279
7004
  uploadIds?: Array<(string)> | null;
7005
+ /**
7006
+ * The URL to image uploaded on bundle.social.
7007
+ */
7008
+ thumbnail?: string | null;
6280
7009
  } | null;
6281
7010
  INSTAGRAM?: {
6282
7011
  type?: 'POST' | 'REEL' | 'STORY';
6283
7012
  text?: string | null;
6284
7013
  uploadIds?: Array<(string)> | null;
7014
+ /**
7015
+ * Choose a frame of the published video as the cover photo in ms
7016
+ */
7017
+ thumbnailOffset?: number | null;
7018
+ /**
7019
+ * The URL to image uploaded on bundle.social.
7020
+ */
7021
+ thumbnail?: string | null;
7022
+ /**
7023
+ * 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.
7024
+ */
7025
+ shareToFeed?: boolean | null;
6285
7026
  } | null;
6286
7027
  THREADS?: {
6287
7028
  text?: string | null;
@@ -6324,6 +7065,10 @@ type $OpenApiTs = {
6324
7065
  LINKEDIN?: {
6325
7066
  text: string;
6326
7067
  uploadIds?: Array<(string)> | null;
7068
+ /**
7069
+ * The URL to image uploaded on bundle.social.
7070
+ */
7071
+ thumbnail?: string | null;
6327
7072
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
6328
7073
  /**
6329
7074
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -6339,6 +7084,10 @@ type $OpenApiTs = {
6339
7084
  uploadIds?: Array<(string)> | null;
6340
7085
  text?: string | null;
6341
7086
  description?: string | null;
7087
+ /**
7088
+ * The URL to image uploaded on bundle.social.
7089
+ */
7090
+ thumbnail?: string | null;
6342
7091
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
6343
7092
  /**
6344
7093
  * Set to true if the video is made for kids.
@@ -6391,6 +7140,10 @@ type $OpenApiTs = {
6391
7140
  MASTODON?: {
6392
7141
  text?: string | null;
6393
7142
  uploadIds?: Array<(string)> | null;
7143
+ /**
7144
+ * The URL to image uploaded on bundle.social.
7145
+ */
7146
+ thumbnail?: string | null;
6394
7147
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
6395
7148
  spoiler?: string | null;
6396
7149
  } | null;
@@ -6418,16 +7171,19 @@ type $OpenApiTs = {
6418
7171
  PINTEREST?: {
6419
7172
  id?: string | null;
6420
7173
  permalink?: string | null;
7174
+ thumbnail?: string | null;
6421
7175
  } | null;
6422
7176
  FACEBOOK?: {
6423
7177
  id?: string | null;
6424
7178
  postId?: string | null;
6425
7179
  videoId?: string | null;
6426
7180
  permalink?: string | null;
7181
+ thumbnail?: string;
6427
7182
  } | null;
6428
7183
  INSTAGRAM?: {
6429
7184
  id?: string | null;
6430
7185
  permalink?: string | null;
7186
+ thumbnail?: string;
6431
7187
  } | null;
6432
7188
  TIKTOK?: {
6433
7189
  id?: string | null;
@@ -6437,6 +7193,7 @@ type $OpenApiTs = {
6437
7193
  id?: string | null;
6438
7194
  activity?: string | null;
6439
7195
  permalink?: string | null;
7196
+ thumbnail?: string;
6440
7197
  } | null;
6441
7198
  REDDIT?: {
6442
7199
  id?: string | null;
@@ -6456,10 +7213,12 @@ type $OpenApiTs = {
6456
7213
  YOUTUBE?: {
6457
7214
  id?: string | null;
6458
7215
  permalink?: string | null;
7216
+ thumbnail?: string | null;
6459
7217
  } | null;
6460
7218
  MASTODON?: {
6461
7219
  id?: string | null;
6462
7220
  permalink?: string | null;
7221
+ thumbnail?: string | null;
6463
7222
  } | null;
6464
7223
  THREADS?: {
6465
7224
  id?: string | null;
@@ -6587,13 +7346,13 @@ type $OpenApiTs = {
6587
7346
  text?: string | null;
6588
7347
  } | null;
6589
7348
  LINKEDIN?: {
6590
- text: string;
7349
+ text?: string | null;
6591
7350
  } | null;
6592
7351
  YOUTUBE?: {
6593
7352
  text?: string | null;
6594
7353
  } | null;
6595
7354
  REDDIT?: {
6596
- text: string;
7355
+ text?: string | null;
6597
7356
  } | null;
6598
7357
  MASTODON?: {
6599
7358
  text?: string | null;
@@ -6736,13 +7495,13 @@ type $OpenApiTs = {
6736
7495
  text?: string | null;
6737
7496
  } | null;
6738
7497
  LINKEDIN?: {
6739
- text: string;
7498
+ text?: string | null;
6740
7499
  } | null;
6741
7500
  YOUTUBE?: {
6742
7501
  text?: string | null;
6743
7502
  } | null;
6744
7503
  REDDIT?: {
6745
- text: string;
7504
+ text?: string | null;
6746
7505
  } | null;
6747
7506
  MASTODON?: {
6748
7507
  text?: string | null;
@@ -6885,13 +7644,13 @@ type $OpenApiTs = {
6885
7644
  text?: string | null;
6886
7645
  } | null;
6887
7646
  LINKEDIN?: {
6888
- text: string;
7647
+ text?: string | null;
6889
7648
  } | null;
6890
7649
  YOUTUBE?: {
6891
7650
  text?: string | null;
6892
7651
  } | null;
6893
7652
  REDDIT?: {
6894
- text: string;
7653
+ text?: string | null;
6895
7654
  } | null;
6896
7655
  MASTODON?: {
6897
7656
  text?: string | null;
@@ -7037,13 +7796,13 @@ type $OpenApiTs = {
7037
7796
  text?: string | null;
7038
7797
  } | null;
7039
7798
  LINKEDIN?: {
7040
- text: string;
7799
+ text?: string | null;
7041
7800
  } | null;
7042
7801
  YOUTUBE?: {
7043
7802
  text?: string | null;
7044
7803
  } | null;
7045
7804
  REDDIT?: {
7046
- text: string;
7805
+ text?: string | null;
7047
7806
  } | null;
7048
7807
  MASTODON?: {
7049
7808
  text?: string | null;
@@ -7188,13 +7947,13 @@ type $OpenApiTs = {
7188
7947
  text?: string | null;
7189
7948
  } | null;
7190
7949
  LINKEDIN?: {
7191
- text: string;
7950
+ text?: string | null;
7192
7951
  } | null;
7193
7952
  YOUTUBE?: {
7194
7953
  text?: string | null;
7195
7954
  } | null;
7196
7955
  REDDIT?: {
7197
- text: string;
7956
+ text?: string | null;
7198
7957
  } | null;
7199
7958
  MASTODON?: {
7200
7959
  text?: string | null;
@@ -7427,7 +8186,7 @@ declare class UploadService {
7427
8186
  * @returns unknown 200
7428
8187
  * @throws ApiError
7429
8188
  */
7430
- uploadGetList(data: UploadGetListData): CancelablePromise<UploadGetListResponse>;
8189
+ uploadGetList(data?: UploadGetListData): CancelablePromise<UploadGetListResponse>;
7431
8190
  /**
7432
8191
  * Create upload
7433
8192
  * Upload a file. This is the only endpoint that uses multipart/form-data.
@@ -7461,6 +8220,24 @@ declare class UploadService {
7461
8220
  * @throws ApiError
7462
8221
  */
7463
8222
  uploadDelete(data: UploadDeleteData): CancelablePromise<UploadDeleteResponse>;
8223
+ /**
8224
+ * Initialize large upload
8225
+ * Initialize large upload, you need to initialize a large upload if your file is larger than 90 MB.
8226
+ * @param data The data for the request.
8227
+ * @param data.requestBody Body
8228
+ * @returns unknown 200
8229
+ * @throws ApiError
8230
+ */
8231
+ uploadInitLargeUpload(data?: UploadInitLargeUploadData): CancelablePromise<UploadInitLargeUploadResponse>;
8232
+ /**
8233
+ * Finalize large upload
8234
+ * Finalize large upload.
8235
+ * @param data The data for the request.
8236
+ * @param data.requestBody Body
8237
+ * @returns unknown 200
8238
+ * @throws ApiError
8239
+ */
8240
+ uploadFinalizeLargeUpload(data?: UploadFinalizeLargeUploadData): CancelablePromise<UploadFinalizeLargeUploadResponse>;
7464
8241
  }
7465
8242
  declare class PostService {
7466
8243
  readonly httpRequest: BaseHttpRequest;
@@ -7657,4 +8434,4 @@ declare class Bundlesocial extends Client {
7657
8434
  constructor(apiKey: string, options?: OpenAPIConfig);
7658
8435
  }
7659
8436
 
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 };
8437
+ 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, UploadFinalizeLargeUploadData, UploadFinalizeLargeUploadResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, UploadInitLargeUploadData, UploadInitLargeUploadResponse, WebhookEvent, WebhookEventType };