bundlesocial 2.16.0 → 2.18.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
@@ -81,7 +81,6 @@ type OrganizationGetOrganizationResponse = {
81
81
  promotionCodeId?: string | null;
82
82
  name?: string | null;
83
83
  avatarUrl?: string | null;
84
- apiAccess?: boolean;
85
84
  ref?: string | null;
86
85
  dailyPostLimit?: {
87
86
  TWITTER?: number;
@@ -97,6 +96,8 @@ type OrganizationGetOrganizationResponse = {
97
96
  SLACK?: number;
98
97
  MASTODON?: number;
99
98
  } | null;
99
+ apiAccess?: boolean;
100
+ analyticsDisabled?: boolean;
100
101
  createdAt: string | null;
101
102
  updatedAt: string | null;
102
103
  deletedAt?: string | null;
@@ -248,7 +249,6 @@ type TeamGetTeamResponse = {
248
249
  promotionCodeId?: string | null;
249
250
  name?: string | null;
250
251
  avatarUrl?: string | null;
251
- apiAccess?: boolean;
252
252
  ref?: string | null;
253
253
  dailyPostLimit?: {
254
254
  TWITTER?: number;
@@ -264,6 +264,8 @@ type TeamGetTeamResponse = {
264
264
  SLACK?: number;
265
265
  MASTODON?: number;
266
266
  } | null;
267
+ apiAccess?: boolean;
268
+ analyticsDisabled?: boolean;
267
269
  createdAt: string | null;
268
270
  updatedAt: string | null;
269
271
  deletedAt?: string | null;
@@ -406,7 +408,6 @@ type TeamGetListResponse = {
406
408
  promotionCodeId?: string | null;
407
409
  name?: string | null;
408
410
  avatarUrl?: string | null;
409
- apiAccess?: boolean;
410
411
  ref?: string | null;
411
412
  dailyPostLimit?: {
412
413
  TWITTER?: number;
@@ -422,6 +423,8 @@ type TeamGetListResponse = {
422
423
  SLACK?: number;
423
424
  MASTODON?: number;
424
425
  } | null;
426
+ apiAccess?: boolean;
427
+ analyticsDisabled?: boolean;
425
428
  createdAt: string | null;
426
429
  updatedAt: string | null;
427
430
  deletedAt?: string | null;
@@ -865,7 +868,7 @@ type UploadInitLargeUploadData = {
865
868
  requestBody?: {
866
869
  teamId?: string | null;
867
870
  fileName: string;
868
- mimeType: string;
871
+ mimeType: 'image/jpg' | 'image/jpeg' | 'image/png' | 'video/mp4';
869
872
  };
870
873
  };
871
874
  type UploadInitLargeUploadResponse = {
@@ -2931,66 +2934,11 @@ type PostCreateResponse = {
2931
2934
  updatedAt: string | null;
2932
2935
  deletedAt?: string | null;
2933
2936
  };
2934
- type AnalyticsGetProfileAnalyticsData = {
2935
- platformType: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'REDDIT' | 'PINTEREST' | 'MASTODON';
2936
- teamId: string;
2937
- };
2938
- type AnalyticsGetProfileAnalyticsResponse = Array<{
2939
- id: string;
2940
- socialAccountId: string;
2941
- impressions: number;
2942
- impressionsUnique: number;
2943
- views: number;
2944
- viewsUnique: number;
2945
- likes: number;
2946
- comments: number;
2947
- postCount: number;
2948
- followers: number;
2949
- following: number;
2950
- raw?: unknown;
2951
- createdAt: string | null;
2952
- updatedAt: string | null;
2953
- deletedAt?: string | null;
2954
- }>;
2955
- type AnalyticsGetProfilePostsData = {
2956
- ids?: Array<(string)>;
2937
+ type AnalyticsGetSocialAccountAnalyticsData = {
2957
2938
  platformType: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'REDDIT' | 'PINTEREST' | 'MASTODON';
2958
2939
  teamId: string;
2959
2940
  };
2960
- type AnalyticsGetProfilePostsResponse = Array<{
2961
- id: string;
2962
- socialAccountId: string;
2963
- postId?: string | null;
2964
- externalId?: string | null;
2965
- title?: string | null;
2966
- description?: string | null;
2967
- smallThumbnail?: string | null;
2968
- thumbnail?: string | null;
2969
- permalink?: string | null;
2970
- subreddit?: string | null;
2971
- publishedAt?: string | null;
2972
- type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
2973
- init: boolean;
2974
- createdAt: string | null;
2975
- updatedAt: string | null;
2976
- deletedAt?: string | null;
2977
- analytics: Array<{
2978
- id: string;
2979
- profilePostId: string;
2980
- impressions: number;
2981
- impressionsUnique: number;
2982
- views: number;
2983
- viewsUnique: number;
2984
- likes: number;
2985
- dislikes: number;
2986
- comments: number;
2987
- shares: number;
2988
- saves: number;
2989
- raw?: unknown;
2990
- createdAt: string | null;
2991
- updatedAt: string | null;
2992
- deletedAt?: string | null;
2993
- }>;
2941
+ type AnalyticsGetSocialAccountAnalyticsResponse = {
2994
2942
  socialAccount: {
2995
2943
  id: string;
2996
2944
  type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
@@ -3016,7 +2964,29 @@ type AnalyticsGetProfilePostsResponse = Array<{
3016
2964
  updatedAt: string | null;
3017
2965
  deletedAt?: string | null;
3018
2966
  };
3019
- post?: {
2967
+ items: Array<{
2968
+ id: string;
2969
+ socialAccountId: string;
2970
+ impressions: number;
2971
+ impressionsUnique: number;
2972
+ views: number;
2973
+ viewsUnique: number;
2974
+ likes: number;
2975
+ comments: number;
2976
+ postCount: number;
2977
+ followers: number;
2978
+ following: number;
2979
+ createdAt: string | null;
2980
+ updatedAt: string | null;
2981
+ deletedAt?: string | null;
2982
+ }>;
2983
+ };
2984
+ type AnalyticsGetPostAnalyticsData = {
2985
+ platformType: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'REDDIT' | 'PINTEREST' | 'MASTODON';
2986
+ postId: string;
2987
+ };
2988
+ type AnalyticsGetPostAnalyticsResponse = {
2989
+ post: {
3020
2990
  id: string;
3021
2991
  teamId: string;
3022
2992
  organizationId?: string | null;
@@ -3307,29 +3277,8 @@ type AnalyticsGetProfilePostsResponse = Array<{
3307
3277
  createdAt: string | null;
3308
3278
  updatedAt: string | null;
3309
3279
  deletedAt?: string | null;
3310
- } | null;
3311
- }>;
3312
- type AnalyticsGetProfilePostData = {
3313
- id: string;
3314
- };
3315
- type AnalyticsGetProfilePostResponse = {
3316
- id: string;
3317
- socialAccountId: string;
3318
- postId?: string | null;
3319
- externalId?: string | null;
3320
- title?: string | null;
3321
- description?: string | null;
3322
- smallThumbnail?: string | null;
3323
- thumbnail?: string | null;
3324
- permalink?: string | null;
3325
- subreddit?: string | null;
3326
- publishedAt?: string | null;
3327
- type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
3328
- init: boolean;
3329
- createdAt: string | null;
3330
- updatedAt: string | null;
3331
- deletedAt?: string | null;
3332
- analytics: Array<{
3280
+ };
3281
+ items: Array<{
3333
3282
  id: string;
3334
3283
  profilePostId: string;
3335
3284
  impressions: number;
@@ -3346,6 +3295,12 @@ type AnalyticsGetProfilePostResponse = {
3346
3295
  updatedAt: string | null;
3347
3296
  deletedAt?: string | null;
3348
3297
  }>;
3298
+ };
3299
+ type AnalyticsGetSocialAccountAnalyticsRawData = {
3300
+ platformType: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'REDDIT' | 'PINTEREST' | 'MASTODON';
3301
+ teamId: string;
3302
+ };
3303
+ type AnalyticsGetSocialAccountAnalyticsRawResponse = {
3349
3304
  socialAccount: {
3350
3305
  id: string;
3351
3306
  type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
@@ -3371,7 +3326,22 @@ type AnalyticsGetProfilePostResponse = {
3371
3326
  updatedAt: string | null;
3372
3327
  deletedAt?: string | null;
3373
3328
  };
3374
- post?: {
3329
+ items: Array<{
3330
+ id: string;
3331
+ socialAccountId?: string | null;
3332
+ analyticsId?: string | null;
3333
+ raw?: unknown;
3334
+ createdAt: string | null;
3335
+ updatedAt: string | null;
3336
+ deletedAt?: string | null;
3337
+ }>;
3338
+ };
3339
+ type AnalyticsGetPostAnalyticsRawData = {
3340
+ platformType: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'REDDIT' | 'PINTEREST' | 'MASTODON';
3341
+ postId: string;
3342
+ };
3343
+ type AnalyticsGetPostAnalyticsRawResponse = {
3344
+ post: {
3375
3345
  id: string;
3376
3346
  teamId: string;
3377
3347
  organizationId?: string | null;
@@ -3662,536 +3632,176 @@ type AnalyticsGetProfilePostResponse = {
3662
3632
  createdAt: string | null;
3663
3633
  updatedAt: string | null;
3664
3634
  deletedAt?: string | null;
3665
- } | null;
3635
+ };
3636
+ items: Array<{
3637
+ id: string;
3638
+ profilePostId?: string | null;
3639
+ analyticsId?: string | null;
3640
+ raw?: unknown;
3641
+ createdAt: string | null;
3642
+ updatedAt: string | null;
3643
+ deletedAt?: string | null;
3644
+ }>;
3645
+ };
3646
+ type AnalyticsGetProfileAnalyticsResponse = string;
3647
+ type AnalyticsGetProfilePostsResponse = string;
3648
+ type AnalyticsGetProfilePostData = {
3649
+ id: string;
3666
3650
  };
3651
+ type AnalyticsGetProfilePostResponse = string;
3667
3652
  type AnalyticsGetProfilePostByPostIdData = {
3668
3653
  id: string;
3669
3654
  };
3670
- type AnalyticsGetProfilePostByPostIdResponse = {
3655
+ type AnalyticsGetProfilePostByPostIdResponse = string;
3656
+ type AnalyticsGetRawSocialAccountAnalyticsResponse = string;
3657
+ type AnalyticsGetRawPostsAnalyticsResponse = string;
3658
+ type CommentGetData = {
3671
3659
  id: string;
3672
- socialAccountId: string;
3673
- postId?: string | null;
3674
- externalId?: string | null;
3675
- title?: string | null;
3676
- description?: string | null;
3677
- smallThumbnail?: string | null;
3678
- thumbnail?: string | null;
3679
- permalink?: string | null;
3680
- subreddit?: string | null;
3681
- publishedAt?: string | null;
3682
- type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
3683
- init: boolean;
3660
+ };
3661
+ type CommentGetResponse = {
3662
+ id: string;
3663
+ teamId: string;
3664
+ organizationId?: string | null;
3665
+ internalPostId: string;
3666
+ internalParentCommentId?: string | null;
3667
+ title: string;
3668
+ postDate: string | null;
3669
+ postedDate?: string | null;
3670
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
3671
+ data: {
3672
+ FACEBOOK?: {
3673
+ text?: string | null;
3674
+ } | null;
3675
+ INSTAGRAM?: {
3676
+ text?: string | null;
3677
+ } | null;
3678
+ THREADS?: {
3679
+ text?: string | null;
3680
+ } | null;
3681
+ TIKTOK?: {
3682
+ text?: string | null;
3683
+ } | null;
3684
+ LINKEDIN?: {
3685
+ text?: string | null;
3686
+ } | null;
3687
+ YOUTUBE?: {
3688
+ text?: string | null;
3689
+ } | null;
3690
+ REDDIT?: {
3691
+ text?: string | null;
3692
+ } | null;
3693
+ MASTODON?: {
3694
+ text?: string | null;
3695
+ } | null;
3696
+ DISCORD?: {
3697
+ text?: string | null;
3698
+ } | null;
3699
+ SLACK?: {
3700
+ text?: string | null;
3701
+ } | null;
3702
+ };
3703
+ error?: string | null;
3704
+ errors?: {
3705
+ FACEBOOK?: string | null;
3706
+ INSTAGRAM?: string | null;
3707
+ TIKTOK?: string | null;
3708
+ LINKEDIN?: string | null;
3709
+ REDDIT?: string | null;
3710
+ YOUTUBE?: string | null;
3711
+ MASTODON?: string | null;
3712
+ THREADS?: string | null;
3713
+ DISCORD?: string | null;
3714
+ SLACK?: string | null;
3715
+ } | null;
3716
+ externalData?: {
3717
+ FACEBOOK?: {
3718
+ id?: string | null;
3719
+ permalink?: string | null;
3720
+ } | null;
3721
+ INSTAGRAM?: {
3722
+ id?: string | null;
3723
+ permalink?: string | null;
3724
+ } | null;
3725
+ TIKTOK?: {
3726
+ id?: string | null;
3727
+ permalink?: string | null;
3728
+ } | null;
3729
+ LINKEDIN?: {
3730
+ id?: string | null;
3731
+ commentUrn?: string | null;
3732
+ permalink?: string | null;
3733
+ } | null;
3734
+ REDDIT?: {
3735
+ id?: string | null;
3736
+ permalink?: string | null;
3737
+ } | null;
3738
+ YOUTUBE?: {
3739
+ id?: string | null;
3740
+ permalink?: string | null;
3741
+ } | null;
3742
+ MASTODON?: {
3743
+ id?: string | null;
3744
+ permalink?: string | null;
3745
+ } | null;
3746
+ THREADS?: {
3747
+ id?: string | null;
3748
+ permalink?: string | null;
3749
+ } | null;
3750
+ DISCORD?: {
3751
+ id?: string | null;
3752
+ permalink?: string | null;
3753
+ } | null;
3754
+ SLACK?: {
3755
+ id?: string | null;
3756
+ permalink?: string | null;
3757
+ } | null;
3758
+ } | null;
3684
3759
  createdAt: string | null;
3685
3760
  updatedAt: string | null;
3686
3761
  deletedAt?: string | null;
3687
- analytics: Array<{
3688
- id: string;
3689
- profilePostId: string;
3690
- impressions: number;
3691
- impressionsUnique: number;
3692
- views: number;
3693
- viewsUnique: number;
3694
- likes: number;
3695
- dislikes: number;
3696
- comments: number;
3697
- shares: number;
3698
- saves: number;
3699
- raw?: unknown;
3700
- createdAt: string | null;
3701
- updatedAt: string | null;
3702
- deletedAt?: string | null;
3703
- }>;
3704
- socialAccount: {
3705
- id: string;
3706
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
3707
- teamId: string;
3708
- username?: string | null;
3709
- displayName?: string | null;
3710
- externalId?: string | null;
3711
- userUsername?: string | null;
3712
- userDisplayName?: string | null;
3713
- userId?: string | null;
3714
- channels?: Array<{
3715
- id: string;
3716
- name?: string | null;
3717
- username?: string | null;
3718
- webhook?: {
3719
- id?: string | null;
3720
- name?: string | null;
3721
- avatar?: string | null;
3722
- url?: string | null;
3723
- } | null;
3724
- }> | null;
3725
- createdAt: string | null;
3726
- updatedAt: string | null;
3727
- deletedAt?: string | null;
3728
- };
3729
- post?: {
3730
- id: string;
3731
- teamId: string;
3732
- organizationId?: string | null;
3733
- title: string;
3734
- postDate: string | null;
3735
- postedDate?: string | null;
3736
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
3737
- data: {
3738
- TWITTER?: {
3762
+ };
3763
+ type CommentUpdateData = {
3764
+ id: string;
3765
+ /**
3766
+ * Body
3767
+ */
3768
+ requestBody?: {
3769
+ title?: string;
3770
+ internalPostId?: string;
3771
+ internalParentCommentId?: string | null;
3772
+ postDate?: string;
3773
+ status?: 'DRAFT' | 'SCHEDULED';
3774
+ socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
3775
+ data?: {
3776
+ FACEBOOK?: {
3739
3777
  text?: string | null;
3740
- uploadIds?: Array<(string)> | null;
3741
- } | null;
3742
- PINTEREST?: {
3743
- text?: string | null;
3744
- description?: string | null;
3745
- boardName: string;
3746
- uploadIds?: Array<(string)> | null;
3747
- /**
3748
- * The URL to image uploaded on bundle.social.
3749
- */
3750
- thumbnail?: string | null;
3751
- /**
3752
- * The URL to which the Pin will link to.
3753
- */
3754
- link?: string | null;
3755
- /**
3756
- * The alt text for the image. This is used by screen readers and when the image can't be loaded.
3757
- */
3758
- altText?: string | null;
3759
- /**
3760
- * A note about the Pin. This is not visible to the public.
3761
- */
3762
- note?: string | null;
3763
- /**
3764
- * The dominant color of the image. This is used to display the image before it's loaded.
3765
- */
3766
- dominantColor?: string | null;
3767
- } | null;
3768
- FACEBOOK?: {
3769
- type?: 'POST' | 'REEL' | 'STORY';
3770
- text?: string | null;
3771
- uploadIds?: Array<(string)> | null;
3772
- /**
3773
- * The URL to which the post will link to. Only available for type POST.
3774
- */
3775
- link?: string | null;
3776
- /**
3777
- * The URL to image uploaded on bundle.social.
3778
- */
3779
- thumbnail?: string | null;
3780
3778
  } | null;
3781
3779
  INSTAGRAM?: {
3782
- type?: 'POST' | 'REEL' | 'STORY';
3783
3780
  text?: string | null;
3784
- uploadIds?: Array<(string)> | null;
3785
- /**
3786
- * Choose a frame of the published video as the cover photo in ms
3787
- */
3788
- thumbnailOffset?: number | null;
3789
- /**
3790
- * The URL to image uploaded on bundle.social.
3791
- */
3792
- thumbnail?: string | null;
3793
- /**
3794
- * 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.
3795
- */
3796
- shareToFeed?: boolean | null;
3797
- collaborators?: Array<(string)> | null;
3798
- tagged?: Array<{
3799
- username: string;
3800
- x: number;
3801
- y: number;
3802
- }> | null;
3803
3781
  } | null;
3804
3782
  THREADS?: {
3805
3783
  text?: string | null;
3806
- uploadIds?: Array<(string)> | null;
3807
3784
  } | null;
3808
3785
  TIKTOK?: {
3809
- type?: 'VIDEO' | 'IMAGE';
3810
3786
  text?: string | null;
3811
- uploadIds?: Array<(string)> | null;
3812
- /**
3813
- * The URL to image uploaded on bundle.social.
3814
- */
3815
- thumbnail?: string | null;
3816
- privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
3817
- /**
3818
- * Set to true if the video is a paid partnership to promote a third-party business.
3819
- */
3820
- isBrandContent?: boolean | null;
3821
- /**
3822
- * Set to true if this video is promoting the creator's own business.
3823
- */
3824
- isOrganicBrandContent?: boolean | null;
3825
- /**
3826
- * If set to true, other TikTok users will not be allowed to make comments on this post.
3827
- */
3828
- disableComments?: boolean | null;
3829
- /**
3830
- * If set to true, other TikTok users will not be allowed to make Stitches using this post.
3831
- */
3832
- disableDuet?: boolean | null;
3833
- /**
3834
- * If set to true, other TikTok users will not be allowed to make Duets using this post.
3835
- */
3836
- disableStitch?: boolean | null;
3837
- /**
3838
- * Choose a frame of the published video as the cover photo in ms
3839
- */
3840
- thumbnailOffset?: number | null;
3841
- /**
3842
- * Set to true if this video is AI generated.
3843
- */
3844
- isAiGenerated?: boolean | null;
3845
3787
  } | null;
3846
3788
  LINKEDIN?: {
3847
- text: string;
3848
- uploadIds?: Array<(string)> | null;
3849
- /**
3850
- * The URL to image uploaded on bundle.social.
3851
- */
3852
- thumbnail?: string | null;
3853
- privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
3854
- /**
3855
- * Set to true if the post shouldn't be displayed in the main feed.
3856
- */
3857
- hideFromFeed?: boolean | null;
3858
- /**
3859
- * Set to true if the post is not allowed to be reshared.
3860
- */
3861
- disableReshare?: boolean | null;
3789
+ text?: string | null;
3862
3790
  } | null;
3863
3791
  YOUTUBE?: {
3864
- type?: 'VIDEO' | 'SHORT';
3865
- uploadIds?: Array<(string)> | null;
3866
3792
  text?: string | null;
3867
- description?: string | null;
3868
- /**
3869
- * The URL to image uploaded on bundle.social.
3870
- */
3871
- thumbnail?: string | null;
3872
- privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
3873
- /**
3874
- * Set to true if the video is made for kids.
3875
- */
3876
- madeForKids?: boolean | null;
3877
- /**
3878
- * Set to true if video contains AI generated content
3879
- */
3880
- containsSyntheticMedia?: boolean | null;
3881
- /**
3882
- * Set to true if video has paid product placement
3883
- */
3884
- hasPaidProductPlacement?: boolean | null;
3885
3793
  } | null;
3886
3794
  REDDIT?: {
3887
- /**
3888
- * Subreddit name. Example: r/subredditName or u/username
3889
- */
3890
- sr: string;
3891
- text: string;
3892
- description?: string | null;
3893
- uploadIds?: Array<(string)> | null;
3894
- /**
3895
- * The URL to which the post will link to.
3896
- */
3897
- link?: string | null;
3898
- /**
3899
- * Set to true if the post is NSFW.
3900
- */
3901
- nsfw?: boolean | null;
3902
- } | null;
3903
- DISCORD?: {
3904
- channelId: string;
3905
- text?: string | null;
3906
- uploadIds?: Array<(string)> | null;
3907
- /**
3908
- * The username to display as the author of the message.
3909
- */
3910
- username?: string | null;
3911
- /**
3912
- * Avatar url to display as the author of the message.
3913
- */
3914
- avatarUrl?: string | null;
3915
- } | null;
3916
- SLACK?: {
3917
- channelId: string;
3918
3795
  text?: string | null;
3919
- uploadIds?: Array<(string)> | null;
3920
- /**
3921
- * The username to display as the author of the message.
3922
- */
3923
- username?: string | null;
3924
- /**
3925
- * Avatar url to display as the author of the message.
3926
- */
3927
- avatarUrl?: string | null;
3928
3796
  } | null;
3929
3797
  MASTODON?: {
3930
3798
  text?: string | null;
3931
- uploadIds?: Array<(string)> | null;
3932
- /**
3933
- * The URL to image uploaded on bundle.social.
3934
- */
3935
- thumbnail?: string | null;
3936
- privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
3937
- spoiler?: string | null;
3938
- } | null;
3939
- };
3940
- error?: string | null;
3941
- errors?: {
3942
- TWITTER?: string | null;
3943
- PINTEREST?: string | null;
3944
- FACEBOOK?: string | null;
3945
- INSTAGRAM?: string | null;
3946
- TIKTOK?: string | null;
3947
- LINKEDIN?: string | null;
3948
- REDDIT?: string | null;
3949
- DISCORD?: string | null;
3950
- SLACK?: string | null;
3951
- YOUTUBE?: string | null;
3952
- MASTODON?: string | null;
3953
- THREADS?: string | null;
3954
- } | null;
3955
- externalData?: {
3956
- TWITTER?: {
3957
- id?: string | null;
3958
- permalink?: string | null;
3959
- } | null;
3960
- PINTEREST?: {
3961
- id?: string | null;
3962
- permalink?: string | null;
3963
- thumbnail?: string | null;
3964
- } | null;
3965
- FACEBOOK?: {
3966
- id?: string | null;
3967
- postId?: string | null;
3968
- videoId?: string | null;
3969
- permalink?: string | null;
3970
- thumbnail?: string;
3971
- } | null;
3972
- INSTAGRAM?: {
3973
- id?: string | null;
3974
- permalink?: string | null;
3975
- thumbnail?: string;
3976
- } | null;
3977
- TIKTOK?: {
3978
- id?: string | null;
3979
- permalink?: string | null;
3980
- } | null;
3981
- LINKEDIN?: {
3982
- id?: string | null;
3983
- activity?: string | null;
3984
- permalink?: string | null;
3985
- thumbnail?: string;
3986
- } | null;
3987
- REDDIT?: {
3988
- id?: string | null;
3989
- permalink?: string | null;
3990
- subreddit_name?: string | null;
3991
3799
  } | null;
3992
3800
  DISCORD?: {
3993
- id?: string | null;
3994
- permalink?: string | null;
3995
- channelId?: string | null;
3801
+ text?: string | null;
3996
3802
  } | null;
3997
3803
  SLACK?: {
3998
- id?: string | null;
3999
- permalink?: string | null;
4000
- channelId?: string | null;
4001
- } | null;
4002
- YOUTUBE?: {
4003
- id?: string | null;
4004
- permalink?: string | null;
4005
- thumbnail?: string | null;
4006
- } | null;
4007
- MASTODON?: {
4008
- id?: string | null;
4009
- permalink?: string | null;
4010
- thumbnail?: string | null;
4011
- } | null;
4012
- THREADS?: {
4013
- id?: string | null;
4014
- permalink?: string | null;
4015
- } | null;
4016
- } | null;
4017
- createdAt: string | null;
4018
- updatedAt: string | null;
4019
- deletedAt?: string | null;
4020
- } | null;
4021
- };
4022
- type AnalyticsGetRawProfileAnalyticsData = {
4023
- socialAccountId: string;
4024
- teamId: string;
4025
- };
4026
- type AnalyticsGetRawProfileAnalyticsResponse = {
4027
- id: string;
4028
- profilePostId?: string | null;
4029
- socialAccountId?: string | null;
4030
- raw?: unknown;
4031
- createdAt: string | null;
4032
- updatedAt: string | null;
4033
- deletedAt?: string | null;
4034
- };
4035
- type AnalyticsGetRawPostsAnalyticsData = {
4036
- profilePostId: string;
4037
- teamId: string;
4038
- };
4039
- type AnalyticsGetRawPostsAnalyticsResponse = {
4040
- id: string;
4041
- profilePostId?: string | null;
4042
- socialAccountId?: string | null;
4043
- raw?: unknown;
4044
- createdAt: string | null;
4045
- updatedAt: string | null;
4046
- deletedAt?: string | null;
4047
- };
4048
- type CommentGetData = {
4049
- id: string;
4050
- };
4051
- type CommentGetResponse = {
4052
- id: string;
4053
- teamId: string;
4054
- organizationId?: string | null;
4055
- internalPostId: string;
4056
- internalParentCommentId?: string | null;
4057
- title: string;
4058
- postDate: string | null;
4059
- postedDate?: string | null;
4060
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
4061
- data: {
4062
- FACEBOOK?: {
4063
- text?: string | null;
4064
- } | null;
4065
- INSTAGRAM?: {
4066
- text?: string | null;
4067
- } | null;
4068
- THREADS?: {
4069
- text?: string | null;
4070
- } | null;
4071
- TIKTOK?: {
4072
- text?: string | null;
4073
- } | null;
4074
- LINKEDIN?: {
4075
- text?: string | null;
4076
- } | null;
4077
- YOUTUBE?: {
4078
- text?: string | null;
4079
- } | null;
4080
- REDDIT?: {
4081
- text?: string | null;
4082
- } | null;
4083
- MASTODON?: {
4084
- text?: string | null;
4085
- } | null;
4086
- DISCORD?: {
4087
- text?: string | null;
4088
- } | null;
4089
- SLACK?: {
4090
- text?: string | null;
4091
- } | null;
4092
- };
4093
- error?: string | null;
4094
- errors?: {
4095
- FACEBOOK?: string | null;
4096
- INSTAGRAM?: string | null;
4097
- TIKTOK?: string | null;
4098
- LINKEDIN?: string | null;
4099
- REDDIT?: string | null;
4100
- YOUTUBE?: string | null;
4101
- MASTODON?: string | null;
4102
- THREADS?: string | null;
4103
- DISCORD?: string | null;
4104
- SLACK?: string | null;
4105
- } | null;
4106
- externalData?: {
4107
- FACEBOOK?: {
4108
- id?: string | null;
4109
- permalink?: string | null;
4110
- } | null;
4111
- INSTAGRAM?: {
4112
- id?: string | null;
4113
- permalink?: string | null;
4114
- } | null;
4115
- TIKTOK?: {
4116
- id?: string | null;
4117
- permalink?: string | null;
4118
- } | null;
4119
- LINKEDIN?: {
4120
- id?: string | null;
4121
- commentUrn?: string | null;
4122
- permalink?: string | null;
4123
- } | null;
4124
- REDDIT?: {
4125
- id?: string | null;
4126
- permalink?: string | null;
4127
- } | null;
4128
- YOUTUBE?: {
4129
- id?: string | null;
4130
- permalink?: string | null;
4131
- } | null;
4132
- MASTODON?: {
4133
- id?: string | null;
4134
- permalink?: string | null;
4135
- } | null;
4136
- THREADS?: {
4137
- id?: string | null;
4138
- permalink?: string | null;
4139
- } | null;
4140
- DISCORD?: {
4141
- id?: string | null;
4142
- permalink?: string | null;
4143
- } | null;
4144
- SLACK?: {
4145
- id?: string | null;
4146
- permalink?: string | null;
4147
- } | null;
4148
- } | null;
4149
- createdAt: string | null;
4150
- updatedAt: string | null;
4151
- deletedAt?: string | null;
4152
- };
4153
- type CommentUpdateData = {
4154
- id: string;
4155
- /**
4156
- * Body
4157
- */
4158
- requestBody?: {
4159
- title?: string;
4160
- internalPostId?: string;
4161
- internalParentCommentId?: string | null;
4162
- postDate?: string;
4163
- status?: 'DRAFT' | 'SCHEDULED';
4164
- socialAccountTypes?: Array<('TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'THREADS' | 'LINKEDIN' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK')>;
4165
- data?: {
4166
- FACEBOOK?: {
4167
- text?: string | null;
4168
- } | null;
4169
- INSTAGRAM?: {
4170
- text?: string | null;
4171
- } | null;
4172
- THREADS?: {
4173
- text?: string | null;
4174
- } | null;
4175
- TIKTOK?: {
4176
- text?: string | null;
4177
- } | null;
4178
- LINKEDIN?: {
4179
- text?: string | null;
4180
- } | null;
4181
- YOUTUBE?: {
4182
- text?: string | null;
4183
- } | null;
4184
- REDDIT?: {
4185
- text?: string | null;
4186
- } | null;
4187
- MASTODON?: {
4188
- text?: string | null;
4189
- } | null;
4190
- DISCORD?: {
4191
- text?: string | null;
4192
- } | null;
4193
- SLACK?: {
4194
- text?: string | null;
3804
+ text?: string | null;
4195
3805
  } | null;
4196
3806
  };
4197
3807
  };
@@ -4666,73 +4276,448 @@ type CommentCreateResponse = {
4666
4276
  updatedAt: string | null;
4667
4277
  deletedAt?: string | null;
4668
4278
  };
4669
- type $OpenApiTs = {
4670
- '/api/v1/': {
4671
- get: {
4672
- res: {
4673
- /**
4674
- * 200
4675
- */
4676
- 200: {
4677
- status: string;
4678
- createdAt: string;
4679
- };
4680
- /**
4681
- * 400
4682
- */
4683
- 400: {
4684
- message: string;
4685
- issues?: Array<{
4686
- message: string;
4687
- path?: Array<(string | number)> | null;
4688
- }> | null;
4689
- };
4690
- /**
4691
- * 401
4692
- */
4693
- 401: {
4694
- message: string;
4695
- };
4696
- /**
4697
- * 403
4698
- */
4699
- 403: {
4700
- message: string;
4701
- };
4702
- /**
4703
- * 404
4704
- */
4705
- 404: {
4706
- message: string;
4707
- };
4708
- /**
4709
- * 429
4710
- */
4711
- 429: {
4712
- message: string;
4713
- };
4714
- /**
4715
- * 500
4716
- */
4717
- 500: {
4718
- message: string;
4279
+ type MiscSetThumbnailData = {
4280
+ /**
4281
+ * Body
4282
+ */
4283
+ requestBody?: {
4284
+ teamId: string;
4285
+ url: string;
4286
+ postId: string;
4287
+ };
4288
+ };
4289
+ type MiscSetThumbnailResponse = {
4290
+ items?: Array<{
4291
+ default?: {
4292
+ url: string;
4293
+ width?: number;
4294
+ height?: number;
4295
+ };
4296
+ medium?: {
4297
+ url: string;
4298
+ width?: number;
4299
+ height?: number;
4300
+ };
4301
+ high?: {
4302
+ url: string;
4303
+ width?: number;
4304
+ height?: number;
4305
+ };
4306
+ standard?: {
4307
+ url: string;
4308
+ width?: number;
4309
+ height?: number;
4310
+ };
4311
+ maxres?: {
4312
+ url: string;
4313
+ width?: number;
4314
+ height?: number;
4315
+ };
4316
+ }>;
4317
+ };
4318
+ type MiscGetChannelPlaylistData = {
4319
+ maxResults?: number;
4320
+ teamId: string;
4321
+ };
4322
+ type MiscGetChannelPlaylistResponse = {
4323
+ kind?: string;
4324
+ etag?: string;
4325
+ nextPageToken?: string;
4326
+ prevPageToken?: string;
4327
+ pageInfo?: {
4328
+ totalResults?: number;
4329
+ resultsPerPage?: number;
4330
+ };
4331
+ items?: Array<{
4332
+ kind?: string;
4333
+ etag?: string;
4334
+ id?: string;
4335
+ snippet?: {
4336
+ publishedAt?: string;
4337
+ channelId?: string;
4338
+ title?: string;
4339
+ description?: string;
4340
+ channelTitle?: string;
4341
+ thumbnails?: {
4342
+ default?: {
4343
+ url?: string;
4344
+ width?: number;
4345
+ height?: number;
4346
+ };
4347
+ medium?: {
4348
+ url?: string;
4349
+ width?: number;
4350
+ height?: number;
4351
+ };
4352
+ high?: {
4353
+ url?: string;
4354
+ width?: number;
4355
+ height?: number;
4356
+ };
4357
+ standard?: {
4358
+ url?: string;
4359
+ width?: number;
4360
+ height?: number;
4361
+ };
4362
+ maxres?: {
4363
+ url?: string;
4364
+ width?: number;
4365
+ height?: number;
4719
4366
  };
4720
4367
  };
4368
+ localized?: {
4369
+ title?: string;
4370
+ description?: string;
4371
+ };
4372
+ };
4373
+ status?: {
4374
+ privacyStatus?: string;
4375
+ };
4376
+ contentDetails?: {
4377
+ itemCount?: number;
4721
4378
  };
4379
+ }>;
4380
+ };
4381
+ type MiscCreateNewChannelPlaylistData = {
4382
+ /**
4383
+ * Body
4384
+ */
4385
+ requestBody?: {
4386
+ teamId: string;
4387
+ /**
4388
+ * bundle.social does not store this value and YouTube overites it everytime so you need to pass it everytime
4389
+ */
4390
+ title: string;
4391
+ /**
4392
+ * bundle.social does not store this value and YouTube overites it everytime so you need to pass it everytime
4393
+ */
4394
+ description: string;
4395
+ privacyStatus?: 'public' | 'unlisted' | 'private';
4722
4396
  };
4723
- '/api/v1/organization/': {
4724
- get: {
4725
- res: {
4726
- /**
4727
- * 200
4728
- */
4729
- 200: {
4730
- id: string;
4397
+ };
4398
+ type MiscCreateNewChannelPlaylistResponse = {
4399
+ kind?: string;
4400
+ etag?: string;
4401
+ id?: string;
4402
+ snippet?: {
4403
+ publishedAt?: string;
4404
+ channelId?: string;
4405
+ title?: string;
4406
+ description?: string;
4407
+ channelTitle?: string;
4408
+ thumbnails?: {
4409
+ default?: {
4410
+ url?: string;
4411
+ width?: number;
4412
+ height?: number;
4413
+ };
4414
+ medium?: {
4415
+ url?: string;
4416
+ width?: number;
4417
+ height?: number;
4418
+ };
4419
+ high?: {
4420
+ url?: string;
4421
+ width?: number;
4422
+ height?: number;
4423
+ };
4424
+ standard?: {
4425
+ url?: string;
4426
+ width?: number;
4427
+ height?: number;
4428
+ };
4429
+ maxres?: {
4430
+ url?: string;
4431
+ width?: number;
4432
+ height?: number;
4433
+ };
4434
+ };
4435
+ localized?: {
4436
+ title?: string;
4437
+ description?: string;
4438
+ };
4439
+ };
4440
+ status?: {
4441
+ privacyStatus?: string;
4442
+ };
4443
+ contentDetails?: {
4444
+ itemCount?: number;
4445
+ };
4446
+ };
4447
+ type MiscUpdateChannelPlaylistData = {
4448
+ /**
4449
+ * Body
4450
+ */
4451
+ requestBody?: {
4452
+ teamId: string;
4453
+ /**
4454
+ * bundle.social does not store this value and YouTube overites it everytime so you need to pass it everytime
4455
+ */
4456
+ title: string;
4457
+ /**
4458
+ * bundle.social does not store this value and YouTube overites it everytime so you need to pass it everytime
4459
+ */
4460
+ description: string;
4461
+ privacyStatus?: 'public' | 'unlisted' | 'private';
4462
+ playlistId: string;
4463
+ };
4464
+ };
4465
+ type MiscUpdateChannelPlaylistResponse = {
4466
+ kind?: string;
4467
+ etag?: string;
4468
+ id?: string;
4469
+ snippet?: {
4470
+ publishedAt?: string;
4471
+ channelId?: string;
4472
+ title?: string;
4473
+ description?: string;
4474
+ channelTitle?: string;
4475
+ thumbnails?: {
4476
+ default?: {
4477
+ url?: string;
4478
+ width?: number;
4479
+ height?: number;
4480
+ };
4481
+ medium?: {
4482
+ url?: string;
4483
+ width?: number;
4484
+ height?: number;
4485
+ };
4486
+ high?: {
4487
+ url?: string;
4488
+ width?: number;
4489
+ height?: number;
4490
+ };
4491
+ standard?: {
4492
+ url?: string;
4493
+ width?: number;
4494
+ height?: number;
4495
+ };
4496
+ maxres?: {
4497
+ url?: string;
4498
+ width?: number;
4499
+ height?: number;
4500
+ };
4501
+ };
4502
+ localized?: {
4503
+ title?: string;
4504
+ description?: string;
4505
+ };
4506
+ };
4507
+ status?: {
4508
+ privacyStatus?: string;
4509
+ };
4510
+ contentDetails?: {
4511
+ itemCount?: number;
4512
+ };
4513
+ };
4514
+ type MiscDeleteChannelPlaylistData = {
4515
+ playlistId: string;
4516
+ teamId: string;
4517
+ };
4518
+ type MiscDeleteChannelPlaylistResponse = boolean;
4519
+ type MiscAddVideoToPlaylistData = {
4520
+ /**
4521
+ * Body
4522
+ */
4523
+ requestBody?: {
4524
+ teamId: string;
4525
+ playlistId: string;
4526
+ postId: string;
4527
+ position?: number;
4528
+ };
4529
+ };
4530
+ type MiscAddVideoToPlaylistResponse = {
4531
+ kind?: string;
4532
+ etag?: string;
4533
+ id?: string;
4534
+ snippet?: {
4535
+ publishedAt?: string;
4536
+ channelId?: string;
4537
+ title?: string;
4538
+ description?: string;
4539
+ channelTitle?: string;
4540
+ thumbnails?: {
4541
+ default?: {
4542
+ url?: string;
4543
+ width?: number;
4544
+ height?: number;
4545
+ };
4546
+ medium?: {
4547
+ url?: string;
4548
+ width?: number;
4549
+ height?: number;
4550
+ };
4551
+ high?: {
4552
+ url?: string;
4553
+ width?: number;
4554
+ height?: number;
4555
+ };
4556
+ standard?: {
4557
+ url?: string;
4558
+ width?: number;
4559
+ height?: number;
4560
+ };
4561
+ maxres?: {
4562
+ url?: string;
4563
+ width?: number;
4564
+ height?: number;
4565
+ };
4566
+ };
4567
+ playlistId?: string;
4568
+ position?: number;
4569
+ resourceId?: {
4570
+ kind?: string;
4571
+ videoId?: string;
4572
+ playlistId?: string;
4573
+ channelId?: string;
4574
+ };
4575
+ };
4576
+ contentDetails?: {
4577
+ videoId?: string;
4578
+ videoPublishedAt?: string;
4579
+ };
4580
+ };
4581
+ type MiscGetVideosFromPlaylistData = {
4582
+ maxResults?: number;
4583
+ playlistId: string;
4584
+ teamId: string;
4585
+ };
4586
+ type MiscGetVideosFromPlaylistResponse = {
4587
+ kind?: string;
4588
+ etag?: string;
4589
+ nextPageToken?: string;
4590
+ prevPageToken?: string;
4591
+ pageInfo?: {
4592
+ totalResults?: number;
4593
+ resultsPerPage?: number;
4594
+ };
4595
+ items?: Array<{
4596
+ kind?: string;
4597
+ etag?: string;
4598
+ id?: string;
4599
+ snippet?: {
4600
+ publishedAt?: string;
4601
+ channelId?: string;
4602
+ title?: string;
4603
+ description?: string;
4604
+ channelTitle?: string;
4605
+ thumbnails?: {
4606
+ default?: {
4607
+ url?: string;
4608
+ width?: number;
4609
+ height?: number;
4610
+ };
4611
+ medium?: {
4612
+ url?: string;
4613
+ width?: number;
4614
+ height?: number;
4615
+ };
4616
+ high?: {
4617
+ url?: string;
4618
+ width?: number;
4619
+ height?: number;
4620
+ };
4621
+ standard?: {
4622
+ url?: string;
4623
+ width?: number;
4624
+ height?: number;
4625
+ };
4626
+ maxres?: {
4627
+ url?: string;
4628
+ width?: number;
4629
+ height?: number;
4630
+ };
4631
+ };
4632
+ playlistId?: string;
4633
+ position?: number;
4634
+ resourceId?: {
4635
+ kind?: string;
4636
+ videoId?: string;
4637
+ playlistId?: string;
4638
+ channelId?: string;
4639
+ };
4640
+ };
4641
+ contentDetails?: {
4642
+ videoId?: string;
4643
+ videoPublishedAt?: string;
4644
+ };
4645
+ }>;
4646
+ };
4647
+ type MiscDeleteVideoFromPlaylistData = {
4648
+ /**
4649
+ * Playlist item ID (not video ID)
4650
+ */
4651
+ playlistItemId: string;
4652
+ teamId: string;
4653
+ };
4654
+ type MiscDeleteVideoFromPlaylistResponse = boolean;
4655
+ type $OpenApiTs = {
4656
+ '/api/v1/': {
4657
+ get: {
4658
+ res: {
4659
+ /**
4660
+ * 200
4661
+ */
4662
+ 200: {
4663
+ status: string;
4664
+ createdAt: string;
4665
+ };
4666
+ /**
4667
+ * 400
4668
+ */
4669
+ 400: {
4670
+ message: string;
4671
+ issues?: Array<{
4672
+ message: string;
4673
+ path?: Array<(string | number)> | null;
4674
+ }> | null;
4675
+ };
4676
+ /**
4677
+ * 401
4678
+ */
4679
+ 401: {
4680
+ message: string;
4681
+ };
4682
+ /**
4683
+ * 403
4684
+ */
4685
+ 403: {
4686
+ message: string;
4687
+ };
4688
+ /**
4689
+ * 404
4690
+ */
4691
+ 404: {
4692
+ message: string;
4693
+ };
4694
+ /**
4695
+ * 429
4696
+ */
4697
+ 429: {
4698
+ message: string;
4699
+ };
4700
+ /**
4701
+ * 500
4702
+ */
4703
+ 500: {
4704
+ message: string;
4705
+ };
4706
+ };
4707
+ };
4708
+ };
4709
+ '/api/v1/organization/': {
4710
+ get: {
4711
+ res: {
4712
+ /**
4713
+ * 200
4714
+ */
4715
+ 200: {
4716
+ id: string;
4731
4717
  createdById: string;
4732
4718
  promotionCodeId?: string | null;
4733
4719
  name?: string | null;
4734
4720
  avatarUrl?: string | null;
4735
- apiAccess?: boolean;
4736
4721
  ref?: string | null;
4737
4722
  dailyPostLimit?: {
4738
4723
  TWITTER?: number;
@@ -4748,6 +4733,8 @@ type $OpenApiTs = {
4748
4733
  SLACK?: number;
4749
4734
  MASTODON?: number;
4750
4735
  } | null;
4736
+ apiAccess?: boolean;
4737
+ analyticsDisabled?: boolean;
4751
4738
  createdAt: string | null;
4752
4739
  updatedAt: string | null;
4753
4740
  deletedAt?: string | null;
@@ -4946,7 +4933,6 @@ type $OpenApiTs = {
4946
4933
  promotionCodeId?: string | null;
4947
4934
  name?: string | null;
4948
4935
  avatarUrl?: string | null;
4949
- apiAccess?: boolean;
4950
4936
  ref?: string | null;
4951
4937
  dailyPostLimit?: {
4952
4938
  TWITTER?: number;
@@ -4962,6 +4948,8 @@ type $OpenApiTs = {
4962
4948
  SLACK?: number;
4963
4949
  MASTODON?: number;
4964
4950
  } | null;
4951
+ apiAccess?: boolean;
4952
+ analyticsDisabled?: boolean;
4965
4953
  createdAt: string | null;
4966
4954
  updatedAt: string | null;
4967
4955
  deletedAt?: string | null;
@@ -5233,7 +5221,6 @@ type $OpenApiTs = {
5233
5221
  promotionCodeId?: string | null;
5234
5222
  name?: string | null;
5235
5223
  avatarUrl?: string | null;
5236
- apiAccess?: boolean;
5237
5224
  ref?: string | null;
5238
5225
  dailyPostLimit?: {
5239
5226
  TWITTER?: number;
@@ -5249,6 +5236,8 @@ type $OpenApiTs = {
5249
5236
  SLACK?: number;
5250
5237
  MASTODON?: number;
5251
5238
  } | null;
5239
+ apiAccess?: boolean;
5240
+ analyticsDisabled?: boolean;
5252
5241
  createdAt: string | null;
5253
5242
  updatedAt: string | null;
5254
5243
  deletedAt?: string | null;
@@ -8165,30 +8154,56 @@ type $OpenApiTs = {
8165
8154
  };
8166
8155
  };
8167
8156
  };
8168
- '/api/v1/analytics/profile': {
8157
+ '/api/v1/analytics/social-account': {
8169
8158
  get: {
8170
- req: AnalyticsGetProfileAnalyticsData;
8159
+ req: AnalyticsGetSocialAccountAnalyticsData;
8171
8160
  res: {
8172
8161
  /**
8173
8162
  * 200
8174
8163
  */
8175
- 200: Array<{
8176
- id: string;
8177
- socialAccountId: string;
8178
- impressions: number;
8179
- impressionsUnique: number;
8180
- views: number;
8181
- viewsUnique: number;
8182
- likes: number;
8183
- comments: number;
8184
- postCount: number;
8185
- followers: number;
8186
- following: number;
8187
- raw?: unknown;
8188
- createdAt: string | null;
8189
- updatedAt: string | null;
8190
- deletedAt?: string | null;
8191
- }>;
8164
+ 200: {
8165
+ socialAccount: {
8166
+ id: string;
8167
+ type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
8168
+ teamId: string;
8169
+ username?: string | null;
8170
+ displayName?: string | null;
8171
+ externalId?: string | null;
8172
+ userUsername?: string | null;
8173
+ userDisplayName?: string | null;
8174
+ userId?: string | null;
8175
+ channels?: Array<{
8176
+ id: string;
8177
+ name?: string | null;
8178
+ username?: string | null;
8179
+ webhook?: {
8180
+ id?: string | null;
8181
+ name?: string | null;
8182
+ avatar?: string | null;
8183
+ url?: string | null;
8184
+ } | null;
8185
+ }> | null;
8186
+ createdAt: string | null;
8187
+ updatedAt: string | null;
8188
+ deletedAt?: string | null;
8189
+ };
8190
+ items: Array<{
8191
+ id: string;
8192
+ socialAccountId: string;
8193
+ impressions: number;
8194
+ impressionsUnique: number;
8195
+ views: number;
8196
+ viewsUnique: number;
8197
+ likes: number;
8198
+ comments: number;
8199
+ postCount: number;
8200
+ followers: number;
8201
+ following: number;
8202
+ createdAt: string | null;
8203
+ updatedAt: string | null;
8204
+ deletedAt?: string | null;
8205
+ }>;
8206
+ };
8192
8207
  /**
8193
8208
  * 400
8194
8209
  */
@@ -8232,73 +8247,15 @@ type $OpenApiTs = {
8232
8247
  };
8233
8248
  };
8234
8249
  };
8235
- '/api/v1/analytics/profile-post': {
8250
+ '/api/v1/analytics/post': {
8236
8251
  get: {
8237
- req: AnalyticsGetProfilePostsData;
8252
+ req: AnalyticsGetPostAnalyticsData;
8238
8253
  res: {
8239
8254
  /**
8240
8255
  * 200
8241
8256
  */
8242
- 200: Array<{
8243
- id: string;
8244
- socialAccountId: string;
8245
- postId?: string | null;
8246
- externalId?: string | null;
8247
- title?: string | null;
8248
- description?: string | null;
8249
- smallThumbnail?: string | null;
8250
- thumbnail?: string | null;
8251
- permalink?: string | null;
8252
- subreddit?: string | null;
8253
- publishedAt?: string | null;
8254
- type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
8255
- init: boolean;
8256
- createdAt: string | null;
8257
- updatedAt: string | null;
8258
- deletedAt?: string | null;
8259
- analytics: Array<{
8260
- id: string;
8261
- profilePostId: string;
8262
- impressions: number;
8263
- impressionsUnique: number;
8264
- views: number;
8265
- viewsUnique: number;
8266
- likes: number;
8267
- dislikes: number;
8268
- comments: number;
8269
- shares: number;
8270
- saves: number;
8271
- raw?: unknown;
8272
- createdAt: string | null;
8273
- updatedAt: string | null;
8274
- deletedAt?: string | null;
8275
- }>;
8276
- socialAccount: {
8277
- id: string;
8278
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
8279
- teamId: string;
8280
- username?: string | null;
8281
- displayName?: string | null;
8282
- externalId?: string | null;
8283
- userUsername?: string | null;
8284
- userDisplayName?: string | null;
8285
- userId?: string | null;
8286
- channels?: Array<{
8287
- id: string;
8288
- name?: string | null;
8289
- username?: string | null;
8290
- webhook?: {
8291
- id?: string | null;
8292
- name?: string | null;
8293
- avatar?: string | null;
8294
- url?: string | null;
8295
- } | null;
8296
- }> | null;
8297
- createdAt: string | null;
8298
- updatedAt: string | null;
8299
- deletedAt?: string | null;
8300
- };
8301
- post?: {
8257
+ 200: {
8258
+ post: {
8302
8259
  id: string;
8303
8260
  teamId: string;
8304
8261
  organizationId?: string | null;
@@ -8589,26 +8546,43 @@ type $OpenApiTs = {
8589
8546
  createdAt: string | null;
8590
8547
  updatedAt: string | null;
8591
8548
  deletedAt?: string | null;
8592
- } | null;
8593
- }>;
8594
- /**
8595
- * 400
8596
- */
8597
- 400: {
8598
- message: string;
8599
- issues?: Array<{
8600
- message: string;
8601
- path?: Array<(string | number)> | null;
8602
- }> | null;
8603
- };
8604
- /**
8605
- * 401
8606
- */
8607
- 401: {
8608
- message: string;
8609
- };
8610
- /**
8611
- * 403
8549
+ };
8550
+ items: Array<{
8551
+ id: string;
8552
+ profilePostId: string;
8553
+ impressions: number;
8554
+ impressionsUnique: number;
8555
+ views: number;
8556
+ viewsUnique: number;
8557
+ likes: number;
8558
+ dislikes: number;
8559
+ comments: number;
8560
+ shares: number;
8561
+ saves: number;
8562
+ raw?: unknown;
8563
+ createdAt: string | null;
8564
+ updatedAt: string | null;
8565
+ deletedAt?: string | null;
8566
+ }>;
8567
+ };
8568
+ /**
8569
+ * 400
8570
+ */
8571
+ 400: {
8572
+ message: string;
8573
+ issues?: Array<{
8574
+ message: string;
8575
+ path?: Array<(string | number)> | null;
8576
+ }> | null;
8577
+ };
8578
+ /**
8579
+ * 401
8580
+ */
8581
+ 401: {
8582
+ message: string;
8583
+ };
8584
+ /**
8585
+ * 403
8612
8586
  */
8613
8587
  403: {
8614
8588
  message: string;
@@ -8634,47 +8608,14 @@ type $OpenApiTs = {
8634
8608
  };
8635
8609
  };
8636
8610
  };
8637
- '/api/v1/analytics/profile-post/{id}': {
8611
+ '/api/v1/analytics/social-account/raw': {
8638
8612
  get: {
8639
- req: AnalyticsGetProfilePostData;
8613
+ req: AnalyticsGetSocialAccountAnalyticsRawData;
8640
8614
  res: {
8641
8615
  /**
8642
8616
  * 200
8643
8617
  */
8644
8618
  200: {
8645
- id: string;
8646
- socialAccountId: string;
8647
- postId?: string | null;
8648
- externalId?: string | null;
8649
- title?: string | null;
8650
- description?: string | null;
8651
- smallThumbnail?: string | null;
8652
- thumbnail?: string | null;
8653
- permalink?: string | null;
8654
- subreddit?: string | null;
8655
- publishedAt?: string | null;
8656
- type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
8657
- init: boolean;
8658
- createdAt: string | null;
8659
- updatedAt: string | null;
8660
- deletedAt?: string | null;
8661
- analytics: Array<{
8662
- id: string;
8663
- profilePostId: string;
8664
- impressions: number;
8665
- impressionsUnique: number;
8666
- views: number;
8667
- viewsUnique: number;
8668
- likes: number;
8669
- dislikes: number;
8670
- comments: number;
8671
- shares: number;
8672
- saves: number;
8673
- raw?: unknown;
8674
- createdAt: string | null;
8675
- updatedAt: string | null;
8676
- deletedAt?: string | null;
8677
- }>;
8678
8619
  socialAccount: {
8679
8620
  id: string;
8680
8621
  type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
@@ -8700,7 +8641,68 @@ type $OpenApiTs = {
8700
8641
  updatedAt: string | null;
8701
8642
  deletedAt?: string | null;
8702
8643
  };
8703
- post?: {
8644
+ items: Array<{
8645
+ id: string;
8646
+ socialAccountId?: string | null;
8647
+ analyticsId?: string | null;
8648
+ raw?: unknown;
8649
+ createdAt: string | null;
8650
+ updatedAt: string | null;
8651
+ deletedAt?: string | null;
8652
+ }>;
8653
+ };
8654
+ /**
8655
+ * 400
8656
+ */
8657
+ 400: {
8658
+ message: string;
8659
+ issues?: Array<{
8660
+ message: string;
8661
+ path?: Array<(string | number)> | null;
8662
+ }> | null;
8663
+ };
8664
+ /**
8665
+ * 401
8666
+ */
8667
+ 401: {
8668
+ message: string;
8669
+ };
8670
+ /**
8671
+ * 403
8672
+ */
8673
+ 403: {
8674
+ message: string;
8675
+ };
8676
+ /**
8677
+ * 404
8678
+ */
8679
+ 404: {
8680
+ message: string;
8681
+ };
8682
+ /**
8683
+ * 429
8684
+ */
8685
+ 429: {
8686
+ message: string;
8687
+ };
8688
+ /**
8689
+ * 500
8690
+ */
8691
+ 500: {
8692
+ message: string;
8693
+ };
8694
+ };
8695
+ };
8696
+ };
8697
+ '/api/v1/analytics/post/raw': {
8698
+ get: {
8699
+ req: AnalyticsGetPostAnalyticsRawData;
8700
+ res: {
8701
+ /**
8702
+ * 200
8703
+ */
8704
+ 200: {
8705
+ post: {
8704
8706
  id: string;
8705
8707
  teamId: string;
8706
8708
  organizationId?: string | null;
@@ -8991,7 +8993,16 @@ type $OpenApiTs = {
8991
8993
  createdAt: string | null;
8992
8994
  updatedAt: string | null;
8993
8995
  deletedAt?: string | null;
8994
- } | null;
8996
+ };
8997
+ items: Array<{
8998
+ id: string;
8999
+ profilePostId?: string | null;
9000
+ analyticsId?: string | null;
9001
+ raw?: unknown;
9002
+ createdAt: string | null;
9003
+ updatedAt: string | null;
9004
+ deletedAt?: string | null;
9005
+ }>;
8995
9006
  };
8996
9007
  /**
8997
9008
  * 400
@@ -9036,364 +9047,566 @@ type $OpenApiTs = {
9036
9047
  };
9037
9048
  };
9038
9049
  };
9039
- '/api/v1/analytics/profile-post/post/{id}': {
9050
+ '/api/v1/analytics/profile': {
9040
9051
  get: {
9041
- req: AnalyticsGetProfilePostByPostIdData;
9042
9052
  res: {
9043
9053
  /**
9044
9054
  * 200
9045
9055
  */
9046
- 200: {
9047
- id: string;
9048
- socialAccountId: string;
9049
- postId?: string | null;
9050
- externalId?: string | null;
9051
- title?: string | null;
9052
- description?: string | null;
9053
- smallThumbnail?: string | null;
9054
- thumbnail?: string | null;
9055
- permalink?: string | null;
9056
- subreddit?: string | null;
9057
- publishedAt?: string | null;
9058
- type: 'POST' | 'REEL' | 'STORY' | 'VIDEO' | 'IMAGE';
9059
- init: boolean;
9060
- createdAt: string | null;
9061
- updatedAt: string | null;
9062
- deletedAt?: string | null;
9063
- analytics: Array<{
9064
- id: string;
9065
- profilePostId: string;
9066
- impressions: number;
9067
- impressionsUnique: number;
9068
- views: number;
9069
- viewsUnique: number;
9070
- likes: number;
9071
- dislikes: number;
9072
- comments: number;
9073
- shares: number;
9074
- saves: number;
9075
- raw?: unknown;
9076
- createdAt: string | null;
9077
- updatedAt: string | null;
9078
- deletedAt?: string | null;
9079
- }>;
9080
- socialAccount: {
9081
- id: string;
9082
- type: 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK';
9083
- teamId: string;
9084
- username?: string | null;
9085
- displayName?: string | null;
9086
- externalId?: string | null;
9087
- userUsername?: string | null;
9088
- userDisplayName?: string | null;
9089
- userId?: string | null;
9090
- channels?: Array<{
9091
- id: string;
9092
- name?: string | null;
9093
- username?: string | null;
9094
- webhook?: {
9095
- id?: string | null;
9096
- name?: string | null;
9097
- avatar?: string | null;
9098
- url?: string | null;
9099
- } | null;
9100
- }> | null;
9101
- createdAt: string | null;
9102
- updatedAt: string | null;
9103
- deletedAt?: string | null;
9104
- };
9105
- post?: {
9106
- id: string;
9107
- teamId: string;
9108
- organizationId?: string | null;
9109
- title: string;
9110
- postDate: string | null;
9111
- postedDate?: string | null;
9112
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING' | 'REVIEW';
9113
- data: {
9114
- TWITTER?: {
9115
- text?: string | null;
9116
- uploadIds?: Array<(string)> | null;
9117
- } | null;
9118
- PINTEREST?: {
9119
- text?: string | null;
9120
- description?: string | null;
9121
- boardName: string;
9122
- uploadIds?: Array<(string)> | null;
9123
- /**
9124
- * The URL to image uploaded on bundle.social.
9125
- */
9126
- thumbnail?: string | null;
9127
- /**
9128
- * The URL to which the Pin will link to.
9129
- */
9130
- link?: string | null;
9131
- /**
9132
- * The alt text for the image. This is used by screen readers and when the image can't be loaded.
9133
- */
9134
- altText?: string | null;
9135
- /**
9136
- * A note about the Pin. This is not visible to the public.
9137
- */
9138
- note?: string | null;
9139
- /**
9140
- * The dominant color of the image. This is used to display the image before it's loaded.
9141
- */
9142
- dominantColor?: string | null;
9143
- } | null;
9144
- FACEBOOK?: {
9145
- type?: 'POST' | 'REEL' | 'STORY';
9146
- text?: string | null;
9147
- uploadIds?: Array<(string)> | null;
9148
- /**
9149
- * The URL to which the post will link to. Only available for type POST.
9150
- */
9151
- link?: string | null;
9152
- /**
9153
- * The URL to image uploaded on bundle.social.
9154
- */
9155
- thumbnail?: string | null;
9156
- } | null;
9157
- INSTAGRAM?: {
9158
- type?: 'POST' | 'REEL' | 'STORY';
9159
- text?: string | null;
9160
- uploadIds?: Array<(string)> | null;
9161
- /**
9162
- * Choose a frame of the published video as the cover photo in ms
9163
- */
9164
- thumbnailOffset?: number | null;
9165
- /**
9166
- * The URL to image uploaded on bundle.social.
9167
- */
9168
- thumbnail?: string | null;
9169
- /**
9170
- * 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.
9171
- */
9172
- shareToFeed?: boolean | null;
9173
- collaborators?: Array<(string)> | null;
9174
- tagged?: Array<{
9175
- username: string;
9176
- x: number;
9177
- y: number;
9178
- }> | null;
9179
- } | null;
9180
- THREADS?: {
9181
- text?: string | null;
9182
- uploadIds?: Array<(string)> | null;
9183
- } | null;
9184
- TIKTOK?: {
9185
- type?: 'VIDEO' | 'IMAGE';
9186
- text?: string | null;
9187
- uploadIds?: Array<(string)> | null;
9188
- /**
9189
- * The URL to image uploaded on bundle.social.
9190
- */
9191
- thumbnail?: string | null;
9192
- privacy?: 'SELF_ONLY' | 'PUBLIC_TO_EVERYONE' | 'MUTUAL_FOLLOW_FRIENDS' | 'FOLLOWER_OF_CREATOR' | null;
9193
- /**
9194
- * Set to true if the video is a paid partnership to promote a third-party business.
9195
- */
9196
- isBrandContent?: boolean | null;
9197
- /**
9198
- * Set to true if this video is promoting the creator's own business.
9199
- */
9200
- isOrganicBrandContent?: boolean | null;
9201
- /**
9202
- * If set to true, other TikTok users will not be allowed to make comments on this post.
9203
- */
9204
- disableComments?: boolean | null;
9205
- /**
9206
- * If set to true, other TikTok users will not be allowed to make Stitches using this post.
9207
- */
9208
- disableDuet?: boolean | null;
9209
- /**
9210
- * If set to true, other TikTok users will not be allowed to make Duets using this post.
9211
- */
9212
- disableStitch?: boolean | null;
9213
- /**
9214
- * Choose a frame of the published video as the cover photo in ms
9215
- */
9216
- thumbnailOffset?: number | null;
9217
- /**
9218
- * Set to true if this video is AI generated.
9219
- */
9220
- isAiGenerated?: boolean | null;
9221
- } | null;
9222
- LINKEDIN?: {
9223
- text: string;
9224
- uploadIds?: Array<(string)> | null;
9225
- /**
9226
- * The URL to image uploaded on bundle.social.
9227
- */
9228
- thumbnail?: string | null;
9229
- privacy?: 'CONNECTIONS' | 'PUBLIC' | 'LOGGED_IN' | 'CONTAINER' | null;
9230
- /**
9231
- * Set to true if the post shouldn't be displayed in the main feed.
9232
- */
9233
- hideFromFeed?: boolean | null;
9234
- /**
9235
- * Set to true if the post is not allowed to be reshared.
9236
- */
9237
- disableReshare?: boolean | null;
9238
- } | null;
9239
- YOUTUBE?: {
9240
- type?: 'VIDEO' | 'SHORT';
9241
- uploadIds?: Array<(string)> | null;
9242
- text?: string | null;
9243
- description?: string | null;
9244
- /**
9245
- * The URL to image uploaded on bundle.social.
9246
- */
9247
- thumbnail?: string | null;
9248
- privacy?: 'PRIVATE' | 'PUBLIC' | 'UNLISTED' | null;
9249
- /**
9250
- * Set to true if the video is made for kids.
9251
- */
9252
- madeForKids?: boolean | null;
9253
- /**
9254
- * Set to true if video contains AI generated content
9255
- */
9256
- containsSyntheticMedia?: boolean | null;
9257
- /**
9258
- * Set to true if video has paid product placement
9259
- */
9260
- hasPaidProductPlacement?: boolean | null;
9261
- } | null;
9262
- REDDIT?: {
9263
- /**
9264
- * Subreddit name. Example: r/subredditName or u/username
9265
- */
9266
- sr: string;
9267
- text: string;
9268
- description?: string | null;
9269
- uploadIds?: Array<(string)> | null;
9270
- /**
9271
- * The URL to which the post will link to.
9272
- */
9273
- link?: string | null;
9274
- /**
9275
- * Set to true if the post is NSFW.
9276
- */
9277
- nsfw?: boolean | null;
9278
- } | null;
9279
- DISCORD?: {
9280
- channelId: string;
9281
- text?: string | null;
9282
- uploadIds?: Array<(string)> | null;
9283
- /**
9284
- * The username to display as the author of the message.
9285
- */
9286
- username?: string | null;
9287
- /**
9288
- * Avatar url to display as the author of the message.
9289
- */
9290
- avatarUrl?: string | null;
9291
- } | null;
9292
- SLACK?: {
9293
- channelId: string;
9294
- text?: string | null;
9295
- uploadIds?: Array<(string)> | null;
9296
- /**
9297
- * The username to display as the author of the message.
9298
- */
9299
- username?: string | null;
9300
- /**
9301
- * Avatar url to display as the author of the message.
9302
- */
9303
- avatarUrl?: string | null;
9304
- } | null;
9305
- MASTODON?: {
9306
- text?: string | null;
9307
- uploadIds?: Array<(string)> | null;
9308
- /**
9309
- * The URL to image uploaded on bundle.social.
9310
- */
9311
- thumbnail?: string | null;
9312
- privacy?: 'PUBLIC' | 'UNLISTED' | 'PRIVATE' | 'DIRECT' | null;
9313
- spoiler?: string | null;
9314
- } | null;
9315
- };
9316
- error?: string | null;
9317
- errors?: {
9318
- TWITTER?: string | null;
9319
- PINTEREST?: string | null;
9320
- FACEBOOK?: string | null;
9321
- INSTAGRAM?: string | null;
9322
- TIKTOK?: string | null;
9323
- LINKEDIN?: string | null;
9324
- REDDIT?: string | null;
9325
- DISCORD?: string | null;
9326
- SLACK?: string | null;
9327
- YOUTUBE?: string | null;
9328
- MASTODON?: string | null;
9329
- THREADS?: string | null;
9056
+ 200: string;
9057
+ /**
9058
+ * 400
9059
+ */
9060
+ 400: {
9061
+ message: string;
9062
+ issues?: Array<{
9063
+ message: string;
9064
+ path?: Array<(string | number)> | null;
9065
+ }> | null;
9066
+ };
9067
+ /**
9068
+ * 401
9069
+ */
9070
+ 401: {
9071
+ message: string;
9072
+ };
9073
+ /**
9074
+ * 403
9075
+ */
9076
+ 403: {
9077
+ message: string;
9078
+ };
9079
+ /**
9080
+ * 404
9081
+ */
9082
+ 404: {
9083
+ message: string;
9084
+ };
9085
+ /**
9086
+ * 429
9087
+ */
9088
+ 429: {
9089
+ message: string;
9090
+ };
9091
+ /**
9092
+ * 500
9093
+ */
9094
+ 500: {
9095
+ message: string;
9096
+ };
9097
+ };
9098
+ };
9099
+ };
9100
+ '/api/v1/analytics/profile-post': {
9101
+ get: {
9102
+ res: {
9103
+ /**
9104
+ * 200
9105
+ */
9106
+ 200: string;
9107
+ /**
9108
+ * 400
9109
+ */
9110
+ 400: {
9111
+ message: string;
9112
+ issues?: Array<{
9113
+ message: string;
9114
+ path?: Array<(string | number)> | null;
9115
+ }> | null;
9116
+ };
9117
+ /**
9118
+ * 401
9119
+ */
9120
+ 401: {
9121
+ message: string;
9122
+ };
9123
+ /**
9124
+ * 403
9125
+ */
9126
+ 403: {
9127
+ message: string;
9128
+ };
9129
+ /**
9130
+ * 404
9131
+ */
9132
+ 404: {
9133
+ message: string;
9134
+ };
9135
+ /**
9136
+ * 429
9137
+ */
9138
+ 429: {
9139
+ message: string;
9140
+ };
9141
+ /**
9142
+ * 500
9143
+ */
9144
+ 500: {
9145
+ message: string;
9146
+ };
9147
+ };
9148
+ };
9149
+ };
9150
+ '/api/v1/analytics/profile-post/{id}': {
9151
+ get: {
9152
+ req: AnalyticsGetProfilePostData;
9153
+ res: {
9154
+ /**
9155
+ * 200
9156
+ */
9157
+ 200: string;
9158
+ /**
9159
+ * 400
9160
+ */
9161
+ 400: {
9162
+ message: string;
9163
+ issues?: Array<{
9164
+ message: string;
9165
+ path?: Array<(string | number)> | null;
9166
+ }> | null;
9167
+ };
9168
+ /**
9169
+ * 401
9170
+ */
9171
+ 401: {
9172
+ message: string;
9173
+ };
9174
+ /**
9175
+ * 403
9176
+ */
9177
+ 403: {
9178
+ message: string;
9179
+ };
9180
+ /**
9181
+ * 404
9182
+ */
9183
+ 404: {
9184
+ message: string;
9185
+ };
9186
+ /**
9187
+ * 429
9188
+ */
9189
+ 429: {
9190
+ message: string;
9191
+ };
9192
+ /**
9193
+ * 500
9194
+ */
9195
+ 500: {
9196
+ message: string;
9197
+ };
9198
+ };
9199
+ };
9200
+ };
9201
+ '/api/v1/analytics/profile-post/post/{id}': {
9202
+ get: {
9203
+ req: AnalyticsGetProfilePostByPostIdData;
9204
+ res: {
9205
+ /**
9206
+ * 200
9207
+ */
9208
+ 200: string;
9209
+ /**
9210
+ * 400
9211
+ */
9212
+ 400: {
9213
+ message: string;
9214
+ issues?: Array<{
9215
+ message: string;
9216
+ path?: Array<(string | number)> | null;
9217
+ }> | null;
9218
+ };
9219
+ /**
9220
+ * 401
9221
+ */
9222
+ 401: {
9223
+ message: string;
9224
+ };
9225
+ /**
9226
+ * 403
9227
+ */
9228
+ 403: {
9229
+ message: string;
9230
+ };
9231
+ /**
9232
+ * 404
9233
+ */
9234
+ 404: {
9235
+ message: string;
9236
+ };
9237
+ /**
9238
+ * 429
9239
+ */
9240
+ 429: {
9241
+ message: string;
9242
+ };
9243
+ /**
9244
+ * 500
9245
+ */
9246
+ 500: {
9247
+ message: string;
9248
+ };
9249
+ };
9250
+ };
9251
+ };
9252
+ '/api/v1/analytics/raw-profile': {
9253
+ get: {
9254
+ res: {
9255
+ /**
9256
+ * 200
9257
+ */
9258
+ 200: string;
9259
+ /**
9260
+ * 400
9261
+ */
9262
+ 400: {
9263
+ message: string;
9264
+ issues?: Array<{
9265
+ message: string;
9266
+ path?: Array<(string | number)> | null;
9267
+ }> | null;
9268
+ };
9269
+ /**
9270
+ * 401
9271
+ */
9272
+ 401: {
9273
+ message: string;
9274
+ };
9275
+ /**
9276
+ * 403
9277
+ */
9278
+ 403: {
9279
+ message: string;
9280
+ };
9281
+ /**
9282
+ * 404
9283
+ */
9284
+ 404: {
9285
+ message: string;
9286
+ };
9287
+ /**
9288
+ * 429
9289
+ */
9290
+ 429: {
9291
+ message: string;
9292
+ };
9293
+ /**
9294
+ * 500
9295
+ */
9296
+ 500: {
9297
+ message: string;
9298
+ };
9299
+ };
9300
+ };
9301
+ };
9302
+ '/api/v1/analytics/raw-post': {
9303
+ get: {
9304
+ res: {
9305
+ /**
9306
+ * 200
9307
+ */
9308
+ 200: string;
9309
+ /**
9310
+ * 400
9311
+ */
9312
+ 400: {
9313
+ message: string;
9314
+ issues?: Array<{
9315
+ message: string;
9316
+ path?: Array<(string | number)> | null;
9317
+ }> | null;
9318
+ };
9319
+ /**
9320
+ * 401
9321
+ */
9322
+ 401: {
9323
+ message: string;
9324
+ };
9325
+ /**
9326
+ * 403
9327
+ */
9328
+ 403: {
9329
+ message: string;
9330
+ };
9331
+ /**
9332
+ * 404
9333
+ */
9334
+ 404: {
9335
+ message: string;
9336
+ };
9337
+ /**
9338
+ * 429
9339
+ */
9340
+ 429: {
9341
+ message: string;
9342
+ };
9343
+ /**
9344
+ * 500
9345
+ */
9346
+ 500: {
9347
+ message: string;
9348
+ };
9349
+ };
9350
+ };
9351
+ };
9352
+ '/api/v1/comment/{id}': {
9353
+ get: {
9354
+ req: CommentGetData;
9355
+ res: {
9356
+ /**
9357
+ * 200
9358
+ */
9359
+ 200: {
9360
+ id: string;
9361
+ teamId: string;
9362
+ organizationId?: string | null;
9363
+ internalPostId: string;
9364
+ internalParentCommentId?: string | null;
9365
+ title: string;
9366
+ postDate: string | null;
9367
+ postedDate?: string | null;
9368
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
9369
+ data: {
9370
+ FACEBOOK?: {
9371
+ text?: string | null;
9330
9372
  } | null;
9331
- externalData?: {
9332
- TWITTER?: {
9333
- id?: string | null;
9334
- permalink?: string | null;
9335
- } | null;
9336
- PINTEREST?: {
9337
- id?: string | null;
9338
- permalink?: string | null;
9339
- thumbnail?: string | null;
9340
- } | null;
9341
- FACEBOOK?: {
9342
- id?: string | null;
9343
- postId?: string | null;
9344
- videoId?: string | null;
9345
- permalink?: string | null;
9346
- thumbnail?: string;
9347
- } | null;
9348
- INSTAGRAM?: {
9349
- id?: string | null;
9350
- permalink?: string | null;
9351
- thumbnail?: string;
9352
- } | null;
9353
- TIKTOK?: {
9354
- id?: string | null;
9355
- permalink?: string | null;
9356
- } | null;
9357
- LINKEDIN?: {
9358
- id?: string | null;
9359
- activity?: string | null;
9360
- permalink?: string | null;
9361
- thumbnail?: string;
9362
- } | null;
9363
- REDDIT?: {
9364
- id?: string | null;
9365
- permalink?: string | null;
9366
- subreddit_name?: string | null;
9367
- } | null;
9368
- DISCORD?: {
9369
- id?: string | null;
9370
- permalink?: string | null;
9371
- channelId?: string | null;
9372
- } | null;
9373
- SLACK?: {
9374
- id?: string | null;
9375
- permalink?: string | null;
9376
- channelId?: string | null;
9377
- } | null;
9378
- YOUTUBE?: {
9379
- id?: string | null;
9380
- permalink?: string | null;
9381
- thumbnail?: string | null;
9382
- } | null;
9383
- MASTODON?: {
9384
- id?: string | null;
9385
- permalink?: string | null;
9386
- thumbnail?: string | null;
9387
- } | null;
9388
- THREADS?: {
9389
- id?: string | null;
9390
- permalink?: string | null;
9391
- } | null;
9373
+ INSTAGRAM?: {
9374
+ text?: string | null;
9375
+ } | null;
9376
+ THREADS?: {
9377
+ text?: string | null;
9378
+ } | null;
9379
+ TIKTOK?: {
9380
+ text?: string | null;
9381
+ } | null;
9382
+ LINKEDIN?: {
9383
+ text?: string | null;
9384
+ } | null;
9385
+ YOUTUBE?: {
9386
+ text?: string | null;
9387
+ } | null;
9388
+ REDDIT?: {
9389
+ text?: string | null;
9390
+ } | null;
9391
+ MASTODON?: {
9392
+ text?: string | null;
9393
+ } | null;
9394
+ DISCORD?: {
9395
+ text?: string | null;
9396
+ } | null;
9397
+ SLACK?: {
9398
+ text?: string | null;
9399
+ } | null;
9400
+ };
9401
+ error?: string | null;
9402
+ errors?: {
9403
+ FACEBOOK?: string | null;
9404
+ INSTAGRAM?: string | null;
9405
+ TIKTOK?: string | null;
9406
+ LINKEDIN?: string | null;
9407
+ REDDIT?: string | null;
9408
+ YOUTUBE?: string | null;
9409
+ MASTODON?: string | null;
9410
+ THREADS?: string | null;
9411
+ DISCORD?: string | null;
9412
+ SLACK?: string | null;
9413
+ } | null;
9414
+ externalData?: {
9415
+ FACEBOOK?: {
9416
+ id?: string | null;
9417
+ permalink?: string | null;
9418
+ } | null;
9419
+ INSTAGRAM?: {
9420
+ id?: string | null;
9421
+ permalink?: string | null;
9422
+ } | null;
9423
+ TIKTOK?: {
9424
+ id?: string | null;
9425
+ permalink?: string | null;
9426
+ } | null;
9427
+ LINKEDIN?: {
9428
+ id?: string | null;
9429
+ commentUrn?: string | null;
9430
+ permalink?: string | null;
9431
+ } | null;
9432
+ REDDIT?: {
9433
+ id?: string | null;
9434
+ permalink?: string | null;
9435
+ } | null;
9436
+ YOUTUBE?: {
9437
+ id?: string | null;
9438
+ permalink?: string | null;
9439
+ } | null;
9440
+ MASTODON?: {
9441
+ id?: string | null;
9442
+ permalink?: string | null;
9443
+ } | null;
9444
+ THREADS?: {
9445
+ id?: string | null;
9446
+ permalink?: string | null;
9447
+ } | null;
9448
+ DISCORD?: {
9449
+ id?: string | null;
9450
+ permalink?: string | null;
9451
+ } | null;
9452
+ SLACK?: {
9453
+ id?: string | null;
9454
+ permalink?: string | null;
9455
+ } | null;
9456
+ } | null;
9457
+ createdAt: string | null;
9458
+ updatedAt: string | null;
9459
+ deletedAt?: string | null;
9460
+ };
9461
+ /**
9462
+ * 400
9463
+ */
9464
+ 400: {
9465
+ message: string;
9466
+ issues?: Array<{
9467
+ message: string;
9468
+ path?: Array<(string | number)> | null;
9469
+ }> | null;
9470
+ };
9471
+ /**
9472
+ * 401
9473
+ */
9474
+ 401: {
9475
+ message: string;
9476
+ };
9477
+ /**
9478
+ * 403
9479
+ */
9480
+ 403: {
9481
+ message: string;
9482
+ };
9483
+ /**
9484
+ * 404
9485
+ */
9486
+ 404: {
9487
+ message: string;
9488
+ };
9489
+ /**
9490
+ * 429
9491
+ */
9492
+ 429: {
9493
+ message: string;
9494
+ };
9495
+ /**
9496
+ * 500
9497
+ */
9498
+ 500: {
9499
+ message: string;
9500
+ };
9501
+ };
9502
+ };
9503
+ patch: {
9504
+ req: CommentUpdateData;
9505
+ res: {
9506
+ /**
9507
+ * 200
9508
+ */
9509
+ 200: {
9510
+ id: string;
9511
+ teamId: string;
9512
+ organizationId?: string | null;
9513
+ internalPostId: string;
9514
+ internalParentCommentId?: string | null;
9515
+ title: string;
9516
+ postDate: string | null;
9517
+ postedDate?: string | null;
9518
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
9519
+ data: {
9520
+ FACEBOOK?: {
9521
+ text?: string | null;
9522
+ } | null;
9523
+ INSTAGRAM?: {
9524
+ text?: string | null;
9525
+ } | null;
9526
+ THREADS?: {
9527
+ text?: string | null;
9528
+ } | null;
9529
+ TIKTOK?: {
9530
+ text?: string | null;
9531
+ } | null;
9532
+ LINKEDIN?: {
9533
+ text?: string | null;
9534
+ } | null;
9535
+ YOUTUBE?: {
9536
+ text?: string | null;
9537
+ } | null;
9538
+ REDDIT?: {
9539
+ text?: string | null;
9540
+ } | null;
9541
+ MASTODON?: {
9542
+ text?: string | null;
9543
+ } | null;
9544
+ DISCORD?: {
9545
+ text?: string | null;
9546
+ } | null;
9547
+ SLACK?: {
9548
+ text?: string | null;
9549
+ } | null;
9550
+ };
9551
+ error?: string | null;
9552
+ errors?: {
9553
+ FACEBOOK?: string | null;
9554
+ INSTAGRAM?: string | null;
9555
+ TIKTOK?: string | null;
9556
+ LINKEDIN?: string | null;
9557
+ REDDIT?: string | null;
9558
+ YOUTUBE?: string | null;
9559
+ MASTODON?: string | null;
9560
+ THREADS?: string | null;
9561
+ DISCORD?: string | null;
9562
+ SLACK?: string | null;
9563
+ } | null;
9564
+ externalData?: {
9565
+ FACEBOOK?: {
9566
+ id?: string | null;
9567
+ permalink?: string | null;
9568
+ } | null;
9569
+ INSTAGRAM?: {
9570
+ id?: string | null;
9571
+ permalink?: string | null;
9572
+ } | null;
9573
+ TIKTOK?: {
9574
+ id?: string | null;
9575
+ permalink?: string | null;
9576
+ } | null;
9577
+ LINKEDIN?: {
9578
+ id?: string | null;
9579
+ commentUrn?: string | null;
9580
+ permalink?: string | null;
9581
+ } | null;
9582
+ REDDIT?: {
9583
+ id?: string | null;
9584
+ permalink?: string | null;
9585
+ } | null;
9586
+ YOUTUBE?: {
9587
+ id?: string | null;
9588
+ permalink?: string | null;
9589
+ } | null;
9590
+ MASTODON?: {
9591
+ id?: string | null;
9592
+ permalink?: string | null;
9593
+ } | null;
9594
+ THREADS?: {
9595
+ id?: string | null;
9596
+ permalink?: string | null;
9597
+ } | null;
9598
+ DISCORD?: {
9599
+ id?: string | null;
9600
+ permalink?: string | null;
9601
+ } | null;
9602
+ SLACK?: {
9603
+ id?: string | null;
9604
+ permalink?: string | null;
9392
9605
  } | null;
9393
- createdAt: string | null;
9394
- updatedAt: string | null;
9395
- deletedAt?: string | null;
9396
9606
  } | null;
9607
+ createdAt: string | null;
9608
+ updatedAt: string | null;
9609
+ deletedAt?: string | null;
9397
9610
  };
9398
9611
  /**
9399
9612
  * 400
@@ -9437,19 +9650,110 @@ type $OpenApiTs = {
9437
9650
  };
9438
9651
  };
9439
9652
  };
9440
- };
9441
- '/api/v1/analytics/raw-profile': {
9442
- get: {
9443
- req: AnalyticsGetRawProfileAnalyticsData;
9653
+ delete: {
9654
+ req: CommentDeleteData;
9444
9655
  res: {
9445
9656
  /**
9446
9657
  * 200
9447
9658
  */
9448
9659
  200: {
9449
9660
  id: string;
9450
- profilePostId?: string | null;
9451
- socialAccountId?: string | null;
9452
- raw?: unknown;
9661
+ teamId: string;
9662
+ organizationId?: string | null;
9663
+ internalPostId: string;
9664
+ internalParentCommentId?: string | null;
9665
+ title: string;
9666
+ postDate: string | null;
9667
+ postedDate?: string | null;
9668
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
9669
+ data: {
9670
+ FACEBOOK?: {
9671
+ text?: string | null;
9672
+ } | null;
9673
+ INSTAGRAM?: {
9674
+ text?: string | null;
9675
+ } | null;
9676
+ THREADS?: {
9677
+ text?: string | null;
9678
+ } | null;
9679
+ TIKTOK?: {
9680
+ text?: string | null;
9681
+ } | null;
9682
+ LINKEDIN?: {
9683
+ text?: string | null;
9684
+ } | null;
9685
+ YOUTUBE?: {
9686
+ text?: string | null;
9687
+ } | null;
9688
+ REDDIT?: {
9689
+ text?: string | null;
9690
+ } | null;
9691
+ MASTODON?: {
9692
+ text?: string | null;
9693
+ } | null;
9694
+ DISCORD?: {
9695
+ text?: string | null;
9696
+ } | null;
9697
+ SLACK?: {
9698
+ text?: string | null;
9699
+ } | null;
9700
+ };
9701
+ error?: string | null;
9702
+ errors?: {
9703
+ FACEBOOK?: string | null;
9704
+ INSTAGRAM?: string | null;
9705
+ TIKTOK?: string | null;
9706
+ LINKEDIN?: string | null;
9707
+ REDDIT?: string | null;
9708
+ YOUTUBE?: string | null;
9709
+ MASTODON?: string | null;
9710
+ THREADS?: string | null;
9711
+ DISCORD?: string | null;
9712
+ SLACK?: string | null;
9713
+ } | null;
9714
+ externalData?: {
9715
+ FACEBOOK?: {
9716
+ id?: string | null;
9717
+ permalink?: string | null;
9718
+ } | null;
9719
+ INSTAGRAM?: {
9720
+ id?: string | null;
9721
+ permalink?: string | null;
9722
+ } | null;
9723
+ TIKTOK?: {
9724
+ id?: string | null;
9725
+ permalink?: string | null;
9726
+ } | null;
9727
+ LINKEDIN?: {
9728
+ id?: string | null;
9729
+ commentUrn?: string | null;
9730
+ permalink?: string | null;
9731
+ } | null;
9732
+ REDDIT?: {
9733
+ id?: string | null;
9734
+ permalink?: string | null;
9735
+ } | null;
9736
+ YOUTUBE?: {
9737
+ id?: string | null;
9738
+ permalink?: string | null;
9739
+ } | null;
9740
+ MASTODON?: {
9741
+ id?: string | null;
9742
+ permalink?: string | null;
9743
+ } | null;
9744
+ THREADS?: {
9745
+ id?: string | null;
9746
+ permalink?: string | null;
9747
+ } | null;
9748
+ DISCORD?: {
9749
+ id?: string | null;
9750
+ permalink?: string | null;
9751
+ } | null;
9752
+ SLACK?: {
9753
+ id?: string | null;
9754
+ permalink?: string | null;
9755
+ } | null;
9756
+ } | null;
9453
9757
  createdAt: string | null;
9454
9758
  updatedAt: string | null;
9455
9759
  deletedAt?: string | null;
@@ -9497,21 +9801,117 @@ type $OpenApiTs = {
9497
9801
  };
9498
9802
  };
9499
9803
  };
9500
- '/api/v1/analytics/raw-post': {
9804
+ '/api/v1/comment/': {
9501
9805
  get: {
9502
- req: AnalyticsGetRawPostsAnalyticsData;
9806
+ req: CommentGetListData;
9503
9807
  res: {
9504
9808
  /**
9505
9809
  * 200
9506
9810
  */
9507
9811
  200: {
9508
- id: string;
9509
- profilePostId?: string | null;
9510
- socialAccountId?: string | null;
9511
- raw?: unknown;
9512
- createdAt: string | null;
9513
- updatedAt: string | null;
9514
- deletedAt?: string | null;
9812
+ items: Array<{
9813
+ id: string;
9814
+ teamId: string;
9815
+ organizationId?: string | null;
9816
+ internalPostId: string;
9817
+ internalParentCommentId?: string | null;
9818
+ title: string;
9819
+ postDate: string | null;
9820
+ postedDate?: string | null;
9821
+ status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
9822
+ data: {
9823
+ FACEBOOK?: {
9824
+ text?: string | null;
9825
+ } | null;
9826
+ INSTAGRAM?: {
9827
+ text?: string | null;
9828
+ } | null;
9829
+ THREADS?: {
9830
+ text?: string | null;
9831
+ } | null;
9832
+ TIKTOK?: {
9833
+ text?: string | null;
9834
+ } | null;
9835
+ LINKEDIN?: {
9836
+ text?: string | null;
9837
+ } | null;
9838
+ YOUTUBE?: {
9839
+ text?: string | null;
9840
+ } | null;
9841
+ REDDIT?: {
9842
+ text?: string | null;
9843
+ } | null;
9844
+ MASTODON?: {
9845
+ text?: string | null;
9846
+ } | null;
9847
+ DISCORD?: {
9848
+ text?: string | null;
9849
+ } | null;
9850
+ SLACK?: {
9851
+ text?: string | null;
9852
+ } | null;
9853
+ };
9854
+ error?: string | null;
9855
+ errors?: {
9856
+ FACEBOOK?: string | null;
9857
+ INSTAGRAM?: string | null;
9858
+ TIKTOK?: string | null;
9859
+ LINKEDIN?: string | null;
9860
+ REDDIT?: string | null;
9861
+ YOUTUBE?: string | null;
9862
+ MASTODON?: string | null;
9863
+ THREADS?: string | null;
9864
+ DISCORD?: string | null;
9865
+ SLACK?: string | null;
9866
+ } | null;
9867
+ externalData?: {
9868
+ FACEBOOK?: {
9869
+ id?: string | null;
9870
+ permalink?: string | null;
9871
+ } | null;
9872
+ INSTAGRAM?: {
9873
+ id?: string | null;
9874
+ permalink?: string | null;
9875
+ } | null;
9876
+ TIKTOK?: {
9877
+ id?: string | null;
9878
+ permalink?: string | null;
9879
+ } | null;
9880
+ LINKEDIN?: {
9881
+ id?: string | null;
9882
+ commentUrn?: string | null;
9883
+ permalink?: string | null;
9884
+ } | null;
9885
+ REDDIT?: {
9886
+ id?: string | null;
9887
+ permalink?: string | null;
9888
+ } | null;
9889
+ YOUTUBE?: {
9890
+ id?: string | null;
9891
+ permalink?: string | null;
9892
+ } | null;
9893
+ MASTODON?: {
9894
+ id?: string | null;
9895
+ permalink?: string | null;
9896
+ } | null;
9897
+ THREADS?: {
9898
+ id?: string | null;
9899
+ permalink?: string | null;
9900
+ } | null;
9901
+ DISCORD?: {
9902
+ id?: string | null;
9903
+ permalink?: string | null;
9904
+ } | null;
9905
+ SLACK?: {
9906
+ id?: string | null;
9907
+ permalink?: string | null;
9908
+ } | null;
9909
+ } | null;
9910
+ createdAt: string | null;
9911
+ updatedAt: string | null;
9912
+ deletedAt?: string | null;
9913
+ }>;
9914
+ total: number;
9515
9915
  };
9516
9916
  /**
9517
9917
  * 400
@@ -9555,10 +9955,8 @@ type $OpenApiTs = {
9555
9955
  };
9556
9956
  };
9557
9957
  };
9558
- };
9559
- '/api/v1/comment/{id}': {
9560
- get: {
9561
- req: CommentGetData;
9958
+ post: {
9959
+ req: CommentCreateData;
9562
9960
  res: {
9563
9961
  /**
9564
9962
  * 200
@@ -9707,113 +10105,345 @@ type $OpenApiTs = {
9707
10105
  };
9708
10106
  };
9709
10107
  };
9710
- patch: {
9711
- req: CommentUpdateData;
10108
+ };
10109
+ '/api/v1/misc/youtube/thumbnail': {
10110
+ post: {
10111
+ req: MiscSetThumbnailData;
9712
10112
  res: {
9713
10113
  /**
9714
10114
  * 200
9715
10115
  */
9716
10116
  200: {
9717
- id: string;
9718
- teamId: string;
9719
- organizationId?: string | null;
9720
- internalPostId: string;
9721
- internalParentCommentId?: string | null;
9722
- title: string;
9723
- postDate: string | null;
9724
- postedDate?: string | null;
9725
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
9726
- data: {
9727
- FACEBOOK?: {
9728
- text?: string | null;
9729
- } | null;
9730
- INSTAGRAM?: {
9731
- text?: string | null;
9732
- } | null;
9733
- THREADS?: {
9734
- text?: string | null;
9735
- } | null;
9736
- TIKTOK?: {
9737
- text?: string | null;
9738
- } | null;
9739
- LINKEDIN?: {
9740
- text?: string | null;
9741
- } | null;
9742
- YOUTUBE?: {
9743
- text?: string | null;
9744
- } | null;
9745
- REDDIT?: {
9746
- text?: string | null;
9747
- } | null;
9748
- MASTODON?: {
9749
- text?: string | null;
9750
- } | null;
9751
- DISCORD?: {
9752
- text?: string | null;
9753
- } | null;
9754
- SLACK?: {
9755
- text?: string | null;
9756
- } | null;
10117
+ items?: Array<{
10118
+ default?: {
10119
+ url: string;
10120
+ width?: number;
10121
+ height?: number;
10122
+ };
10123
+ medium?: {
10124
+ url: string;
10125
+ width?: number;
10126
+ height?: number;
10127
+ };
10128
+ high?: {
10129
+ url: string;
10130
+ width?: number;
10131
+ height?: number;
10132
+ };
10133
+ standard?: {
10134
+ url: string;
10135
+ width?: number;
10136
+ height?: number;
10137
+ };
10138
+ maxres?: {
10139
+ url: string;
10140
+ width?: number;
10141
+ height?: number;
10142
+ };
10143
+ }>;
10144
+ };
10145
+ /**
10146
+ * 400
10147
+ */
10148
+ 400: {
10149
+ message: string;
10150
+ issues?: Array<{
10151
+ message: string;
10152
+ path?: Array<(string | number)> | null;
10153
+ }> | null;
10154
+ };
10155
+ /**
10156
+ * 401
10157
+ */
10158
+ 401: {
10159
+ message: string;
10160
+ };
10161
+ /**
10162
+ * 403
10163
+ */
10164
+ 403: {
10165
+ message: string;
10166
+ };
10167
+ /**
10168
+ * 404
10169
+ */
10170
+ 404: {
10171
+ message: string;
10172
+ };
10173
+ /**
10174
+ * 429
10175
+ */
10176
+ 429: {
10177
+ message: string;
10178
+ };
10179
+ /**
10180
+ * 500
10181
+ */
10182
+ 500: {
10183
+ message: string;
10184
+ };
10185
+ };
10186
+ };
10187
+ };
10188
+ '/api/v1/misc/youtube/playlist': {
10189
+ get: {
10190
+ req: MiscGetChannelPlaylistData;
10191
+ res: {
10192
+ /**
10193
+ * 200
10194
+ */
10195
+ 200: {
10196
+ kind?: string;
10197
+ etag?: string;
10198
+ nextPageToken?: string;
10199
+ prevPageToken?: string;
10200
+ pageInfo?: {
10201
+ totalResults?: number;
10202
+ resultsPerPage?: number;
10203
+ };
10204
+ items?: Array<{
10205
+ kind?: string;
10206
+ etag?: string;
10207
+ id?: string;
10208
+ snippet?: {
10209
+ publishedAt?: string;
10210
+ channelId?: string;
10211
+ title?: string;
10212
+ description?: string;
10213
+ channelTitle?: string;
10214
+ thumbnails?: {
10215
+ default?: {
10216
+ url?: string;
10217
+ width?: number;
10218
+ height?: number;
10219
+ };
10220
+ medium?: {
10221
+ url?: string;
10222
+ width?: number;
10223
+ height?: number;
10224
+ };
10225
+ high?: {
10226
+ url?: string;
10227
+ width?: number;
10228
+ height?: number;
10229
+ };
10230
+ standard?: {
10231
+ url?: string;
10232
+ width?: number;
10233
+ height?: number;
10234
+ };
10235
+ maxres?: {
10236
+ url?: string;
10237
+ width?: number;
10238
+ height?: number;
10239
+ };
10240
+ };
10241
+ localized?: {
10242
+ title?: string;
10243
+ description?: string;
10244
+ };
10245
+ };
10246
+ status?: {
10247
+ privacyStatus?: string;
10248
+ };
10249
+ contentDetails?: {
10250
+ itemCount?: number;
10251
+ };
10252
+ }>;
10253
+ };
10254
+ /**
10255
+ * 400
10256
+ */
10257
+ 400: {
10258
+ message: string;
10259
+ issues?: Array<{
10260
+ message: string;
10261
+ path?: Array<(string | number)> | null;
10262
+ }> | null;
10263
+ };
10264
+ /**
10265
+ * 401
10266
+ */
10267
+ 401: {
10268
+ message: string;
10269
+ };
10270
+ /**
10271
+ * 403
10272
+ */
10273
+ 403: {
10274
+ message: string;
10275
+ };
10276
+ /**
10277
+ * 404
10278
+ */
10279
+ 404: {
10280
+ message: string;
10281
+ };
10282
+ /**
10283
+ * 429
10284
+ */
10285
+ 429: {
10286
+ message: string;
10287
+ };
10288
+ /**
10289
+ * 500
10290
+ */
10291
+ 500: {
10292
+ message: string;
10293
+ };
10294
+ };
10295
+ };
10296
+ post: {
10297
+ req: MiscCreateNewChannelPlaylistData;
10298
+ res: {
10299
+ /**
10300
+ * 200
10301
+ */
10302
+ 200: {
10303
+ kind?: string;
10304
+ etag?: string;
10305
+ id?: string;
10306
+ snippet?: {
10307
+ publishedAt?: string;
10308
+ channelId?: string;
10309
+ title?: string;
10310
+ description?: string;
10311
+ channelTitle?: string;
10312
+ thumbnails?: {
10313
+ default?: {
10314
+ url?: string;
10315
+ width?: number;
10316
+ height?: number;
10317
+ };
10318
+ medium?: {
10319
+ url?: string;
10320
+ width?: number;
10321
+ height?: number;
10322
+ };
10323
+ high?: {
10324
+ url?: string;
10325
+ width?: number;
10326
+ height?: number;
10327
+ };
10328
+ standard?: {
10329
+ url?: string;
10330
+ width?: number;
10331
+ height?: number;
10332
+ };
10333
+ maxres?: {
10334
+ url?: string;
10335
+ width?: number;
10336
+ height?: number;
10337
+ };
10338
+ };
10339
+ localized?: {
10340
+ title?: string;
10341
+ description?: string;
10342
+ };
10343
+ };
10344
+ status?: {
10345
+ privacyStatus?: string;
10346
+ };
10347
+ contentDetails?: {
10348
+ itemCount?: number;
10349
+ };
10350
+ };
10351
+ /**
10352
+ * 400
10353
+ */
10354
+ 400: {
10355
+ message: string;
10356
+ issues?: Array<{
10357
+ message: string;
10358
+ path?: Array<(string | number)> | null;
10359
+ }> | null;
10360
+ };
10361
+ /**
10362
+ * 401
10363
+ */
10364
+ 401: {
10365
+ message: string;
10366
+ };
10367
+ /**
10368
+ * 403
10369
+ */
10370
+ 403: {
10371
+ message: string;
10372
+ };
10373
+ /**
10374
+ * 404
10375
+ */
10376
+ 404: {
10377
+ message: string;
10378
+ };
10379
+ /**
10380
+ * 429
10381
+ */
10382
+ 429: {
10383
+ message: string;
10384
+ };
10385
+ /**
10386
+ * 500
10387
+ */
10388
+ 500: {
10389
+ message: string;
10390
+ };
10391
+ };
10392
+ };
10393
+ put: {
10394
+ req: MiscUpdateChannelPlaylistData;
10395
+ res: {
10396
+ /**
10397
+ * 200
10398
+ */
10399
+ 200: {
10400
+ kind?: string;
10401
+ etag?: string;
10402
+ id?: string;
10403
+ snippet?: {
10404
+ publishedAt?: string;
10405
+ channelId?: string;
10406
+ title?: string;
10407
+ description?: string;
10408
+ channelTitle?: string;
10409
+ thumbnails?: {
10410
+ default?: {
10411
+ url?: string;
10412
+ width?: number;
10413
+ height?: number;
10414
+ };
10415
+ medium?: {
10416
+ url?: string;
10417
+ width?: number;
10418
+ height?: number;
10419
+ };
10420
+ high?: {
10421
+ url?: string;
10422
+ width?: number;
10423
+ height?: number;
10424
+ };
10425
+ standard?: {
10426
+ url?: string;
10427
+ width?: number;
10428
+ height?: number;
10429
+ };
10430
+ maxres?: {
10431
+ url?: string;
10432
+ width?: number;
10433
+ height?: number;
10434
+ };
10435
+ };
10436
+ localized?: {
10437
+ title?: string;
10438
+ description?: string;
10439
+ };
10440
+ };
10441
+ status?: {
10442
+ privacyStatus?: string;
10443
+ };
10444
+ contentDetails?: {
10445
+ itemCount?: number;
9757
10446
  };
9758
- error?: string | null;
9759
- errors?: {
9760
- FACEBOOK?: string | null;
9761
- INSTAGRAM?: string | null;
9762
- TIKTOK?: string | null;
9763
- LINKEDIN?: string | null;
9764
- REDDIT?: string | null;
9765
- YOUTUBE?: string | null;
9766
- MASTODON?: string | null;
9767
- THREADS?: string | null;
9768
- DISCORD?: string | null;
9769
- SLACK?: string | null;
9770
- } | null;
9771
- externalData?: {
9772
- FACEBOOK?: {
9773
- id?: string | null;
9774
- permalink?: string | null;
9775
- } | null;
9776
- INSTAGRAM?: {
9777
- id?: string | null;
9778
- permalink?: string | null;
9779
- } | null;
9780
- TIKTOK?: {
9781
- id?: string | null;
9782
- permalink?: string | null;
9783
- } | null;
9784
- LINKEDIN?: {
9785
- id?: string | null;
9786
- commentUrn?: string | null;
9787
- permalink?: string | null;
9788
- } | null;
9789
- REDDIT?: {
9790
- id?: string | null;
9791
- permalink?: string | null;
9792
- } | null;
9793
- YOUTUBE?: {
9794
- id?: string | null;
9795
- permalink?: string | null;
9796
- } | null;
9797
- MASTODON?: {
9798
- id?: string | null;
9799
- permalink?: string | null;
9800
- } | null;
9801
- THREADS?: {
9802
- id?: string | null;
9803
- permalink?: string | null;
9804
- } | null;
9805
- DISCORD?: {
9806
- id?: string | null;
9807
- permalink?: string | null;
9808
- } | null;
9809
- SLACK?: {
9810
- id?: string | null;
9811
- permalink?: string | null;
9812
- } | null;
9813
- } | null;
9814
- createdAt: string | null;
9815
- updatedAt: string | null;
9816
- deletedAt?: string | null;
9817
10447
  };
9818
10448
  /**
9819
10449
  * 400
@@ -9857,114 +10487,15 @@ type $OpenApiTs = {
9857
10487
  };
9858
10488
  };
9859
10489
  };
10490
+ };
10491
+ '/api/v1/misc/youtube/playlist/{playlistId}': {
9860
10492
  delete: {
9861
- req: CommentDeleteData;
10493
+ req: MiscDeleteChannelPlaylistData;
9862
10494
  res: {
9863
10495
  /**
9864
10496
  * 200
9865
10497
  */
9866
- 200: {
9867
- id: string;
9868
- teamId: string;
9869
- organizationId?: string | null;
9870
- internalPostId: string;
9871
- internalParentCommentId?: string | null;
9872
- title: string;
9873
- postDate: string | null;
9874
- postedDate?: string | null;
9875
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
9876
- data: {
9877
- FACEBOOK?: {
9878
- text?: string | null;
9879
- } | null;
9880
- INSTAGRAM?: {
9881
- text?: string | null;
9882
- } | null;
9883
- THREADS?: {
9884
- text?: string | null;
9885
- } | null;
9886
- TIKTOK?: {
9887
- text?: string | null;
9888
- } | null;
9889
- LINKEDIN?: {
9890
- text?: string | null;
9891
- } | null;
9892
- YOUTUBE?: {
9893
- text?: string | null;
9894
- } | null;
9895
- REDDIT?: {
9896
- text?: string | null;
9897
- } | null;
9898
- MASTODON?: {
9899
- text?: string | null;
9900
- } | null;
9901
- DISCORD?: {
9902
- text?: string | null;
9903
- } | null;
9904
- SLACK?: {
9905
- text?: string | null;
9906
- } | null;
9907
- };
9908
- error?: string | null;
9909
- errors?: {
9910
- FACEBOOK?: string | null;
9911
- INSTAGRAM?: string | null;
9912
- TIKTOK?: string | null;
9913
- LINKEDIN?: string | null;
9914
- REDDIT?: string | null;
9915
- YOUTUBE?: string | null;
9916
- MASTODON?: string | null;
9917
- THREADS?: string | null;
9918
- DISCORD?: string | null;
9919
- SLACK?: string | null;
9920
- } | null;
9921
- externalData?: {
9922
- FACEBOOK?: {
9923
- id?: string | null;
9924
- permalink?: string | null;
9925
- } | null;
9926
- INSTAGRAM?: {
9927
- id?: string | null;
9928
- permalink?: string | null;
9929
- } | null;
9930
- TIKTOK?: {
9931
- id?: string | null;
9932
- permalink?: string | null;
9933
- } | null;
9934
- LINKEDIN?: {
9935
- id?: string | null;
9936
- commentUrn?: string | null;
9937
- permalink?: string | null;
9938
- } | null;
9939
- REDDIT?: {
9940
- id?: string | null;
9941
- permalink?: string | null;
9942
- } | null;
9943
- YOUTUBE?: {
9944
- id?: string | null;
9945
- permalink?: string | null;
9946
- } | null;
9947
- MASTODON?: {
9948
- id?: string | null;
9949
- permalink?: string | null;
9950
- } | null;
9951
- THREADS?: {
9952
- id?: string | null;
9953
- permalink?: string | null;
9954
- } | null;
9955
- DISCORD?: {
9956
- id?: string | null;
9957
- permalink?: string | null;
9958
- } | null;
9959
- SLACK?: {
9960
- id?: string | null;
9961
- permalink?: string | null;
9962
- } | null;
9963
- } | null;
9964
- createdAt: string | null;
9965
- updatedAt: string | null;
9966
- deletedAt?: string | null;
9967
- };
10498
+ 200: boolean;
9968
10499
  /**
9969
10500
  * 400
9970
10501
  */
@@ -10006,119 +10537,65 @@ type $OpenApiTs = {
10006
10537
  message: string;
10007
10538
  };
10008
10539
  };
10009
- };
10010
- };
10011
- '/api/v1/comment/': {
10012
- get: {
10013
- req: CommentGetListData;
10014
- res: {
10015
- /**
10016
- * 200
10017
- */
10018
- 200: {
10019
- items: Array<{
10020
- id: string;
10021
- teamId: string;
10022
- organizationId?: string | null;
10023
- internalPostId: string;
10024
- internalParentCommentId?: string | null;
10025
- title: string;
10026
- postDate: string | null;
10027
- postedDate?: string | null;
10028
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
10029
- data: {
10030
- FACEBOOK?: {
10031
- text?: string | null;
10032
- } | null;
10033
- INSTAGRAM?: {
10034
- text?: string | null;
10035
- } | null;
10036
- THREADS?: {
10037
- text?: string | null;
10038
- } | null;
10039
- TIKTOK?: {
10040
- text?: string | null;
10041
- } | null;
10042
- LINKEDIN?: {
10043
- text?: string | null;
10044
- } | null;
10045
- YOUTUBE?: {
10046
- text?: string | null;
10047
- } | null;
10048
- REDDIT?: {
10049
- text?: string | null;
10050
- } | null;
10051
- MASTODON?: {
10052
- text?: string | null;
10053
- } | null;
10054
- DISCORD?: {
10055
- text?: string | null;
10056
- } | null;
10057
- SLACK?: {
10058
- text?: string | null;
10059
- } | null;
10060
- };
10061
- error?: string | null;
10062
- errors?: {
10063
- FACEBOOK?: string | null;
10064
- INSTAGRAM?: string | null;
10065
- TIKTOK?: string | null;
10066
- LINKEDIN?: string | null;
10067
- REDDIT?: string | null;
10068
- YOUTUBE?: string | null;
10069
- MASTODON?: string | null;
10070
- THREADS?: string | null;
10071
- DISCORD?: string | null;
10072
- SLACK?: string | null;
10073
- } | null;
10074
- externalData?: {
10075
- FACEBOOK?: {
10076
- id?: string | null;
10077
- permalink?: string | null;
10078
- } | null;
10079
- INSTAGRAM?: {
10080
- id?: string | null;
10081
- permalink?: string | null;
10082
- } | null;
10083
- TIKTOK?: {
10084
- id?: string | null;
10085
- permalink?: string | null;
10086
- } | null;
10087
- LINKEDIN?: {
10088
- id?: string | null;
10089
- commentUrn?: string | null;
10090
- permalink?: string | null;
10091
- } | null;
10092
- REDDIT?: {
10093
- id?: string | null;
10094
- permalink?: string | null;
10095
- } | null;
10096
- YOUTUBE?: {
10097
- id?: string | null;
10098
- permalink?: string | null;
10099
- } | null;
10100
- MASTODON?: {
10101
- id?: string | null;
10102
- permalink?: string | null;
10103
- } | null;
10104
- THREADS?: {
10105
- id?: string | null;
10106
- permalink?: string | null;
10107
- } | null;
10108
- DISCORD?: {
10109
- id?: string | null;
10110
- permalink?: string | null;
10111
- } | null;
10112
- SLACK?: {
10113
- id?: string | null;
10114
- permalink?: string | null;
10115
- } | null;
10116
- } | null;
10117
- createdAt: string | null;
10118
- updatedAt: string | null;
10119
- deletedAt?: string | null;
10120
- }>;
10121
- total: number;
10540
+ };
10541
+ };
10542
+ '/api/v1/misc/youtube/playlist-items': {
10543
+ post: {
10544
+ req: MiscAddVideoToPlaylistData;
10545
+ res: {
10546
+ /**
10547
+ * 200
10548
+ */
10549
+ 200: {
10550
+ kind?: string;
10551
+ etag?: string;
10552
+ id?: string;
10553
+ snippet?: {
10554
+ publishedAt?: string;
10555
+ channelId?: string;
10556
+ title?: string;
10557
+ description?: string;
10558
+ channelTitle?: string;
10559
+ thumbnails?: {
10560
+ default?: {
10561
+ url?: string;
10562
+ width?: number;
10563
+ height?: number;
10564
+ };
10565
+ medium?: {
10566
+ url?: string;
10567
+ width?: number;
10568
+ height?: number;
10569
+ };
10570
+ high?: {
10571
+ url?: string;
10572
+ width?: number;
10573
+ height?: number;
10574
+ };
10575
+ standard?: {
10576
+ url?: string;
10577
+ width?: number;
10578
+ height?: number;
10579
+ };
10580
+ maxres?: {
10581
+ url?: string;
10582
+ width?: number;
10583
+ height?: number;
10584
+ };
10585
+ };
10586
+ playlistId?: string;
10587
+ position?: number;
10588
+ resourceId?: {
10589
+ kind?: string;
10590
+ videoId?: string;
10591
+ playlistId?: string;
10592
+ channelId?: string;
10593
+ };
10594
+ };
10595
+ contentDetails?: {
10596
+ videoId?: string;
10597
+ videoPublishedAt?: string;
10598
+ };
10122
10599
  };
10123
10600
  /**
10124
10601
  * 400
@@ -10162,114 +10639,124 @@ type $OpenApiTs = {
10162
10639
  };
10163
10640
  };
10164
10641
  };
10165
- post: {
10166
- req: CommentCreateData;
10642
+ get: {
10643
+ req: MiscGetVideosFromPlaylistData;
10167
10644
  res: {
10168
10645
  /**
10169
10646
  * 200
10170
10647
  */
10171
10648
  200: {
10172
- id: string;
10173
- teamId: string;
10174
- organizationId?: string | null;
10175
- internalPostId: string;
10176
- internalParentCommentId?: string | null;
10177
- title: string;
10178
- postDate: string | null;
10179
- postedDate?: string | null;
10180
- status: 'DRAFT' | 'SCHEDULED' | 'POSTED' | 'ERROR' | 'DELETED' | 'PROCESSING';
10181
- data: {
10182
- FACEBOOK?: {
10183
- text?: string | null;
10184
- } | null;
10185
- INSTAGRAM?: {
10186
- text?: string | null;
10187
- } | null;
10188
- THREADS?: {
10189
- text?: string | null;
10190
- } | null;
10191
- TIKTOK?: {
10192
- text?: string | null;
10193
- } | null;
10194
- LINKEDIN?: {
10195
- text?: string | null;
10196
- } | null;
10197
- YOUTUBE?: {
10198
- text?: string | null;
10199
- } | null;
10200
- REDDIT?: {
10201
- text?: string | null;
10202
- } | null;
10203
- MASTODON?: {
10204
- text?: string | null;
10205
- } | null;
10206
- DISCORD?: {
10207
- text?: string | null;
10208
- } | null;
10209
- SLACK?: {
10210
- text?: string | null;
10211
- } | null;
10649
+ kind?: string;
10650
+ etag?: string;
10651
+ nextPageToken?: string;
10652
+ prevPageToken?: string;
10653
+ pageInfo?: {
10654
+ totalResults?: number;
10655
+ resultsPerPage?: number;
10212
10656
  };
10213
- error?: string | null;
10214
- errors?: {
10215
- FACEBOOK?: string | null;
10216
- INSTAGRAM?: string | null;
10217
- TIKTOK?: string | null;
10218
- LINKEDIN?: string | null;
10219
- REDDIT?: string | null;
10220
- YOUTUBE?: string | null;
10221
- MASTODON?: string | null;
10222
- THREADS?: string | null;
10223
- DISCORD?: string | null;
10224
- SLACK?: string | null;
10225
- } | null;
10226
- externalData?: {
10227
- FACEBOOK?: {
10228
- id?: string | null;
10229
- permalink?: string | null;
10230
- } | null;
10231
- INSTAGRAM?: {
10232
- id?: string | null;
10233
- permalink?: string | null;
10234
- } | null;
10235
- TIKTOK?: {
10236
- id?: string | null;
10237
- permalink?: string | null;
10238
- } | null;
10239
- LINKEDIN?: {
10240
- id?: string | null;
10241
- commentUrn?: string | null;
10242
- permalink?: string | null;
10243
- } | null;
10244
- REDDIT?: {
10245
- id?: string | null;
10246
- permalink?: string | null;
10247
- } | null;
10248
- YOUTUBE?: {
10249
- id?: string | null;
10250
- permalink?: string | null;
10251
- } | null;
10252
- MASTODON?: {
10253
- id?: string | null;
10254
- permalink?: string | null;
10255
- } | null;
10256
- THREADS?: {
10257
- id?: string | null;
10258
- permalink?: string | null;
10259
- } | null;
10260
- DISCORD?: {
10261
- id?: string | null;
10262
- permalink?: string | null;
10263
- } | null;
10264
- SLACK?: {
10265
- id?: string | null;
10266
- permalink?: string | null;
10267
- } | null;
10268
- } | null;
10269
- createdAt: string | null;
10270
- updatedAt: string | null;
10271
- deletedAt?: string | null;
10657
+ items?: Array<{
10658
+ kind?: string;
10659
+ etag?: string;
10660
+ id?: string;
10661
+ snippet?: {
10662
+ publishedAt?: string;
10663
+ channelId?: string;
10664
+ title?: string;
10665
+ description?: string;
10666
+ channelTitle?: string;
10667
+ thumbnails?: {
10668
+ default?: {
10669
+ url?: string;
10670
+ width?: number;
10671
+ height?: number;
10672
+ };
10673
+ medium?: {
10674
+ url?: string;
10675
+ width?: number;
10676
+ height?: number;
10677
+ };
10678
+ high?: {
10679
+ url?: string;
10680
+ width?: number;
10681
+ height?: number;
10682
+ };
10683
+ standard?: {
10684
+ url?: string;
10685
+ width?: number;
10686
+ height?: number;
10687
+ };
10688
+ maxres?: {
10689
+ url?: string;
10690
+ width?: number;
10691
+ height?: number;
10692
+ };
10693
+ };
10694
+ playlistId?: string;
10695
+ position?: number;
10696
+ resourceId?: {
10697
+ kind?: string;
10698
+ videoId?: string;
10699
+ playlistId?: string;
10700
+ channelId?: string;
10701
+ };
10702
+ };
10703
+ contentDetails?: {
10704
+ videoId?: string;
10705
+ videoPublishedAt?: string;
10706
+ };
10707
+ }>;
10708
+ };
10709
+ /**
10710
+ * 400
10711
+ */
10712
+ 400: {
10713
+ message: string;
10714
+ issues?: Array<{
10715
+ message: string;
10716
+ path?: Array<(string | number)> | null;
10717
+ }> | null;
10718
+ };
10719
+ /**
10720
+ * 401
10721
+ */
10722
+ 401: {
10723
+ message: string;
10724
+ };
10725
+ /**
10726
+ * 403
10727
+ */
10728
+ 403: {
10729
+ message: string;
10730
+ };
10731
+ /**
10732
+ * 404
10733
+ */
10734
+ 404: {
10735
+ message: string;
10736
+ };
10737
+ /**
10738
+ * 429
10739
+ */
10740
+ 429: {
10741
+ message: string;
10742
+ };
10743
+ /**
10744
+ * 500
10745
+ */
10746
+ 500: {
10747
+ message: string;
10272
10748
  };
10749
+ };
10750
+ };
10751
+ };
10752
+ '/api/v1/misc/youtube/playlist-items/{playlistItemId}': {
10753
+ delete: {
10754
+ req: MiscDeleteVideoFromPlaylistData;
10755
+ res: {
10756
+ /**
10757
+ * 200
10758
+ */
10759
+ 200: boolean;
10273
10760
  /**
10274
10761
  * 400
10275
10762
  */
@@ -10559,58 +11046,87 @@ declare class AnalyticsService {
10559
11046
  readonly httpRequest: BaseHttpRequest;
10560
11047
  constructor(httpRequest: BaseHttpRequest);
10561
11048
  /**
10562
- * Get Profile Analytics
11049
+ * Get Social Account Analytics
10563
11050
  * @param data The data for the request.
10564
11051
  * @param data.teamId
10565
11052
  * @param data.platformType
10566
11053
  * @returns unknown 200
10567
11054
  * @throws ApiError
10568
11055
  */
10569
- analyticsGetProfileAnalytics(data: AnalyticsGetProfileAnalyticsData): CancelablePromise<AnalyticsGetProfileAnalyticsResponse>;
11056
+ analyticsGetSocialAccountAnalytics(data: AnalyticsGetSocialAccountAnalyticsData): CancelablePromise<AnalyticsGetSocialAccountAnalyticsResponse>;
10570
11057
  /**
10571
- * Get Profile Post List - profile posts are basically external posts
11058
+ * Get Post Analytics
11059
+ * @param data The data for the request.
11060
+ * @param data.postId
11061
+ * @param data.platformType
11062
+ * @returns unknown 200
11063
+ * @throws ApiError
11064
+ */
11065
+ analyticsGetPostAnalytics(data: AnalyticsGetPostAnalyticsData): CancelablePromise<AnalyticsGetPostAnalyticsResponse>;
11066
+ /**
11067
+ * Get Social Account Analytics Raw
10572
11068
  * @param data The data for the request.
10573
11069
  * @param data.teamId
10574
11070
  * @param data.platformType
10575
- * @param data.ids
10576
11071
  * @returns unknown 200
10577
11072
  * @throws ApiError
10578
11073
  */
10579
- analyticsGetProfilePosts(data: AnalyticsGetProfilePostsData): CancelablePromise<AnalyticsGetProfilePostsResponse>;
11074
+ analyticsGetSocialAccountAnalyticsRaw(data: AnalyticsGetSocialAccountAnalyticsRawData): CancelablePromise<AnalyticsGetSocialAccountAnalyticsRawResponse>;
11075
+ /**
11076
+ * Get Post Analytics Raw
11077
+ * @param data The data for the request.
11078
+ * @param data.postId
11079
+ * @param data.platformType
11080
+ * @returns unknown 200
11081
+ * @throws ApiError
11082
+ */
11083
+ analyticsGetPostAnalyticsRaw(data: AnalyticsGetPostAnalyticsRawData): CancelablePromise<AnalyticsGetPostAnalyticsRawResponse>;
11084
+ /**
11085
+ * @deprecated
11086
+ * Get Profile Analytics
11087
+ * @returns string 200
11088
+ * @throws ApiError
11089
+ */
11090
+ analyticsGetProfileAnalytics(): CancelablePromise<AnalyticsGetProfileAnalyticsResponse>;
11091
+ /**
11092
+ * @deprecated
11093
+ * Get Profile Post List - profile posts are basically external posts
11094
+ * @returns string 200
11095
+ * @throws ApiError
11096
+ */
11097
+ analyticsGetProfilePosts(): CancelablePromise<AnalyticsGetProfilePostsResponse>;
10580
11098
  /**
11099
+ * @deprecated
10581
11100
  * Get Profile Post By Profile Post ID - profile posts are basically external posts
10582
11101
  * @param data The data for the request.
10583
11102
  * @param data.id
10584
- * @returns unknown 200
11103
+ * @returns string 200
10585
11104
  * @throws ApiError
10586
11105
  */
10587
11106
  analyticsGetProfilePost(data: AnalyticsGetProfilePostData): CancelablePromise<AnalyticsGetProfilePostResponse>;
10588
11107
  /**
11108
+ * @deprecated
10589
11109
  * Get Profile Post By Post ID
10590
11110
  * @param data The data for the request.
10591
11111
  * @param data.id
10592
- * @returns unknown 200
11112
+ * @returns string 200
10593
11113
  * @throws ApiError
10594
11114
  */
10595
11115
  analyticsGetProfilePostByPostId(data: AnalyticsGetProfilePostByPostIdData): CancelablePromise<AnalyticsGetProfilePostByPostIdResponse>;
10596
11116
  /**
11117
+ * @deprecated
10597
11118
  * Get Raw Profile Analytics In Last 24 Hours
10598
- * @param data The data for the request.
10599
- * @param data.socialAccountId
10600
- * @param data.teamId
10601
- * @returns unknown 200
11119
+ * @returns string 200
10602
11120
  * @throws ApiError
10603
11121
  */
10604
- analyticsGetRawProfileAnalytics(data: AnalyticsGetRawProfileAnalyticsData): CancelablePromise<AnalyticsGetRawProfileAnalyticsResponse>;
11122
+ analyticsGetRawSocialAccountAnalytics(): CancelablePromise<AnalyticsGetRawSocialAccountAnalyticsResponse>;
10605
11123
  /**
11124
+ * @deprecated
10606
11125
  * Get Raw Post Analytics In Last 24 Hours
10607
- * @param data The data for the request.
10608
- * @param data.profilePostId
10609
- * @param data.teamId
10610
- * @returns unknown 200
11126
+ * @returns string 200
10611
11127
  * @throws ApiError
10612
11128
  */
10613
- analyticsGetRawPostsAnalytics(data: AnalyticsGetRawPostsAnalyticsData): CancelablePromise<AnalyticsGetRawPostsAnalyticsResponse>;
11129
+ analyticsGetRawPostsAnalytics(): CancelablePromise<AnalyticsGetRawPostsAnalyticsResponse>;
10614
11130
  }
10615
11131
  declare class CommentService {
10616
11132
  readonly httpRequest: BaseHttpRequest;
@@ -10664,12 +11180,86 @@ declare class CommentService {
10664
11180
  */
10665
11181
  commentCreate(data?: CommentCreateData): CancelablePromise<CommentCreateResponse>;
10666
11182
  }
11183
+ declare class MiscService {
11184
+ readonly httpRequest: BaseHttpRequest;
11185
+ constructor(httpRequest: BaseHttpRequest);
11186
+ /**
11187
+ * Set or change thumbnail for a YouTube video
11188
+ * @param data The data for the request.
11189
+ * @param data.requestBody Body
11190
+ * @returns unknown 200
11191
+ * @throws ApiError
11192
+ */
11193
+ miscSetThumbnail(data?: MiscSetThumbnailData): CancelablePromise<MiscSetThumbnailResponse>;
11194
+ /**
11195
+ * Get channel playlists
11196
+ * @param data The data for the request.
11197
+ * @param data.teamId
11198
+ * @param data.maxResults
11199
+ * @returns unknown 200
11200
+ * @throws ApiError
11201
+ */
11202
+ miscGetChannelPlaylist(data: MiscGetChannelPlaylistData): CancelablePromise<MiscGetChannelPlaylistResponse>;
11203
+ /**
11204
+ * Create a new playlist
11205
+ * @param data The data for the request.
11206
+ * @param data.requestBody Body
11207
+ * @returns unknown 200
11208
+ * @throws ApiError
11209
+ */
11210
+ miscCreateNewChannelPlaylist(data?: MiscCreateNewChannelPlaylistData): CancelablePromise<MiscCreateNewChannelPlaylistResponse>;
11211
+ /**
11212
+ * Update an existing playlist
11213
+ * @param data The data for the request.
11214
+ * @param data.requestBody Body
11215
+ * @returns unknown 200
11216
+ * @throws ApiError
11217
+ */
11218
+ miscUpdateChannelPlaylist(data?: MiscUpdateChannelPlaylistData): CancelablePromise<MiscUpdateChannelPlaylistResponse>;
11219
+ /**
11220
+ * Remove a video from a playlist
11221
+ * @param data The data for the request.
11222
+ * @param data.playlistId
11223
+ * @param data.teamId
11224
+ * @returns boolean 200
11225
+ * @throws ApiError
11226
+ */
11227
+ miscDeleteChannelPlaylist(data: MiscDeleteChannelPlaylistData): CancelablePromise<MiscDeleteChannelPlaylistResponse>;
11228
+ /**
11229
+ * Add a video to a playlist
11230
+ * @param data The data for the request.
11231
+ * @param data.requestBody Body
11232
+ * @returns unknown 200
11233
+ * @throws ApiError
11234
+ */
11235
+ miscAddVideoToPlaylist(data?: MiscAddVideoToPlaylistData): CancelablePromise<MiscAddVideoToPlaylistResponse>;
11236
+ /**
11237
+ * Get videos from a playlist
11238
+ * @param data The data for the request.
11239
+ * @param data.teamId
11240
+ * @param data.playlistId
11241
+ * @param data.maxResults
11242
+ * @returns unknown 200
11243
+ * @throws ApiError
11244
+ */
11245
+ miscGetVideosFromPlaylist(data: MiscGetVideosFromPlaylistData): CancelablePromise<MiscGetVideosFromPlaylistResponse>;
11246
+ /**
11247
+ * Remove a video from a playlist
11248
+ * @param data The data for the request.
11249
+ * @param data.playlistItemId Playlist item ID (not video ID)
11250
+ * @param data.teamId
11251
+ * @returns boolean 200
11252
+ * @throws ApiError
11253
+ */
11254
+ miscDeleteVideoFromPlaylist(data: MiscDeleteVideoFromPlaylistData): CancelablePromise<MiscDeleteVideoFromPlaylistResponse>;
11255
+ }
10667
11256
 
10668
11257
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
10669
11258
  declare class Client {
10670
11259
  readonly analytics: AnalyticsService;
10671
11260
  readonly app: AppService;
10672
11261
  readonly comment: CommentService;
11262
+ readonly misc: MiscService;
10673
11263
  readonly organization: OrganizationService;
10674
11264
  readonly post: PostService;
10675
11265
  readonly socialAccount: SocialAccountService;
@@ -10738,4 +11328,4 @@ declare class Bundlesocial extends Client {
10738
11328
  constructor(apiKey: string, options?: OpenAPIConfig);
10739
11329
  }
10740
11330
 
10741
- export { $OpenApiTs, AnalyticsGetProfileAnalyticsData, AnalyticsGetProfileAnalyticsResponse, AnalyticsGetProfilePostByPostIdData, AnalyticsGetProfilePostByPostIdResponse, AnalyticsGetProfilePostData, AnalyticsGetProfilePostResponse, AnalyticsGetProfilePostsData, AnalyticsGetProfilePostsResponse, AnalyticsGetRawPostsAnalyticsData, AnalyticsGetRawPostsAnalyticsResponse, AnalyticsGetRawProfileAnalyticsData, AnalyticsGetRawProfileAnalyticsResponse, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, CommentCreateData, CommentCreateResponse, CommentDeleteData, CommentDeleteResponse, CommentGetData, CommentGetListData, CommentGetListResponse, CommentGetResponse, CommentUpdateData, CommentUpdateResponse, OpenAPI, OpenAPIConfig, OrganizationGetOrganizationResponse, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountCopyData, SocialAccountCopyResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetListData, TeamGetListResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadFinalizeLargeUploadData, UploadFinalizeLargeUploadResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, UploadInitLargeUploadData, UploadInitLargeUploadResponse, WebhookEvent, WebhookEventType, webhookEventTypes };
11331
+ export { $OpenApiTs, AnalyticsGetPostAnalyticsData, AnalyticsGetPostAnalyticsRawData, AnalyticsGetPostAnalyticsRawResponse, AnalyticsGetPostAnalyticsResponse, AnalyticsGetProfileAnalyticsResponse, AnalyticsGetProfilePostByPostIdData, AnalyticsGetProfilePostByPostIdResponse, AnalyticsGetProfilePostData, AnalyticsGetProfilePostResponse, AnalyticsGetProfilePostsResponse, AnalyticsGetRawPostsAnalyticsResponse, AnalyticsGetRawSocialAccountAnalyticsResponse, AnalyticsGetSocialAccountAnalyticsData, AnalyticsGetSocialAccountAnalyticsRawData, AnalyticsGetSocialAccountAnalyticsRawResponse, AnalyticsGetSocialAccountAnalyticsResponse, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, CommentCreateData, CommentCreateResponse, CommentDeleteData, CommentDeleteResponse, CommentGetData, CommentGetListData, CommentGetListResponse, CommentGetResponse, CommentUpdateData, CommentUpdateResponse, MiscAddVideoToPlaylistData, MiscAddVideoToPlaylistResponse, MiscCreateNewChannelPlaylistData, MiscCreateNewChannelPlaylistResponse, MiscDeleteChannelPlaylistData, MiscDeleteChannelPlaylistResponse, MiscDeleteVideoFromPlaylistData, MiscDeleteVideoFromPlaylistResponse, MiscGetChannelPlaylistData, MiscGetChannelPlaylistResponse, MiscGetVideosFromPlaylistData, MiscGetVideosFromPlaylistResponse, MiscSetThumbnailData, MiscSetThumbnailResponse, MiscUpdateChannelPlaylistData, MiscUpdateChannelPlaylistResponse, OpenAPI, OpenAPIConfig, OrganizationGetOrganizationResponse, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountCopyData, SocialAccountCopyResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetListData, TeamGetListResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadFinalizeLargeUploadData, UploadFinalizeLargeUploadResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, UploadInitLargeUploadData, UploadInitLargeUploadResponse, WebhookEvent, WebhookEventType, webhookEventTypes };