bundlesocial 2.12.0 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -147,8 +147,8 @@ type OrganizationGetOrganizationResponse = {
147
147
  canceledAt?: string | null;
148
148
  trialStart?: string | null;
149
149
  trialEnd?: string | null;
150
- maxMonthlyPosts: number;
151
- maxMonthlyUploads: number;
150
+ maxMonthlyPosts?: number | null;
151
+ maxMonthlyUploads?: number | null;
152
152
  discountStart?: string | null;
153
153
  discountEnd?: string | null;
154
154
  createdAt: string | null;
@@ -586,6 +586,7 @@ type SocialAccountCopyResponse = Array<{
586
586
  }>;
587
587
  type UploadGetListData = {
588
588
  teamId?: string | null;
589
+ type?: 'image' | 'video' | null;
589
590
  };
590
591
  type UploadGetListResponse = Array<{
591
592
  id: string;
@@ -607,13 +608,6 @@ type UploadGetListResponse = Array<{
607
608
  ext?: string | null;
608
609
  createdAt: string | null;
609
610
  updatedAt: string | null;
610
- posts: Array<{
611
- postId: string;
612
- uploadId: string;
613
- createdAt: string | null;
614
- updatedAt: string | null;
615
- deletedAt?: string | null;
616
- }>;
617
611
  }>;
618
612
  type UploadCreateData = {
619
613
  /**
@@ -772,6 +766,7 @@ type PostGetData = {
772
766
  type PostGetResponse = {
773
767
  id: string;
774
768
  teamId: string;
769
+ organizationId?: string | null;
775
770
  title: string;
776
771
  postDate: string | null;
777
772
  postedDate?: string | null;
@@ -811,6 +806,10 @@ type PostGetResponse = {
811
806
  type?: 'POST' | 'REEL' | 'STORY';
812
807
  text?: string | null;
813
808
  uploadIds?: Array<(string)> | null;
809
+ /**
810
+ * The URL to which the post will link to. Only available for type POST.
811
+ */
812
+ link?: string | null;
814
813
  /**
815
814
  * The URL to image uploaded on bundle.social.
816
815
  */
@@ -832,6 +831,12 @@ type PostGetResponse = {
832
831
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
833
832
  */
834
833
  shareToFeed?: boolean | null;
834
+ collaborators?: Array<(string)> | null;
835
+ tagged?: Array<{
836
+ username: string;
837
+ x: number;
838
+ y: number;
839
+ }> | null;
835
840
  } | null;
836
841
  THREADS?: {
837
842
  text?: string | null;
@@ -841,6 +846,10 @@ type PostGetResponse = {
841
846
  type?: 'VIDEO' | 'IMAGE';
842
847
  text?: string | null;
843
848
  uploadIds?: Array<(string)> | null;
849
+ /**
850
+ * The URL to image uploaded on bundle.social.
851
+ */
852
+ thumbnail?: string | null;
844
853
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
845
854
  /**
846
855
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -1143,6 +1152,10 @@ type PostUpdateData = {
1143
1152
  type?: 'POST' | 'REEL' | 'STORY';
1144
1153
  text?: string | null;
1145
1154
  uploadIds?: Array<(string)> | null;
1155
+ /**
1156
+ * The URL to which the post will link to. Only available for type POST.
1157
+ */
1158
+ link?: string | null;
1146
1159
  /**
1147
1160
  * The URL to image uploaded on bundle.social.
1148
1161
  */
@@ -1164,6 +1177,12 @@ type PostUpdateData = {
1164
1177
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
1165
1178
  */
1166
1179
  shareToFeed?: boolean | null;
1180
+ collaborators?: Array<(string)> | null;
1181
+ tagged?: Array<{
1182
+ username: string;
1183
+ x: number;
1184
+ y: number;
1185
+ }> | null;
1167
1186
  } | null;
1168
1187
  THREADS?: {
1169
1188
  text?: string | null;
@@ -1173,6 +1192,10 @@ type PostUpdateData = {
1173
1192
  type?: 'VIDEO' | 'IMAGE';
1174
1193
  text?: string | null;
1175
1194
  uploadIds?: Array<(string)> | null;
1195
+ /**
1196
+ * The URL to image uploaded on bundle.social.
1197
+ */
1198
+ thumbnail?: string | null;
1176
1199
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
1177
1200
  /**
1178
1201
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -1294,6 +1317,7 @@ type PostUpdateData = {
1294
1317
  type PostUpdateResponse = {
1295
1318
  id: string;
1296
1319
  teamId: string;
1320
+ organizationId?: string | null;
1297
1321
  title: string;
1298
1322
  postDate: string | null;
1299
1323
  postedDate?: string | null;
@@ -1333,6 +1357,10 @@ type PostUpdateResponse = {
1333
1357
  type?: 'POST' | 'REEL' | 'STORY';
1334
1358
  text?: string | null;
1335
1359
  uploadIds?: Array<(string)> | null;
1360
+ /**
1361
+ * The URL to which the post will link to. Only available for type POST.
1362
+ */
1363
+ link?: string | null;
1336
1364
  /**
1337
1365
  * The URL to image uploaded on bundle.social.
1338
1366
  */
@@ -1354,6 +1382,12 @@ type PostUpdateResponse = {
1354
1382
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
1355
1383
  */
1356
1384
  shareToFeed?: boolean | null;
1385
+ collaborators?: Array<(string)> | null;
1386
+ tagged?: Array<{
1387
+ username: string;
1388
+ x: number;
1389
+ y: number;
1390
+ }> | null;
1357
1391
  } | null;
1358
1392
  THREADS?: {
1359
1393
  text?: string | null;
@@ -1363,6 +1397,10 @@ type PostUpdateResponse = {
1363
1397
  type?: 'VIDEO' | 'IMAGE';
1364
1398
  text?: string | null;
1365
1399
  uploadIds?: Array<(string)> | null;
1400
+ /**
1401
+ * The URL to image uploaded on bundle.social.
1402
+ */
1403
+ thumbnail?: string | null;
1366
1404
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
1367
1405
  /**
1368
1406
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -1566,6 +1604,7 @@ type PostDeleteData = {
1566
1604
  type PostDeleteResponse = {
1567
1605
  id: string;
1568
1606
  teamId: string;
1607
+ organizationId?: string | null;
1569
1608
  title: string;
1570
1609
  postDate: string | null;
1571
1610
  postedDate?: string | null;
@@ -1605,6 +1644,10 @@ type PostDeleteResponse = {
1605
1644
  type?: 'POST' | 'REEL' | 'STORY';
1606
1645
  text?: string | null;
1607
1646
  uploadIds?: Array<(string)> | null;
1647
+ /**
1648
+ * The URL to which the post will link to. Only available for type POST.
1649
+ */
1650
+ link?: string | null;
1608
1651
  /**
1609
1652
  * The URL to image uploaded on bundle.social.
1610
1653
  */
@@ -1626,6 +1669,12 @@ type PostDeleteResponse = {
1626
1669
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
1627
1670
  */
1628
1671
  shareToFeed?: boolean | null;
1672
+ collaborators?: Array<(string)> | null;
1673
+ tagged?: Array<{
1674
+ username: string;
1675
+ x: number;
1676
+ y: number;
1677
+ }> | null;
1629
1678
  } | null;
1630
1679
  THREADS?: {
1631
1680
  text?: string | null;
@@ -1635,6 +1684,10 @@ type PostDeleteResponse = {
1635
1684
  type?: 'VIDEO' | 'IMAGE';
1636
1685
  text?: string | null;
1637
1686
  uploadIds?: Array<(string)> | null;
1687
+ /**
1688
+ * The URL to image uploaded on bundle.social.
1689
+ */
1690
+ thumbnail?: string | null;
1638
1691
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
1639
1692
  /**
1640
1693
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -1846,6 +1899,7 @@ type PostGetListResponse = {
1846
1899
  items: Array<{
1847
1900
  id: string;
1848
1901
  teamId: string;
1902
+ organizationId?: string | null;
1849
1903
  title: string;
1850
1904
  postDate: string | null;
1851
1905
  postedDate?: string | null;
@@ -1885,6 +1939,10 @@ type PostGetListResponse = {
1885
1939
  type?: 'POST' | 'REEL' | 'STORY';
1886
1940
  text?: string | null;
1887
1941
  uploadIds?: Array<(string)> | null;
1942
+ /**
1943
+ * The URL to which the post will link to. Only available for type POST.
1944
+ */
1945
+ link?: string | null;
1888
1946
  /**
1889
1947
  * The URL to image uploaded on bundle.social.
1890
1948
  */
@@ -1906,6 +1964,12 @@ type PostGetListResponse = {
1906
1964
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
1907
1965
  */
1908
1966
  shareToFeed?: boolean | null;
1967
+ collaborators?: Array<(string)> | null;
1968
+ tagged?: Array<{
1969
+ username: string;
1970
+ x: number;
1971
+ y: number;
1972
+ }> | null;
1909
1973
  } | null;
1910
1974
  THREADS?: {
1911
1975
  text?: string | null;
@@ -1915,6 +1979,10 @@ type PostGetListResponse = {
1915
1979
  type?: 'VIDEO' | 'IMAGE';
1916
1980
  text?: string | null;
1917
1981
  uploadIds?: Array<(string)> | null;
1982
+ /**
1983
+ * The URL to image uploaded on bundle.social.
1984
+ */
1985
+ thumbnail?: string | null;
1918
1986
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
1919
1987
  /**
1920
1988
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -2219,6 +2287,10 @@ type PostCreateData = {
2219
2287
  type?: 'POST' | 'REEL' | 'STORY';
2220
2288
  text?: string | null;
2221
2289
  uploadIds?: Array<(string)> | null;
2290
+ /**
2291
+ * The URL to which the post will link to. Only available for type POST.
2292
+ */
2293
+ link?: string | null;
2222
2294
  /**
2223
2295
  * The URL to image uploaded on bundle.social.
2224
2296
  */
@@ -2240,6 +2312,12 @@ type PostCreateData = {
2240
2312
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
2241
2313
  */
2242
2314
  shareToFeed?: boolean | null;
2315
+ collaborators?: Array<(string)> | null;
2316
+ tagged?: Array<{
2317
+ username: string;
2318
+ x: number;
2319
+ y: number;
2320
+ }> | null;
2243
2321
  } | null;
2244
2322
  THREADS?: {
2245
2323
  text?: string | null;
@@ -2249,6 +2327,10 @@ type PostCreateData = {
2249
2327
  type?: 'VIDEO' | 'IMAGE';
2250
2328
  text?: string | null;
2251
2329
  uploadIds?: Array<(string)> | null;
2330
+ /**
2331
+ * The URL to image uploaded on bundle.social.
2332
+ */
2333
+ thumbnail?: string | null;
2252
2334
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
2253
2335
  /**
2254
2336
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -2370,6 +2452,7 @@ type PostCreateData = {
2370
2452
  type PostCreateResponse = {
2371
2453
  id: string;
2372
2454
  teamId: string;
2455
+ organizationId?: string | null;
2373
2456
  title: string;
2374
2457
  postDate: string | null;
2375
2458
  postedDate?: string | null;
@@ -2409,6 +2492,10 @@ type PostCreateResponse = {
2409
2492
  type?: 'POST' | 'REEL' | 'STORY';
2410
2493
  text?: string | null;
2411
2494
  uploadIds?: Array<(string)> | null;
2495
+ /**
2496
+ * The URL to which the post will link to. Only available for type POST.
2497
+ */
2498
+ link?: string | null;
2412
2499
  /**
2413
2500
  * The URL to image uploaded on bundle.social.
2414
2501
  */
@@ -2430,6 +2517,12 @@ type PostCreateResponse = {
2430
2517
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
2431
2518
  */
2432
2519
  shareToFeed?: boolean | null;
2520
+ collaborators?: Array<(string)> | null;
2521
+ tagged?: Array<{
2522
+ username: string;
2523
+ x: number;
2524
+ y: number;
2525
+ }> | null;
2433
2526
  } | null;
2434
2527
  THREADS?: {
2435
2528
  text?: string | null;
@@ -2439,6 +2532,10 @@ type PostCreateResponse = {
2439
2532
  type?: 'VIDEO' | 'IMAGE';
2440
2533
  text?: string | null;
2441
2534
  uploadIds?: Array<(string)> | null;
2535
+ /**
2536
+ * The URL to image uploaded on bundle.social.
2537
+ */
2538
+ thumbnail?: string | null;
2442
2539
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
2443
2540
  /**
2444
2541
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -2744,6 +2841,7 @@ type AnalyticsGetProfilePostResponse = {
2744
2841
  post?: {
2745
2842
  id: string;
2746
2843
  teamId: string;
2844
+ organizationId?: string | null;
2747
2845
  title: string;
2748
2846
  postDate: string | null;
2749
2847
  postedDate?: string | null;
@@ -2783,6 +2881,10 @@ type AnalyticsGetProfilePostResponse = {
2783
2881
  type?: 'POST' | 'REEL' | 'STORY';
2784
2882
  text?: string | null;
2785
2883
  uploadIds?: Array<(string)> | null;
2884
+ /**
2885
+ * The URL to which the post will link to. Only available for type POST.
2886
+ */
2887
+ link?: string | null;
2786
2888
  /**
2787
2889
  * The URL to image uploaded on bundle.social.
2788
2890
  */
@@ -2804,6 +2906,12 @@ type AnalyticsGetProfilePostResponse = {
2804
2906
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
2805
2907
  */
2806
2908
  shareToFeed?: boolean | null;
2909
+ collaborators?: Array<(string)> | null;
2910
+ tagged?: Array<{
2911
+ username: string;
2912
+ x: number;
2913
+ y: number;
2914
+ }> | null;
2807
2915
  } | null;
2808
2916
  THREADS?: {
2809
2917
  text?: string | null;
@@ -2813,6 +2921,10 @@ type AnalyticsGetProfilePostResponse = {
2813
2921
  type?: 'VIDEO' | 'IMAGE';
2814
2922
  text?: string | null;
2815
2923
  uploadIds?: Array<(string)> | null;
2924
+ /**
2925
+ * The URL to image uploaded on bundle.social.
2926
+ */
2927
+ thumbnail?: string | null;
2816
2928
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
2817
2929
  /**
2818
2930
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -3060,9 +3172,10 @@ type CommentGetData = {
3060
3172
  type CommentGetResponse = {
3061
3173
  id: string;
3062
3174
  teamId: string;
3175
+ organizationId?: string | null;
3063
3176
  internalPostId: string;
3064
3177
  internalParentCommentId?: string | null;
3065
- text: string;
3178
+ title: string;
3066
3179
  postDate: string | null;
3067
3180
  postedDate?: string | null;
3068
3181
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -3164,7 +3277,7 @@ type CommentUpdateData = {
3164
3277
  * Body
3165
3278
  */
3166
3279
  requestBody?: {
3167
- text?: string;
3280
+ title?: string;
3168
3281
  internalPostId?: string;
3169
3282
  internalParentCommentId?: string | null;
3170
3283
  postDate?: string;
@@ -3207,9 +3320,10 @@ type CommentUpdateData = {
3207
3320
  type CommentUpdateResponse = {
3208
3321
  id: string;
3209
3322
  teamId: string;
3323
+ organizationId?: string | null;
3210
3324
  internalPostId: string;
3211
3325
  internalParentCommentId?: string | null;
3212
- text: string;
3326
+ title: string;
3213
3327
  postDate: string | null;
3214
3328
  postedDate?: string | null;
3215
3329
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -3311,9 +3425,10 @@ type CommentDeleteData = {
3311
3425
  type CommentDeleteResponse = {
3312
3426
  id: string;
3313
3427
  teamId: string;
3428
+ organizationId?: string | null;
3314
3429
  internalPostId: string;
3315
3430
  internalParentCommentId?: string | null;
3316
- text: string;
3431
+ title: string;
3317
3432
  postDate: string | null;
3318
3433
  postedDate?: string | null;
3319
3434
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -3423,9 +3538,10 @@ type CommentGetListResponse = {
3423
3538
  items: Array<{
3424
3539
  id: string;
3425
3540
  teamId: string;
3541
+ organizationId?: string | null;
3426
3542
  internalPostId: string;
3427
3543
  internalParentCommentId?: string | null;
3428
- text: string;
3544
+ title: string;
3429
3545
  postDate: string | null;
3430
3546
  postedDate?: string | null;
3431
3547
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -3529,7 +3645,7 @@ type CommentCreateData = {
3529
3645
  */
3530
3646
  requestBody?: {
3531
3647
  teamId: string;
3532
- text: string;
3648
+ title: string;
3533
3649
  internalPostId: string;
3534
3650
  internalParentCommentId?: string | null;
3535
3651
  postDate: string;
@@ -3572,9 +3688,10 @@ type CommentCreateData = {
3572
3688
  type CommentCreateResponse = {
3573
3689
  id: string;
3574
3690
  teamId: string;
3691
+ organizationId?: string | null;
3575
3692
  internalPostId: string;
3576
3693
  internalParentCommentId?: string | null;
3577
- text: string;
3694
+ title: string;
3578
3695
  postDate: string | null;
3579
3696
  postedDate?: string | null;
3580
3697
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -3802,8 +3919,8 @@ type $OpenApiTs = {
3802
3919
  canceledAt?: string | null;
3803
3920
  trialStart?: string | null;
3804
3921
  trialEnd?: string | null;
3805
- maxMonthlyPosts: number;
3806
- maxMonthlyUploads: number;
3922
+ maxMonthlyPosts?: number | null;
3923
+ maxMonthlyUploads?: number | null;
3807
3924
  discountStart?: string | null;
3808
3925
  discountEnd?: string | null;
3809
3926
  createdAt: string | null;
@@ -4710,13 +4827,6 @@ type $OpenApiTs = {
4710
4827
  ext?: string | null;
4711
4828
  createdAt: string | null;
4712
4829
  updatedAt: string | null;
4713
- posts: Array<{
4714
- postId: string;
4715
- uploadId: string;
4716
- createdAt: string | null;
4717
- updatedAt: string | null;
4718
- deletedAt?: string | null;
4719
- }>;
4720
4830
  }>;
4721
4831
  /**
4722
4832
  * 400
@@ -5174,6 +5284,7 @@ type $OpenApiTs = {
5174
5284
  200: {
5175
5285
  id: string;
5176
5286
  teamId: string;
5287
+ organizationId?: string | null;
5177
5288
  title: string;
5178
5289
  postDate: string | null;
5179
5290
  postedDate?: string | null;
@@ -5213,6 +5324,10 @@ type $OpenApiTs = {
5213
5324
  type?: 'POST' | 'REEL' | 'STORY';
5214
5325
  text?: string | null;
5215
5326
  uploadIds?: Array<(string)> | null;
5327
+ /**
5328
+ * The URL to which the post will link to. Only available for type POST.
5329
+ */
5330
+ link?: string | null;
5216
5331
  /**
5217
5332
  * The URL to image uploaded on bundle.social.
5218
5333
  */
@@ -5234,6 +5349,12 @@ type $OpenApiTs = {
5234
5349
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
5235
5350
  */
5236
5351
  shareToFeed?: boolean | null;
5352
+ collaborators?: Array<(string)> | null;
5353
+ tagged?: Array<{
5354
+ username: string;
5355
+ x: number;
5356
+ y: number;
5357
+ }> | null;
5237
5358
  } | null;
5238
5359
  THREADS?: {
5239
5360
  text?: string | null;
@@ -5243,6 +5364,10 @@ type $OpenApiTs = {
5243
5364
  type?: 'VIDEO' | 'IMAGE';
5244
5365
  text?: string | null;
5245
5366
  uploadIds?: Array<(string)> | null;
5367
+ /**
5368
+ * The URL to image uploaded on bundle.social.
5369
+ */
5370
+ thumbnail?: string | null;
5246
5371
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
5247
5372
  /**
5248
5373
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -5551,6 +5676,7 @@ type $OpenApiTs = {
5551
5676
  200: {
5552
5677
  id: string;
5553
5678
  teamId: string;
5679
+ organizationId?: string | null;
5554
5680
  title: string;
5555
5681
  postDate: string | null;
5556
5682
  postedDate?: string | null;
@@ -5590,6 +5716,10 @@ type $OpenApiTs = {
5590
5716
  type?: 'POST' | 'REEL' | 'STORY';
5591
5717
  text?: string | null;
5592
5718
  uploadIds?: Array<(string)> | null;
5719
+ /**
5720
+ * The URL to which the post will link to. Only available for type POST.
5721
+ */
5722
+ link?: string | null;
5593
5723
  /**
5594
5724
  * The URL to image uploaded on bundle.social.
5595
5725
  */
@@ -5611,6 +5741,12 @@ type $OpenApiTs = {
5611
5741
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
5612
5742
  */
5613
5743
  shareToFeed?: boolean | null;
5744
+ collaborators?: Array<(string)> | null;
5745
+ tagged?: Array<{
5746
+ username: string;
5747
+ x: number;
5748
+ y: number;
5749
+ }> | null;
5614
5750
  } | null;
5615
5751
  THREADS?: {
5616
5752
  text?: string | null;
@@ -5620,6 +5756,10 @@ type $OpenApiTs = {
5620
5756
  type?: 'VIDEO' | 'IMAGE';
5621
5757
  text?: string | null;
5622
5758
  uploadIds?: Array<(string)> | null;
5759
+ /**
5760
+ * The URL to image uploaded on bundle.social.
5761
+ */
5762
+ thumbnail?: string | null;
5623
5763
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
5624
5764
  /**
5625
5765
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -5868,6 +6008,7 @@ type $OpenApiTs = {
5868
6008
  200: {
5869
6009
  id: string;
5870
6010
  teamId: string;
6011
+ organizationId?: string | null;
5871
6012
  title: string;
5872
6013
  postDate: string | null;
5873
6014
  postedDate?: string | null;
@@ -5907,6 +6048,10 @@ type $OpenApiTs = {
5907
6048
  type?: 'POST' | 'REEL' | 'STORY';
5908
6049
  text?: string | null;
5909
6050
  uploadIds?: Array<(string)> | null;
6051
+ /**
6052
+ * The URL to which the post will link to. Only available for type POST.
6053
+ */
6054
+ link?: string | null;
5910
6055
  /**
5911
6056
  * The URL to image uploaded on bundle.social.
5912
6057
  */
@@ -5928,6 +6073,12 @@ type $OpenApiTs = {
5928
6073
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
5929
6074
  */
5930
6075
  shareToFeed?: boolean | null;
6076
+ collaborators?: Array<(string)> | null;
6077
+ tagged?: Array<{
6078
+ username: string;
6079
+ x: number;
6080
+ y: number;
6081
+ }> | null;
5931
6082
  } | null;
5932
6083
  THREADS?: {
5933
6084
  text?: string | null;
@@ -5937,6 +6088,10 @@ type $OpenApiTs = {
5937
6088
  type?: 'VIDEO' | 'IMAGE';
5938
6089
  text?: string | null;
5939
6090
  uploadIds?: Array<(string)> | null;
6091
+ /**
6092
+ * The URL to image uploaded on bundle.social.
6093
+ */
6094
+ thumbnail?: string | null;
5940
6095
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
5941
6096
  /**
5942
6097
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -6188,6 +6343,7 @@ type $OpenApiTs = {
6188
6343
  items: Array<{
6189
6344
  id: string;
6190
6345
  teamId: string;
6346
+ organizationId?: string | null;
6191
6347
  title: string;
6192
6348
  postDate: string | null;
6193
6349
  postedDate?: string | null;
@@ -6227,6 +6383,10 @@ type $OpenApiTs = {
6227
6383
  type?: 'POST' | 'REEL' | 'STORY';
6228
6384
  text?: string | null;
6229
6385
  uploadIds?: Array<(string)> | null;
6386
+ /**
6387
+ * The URL to which the post will link to. Only available for type POST.
6388
+ */
6389
+ link?: string | null;
6230
6390
  /**
6231
6391
  * The URL to image uploaded on bundle.social.
6232
6392
  */
@@ -6248,6 +6408,12 @@ type $OpenApiTs = {
6248
6408
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
6249
6409
  */
6250
6410
  shareToFeed?: boolean | null;
6411
+ collaborators?: Array<(string)> | null;
6412
+ tagged?: Array<{
6413
+ username: string;
6414
+ x: number;
6415
+ y: number;
6416
+ }> | null;
6251
6417
  } | null;
6252
6418
  THREADS?: {
6253
6419
  text?: string | null;
@@ -6257,6 +6423,10 @@ type $OpenApiTs = {
6257
6423
  type?: 'VIDEO' | 'IMAGE';
6258
6424
  text?: string | null;
6259
6425
  uploadIds?: Array<(string)> | null;
6426
+ /**
6427
+ * The URL to image uploaded on bundle.social.
6428
+ */
6429
+ thumbnail?: string | null;
6260
6430
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
6261
6431
  /**
6262
6432
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -6567,6 +6737,7 @@ type $OpenApiTs = {
6567
6737
  200: {
6568
6738
  id: string;
6569
6739
  teamId: string;
6740
+ organizationId?: string | null;
6570
6741
  title: string;
6571
6742
  postDate: string | null;
6572
6743
  postedDate?: string | null;
@@ -6606,6 +6777,10 @@ type $OpenApiTs = {
6606
6777
  type?: 'POST' | 'REEL' | 'STORY';
6607
6778
  text?: string | null;
6608
6779
  uploadIds?: Array<(string)> | null;
6780
+ /**
6781
+ * The URL to which the post will link to. Only available for type POST.
6782
+ */
6783
+ link?: string | null;
6609
6784
  /**
6610
6785
  * The URL to image uploaded on bundle.social.
6611
6786
  */
@@ -6627,6 +6802,12 @@ type $OpenApiTs = {
6627
6802
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
6628
6803
  */
6629
6804
  shareToFeed?: boolean | null;
6805
+ collaborators?: Array<(string)> | null;
6806
+ tagged?: Array<{
6807
+ username: string;
6808
+ x: number;
6809
+ y: number;
6810
+ }> | null;
6630
6811
  } | null;
6631
6812
  THREADS?: {
6632
6813
  text?: string | null;
@@ -6636,6 +6817,10 @@ type $OpenApiTs = {
6636
6817
  type?: 'VIDEO' | 'IMAGE';
6637
6818
  text?: string | null;
6638
6819
  uploadIds?: Array<(string)> | null;
6820
+ /**
6821
+ * The URL to image uploaded on bundle.social.
6822
+ */
6823
+ thumbnail?: string | null;
6639
6824
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
6640
6825
  /**
6641
6826
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -7080,6 +7265,7 @@ type $OpenApiTs = {
7080
7265
  post?: {
7081
7266
  id: string;
7082
7267
  teamId: string;
7268
+ organizationId?: string | null;
7083
7269
  title: string;
7084
7270
  postDate: string | null;
7085
7271
  postedDate?: string | null;
@@ -7119,6 +7305,10 @@ type $OpenApiTs = {
7119
7305
  type?: 'POST' | 'REEL' | 'STORY';
7120
7306
  text?: string | null;
7121
7307
  uploadIds?: Array<(string)> | null;
7308
+ /**
7309
+ * The URL to which the post will link to. Only available for type POST.
7310
+ */
7311
+ link?: string | null;
7122
7312
  /**
7123
7313
  * The URL to image uploaded on bundle.social.
7124
7314
  */
@@ -7140,6 +7330,12 @@ type $OpenApiTs = {
7140
7330
  * For Reels only.When true, indicates that the reel can appear in both the Feed and Reels tabs.When false, indicates the reel can only appear in the Reels tab.
7141
7331
  */
7142
7332
  shareToFeed?: boolean | null;
7333
+ collaborators?: Array<(string)> | null;
7334
+ tagged?: Array<{
7335
+ username: string;
7336
+ x: number;
7337
+ y: number;
7338
+ }> | null;
7143
7339
  } | null;
7144
7340
  THREADS?: {
7145
7341
  text?: string | null;
@@ -7149,6 +7345,10 @@ type $OpenApiTs = {
7149
7345
  type?: 'VIDEO' | 'IMAGE';
7150
7346
  text?: string | null;
7151
7347
  uploadIds?: Array<(string)> | null;
7348
+ /**
7349
+ * The URL to image uploaded on bundle.social.
7350
+ */
7351
+ thumbnail?: string | null;
7152
7352
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
7153
7353
  /**
7154
7354
  * Set to true if the video is a paid partnership to promote a third-party business.
@@ -7443,9 +7643,10 @@ type $OpenApiTs = {
7443
7643
  200: {
7444
7644
  id: string;
7445
7645
  teamId: string;
7646
+ organizationId?: string | null;
7446
7647
  internalPostId: string;
7447
7648
  internalParentCommentId?: string | null;
7448
- text: string;
7649
+ title: string;
7449
7650
  postDate: string | null;
7450
7651
  postedDate?: string | null;
7451
7652
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -7592,9 +7793,10 @@ type $OpenApiTs = {
7592
7793
  200: {
7593
7794
  id: string;
7594
7795
  teamId: string;
7796
+ organizationId?: string | null;
7595
7797
  internalPostId: string;
7596
7798
  internalParentCommentId?: string | null;
7597
- text: string;
7799
+ title: string;
7598
7800
  postDate: string | null;
7599
7801
  postedDate?: string | null;
7600
7802
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -7741,9 +7943,10 @@ type $OpenApiTs = {
7741
7943
  200: {
7742
7944
  id: string;
7743
7945
  teamId: string;
7946
+ organizationId?: string | null;
7744
7947
  internalPostId: string;
7745
7948
  internalParentCommentId?: string | null;
7746
- text: string;
7949
+ title: string;
7747
7950
  postDate: string | null;
7748
7951
  postedDate?: string | null;
7749
7952
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -7893,9 +8096,10 @@ type $OpenApiTs = {
7893
8096
  items: Array<{
7894
8097
  id: string;
7895
8098
  teamId: string;
8099
+ organizationId?: string | null;
7896
8100
  internalPostId: string;
7897
8101
  internalParentCommentId?: string | null;
7898
- text: string;
8102
+ title: string;
7899
8103
  postDate: string | null;
7900
8104
  postedDate?: string | null;
7901
8105
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -8044,9 +8248,10 @@ type $OpenApiTs = {
8044
8248
  200: {
8045
8249
  id: string;
8046
8250
  teamId: string;
8251
+ organizationId?: string | null;
8047
8252
  internalPostId: string;
8048
8253
  internalParentCommentId?: string | null;
8049
- text: string;
8254
+ title: string;
8050
8255
  postDate: string | null;
8051
8256
  postedDate?: string | null;
8052
8257
  status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
@@ -8308,6 +8513,7 @@ declare class UploadService {
8308
8513
  * Get upload list
8309
8514
  * @param data The data for the request.
8310
8515
  * @param data.teamId
8516
+ * @param data.type
8311
8517
  * @returns unknown 200
8312
8518
  * @throws ApiError
8313
8519
  */
@@ -8530,41 +8736,24 @@ declare class ApiError extends Error {
8530
8736
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
8531
8737
  }
8532
8738
 
8533
- declare enum WebhookEventEnum {
8534
- POST_PUBLISHED = "post.published",
8535
- COMMENT_PUBLISHED = "comment.published",
8536
- TEAM_CREATED = "team.created",
8537
- TEAM_UPDATED = "team.updated",
8538
- TEAM_DELETED = "team.deleted",
8539
- SOCIAL_ACCOUNT_CREATED = "social-account.created",
8540
- SOCIAL_ACCOUNT_UPDATED = "social-account.updated",
8541
- SOCIAL_ACCOUNT_DELETED = "social-account.deleted"
8542
- }
8543
- type WebhookEvent = {
8544
- type: WebhookEventEnum.POST_PUBLISHED;
8545
- data: PostGetResponse;
8546
- } | {
8547
- type: WebhookEventEnum.COMMENT_PUBLISHED;
8548
- data: CommentGetResponse;
8549
- } | {
8550
- type: WebhookEventEnum.TEAM_CREATED;
8551
- data: TeamGetTeamResponse;
8552
- } | {
8553
- type: WebhookEventEnum.TEAM_UPDATED;
8554
- data: TeamGetTeamResponse;
8555
- } | {
8556
- type: WebhookEventEnum.TEAM_DELETED;
8557
- data: TeamGetTeamResponse;
8558
- } | {
8559
- type: WebhookEventEnum.SOCIAL_ACCOUNT_CREATED;
8560
- data: TeamGetTeamResponse['socialAccounts'][number];
8561
- } | {
8562
- type: WebhookEventEnum.SOCIAL_ACCOUNT_UPDATED;
8563
- data: TeamGetTeamResponse['socialAccounts'][number];
8564
- } | {
8565
- type: WebhookEventEnum.SOCIAL_ACCOUNT_DELETED;
8566
- data: TeamGetTeamResponse['socialAccounts'][number];
8739
+ declare const webhookEventTypes: readonly ["post.published", "comment.published", "team.created", "team.updated", "team.deleted", "social-account.created", "social-account.updated", "social-account.deleted"];
8740
+ type WebhookEventType = typeof webhookEventTypes[number];
8741
+ type WebhookEventMap = {
8742
+ "post.published": PostGetResponse;
8743
+ "comment.published": CommentGetResponse;
8744
+ "team.created": TeamGetTeamResponse;
8745
+ "team.updated": TeamGetTeamResponse;
8746
+ "team.deleted": TeamGetTeamResponse;
8747
+ "social-account.created": TeamGetTeamResponse["socialAccounts"][number];
8748
+ "social-account.updated": TeamGetTeamResponse["socialAccounts"][number];
8749
+ "social-account.deleted": TeamGetTeamResponse["socialAccounts"][number];
8567
8750
  };
8751
+ type WebhookEvent = {
8752
+ [K in keyof WebhookEventMap]: {
8753
+ type: K;
8754
+ data: WebhookEventMap[K];
8755
+ };
8756
+ }[keyof WebhookEventMap];
8568
8757
  declare class Webhooks {
8569
8758
  constructor();
8570
8759
  /**
@@ -8589,4 +8778,4 @@ declare class Bundlesocial extends Client {
8589
8778
  constructor(apiKey: string, options?: OpenAPIConfig);
8590
8779
  }
8591
8780
 
8592
- export { $OpenApiTs, AnalyticsGetProfileAnalyticsData, AnalyticsGetProfileAnalyticsResponse, AnalyticsGetProfilePostData, AnalyticsGetProfilePostResponse, AnalyticsGetProfilePostsData, AnalyticsGetProfilePostsResponse, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, CommentCreateData, CommentCreateResponse, CommentDeleteData, CommentDeleteResponse, CommentGetData, CommentGetListData, CommentGetListResponse, CommentGetResponse, CommentUpdateData, CommentUpdateResponse, OpenAPI, OpenAPIConfig, OrganizationGetOrganizationResponse, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountCopyData, SocialAccountCopyResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadFinalizeLargeUploadData, UploadFinalizeLargeUploadResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, UploadInitLargeUploadData, UploadInitLargeUploadResponse, WebhookEvent, WebhookEventEnum };
8781
+ export { $OpenApiTs, AnalyticsGetProfileAnalyticsData, AnalyticsGetProfileAnalyticsResponse, AnalyticsGetProfilePostData, AnalyticsGetProfilePostResponse, AnalyticsGetProfilePostsData, AnalyticsGetProfilePostsResponse, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, CommentCreateData, CommentCreateResponse, CommentDeleteData, CommentDeleteResponse, CommentGetData, CommentGetListData, CommentGetListResponse, CommentGetResponse, CommentUpdateData, CommentUpdateResponse, OpenAPI, OpenAPIConfig, OrganizationGetOrganizationResponse, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountCopyData, SocialAccountCopyResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadFinalizeLargeUploadData, UploadFinalizeLargeUploadResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, UploadInitLargeUploadData, UploadInitLargeUploadResponse, WebhookEvent, WebhookEventType, webhookEventTypes };