bundlesocial 1.0.0 → 1.3.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
@@ -133,6 +133,14 @@ type TeamGetTeamResponse = {
133
133
  updatedAt: string | null;
134
134
  deletedAt?: string | null;
135
135
  }>;
136
+ webhooks: Array<{
137
+ id: string;
138
+ teamId: string;
139
+ url: string;
140
+ createdAt: string | null;
141
+ updatedAt: string | null;
142
+ deletedAt?: string | null;
143
+ }>;
136
144
  socialAccounts: Array<{
137
145
  id: string;
138
146
  type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
@@ -310,9 +318,21 @@ type PostCreateData = {
310
318
  description?: string | null;
311
319
  boardName: string;
312
320
  uploadIds?: Array<(string)> | null;
321
+ /**
322
+ * The URL to which the Pin will link to.
323
+ */
313
324
  link?: string | null;
325
+ /**
326
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
327
+ */
314
328
  altText?: string | null;
329
+ /**
330
+ * A note about the Pin. This is not visible to the public.
331
+ */
315
332
  note?: string | null;
333
+ /**
334
+ * The dominant color of the image. This is used to display the image before it's loaded.
335
+ */
316
336
  dominantColor?: string | null;
317
337
  } | null;
318
338
  FACEBOOK?: {
@@ -329,47 +349,91 @@ type PostCreateData = {
329
349
  text?: string | null;
330
350
  uploadIds?: Array<(string)> | null;
331
351
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
352
+ /**
353
+ * Set to true if the video is a paid partnership to promote a third-party business.
354
+ */
355
+ isBrandContent?: boolean | null;
356
+ /**
357
+ * Set to true if this video is promoting the creator's own business.
358
+ */
359
+ isOrganicBrandContent?: boolean | null;
360
+ /**
361
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
362
+ */
363
+ disableComments?: boolean | null;
364
+ /**
365
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
366
+ */
367
+ disableDuet?: boolean | null;
368
+ /**
369
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
370
+ */
371
+ disableStitch?: boolean | null;
332
372
  } | null;
333
373
  LINKEDIN?: {
334
374
  text: string;
335
375
  uploadIds?: Array<(string)> | null;
336
- visibility?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
337
- distribution?: {
338
- feedDistribution: 'NONE' | 'MAIN_FEED';
339
- } | null;
340
- isReshareDisabledByAuthor?: boolean | null;
376
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
377
+ /**
378
+ * Set to true if the post shouldn't be displayed in the main feed.
379
+ */
380
+ hideFromFeed?: boolean | null;
381
+ /**
382
+ * Set to true if the post is not allowed to be reshared.
383
+ */
384
+ disableReshare?: boolean | null;
385
+ } | null;
386
+ YOUTUBE?: {
387
+ type?: 'VIDEO' | 'SHORT';
388
+ uploadIds?: Array<(string)> | null;
389
+ text?: string | null;
390
+ description?: string | null;
391
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
392
+ /**
393
+ * Set to true if the video is made for kids.
394
+ */
395
+ madeForKids?: boolean | null;
341
396
  } | null;
342
397
  REDDIT?: {
343
398
  sr: string;
344
399
  text: string;
345
400
  description?: string | null;
346
401
  uploadIds?: Array<(string)> | null;
347
- url?: string | null;
402
+ /**
403
+ * The URL to which the post will link to.
404
+ */
405
+ link?: string | null;
406
+ /**
407
+ * Set to true if the post is NSFW.
408
+ */
348
409
  nsfw?: boolean | null;
349
410
  } | null;
350
411
  DISCORD?: {
351
412
  channelId: string;
352
413
  text?: string | null;
353
414
  uploadIds?: Array<(string)> | null;
415
+ /**
416
+ * The username to display as the author of the message.
417
+ */
354
418
  username?: string | null;
419
+ /**
420
+ * Avatar url to display as the author of the message.
421
+ */
355
422
  avatarUrl?: string | null;
356
423
  } | null;
357
424
  SLACK?: {
358
425
  channelId: string;
359
426
  text?: string | null;
360
427
  uploadIds?: Array<(string)> | null;
428
+ /**
429
+ * The username to display as the author of the message.
430
+ */
361
431
  username?: string | null;
432
+ /**
433
+ * Avatar url to display as the author of the message.
434
+ */
362
435
  avatarUrl?: string | null;
363
436
  } | null;
364
- YOUTUBE?: {
365
- type?: 'SHORT';
366
- uploadIds?: Array<(string)> | null;
367
- text?: string | null;
368
- description?: string | null;
369
- categoryId?: string | null;
370
- privacyStatus?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
371
- madeForKids?: boolean;
372
- } | null;
373
437
  TELEGRAM?: unknown;
374
438
  THREADS?: unknown;
375
439
  };
@@ -392,9 +456,21 @@ type PostCreateResponse = {
392
456
  description?: string | null;
393
457
  boardName: string;
394
458
  uploadIds?: Array<(string)> | null;
459
+ /**
460
+ * The URL to which the Pin will link to.
461
+ */
395
462
  link?: string | null;
463
+ /**
464
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
465
+ */
396
466
  altText?: string | null;
467
+ /**
468
+ * A note about the Pin. This is not visible to the public.
469
+ */
397
470
  note?: string | null;
471
+ /**
472
+ * The dominant color of the image. This is used to display the image before it's loaded.
473
+ */
398
474
  dominantColor?: string | null;
399
475
  } | null;
400
476
  FACEBOOK?: {
@@ -411,47 +487,91 @@ type PostCreateResponse = {
411
487
  text?: string | null;
412
488
  uploadIds?: Array<(string)> | null;
413
489
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
490
+ /**
491
+ * Set to true if the video is a paid partnership to promote a third-party business.
492
+ */
493
+ isBrandContent?: boolean | null;
494
+ /**
495
+ * Set to true if this video is promoting the creator's own business.
496
+ */
497
+ isOrganicBrandContent?: boolean | null;
498
+ /**
499
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
500
+ */
501
+ disableComments?: boolean | null;
502
+ /**
503
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
504
+ */
505
+ disableDuet?: boolean | null;
506
+ /**
507
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
508
+ */
509
+ disableStitch?: boolean | null;
414
510
  } | null;
415
511
  LINKEDIN?: {
416
512
  text: string;
417
513
  uploadIds?: Array<(string)> | null;
418
- visibility?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
419
- distribution?: {
420
- feedDistribution: 'NONE' | 'MAIN_FEED';
421
- } | null;
422
- isReshareDisabledByAuthor?: boolean | null;
514
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
515
+ /**
516
+ * Set to true if the post shouldn't be displayed in the main feed.
517
+ */
518
+ hideFromFeed?: boolean | null;
519
+ /**
520
+ * Set to true if the post is not allowed to be reshared.
521
+ */
522
+ disableReshare?: boolean | null;
523
+ } | null;
524
+ YOUTUBE?: {
525
+ type?: 'VIDEO' | 'SHORT';
526
+ uploadIds?: Array<(string)> | null;
527
+ text?: string | null;
528
+ description?: string | null;
529
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
530
+ /**
531
+ * Set to true if the video is made for kids.
532
+ */
533
+ madeForKids?: boolean | null;
423
534
  } | null;
424
535
  REDDIT?: {
425
536
  sr: string;
426
537
  text: string;
427
538
  description?: string | null;
428
539
  uploadIds?: Array<(string)> | null;
429
- url?: string | null;
540
+ /**
541
+ * The URL to which the post will link to.
542
+ */
543
+ link?: string | null;
544
+ /**
545
+ * Set to true if the post is NSFW.
546
+ */
430
547
  nsfw?: boolean | null;
431
548
  } | null;
432
549
  DISCORD?: {
433
550
  channelId: string;
434
551
  text?: string | null;
435
552
  uploadIds?: Array<(string)> | null;
553
+ /**
554
+ * The username to display as the author of the message.
555
+ */
436
556
  username?: string | null;
557
+ /**
558
+ * Avatar url to display as the author of the message.
559
+ */
437
560
  avatarUrl?: string | null;
438
561
  } | null;
439
562
  SLACK?: {
440
563
  channelId: string;
441
564
  text?: string | null;
442
565
  uploadIds?: Array<(string)> | null;
566
+ /**
567
+ * The username to display as the author of the message.
568
+ */
443
569
  username?: string | null;
570
+ /**
571
+ * Avatar url to display as the author of the message.
572
+ */
444
573
  avatarUrl?: string | null;
445
574
  } | null;
446
- YOUTUBE?: {
447
- type?: 'SHORT';
448
- uploadIds?: Array<(string)> | null;
449
- text?: string | null;
450
- description?: string | null;
451
- categoryId?: string | null;
452
- privacyStatus?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
453
- madeForKids?: boolean;
454
- } | null;
455
575
  TELEGRAM?: unknown;
456
576
  THREADS?: unknown;
457
577
  };
@@ -555,9 +675,21 @@ type PostGetListResponse = {
555
675
  description?: string | null;
556
676
  boardName: string;
557
677
  uploadIds?: Array<(string)> | null;
678
+ /**
679
+ * The URL to which the Pin will link to.
680
+ */
558
681
  link?: string | null;
682
+ /**
683
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
684
+ */
559
685
  altText?: string | null;
686
+ /**
687
+ * A note about the Pin. This is not visible to the public.
688
+ */
560
689
  note?: string | null;
690
+ /**
691
+ * The dominant color of the image. This is used to display the image before it's loaded.
692
+ */
561
693
  dominantColor?: string | null;
562
694
  } | null;
563
695
  FACEBOOK?: {
@@ -574,47 +706,91 @@ type PostGetListResponse = {
574
706
  text?: string | null;
575
707
  uploadIds?: Array<(string)> | null;
576
708
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
709
+ /**
710
+ * Set to true if the video is a paid partnership to promote a third-party business.
711
+ */
712
+ isBrandContent?: boolean | null;
713
+ /**
714
+ * Set to true if this video is promoting the creator's own business.
715
+ */
716
+ isOrganicBrandContent?: boolean | null;
717
+ /**
718
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
719
+ */
720
+ disableComments?: boolean | null;
721
+ /**
722
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
723
+ */
724
+ disableDuet?: boolean | null;
725
+ /**
726
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
727
+ */
728
+ disableStitch?: boolean | null;
577
729
  } | null;
578
730
  LINKEDIN?: {
579
731
  text: string;
580
732
  uploadIds?: Array<(string)> | null;
581
- visibility?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
582
- distribution?: {
583
- feedDistribution: 'NONE' | 'MAIN_FEED';
584
- } | null;
585
- isReshareDisabledByAuthor?: boolean | null;
733
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
734
+ /**
735
+ * Set to true if the post shouldn't be displayed in the main feed.
736
+ */
737
+ hideFromFeed?: boolean | null;
738
+ /**
739
+ * Set to true if the post is not allowed to be reshared.
740
+ */
741
+ disableReshare?: boolean | null;
742
+ } | null;
743
+ YOUTUBE?: {
744
+ type?: 'VIDEO' | 'SHORT';
745
+ uploadIds?: Array<(string)> | null;
746
+ text?: string | null;
747
+ description?: string | null;
748
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
749
+ /**
750
+ * Set to true if the video is made for kids.
751
+ */
752
+ madeForKids?: boolean | null;
586
753
  } | null;
587
754
  REDDIT?: {
588
755
  sr: string;
589
756
  text: string;
590
757
  description?: string | null;
591
758
  uploadIds?: Array<(string)> | null;
592
- url?: string | null;
759
+ /**
760
+ * The URL to which the post will link to.
761
+ */
762
+ link?: string | null;
763
+ /**
764
+ * Set to true if the post is NSFW.
765
+ */
593
766
  nsfw?: boolean | null;
594
767
  } | null;
595
768
  DISCORD?: {
596
769
  channelId: string;
597
770
  text?: string | null;
598
771
  uploadIds?: Array<(string)> | null;
772
+ /**
773
+ * The username to display as the author of the message.
774
+ */
599
775
  username?: string | null;
776
+ /**
777
+ * Avatar url to display as the author of the message.
778
+ */
600
779
  avatarUrl?: string | null;
601
780
  } | null;
602
781
  SLACK?: {
603
782
  channelId: string;
604
783
  text?: string | null;
605
784
  uploadIds?: Array<(string)> | null;
785
+ /**
786
+ * The username to display as the author of the message.
787
+ */
606
788
  username?: string | null;
789
+ /**
790
+ * Avatar url to display as the author of the message.
791
+ */
607
792
  avatarUrl?: string | null;
608
793
  } | null;
609
- YOUTUBE?: {
610
- type?: 'SHORT';
611
- uploadIds?: Array<(string)> | null;
612
- text?: string | null;
613
- description?: string | null;
614
- categoryId?: string | null;
615
- privacyStatus?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
616
- madeForKids?: boolean;
617
- } | null;
618
794
  TELEGRAM?: unknown;
619
795
  THREADS?: unknown;
620
796
  };
@@ -772,9 +948,21 @@ type PostGetResponse = {
772
948
  description?: string | null;
773
949
  boardName: string;
774
950
  uploadIds?: Array<(string)> | null;
951
+ /**
952
+ * The URL to which the Pin will link to.
953
+ */
775
954
  link?: string | null;
955
+ /**
956
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
957
+ */
776
958
  altText?: string | null;
959
+ /**
960
+ * A note about the Pin. This is not visible to the public.
961
+ */
777
962
  note?: string | null;
963
+ /**
964
+ * The dominant color of the image. This is used to display the image before it's loaded.
965
+ */
778
966
  dominantColor?: string | null;
779
967
  } | null;
780
968
  FACEBOOK?: {
@@ -791,47 +979,91 @@ type PostGetResponse = {
791
979
  text?: string | null;
792
980
  uploadIds?: Array<(string)> | null;
793
981
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
982
+ /**
983
+ * Set to true if the video is a paid partnership to promote a third-party business.
984
+ */
985
+ isBrandContent?: boolean | null;
986
+ /**
987
+ * Set to true if this video is promoting the creator's own business.
988
+ */
989
+ isOrganicBrandContent?: boolean | null;
990
+ /**
991
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
992
+ */
993
+ disableComments?: boolean | null;
994
+ /**
995
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
996
+ */
997
+ disableDuet?: boolean | null;
998
+ /**
999
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
1000
+ */
1001
+ disableStitch?: boolean | null;
794
1002
  } | null;
795
1003
  LINKEDIN?: {
796
1004
  text: string;
797
1005
  uploadIds?: Array<(string)> | null;
798
- visibility?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
799
- distribution?: {
800
- feedDistribution: 'NONE' | 'MAIN_FEED';
801
- } | null;
802
- isReshareDisabledByAuthor?: boolean | null;
1006
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
1007
+ /**
1008
+ * Set to true if the post shouldn't be displayed in the main feed.
1009
+ */
1010
+ hideFromFeed?: boolean | null;
1011
+ /**
1012
+ * Set to true if the post is not allowed to be reshared.
1013
+ */
1014
+ disableReshare?: boolean | null;
1015
+ } | null;
1016
+ YOUTUBE?: {
1017
+ type?: 'VIDEO' | 'SHORT';
1018
+ uploadIds?: Array<(string)> | null;
1019
+ text?: string | null;
1020
+ description?: string | null;
1021
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
1022
+ /**
1023
+ * Set to true if the video is made for kids.
1024
+ */
1025
+ madeForKids?: boolean | null;
803
1026
  } | null;
804
1027
  REDDIT?: {
805
1028
  sr: string;
806
1029
  text: string;
807
1030
  description?: string | null;
808
1031
  uploadIds?: Array<(string)> | null;
809
- url?: string | null;
1032
+ /**
1033
+ * The URL to which the post will link to.
1034
+ */
1035
+ link?: string | null;
1036
+ /**
1037
+ * Set to true if the post is NSFW.
1038
+ */
810
1039
  nsfw?: boolean | null;
811
1040
  } | null;
812
1041
  DISCORD?: {
813
1042
  channelId: string;
814
1043
  text?: string | null;
815
1044
  uploadIds?: Array<(string)> | null;
1045
+ /**
1046
+ * The username to display as the author of the message.
1047
+ */
816
1048
  username?: string | null;
1049
+ /**
1050
+ * Avatar url to display as the author of the message.
1051
+ */
817
1052
  avatarUrl?: string | null;
818
1053
  } | null;
819
1054
  SLACK?: {
820
1055
  channelId: string;
821
1056
  text?: string | null;
822
1057
  uploadIds?: Array<(string)> | null;
1058
+ /**
1059
+ * The username to display as the author of the message.
1060
+ */
823
1061
  username?: string | null;
1062
+ /**
1063
+ * Avatar url to display as the author of the message.
1064
+ */
824
1065
  avatarUrl?: string | null;
825
1066
  } | null;
826
- YOUTUBE?: {
827
- type?: 'SHORT';
828
- uploadIds?: Array<(string)> | null;
829
- text?: string | null;
830
- description?: string | null;
831
- categoryId?: string | null;
832
- privacyStatus?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
833
- madeForKids?: boolean;
834
- } | null;
835
1067
  TELEGRAM?: unknown;
836
1068
  THREADS?: unknown;
837
1069
  };
@@ -987,9 +1219,21 @@ type PostUpdateData = {
987
1219
  description?: string | null;
988
1220
  boardName: string;
989
1221
  uploadIds?: Array<(string)> | null;
1222
+ /**
1223
+ * The URL to which the Pin will link to.
1224
+ */
990
1225
  link?: string | null;
1226
+ /**
1227
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
1228
+ */
991
1229
  altText?: string | null;
1230
+ /**
1231
+ * A note about the Pin. This is not visible to the public.
1232
+ */
992
1233
  note?: string | null;
1234
+ /**
1235
+ * The dominant color of the image. This is used to display the image before it's loaded.
1236
+ */
993
1237
  dominantColor?: string | null;
994
1238
  } | null;
995
1239
  FACEBOOK?: {
@@ -1006,47 +1250,91 @@ type PostUpdateData = {
1006
1250
  text?: string | null;
1007
1251
  uploadIds?: Array<(string)> | null;
1008
1252
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
1253
+ /**
1254
+ * Set to true if the video is a paid partnership to promote a third-party business.
1255
+ */
1256
+ isBrandContent?: boolean | null;
1257
+ /**
1258
+ * Set to true if this video is promoting the creator's own business.
1259
+ */
1260
+ isOrganicBrandContent?: boolean | null;
1261
+ /**
1262
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
1263
+ */
1264
+ disableComments?: boolean | null;
1265
+ /**
1266
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
1267
+ */
1268
+ disableDuet?: boolean | null;
1269
+ /**
1270
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
1271
+ */
1272
+ disableStitch?: boolean | null;
1009
1273
  } | null;
1010
1274
  LINKEDIN?: {
1011
1275
  text: string;
1012
1276
  uploadIds?: Array<(string)> | null;
1013
- visibility?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
1014
- distribution?: {
1015
- feedDistribution: 'NONE' | 'MAIN_FEED';
1016
- } | null;
1017
- isReshareDisabledByAuthor?: boolean | null;
1277
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
1278
+ /**
1279
+ * Set to true if the post shouldn't be displayed in the main feed.
1280
+ */
1281
+ hideFromFeed?: boolean | null;
1282
+ /**
1283
+ * Set to true if the post is not allowed to be reshared.
1284
+ */
1285
+ disableReshare?: boolean | null;
1286
+ } | null;
1287
+ YOUTUBE?: {
1288
+ type?: 'VIDEO' | 'SHORT';
1289
+ uploadIds?: Array<(string)> | null;
1290
+ text?: string | null;
1291
+ description?: string | null;
1292
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
1293
+ /**
1294
+ * Set to true if the video is made for kids.
1295
+ */
1296
+ madeForKids?: boolean | null;
1018
1297
  } | null;
1019
1298
  REDDIT?: {
1020
1299
  sr: string;
1021
1300
  text: string;
1022
1301
  description?: string | null;
1023
1302
  uploadIds?: Array<(string)> | null;
1024
- url?: string | null;
1303
+ /**
1304
+ * The URL to which the post will link to.
1305
+ */
1306
+ link?: string | null;
1307
+ /**
1308
+ * Set to true if the post is NSFW.
1309
+ */
1025
1310
  nsfw?: boolean | null;
1026
1311
  } | null;
1027
1312
  DISCORD?: {
1028
1313
  channelId: string;
1029
1314
  text?: string | null;
1030
1315
  uploadIds?: Array<(string)> | null;
1316
+ /**
1317
+ * The username to display as the author of the message.
1318
+ */
1031
1319
  username?: string | null;
1320
+ /**
1321
+ * Avatar url to display as the author of the message.
1322
+ */
1032
1323
  avatarUrl?: string | null;
1033
1324
  } | null;
1034
1325
  SLACK?: {
1035
1326
  channelId: string;
1036
1327
  text?: string | null;
1037
1328
  uploadIds?: Array<(string)> | null;
1329
+ /**
1330
+ * The username to display as the author of the message.
1331
+ */
1038
1332
  username?: string | null;
1333
+ /**
1334
+ * Avatar url to display as the author of the message.
1335
+ */
1039
1336
  avatarUrl?: string | null;
1040
1337
  } | null;
1041
- YOUTUBE?: {
1042
- type?: 'SHORT';
1043
- uploadIds?: Array<(string)> | null;
1044
- text?: string | null;
1045
- description?: string | null;
1046
- categoryId?: string | null;
1047
- privacyStatus?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
1048
- madeForKids?: boolean;
1049
- } | null;
1050
1338
  TELEGRAM?: unknown;
1051
1339
  THREADS?: unknown;
1052
1340
  };
@@ -1069,9 +1357,21 @@ type PostUpdateResponse = {
1069
1357
  description?: string | null;
1070
1358
  boardName: string;
1071
1359
  uploadIds?: Array<(string)> | null;
1360
+ /**
1361
+ * The URL to which the Pin will link to.
1362
+ */
1072
1363
  link?: string | null;
1364
+ /**
1365
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
1366
+ */
1073
1367
  altText?: string | null;
1368
+ /**
1369
+ * A note about the Pin. This is not visible to the public.
1370
+ */
1074
1371
  note?: string | null;
1372
+ /**
1373
+ * The dominant color of the image. This is used to display the image before it's loaded.
1374
+ */
1075
1375
  dominantColor?: string | null;
1076
1376
  } | null;
1077
1377
  FACEBOOK?: {
@@ -1088,47 +1388,91 @@ type PostUpdateResponse = {
1088
1388
  text?: string | null;
1089
1389
  uploadIds?: Array<(string)> | null;
1090
1390
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
1391
+ /**
1392
+ * Set to true if the video is a paid partnership to promote a third-party business.
1393
+ */
1394
+ isBrandContent?: boolean | null;
1395
+ /**
1396
+ * Set to true if this video is promoting the creator's own business.
1397
+ */
1398
+ isOrganicBrandContent?: boolean | null;
1399
+ /**
1400
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
1401
+ */
1402
+ disableComments?: boolean | null;
1403
+ /**
1404
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
1405
+ */
1406
+ disableDuet?: boolean | null;
1407
+ /**
1408
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
1409
+ */
1410
+ disableStitch?: boolean | null;
1091
1411
  } | null;
1092
1412
  LINKEDIN?: {
1093
1413
  text: string;
1094
1414
  uploadIds?: Array<(string)> | null;
1095
- visibility?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
1096
- distribution?: {
1097
- feedDistribution: 'NONE' | 'MAIN_FEED';
1098
- } | null;
1099
- isReshareDisabledByAuthor?: boolean | null;
1415
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
1416
+ /**
1417
+ * Set to true if the post shouldn't be displayed in the main feed.
1418
+ */
1419
+ hideFromFeed?: boolean | null;
1420
+ /**
1421
+ * Set to true if the post is not allowed to be reshared.
1422
+ */
1423
+ disableReshare?: boolean | null;
1424
+ } | null;
1425
+ YOUTUBE?: {
1426
+ type?: 'VIDEO' | 'SHORT';
1427
+ uploadIds?: Array<(string)> | null;
1428
+ text?: string | null;
1429
+ description?: string | null;
1430
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
1431
+ /**
1432
+ * Set to true if the video is made for kids.
1433
+ */
1434
+ madeForKids?: boolean | null;
1100
1435
  } | null;
1101
1436
  REDDIT?: {
1102
1437
  sr: string;
1103
1438
  text: string;
1104
1439
  description?: string | null;
1105
1440
  uploadIds?: Array<(string)> | null;
1106
- url?: string | null;
1441
+ /**
1442
+ * The URL to which the post will link to.
1443
+ */
1444
+ link?: string | null;
1445
+ /**
1446
+ * Set to true if the post is NSFW.
1447
+ */
1107
1448
  nsfw?: boolean | null;
1108
1449
  } | null;
1109
1450
  DISCORD?: {
1110
1451
  channelId: string;
1111
1452
  text?: string | null;
1112
1453
  uploadIds?: Array<(string)> | null;
1454
+ /**
1455
+ * The username to display as the author of the message.
1456
+ */
1113
1457
  username?: string | null;
1458
+ /**
1459
+ * Avatar url to display as the author of the message.
1460
+ */
1114
1461
  avatarUrl?: string | null;
1115
1462
  } | null;
1116
1463
  SLACK?: {
1117
1464
  channelId: string;
1118
1465
  text?: string | null;
1119
1466
  uploadIds?: Array<(string)> | null;
1467
+ /**
1468
+ * The username to display as the author of the message.
1469
+ */
1120
1470
  username?: string | null;
1471
+ /**
1472
+ * Avatar url to display as the author of the message.
1473
+ */
1121
1474
  avatarUrl?: string | null;
1122
1475
  } | null;
1123
- YOUTUBE?: {
1124
- type?: 'SHORT';
1125
- uploadIds?: Array<(string)> | null;
1126
- text?: string | null;
1127
- description?: string | null;
1128
- categoryId?: string | null;
1129
- privacyStatus?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
1130
- madeForKids?: boolean;
1131
- } | null;
1132
1476
  TELEGRAM?: unknown;
1133
1477
  THREADS?: unknown;
1134
1478
  };
@@ -1225,9 +1569,21 @@ type PostDeleteResponse = {
1225
1569
  description?: string | null;
1226
1570
  boardName: string;
1227
1571
  uploadIds?: Array<(string)> | null;
1572
+ /**
1573
+ * The URL to which the Pin will link to.
1574
+ */
1228
1575
  link?: string | null;
1576
+ /**
1577
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
1578
+ */
1229
1579
  altText?: string | null;
1580
+ /**
1581
+ * A note about the Pin. This is not visible to the public.
1582
+ */
1230
1583
  note?: string | null;
1584
+ /**
1585
+ * The dominant color of the image. This is used to display the image before it's loaded.
1586
+ */
1231
1587
  dominantColor?: string | null;
1232
1588
  } | null;
1233
1589
  FACEBOOK?: {
@@ -1244,47 +1600,91 @@ type PostDeleteResponse = {
1244
1600
  text?: string | null;
1245
1601
  uploadIds?: Array<(string)> | null;
1246
1602
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
1603
+ /**
1604
+ * Set to true if the video is a paid partnership to promote a third-party business.
1605
+ */
1606
+ isBrandContent?: boolean | null;
1607
+ /**
1608
+ * Set to true if this video is promoting the creator's own business.
1609
+ */
1610
+ isOrganicBrandContent?: boolean | null;
1611
+ /**
1612
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
1613
+ */
1614
+ disableComments?: boolean | null;
1615
+ /**
1616
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
1617
+ */
1618
+ disableDuet?: boolean | null;
1619
+ /**
1620
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
1621
+ */
1622
+ disableStitch?: boolean | null;
1247
1623
  } | null;
1248
1624
  LINKEDIN?: {
1249
1625
  text: string;
1250
1626
  uploadIds?: Array<(string)> | null;
1251
- visibility?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
1252
- distribution?: {
1253
- feedDistribution: 'NONE' | 'MAIN_FEED';
1254
- } | null;
1255
- isReshareDisabledByAuthor?: boolean | null;
1627
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
1628
+ /**
1629
+ * Set to true if the post shouldn't be displayed in the main feed.
1630
+ */
1631
+ hideFromFeed?: boolean | null;
1632
+ /**
1633
+ * Set to true if the post is not allowed to be reshared.
1634
+ */
1635
+ disableReshare?: boolean | null;
1636
+ } | null;
1637
+ YOUTUBE?: {
1638
+ type?: 'VIDEO' | 'SHORT';
1639
+ uploadIds?: Array<(string)> | null;
1640
+ text?: string | null;
1641
+ description?: string | null;
1642
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
1643
+ /**
1644
+ * Set to true if the video is made for kids.
1645
+ */
1646
+ madeForKids?: boolean | null;
1256
1647
  } | null;
1257
1648
  REDDIT?: {
1258
1649
  sr: string;
1259
1650
  text: string;
1260
1651
  description?: string | null;
1261
1652
  uploadIds?: Array<(string)> | null;
1262
- url?: string | null;
1653
+ /**
1654
+ * The URL to which the post will link to.
1655
+ */
1656
+ link?: string | null;
1657
+ /**
1658
+ * Set to true if the post is NSFW.
1659
+ */
1263
1660
  nsfw?: boolean | null;
1264
1661
  } | null;
1265
1662
  DISCORD?: {
1266
1663
  channelId: string;
1267
1664
  text?: string | null;
1268
1665
  uploadIds?: Array<(string)> | null;
1666
+ /**
1667
+ * The username to display as the author of the message.
1668
+ */
1269
1669
  username?: string | null;
1670
+ /**
1671
+ * Avatar url to display as the author of the message.
1672
+ */
1270
1673
  avatarUrl?: string | null;
1271
1674
  } | null;
1272
1675
  SLACK?: {
1273
1676
  channelId: string;
1274
1677
  text?: string | null;
1275
1678
  uploadIds?: Array<(string)> | null;
1679
+ /**
1680
+ * The username to display as the author of the message.
1681
+ */
1276
1682
  username?: string | null;
1683
+ /**
1684
+ * Avatar url to display as the author of the message.
1685
+ */
1277
1686
  avatarUrl?: string | null;
1278
1687
  } | null;
1279
- YOUTUBE?: {
1280
- type?: 'SHORT';
1281
- uploadIds?: Array<(string)> | null;
1282
- text?: string | null;
1283
- description?: string | null;
1284
- categoryId?: string | null;
1285
- privacyStatus?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
1286
- madeForKids?: boolean;
1287
- } | null;
1288
1688
  TELEGRAM?: unknown;
1289
1689
  THREADS?: unknown;
1290
1690
  };
@@ -1473,6 +1873,14 @@ type $OpenApiTs = {
1473
1873
  updatedAt: string | null;
1474
1874
  deletedAt?: string | null;
1475
1875
  }>;
1876
+ webhooks: Array<{
1877
+ id: string;
1878
+ teamId: string;
1879
+ url: string;
1880
+ createdAt: string | null;
1881
+ updatedAt: string | null;
1882
+ deletedAt?: string | null;
1883
+ }>;
1476
1884
  socialAccounts: Array<{
1477
1885
  id: string;
1478
1886
  type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'TELEGRAM' | 'DISCORD' | 'SLACK';
@@ -1883,9 +2291,21 @@ type $OpenApiTs = {
1883
2291
  description?: string | null;
1884
2292
  boardName: string;
1885
2293
  uploadIds?: Array<(string)> | null;
2294
+ /**
2295
+ * The URL to which the Pin will link to.
2296
+ */
1886
2297
  link?: string | null;
2298
+ /**
2299
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
2300
+ */
1887
2301
  altText?: string | null;
2302
+ /**
2303
+ * A note about the Pin. This is not visible to the public.
2304
+ */
1888
2305
  note?: string | null;
2306
+ /**
2307
+ * The dominant color of the image. This is used to display the image before it's loaded.
2308
+ */
1889
2309
  dominantColor?: string | null;
1890
2310
  } | null;
1891
2311
  FACEBOOK?: {
@@ -1902,47 +2322,91 @@ type $OpenApiTs = {
1902
2322
  text?: string | null;
1903
2323
  uploadIds?: Array<(string)> | null;
1904
2324
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
2325
+ /**
2326
+ * Set to true if the video is a paid partnership to promote a third-party business.
2327
+ */
2328
+ isBrandContent?: boolean | null;
2329
+ /**
2330
+ * Set to true if this video is promoting the creator's own business.
2331
+ */
2332
+ isOrganicBrandContent?: boolean | null;
2333
+ /**
2334
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
2335
+ */
2336
+ disableComments?: boolean | null;
2337
+ /**
2338
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
2339
+ */
2340
+ disableDuet?: boolean | null;
2341
+ /**
2342
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
2343
+ */
2344
+ disableStitch?: boolean | null;
1905
2345
  } | null;
1906
2346
  LINKEDIN?: {
1907
2347
  text: string;
1908
2348
  uploadIds?: Array<(string)> | null;
1909
- visibility?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
1910
- distribution?: {
1911
- feedDistribution: 'NONE' | 'MAIN_FEED';
1912
- } | null;
1913
- isReshareDisabledByAuthor?: boolean | null;
2349
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
2350
+ /**
2351
+ * Set to true if the post shouldn't be displayed in the main feed.
2352
+ */
2353
+ hideFromFeed?: boolean | null;
2354
+ /**
2355
+ * Set to true if the post is not allowed to be reshared.
2356
+ */
2357
+ disableReshare?: boolean | null;
2358
+ } | null;
2359
+ YOUTUBE?: {
2360
+ type?: 'VIDEO' | 'SHORT';
2361
+ uploadIds?: Array<(string)> | null;
2362
+ text?: string | null;
2363
+ description?: string | null;
2364
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
2365
+ /**
2366
+ * Set to true if the video is made for kids.
2367
+ */
2368
+ madeForKids?: boolean | null;
1914
2369
  } | null;
1915
2370
  REDDIT?: {
1916
2371
  sr: string;
1917
2372
  text: string;
1918
2373
  description?: string | null;
1919
2374
  uploadIds?: Array<(string)> | null;
1920
- url?: string | null;
2375
+ /**
2376
+ * The URL to which the post will link to.
2377
+ */
2378
+ link?: string | null;
2379
+ /**
2380
+ * Set to true if the post is NSFW.
2381
+ */
1921
2382
  nsfw?: boolean | null;
1922
2383
  } | null;
1923
2384
  DISCORD?: {
1924
2385
  channelId: string;
1925
2386
  text?: string | null;
1926
2387
  uploadIds?: Array<(string)> | null;
2388
+ /**
2389
+ * The username to display as the author of the message.
2390
+ */
1927
2391
  username?: string | null;
2392
+ /**
2393
+ * Avatar url to display as the author of the message.
2394
+ */
1928
2395
  avatarUrl?: string | null;
1929
2396
  } | null;
1930
2397
  SLACK?: {
1931
2398
  channelId: string;
1932
2399
  text?: string | null;
1933
2400
  uploadIds?: Array<(string)> | null;
2401
+ /**
2402
+ * The username to display as the author of the message.
2403
+ */
1934
2404
  username?: string | null;
2405
+ /**
2406
+ * Avatar url to display as the author of the message.
2407
+ */
1935
2408
  avatarUrl?: string | null;
1936
2409
  } | null;
1937
- YOUTUBE?: {
1938
- type?: 'SHORT';
1939
- uploadIds?: Array<(string)> | null;
1940
- text?: string | null;
1941
- description?: string | null;
1942
- categoryId?: string | null;
1943
- privacyStatus?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
1944
- madeForKids?: boolean;
1945
- } | null;
1946
2410
  TELEGRAM?: unknown;
1947
2411
  THREADS?: unknown;
1948
2412
  };
@@ -2079,9 +2543,21 @@ type $OpenApiTs = {
2079
2543
  description?: string | null;
2080
2544
  boardName: string;
2081
2545
  uploadIds?: Array<(string)> | null;
2546
+ /**
2547
+ * The URL to which the Pin will link to.
2548
+ */
2082
2549
  link?: string | null;
2550
+ /**
2551
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
2552
+ */
2083
2553
  altText?: string | null;
2554
+ /**
2555
+ * A note about the Pin. This is not visible to the public.
2556
+ */
2084
2557
  note?: string | null;
2558
+ /**
2559
+ * The dominant color of the image. This is used to display the image before it's loaded.
2560
+ */
2085
2561
  dominantColor?: string | null;
2086
2562
  } | null;
2087
2563
  FACEBOOK?: {
@@ -2098,47 +2574,91 @@ type $OpenApiTs = {
2098
2574
  text?: string | null;
2099
2575
  uploadIds?: Array<(string)> | null;
2100
2576
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
2577
+ /**
2578
+ * Set to true if the video is a paid partnership to promote a third-party business.
2579
+ */
2580
+ isBrandContent?: boolean | null;
2581
+ /**
2582
+ * Set to true if this video is promoting the creator's own business.
2583
+ */
2584
+ isOrganicBrandContent?: boolean | null;
2585
+ /**
2586
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
2587
+ */
2588
+ disableComments?: boolean | null;
2589
+ /**
2590
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
2591
+ */
2592
+ disableDuet?: boolean | null;
2593
+ /**
2594
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
2595
+ */
2596
+ disableStitch?: boolean | null;
2101
2597
  } | null;
2102
2598
  LINKEDIN?: {
2103
2599
  text: string;
2104
2600
  uploadIds?: Array<(string)> | null;
2105
- visibility?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
2106
- distribution?: {
2107
- feedDistribution: 'NONE' | 'MAIN_FEED';
2108
- } | null;
2109
- isReshareDisabledByAuthor?: boolean | null;
2601
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
2602
+ /**
2603
+ * Set to true if the post shouldn't be displayed in the main feed.
2604
+ */
2605
+ hideFromFeed?: boolean | null;
2606
+ /**
2607
+ * Set to true if the post is not allowed to be reshared.
2608
+ */
2609
+ disableReshare?: boolean | null;
2610
+ } | null;
2611
+ YOUTUBE?: {
2612
+ type?: 'VIDEO' | 'SHORT';
2613
+ uploadIds?: Array<(string)> | null;
2614
+ text?: string | null;
2615
+ description?: string | null;
2616
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
2617
+ /**
2618
+ * Set to true if the video is made for kids.
2619
+ */
2620
+ madeForKids?: boolean | null;
2110
2621
  } | null;
2111
2622
  REDDIT?: {
2112
2623
  sr: string;
2113
2624
  text: string;
2114
2625
  description?: string | null;
2115
2626
  uploadIds?: Array<(string)> | null;
2116
- url?: string | null;
2627
+ /**
2628
+ * The URL to which the post will link to.
2629
+ */
2630
+ link?: string | null;
2631
+ /**
2632
+ * Set to true if the post is NSFW.
2633
+ */
2117
2634
  nsfw?: boolean | null;
2118
2635
  } | null;
2119
2636
  DISCORD?: {
2120
2637
  channelId: string;
2121
2638
  text?: string | null;
2122
2639
  uploadIds?: Array<(string)> | null;
2640
+ /**
2641
+ * The username to display as the author of the message.
2642
+ */
2123
2643
  username?: string | null;
2644
+ /**
2645
+ * Avatar url to display as the author of the message.
2646
+ */
2124
2647
  avatarUrl?: string | null;
2125
2648
  } | null;
2126
2649
  SLACK?: {
2127
2650
  channelId: string;
2128
2651
  text?: string | null;
2129
2652
  uploadIds?: Array<(string)> | null;
2653
+ /**
2654
+ * The username to display as the author of the message.
2655
+ */
2130
2656
  username?: string | null;
2657
+ /**
2658
+ * Avatar url to display as the author of the message.
2659
+ */
2131
2660
  avatarUrl?: string | null;
2132
2661
  } | null;
2133
- YOUTUBE?: {
2134
- type?: 'SHORT';
2135
- uploadIds?: Array<(string)> | null;
2136
- text?: string | null;
2137
- description?: string | null;
2138
- categoryId?: string | null;
2139
- privacyStatus?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
2140
- madeForKids?: boolean;
2141
- } | null;
2142
2662
  TELEGRAM?: unknown;
2143
2663
  THREADS?: unknown;
2144
2664
  };
@@ -2337,9 +2857,21 @@ type $OpenApiTs = {
2337
2857
  description?: string | null;
2338
2858
  boardName: string;
2339
2859
  uploadIds?: Array<(string)> | null;
2860
+ /**
2861
+ * The URL to which the Pin will link to.
2862
+ */
2340
2863
  link?: string | null;
2864
+ /**
2865
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
2866
+ */
2341
2867
  altText?: string | null;
2868
+ /**
2869
+ * A note about the Pin. This is not visible to the public.
2870
+ */
2342
2871
  note?: string | null;
2872
+ /**
2873
+ * The dominant color of the image. This is used to display the image before it's loaded.
2874
+ */
2343
2875
  dominantColor?: string | null;
2344
2876
  } | null;
2345
2877
  FACEBOOK?: {
@@ -2356,47 +2888,91 @@ type $OpenApiTs = {
2356
2888
  text?: string | null;
2357
2889
  uploadIds?: Array<(string)> | null;
2358
2890
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
2891
+ /**
2892
+ * Set to true if the video is a paid partnership to promote a third-party business.
2893
+ */
2894
+ isBrandContent?: boolean | null;
2895
+ /**
2896
+ * Set to true if this video is promoting the creator's own business.
2897
+ */
2898
+ isOrganicBrandContent?: boolean | null;
2899
+ /**
2900
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
2901
+ */
2902
+ disableComments?: boolean | null;
2903
+ /**
2904
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
2905
+ */
2906
+ disableDuet?: boolean | null;
2907
+ /**
2908
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
2909
+ */
2910
+ disableStitch?: boolean | null;
2359
2911
  } | null;
2360
2912
  LINKEDIN?: {
2361
2913
  text: string;
2362
2914
  uploadIds?: Array<(string)> | null;
2363
- visibility?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
2364
- distribution?: {
2365
- feedDistribution: 'NONE' | 'MAIN_FEED';
2366
- } | null;
2367
- isReshareDisabledByAuthor?: boolean | null;
2915
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
2916
+ /**
2917
+ * Set to true if the post shouldn't be displayed in the main feed.
2918
+ */
2919
+ hideFromFeed?: boolean | null;
2920
+ /**
2921
+ * Set to true if the post is not allowed to be reshared.
2922
+ */
2923
+ disableReshare?: boolean | null;
2924
+ } | null;
2925
+ YOUTUBE?: {
2926
+ type?: 'VIDEO' | 'SHORT';
2927
+ uploadIds?: Array<(string)> | null;
2928
+ text?: string | null;
2929
+ description?: string | null;
2930
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
2931
+ /**
2932
+ * Set to true if the video is made for kids.
2933
+ */
2934
+ madeForKids?: boolean | null;
2368
2935
  } | null;
2369
2936
  REDDIT?: {
2370
2937
  sr: string;
2371
2938
  text: string;
2372
2939
  description?: string | null;
2373
2940
  uploadIds?: Array<(string)> | null;
2374
- url?: string | null;
2941
+ /**
2942
+ * The URL to which the post will link to.
2943
+ */
2944
+ link?: string | null;
2945
+ /**
2946
+ * Set to true if the post is NSFW.
2947
+ */
2375
2948
  nsfw?: boolean | null;
2376
2949
  } | null;
2377
2950
  DISCORD?: {
2378
2951
  channelId: string;
2379
2952
  text?: string | null;
2380
2953
  uploadIds?: Array<(string)> | null;
2954
+ /**
2955
+ * The username to display as the author of the message.
2956
+ */
2381
2957
  username?: string | null;
2958
+ /**
2959
+ * Avatar url to display as the author of the message.
2960
+ */
2382
2961
  avatarUrl?: string | null;
2383
2962
  } | null;
2384
2963
  SLACK?: {
2385
2964
  channelId: string;
2386
2965
  text?: string | null;
2387
2966
  uploadIds?: Array<(string)> | null;
2967
+ /**
2968
+ * The username to display as the author of the message.
2969
+ */
2388
2970
  username?: string | null;
2971
+ /**
2972
+ * Avatar url to display as the author of the message.
2973
+ */
2389
2974
  avatarUrl?: string | null;
2390
2975
  } | null;
2391
- YOUTUBE?: {
2392
- type?: 'SHORT';
2393
- uploadIds?: Array<(string)> | null;
2394
- text?: string | null;
2395
- description?: string | null;
2396
- categoryId?: string | null;
2397
- privacyStatus?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
2398
- madeForKids?: boolean;
2399
- } | null;
2400
2976
  TELEGRAM?: unknown;
2401
2977
  THREADS?: unknown;
2402
2978
  };
@@ -2591,9 +3167,21 @@ type $OpenApiTs = {
2591
3167
  description?: string | null;
2592
3168
  boardName: string;
2593
3169
  uploadIds?: Array<(string)> | null;
3170
+ /**
3171
+ * The URL to which the Pin will link to.
3172
+ */
2594
3173
  link?: string | null;
3174
+ /**
3175
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
3176
+ */
2595
3177
  altText?: string | null;
3178
+ /**
3179
+ * A note about the Pin. This is not visible to the public.
3180
+ */
2596
3181
  note?: string | null;
3182
+ /**
3183
+ * The dominant color of the image. This is used to display the image before it's loaded.
3184
+ */
2597
3185
  dominantColor?: string | null;
2598
3186
  } | null;
2599
3187
  FACEBOOK?: {
@@ -2610,47 +3198,91 @@ type $OpenApiTs = {
2610
3198
  text?: string | null;
2611
3199
  uploadIds?: Array<(string)> | null;
2612
3200
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
3201
+ /**
3202
+ * Set to true if the video is a paid partnership to promote a third-party business.
3203
+ */
3204
+ isBrandContent?: boolean | null;
3205
+ /**
3206
+ * Set to true if this video is promoting the creator's own business.
3207
+ */
3208
+ isOrganicBrandContent?: boolean | null;
3209
+ /**
3210
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
3211
+ */
3212
+ disableComments?: boolean | null;
3213
+ /**
3214
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
3215
+ */
3216
+ disableDuet?: boolean | null;
3217
+ /**
3218
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
3219
+ */
3220
+ disableStitch?: boolean | null;
2613
3221
  } | null;
2614
3222
  LINKEDIN?: {
2615
3223
  text: string;
2616
3224
  uploadIds?: Array<(string)> | null;
2617
- visibility?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
2618
- distribution?: {
2619
- feedDistribution: 'NONE' | 'MAIN_FEED';
2620
- } | null;
2621
- isReshareDisabledByAuthor?: boolean | null;
3225
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
3226
+ /**
3227
+ * Set to true if the post shouldn't be displayed in the main feed.
3228
+ */
3229
+ hideFromFeed?: boolean | null;
3230
+ /**
3231
+ * Set to true if the post is not allowed to be reshared.
3232
+ */
3233
+ disableReshare?: boolean | null;
3234
+ } | null;
3235
+ YOUTUBE?: {
3236
+ type?: 'VIDEO' | 'SHORT';
3237
+ uploadIds?: Array<(string)> | null;
3238
+ text?: string | null;
3239
+ description?: string | null;
3240
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
3241
+ /**
3242
+ * Set to true if the video is made for kids.
3243
+ */
3244
+ madeForKids?: boolean | null;
2622
3245
  } | null;
2623
3246
  REDDIT?: {
2624
3247
  sr: string;
2625
3248
  text: string;
2626
3249
  description?: string | null;
2627
3250
  uploadIds?: Array<(string)> | null;
2628
- url?: string | null;
3251
+ /**
3252
+ * The URL to which the post will link to.
3253
+ */
3254
+ link?: string | null;
3255
+ /**
3256
+ * Set to true if the post is NSFW.
3257
+ */
2629
3258
  nsfw?: boolean | null;
2630
3259
  } | null;
2631
3260
  DISCORD?: {
2632
3261
  channelId: string;
2633
3262
  text?: string | null;
2634
3263
  uploadIds?: Array<(string)> | null;
3264
+ /**
3265
+ * The username to display as the author of the message.
3266
+ */
2635
3267
  username?: string | null;
3268
+ /**
3269
+ * Avatar url to display as the author of the message.
3270
+ */
2636
3271
  avatarUrl?: string | null;
2637
3272
  } | null;
2638
3273
  SLACK?: {
2639
3274
  channelId: string;
2640
3275
  text?: string | null;
2641
3276
  uploadIds?: Array<(string)> | null;
3277
+ /**
3278
+ * The username to display as the author of the message.
3279
+ */
2642
3280
  username?: string | null;
3281
+ /**
3282
+ * Avatar url to display as the author of the message.
3283
+ */
2643
3284
  avatarUrl?: string | null;
2644
3285
  } | null;
2645
- YOUTUBE?: {
2646
- type?: 'SHORT';
2647
- uploadIds?: Array<(string)> | null;
2648
- text?: string | null;
2649
- description?: string | null;
2650
- categoryId?: string | null;
2651
- privacyStatus?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
2652
- madeForKids?: boolean;
2653
- } | null;
2654
3286
  TELEGRAM?: unknown;
2655
3287
  THREADS?: unknown;
2656
3288
  };
@@ -2786,9 +3418,21 @@ type $OpenApiTs = {
2786
3418
  description?: string | null;
2787
3419
  boardName: string;
2788
3420
  uploadIds?: Array<(string)> | null;
3421
+ /**
3422
+ * The URL to which the Pin will link to.
3423
+ */
2789
3424
  link?: string | null;
3425
+ /**
3426
+ * The alt text for the image. This is used by screen readers and when the image can't be loaded.
3427
+ */
2790
3428
  altText?: string | null;
3429
+ /**
3430
+ * A note about the Pin. This is not visible to the public.
3431
+ */
2791
3432
  note?: string | null;
3433
+ /**
3434
+ * The dominant color of the image. This is used to display the image before it's loaded.
3435
+ */
2792
3436
  dominantColor?: string | null;
2793
3437
  } | null;
2794
3438
  FACEBOOK?: {
@@ -2805,47 +3449,91 @@ type $OpenApiTs = {
2805
3449
  text?: string | null;
2806
3450
  uploadIds?: Array<(string)> | null;
2807
3451
  privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
3452
+ /**
3453
+ * Set to true if the video is a paid partnership to promote a third-party business.
3454
+ */
3455
+ isBrandContent?: boolean | null;
3456
+ /**
3457
+ * Set to true if this video is promoting the creator's own business.
3458
+ */
3459
+ isOrganicBrandContent?: boolean | null;
3460
+ /**
3461
+ * If set to true, other TikTok users will not be allowed to make comments on this post.
3462
+ */
3463
+ disableComments?: boolean | null;
3464
+ /**
3465
+ * If set to true, other TikTok users will not be allowed to make Stitches using this post.
3466
+ */
3467
+ disableDuet?: boolean | null;
3468
+ /**
3469
+ * If set to true, other TikTok users will not be allowed to make Duets using this post.
3470
+ */
3471
+ disableStitch?: boolean | null;
2808
3472
  } | null;
2809
3473
  LINKEDIN?: {
2810
3474
  text: string;
2811
3475
  uploadIds?: Array<(string)> | null;
2812
- visibility?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
2813
- distribution?: {
2814
- feedDistribution: 'NONE' | 'MAIN_FEED';
2815
- } | null;
2816
- isReshareDisabledByAuthor?: boolean | null;
3476
+ privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
3477
+ /**
3478
+ * Set to true if the post shouldn't be displayed in the main feed.
3479
+ */
3480
+ hideFromFeed?: boolean | null;
3481
+ /**
3482
+ * Set to true if the post is not allowed to be reshared.
3483
+ */
3484
+ disableReshare?: boolean | null;
3485
+ } | null;
3486
+ YOUTUBE?: {
3487
+ type?: 'VIDEO' | 'SHORT';
3488
+ uploadIds?: Array<(string)> | null;
3489
+ text?: string | null;
3490
+ description?: string | null;
3491
+ privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
3492
+ /**
3493
+ * Set to true if the video is made for kids.
3494
+ */
3495
+ madeForKids?: boolean | null;
2817
3496
  } | null;
2818
3497
  REDDIT?: {
2819
3498
  sr: string;
2820
3499
  text: string;
2821
3500
  description?: string | null;
2822
3501
  uploadIds?: Array<(string)> | null;
2823
- url?: string | null;
3502
+ /**
3503
+ * The URL to which the post will link to.
3504
+ */
3505
+ link?: string | null;
3506
+ /**
3507
+ * Set to true if the post is NSFW.
3508
+ */
2824
3509
  nsfw?: boolean | null;
2825
3510
  } | null;
2826
3511
  DISCORD?: {
2827
3512
  channelId: string;
2828
3513
  text?: string | null;
2829
3514
  uploadIds?: Array<(string)> | null;
3515
+ /**
3516
+ * The username to display as the author of the message.
3517
+ */
2830
3518
  username?: string | null;
3519
+ /**
3520
+ * Avatar url to display as the author of the message.
3521
+ */
2831
3522
  avatarUrl?: string | null;
2832
3523
  } | null;
2833
3524
  SLACK?: {
2834
3525
  channelId: string;
2835
3526
  text?: string | null;
2836
3527
  uploadIds?: Array<(string)> | null;
3528
+ /**
3529
+ * The username to display as the author of the message.
3530
+ */
2837
3531
  username?: string | null;
3532
+ /**
3533
+ * Avatar url to display as the author of the message.
3534
+ */
2838
3535
  avatarUrl?: string | null;
2839
3536
  } | null;
2840
- YOUTUBE?: {
2841
- type?: 'SHORT';
2842
- uploadIds?: Array<(string)> | null;
2843
- text?: string | null;
2844
- description?: string | null;
2845
- categoryId?: string | null;
2846
- privacyStatus?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
2847
- madeForKids?: boolean;
2848
- } | null;
2849
3537
  TELEGRAM?: unknown;
2850
3538
  THREADS?: unknown;
2851
3539
  };
@@ -3103,8 +3791,33 @@ declare class ApiError extends Error {
3103
3791
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
3104
3792
  }
3105
3793
 
3794
+ type WebhookEventType = 'post.published';
3795
+ type WebhookEvent = {
3796
+ type: 'post.published';
3797
+ data: PostGetResponse;
3798
+ };
3799
+ declare class Webhooks {
3800
+ constructor();
3801
+ /**
3802
+ * Verify the signature of a webhook request
3803
+ * @param body - Stringified body of the webhook request
3804
+ * @param signature - The signature passed in the `x-signature` header
3805
+ * @param secret - The webhook secret used to sign the request
3806
+ * @returns Whether the signature is valid
3807
+ */
3808
+ private verifySignature;
3809
+ /**
3810
+ * Construct a webhook event from a request
3811
+ * @param rawBody - The raw body of the webhook request
3812
+ * @param signature - The signature passed in the `x-signature` header
3813
+ * @param secret - The webhook secret used to sign the request
3814
+ * @returns Parsed webhook event
3815
+ */
3816
+ constructEvent(rawBody: string, signature: string, secret: string): WebhookEvent;
3817
+ }
3106
3818
  declare class Bundlesocial extends Client {
3819
+ webhooks: Webhooks;
3107
3820
  constructor(apiKey: string, options?: OpenAPIConfig);
3108
3821
  }
3109
3822
 
3110
- export { $OpenApiTs, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, OpenAPI, OpenAPIConfig, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, TeamGetTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadGetData, UploadGetListResponse, UploadGetResponse };
3823
+ export { $OpenApiTs, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, OpenAPI, OpenAPIConfig, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, TeamGetTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadGetData, UploadGetListResponse, UploadGetResponse, WebhookEvent, WebhookEventType };