bundlesocial 2.7.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;
@@ -2262,186 +2595,457 @@ type PostCreateResponse = {
2262
2595
  updatedAt: string | null;
2263
2596
  deletedAt?: string | null;
2264
2597
  };
2265
- type CommentGetData = {
2266
- id: string;
2598
+ type AnalyticsGetProfileAnalyticsData = {
2599
+ platformType: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'REDDIT' | 'PINTEREST' | 'MASTODON';
2600
+ teamId: string;
2267
2601
  };
2268
- type CommentGetResponse = {
2602
+ type AnalyticsGetProfileAnalyticsResponse = Array<{
2269
2603
  id: string;
2604
+ socialAccountId: string;
2605
+ impressions: number;
2606
+ impressionsUnique: number;
2607
+ views: number;
2608
+ viewsUnique: number;
2609
+ likes: number;
2610
+ comments: number;
2611
+ postCount: number;
2612
+ followers: number;
2613
+ following: number;
2614
+ raw?: unknown;
2615
+ createdAt: string | null;
2616
+ updatedAt: string | null;
2617
+ deletedAt?: string | null;
2618
+ }>;
2619
+ type AnalyticsGetProfilePostsData = {
2620
+ platformType: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'REDDIT' | 'PINTEREST' | 'MASTODON';
2270
2621
  teamId: string;
2271
- internalPostId: string;
2272
- internalParentCommentId?: string | null;
2273
- text: string;
2274
- postDate: string | null;
2275
- postedDate?: string | null;
2276
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
2277
- data: {
2278
- FACEBOOK?: {
2279
- text?: string | null;
2280
- } | null;
2281
- INSTAGRAM?: {
2282
- text?: string | null;
2283
- } | null;
2284
- THREADS?: {
2285
- text?: string | null;
2286
- } | null;
2287
- TIKTOK?: {
2288
- text?: string | null;
2289
- } | null;
2290
- LINKEDIN?: {
2291
- text: string;
2292
- } | null;
2293
- YOUTUBE?: {
2294
- text?: string | null;
2295
- } | null;
2296
- REDDIT?: {
2297
- text: string;
2298
- } | null;
2299
- MASTODON?: {
2300
- text?: string | null;
2301
- } | null;
2302
- DISCORD?: {
2303
- text?: string | null;
2304
- } | null;
2305
- SLACK?: {
2306
- text?: string | null;
2307
- } | null;
2622
+ };
2623
+ type AnalyticsGetProfilePostsResponse = Array<{
2624
+ id: string;
2625
+ socialAccountId: string;
2626
+ postId?: string | null;
2627
+ externalId?: string | null;
2628
+ title?: string | null;
2629
+ description?: string | null;
2630
+ smallThumbnail?: string | null;
2631
+ thumbnail?: string | null;
2632
+ permalink?: string | null;
2633
+ subreddit?: string | null;
2634
+ publishedAt?: string | null;
2635
+ type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
2636
+ init: boolean;
2637
+ createdAt: string | null;
2638
+ updatedAt: string | null;
2639
+ deletedAt?: string | null;
2640
+ }>;
2641
+ type AnalyticsGetProfilePostData = {
2642
+ id: string;
2643
+ };
2644
+ type AnalyticsGetProfilePostResponse = {
2645
+ id: string;
2646
+ socialAccountId: string;
2647
+ postId?: string | null;
2648
+ externalId?: string | null;
2649
+ title?: string | null;
2650
+ description?: string | null;
2651
+ smallThumbnail?: string | null;
2652
+ thumbnail?: string | null;
2653
+ permalink?: string | null;
2654
+ subreddit?: string | null;
2655
+ publishedAt?: string | null;
2656
+ type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
2657
+ init: boolean;
2658
+ createdAt: string | null;
2659
+ updatedAt: string | null;
2660
+ deletedAt?: string | null;
2661
+ analytics: Array<{
2662
+ id: string;
2663
+ profilePostId: string;
2664
+ impressions: number;
2665
+ impressionsUnique: number;
2666
+ views: number;
2667
+ viewsUnique: number;
2668
+ likes: number;
2669
+ dislikes: number;
2670
+ comments: number;
2671
+ shares: number;
2672
+ saves: number;
2673
+ raw?: unknown;
2674
+ createdAt: string | null;
2675
+ updatedAt: string | null;
2676
+ deletedAt?: string | null;
2677
+ }>;
2678
+ socialAccount: {
2679
+ id: string;
2680
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
2681
+ teamId: string;
2682
+ username?: string | null;
2683
+ displayName?: string | null;
2684
+ externalId?: string | null;
2685
+ userUsername?: string | null;
2686
+ userDisplayName?: string | null;
2687
+ userId?: string | null;
2688
+ channels?: Array<{
2689
+ id: string;
2690
+ name?: string | null;
2691
+ username?: string | null;
2692
+ webhook?: {
2693
+ id?: string | null;
2694
+ name?: string | null;
2695
+ avatar?: string | null;
2696
+ url?: string | null;
2697
+ } | null;
2698
+ }> | null;
2699
+ createdAt: string | null;
2700
+ updatedAt: string | null;
2701
+ deletedAt?: string | null;
2308
2702
  };
2309
- error?: string | null;
2310
- errors?: {
2311
- FACEBOOK?: string | null;
2312
- INSTAGRAM?: string | null;
2313
- TIKTOK?: string | null;
2314
- LINKEDIN?: string | null;
2315
- REDDIT?: string | null;
2316
- YOUTUBE?: string | null;
2317
- MASTODON?: string | null;
2318
- THREADS?: string | null;
2319
- DISCORD?: string | null;
2320
- SLACK?: string | null;
2321
- } | null;
2322
- externalData?: {
2323
- FACEBOOK?: {
2324
- id?: string | null;
2325
- permalink?: string | null;
2326
- } | null;
2327
- INSTAGRAM?: {
2328
- id?: string | null;
2329
- permalink?: string | null;
2330
- } | null;
2331
- TIKTOK?: {
2332
- id?: string | null;
2333
- permalink?: string | null;
2334
- } | null;
2335
- LINKEDIN?: {
2336
- id?: string | null;
2337
- commentUrn?: string | null;
2338
- permalink?: string | null;
2339
- } | null;
2340
- REDDIT?: {
2341
- id?: string | null;
2342
- permalink?: string | null;
2343
- } | null;
2344
- YOUTUBE?: {
2345
- id?: string | null;
2346
- permalink?: string | null;
2347
- } | null;
2348
- MASTODON?: {
2349
- id?: string | null;
2350
- permalink?: string | null;
2351
- } | null;
2352
- THREADS?: {
2353
- id?: string | null;
2354
- permalink?: string | null;
2355
- } | null;
2356
- DISCORD?: {
2357
- id?: string | null;
2358
- permalink?: string | null;
2359
- } | null;
2360
- SLACK?: {
2361
- id?: string | null;
2362
- permalink?: string | null;
2363
- } | null;
2364
- } | null;
2365
- createdAt: string | null;
2366
- updatedAt: string | null;
2367
- deletedAt?: string | null;
2368
- };
2369
- type CommentUpdateData = {
2370
- id: string;
2371
- /**
2372
- * Body
2373
- */
2374
- requestBody?: {
2375
- text?: string;
2376
- internalPostId?: string;
2377
- internalParentCommentId?: string | null;
2378
- postDate?: string;
2379
- status?: 'DRAFT' | 'SCHEDULED';
2380
- socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
2381
- data?: {
2703
+ post?: {
2704
+ id: string;
2705
+ teamId: string;
2706
+ title: string;
2707
+ postDate: string | null;
2708
+ postedDate?: string | null;
2709
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
2710
+ data: {
2711
+ TWITTER?: {
2712
+ text?: string | null;
2713
+ uploadIds?: Array<(string)> | null;
2714
+ } | null;
2715
+ PINTEREST?: {
2716
+ text?: string | null;
2717
+ description?: string | null;
2718
+ boardName: string;
2719
+ uploadIds?: Array<(string)> | null;
2720
+ /**
2721
+ * The URL to image uploaded on bundle.social.
2722
+ */
2723
+ thumbnail?: string | null;
2724
+ /**
2725
+ * The URL to which the Pin will link to.
2726
+ */
2727
+ link?: string | null;
2728
+ /**
2729
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
2730
+ */
2731
+ altText?: string | null;
2732
+ /**
2733
+ * A note about the Pin. This is not visible to the public.
2734
+ */
2735
+ note?: string | null;
2736
+ /**
2737
+ * The dominant color of the image. This is used to display the image before it's loaded.
2738
+ */
2739
+ dominantColor?: string | null;
2740
+ } | null;
2382
2741
  FACEBOOK?: {
2742
+ type?: 'POST' | 'REEL' | 'STORY';
2383
2743
  text?: string | null;
2744
+ uploadIds?: Array<(string)> | null;
2745
+ /**
2746
+ * The URL to image uploaded on bundle.social.
2747
+ */
2748
+ thumbnail?: string | null;
2384
2749
  } | null;
2385
2750
  INSTAGRAM?: {
2751
+ type?: 'POST' | 'REEL' | 'STORY';
2386
2752
  text?: string | null;
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;
2387
2766
  } | null;
2388
2767
  THREADS?: {
2389
2768
  text?: string | null;
2769
+ uploadIds?: Array<(string)> | null;
2390
2770
  } | null;
2391
2771
  TIKTOK?: {
2772
+ type?: 'VIDEO' | 'IMAGE';
2392
2773
  text?: string | null;
2774
+ uploadIds?: Array<(string)> | null;
2775
+ privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
2776
+ /**
2777
+ * Set to true if the video is a paid partnership to promote a third-party business.
2778
+ */
2779
+ isBrandContent?: boolean | null;
2780
+ /**
2781
+ * Set to true if this video is promoting the creator's own business.
2782
+ */
2783
+ isOrganicBrandContent?: boolean | null;
2784
+ /**
2785
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
2786
+ */
2787
+ disableComments?: boolean | null;
2788
+ /**
2789
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
2790
+ */
2791
+ disableDuet?: boolean | null;
2792
+ /**
2793
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
2794
+ */
2795
+ disableStitch?: boolean | null;
2796
+ /**
2797
+ * Choose a frame of the published video as the cover photo in ms
2798
+ */
2799
+ thumbnailOffset?: number | null;
2800
+ /**
2801
+ * Set to true if this video is AI generated.
2802
+ */
2803
+ isAiGenerated?: boolean | null;
2393
2804
  } | null;
2394
2805
  LINKEDIN?: {
2395
2806
  text: string;
2807
+ uploadIds?: Array<(string)> | null;
2808
+ /**
2809
+ * The URL to image uploaded on bundle.social.
2810
+ */
2811
+ thumbnail?: string | null;
2812
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
2813
+ /**
2814
+ * Set to true if the post shouldn't be displayed in the main feed.
2815
+ */
2816
+ hideFromFeed?: boolean | null;
2817
+ /**
2818
+ * Set to true if the post is not allowed to be reshared.
2819
+ */
2820
+ disableReshare?: boolean | null;
2396
2821
  } | null;
2397
2822
  YOUTUBE?: {
2823
+ type?: 'VIDEO' | 'SHORT';
2824
+ uploadIds?: Array<(string)> | null;
2398
2825
  text?: string | null;
2826
+ description?: string | null;
2827
+ /**
2828
+ * The URL to image uploaded on bundle.social.
2829
+ */
2830
+ thumbnail?: string | null;
2831
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
2832
+ /**
2833
+ * Set to true if the video is made for kids.
2834
+ */
2835
+ madeForKids?: boolean | null;
2399
2836
  } | null;
2400
2837
  REDDIT?: {
2838
+ /**
2839
+ * Subreddit name. Example: r/subredditName or u/username
2840
+ */
2841
+ sr: string;
2401
2842
  text: string;
2402
- } | null;
2403
- MASTODON?: {
2404
- text?: string | null;
2843
+ description?: string | null;
2844
+ uploadIds?: Array<(string)> | null;
2845
+ /**
2846
+ * The URL to which the post will link to.
2847
+ */
2848
+ link?: string | null;
2849
+ /**
2850
+ * Set to true if the post is NSFW.
2851
+ */
2852
+ nsfw?: boolean | null;
2405
2853
  } | null;
2406
2854
  DISCORD?: {
2855
+ channelId: string;
2407
2856
  text?: string | null;
2857
+ uploadIds?: Array<(string)> | null;
2858
+ /**
2859
+ * The username to display as the author of the message.
2860
+ */
2861
+ username?: string | null;
2862
+ /**
2863
+ * Avatar url to display as the author of the message.
2864
+ */
2865
+ avatarUrl?: string | null;
2408
2866
  } | null;
2409
2867
  SLACK?: {
2868
+ channelId: string;
2869
+ text?: string | null;
2870
+ uploadIds?: Array<(string)> | null;
2871
+ /**
2872
+ * The username to display as the author of the message.
2873
+ */
2874
+ username?: string | null;
2875
+ /**
2876
+ * Avatar url to display as the author of the message.
2877
+ */
2878
+ avatarUrl?: string | null;
2879
+ } | null;
2880
+ MASTODON?: {
2410
2881
  text?: string | null;
2882
+ uploadIds?: Array<(string)> | null;
2883
+ /**
2884
+ * The URL to image uploaded on bundle.social.
2885
+ */
2886
+ thumbnail?: string | null;
2887
+ privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
2888
+ spoiler?: string | null;
2411
2889
  } | null;
2412
2890
  };
2413
- };
2414
- };
2415
- type CommentUpdateResponse = {
2416
- id: string;
2417
- teamId: string;
2418
- internalPostId: string;
2419
- internalParentCommentId?: string | null;
2420
- text: string;
2421
- postDate: string | null;
2422
- postedDate?: string | null;
2423
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
2424
- data: {
2425
- FACEBOOK?: {
2426
- text?: string | null;
2427
- } | null;
2428
- INSTAGRAM?: {
2429
- text?: string | null;
2430
- } | null;
2431
- THREADS?: {
2432
- text?: string | null;
2891
+ error?: string | null;
2892
+ errors?: {
2893
+ TWITTER?: string | null;
2894
+ PINTEREST?: string | null;
2895
+ FACEBOOK?: string | null;
2896
+ INSTAGRAM?: string | null;
2897
+ TIKTOK?: string | null;
2898
+ LINKEDIN?: string | null;
2899
+ REDDIT?: string | null;
2900
+ DISCORD?: string | null;
2901
+ SLACK?: string | null;
2902
+ YOUTUBE?: string | null;
2903
+ MASTODON?: string | null;
2904
+ THREADS?: string | null;
2433
2905
  } | null;
2434
- TIKTOK?: {
2906
+ externalData?: {
2907
+ TWITTER?: {
2908
+ id?: string | null;
2909
+ permalink?: string | null;
2910
+ } | null;
2911
+ PINTEREST?: {
2912
+ id?: string | null;
2913
+ permalink?: string | null;
2914
+ thumbnail?: string | null;
2915
+ } | null;
2916
+ FACEBOOK?: {
2917
+ id?: string | null;
2918
+ postId?: string | null;
2919
+ videoId?: string | null;
2920
+ permalink?: string | null;
2921
+ thumbnail?: string;
2922
+ } | null;
2923
+ INSTAGRAM?: {
2924
+ id?: string | null;
2925
+ permalink?: string | null;
2926
+ thumbnail?: string;
2927
+ } | null;
2928
+ TIKTOK?: {
2929
+ id?: string | null;
2930
+ permalink?: string | null;
2931
+ } | null;
2932
+ LINKEDIN?: {
2933
+ id?: string | null;
2934
+ activity?: string | null;
2935
+ permalink?: string | null;
2936
+ thumbnail?: string;
2937
+ } | null;
2938
+ REDDIT?: {
2939
+ id?: string | null;
2940
+ permalink?: string | null;
2941
+ subreddit_name?: string | null;
2942
+ } | null;
2943
+ DISCORD?: {
2944
+ id?: string | null;
2945
+ permalink?: string | null;
2946
+ channelId?: string | null;
2947
+ } | null;
2948
+ SLACK?: {
2949
+ id?: string | null;
2950
+ permalink?: string | null;
2951
+ channelId?: string | null;
2952
+ } | null;
2953
+ YOUTUBE?: {
2954
+ id?: string | null;
2955
+ permalink?: string | null;
2956
+ thumbnail?: string | null;
2957
+ } | null;
2958
+ MASTODON?: {
2959
+ id?: string | null;
2960
+ permalink?: string | null;
2961
+ thumbnail?: string | null;
2962
+ } | null;
2963
+ THREADS?: {
2964
+ id?: string | null;
2965
+ permalink?: string | null;
2966
+ } | null;
2967
+ } | null;
2968
+ createdAt: string | null;
2969
+ updatedAt: string | null;
2970
+ deletedAt?: string | null;
2971
+ profilePosts: Array<{
2972
+ id: string;
2973
+ socialAccountId: string;
2974
+ postId?: string | null;
2975
+ externalId?: string | null;
2976
+ title?: string | null;
2977
+ description?: string | null;
2978
+ smallThumbnail?: string | null;
2979
+ thumbnail?: string | null;
2980
+ permalink?: string | null;
2981
+ subreddit?: string | null;
2982
+ publishedAt?: string | null;
2983
+ type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
2984
+ init: boolean;
2985
+ createdAt: string | null;
2986
+ updatedAt: string | null;
2987
+ deletedAt?: string | null;
2988
+ socialAccount: {
2989
+ id: string;
2990
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
2991
+ teamId: string;
2992
+ username?: string | null;
2993
+ displayName?: string | null;
2994
+ externalId?: string | null;
2995
+ userUsername?: string | null;
2996
+ userDisplayName?: string | null;
2997
+ userId?: string | null;
2998
+ channels?: Array<{
2999
+ id: string;
3000
+ name?: string | null;
3001
+ username?: string | null;
3002
+ webhook?: {
3003
+ id?: string | null;
3004
+ name?: string | null;
3005
+ avatar?: string | null;
3006
+ url?: string | null;
3007
+ } | null;
3008
+ }> | null;
3009
+ createdAt: string | null;
3010
+ updatedAt: string | null;
3011
+ deletedAt?: string | null;
3012
+ };
3013
+ }>;
3014
+ } | null;
3015
+ };
3016
+ type CommentGetData = {
3017
+ id: string;
3018
+ };
3019
+ type CommentGetResponse = {
3020
+ id: string;
3021
+ teamId: string;
3022
+ internalPostId: string;
3023
+ internalParentCommentId?: string | null;
3024
+ text: string;
3025
+ postDate: string | null;
3026
+ postedDate?: string | null;
3027
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
3028
+ data: {
3029
+ FACEBOOK?: {
3030
+ text?: string | null;
3031
+ } | null;
3032
+ INSTAGRAM?: {
3033
+ text?: string | null;
3034
+ } | null;
3035
+ THREADS?: {
3036
+ text?: string | null;
3037
+ } | null;
3038
+ TIKTOK?: {
2435
3039
  text?: string | null;
2436
3040
  } | null;
2437
3041
  LINKEDIN?: {
2438
- text: string;
3042
+ text?: string | null;
2439
3043
  } | null;
2440
3044
  YOUTUBE?: {
2441
3045
  text?: string | null;
2442
3046
  } | null;
2443
3047
  REDDIT?: {
2444
- text: string;
3048
+ text?: string | null;
2445
3049
  } | null;
2446
3050
  MASTODON?: {
2447
3051
  text?: string | null;
@@ -2513,10 +3117,53 @@ type CommentUpdateResponse = {
2513
3117
  updatedAt: string | null;
2514
3118
  deletedAt?: string | null;
2515
3119
  };
2516
- type CommentDeleteData = {
3120
+ type CommentUpdateData = {
2517
3121
  id: string;
3122
+ /**
3123
+ * Body
3124
+ */
3125
+ requestBody?: {
3126
+ text?: string;
3127
+ internalPostId?: string;
3128
+ internalParentCommentId?: string | null;
3129
+ postDate?: string;
3130
+ status?: 'DRAFT' | 'SCHEDULED';
3131
+ socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
3132
+ data?: {
3133
+ FACEBOOK?: {
3134
+ text?: string | null;
3135
+ } | null;
3136
+ INSTAGRAM?: {
3137
+ text?: string | null;
3138
+ } | null;
3139
+ THREADS?: {
3140
+ text?: string | null;
3141
+ } | null;
3142
+ TIKTOK?: {
3143
+ text?: string | null;
3144
+ } | null;
3145
+ LINKEDIN?: {
3146
+ text?: string | null;
3147
+ } | null;
3148
+ YOUTUBE?: {
3149
+ text?: string | null;
3150
+ } | null;
3151
+ REDDIT?: {
3152
+ text?: string | null;
3153
+ } | null;
3154
+ MASTODON?: {
3155
+ text?: string | null;
3156
+ } | null;
3157
+ DISCORD?: {
3158
+ text?: string | null;
3159
+ } | null;
3160
+ SLACK?: {
3161
+ text?: string | null;
3162
+ } | null;
3163
+ };
3164
+ };
2518
3165
  };
2519
- type CommentDeleteResponse = {
3166
+ type CommentUpdateResponse = {
2520
3167
  id: string;
2521
3168
  teamId: string;
2522
3169
  internalPostId: string;
@@ -2539,13 +3186,13 @@ type CommentDeleteResponse = {
2539
3186
  text?: string | null;
2540
3187
  } | null;
2541
3188
  LINKEDIN?: {
2542
- text: string;
3189
+ text?: string | null;
2543
3190
  } | null;
2544
3191
  YOUTUBE?: {
2545
3192
  text?: string | null;
2546
3193
  } | null;
2547
3194
  REDDIT?: {
2548
- text: string;
3195
+ text?: string | null;
2549
3196
  } | null;
2550
3197
  MASTODON?: {
2551
3198
  text?: string | null;
@@ -2617,76 +3264,180 @@ type CommentDeleteResponse = {
2617
3264
  updatedAt: string | null;
2618
3265
  deletedAt?: string | null;
2619
3266
  };
2620
- type CommentGetListData = {
2621
- limit?: number | null;
2622
- offset?: number | null;
2623
- order?: 'ASC' | 'DESC';
2624
- orderBy?: 'createdAt' | 'updatedAt' | 'deletedAt';
2625
- platforms?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
2626
- q?: string;
2627
- status?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
2628
- teamId: string;
3267
+ type CommentDeleteData = {
3268
+ id: string;
2629
3269
  };
2630
- type CommentGetListResponse = {
2631
- items: Array<{
2632
- id: string;
2633
- teamId: string;
2634
- internalPostId: string;
2635
- internalParentCommentId?: string | null;
2636
- text: string;
2637
- postDate: string | null;
2638
- postedDate?: string | null;
2639
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
2640
- data: {
2641
- FACEBOOK?: {
2642
- text?: string | null;
2643
- } | null;
2644
- INSTAGRAM?: {
2645
- text?: string | null;
2646
- } | null;
2647
- THREADS?: {
2648
- text?: string | null;
2649
- } | null;
2650
- TIKTOK?: {
2651
- text?: string | null;
2652
- } | null;
2653
- LINKEDIN?: {
2654
- text: string;
2655
- } | null;
2656
- YOUTUBE?: {
2657
- text?: string | null;
2658
- } | null;
2659
- REDDIT?: {
2660
- text: string;
2661
- } | null;
2662
- MASTODON?: {
2663
- text?: string | null;
2664
- } | null;
2665
- DISCORD?: {
2666
- text?: string | null;
2667
- } | null;
2668
- SLACK?: {
2669
- text?: string | null;
2670
- } | null;
2671
- };
2672
- error?: string | null;
2673
- errors?: {
2674
- FACEBOOK?: string | null;
2675
- INSTAGRAM?: string | null;
2676
- TIKTOK?: string | null;
2677
- LINKEDIN?: string | null;
2678
- REDDIT?: string | null;
2679
- YOUTUBE?: string | null;
2680
- MASTODON?: string | null;
2681
- THREADS?: string | null;
2682
- DISCORD?: string | null;
2683
- SLACK?: string | null;
3270
+ type CommentDeleteResponse = {
3271
+ id: string;
3272
+ teamId: string;
3273
+ internalPostId: string;
3274
+ internalParentCommentId?: string | null;
3275
+ text: string;
3276
+ postDate: string | null;
3277
+ postedDate?: string | null;
3278
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
3279
+ data: {
3280
+ FACEBOOK?: {
3281
+ text?: string | null;
2684
3282
  } | null;
2685
- externalData?: {
2686
- FACEBOOK?: {
2687
- id?: string | null;
2688
- permalink?: string | null;
2689
- } | null;
3283
+ INSTAGRAM?: {
3284
+ text?: string | null;
3285
+ } | null;
3286
+ THREADS?: {
3287
+ text?: string | null;
3288
+ } | null;
3289
+ TIKTOK?: {
3290
+ text?: string | null;
3291
+ } | null;
3292
+ LINKEDIN?: {
3293
+ text?: string | null;
3294
+ } | null;
3295
+ YOUTUBE?: {
3296
+ text?: string | null;
3297
+ } | null;
3298
+ REDDIT?: {
3299
+ text?: string | null;
3300
+ } | null;
3301
+ MASTODON?: {
3302
+ text?: string | null;
3303
+ } | null;
3304
+ DISCORD?: {
3305
+ text?: string | null;
3306
+ } | null;
3307
+ SLACK?: {
3308
+ text?: string | null;
3309
+ } | null;
3310
+ };
3311
+ error?: string | null;
3312
+ errors?: {
3313
+ FACEBOOK?: string | null;
3314
+ INSTAGRAM?: string | null;
3315
+ TIKTOK?: string | null;
3316
+ LINKEDIN?: string | null;
3317
+ REDDIT?: string | null;
3318
+ YOUTUBE?: string | null;
3319
+ MASTODON?: string | null;
3320
+ THREADS?: string | null;
3321
+ DISCORD?: string | null;
3322
+ SLACK?: string | null;
3323
+ } | null;
3324
+ externalData?: {
3325
+ FACEBOOK?: {
3326
+ id?: string | null;
3327
+ permalink?: string | null;
3328
+ } | null;
3329
+ INSTAGRAM?: {
3330
+ id?: string | null;
3331
+ permalink?: string | null;
3332
+ } | null;
3333
+ TIKTOK?: {
3334
+ id?: string | null;
3335
+ permalink?: string | null;
3336
+ } | null;
3337
+ LINKEDIN?: {
3338
+ id?: string | null;
3339
+ commentUrn?: string | null;
3340
+ permalink?: string | null;
3341
+ } | null;
3342
+ REDDIT?: {
3343
+ id?: string | null;
3344
+ permalink?: string | null;
3345
+ } | null;
3346
+ YOUTUBE?: {
3347
+ id?: string | null;
3348
+ permalink?: string | null;
3349
+ } | null;
3350
+ MASTODON?: {
3351
+ id?: string | null;
3352
+ permalink?: string | null;
3353
+ } | null;
3354
+ THREADS?: {
3355
+ id?: string | null;
3356
+ permalink?: string | null;
3357
+ } | null;
3358
+ DISCORD?: {
3359
+ id?: string | null;
3360
+ permalink?: string | null;
3361
+ } | null;
3362
+ SLACK?: {
3363
+ id?: string | null;
3364
+ permalink?: string | null;
3365
+ } | null;
3366
+ } | null;
3367
+ createdAt: string | null;
3368
+ updatedAt: string | null;
3369
+ deletedAt?: string | null;
3370
+ };
3371
+ type CommentGetListData = {
3372
+ limit?: number | null;
3373
+ offset?: number | null;
3374
+ order?: 'ASC' | 'DESC';
3375
+ orderBy?: 'createdAt' | 'updatedAt' | 'deletedAt';
3376
+ platforms?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
3377
+ q?: string;
3378
+ status?: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
3379
+ teamId: string;
3380
+ };
3381
+ type CommentGetListResponse = {
3382
+ items: Array<{
3383
+ id: string;
3384
+ teamId: string;
3385
+ internalPostId: string;
3386
+ internalParentCommentId?: string | null;
3387
+ text: string;
3388
+ postDate: string | null;
3389
+ postedDate?: string | null;
3390
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
3391
+ data: {
3392
+ FACEBOOK?: {
3393
+ text?: string | null;
3394
+ } | null;
3395
+ INSTAGRAM?: {
3396
+ text?: string | null;
3397
+ } | null;
3398
+ THREADS?: {
3399
+ text?: string | null;
3400
+ } | null;
3401
+ TIKTOK?: {
3402
+ text?: string | null;
3403
+ } | null;
3404
+ LINKEDIN?: {
3405
+ text?: string | null;
3406
+ } | null;
3407
+ YOUTUBE?: {
3408
+ text?: string | null;
3409
+ } | null;
3410
+ REDDIT?: {
3411
+ text?: string | null;
3412
+ } | null;
3413
+ MASTODON?: {
3414
+ text?: string | null;
3415
+ } | null;
3416
+ DISCORD?: {
3417
+ text?: string | null;
3418
+ } | null;
3419
+ SLACK?: {
3420
+ text?: string | null;
3421
+ } | null;
3422
+ };
3423
+ error?: string | null;
3424
+ errors?: {
3425
+ FACEBOOK?: string | null;
3426
+ INSTAGRAM?: string | null;
3427
+ TIKTOK?: string | null;
3428
+ LINKEDIN?: string | null;
3429
+ REDDIT?: string | null;
3430
+ YOUTUBE?: string | null;
3431
+ MASTODON?: string | null;
3432
+ THREADS?: string | null;
3433
+ DISCORD?: string | null;
3434
+ SLACK?: string | null;
3435
+ } | null;
3436
+ externalData?: {
3437
+ FACEBOOK?: {
3438
+ id?: string | null;
3439
+ permalink?: string | null;
3440
+ } | null;
2690
3441
  INSTAGRAM?: {
2691
3442
  id?: string | null;
2692
3443
  permalink?: string | null;
@@ -2757,13 +3508,13 @@ type CommentCreateData = {
2757
3508
  text?: string | null;
2758
3509
  } | null;
2759
3510
  LINKEDIN?: {
2760
- text: string;
3511
+ text?: string | null;
2761
3512
  } | null;
2762
3513
  YOUTUBE?: {
2763
3514
  text?: string | null;
2764
3515
  } | null;
2765
3516
  REDDIT?: {
2766
- text: string;
3517
+ text?: string | null;
2767
3518
  } | null;
2768
3519
  MASTODON?: {
2769
3520
  text?: string | null;
@@ -2800,13 +3551,13 @@ type CommentCreateResponse = {
2800
3551
  text?: string | null;
2801
3552
  } | null;
2802
3553
  LINKEDIN?: {
2803
- text: string;
3554
+ text?: string | null;
2804
3555
  } | null;
2805
3556
  YOUTUBE?: {
2806
3557
  text?: string | null;
2807
3558
  } | null;
2808
3559
  REDDIT?: {
2809
- text: string;
3560
+ text?: string | null;
2810
3561
  } | null;
2811
3562
  MASTODON?: {
2812
3563
  text?: string | null;
@@ -2946,6 +3697,20 @@ type $OpenApiTs = {
2946
3697
  avatarUrl?: string | null;
2947
3698
  apiAccess?: boolean;
2948
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;
2949
3714
  createdAt: string | null;
2950
3715
  updatedAt: string | null;
2951
3716
  deletedAt?: string | null;
@@ -3145,6 +3910,20 @@ type $OpenApiTs = {
3145
3910
  avatarUrl?: string | null;
3146
3911
  apiAccess?: boolean;
3147
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;
3148
3927
  createdAt: string | null;
3149
3928
  updatedAt: string | null;
3150
3929
  deletedAt?: string | null;
@@ -3796,7 +4575,8 @@ type $OpenApiTs = {
3796
4575
  */
3797
4576
  200: Array<{
3798
4577
  id: string;
3799
- teamId: string;
4578
+ teamId?: string | null;
4579
+ organizationId?: string | null;
3800
4580
  expiresAt?: string | null;
3801
4581
  iconUrl?: string | null;
3802
4582
  thumbnailUrl?: string | null;
@@ -3871,7 +4651,8 @@ type $OpenApiTs = {
3871
4651
  */
3872
4652
  200: {
3873
4653
  id: string;
3874
- teamId: string;
4654
+ teamId?: string | null;
4655
+ organizationId?: string | null;
3875
4656
  expiresAt?: string | null;
3876
4657
  iconUrl?: string | null;
3877
4658
  thumbnailUrl?: string | null;
@@ -3939,7 +4720,8 @@ type $OpenApiTs = {
3939
4720
  */
3940
4721
  200: Array<{
3941
4722
  id: string;
3942
- teamId: string;
4723
+ teamId?: string | null;
4724
+ organizationId?: string | null;
3943
4725
  expiresAt?: string | null;
3944
4726
  iconUrl?: string | null;
3945
4727
  thumbnailUrl?: string | null;
@@ -4009,7 +4791,8 @@ type $OpenApiTs = {
4009
4791
  */
4010
4792
  200: {
4011
4793
  id: string;
4012
- teamId: string;
4794
+ teamId?: string | null;
4795
+ organizationId?: string | null;
4013
4796
  expiresAt?: string | null;
4014
4797
  iconUrl?: string | null;
4015
4798
  thumbnailUrl?: string | null;
@@ -4077,7 +4860,8 @@ type $OpenApiTs = {
4077
4860
  */
4078
4861
  200: {
4079
4862
  id: string;
4080
- teamId: string;
4863
+ teamId?: string | null;
4864
+ organizationId?: string | null;
4081
4865
  expiresAt?: string | null;
4082
4866
  iconUrl?: string | null;
4083
4867
  thumbnailUrl?: string | null;
@@ -4138,43 +4922,172 @@ type $OpenApiTs = {
4138
4922
  };
4139
4923
  };
4140
4924
  };
4141
- '/api/v1/post/{id}': {
4142
- get: {
4143
- req: PostGetData;
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;
4144
4982
  res: {
4145
4983
  /**
4146
4984
  * 200
4147
4985
  */
4148
4986
  200: {
4149
4987
  id: string;
4150
- teamId: string;
4151
- title: string;
4152
- postDate: string | null;
4153
- postedDate?: string | null;
4154
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
4155
- data: {
4156
- TWITTER?: {
4157
- text?: string | null;
4158
- uploadIds?: Array<(string)> | null;
4159
- } | null;
4160
- PINTEREST?: {
4161
- text?: string | null;
4162
- description?: string | null;
4163
- boardName: string;
4164
- uploadIds?: Array<(string)> | null;
4165
- /**
4166
- * The URL to which the Pin will link to.
4167
- */
4168
- link?: string | null;
4169
- /**
4170
- * The alt text for the image. This is used by screen readers and when the image can't be loaded.
4171
- */
4172
- altText?: string | null;
4173
- /**
4174
- * A note about the Pin. This is not visible to the public.
4175
- */
4176
- note?: string | null;
4177
- /**
4988
+ teamId?: string | null;
4989
+ organizationId?: string | null;
4990
+ expiresAt?: string | null;
4991
+ iconUrl?: string | null;
4992
+ thumbnailUrl?: string | null;
4993
+ url?: string | null;
4994
+ iconPath?: string | null;
4995
+ thumbnailPath?: string | null;
4996
+ path?: string | null;
4997
+ type: 'image' | 'video';
4998
+ width?: number | null;
4999
+ height?: number | null;
5000
+ fileSize?: number | null;
5001
+ videoLength?: number | null;
5002
+ mime?: string | null;
5003
+ ext?: string | null;
5004
+ createdAt: string | null;
5005
+ updatedAt: string | null;
5006
+ };
5007
+ /**
5008
+ * 400
5009
+ */
5010
+ 400: {
5011
+ message: string;
5012
+ issues?: Array<{
5013
+ message: string;
5014
+ path?: Array<(string | number)> | null;
5015
+ }> | null;
5016
+ };
5017
+ /**
5018
+ * 401
5019
+ */
5020
+ 401: {
5021
+ message: string;
5022
+ };
5023
+ /**
5024
+ * 403
5025
+ */
5026
+ 403: {
5027
+ message: string;
5028
+ };
5029
+ /**
5030
+ * 404
5031
+ */
5032
+ 404: {
5033
+ message: string;
5034
+ };
5035
+ /**
5036
+ * 429
5037
+ */
5038
+ 429: {
5039
+ message: string;
5040
+ };
5041
+ /**
5042
+ * 500
5043
+ */
5044
+ 500: {
5045
+ message: string;
5046
+ };
5047
+ };
5048
+ };
5049
+ };
5050
+ '/api/v1/post/{id}': {
5051
+ get: {
5052
+ req: PostGetData;
5053
+ res: {
5054
+ /**
5055
+ * 200
5056
+ */
5057
+ 200: {
5058
+ id: string;
5059
+ teamId: string;
5060
+ title: string;
5061
+ postDate: string | null;
5062
+ postedDate?: string | null;
5063
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
5064
+ data: {
5065
+ TWITTER?: {
5066
+ text?: string | null;
5067
+ uploadIds?: Array<(string)> | null;
5068
+ } | null;
5069
+ PINTEREST?: {
5070
+ text?: string | null;
5071
+ description?: string | null;
5072
+ boardName: string;
5073
+ uploadIds?: Array<(string)> | null;
5074
+ /**
5075
+ * The URL to image uploaded on bundle.social.
5076
+ */
5077
+ thumbnail?: string | null;
5078
+ /**
5079
+ * The URL to which the Pin will link to.
5080
+ */
5081
+ link?: string | null;
5082
+ /**
5083
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
5084
+ */
5085
+ altText?: string | null;
5086
+ /**
5087
+ * A note about the Pin. This is not visible to the public.
5088
+ */
5089
+ note?: string | null;
5090
+ /**
4178
5091
  * The dominant color of the image. This is used to display the image before it's loaded.
4179
5092
  */
4180
5093
  dominantColor?: string | null;
@@ -4183,11 +5096,27 @@ type $OpenApiTs = {
4183
5096
  type?: 'POST' | 'REEL' | 'STORY';
4184
5097
  text?: string | null;
4185
5098
  uploadIds?: Array<(string)> | null;
5099
+ /**
5100
+ * The URL to image uploaded on bundle.social.
5101
+ */
5102
+ thumbnail?: string | null;
4186
5103
  } | null;
4187
5104
  INSTAGRAM?: {
4188
5105
  type?: 'POST' | 'REEL' | 'STORY';
4189
5106
  text?: string | null;
4190
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;
4191
5120
  } | null;
4192
5121
  THREADS?: {
4193
5122
  text?: string | null;
@@ -4230,6 +5159,10 @@ type $OpenApiTs = {
4230
5159
  LINKEDIN?: {
4231
5160
  text: string;
4232
5161
  uploadIds?: Array<(string)> | null;
5162
+ /**
5163
+ * The URL to image uploaded on bundle.social.
5164
+ */
5165
+ thumbnail?: string | null;
4233
5166
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
4234
5167
  /**
4235
5168
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -4245,6 +5178,10 @@ type $OpenApiTs = {
4245
5178
  uploadIds?: Array<(string)> | null;
4246
5179
  text?: string | null;
4247
5180
  description?: string | null;
5181
+ /**
5182
+ * The URL to image uploaded on bundle.social.
5183
+ */
5184
+ thumbnail?: string | null;
4248
5185
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
4249
5186
  /**
4250
5187
  * Set to true if the video is made for kids.
@@ -4297,6 +5234,10 @@ type $OpenApiTs = {
4297
5234
  MASTODON?: {
4298
5235
  text?: string | null;
4299
5236
  uploadIds?: Array<(string)> | null;
5237
+ /**
5238
+ * The URL to image uploaded on bundle.social.
5239
+ */
5240
+ thumbnail?: string | null;
4300
5241
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
4301
5242
  spoiler?: string | null;
4302
5243
  } | null;
@@ -4324,16 +5265,19 @@ type $OpenApiTs = {
4324
5265
  PINTEREST?: {
4325
5266
  id?: string | null;
4326
5267
  permalink?: string | null;
5268
+ thumbnail?: string | null;
4327
5269
  } | null;
4328
5270
  FACEBOOK?: {
4329
5271
  id?: string | null;
4330
5272
  postId?: string | null;
4331
5273
  videoId?: string | null;
4332
5274
  permalink?: string | null;
5275
+ thumbnail?: string;
4333
5276
  } | null;
4334
5277
  INSTAGRAM?: {
4335
5278
  id?: string | null;
4336
5279
  permalink?: string | null;
5280
+ thumbnail?: string;
4337
5281
  } | null;
4338
5282
  TIKTOK?: {
4339
5283
  id?: string | null;
@@ -4343,6 +5287,7 @@ type $OpenApiTs = {
4343
5287
  id?: string | null;
4344
5288
  activity?: string | null;
4345
5289
  permalink?: string | null;
5290
+ thumbnail?: string;
4346
5291
  } | null;
4347
5292
  REDDIT?: {
4348
5293
  id?: string | null;
@@ -4362,10 +5307,12 @@ type $OpenApiTs = {
4362
5307
  YOUTUBE?: {
4363
5308
  id?: string | null;
4364
5309
  permalink?: string | null;
5310
+ thumbnail?: string | null;
4365
5311
  } | null;
4366
5312
  MASTODON?: {
4367
5313
  id?: string | null;
4368
5314
  permalink?: string | null;
5315
+ thumbnail?: string | null;
4369
5316
  } | null;
4370
5317
  THREADS?: {
4371
5318
  id?: string | null;
@@ -4383,7 +5330,8 @@ type $OpenApiTs = {
4383
5330
  deletedAt?: string | null;
4384
5331
  upload: {
4385
5332
  id: string;
4386
- teamId: string;
5333
+ teamId?: string | null;
5334
+ organizationId?: string | null;
4387
5335
  expiresAt?: string | null;
4388
5336
  iconUrl?: string | null;
4389
5337
  thumbnailUrl?: string | null;
@@ -4500,6 +5448,10 @@ type $OpenApiTs = {
4500
5448
  description?: string | null;
4501
5449
  boardName: string;
4502
5450
  uploadIds?: Array<(string)> | null;
5451
+ /**
5452
+ * The URL to image uploaded on bundle.social.
5453
+ */
5454
+ thumbnail?: string | null;
4503
5455
  /**
4504
5456
  * The URL to which the Pin will link to.
4505
5457
  */
@@ -4521,11 +5473,27 @@ type $OpenApiTs = {
4521
5473
  type?: 'POST' | 'REEL' | 'STORY';
4522
5474
  text?: string | null;
4523
5475
  uploadIds?: Array<(string)> | null;
5476
+ /**
5477
+ * The URL to image uploaded on bundle.social.
5478
+ */
5479
+ thumbnail?: string | null;
4524
5480
  } | null;
4525
5481
  INSTAGRAM?: {
4526
5482
  type?: 'POST' | 'REEL' | 'STORY';
4527
5483
  text?: string | null;
4528
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;
4529
5497
  } | null;
4530
5498
  THREADS?: {
4531
5499
  text?: string | null;
@@ -4568,6 +5536,10 @@ type $OpenApiTs = {
4568
5536
  LINKEDIN?: {
4569
5537
  text: string;
4570
5538
  uploadIds?: Array<(string)> | null;
5539
+ /**
5540
+ * The URL to image uploaded on bundle.social.
5541
+ */
5542
+ thumbnail?: string | null;
4571
5543
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
4572
5544
  /**
4573
5545
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -4583,6 +5555,10 @@ type $OpenApiTs = {
4583
5555
  uploadIds?: Array<(string)> | null;
4584
5556
  text?: string | null;
4585
5557
  description?: string | null;
5558
+ /**
5559
+ * The URL to image uploaded on bundle.social.
5560
+ */
5561
+ thumbnail?: string | null;
4586
5562
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
4587
5563
  /**
4588
5564
  * Set to true if the video is made for kids.
@@ -4635,6 +5611,10 @@ type $OpenApiTs = {
4635
5611
  MASTODON?: {
4636
5612
  text?: string | null;
4637
5613
  uploadIds?: Array<(string)> | null;
5614
+ /**
5615
+ * The URL to image uploaded on bundle.social.
5616
+ */
5617
+ thumbnail?: string | null;
4638
5618
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
4639
5619
  spoiler?: string | null;
4640
5620
  } | null;
@@ -4662,16 +5642,19 @@ type $OpenApiTs = {
4662
5642
  PINTEREST?: {
4663
5643
  id?: string | null;
4664
5644
  permalink?: string | null;
5645
+ thumbnail?: string | null;
4665
5646
  } | null;
4666
5647
  FACEBOOK?: {
4667
5648
  id?: string | null;
4668
5649
  postId?: string | null;
4669
5650
  videoId?: string | null;
4670
5651
  permalink?: string | null;
5652
+ thumbnail?: string;
4671
5653
  } | null;
4672
5654
  INSTAGRAM?: {
4673
5655
  id?: string | null;
4674
5656
  permalink?: string | null;
5657
+ thumbnail?: string;
4675
5658
  } | null;
4676
5659
  TIKTOK?: {
4677
5660
  id?: string | null;
@@ -4681,6 +5664,7 @@ type $OpenApiTs = {
4681
5664
  id?: string | null;
4682
5665
  activity?: string | null;
4683
5666
  permalink?: string | null;
5667
+ thumbnail?: string;
4684
5668
  } | null;
4685
5669
  REDDIT?: {
4686
5670
  id?: string | null;
@@ -4700,10 +5684,12 @@ type $OpenApiTs = {
4700
5684
  YOUTUBE?: {
4701
5685
  id?: string | null;
4702
5686
  permalink?: string | null;
5687
+ thumbnail?: string | null;
4703
5688
  } | null;
4704
5689
  MASTODON?: {
4705
5690
  id?: string | null;
4706
5691
  permalink?: string | null;
5692
+ thumbnail?: string | null;
4707
5693
  } | null;
4708
5694
  THREADS?: {
4709
5695
  id?: string | null;
@@ -4779,6 +5765,10 @@ type $OpenApiTs = {
4779
5765
  description?: string | null;
4780
5766
  boardName: string;
4781
5767
  uploadIds?: Array<(string)> | null;
5768
+ /**
5769
+ * The URL to image uploaded on bundle.social.
5770
+ */
5771
+ thumbnail?: string | null;
4782
5772
  /**
4783
5773
  * The URL to which the Pin will link to.
4784
5774
  */
@@ -4800,11 +5790,27 @@ type $OpenApiTs = {
4800
5790
  type?: 'POST' | 'REEL' | 'STORY';
4801
5791
  text?: string | null;
4802
5792
  uploadIds?: Array<(string)> | null;
5793
+ /**
5794
+ * The URL to image uploaded on bundle.social.
5795
+ */
5796
+ thumbnail?: string | null;
4803
5797
  } | null;
4804
5798
  INSTAGRAM?: {
4805
5799
  type?: 'POST' | 'REEL' | 'STORY';
4806
5800
  text?: string | null;
4807
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;
4808
5814
  } | null;
4809
5815
  THREADS?: {
4810
5816
  text?: string | null;
@@ -4847,6 +5853,10 @@ type $OpenApiTs = {
4847
5853
  LINKEDIN?: {
4848
5854
  text: string;
4849
5855
  uploadIds?: Array<(string)> | null;
5856
+ /**
5857
+ * The URL to image uploaded on bundle.social.
5858
+ */
5859
+ thumbnail?: string | null;
4850
5860
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
4851
5861
  /**
4852
5862
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -4862,6 +5872,10 @@ type $OpenApiTs = {
4862
5872
  uploadIds?: Array<(string)> | null;
4863
5873
  text?: string | null;
4864
5874
  description?: string | null;
5875
+ /**
5876
+ * The URL to image uploaded on bundle.social.
5877
+ */
5878
+ thumbnail?: string | null;
4865
5879
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
4866
5880
  /**
4867
5881
  * Set to true if the video is made for kids.
@@ -4914,6 +5928,10 @@ type $OpenApiTs = {
4914
5928
  MASTODON?: {
4915
5929
  text?: string | null;
4916
5930
  uploadIds?: Array<(string)> | null;
5931
+ /**
5932
+ * The URL to image uploaded on bundle.social.
5933
+ */
5934
+ thumbnail?: string | null;
4917
5935
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
4918
5936
  spoiler?: string | null;
4919
5937
  } | null;
@@ -4941,16 +5959,19 @@ type $OpenApiTs = {
4941
5959
  PINTEREST?: {
4942
5960
  id?: string | null;
4943
5961
  permalink?: string | null;
5962
+ thumbnail?: string | null;
4944
5963
  } | null;
4945
5964
  FACEBOOK?: {
4946
5965
  id?: string | null;
4947
5966
  postId?: string | null;
4948
5967
  videoId?: string | null;
4949
5968
  permalink?: string | null;
5969
+ thumbnail?: string;
4950
5970
  } | null;
4951
5971
  INSTAGRAM?: {
4952
5972
  id?: string | null;
4953
5973
  permalink?: string | null;
5974
+ thumbnail?: string;
4954
5975
  } | null;
4955
5976
  TIKTOK?: {
4956
5977
  id?: string | null;
@@ -4960,6 +5981,7 @@ type $OpenApiTs = {
4960
5981
  id?: string | null;
4961
5982
  activity?: string | null;
4962
5983
  permalink?: string | null;
5984
+ thumbnail?: string;
4963
5985
  } | null;
4964
5986
  REDDIT?: {
4965
5987
  id?: string | null;
@@ -4979,10 +6001,12 @@ type $OpenApiTs = {
4979
6001
  YOUTUBE?: {
4980
6002
  id?: string | null;
4981
6003
  permalink?: string | null;
6004
+ thumbnail?: string | null;
4982
6005
  } | null;
4983
6006
  MASTODON?: {
4984
6007
  id?: string | null;
4985
6008
  permalink?: string | null;
6009
+ thumbnail?: string | null;
4986
6010
  } | null;
4987
6011
  THREADS?: {
4988
6012
  id?: string | null;
@@ -5061,6 +6085,10 @@ type $OpenApiTs = {
5061
6085
  description?: string | null;
5062
6086
  boardName: string;
5063
6087
  uploadIds?: Array<(string)> | null;
6088
+ /**
6089
+ * The URL to image uploaded on bundle.social.
6090
+ */
6091
+ thumbnail?: string | null;
5064
6092
  /**
5065
6093
  * The URL to which the Pin will link to.
5066
6094
  */
@@ -5082,11 +6110,27 @@ type $OpenApiTs = {
5082
6110
  type?: 'POST' | 'REEL' | 'STORY';
5083
6111
  text?: string | null;
5084
6112
  uploadIds?: Array<(string)> | null;
6113
+ /**
6114
+ * The URL to image uploaded on bundle.social.
6115
+ */
6116
+ thumbnail?: string | null;
5085
6117
  } | null;
5086
6118
  INSTAGRAM?: {
5087
6119
  type?: 'POST' | 'REEL' | 'STORY';
5088
6120
  text?: string | null;
5089
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;
5090
6134
  } | null;
5091
6135
  THREADS?: {
5092
6136
  text?: string | null;
@@ -5129,6 +6173,10 @@ type $OpenApiTs = {
5129
6173
  LINKEDIN?: {
5130
6174
  text: string;
5131
6175
  uploadIds?: Array<(string)> | null;
6176
+ /**
6177
+ * The URL to image uploaded on bundle.social.
6178
+ */
6179
+ thumbnail?: string | null;
5132
6180
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
5133
6181
  /**
5134
6182
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -5144,6 +6192,10 @@ type $OpenApiTs = {
5144
6192
  uploadIds?: Array<(string)> | null;
5145
6193
  text?: string | null;
5146
6194
  description?: string | null;
6195
+ /**
6196
+ * The URL to image uploaded on bundle.social.
6197
+ */
6198
+ thumbnail?: string | null;
5147
6199
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
5148
6200
  /**
5149
6201
  * Set to true if the video is made for kids.
@@ -5196,6 +6248,10 @@ type $OpenApiTs = {
5196
6248
  MASTODON?: {
5197
6249
  text?: string | null;
5198
6250
  uploadIds?: Array<(string)> | null;
6251
+ /**
6252
+ * The URL to image uploaded on bundle.social.
6253
+ */
6254
+ thumbnail?: string | null;
5199
6255
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
5200
6256
  spoiler?: string | null;
5201
6257
  } | null;
@@ -5223,16 +6279,19 @@ type $OpenApiTs = {
5223
6279
  PINTEREST?: {
5224
6280
  id?: string | null;
5225
6281
  permalink?: string | null;
6282
+ thumbnail?: string | null;
5226
6283
  } | null;
5227
6284
  FACEBOOK?: {
5228
6285
  id?: string | null;
5229
6286
  postId?: string | null;
5230
6287
  videoId?: string | null;
5231
6288
  permalink?: string | null;
6289
+ thumbnail?: string;
5232
6290
  } | null;
5233
6291
  INSTAGRAM?: {
5234
6292
  id?: string | null;
5235
6293
  permalink?: string | null;
6294
+ thumbnail?: string;
5236
6295
  } | null;
5237
6296
  TIKTOK?: {
5238
6297
  id?: string | null;
@@ -5242,6 +6301,7 @@ type $OpenApiTs = {
5242
6301
  id?: string | null;
5243
6302
  activity?: string | null;
5244
6303
  permalink?: string | null;
6304
+ thumbnail?: string;
5245
6305
  } | null;
5246
6306
  REDDIT?: {
5247
6307
  id?: string | null;
@@ -5261,10 +6321,12 @@ type $OpenApiTs = {
5261
6321
  YOUTUBE?: {
5262
6322
  id?: string | null;
5263
6323
  permalink?: string | null;
6324
+ thumbnail?: string | null;
5264
6325
  } | null;
5265
6326
  MASTODON?: {
5266
6327
  id?: string | null;
5267
6328
  permalink?: string | null;
6329
+ thumbnail?: string | null;
5268
6330
  } | null;
5269
6331
  THREADS?: {
5270
6332
  id?: string | null;
@@ -5282,7 +6344,8 @@ type $OpenApiTs = {
5282
6344
  deletedAt?: string | null;
5283
6345
  upload: {
5284
6346
  id: string;
5285
- teamId: string;
6347
+ teamId?: string | null;
6348
+ organizationId?: string | null;
5286
6349
  expiresAt?: string | null;
5287
6350
  iconUrl?: string | null;
5288
6351
  thumbnailUrl?: string | null;
@@ -5401,6 +6464,10 @@ type $OpenApiTs = {
5401
6464
  description?: string | null;
5402
6465
  boardName: string;
5403
6466
  uploadIds?: Array<(string)> | null;
6467
+ /**
6468
+ * The URL to image uploaded on bundle.social.
6469
+ */
6470
+ thumbnail?: string | null;
5404
6471
  /**
5405
6472
  * The URL to which the Pin will link to.
5406
6473
  */
@@ -5422,11 +6489,27 @@ type $OpenApiTs = {
5422
6489
  type?: 'POST' | 'REEL' | 'STORY';
5423
6490
  text?: string | null;
5424
6491
  uploadIds?: Array<(string)> | null;
6492
+ /**
6493
+ * The URL to image uploaded on bundle.social.
6494
+ */
6495
+ thumbnail?: string | null;
5425
6496
  } | null;
5426
6497
  INSTAGRAM?: {
5427
6498
  type?: 'POST' | 'REEL' | 'STORY';
5428
6499
  text?: string | null;
5429
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;
5430
6513
  } | null;
5431
6514
  THREADS?: {
5432
6515
  text?: string | null;
@@ -5469,6 +6552,10 @@ type $OpenApiTs = {
5469
6552
  LINKEDIN?: {
5470
6553
  text: string;
5471
6554
  uploadIds?: Array<(string)> | null;
6555
+ /**
6556
+ * The URL to image uploaded on bundle.social.
6557
+ */
6558
+ thumbnail?: string | null;
5472
6559
  privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
5473
6560
  /**
5474
6561
  * Set to true if the post shouldn't be displayed in the main feed.
@@ -5484,6 +6571,10 @@ type $OpenApiTs = {
5484
6571
  uploadIds?: Array<(string)> | null;
5485
6572
  text?: string | null;
5486
6573
  description?: string | null;
6574
+ /**
6575
+ * The URL to image uploaded on bundle.social.
6576
+ */
6577
+ thumbnail?: string | null;
5487
6578
  privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
5488
6579
  /**
5489
6580
  * Set to true if the video is made for kids.
@@ -5536,6 +6627,10 @@ type $OpenApiTs = {
5536
6627
  MASTODON?: {
5537
6628
  text?: string | null;
5538
6629
  uploadIds?: Array<(string)> | null;
6630
+ /**
6631
+ * The URL to image uploaded on bundle.social.
6632
+ */
6633
+ thumbnail?: string | null;
5539
6634
  privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
5540
6635
  spoiler?: string | null;
5541
6636
  } | null;
@@ -5560,60 +6655,623 @@ type $OpenApiTs = {
5560
6655
  id?: string | null;
5561
6656
  permalink?: string | null;
5562
6657
  } | null;
5563
- PINTEREST?: {
5564
- id?: string | null;
5565
- permalink?: string | null;
6658
+ PINTEREST?: {
6659
+ id?: string | null;
6660
+ permalink?: string | null;
6661
+ thumbnail?: string | null;
6662
+ } | null;
6663
+ FACEBOOK?: {
6664
+ id?: string | null;
6665
+ postId?: string | null;
6666
+ videoId?: string | null;
6667
+ permalink?: string | null;
6668
+ thumbnail?: string;
6669
+ } | null;
6670
+ INSTAGRAM?: {
6671
+ id?: string | null;
6672
+ permalink?: string | null;
6673
+ thumbnail?: string;
6674
+ } | null;
6675
+ TIKTOK?: {
6676
+ id?: string | null;
6677
+ permalink?: string | null;
6678
+ } | null;
6679
+ LINKEDIN?: {
6680
+ id?: string | null;
6681
+ activity?: string | null;
6682
+ permalink?: string | null;
6683
+ thumbnail?: string;
6684
+ } | null;
6685
+ REDDIT?: {
6686
+ id?: string | null;
6687
+ permalink?: string | null;
6688
+ subreddit_name?: string | null;
6689
+ } | null;
6690
+ DISCORD?: {
6691
+ id?: string | null;
6692
+ permalink?: string | null;
6693
+ channelId?: string | null;
6694
+ } | null;
6695
+ SLACK?: {
6696
+ id?: string | null;
6697
+ permalink?: string | null;
6698
+ channelId?: string | null;
6699
+ } | null;
6700
+ YOUTUBE?: {
6701
+ id?: string | null;
6702
+ permalink?: string | null;
6703
+ thumbnail?: string | null;
6704
+ } | null;
6705
+ MASTODON?: {
6706
+ id?: string | null;
6707
+ permalink?: string | null;
6708
+ thumbnail?: string | null;
6709
+ } | null;
6710
+ THREADS?: {
6711
+ id?: string | null;
6712
+ permalink?: string | null;
6713
+ } | null;
6714
+ } | null;
6715
+ createdAt: string | null;
6716
+ updatedAt: string | null;
6717
+ deletedAt?: string | null;
6718
+ };
6719
+ /**
6720
+ * 400
6721
+ */
6722
+ 400: {
6723
+ message: string;
6724
+ issues?: Array<{
6725
+ message: string;
6726
+ path?: Array<(string | number)> | null;
6727
+ }> | null;
6728
+ };
6729
+ /**
6730
+ * 401
6731
+ */
6732
+ 401: {
6733
+ message: string;
6734
+ };
6735
+ /**
6736
+ * 403
6737
+ */
6738
+ 403: {
6739
+ message: string;
6740
+ };
6741
+ /**
6742
+ * 404
6743
+ */
6744
+ 404: {
6745
+ message: string;
6746
+ };
6747
+ /**
6748
+ * 429
6749
+ */
6750
+ 429: {
6751
+ message: string;
6752
+ };
6753
+ /**
6754
+ * 500
6755
+ */
6756
+ 500: {
6757
+ message: string;
6758
+ };
6759
+ };
6760
+ };
6761
+ };
6762
+ '/api/v1/analytics/profile': {
6763
+ get: {
6764
+ req: AnalyticsGetProfileAnalyticsData;
6765
+ res: {
6766
+ /**
6767
+ * 200
6768
+ */
6769
+ 200: Array<{
6770
+ id: string;
6771
+ socialAccountId: string;
6772
+ impressions: number;
6773
+ impressionsUnique: number;
6774
+ views: number;
6775
+ viewsUnique: number;
6776
+ likes: number;
6777
+ comments: number;
6778
+ postCount: number;
6779
+ followers: number;
6780
+ following: number;
6781
+ raw?: unknown;
6782
+ createdAt: string | null;
6783
+ updatedAt: string | null;
6784
+ deletedAt?: string | null;
6785
+ }>;
6786
+ /**
6787
+ * 400
6788
+ */
6789
+ 400: {
6790
+ message: string;
6791
+ issues?: Array<{
6792
+ message: string;
6793
+ path?: Array<(string | number)> | null;
6794
+ }> | null;
6795
+ };
6796
+ /**
6797
+ * 401
6798
+ */
6799
+ 401: {
6800
+ message: string;
6801
+ };
6802
+ /**
6803
+ * 403
6804
+ */
6805
+ 403: {
6806
+ message: string;
6807
+ };
6808
+ /**
6809
+ * 404
6810
+ */
6811
+ 404: {
6812
+ message: string;
6813
+ };
6814
+ /**
6815
+ * 429
6816
+ */
6817
+ 429: {
6818
+ message: string;
6819
+ };
6820
+ /**
6821
+ * 500
6822
+ */
6823
+ 500: {
6824
+ message: string;
6825
+ };
6826
+ };
6827
+ };
6828
+ };
6829
+ '/api/v1/analytics/profile-post': {
6830
+ get: {
6831
+ req: AnalyticsGetProfilePostsData;
6832
+ res: {
6833
+ /**
6834
+ * 200
6835
+ */
6836
+ 200: Array<{
6837
+ id: string;
6838
+ socialAccountId: string;
6839
+ postId?: string | null;
6840
+ externalId?: string | null;
6841
+ title?: string | null;
6842
+ description?: string | null;
6843
+ smallThumbnail?: string | null;
6844
+ thumbnail?: string | null;
6845
+ permalink?: string | null;
6846
+ subreddit?: string | null;
6847
+ publishedAt?: string | null;
6848
+ type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
6849
+ init: boolean;
6850
+ createdAt: string | null;
6851
+ updatedAt: string | null;
6852
+ deletedAt?: string | null;
6853
+ }>;
6854
+ /**
6855
+ * 400
6856
+ */
6857
+ 400: {
6858
+ message: string;
6859
+ issues?: Array<{
6860
+ message: string;
6861
+ path?: Array<(string | number)> | null;
6862
+ }> | null;
6863
+ };
6864
+ /**
6865
+ * 401
6866
+ */
6867
+ 401: {
6868
+ message: string;
6869
+ };
6870
+ /**
6871
+ * 403
6872
+ */
6873
+ 403: {
6874
+ message: string;
6875
+ };
6876
+ /**
6877
+ * 404
6878
+ */
6879
+ 404: {
6880
+ message: string;
6881
+ };
6882
+ /**
6883
+ * 429
6884
+ */
6885
+ 429: {
6886
+ message: string;
6887
+ };
6888
+ /**
6889
+ * 500
6890
+ */
6891
+ 500: {
6892
+ message: string;
6893
+ };
6894
+ };
6895
+ };
6896
+ };
6897
+ '/api/v1/analytics/profile-post/{id}': {
6898
+ get: {
6899
+ req: AnalyticsGetProfilePostData;
6900
+ res: {
6901
+ /**
6902
+ * 200
6903
+ */
6904
+ 200: {
6905
+ id: string;
6906
+ socialAccountId: string;
6907
+ postId?: string | null;
6908
+ externalId?: string | null;
6909
+ title?: string | null;
6910
+ description?: string | null;
6911
+ smallThumbnail?: string | null;
6912
+ thumbnail?: string | null;
6913
+ permalink?: string | null;
6914
+ subreddit?: string | null;
6915
+ publishedAt?: string | null;
6916
+ type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
6917
+ init: boolean;
6918
+ createdAt: string | null;
6919
+ updatedAt: string | null;
6920
+ deletedAt?: string | null;
6921
+ analytics: Array<{
6922
+ id: string;
6923
+ profilePostId: string;
6924
+ impressions: number;
6925
+ impressionsUnique: number;
6926
+ views: number;
6927
+ viewsUnique: number;
6928
+ likes: number;
6929
+ dislikes: number;
6930
+ comments: number;
6931
+ shares: number;
6932
+ saves: number;
6933
+ raw?: unknown;
6934
+ createdAt: string | null;
6935
+ updatedAt: string | null;
6936
+ deletedAt?: string | null;
6937
+ }>;
6938
+ socialAccount: {
6939
+ id: string;
6940
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
6941
+ teamId: string;
6942
+ username?: string | null;
6943
+ displayName?: string | null;
6944
+ externalId?: string | null;
6945
+ userUsername?: string | null;
6946
+ userDisplayName?: string | null;
6947
+ userId?: string | null;
6948
+ channels?: Array<{
6949
+ id: string;
6950
+ name?: string | null;
6951
+ username?: string | null;
6952
+ webhook?: {
6953
+ id?: string | null;
6954
+ name?: string | null;
6955
+ avatar?: string | null;
6956
+ url?: string | null;
6957
+ } | null;
6958
+ }> | null;
6959
+ createdAt: string | null;
6960
+ updatedAt: string | null;
6961
+ deletedAt?: string | null;
6962
+ };
6963
+ post?: {
6964
+ id: string;
6965
+ teamId: string;
6966
+ title: string;
6967
+ postDate: string | null;
6968
+ postedDate?: string | null;
6969
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
6970
+ data: {
6971
+ TWITTER?: {
6972
+ text?: string | null;
6973
+ uploadIds?: Array<(string)> | null;
6974
+ } | null;
6975
+ PINTEREST?: {
6976
+ text?: string | null;
6977
+ description?: string | null;
6978
+ boardName: string;
6979
+ uploadIds?: Array<(string)> | null;
6980
+ /**
6981
+ * The URL to image uploaded on bundle.social.
6982
+ */
6983
+ thumbnail?: string | null;
6984
+ /**
6985
+ * The URL to which the Pin will link to.
6986
+ */
6987
+ link?: string | null;
6988
+ /**
6989
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
6990
+ */
6991
+ altText?: string | null;
6992
+ /**
6993
+ * A note about the Pin. This is not visible to the public.
6994
+ */
6995
+ note?: string | null;
6996
+ /**
6997
+ * The dominant color of the image. This is used to display the image before it's loaded.
6998
+ */
6999
+ dominantColor?: string | null;
7000
+ } | null;
7001
+ FACEBOOK?: {
7002
+ type?: 'POST' | 'REEL' | 'STORY';
7003
+ text?: string | null;
7004
+ uploadIds?: Array<(string)> | null;
7005
+ /**
7006
+ * The URL to image uploaded on bundle.social.
7007
+ */
7008
+ thumbnail?: string | null;
7009
+ } | null;
7010
+ INSTAGRAM?: {
7011
+ type?: 'POST' | 'REEL' | 'STORY';
7012
+ text?: string | null;
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;
7026
+ } | null;
7027
+ THREADS?: {
7028
+ text?: string | null;
7029
+ uploadIds?: Array<(string)> | null;
7030
+ } | null;
7031
+ TIKTOK?: {
7032
+ type?: 'VIDEO' | 'IMAGE';
7033
+ text?: string | null;
7034
+ uploadIds?: Array<(string)> | null;
7035
+ privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
7036
+ /**
7037
+ * Set to true if the video is a paid partnership to promote a third-party business.
7038
+ */
7039
+ isBrandContent?: boolean | null;
7040
+ /**
7041
+ * Set to true if this video is promoting the creator's own business.
7042
+ */
7043
+ isOrganicBrandContent?: boolean | null;
7044
+ /**
7045
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
7046
+ */
7047
+ disableComments?: boolean | null;
7048
+ /**
7049
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
7050
+ */
7051
+ disableDuet?: boolean | null;
7052
+ /**
7053
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
7054
+ */
7055
+ disableStitch?: boolean | null;
7056
+ /**
7057
+ * Choose a frame of the published video as the cover photo in ms
7058
+ */
7059
+ thumbnailOffset?: number | null;
7060
+ /**
7061
+ * Set to true if this video is AI generated.
7062
+ */
7063
+ isAiGenerated?: boolean | null;
7064
+ } | null;
7065
+ LINKEDIN?: {
7066
+ text: string;
7067
+ uploadIds?: Array<(string)> | null;
7068
+ /**
7069
+ * The URL to image uploaded on bundle.social.
7070
+ */
7071
+ thumbnail?: string | null;
7072
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
7073
+ /**
7074
+ * Set to true if the post shouldn't be displayed in the main feed.
7075
+ */
7076
+ hideFromFeed?: boolean | null;
7077
+ /**
7078
+ * Set to true if the post is not allowed to be reshared.
7079
+ */
7080
+ disableReshare?: boolean | null;
7081
+ } | null;
7082
+ YOUTUBE?: {
7083
+ type?: 'VIDEO' | 'SHORT';
7084
+ uploadIds?: Array<(string)> | null;
7085
+ text?: string | null;
7086
+ description?: string | null;
7087
+ /**
7088
+ * The URL to image uploaded on bundle.social.
7089
+ */
7090
+ thumbnail?: string | null;
7091
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
7092
+ /**
7093
+ * Set to true if the video is made for kids.
7094
+ */
7095
+ madeForKids?: boolean | null;
7096
+ } | null;
7097
+ REDDIT?: {
7098
+ /**
7099
+ * Subreddit name. Example: r/subredditName or u/username
7100
+ */
7101
+ sr: string;
7102
+ text: string;
7103
+ description?: string | null;
7104
+ uploadIds?: Array<(string)> | null;
7105
+ /**
7106
+ * The URL to which the post will link to.
7107
+ */
7108
+ link?: string | null;
7109
+ /**
7110
+ * Set to true if the post is NSFW.
7111
+ */
7112
+ nsfw?: boolean | null;
7113
+ } | null;
7114
+ DISCORD?: {
7115
+ channelId: string;
7116
+ text?: string | null;
7117
+ uploadIds?: Array<(string)> | null;
7118
+ /**
7119
+ * The username to display as the author of the message.
7120
+ */
7121
+ username?: string | null;
7122
+ /**
7123
+ * Avatar url to display as the author of the message.
7124
+ */
7125
+ avatarUrl?: string | null;
7126
+ } | null;
7127
+ SLACK?: {
7128
+ channelId: string;
7129
+ text?: string | null;
7130
+ uploadIds?: Array<(string)> | null;
7131
+ /**
7132
+ * The username to display as the author of the message.
7133
+ */
7134
+ username?: string | null;
7135
+ /**
7136
+ * Avatar url to display as the author of the message.
7137
+ */
7138
+ avatarUrl?: string | null;
7139
+ } | null;
7140
+ MASTODON?: {
7141
+ text?: string | null;
7142
+ uploadIds?: Array<(string)> | null;
7143
+ /**
7144
+ * The URL to image uploaded on bundle.social.
7145
+ */
7146
+ thumbnail?: string | null;
7147
+ privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
7148
+ spoiler?: string | null;
7149
+ } | null;
7150
+ };
7151
+ error?: string | null;
7152
+ errors?: {
7153
+ TWITTER?: string | null;
7154
+ PINTEREST?: string | null;
7155
+ FACEBOOK?: string | null;
7156
+ INSTAGRAM?: string | null;
7157
+ TIKTOK?: string | null;
7158
+ LINKEDIN?: string | null;
7159
+ REDDIT?: string | null;
7160
+ DISCORD?: string | null;
7161
+ SLACK?: string | null;
7162
+ YOUTUBE?: string | null;
7163
+ MASTODON?: string | null;
7164
+ THREADS?: string | null;
7165
+ } | null;
7166
+ externalData?: {
7167
+ TWITTER?: {
7168
+ id?: string | null;
7169
+ permalink?: string | null;
7170
+ } | null;
7171
+ PINTEREST?: {
7172
+ id?: string | null;
7173
+ permalink?: string | null;
7174
+ thumbnail?: string | null;
7175
+ } | null;
7176
+ FACEBOOK?: {
7177
+ id?: string | null;
7178
+ postId?: string | null;
7179
+ videoId?: string | null;
7180
+ permalink?: string | null;
7181
+ thumbnail?: string;
7182
+ } | null;
7183
+ INSTAGRAM?: {
7184
+ id?: string | null;
7185
+ permalink?: string | null;
7186
+ thumbnail?: string;
7187
+ } | null;
7188
+ TIKTOK?: {
7189
+ id?: string | null;
7190
+ permalink?: string | null;
7191
+ } | null;
7192
+ LINKEDIN?: {
7193
+ id?: string | null;
7194
+ activity?: string | null;
7195
+ permalink?: string | null;
7196
+ thumbnail?: string;
7197
+ } | null;
7198
+ REDDIT?: {
7199
+ id?: string | null;
7200
+ permalink?: string | null;
7201
+ subreddit_name?: string | null;
7202
+ } | null;
7203
+ DISCORD?: {
7204
+ id?: string | null;
7205
+ permalink?: string | null;
7206
+ channelId?: string | null;
7207
+ } | null;
7208
+ SLACK?: {
7209
+ id?: string | null;
7210
+ permalink?: string | null;
7211
+ channelId?: string | null;
7212
+ } | null;
7213
+ YOUTUBE?: {
7214
+ id?: string | null;
7215
+ permalink?: string | null;
7216
+ thumbnail?: string | null;
7217
+ } | null;
7218
+ MASTODON?: {
7219
+ id?: string | null;
7220
+ permalink?: string | null;
7221
+ thumbnail?: string | null;
7222
+ } | null;
7223
+ THREADS?: {
7224
+ id?: string | null;
7225
+ permalink?: string | null;
7226
+ } | null;
5566
7227
  } | null;
5567
- FACEBOOK?: {
5568
- id?: string | null;
7228
+ createdAt: string | null;
7229
+ updatedAt: string | null;
7230
+ deletedAt?: string | null;
7231
+ profilePosts: Array<{
7232
+ id: string;
7233
+ socialAccountId: string;
5569
7234
  postId?: string | null;
5570
- videoId?: string | null;
5571
- permalink?: string | null;
5572
- } | null;
5573
- INSTAGRAM?: {
5574
- id?: string | null;
5575
- permalink?: string | null;
5576
- } | null;
5577
- TIKTOK?: {
5578
- id?: string | null;
5579
- permalink?: string | null;
5580
- } | null;
5581
- LINKEDIN?: {
5582
- id?: string | null;
5583
- activity?: string | null;
5584
- permalink?: string | null;
5585
- } | null;
5586
- REDDIT?: {
5587
- id?: string | null;
5588
- permalink?: string | null;
5589
- subreddit_name?: string | null;
5590
- } | null;
5591
- DISCORD?: {
5592
- id?: string | null;
5593
- permalink?: string | null;
5594
- channelId?: string | null;
5595
- } | null;
5596
- SLACK?: {
5597
- id?: string | null;
5598
- permalink?: string | null;
5599
- channelId?: string | null;
5600
- } | null;
5601
- YOUTUBE?: {
5602
- id?: string | null;
5603
- permalink?: string | null;
5604
- } | null;
5605
- MASTODON?: {
5606
- id?: string | null;
5607
- permalink?: string | null;
5608
- } | null;
5609
- THREADS?: {
5610
- id?: string | null;
7235
+ externalId?: string | null;
7236
+ title?: string | null;
7237
+ description?: string | null;
7238
+ smallThumbnail?: string | null;
7239
+ thumbnail?: string | null;
5611
7240
  permalink?: string | null;
5612
- } | null;
7241
+ subreddit?: string | null;
7242
+ publishedAt?: string | null;
7243
+ type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
7244
+ init: boolean;
7245
+ createdAt: string | null;
7246
+ updatedAt: string | null;
7247
+ deletedAt?: string | null;
7248
+ socialAccount: {
7249
+ id: string;
7250
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
7251
+ teamId: string;
7252
+ username?: string | null;
7253
+ displayName?: string | null;
7254
+ externalId?: string | null;
7255
+ userUsername?: string | null;
7256
+ userDisplayName?: string | null;
7257
+ userId?: string | null;
7258
+ channels?: Array<{
7259
+ id: string;
7260
+ name?: string | null;
7261
+ username?: string | null;
7262
+ webhook?: {
7263
+ id?: string | null;
7264
+ name?: string | null;
7265
+ avatar?: string | null;
7266
+ url?: string | null;
7267
+ } | null;
7268
+ }> | null;
7269
+ createdAt: string | null;
7270
+ updatedAt: string | null;
7271
+ deletedAt?: string | null;
7272
+ };
7273
+ }>;
5613
7274
  } | null;
5614
- createdAt: string | null;
5615
- updatedAt: string | null;
5616
- deletedAt?: string | null;
5617
7275
  };
5618
7276
  /**
5619
7277
  * 400
@@ -5688,13 +7346,13 @@ type $OpenApiTs = {
5688
7346
  text?: string | null;
5689
7347
  } | null;
5690
7348
  LINKEDIN?: {
5691
- text: string;
7349
+ text?: string | null;
5692
7350
  } | null;
5693
7351
  YOUTUBE?: {
5694
7352
  text?: string | null;
5695
7353
  } | null;
5696
7354
  REDDIT?: {
5697
- text: string;
7355
+ text?: string | null;
5698
7356
  } | null;
5699
7357
  MASTODON?: {
5700
7358
  text?: string | null;
@@ -5837,13 +7495,13 @@ type $OpenApiTs = {
5837
7495
  text?: string | null;
5838
7496
  } | null;
5839
7497
  LINKEDIN?: {
5840
- text: string;
7498
+ text?: string | null;
5841
7499
  } | null;
5842
7500
  YOUTUBE?: {
5843
7501
  text?: string | null;
5844
7502
  } | null;
5845
7503
  REDDIT?: {
5846
- text: string;
7504
+ text?: string | null;
5847
7505
  } | null;
5848
7506
  MASTODON?: {
5849
7507
  text?: string | null;
@@ -5986,13 +7644,13 @@ type $OpenApiTs = {
5986
7644
  text?: string | null;
5987
7645
  } | null;
5988
7646
  LINKEDIN?: {
5989
- text: string;
7647
+ text?: string | null;
5990
7648
  } | null;
5991
7649
  YOUTUBE?: {
5992
7650
  text?: string | null;
5993
7651
  } | null;
5994
7652
  REDDIT?: {
5995
- text: string;
7653
+ text?: string | null;
5996
7654
  } | null;
5997
7655
  MASTODON?: {
5998
7656
  text?: string | null;
@@ -6138,13 +7796,13 @@ type $OpenApiTs = {
6138
7796
  text?: string | null;
6139
7797
  } | null;
6140
7798
  LINKEDIN?: {
6141
- text: string;
7799
+ text?: string | null;
6142
7800
  } | null;
6143
7801
  YOUTUBE?: {
6144
7802
  text?: string | null;
6145
7803
  } | null;
6146
7804
  REDDIT?: {
6147
- text: string;
7805
+ text?: string | null;
6148
7806
  } | null;
6149
7807
  MASTODON?: {
6150
7808
  text?: string | null;
@@ -6289,13 +7947,13 @@ type $OpenApiTs = {
6289
7947
  text?: string | null;
6290
7948
  } | null;
6291
7949
  LINKEDIN?: {
6292
- text: string;
7950
+ text?: string | null;
6293
7951
  } | null;
6294
7952
  YOUTUBE?: {
6295
7953
  text?: string | null;
6296
7954
  } | null;
6297
7955
  REDDIT?: {
6298
- text: string;
7956
+ text?: string | null;
6299
7957
  } | null;
6300
7958
  MASTODON?: {
6301
7959
  text?: string | null;
@@ -6528,7 +8186,7 @@ declare class UploadService {
6528
8186
  * @returns unknown 200
6529
8187
  * @throws ApiError
6530
8188
  */
6531
- uploadGetList(data: UploadGetListData): CancelablePromise<UploadGetListResponse>;
8189
+ uploadGetList(data?: UploadGetListData): CancelablePromise<UploadGetListResponse>;
6532
8190
  /**
6533
8191
  * Create upload
6534
8192
  * Upload a file. This is the only endpoint that uses multipart/form-data.
@@ -6562,6 +8220,24 @@ declare class UploadService {
6562
8220
  * @throws ApiError
6563
8221
  */
6564
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>;
6565
8241
  }
6566
8242
  declare class PostService {
6567
8243
  readonly httpRequest: BaseHttpRequest;
@@ -6615,6 +8291,36 @@ declare class PostService {
6615
8291
  */
6616
8292
  postCreate(data?: PostCreateData): CancelablePromise<PostCreateResponse>;
6617
8293
  }
8294
+ declare class AnalyticsService {
8295
+ readonly httpRequest: BaseHttpRequest;
8296
+ constructor(httpRequest: BaseHttpRequest);
8297
+ /**
8298
+ * Get Profile Analytics
8299
+ * @param data The data for the request.
8300
+ * @param data.teamId
8301
+ * @param data.platformType
8302
+ * @returns unknown 200
8303
+ * @throws ApiError
8304
+ */
8305
+ analyticsGetProfileAnalytics(data: AnalyticsGetProfileAnalyticsData): CancelablePromise<AnalyticsGetProfileAnalyticsResponse>;
8306
+ /**
8307
+ * Get Profile Posts
8308
+ * @param data The data for the request.
8309
+ * @param data.teamId
8310
+ * @param data.platformType
8311
+ * @returns unknown 200
8312
+ * @throws ApiError
8313
+ */
8314
+ analyticsGetProfilePosts(data: AnalyticsGetProfilePostsData): CancelablePromise<AnalyticsGetProfilePostsResponse>;
8315
+ /**
8316
+ * Get Profile Post
8317
+ * @param data The data for the request.
8318
+ * @param data.id
8319
+ * @returns unknown 200
8320
+ * @throws ApiError
8321
+ */
8322
+ analyticsGetProfilePost(data: AnalyticsGetProfilePostData): CancelablePromise<AnalyticsGetProfilePostResponse>;
8323
+ }
6618
8324
  declare class CommentService {
6619
8325
  readonly httpRequest: BaseHttpRequest;
6620
8326
  constructor(httpRequest: BaseHttpRequest);
@@ -6670,6 +8376,7 @@ declare class CommentService {
6670
8376
 
6671
8377
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
6672
8378
  declare class Client {
8379
+ readonly analytics: AnalyticsService;
6673
8380
  readonly app: AppService;
6674
8381
  readonly comment: CommentService;
6675
8382
  readonly organization: OrganizationService;
@@ -6727,4 +8434,4 @@ declare class Bundlesocial extends Client {
6727
8434
  constructor(apiKey: string, options?: OpenAPIConfig);
6728
8435
  }
6729
8436
 
6730
- export { $OpenApiTs, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, CommentCreateData, CommentCreateResponse, CommentDeleteData, CommentDeleteResponse, CommentGetData, CommentGetListData, CommentGetListResponse, CommentGetResponse, CommentUpdateData, CommentUpdateResponse, OpenAPI, OpenAPIConfig, OrganizationGetOrganizationResponse, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, WebhookEvent, WebhookEventType };
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 };