@getlatedev/node 0.1.0 → 0.1.2

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
@@ -56,186 +56,183 @@ declare class Late {
56
56
  */
57
57
  baseURL: string;
58
58
  /**
59
- * Posts API - Create, schedule, and manage social media posts
60
- */
61
- posts: {
62
- list: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetV1PostsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostsListResponse, GetV1PostsError, ThrowOnError>;
63
- create: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1PostsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostCreateResponse, PostV1PostsError, ThrowOnError>;
64
- get: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1PostsByPostIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostGetResponse, unknown, ThrowOnError>;
65
- update: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PutV1PostsByPostIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
66
- delete: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteV1PostsByPostIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostDeleteResponse, unknown, ThrowOnError>;
67
- retry: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1PostsByPostIdRetryData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
68
- bulkUpload: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1PostsBulkUploadData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
69
- getLogs: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1PostsByPostIdLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1PostsByPostIdLogsResponse, unknown, ThrowOnError>;
70
- };
71
- /**
72
- * Accounts API - Manage connected social media accounts
73
- */
74
- accounts: {
75
- list: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetV1AccountsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1AccountsResponse, GetV1AccountsError, ThrowOnError>;
76
- update: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PutV1AccountsByAccountIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PutV1AccountsByAccountIdResponse, unknown, ThrowOnError>;
77
- delete: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteV1AccountsByAccountIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteV1AccountsByAccountIdResponse, DeleteV1AccountsByAccountIdError, ThrowOnError>;
78
- getFollowerStats: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetV1AccountsFollowerStatsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1AccountsFollowerStatsResponse, GetV1AccountsFollowerStatsError, ThrowOnError>;
79
- getAllHealth: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetV1AccountsHealthData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1AccountsHealthResponse, GetV1AccountsHealthError, ThrowOnError>;
80
- getHealth: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1AccountsByAccountIdHealthData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1AccountsByAccountIdHealthResponse, GetV1AccountsByAccountIdHealthError, ThrowOnError>;
81
- updateFacebookPage: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PutV1AccountsByAccountIdFacebookPageData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PutV1AccountsByAccountIdFacebookPageResponse, unknown, ThrowOnError>;
82
- getLinkedInOrganizations: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1AccountsByAccountIdLinkedinOrganizationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1AccountsByAccountIdLinkedinOrganizationsResponse, unknown, ThrowOnError>;
83
- updateLinkedInOrganization: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PutV1AccountsByAccountIdLinkedinOrganizationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PutV1AccountsByAccountIdLinkedinOrganizationResponse, unknown, ThrowOnError>;
84
- getLinkedInMentions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1AccountsByAccountIdLinkedinMentionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1AccountsByAccountIdLinkedinMentionsResponse, GetV1AccountsByAccountIdLinkedinMentionsError, ThrowOnError>;
85
- getPinterestBoards: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1AccountsByAccountIdPinterestBoardsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1AccountsByAccountIdPinterestBoardsResponse, unknown, ThrowOnError>;
86
- updatePinterestBoards: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PutV1AccountsByAccountIdPinterestBoardsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PutV1AccountsByAccountIdPinterestBoardsResponse, unknown, ThrowOnError>;
87
- getRedditSubreddits: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1AccountsByAccountIdRedditSubredditsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1AccountsByAccountIdRedditSubredditsResponse, unknown, ThrowOnError>;
88
- updateRedditSubreddits: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PutV1AccountsByAccountIdRedditSubredditsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PutV1AccountsByAccountIdRedditSubredditsResponse, unknown, ThrowOnError>;
89
- getGoogleBusinessReviews: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1AccountsByAccountIdGmbReviewsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1AccountsByAccountIdGmbReviewsResponse, GetV1AccountsByAccountIdGmbReviewsError, ThrowOnError>;
90
- };
91
- /**
92
- * Profiles API - Manage workspace profiles
59
+ * Tools API - Media download and utilities
93
60
  */
94
- profiles: {
95
- list: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetV1ProfilesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfilesListResponse, GetV1ProfilesError, ThrowOnError>;
96
- create: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1ProfilesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfileCreateResponse, unknown, ThrowOnError>;
97
- get: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ProfilesByProfileIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ProfilesByProfileIdResponse, GetV1ProfilesByProfileIdError, ThrowOnError>;
98
- update: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PutV1ProfilesByProfileIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PutV1ProfilesByProfileIdResponse, PutV1ProfilesByProfileIdError, ThrowOnError>;
99
- delete: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteV1ProfilesByProfileIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteV1ProfilesByProfileIdResponse, unknown, ThrowOnError>;
61
+ tools: {
62
+ downloadYouTubeVideo: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DownloadYouTubeVideoData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DownloadYouTubeVideoResponse, unknown, ThrowOnError>;
63
+ getYouTubeTranscript: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetYouTubeTranscriptData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetYouTubeTranscriptResponse, unknown, ThrowOnError>;
64
+ downloadInstagramMedia: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DownloadInstagramMediaData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DownloadInstagramMediaResponse, unknown, ThrowOnError>;
65
+ checkInstagramHashtags: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CheckInstagramHashtagsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CheckInstagramHashtagsResponse, unknown, ThrowOnError>;
66
+ downloadTikTokVideo: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DownloadTikTokVideoData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DownloadTikTokVideoResponse, unknown, ThrowOnError>;
67
+ downloadTwitterMedia: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DownloadTwitterMediaData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DownloadTwitterMediaResponse, unknown, ThrowOnError>;
68
+ downloadFacebookVideo: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DownloadFacebookVideoData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DownloadFacebookVideoResponse, unknown, ThrowOnError>;
69
+ downloadLinkedInVideo: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DownloadLinkedInVideoData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DownloadLinkedInVideoResponse, unknown, ThrowOnError>;
70
+ downloadBlueskyMedia: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DownloadBlueskyMediaData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DownloadBlueskyMediaResponse, unknown, ThrowOnError>;
100
71
  };
101
72
  /**
102
73
  * Analytics API - Get performance metrics
103
74
  */
104
75
  analytics: {
105
- get: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetV1AnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1AnalyticsResponse, GetV1AnalyticsError, ThrowOnError>;
106
- getYouTubeDailyViews: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1AnalyticsYoutubeDailyViewsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<YouTubeDailyViewsResponse, GetV1AnalyticsYoutubeDailyViewsError, ThrowOnError>;
107
- getLinkedInAggregate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1AccountsByAccountIdLinkedinAggregateAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1AccountsByAccountIdLinkedinAggregateAnalyticsResponse, unknown, ThrowOnError>;
108
- getLinkedInPostAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1AccountsByAccountIdLinkedinPostAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1AccountsByAccountIdLinkedinPostAnalyticsResponse, unknown, ThrowOnError>;
76
+ getAnalytics: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAnalyticsResponse, GetAnalyticsError, ThrowOnError>;
77
+ getYouTubeDailyViews: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetYouTubeDailyViewsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<YouTubeDailyViewsResponse, GetYouTubeDailyViewsError, ThrowOnError>;
78
+ getLinkedInAggregateAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLinkedInAggregateAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLinkedInAggregateAnalyticsResponse, unknown, ThrowOnError>;
79
+ getLinkedInPostAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLinkedInPostAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLinkedInPostAnalyticsResponse, unknown, ThrowOnError>;
109
80
  };
110
81
  /**
111
82
  * Account Groups API - Organize accounts into groups
112
83
  */
113
84
  accountGroups: {
114
- list: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1AccountGroupsResponse, GetV1AccountGroupsError, ThrowOnError>;
115
- create: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1AccountGroupsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1AccountGroupsResponse, unknown, ThrowOnError>;
116
- update: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PutV1AccountGroupsByGroupIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PutV1AccountGroupsByGroupIdResponse, unknown, ThrowOnError>;
117
- delete: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteV1AccountGroupsByGroupIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteV1AccountGroupsByGroupIdResponse, DeleteV1AccountGroupsByGroupIdError, ThrowOnError>;
85
+ listAccountGroups: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListAccountGroupsResponse, ListAccountGroupsError, ThrowOnError>;
86
+ createAccountGroup: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateAccountGroupData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateAccountGroupResponse, unknown, ThrowOnError>;
87
+ updateAccountGroup: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAccountGroupData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAccountGroupResponse, unknown, ThrowOnError>;
88
+ deleteAccountGroup: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteAccountGroupData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteAccountGroupResponse, DeleteAccountGroupError, ThrowOnError>;
118
89
  };
119
90
  /**
120
- * Queue API - Manage posting queue
91
+ * Media API - Upload and manage media files
121
92
  */
122
- queue: {
123
- listSlots: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1QueueSlotsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1QueueSlotsResponse, unknown, ThrowOnError>;
124
- createSlot: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1QueueSlotsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1QueueSlotsResponse, unknown, ThrowOnError>;
125
- updateSlot: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PutV1QueueSlotsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PutV1QueueSlotsResponse, unknown, ThrowOnError>;
126
- deleteSlot: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteV1QueueSlotsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteV1QueueSlotsResponse, unknown, ThrowOnError>;
127
- preview: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1QueuePreviewData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1QueuePreviewResponse, unknown, ThrowOnError>;
128
- getNextSlot: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1QueueNextSlotData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1QueueNextSlotResponse, unknown, ThrowOnError>;
93
+ media: {
94
+ getMediaPresignedUrl: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetMediaPresignedUrlData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetMediaPresignedUrlResponse, GetMediaPresignedUrlError, ThrowOnError>;
129
95
  };
130
96
  /**
131
- * Webhooks API - Configure event webhooks
97
+ * Reddit API - Search and feed
132
98
  */
133
- webhooks: {
134
- getSettings: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1WebhooksSettingsResponse, GetV1WebhooksSettingsError, ThrowOnError>;
135
- createSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1WebhooksSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1WebhooksSettingsResponse, unknown, ThrowOnError>;
136
- updateSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PutV1WebhooksSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PutV1WebhooksSettingsResponse, unknown, ThrowOnError>;
137
- deleteSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteV1WebhooksSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteV1WebhooksSettingsResponse, unknown, ThrowOnError>;
138
- test: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1WebhooksTestData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1WebhooksTestResponse, unknown, ThrowOnError>;
139
- getLogs: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetV1WebhooksLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1WebhooksLogsResponse, GetV1WebhooksLogsError, ThrowOnError>;
99
+ reddit: {
100
+ searchReddit: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SearchRedditData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SearchRedditResponse, unknown, ThrowOnError>;
101
+ getRedditFeed: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetRedditFeedData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetRedditFeedResponse, unknown, ThrowOnError>;
140
102
  };
141
103
  /**
142
- * API Keys API - Manage API keys
104
+ * Usage API - Get usage statistics
143
105
  */
144
- apiKeys: {
145
- list: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ApiKeysResponse, GetV1ApiKeysError, ThrowOnError>;
146
- create: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1ApiKeysData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1ApiKeysResponse, unknown, ThrowOnError>;
147
- delete: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteV1ApiKeysByKeyIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteV1ApiKeysByKeyIdResponse, DeleteV1ApiKeysByKeyIdError, ThrowOnError>;
106
+ usage: {
107
+ getUsageStats: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UsageStats, GetUsageStatsError, ThrowOnError>;
148
108
  };
149
109
  /**
150
- * Media API - Upload and manage media files
110
+ * Posts API - Create, schedule, and manage social media posts
151
111
  */
152
- media: {
153
- getPresignedUrl: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1MediaPresignData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1MediaPresignResponse, PostV1MediaPresignError, ThrowOnError>;
112
+ posts: {
113
+ listPosts: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListPostsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostsListResponse, ListPostsError, ThrowOnError>;
114
+ createPost: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreatePostData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostCreateResponse, CreatePostError, ThrowOnError>;
115
+ getPost: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPostData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostGetResponse, unknown, ThrowOnError>;
116
+ updatePost: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdatePostData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
117
+ deletePost: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeletePostData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostDeleteResponse, unknown, ThrowOnError>;
118
+ bulkUploadPosts: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<BulkUploadPostsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
119
+ retryPost: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RetryPostData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
154
120
  };
155
121
  /**
156
- * Tools API - Media download and utilities
122
+ * Users API - User management
157
123
  */
158
- tools: {
159
- downloadYouTube: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ToolsYoutubeDownloadData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ToolsYoutubeDownloadResponse, unknown, ThrowOnError>;
160
- getYouTubeTranscript: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ToolsYoutubeTranscriptData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ToolsYoutubeTranscriptResponse, unknown, ThrowOnError>;
161
- downloadInstagram: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ToolsInstagramDownloadData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ToolsInstagramDownloadResponse, unknown, ThrowOnError>;
162
- checkInstagramHashtags: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1ToolsInstagramHashtagCheckerData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1ToolsInstagramHashtagCheckerResponse, unknown, ThrowOnError>;
163
- downloadTikTok: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ToolsTiktokDownloadData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ToolsTiktokDownloadResponse, unknown, ThrowOnError>;
164
- downloadTwitter: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ToolsTwitterDownloadData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ToolsTwitterDownloadResponse, unknown, ThrowOnError>;
165
- downloadFacebook: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ToolsFacebookDownloadData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ToolsFacebookDownloadResponse, unknown, ThrowOnError>;
166
- downloadLinkedIn: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ToolsLinkedinDownloadData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ToolsLinkedinDownloadResponse, unknown, ThrowOnError>;
167
- downloadBluesky: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ToolsBlueskyDownloadData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ToolsBlueskyDownloadResponse, unknown, ThrowOnError>;
124
+ users: {
125
+ listUsers: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListUsersResponse, ListUsersError, ThrowOnError>;
126
+ getUser: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetUserData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetUserResponse, unknown, ThrowOnError>;
168
127
  };
169
128
  /**
170
- * Users API - User management
129
+ * Profiles API - Manage workspace profiles
171
130
  */
172
- users: {
173
- list: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1UsersResponse, GetV1UsersError, ThrowOnError>;
174
- get: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1UsersByUserIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1UsersByUserIdResponse, unknown, ThrowOnError>;
131
+ profiles: {
132
+ listProfiles: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListProfilesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfilesListResponse, ListProfilesError, ThrowOnError>;
133
+ createProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfileCreateResponse, unknown, ThrowOnError>;
134
+ getProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetProfileResponse, GetProfileError, ThrowOnError>;
135
+ updateProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateProfileResponse, UpdateProfileError, ThrowOnError>;
136
+ deleteProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteProfileResponse, unknown, ThrowOnError>;
175
137
  };
176
138
  /**
177
- * Usage API - Get usage statistics
139
+ * Accounts API - Manage connected social media accounts
178
140
  */
179
- usage: {
180
- getStats: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UsageStats, GetV1UsageStatsError, ThrowOnError>;
141
+ accounts: {
142
+ listAccounts: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListAccountsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListAccountsResponse, ListAccountsError, ThrowOnError>;
143
+ getFollowerStats: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetFollowerStatsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetFollowerStatsResponse, GetFollowerStatsError, ThrowOnError>;
144
+ updateAccount: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAccountData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAccountResponse, unknown, ThrowOnError>;
145
+ deleteAccount: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteAccountData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteAccountResponse, DeleteAccountError, ThrowOnError>;
146
+ getAllAccountsHealth: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetAllAccountsHealthData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAllAccountsHealthResponse, GetAllAccountsHealthError, ThrowOnError>;
147
+ getAccountHealth: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAccountHealthData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAccountHealthResponse, GetAccountHealthError, ThrowOnError>;
148
+ getGoogleBusinessReviews: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetGoogleBusinessReviewsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetGoogleBusinessReviewsResponse, GetGoogleBusinessReviewsError, ThrowOnError>;
149
+ getLinkedInMentions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLinkedInMentionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLinkedInMentionsResponse, GetLinkedInMentionsError, ThrowOnError>;
181
150
  };
182
151
  /**
183
- * Logs API - Publishing logs
152
+ * API Keys API - Manage API keys
184
153
  */
185
- logs: {
186
- list: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetV1LogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1LogsResponse, GetV1LogsError, ThrowOnError>;
187
- get: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1LogsByLogIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1LogsByLogIdResponse, unknown, ThrowOnError>;
154
+ apiKeys: {
155
+ listApiKeys: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListApiKeysResponse, ListApiKeysError, ThrowOnError>;
156
+ createApiKey: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateApiKeyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateApiKeyResponse, unknown, ThrowOnError>;
157
+ deleteApiKey: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteApiKeyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteApiKeyResponse, DeleteApiKeyError, ThrowOnError>;
158
+ };
159
+ /**
160
+ * Invites API - Team invitations
161
+ */
162
+ invites: {
163
+ createInviteToken: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateInviteTokenData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateInviteTokenResponse, unknown, ThrowOnError>;
188
164
  };
189
165
  /**
190
166
  * Connect API - OAuth connection flows
191
167
  */
192
168
  connect: {
193
- getUrl: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ConnectByPlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ConnectByPlatformResponse, unknown, ThrowOnError>;
194
- handleCallback: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1ConnectByPlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
169
+ getConnectUrl: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetConnectUrlData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetConnectUrlResponse, unknown, ThrowOnError>;
170
+ handleOAuthCallback: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<HandleOAuthCallbackData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
171
+ updateFacebookPage: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateFacebookPageData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateFacebookPageResponse, unknown, ThrowOnError>;
172
+ getLinkedInOrganizations: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLinkedInOrganizationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLinkedInOrganizationsResponse, unknown, ThrowOnError>;
173
+ updateLinkedInOrganization: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateLinkedInOrganizationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateLinkedInOrganizationResponse, unknown, ThrowOnError>;
174
+ getPinterestBoards: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPinterestBoardsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPinterestBoardsResponse, unknown, ThrowOnError>;
175
+ updatePinterestBoards: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdatePinterestBoardsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdatePinterestBoardsResponse, unknown, ThrowOnError>;
176
+ getRedditSubreddits: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetRedditSubredditsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetRedditSubredditsResponse, unknown, ThrowOnError>;
177
+ updateRedditSubreddits: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateRedditSubredditsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateRedditSubredditsResponse, unknown, ThrowOnError>;
195
178
  facebook: {
196
- listPages: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ConnectFacebookSelectPageData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ConnectFacebookSelectPageResponse, unknown, ThrowOnError>;
197
- selectPage: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1ConnectFacebookSelectPageData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1ConnectFacebookSelectPageResponse, unknown, ThrowOnError>;
179
+ listFacebookPages: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListFacebookPagesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListFacebookPagesResponse, unknown, ThrowOnError>;
180
+ selectFacebookPage: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SelectFacebookPageData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SelectFacebookPageResponse, unknown, ThrowOnError>;
198
181
  };
199
182
  googleBusiness: {
200
- listLocations: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ConnectGooglebusinessLocationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ConnectGooglebusinessLocationsResponse, unknown, ThrowOnError>;
201
- selectLocation: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1ConnectGooglebusinessSelectLocationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1ConnectGooglebusinessSelectLocationResponse, unknown, ThrowOnError>;
183
+ listGoogleBusinessLocations: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListGoogleBusinessLocationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListGoogleBusinessLocationsResponse, unknown, ThrowOnError>;
184
+ selectGoogleBusinessLocation: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SelectGoogleBusinessLocationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SelectGoogleBusinessLocationResponse, unknown, ThrowOnError>;
202
185
  };
203
- linkedIn: {
204
- listOrganizations: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ConnectLinkedinOrganizationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ConnectLinkedinOrganizationsResponse, unknown, ThrowOnError>;
205
- selectOrganization: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1ConnectLinkedinSelectOrganizationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1ConnectLinkedinSelectOrganizationResponse, unknown, ThrowOnError>;
186
+ linkedin: {
187
+ listLinkedInOrganizations: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListLinkedInOrganizationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListLinkedInOrganizationsResponse, unknown, ThrowOnError>;
188
+ selectLinkedInOrganization: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SelectLinkedInOrganizationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SelectLinkedInOrganizationResponse, unknown, ThrowOnError>;
206
189
  };
207
190
  pinterest: {
208
- listBoards: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ConnectPinterestSelectBoardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ConnectPinterestSelectBoardResponse, unknown, ThrowOnError>;
209
- selectBoard: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1ConnectPinterestSelectBoardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1ConnectPinterestSelectBoardResponse, unknown, ThrowOnError>;
191
+ listPinterestBoardsForSelection: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListPinterestBoardsForSelectionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListPinterestBoardsForSelectionResponse, unknown, ThrowOnError>;
192
+ selectPinterestBoard: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SelectPinterestBoardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SelectPinterestBoardResponse, unknown, ThrowOnError>;
210
193
  };
211
194
  snapchat: {
212
- listProfiles: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ConnectSnapchatSelectProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ConnectSnapchatSelectProfileResponse, unknown, ThrowOnError>;
213
- selectProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1ConnectSnapchatSelectProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1ConnectSnapchatSelectProfileResponse, unknown, ThrowOnError>;
195
+ listSnapchatProfiles: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListSnapchatProfilesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListSnapchatProfilesResponse, unknown, ThrowOnError>;
196
+ selectSnapchatProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SelectSnapchatProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SelectSnapchatProfileResponse, unknown, ThrowOnError>;
214
197
  };
215
198
  bluesky: {
216
- connectCredentials: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1ConnectBlueskyCredentialsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1ConnectBlueskyCredentialsResponse, unknown, ThrowOnError>;
199
+ connectBlueskyCredentials: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ConnectBlueskyCredentialsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ConnectBlueskyCredentialsResponse, unknown, ThrowOnError>;
217
200
  };
218
201
  telegram: {
219
- getStatus: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1ConnectTelegramData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1ConnectTelegramResponse, unknown, ThrowOnError>;
220
- initiate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1ConnectTelegramData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1ConnectTelegramResponse, unknown, ThrowOnError>;
221
- complete: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PatchV1ConnectTelegramData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PatchV1ConnectTelegramResponse, unknown, ThrowOnError>;
202
+ getTelegramConnectStatus: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetTelegramConnectStatusData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetTelegramConnectStatusResponse, unknown, ThrowOnError>;
203
+ initiateTelegramConnect: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<InitiateTelegramConnectData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<InitiateTelegramConnectResponse, unknown, ThrowOnError>;
204
+ completeTelegramConnect: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CompleteTelegramConnectData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CompleteTelegramConnectResponse, unknown, ThrowOnError>;
222
205
  };
223
206
  };
224
207
  /**
225
- * Reddit API - Search and feed
208
+ * Queue API - Manage posting queue
226
209
  */
227
- reddit: {
228
- search: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1RedditSearchData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1RedditSearchResponse, unknown, ThrowOnError>;
229
- getFeed: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetV1RedditFeedData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1RedditFeedResponse, unknown, ThrowOnError>;
210
+ queue: {
211
+ listQueueSlots: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListQueueSlotsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListQueueSlotsResponse, unknown, ThrowOnError>;
212
+ createQueueSlot: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateQueueSlotData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateQueueSlotResponse, unknown, ThrowOnError>;
213
+ updateQueueSlot: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateQueueSlotData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateQueueSlotResponse, unknown, ThrowOnError>;
214
+ deleteQueueSlot: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteQueueSlotData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteQueueSlotResponse, unknown, ThrowOnError>;
215
+ previewQueue: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PreviewQueueData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PreviewQueueResponse, unknown, ThrowOnError>;
216
+ getNextQueueSlot: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetNextQueueSlotData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetNextQueueSlotResponse, unknown, ThrowOnError>;
230
217
  };
231
218
  /**
232
- * Invites API - Team invitations
219
+ * Webhooks API - Configure event webhooks
233
220
  */
234
- invites: {
235
- createToken: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1InviteTokensData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1InviteTokensResponse, unknown, ThrowOnError>;
236
- list: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetV1PlatformInvitesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetV1PlatformInvitesResponse, GetV1PlatformInvitesError, ThrowOnError>;
237
- create: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PostV1PlatformInvitesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PostV1PlatformInvitesResponse, unknown, ThrowOnError>;
238
- delete: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteV1PlatformInvitesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteV1PlatformInvitesResponse, unknown, ThrowOnError>;
221
+ webhooks: {
222
+ getWebhookSettings: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWebhookSettingsResponse, GetWebhookSettingsError, ThrowOnError>;
223
+ createWebhookSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWebhookSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWebhookSettingsResponse, unknown, ThrowOnError>;
224
+ updateWebhookSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWebhookSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWebhookSettingsResponse, unknown, ThrowOnError>;
225
+ deleteWebhookSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWebhookSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWebhookSettingsResponse, unknown, ThrowOnError>;
226
+ testWebhook: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<TestWebhookData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TestWebhookResponse, unknown, ThrowOnError>;
227
+ getWebhookLogs: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetWebhookLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWebhookLogsResponse, GetWebhookLogsError, ThrowOnError>;
228
+ };
229
+ /**
230
+ * Logs API - Publishing logs
231
+ */
232
+ logs: {
233
+ listLogs: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListLogsResponse, ListLogsError, ThrowOnError>;
234
+ getLog: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLogData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLogResponse, unknown, ThrowOnError>;
235
+ getPostLogs: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPostLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPostLogsResponse, unknown, ThrowOnError>;
239
236
  };
240
237
  /**
241
238
  * Create a new Late API client.
@@ -577,6 +574,14 @@ type InstagramPlatformData = {
577
574
  *
578
575
  */
579
576
  audioName?: string;
577
+ /**
578
+ * Millisecond offset from the start of the video to use as the Reel thumbnail.
579
+ * Only applies to Reels (video posts). If a custom thumbnail URL (instagramThumbnail
580
+ * in mediaItems) is provided, it takes priority and this offset is ignored.
581
+ * Defaults to 0 (first frame).
582
+ *
583
+ */
584
+ thumbOffset?: number;
580
585
  };
581
586
  /**
582
587
  * The graduation strategy specifies when a trial reel becomes a regular reel:
@@ -1489,7 +1494,7 @@ type Webhook = {
1489
1494
  /**
1490
1495
  * Events subscribed to
1491
1496
  */
1492
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected')>;
1497
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
1493
1498
  /**
1494
1499
  * Whether webhook delivery is enabled
1495
1500
  */
@@ -1522,7 +1527,7 @@ type WebhookLog = {
1522
1527
  * Name of the webhook that was triggered
1523
1528
  */
1524
1529
  webhookName?: string;
1525
- event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected' | 'webhook.test';
1530
+ event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
1526
1531
  url?: string;
1527
1532
  status?: 'success' | 'failed';
1528
1533
  /**
@@ -1553,8 +1558,29 @@ type WebhookLog = {
1553
1558
  responseTime?: number;
1554
1559
  createdAt?: string;
1555
1560
  };
1556
- type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected' | 'webhook.test';
1561
+ type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
1557
1562
  type status5 = 'success' | 'failed';
1563
+ /**
1564
+ * Webhook payload for account connected events
1565
+ */
1566
+ type WebhookPayloadAccountConnected = {
1567
+ event?: 'account.connected';
1568
+ account?: {
1569
+ /**
1570
+ * The account's unique identifier (same as used in /v1/accounts/{accountId})
1571
+ */
1572
+ accountId?: string;
1573
+ /**
1574
+ * The profile's unique identifier this account belongs to
1575
+ */
1576
+ profileId?: string;
1577
+ platform?: string;
1578
+ username?: string;
1579
+ displayName?: string;
1580
+ };
1581
+ timestamp?: string;
1582
+ };
1583
+ type event2 = 'account.connected';
1558
1584
  /**
1559
1585
  * Webhook payload for account disconnected events
1560
1586
  */
@@ -1583,7 +1609,7 @@ type WebhookPayloadAccountDisconnected = {
1583
1609
  };
1584
1610
  timestamp?: string;
1585
1611
  };
1586
- type event2 = 'account.disconnected';
1612
+ type event3 = 'account.disconnected';
1587
1613
  /**
1588
1614
  * Whether the disconnection was intentional (user action) or unintentional (token expired/revoked)
1589
1615
  */
@@ -1608,7 +1634,7 @@ type WebhookPayloadPost = {
1608
1634
  };
1609
1635
  timestamp?: string;
1610
1636
  };
1611
- type event3 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial';
1637
+ type event4 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial';
1612
1638
  type YouTubeDailyViewsResponse = {
1613
1639
  success?: boolean;
1614
1640
  /**
@@ -1695,7 +1721,7 @@ type YouTubeScopeMissingResponse = {
1695
1721
  reauthorizeUrl?: string;
1696
1722
  };
1697
1723
  };
1698
- type GetV1ToolsYoutubeDownloadData = {
1724
+ type DownloadYouTubeVideoData = {
1699
1725
  query: {
1700
1726
  /**
1701
1727
  * Action to perform: 'download' returns download URL, 'formats' lists available formats
@@ -1719,7 +1745,7 @@ type GetV1ToolsYoutubeDownloadData = {
1719
1745
  url: string;
1720
1746
  };
1721
1747
  };
1722
- type GetV1ToolsYoutubeDownloadResponse = ({
1748
+ type DownloadYouTubeVideoResponse = ({
1723
1749
  success?: boolean;
1724
1750
  title?: string;
1725
1751
  downloadUrl?: string;
@@ -1732,10 +1758,10 @@ type GetV1ToolsYoutubeDownloadResponse = ({
1732
1758
  width?: number;
1733
1759
  }>;
1734
1760
  });
1735
- type GetV1ToolsYoutubeDownloadError = ({
1761
+ type DownloadYouTubeVideoError = ({
1736
1762
  error?: string;
1737
1763
  } | unknown);
1738
- type GetV1ToolsYoutubeTranscriptData = {
1764
+ type GetYouTubeTranscriptData = {
1739
1765
  query: {
1740
1766
  /**
1741
1767
  * Language code for transcript
@@ -1747,7 +1773,7 @@ type GetV1ToolsYoutubeTranscriptData = {
1747
1773
  url: string;
1748
1774
  };
1749
1775
  };
1750
- type GetV1ToolsYoutubeTranscriptResponse = ({
1776
+ type GetYouTubeTranscriptResponse = ({
1751
1777
  success?: boolean;
1752
1778
  videoId?: string;
1753
1779
  language?: string;
@@ -1758,8 +1784,8 @@ type GetV1ToolsYoutubeTranscriptResponse = ({
1758
1784
  duration?: number;
1759
1785
  }>;
1760
1786
  });
1761
- type GetV1ToolsYoutubeTranscriptError = (unknown);
1762
- type GetV1ToolsInstagramDownloadData = {
1787
+ type GetYouTubeTranscriptError = (unknown);
1788
+ type DownloadInstagramMediaData = {
1763
1789
  query: {
1764
1790
  /**
1765
1791
  * Instagram reel or post URL
@@ -1767,18 +1793,18 @@ type GetV1ToolsInstagramDownloadData = {
1767
1793
  url: string;
1768
1794
  };
1769
1795
  };
1770
- type GetV1ToolsInstagramDownloadResponse = ({
1796
+ type DownloadInstagramMediaResponse = ({
1771
1797
  success?: boolean;
1772
1798
  title?: string;
1773
1799
  downloadUrl?: string;
1774
1800
  });
1775
- type GetV1ToolsInstagramDownloadError = unknown;
1776
- type PostV1ToolsInstagramHashtagCheckerData = {
1801
+ type DownloadInstagramMediaError = unknown;
1802
+ type CheckInstagramHashtagsData = {
1777
1803
  body: {
1778
1804
  hashtags: Array<(string)>;
1779
1805
  };
1780
1806
  };
1781
- type PostV1ToolsInstagramHashtagCheckerResponse = ({
1807
+ type CheckInstagramHashtagsResponse = ({
1782
1808
  success?: boolean;
1783
1809
  results?: Array<{
1784
1810
  hashtag?: string;
@@ -1792,8 +1818,8 @@ type PostV1ToolsInstagramHashtagCheckerResponse = ({
1792
1818
  safe?: number;
1793
1819
  };
1794
1820
  });
1795
- type PostV1ToolsInstagramHashtagCheckerError = unknown;
1796
- type GetV1ToolsTiktokDownloadData = {
1821
+ type CheckInstagramHashtagsError = unknown;
1822
+ type DownloadTikTokVideoData = {
1797
1823
  query: {
1798
1824
  /**
1799
1825
  * 'formats' to list available formats
@@ -1809,7 +1835,7 @@ type GetV1ToolsTiktokDownloadData = {
1809
1835
  url: string;
1810
1836
  };
1811
1837
  };
1812
- type GetV1ToolsTiktokDownloadResponse = ({
1838
+ type DownloadTikTokVideoResponse = ({
1813
1839
  success?: boolean;
1814
1840
  title?: string;
1815
1841
  downloadUrl?: string;
@@ -1819,8 +1845,8 @@ type GetV1ToolsTiktokDownloadResponse = ({
1819
1845
  ext?: string;
1820
1846
  }>;
1821
1847
  });
1822
- type GetV1ToolsTiktokDownloadError = unknown;
1823
- type GetV1ToolsTwitterDownloadData = {
1848
+ type DownloadTikTokVideoError = unknown;
1849
+ type DownloadTwitterMediaData = {
1824
1850
  query: {
1825
1851
  action?: 'download' | 'formats';
1826
1852
  formatId?: string;
@@ -1830,13 +1856,13 @@ type GetV1ToolsTwitterDownloadData = {
1830
1856
  url: string;
1831
1857
  };
1832
1858
  };
1833
- type GetV1ToolsTwitterDownloadResponse = ({
1859
+ type DownloadTwitterMediaResponse = ({
1834
1860
  success?: boolean;
1835
1861
  title?: string;
1836
1862
  downloadUrl?: string;
1837
1863
  });
1838
- type GetV1ToolsTwitterDownloadError = unknown;
1839
- type GetV1ToolsFacebookDownloadData = {
1864
+ type DownloadTwitterMediaError = unknown;
1865
+ type DownloadFacebookVideoData = {
1840
1866
  query: {
1841
1867
  /**
1842
1868
  * Facebook video or reel URL
@@ -1844,14 +1870,14 @@ type GetV1ToolsFacebookDownloadData = {
1844
1870
  url: string;
1845
1871
  };
1846
1872
  };
1847
- type GetV1ToolsFacebookDownloadResponse = ({
1873
+ type DownloadFacebookVideoResponse = ({
1848
1874
  success?: boolean;
1849
1875
  title?: string;
1850
1876
  downloadUrl?: string;
1851
1877
  thumbnail?: string;
1852
1878
  });
1853
- type GetV1ToolsFacebookDownloadError = unknown;
1854
- type GetV1ToolsLinkedinDownloadData = {
1879
+ type DownloadFacebookVideoError = unknown;
1880
+ type DownloadLinkedInVideoData = {
1855
1881
  query: {
1856
1882
  /**
1857
1883
  * LinkedIn post URL
@@ -1859,13 +1885,13 @@ type GetV1ToolsLinkedinDownloadData = {
1859
1885
  url: string;
1860
1886
  };
1861
1887
  };
1862
- type GetV1ToolsLinkedinDownloadResponse = ({
1888
+ type DownloadLinkedInVideoResponse = ({
1863
1889
  success?: boolean;
1864
1890
  title?: string;
1865
1891
  downloadUrl?: string;
1866
1892
  });
1867
- type GetV1ToolsLinkedinDownloadError = unknown;
1868
- type GetV1ToolsBlueskyDownloadData = {
1893
+ type DownloadLinkedInVideoError = unknown;
1894
+ type DownloadBlueskyMediaData = {
1869
1895
  query: {
1870
1896
  /**
1871
1897
  * Bluesky post URL
@@ -1873,15 +1899,15 @@ type GetV1ToolsBlueskyDownloadData = {
1873
1899
  url: string;
1874
1900
  };
1875
1901
  };
1876
- type GetV1ToolsBlueskyDownloadResponse = ({
1902
+ type DownloadBlueskyMediaResponse = ({
1877
1903
  success?: boolean;
1878
1904
  title?: string;
1879
1905
  text?: string;
1880
1906
  downloadUrl?: string;
1881
1907
  thumbnail?: string;
1882
1908
  });
1883
- type GetV1ToolsBlueskyDownloadError = unknown;
1884
- type GetV1AnalyticsData = {
1909
+ type DownloadBlueskyMediaError = unknown;
1910
+ type GetAnalyticsData = {
1885
1911
  query?: {
1886
1912
  /**
1887
1913
  * Inclusive lower bound
@@ -1924,14 +1950,14 @@ type GetV1AnalyticsData = {
1924
1950
  toDate?: string;
1925
1951
  };
1926
1952
  };
1927
- type GetV1AnalyticsResponse = ((AnalyticsSinglePostResponse | AnalyticsListResponse));
1928
- type GetV1AnalyticsError = ({
1953
+ type GetAnalyticsResponse = ((AnalyticsSinglePostResponse | AnalyticsListResponse));
1954
+ type GetAnalyticsError = ({
1929
1955
  error?: string;
1930
1956
  } | {
1931
1957
  error?: string;
1932
1958
  code?: string;
1933
1959
  } | ErrorResponse);
1934
- type GetV1AnalyticsYoutubeDailyViewsData = {
1960
+ type GetYouTubeDailyViewsData = {
1935
1961
  query: {
1936
1962
  /**
1937
1963
  * The Late account ID for the YouTube account
@@ -1951,8 +1977,8 @@ type GetV1AnalyticsYoutubeDailyViewsData = {
1951
1977
  videoId: string;
1952
1978
  };
1953
1979
  };
1954
- type GetV1AnalyticsYoutubeDailyViewsResponse = (YouTubeDailyViewsResponse);
1955
- type GetV1AnalyticsYoutubeDailyViewsError = ({
1980
+ type GetYouTubeDailyViewsResponse = (YouTubeDailyViewsResponse);
1981
+ type GetYouTubeDailyViewsError = ({
1956
1982
  error?: string;
1957
1983
  } | {
1958
1984
  error?: string;
@@ -1961,23 +1987,23 @@ type GetV1AnalyticsYoutubeDailyViewsError = ({
1961
1987
  success?: boolean;
1962
1988
  error?: string;
1963
1989
  });
1964
- type GetV1AccountGroupsResponse = ({
1990
+ type ListAccountGroupsResponse = ({
1965
1991
  groups?: Array<{
1966
1992
  _id?: string;
1967
1993
  name?: string;
1968
1994
  accountIds?: Array<(string)>;
1969
1995
  }>;
1970
1996
  });
1971
- type GetV1AccountGroupsError = ({
1997
+ type ListAccountGroupsError = ({
1972
1998
  error?: string;
1973
1999
  });
1974
- type PostV1AccountGroupsData = {
2000
+ type CreateAccountGroupData = {
1975
2001
  body: {
1976
2002
  name: string;
1977
2003
  accountIds: Array<(string)>;
1978
2004
  };
1979
2005
  };
1980
- type PostV1AccountGroupsResponse = ({
2006
+ type CreateAccountGroupResponse = ({
1981
2007
  message?: string;
1982
2008
  group?: {
1983
2009
  _id?: string;
@@ -1985,10 +2011,10 @@ type PostV1AccountGroupsResponse = ({
1985
2011
  accountIds?: Array<(string)>;
1986
2012
  };
1987
2013
  });
1988
- type PostV1AccountGroupsError = (unknown | {
2014
+ type CreateAccountGroupError = (unknown | {
1989
2015
  error?: string;
1990
2016
  });
1991
- type PutV1AccountGroupsByGroupIdData = {
2017
+ type UpdateAccountGroupData = {
1992
2018
  body: {
1993
2019
  name?: string;
1994
2020
  accountIds?: Array<(string)>;
@@ -1997,27 +2023,27 @@ type PutV1AccountGroupsByGroupIdData = {
1997
2023
  groupId: string;
1998
2024
  };
1999
2025
  };
2000
- type PutV1AccountGroupsByGroupIdResponse = ({
2026
+ type UpdateAccountGroupResponse = ({
2001
2027
  message?: string;
2002
2028
  group?: {
2003
2029
  [key: string]: unknown;
2004
2030
  };
2005
2031
  });
2006
- type PutV1AccountGroupsByGroupIdError = ({
2032
+ type UpdateAccountGroupError = ({
2007
2033
  error?: string;
2008
2034
  } | unknown);
2009
- type DeleteV1AccountGroupsByGroupIdData = {
2035
+ type DeleteAccountGroupData = {
2010
2036
  path: {
2011
2037
  groupId: string;
2012
2038
  };
2013
2039
  };
2014
- type DeleteV1AccountGroupsByGroupIdResponse = ({
2040
+ type DeleteAccountGroupResponse = ({
2015
2041
  message?: string;
2016
2042
  });
2017
- type DeleteV1AccountGroupsByGroupIdError = ({
2043
+ type DeleteAccountGroupError = ({
2018
2044
  error?: string;
2019
2045
  });
2020
- type PostV1MediaPresignData = {
2046
+ type GetMediaPresignedUrlData = {
2021
2047
  body: {
2022
2048
  /**
2023
2049
  * Name of the file to upload
@@ -2033,7 +2059,7 @@ type PostV1MediaPresignData = {
2033
2059
  size?: number;
2034
2060
  };
2035
2061
  };
2036
- type PostV1MediaPresignResponse = ({
2062
+ type GetMediaPresignedUrlResponse = ({
2037
2063
  /**
2038
2064
  * Presigned URL to PUT your file to (expires in 1 hour)
2039
2065
  */
@@ -2051,10 +2077,10 @@ type PostV1MediaPresignResponse = ({
2051
2077
  */
2052
2078
  type?: 'image' | 'video' | 'document';
2053
2079
  });
2054
- type PostV1MediaPresignError = ({
2080
+ type GetMediaPresignedUrlError = ({
2055
2081
  error?: string;
2056
2082
  });
2057
- type GetV1RedditSearchData = {
2083
+ type SearchRedditData = {
2058
2084
  query: {
2059
2085
  accountId: string;
2060
2086
  after?: string;
@@ -2065,7 +2091,7 @@ type GetV1RedditSearchData = {
2065
2091
  subreddit?: string;
2066
2092
  };
2067
2093
  };
2068
- type GetV1RedditSearchResponse = ({
2094
+ type SearchRedditResponse = ({
2069
2095
  posts?: Array<{
2070
2096
  id?: string;
2071
2097
  title?: string;
@@ -2079,10 +2105,10 @@ type GetV1RedditSearchResponse = ({
2079
2105
  }>;
2080
2106
  after?: string;
2081
2107
  });
2082
- type GetV1RedditSearchError = (unknown | {
2108
+ type SearchRedditError = (unknown | {
2083
2109
  error?: string;
2084
2110
  });
2085
- type GetV1RedditFeedData = {
2111
+ type GetRedditFeedData = {
2086
2112
  query: {
2087
2113
  accountId: string;
2088
2114
  after?: string;
@@ -2092,20 +2118,20 @@ type GetV1RedditFeedData = {
2092
2118
  t?: 'hour' | 'day' | 'week' | 'month' | 'year' | 'all';
2093
2119
  };
2094
2120
  };
2095
- type GetV1RedditFeedResponse = ({
2121
+ type GetRedditFeedResponse = ({
2096
2122
  posts?: Array<{
2097
2123
  [key: string]: unknown;
2098
2124
  }>;
2099
2125
  after?: string;
2100
2126
  });
2101
- type GetV1RedditFeedError = (unknown | {
2127
+ type GetRedditFeedError = (unknown | {
2102
2128
  error?: string;
2103
2129
  });
2104
- type GetV1UsageStatsResponse = (UsageStats);
2105
- type GetV1UsageStatsError = ({
2130
+ type GetUsageStatsResponse = (UsageStats);
2131
+ type GetUsageStatsError = ({
2106
2132
  error?: string;
2107
2133
  });
2108
- type GetV1PostsData = {
2134
+ type ListPostsData = {
2109
2135
  query?: {
2110
2136
  createdBy?: string;
2111
2137
  dateFrom?: string;
@@ -2124,11 +2150,11 @@ type GetV1PostsData = {
2124
2150
  status?: 'draft' | 'scheduled' | 'published' | 'failed';
2125
2151
  };
2126
2152
  };
2127
- type GetV1PostsResponse = (PostsListResponse);
2128
- type GetV1PostsError = ({
2153
+ type ListPostsResponse = (PostsListResponse);
2154
+ type ListPostsError = ({
2129
2155
  error?: string;
2130
2156
  });
2131
- type PostV1PostsData = {
2157
+ type CreatePostData = {
2132
2158
  body: {
2133
2159
  title?: string;
2134
2160
  content?: string;
@@ -2184,20 +2210,20 @@ type PostV1PostsData = {
2184
2210
  queueId?: string;
2185
2211
  };
2186
2212
  };
2187
- type PostV1PostsResponse = (PostCreateResponse);
2188
- type PostV1PostsError = ({
2213
+ type CreatePostResponse = (PostCreateResponse);
2214
+ type CreatePostError = ({
2189
2215
  error?: string;
2190
2216
  });
2191
- type GetV1PostsByPostIdData = {
2217
+ type GetPostData = {
2192
2218
  path: {
2193
2219
  postId: string;
2194
2220
  };
2195
2221
  };
2196
- type GetV1PostsByPostIdResponse = (PostGetResponse);
2197
- type GetV1PostsByPostIdError = ({
2222
+ type GetPostResponse = (PostGetResponse);
2223
+ type GetPostError = ({
2198
2224
  error?: string;
2199
2225
  } | unknown);
2200
- type PutV1PostsByPostIdData = {
2226
+ type UpdatePostData = {
2201
2227
  body: {
2202
2228
  [key: string]: unknown;
2203
2229
  };
@@ -2205,20 +2231,20 @@ type PutV1PostsByPostIdData = {
2205
2231
  postId: string;
2206
2232
  };
2207
2233
  };
2208
- type PutV1PostsByPostIdResponse = (PostUpdateResponse | unknown);
2209
- type PutV1PostsByPostIdError = (unknown | {
2234
+ type UpdatePostResponse = (PostUpdateResponse | unknown);
2235
+ type UpdatePostError = (unknown | {
2210
2236
  error?: string;
2211
2237
  });
2212
- type DeleteV1PostsByPostIdData = {
2238
+ type DeletePostData = {
2213
2239
  path: {
2214
2240
  postId: string;
2215
2241
  };
2216
2242
  };
2217
- type DeleteV1PostsByPostIdResponse = (PostDeleteResponse);
2218
- type DeleteV1PostsByPostIdError = (unknown | {
2243
+ type DeletePostResponse = (PostDeleteResponse);
2244
+ type DeletePostError = (unknown | {
2219
2245
  error?: string;
2220
2246
  });
2221
- type PostV1PostsBulkUploadData = {
2247
+ type BulkUploadPostsData = {
2222
2248
  body: {
2223
2249
  file?: (Blob | File);
2224
2250
  };
@@ -2226,7 +2252,7 @@ type PostV1PostsBulkUploadData = {
2226
2252
  dryRun?: boolean;
2227
2253
  };
2228
2254
  };
2229
- type PostV1PostsBulkUploadResponse = ({
2255
+ type BulkUploadPostsResponse = ({
2230
2256
  success?: boolean;
2231
2257
  totalRows?: number;
2232
2258
  created?: number;
@@ -2237,19 +2263,19 @@ type PostV1PostsBulkUploadResponse = ({
2237
2263
  }>;
2238
2264
  posts?: Array<Post>;
2239
2265
  } | unknown);
2240
- type PostV1PostsBulkUploadError = (unknown | {
2266
+ type BulkUploadPostsError = (unknown | {
2241
2267
  error?: string;
2242
2268
  });
2243
- type PostV1PostsByPostIdRetryData = {
2269
+ type RetryPostData = {
2244
2270
  path: {
2245
2271
  postId: string;
2246
2272
  };
2247
2273
  };
2248
- type PostV1PostsByPostIdRetryResponse = (PostRetryResponse | unknown);
2249
- type PostV1PostsByPostIdRetryError = (unknown | {
2274
+ type RetryPostResponse = (PostRetryResponse | unknown);
2275
+ type RetryPostError = (unknown | {
2250
2276
  error?: string;
2251
2277
  });
2252
- type GetV1UsersResponse = ({
2278
+ type ListUsersResponse = ({
2253
2279
  currentUserId?: string;
2254
2280
  users?: Array<{
2255
2281
  _id?: string;
@@ -2261,15 +2287,15 @@ type GetV1UsersResponse = ({
2261
2287
  createdAt?: string;
2262
2288
  }>;
2263
2289
  });
2264
- type GetV1UsersError = ({
2290
+ type ListUsersError = ({
2265
2291
  error?: string;
2266
2292
  });
2267
- type GetV1UsersByUserIdData = {
2293
+ type GetUserData = {
2268
2294
  path: {
2269
2295
  userId: string;
2270
2296
  };
2271
2297
  };
2272
- type GetV1UsersByUserIdResponse = ({
2298
+ type GetUserResponse = ({
2273
2299
  user?: {
2274
2300
  _id?: string;
2275
2301
  name?: string;
@@ -2279,10 +2305,10 @@ type GetV1UsersByUserIdResponse = ({
2279
2305
  profileAccess?: Array<(string)>;
2280
2306
  };
2281
2307
  });
2282
- type GetV1UsersByUserIdError = ({
2308
+ type GetUserError = ({
2283
2309
  error?: string;
2284
2310
  } | unknown);
2285
- type GetV1ProfilesData = {
2311
+ type ListProfilesData = {
2286
2312
  query?: {
2287
2313
  /**
2288
2314
  * When true, includes profiles that exceed the user's plan limit.
@@ -2293,33 +2319,33 @@ type GetV1ProfilesData = {
2293
2319
  includeOverLimit?: boolean;
2294
2320
  };
2295
2321
  };
2296
- type GetV1ProfilesResponse = (ProfilesListResponse);
2297
- type GetV1ProfilesError = ({
2322
+ type ListProfilesResponse = (ProfilesListResponse);
2323
+ type ListProfilesError = ({
2298
2324
  error?: string;
2299
2325
  });
2300
- type PostV1ProfilesData = {
2326
+ type CreateProfileData = {
2301
2327
  body: {
2302
2328
  name: string;
2303
2329
  description?: string;
2304
2330
  color?: string;
2305
2331
  };
2306
2332
  };
2307
- type PostV1ProfilesResponse = (ProfileCreateResponse);
2308
- type PostV1ProfilesError = (unknown | {
2333
+ type CreateProfileResponse = (ProfileCreateResponse);
2334
+ type CreateProfileError = (unknown | {
2309
2335
  error?: string;
2310
2336
  });
2311
- type GetV1ProfilesByProfileIdData = {
2337
+ type GetProfileData = {
2312
2338
  path: {
2313
2339
  profileId: string;
2314
2340
  };
2315
2341
  };
2316
- type GetV1ProfilesByProfileIdResponse = ({
2342
+ type GetProfileResponse = ({
2317
2343
  profile?: Profile;
2318
2344
  });
2319
- type GetV1ProfilesByProfileIdError = ({
2345
+ type GetProfileError = ({
2320
2346
  error?: string;
2321
2347
  });
2322
- type PutV1ProfilesByProfileIdData = {
2348
+ type UpdateProfileData = {
2323
2349
  body: {
2324
2350
  name?: string;
2325
2351
  description?: string;
@@ -2330,25 +2356,25 @@ type PutV1ProfilesByProfileIdData = {
2330
2356
  profileId: string;
2331
2357
  };
2332
2358
  };
2333
- type PutV1ProfilesByProfileIdResponse = ({
2359
+ type UpdateProfileResponse = ({
2334
2360
  message?: string;
2335
2361
  profile?: Profile;
2336
2362
  });
2337
- type PutV1ProfilesByProfileIdError = ({
2363
+ type UpdateProfileError = ({
2338
2364
  error?: string;
2339
2365
  });
2340
- type DeleteV1ProfilesByProfileIdData = {
2366
+ type DeleteProfileData = {
2341
2367
  path: {
2342
2368
  profileId: string;
2343
2369
  };
2344
2370
  };
2345
- type DeleteV1ProfilesByProfileIdResponse = ({
2371
+ type DeleteProfileResponse = ({
2346
2372
  message?: string;
2347
2373
  });
2348
- type DeleteV1ProfilesByProfileIdError = (unknown | {
2374
+ type DeleteProfileError = (unknown | {
2349
2375
  error?: string;
2350
2376
  });
2351
- type GetV1AccountsData = {
2377
+ type ListAccountsData = {
2352
2378
  query?: {
2353
2379
  /**
2354
2380
  * When true, includes accounts from profiles that exceed the user's plan limit.
@@ -2362,17 +2388,17 @@ type GetV1AccountsData = {
2362
2388
  profileId?: string;
2363
2389
  };
2364
2390
  };
2365
- type GetV1AccountsResponse = ({
2391
+ type ListAccountsResponse = ({
2366
2392
  accounts?: Array<SocialAccount>;
2367
2393
  /**
2368
2394
  * Whether user has analytics add-on access
2369
2395
  */
2370
2396
  hasAnalyticsAccess?: boolean;
2371
2397
  });
2372
- type GetV1AccountsError = ({
2398
+ type ListAccountsError = ({
2373
2399
  error?: string;
2374
2400
  });
2375
- type GetV1AccountsFollowerStatsData = {
2401
+ type GetFollowerStatsData = {
2376
2402
  query?: {
2377
2403
  /**
2378
2404
  * Comma-separated list of account IDs (optional, defaults to all user's accounts)
@@ -2396,7 +2422,7 @@ type GetV1AccountsFollowerStatsData = {
2396
2422
  toDate?: string;
2397
2423
  };
2398
2424
  };
2399
- type GetV1AccountsFollowerStatsResponse = ({
2425
+ type GetFollowerStatsResponse = ({
2400
2426
  accounts?: Array<AccountWithFollowerStats>;
2401
2427
  stats?: {
2402
2428
  [key: string]: Array<{
@@ -2410,14 +2436,14 @@ type GetV1AccountsFollowerStatsResponse = ({
2410
2436
  };
2411
2437
  granularity?: string;
2412
2438
  });
2413
- type GetV1AccountsFollowerStatsError = ({
2439
+ type GetFollowerStatsError = ({
2414
2440
  error?: string;
2415
2441
  } | {
2416
2442
  error?: string;
2417
2443
  message?: string;
2418
2444
  requiresAddon?: boolean;
2419
2445
  });
2420
- type PutV1AccountsByAccountIdData = {
2446
+ type UpdateAccountData = {
2421
2447
  body: {
2422
2448
  username?: string;
2423
2449
  displayName?: string;
@@ -2426,26 +2452,26 @@ type PutV1AccountsByAccountIdData = {
2426
2452
  accountId: string;
2427
2453
  };
2428
2454
  };
2429
- type PutV1AccountsByAccountIdResponse = ({
2455
+ type UpdateAccountResponse = ({
2430
2456
  message?: string;
2431
2457
  username?: string;
2432
2458
  displayName?: string;
2433
2459
  });
2434
- type PutV1AccountsByAccountIdError = (unknown | {
2460
+ type UpdateAccountError = (unknown | {
2435
2461
  error?: string;
2436
2462
  });
2437
- type DeleteV1AccountsByAccountIdData = {
2463
+ type DeleteAccountData = {
2438
2464
  path: {
2439
2465
  accountId: string;
2440
2466
  };
2441
2467
  };
2442
- type DeleteV1AccountsByAccountIdResponse = ({
2468
+ type DeleteAccountResponse = ({
2443
2469
  message?: string;
2444
2470
  });
2445
- type DeleteV1AccountsByAccountIdError = ({
2471
+ type DeleteAccountError = ({
2446
2472
  error?: string;
2447
2473
  });
2448
- type GetV1AccountsHealthData = {
2474
+ type GetAllAccountsHealthData = {
2449
2475
  query?: {
2450
2476
  /**
2451
2477
  * Filter by platform
@@ -2461,7 +2487,7 @@ type GetV1AccountsHealthData = {
2461
2487
  status?: 'healthy' | 'warning' | 'error';
2462
2488
  };
2463
2489
  };
2464
- type GetV1AccountsHealthResponse = ({
2490
+ type GetAllAccountsHealthResponse = ({
2465
2491
  summary?: {
2466
2492
  /**
2467
2493
  * Total number of accounts
@@ -2499,10 +2525,10 @@ type GetV1AccountsHealthResponse = ({
2499
2525
  issues?: Array<(string)>;
2500
2526
  }>;
2501
2527
  });
2502
- type GetV1AccountsHealthError = ({
2528
+ type GetAllAccountsHealthError = ({
2503
2529
  error?: string;
2504
2530
  });
2505
- type GetV1AccountsByAccountIdHealthData = {
2531
+ type GetAccountHealthData = {
2506
2532
  path: {
2507
2533
  /**
2508
2534
  * The account ID to check
@@ -2510,7 +2536,7 @@ type GetV1AccountsByAccountIdHealthData = {
2510
2536
  accountId: string;
2511
2537
  };
2512
2538
  };
2513
- type GetV1AccountsByAccountIdHealthResponse = ({
2539
+ type GetAccountHealthResponse = ({
2514
2540
  accountId?: string;
2515
2541
  platform?: string;
2516
2542
  username?: string;
@@ -2563,16 +2589,16 @@ type GetV1AccountsByAccountIdHealthResponse = ({
2563
2589
  */
2564
2590
  recommendations?: Array<(string)>;
2565
2591
  });
2566
- type GetV1AccountsByAccountIdHealthError = ({
2592
+ type GetAccountHealthError = ({
2567
2593
  error?: string;
2568
2594
  });
2569
- type GetV1ApiKeysResponse = ({
2595
+ type ListApiKeysResponse = ({
2570
2596
  apiKeys?: Array<ApiKey>;
2571
2597
  });
2572
- type GetV1ApiKeysError = ({
2598
+ type ListApiKeysError = ({
2573
2599
  error?: string;
2574
2600
  });
2575
- type PostV1ApiKeysData = {
2601
+ type CreateApiKeyData = {
2576
2602
  body: {
2577
2603
  name: string;
2578
2604
  /**
@@ -2581,25 +2607,25 @@ type PostV1ApiKeysData = {
2581
2607
  expiresIn?: number;
2582
2608
  };
2583
2609
  };
2584
- type PostV1ApiKeysResponse = ({
2610
+ type CreateApiKeyResponse = ({
2585
2611
  message?: string;
2586
2612
  apiKey?: ApiKey;
2587
2613
  });
2588
- type PostV1ApiKeysError = (unknown | {
2614
+ type CreateApiKeyError = (unknown | {
2589
2615
  error?: string;
2590
2616
  });
2591
- type DeleteV1ApiKeysByKeyIdData = {
2617
+ type DeleteApiKeyData = {
2592
2618
  path: {
2593
2619
  keyId: string;
2594
2620
  };
2595
2621
  };
2596
- type DeleteV1ApiKeysByKeyIdResponse = ({
2622
+ type DeleteApiKeyResponse = ({
2597
2623
  message?: string;
2598
2624
  });
2599
- type DeleteV1ApiKeysByKeyIdError = ({
2625
+ type DeleteApiKeyError = ({
2600
2626
  error?: string;
2601
2627
  });
2602
- type PostV1InviteTokensData = {
2628
+ type CreateInviteTokenData = {
2603
2629
  body: {
2604
2630
  /**
2605
2631
  * 'all' grants access to all profiles, 'profiles' restricts to specific profiles
@@ -2611,98 +2637,17 @@ type PostV1InviteTokensData = {
2611
2637
  profileIds?: Array<(string)>;
2612
2638
  };
2613
2639
  };
2614
- type PostV1InviteTokensResponse = ({
2640
+ type CreateInviteTokenResponse = ({
2615
2641
  token?: string;
2616
2642
  scope?: string;
2617
2643
  invitedProfileIds?: Array<(string)>;
2618
2644
  expiresAt?: string;
2619
2645
  inviteUrl?: string;
2620
2646
  });
2621
- type PostV1InviteTokensError = (unknown | {
2622
- error?: string;
2623
- });
2624
- type GetV1PlatformInvitesData = {
2625
- query?: {
2626
- /**
2627
- * Optional. Filter invites by profile ID
2628
- */
2629
- profileId?: string;
2630
- };
2631
- };
2632
- type GetV1PlatformInvitesResponse = ({
2633
- invites?: Array<{
2634
- _id?: string;
2635
- token?: string;
2636
- userId?: string;
2637
- /**
2638
- * Populated profile object (not a string ID)
2639
- */
2640
- profileId?: {
2641
- _id?: string;
2642
- name?: string;
2643
- };
2644
- platform?: string;
2645
- inviterName?: string;
2646
- inviterEmail?: string;
2647
- expiresAt?: string;
2648
- isUsed?: boolean;
2649
- createdAt?: string;
2650
- }>;
2651
- });
2652
- type GetV1PlatformInvitesError = ({
2653
- error?: string;
2654
- });
2655
- type PostV1PlatformInvitesData = {
2656
- body: {
2657
- /**
2658
- * Profile ID to connect the account to
2659
- */
2660
- profileId: string;
2661
- /**
2662
- * Platform to connect
2663
- */
2664
- platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'threads' | 'tiktok' | 'youtube' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
2665
- };
2666
- };
2667
- type PostV1PlatformInvitesResponse = ({
2668
- invite?: {
2669
- _id?: string;
2670
- token?: string;
2671
- userId?: string;
2672
- /**
2673
- * Populated profile object (not a string ID)
2674
- */
2675
- profileId?: {
2676
- _id?: string;
2677
- name?: string;
2678
- };
2679
- platform?: string;
2680
- inviterName?: string;
2681
- inviterEmail?: string;
2682
- expiresAt?: string;
2683
- isUsed?: boolean;
2684
- createdAt?: string;
2685
- inviteUrl?: string;
2686
- };
2687
- });
2688
- type PostV1PlatformInvitesError = (unknown | {
2689
- error?: string;
2690
- });
2691
- type DeleteV1PlatformInvitesData = {
2692
- query: {
2693
- /**
2694
- * Invite ID to revoke
2695
- */
2696
- id: string;
2697
- };
2698
- };
2699
- type DeleteV1PlatformInvitesResponse = ({
2700
- message?: string;
2701
- });
2702
- type DeleteV1PlatformInvitesError = (unknown | {
2647
+ type CreateInviteTokenError = (unknown | {
2703
2648
  error?: string;
2704
2649
  });
2705
- type GetV1ConnectByPlatformData = {
2650
+ type GetConnectUrlData = {
2706
2651
  path: {
2707
2652
  /**
2708
2653
  * Social media platform to connect
@@ -2751,7 +2696,7 @@ type GetV1ConnectByPlatformData = {
2751
2696
  redirect_url?: string;
2752
2697
  };
2753
2698
  };
2754
- type GetV1ConnectByPlatformResponse = ({
2699
+ type GetConnectUrlResponse = ({
2755
2700
  /**
2756
2701
  * URL to redirect your user to for OAuth authorization
2757
2702
  */
@@ -2761,10 +2706,10 @@ type GetV1ConnectByPlatformResponse = ({
2761
2706
  */
2762
2707
  state?: string;
2763
2708
  });
2764
- type GetV1ConnectByPlatformError = (unknown | {
2709
+ type GetConnectUrlError = (unknown | {
2765
2710
  error?: string;
2766
2711
  });
2767
- type PostV1ConnectByPlatformData = {
2712
+ type HandleOAuthCallbackData = {
2768
2713
  body: {
2769
2714
  code: string;
2770
2715
  state: string;
@@ -2774,11 +2719,11 @@ type PostV1ConnectByPlatformData = {
2774
2719
  platform: string;
2775
2720
  };
2776
2721
  };
2777
- type PostV1ConnectByPlatformResponse = (unknown);
2778
- type PostV1ConnectByPlatformError = (unknown | {
2722
+ type HandleOAuthCallbackResponse = (unknown);
2723
+ type HandleOAuthCallbackError = (unknown | {
2779
2724
  error?: string;
2780
2725
  });
2781
- type GetV1ConnectFacebookSelectPageData = {
2726
+ type ListFacebookPagesData = {
2782
2727
  query: {
2783
2728
  /**
2784
2729
  * Profile ID from your connection flow
@@ -2790,7 +2735,7 @@ type GetV1ConnectFacebookSelectPageData = {
2790
2735
  tempToken: string;
2791
2736
  };
2792
2737
  };
2793
- type GetV1ConnectFacebookSelectPageResponse = ({
2738
+ type ListFacebookPagesResponse = ({
2794
2739
  pages?: Array<{
2795
2740
  /**
2796
2741
  * Facebook Page ID
@@ -2818,10 +2763,10 @@ type GetV1ConnectFacebookSelectPageResponse = ({
2818
2763
  tasks?: Array<(string)>;
2819
2764
  }>;
2820
2765
  });
2821
- type GetV1ConnectFacebookSelectPageError = (unknown | {
2766
+ type ListFacebookPagesError = (unknown | {
2822
2767
  error?: string;
2823
2768
  });
2824
- type PostV1ConnectFacebookSelectPageData = {
2769
+ type SelectFacebookPageData = {
2825
2770
  body: {
2826
2771
  /**
2827
2772
  * Profile ID from your connection flow
@@ -2849,7 +2794,7 @@ type PostV1ConnectFacebookSelectPageData = {
2849
2794
  redirect_url?: string;
2850
2795
  };
2851
2796
  };
2852
- type PostV1ConnectFacebookSelectPageResponse = ({
2797
+ type SelectFacebookPageResponse = ({
2853
2798
  message?: string;
2854
2799
  /**
2855
2800
  * Redirect URL if custom redirect_url was provided
@@ -2864,10 +2809,10 @@ type PostV1ConnectFacebookSelectPageResponse = ({
2864
2809
  selectedPageName?: string;
2865
2810
  };
2866
2811
  });
2867
- type PostV1ConnectFacebookSelectPageError = (unknown | {
2812
+ type SelectFacebookPageError = (unknown | {
2868
2813
  error?: string;
2869
2814
  });
2870
- type GetV1ConnectGooglebusinessLocationsData = {
2815
+ type ListGoogleBusinessLocationsData = {
2871
2816
  query: {
2872
2817
  /**
2873
2818
  * Profile ID from your connection flow
@@ -2879,7 +2824,7 @@ type GetV1ConnectGooglebusinessLocationsData = {
2879
2824
  tempToken: string;
2880
2825
  };
2881
2826
  };
2882
- type GetV1ConnectGooglebusinessLocationsResponse = ({
2827
+ type ListGoogleBusinessLocationsResponse = ({
2883
2828
  locations?: Array<{
2884
2829
  /**
2885
2830
  * Location ID
@@ -2907,10 +2852,10 @@ type GetV1ConnectGooglebusinessLocationsResponse = ({
2907
2852
  category?: string;
2908
2853
  }>;
2909
2854
  });
2910
- type GetV1ConnectGooglebusinessLocationsError = (unknown | {
2855
+ type ListGoogleBusinessLocationsError = (unknown | {
2911
2856
  error?: string;
2912
2857
  });
2913
- type PostV1ConnectGooglebusinessSelectLocationData = {
2858
+ type SelectGoogleBusinessLocationData = {
2914
2859
  body: {
2915
2860
  /**
2916
2861
  * Profile ID from your connection flow
@@ -2951,7 +2896,7 @@ type PostV1ConnectGooglebusinessSelectLocationData = {
2951
2896
  redirect_url?: string;
2952
2897
  };
2953
2898
  };
2954
- type PostV1ConnectGooglebusinessSelectLocationResponse = ({
2899
+ type SelectGoogleBusinessLocationResponse = ({
2955
2900
  message?: string;
2956
2901
  /**
2957
2902
  * Redirect URL if custom redirect_url was provided
@@ -2966,10 +2911,10 @@ type PostV1ConnectGooglebusinessSelectLocationResponse = ({
2966
2911
  selectedLocationId?: string;
2967
2912
  };
2968
2913
  });
2969
- type PostV1ConnectGooglebusinessSelectLocationError = (unknown | {
2914
+ type SelectGoogleBusinessLocationError = (unknown | {
2970
2915
  error?: string;
2971
2916
  });
2972
- type GetV1AccountsByAccountIdGmbReviewsData = {
2917
+ type GetGoogleBusinessReviewsData = {
2973
2918
  path: {
2974
2919
  /**
2975
2920
  * The Late account ID (from /v1/accounts)
@@ -2987,7 +2932,7 @@ type GetV1AccountsByAccountIdGmbReviewsData = {
2987
2932
  pageToken?: string;
2988
2933
  };
2989
2934
  };
2990
- type GetV1AccountsByAccountIdGmbReviewsResponse = ({
2935
+ type GetGoogleBusinessReviewsResponse = ({
2991
2936
  success?: boolean;
2992
2937
  accountId?: string;
2993
2938
  locationId?: string;
@@ -3040,10 +2985,10 @@ type GetV1AccountsByAccountIdGmbReviewsResponse = ({
3040
2985
  */
3041
2986
  nextPageToken?: (string) | null;
3042
2987
  });
3043
- type GetV1AccountsByAccountIdGmbReviewsError = (ErrorResponse | {
2988
+ type GetGoogleBusinessReviewsError = (ErrorResponse | {
3044
2989
  error?: string;
3045
2990
  });
3046
- type GetV1ConnectLinkedinOrganizationsData = {
2991
+ type ListLinkedInOrganizationsData = {
3047
2992
  query: {
3048
2993
  /**
3049
2994
  * Comma-separated list of organization IDs to fetch details for (max 100)
@@ -3055,7 +3000,7 @@ type GetV1ConnectLinkedinOrganizationsData = {
3055
3000
  tempToken: string;
3056
3001
  };
3057
3002
  };
3058
- type GetV1ConnectLinkedinOrganizationsResponse = ({
3003
+ type ListLinkedInOrganizationsResponse = ({
3059
3004
  organizations?: Array<{
3060
3005
  /**
3061
3006
  * Organization ID
@@ -3083,10 +3028,10 @@ type GetV1ConnectLinkedinOrganizationsResponse = ({
3083
3028
  description?: string;
3084
3029
  }>;
3085
3030
  });
3086
- type GetV1ConnectLinkedinOrganizationsError = ({
3031
+ type ListLinkedInOrganizationsError = ({
3087
3032
  error?: string;
3088
3033
  } | unknown);
3089
- type PostV1ConnectLinkedinSelectOrganizationData = {
3034
+ type SelectLinkedInOrganizationData = {
3090
3035
  body: {
3091
3036
  profileId: string;
3092
3037
  tempToken: string;
@@ -3100,14 +3045,14 @@ type PostV1ConnectLinkedinSelectOrganizationData = {
3100
3045
  redirect_url?: string;
3101
3046
  };
3102
3047
  };
3103
- type PostV1ConnectLinkedinSelectOrganizationResponse = ({
3048
+ type SelectLinkedInOrganizationResponse = ({
3104
3049
  message?: string;
3105
3050
  account?: SocialAccount;
3106
3051
  });
3107
- type PostV1ConnectLinkedinSelectOrganizationError = (unknown | {
3052
+ type SelectLinkedInOrganizationError = (unknown | {
3108
3053
  error?: string;
3109
3054
  });
3110
- type GetV1ConnectPinterestSelectBoardData = {
3055
+ type ListPinterestBoardsForSelectionData = {
3111
3056
  headers: {
3112
3057
  /**
3113
3058
  * Short-lived connect token from the OAuth redirect
@@ -3125,7 +3070,7 @@ type GetV1ConnectPinterestSelectBoardData = {
3125
3070
  tempToken: string;
3126
3071
  };
3127
3072
  };
3128
- type GetV1ConnectPinterestSelectBoardResponse = ({
3073
+ type ListPinterestBoardsForSelectionResponse = ({
3129
3074
  boards?: Array<{
3130
3075
  /**
3131
3076
  * Pinterest Board ID
@@ -3145,10 +3090,10 @@ type GetV1ConnectPinterestSelectBoardResponse = ({
3145
3090
  privacy?: string;
3146
3091
  }>;
3147
3092
  });
3148
- type GetV1ConnectPinterestSelectBoardError = (unknown | {
3093
+ type ListPinterestBoardsForSelectionError = (unknown | {
3149
3094
  error?: string;
3150
3095
  });
3151
- type PostV1ConnectPinterestSelectBoardData = {
3096
+ type SelectPinterestBoardData = {
3152
3097
  body: {
3153
3098
  /**
3154
3099
  * Your Late profile ID
@@ -3186,7 +3131,7 @@ type PostV1ConnectPinterestSelectBoardData = {
3186
3131
  redirect_url?: string;
3187
3132
  };
3188
3133
  };
3189
- type PostV1ConnectPinterestSelectBoardResponse = ({
3134
+ type SelectPinterestBoardResponse = ({
3190
3135
  message?: string;
3191
3136
  /**
3192
3137
  * Redirect URL with connection params (if provided)
@@ -3201,10 +3146,10 @@ type PostV1ConnectPinterestSelectBoardResponse = ({
3201
3146
  defaultBoardName?: string;
3202
3147
  };
3203
3148
  });
3204
- type PostV1ConnectPinterestSelectBoardError = (unknown | {
3149
+ type SelectPinterestBoardError = (unknown | {
3205
3150
  error?: string;
3206
3151
  });
3207
- type GetV1ConnectSnapchatSelectProfileData = {
3152
+ type ListSnapchatProfilesData = {
3208
3153
  headers: {
3209
3154
  /**
3210
3155
  * Short-lived connect token from the OAuth redirect
@@ -3222,7 +3167,7 @@ type GetV1ConnectSnapchatSelectProfileData = {
3222
3167
  tempToken: string;
3223
3168
  };
3224
3169
  };
3225
- type GetV1ConnectSnapchatSelectProfileResponse = ({
3170
+ type ListSnapchatProfilesResponse = ({
3226
3171
  publicProfiles?: Array<{
3227
3172
  /**
3228
3173
  * Snapchat Public Profile ID
@@ -3246,10 +3191,10 @@ type GetV1ConnectSnapchatSelectProfileResponse = ({
3246
3191
  subscriber_count?: number;
3247
3192
  }>;
3248
3193
  });
3249
- type GetV1ConnectSnapchatSelectProfileError = (unknown | {
3194
+ type ListSnapchatProfilesError = (unknown | {
3250
3195
  error?: string;
3251
3196
  });
3252
- type PostV1ConnectSnapchatSelectProfileData = {
3197
+ type SelectSnapchatProfileData = {
3253
3198
  body: {
3254
3199
  /**
3255
3200
  * Your Late profile ID
@@ -3310,7 +3255,7 @@ type PostV1ConnectSnapchatSelectProfileData = {
3310
3255
  'X-Connect-Token'?: string;
3311
3256
  };
3312
3257
  };
3313
- type PostV1ConnectSnapchatSelectProfileResponse = ({
3258
+ type SelectSnapchatProfileResponse = ({
3314
3259
  message?: string;
3315
3260
  /**
3316
3261
  * Redirect URL with connection params (if provided in request)
@@ -3325,10 +3270,10 @@ type PostV1ConnectSnapchatSelectProfileResponse = ({
3325
3270
  publicProfileName?: string;
3326
3271
  };
3327
3272
  });
3328
- type PostV1ConnectSnapchatSelectProfileError = (unknown | {
3273
+ type SelectSnapchatProfileError = (unknown | {
3329
3274
  error?: string;
3330
3275
  });
3331
- type PostV1ConnectBlueskyCredentialsData = {
3276
+ type ConnectBlueskyCredentialsData = {
3332
3277
  body: {
3333
3278
  /**
3334
3279
  * Your Bluesky handle (e.g. user.bsky.social) or email address
@@ -3351,14 +3296,14 @@ type PostV1ConnectBlueskyCredentialsData = {
3351
3296
  redirectUri?: string;
3352
3297
  };
3353
3298
  };
3354
- type PostV1ConnectBlueskyCredentialsResponse = ({
3299
+ type ConnectBlueskyCredentialsResponse = ({
3355
3300
  message?: string;
3356
3301
  account?: SocialAccount;
3357
3302
  });
3358
- type PostV1ConnectBlueskyCredentialsError = (unknown | {
3303
+ type ConnectBlueskyCredentialsError = (unknown | {
3359
3304
  error?: string;
3360
3305
  });
3361
- type GetV1ConnectTelegramData = {
3306
+ type GetTelegramConnectStatusData = {
3362
3307
  query: {
3363
3308
  /**
3364
3309
  * The profile ID to connect the Telegram account to
@@ -3366,7 +3311,7 @@ type GetV1ConnectTelegramData = {
3366
3311
  profileId: string;
3367
3312
  };
3368
3313
  };
3369
- type GetV1ConnectTelegramResponse = ({
3314
+ type GetTelegramConnectStatusResponse = ({
3370
3315
  /**
3371
3316
  * The access code to send to the Telegram bot
3372
3317
  */
@@ -3388,10 +3333,10 @@ type GetV1ConnectTelegramResponse = ({
3388
3333
  */
3389
3334
  instructions?: Array<(string)>;
3390
3335
  });
3391
- type GetV1ConnectTelegramError = (unknown | {
3336
+ type GetTelegramConnectStatusError = (unknown | {
3392
3337
  error?: string;
3393
3338
  });
3394
- type PostV1ConnectTelegramData = {
3339
+ type InitiateTelegramConnectData = {
3395
3340
  body: {
3396
3341
  /**
3397
3342
  * The Telegram chat ID. Can be:
@@ -3406,7 +3351,7 @@ type PostV1ConnectTelegramData = {
3406
3351
  profileId: string;
3407
3352
  };
3408
3353
  };
3409
- type PostV1ConnectTelegramResponse = ({
3354
+ type InitiateTelegramConnectResponse = ({
3410
3355
  message?: string;
3411
3356
  account?: {
3412
3357
  _id?: string;
@@ -3417,10 +3362,10 @@ type PostV1ConnectTelegramResponse = ({
3417
3362
  chatType?: 'channel' | 'group' | 'supergroup' | 'private';
3418
3363
  };
3419
3364
  });
3420
- type PostV1ConnectTelegramError = (unknown | {
3365
+ type InitiateTelegramConnectError = (unknown | {
3421
3366
  error?: string;
3422
3367
  });
3423
- type PatchV1ConnectTelegramData = {
3368
+ type CompleteTelegramConnectData = {
3424
3369
  query: {
3425
3370
  /**
3426
3371
  * The access code to check status for
@@ -3428,7 +3373,7 @@ type PatchV1ConnectTelegramData = {
3428
3373
  code: string;
3429
3374
  };
3430
3375
  };
3431
- type PatchV1ConnectTelegramResponse = (({
3376
+ type CompleteTelegramConnectResponse = (({
3432
3377
  status?: 'pending';
3433
3378
  expiresAt?: string;
3434
3379
  /**
@@ -3450,10 +3395,10 @@ type PatchV1ConnectTelegramResponse = (({
3450
3395
  status?: 'expired';
3451
3396
  message?: string;
3452
3397
  }));
3453
- type PatchV1ConnectTelegramError = ({
3398
+ type CompleteTelegramConnectError = ({
3454
3399
  error?: string;
3455
3400
  } | unknown);
3456
- type PutV1AccountsByAccountIdFacebookPageData = {
3401
+ type UpdateFacebookPageData = {
3457
3402
  body: {
3458
3403
  selectedPageId: string;
3459
3404
  };
@@ -3461,19 +3406,19 @@ type PutV1AccountsByAccountIdFacebookPageData = {
3461
3406
  accountId: string;
3462
3407
  };
3463
3408
  };
3464
- type PutV1AccountsByAccountIdFacebookPageResponse = ({
3409
+ type UpdateFacebookPageResponse = ({
3465
3410
  message?: string;
3466
3411
  account?: SocialAccount;
3467
3412
  });
3468
- type PutV1AccountsByAccountIdFacebookPageError = (unknown | {
3413
+ type UpdateFacebookPageError = (unknown | {
3469
3414
  error?: string;
3470
3415
  });
3471
- type GetV1AccountsByAccountIdLinkedinOrganizationsData = {
3416
+ type GetLinkedInOrganizationsData = {
3472
3417
  path: {
3473
3418
  accountId: string;
3474
3419
  };
3475
3420
  };
3476
- type GetV1AccountsByAccountIdLinkedinOrganizationsResponse = ({
3421
+ type GetLinkedInOrganizationsResponse = ({
3477
3422
  organizations?: Array<{
3478
3423
  id?: string;
3479
3424
  name?: string;
@@ -3481,10 +3426,10 @@ type GetV1AccountsByAccountIdLinkedinOrganizationsResponse = ({
3481
3426
  localizedName?: string;
3482
3427
  }>;
3483
3428
  });
3484
- type GetV1AccountsByAccountIdLinkedinOrganizationsError = ({
3429
+ type GetLinkedInOrganizationsError = ({
3485
3430
  error?: string;
3486
3431
  } | unknown);
3487
- type GetV1AccountsByAccountIdLinkedinAggregateAnalyticsData = {
3432
+ type GetLinkedInAggregateAnalyticsData = {
3488
3433
  path: {
3489
3434
  /**
3490
3435
  * The ID of the LinkedIn personal account
@@ -3522,8 +3467,8 @@ type GetV1AccountsByAccountIdLinkedinAggregateAnalyticsData = {
3522
3467
  startDate?: string;
3523
3468
  };
3524
3469
  };
3525
- type GetV1AccountsByAccountIdLinkedinAggregateAnalyticsResponse = ((LinkedInAggregateAnalyticsTotalResponse | LinkedInAggregateAnalyticsDailyResponse));
3526
- type GetV1AccountsByAccountIdLinkedinAggregateAnalyticsError = ({
3470
+ type GetLinkedInAggregateAnalyticsResponse = ((LinkedInAggregateAnalyticsTotalResponse | LinkedInAggregateAnalyticsDailyResponse));
3471
+ type GetLinkedInAggregateAnalyticsError = ({
3527
3472
  error?: string;
3528
3473
  code?: string;
3529
3474
  validOptions?: Array<(string)>;
@@ -3538,7 +3483,7 @@ type GetV1AccountsByAccountIdLinkedinAggregateAnalyticsError = ({
3538
3483
  requiredScope?: string;
3539
3484
  action?: string;
3540
3485
  } | unknown);
3541
- type GetV1AccountsByAccountIdLinkedinPostAnalyticsData = {
3486
+ type GetLinkedInPostAnalyticsData = {
3542
3487
  path: {
3543
3488
  /**
3544
3489
  * The ID of the LinkedIn account
@@ -3552,7 +3497,7 @@ type GetV1AccountsByAccountIdLinkedinPostAnalyticsData = {
3552
3497
  urn: string;
3553
3498
  };
3554
3499
  };
3555
- type GetV1AccountsByAccountIdLinkedinPostAnalyticsResponse = ({
3500
+ type GetLinkedInPostAnalyticsResponse = ({
3556
3501
  accountId?: string;
3557
3502
  platform?: string;
3558
3503
  accountType?: 'personal' | 'organization';
@@ -3594,7 +3539,7 @@ type GetV1AccountsByAccountIdLinkedinPostAnalyticsResponse = ({
3594
3539
  };
3595
3540
  lastUpdated?: string;
3596
3541
  });
3597
- type GetV1AccountsByAccountIdLinkedinPostAnalyticsError = ({
3542
+ type GetLinkedInPostAnalyticsError = ({
3598
3543
  error?: string;
3599
3544
  code?: 'missing_urn' | 'invalid_urn' | 'invalid_platform';
3600
3545
  } | {
@@ -3608,7 +3553,7 @@ type GetV1AccountsByAccountIdLinkedinPostAnalyticsError = ({
3608
3553
  error?: string;
3609
3554
  code?: string;
3610
3555
  });
3611
- type PutV1AccountsByAccountIdLinkedinOrganizationData = {
3556
+ type UpdateLinkedInOrganizationData = {
3612
3557
  body: {
3613
3558
  accountType: 'personal' | 'organization';
3614
3559
  selectedOrganization?: {
@@ -3619,14 +3564,14 @@ type PutV1AccountsByAccountIdLinkedinOrganizationData = {
3619
3564
  accountId: string;
3620
3565
  };
3621
3566
  };
3622
- type PutV1AccountsByAccountIdLinkedinOrganizationResponse = ({
3567
+ type UpdateLinkedInOrganizationResponse = ({
3623
3568
  message?: string;
3624
3569
  account?: SocialAccount;
3625
3570
  });
3626
- type PutV1AccountsByAccountIdLinkedinOrganizationError = (unknown | {
3571
+ type UpdateLinkedInOrganizationError = (unknown | {
3627
3572
  error?: string;
3628
3573
  });
3629
- type GetV1AccountsByAccountIdLinkedinMentionsData = {
3574
+ type GetLinkedInMentionsData = {
3630
3575
  path: {
3631
3576
  /**
3632
3577
  * The LinkedIn account ID
@@ -3650,7 +3595,7 @@ type GetV1AccountsByAccountIdLinkedinMentionsData = {
3650
3595
  url: string;
3651
3596
  };
3652
3597
  };
3653
- type GetV1AccountsByAccountIdLinkedinMentionsResponse = ({
3598
+ type GetLinkedInMentionsResponse = ({
3654
3599
  /**
3655
3600
  * The LinkedIn URN (person or organization)
3656
3601
  */
@@ -3676,15 +3621,15 @@ type GetV1AccountsByAccountIdLinkedinMentionsResponse = ({
3676
3621
  */
3677
3622
  warning?: string;
3678
3623
  });
3679
- type GetV1AccountsByAccountIdLinkedinMentionsError = ({
3624
+ type GetLinkedInMentionsError = ({
3680
3625
  error?: string;
3681
3626
  });
3682
- type GetV1AccountsByAccountIdPinterestBoardsData = {
3627
+ type GetPinterestBoardsData = {
3683
3628
  path: {
3684
3629
  accountId: string;
3685
3630
  };
3686
3631
  };
3687
- type GetV1AccountsByAccountIdPinterestBoardsResponse = ({
3632
+ type GetPinterestBoardsResponse = ({
3688
3633
  boards?: Array<{
3689
3634
  id?: string;
3690
3635
  name?: string;
@@ -3692,10 +3637,10 @@ type GetV1AccountsByAccountIdPinterestBoardsResponse = ({
3692
3637
  privacy?: string;
3693
3638
  }>;
3694
3639
  });
3695
- type GetV1AccountsByAccountIdPinterestBoardsError = (unknown | {
3640
+ type GetPinterestBoardsError = (unknown | {
3696
3641
  error?: string;
3697
3642
  });
3698
- type PutV1AccountsByAccountIdPinterestBoardsData = {
3643
+ type UpdatePinterestBoardsData = {
3699
3644
  body: {
3700
3645
  defaultBoardId: string;
3701
3646
  defaultBoardName?: string;
@@ -3704,19 +3649,19 @@ type PutV1AccountsByAccountIdPinterestBoardsData = {
3704
3649
  accountId: string;
3705
3650
  };
3706
3651
  };
3707
- type PutV1AccountsByAccountIdPinterestBoardsResponse = ({
3652
+ type UpdatePinterestBoardsResponse = ({
3708
3653
  message?: string;
3709
3654
  account?: SocialAccount;
3710
3655
  });
3711
- type PutV1AccountsByAccountIdPinterestBoardsError = (unknown | {
3656
+ type UpdatePinterestBoardsError = (unknown | {
3712
3657
  error?: string;
3713
3658
  });
3714
- type GetV1AccountsByAccountIdRedditSubredditsData = {
3659
+ type GetRedditSubredditsData = {
3715
3660
  path: {
3716
3661
  accountId: string;
3717
3662
  };
3718
3663
  };
3719
- type GetV1AccountsByAccountIdRedditSubredditsResponse = ({
3664
+ type GetRedditSubredditsResponse = ({
3720
3665
  subreddits?: Array<{
3721
3666
  name?: string;
3722
3667
  displayName?: string;
@@ -3724,10 +3669,10 @@ type GetV1AccountsByAccountIdRedditSubredditsResponse = ({
3724
3669
  public_description?: string;
3725
3670
  }>;
3726
3671
  });
3727
- type GetV1AccountsByAccountIdRedditSubredditsError = (unknown | {
3672
+ type GetRedditSubredditsError = (unknown | {
3728
3673
  error?: string;
3729
3674
  });
3730
- type PutV1AccountsByAccountIdRedditSubredditsData = {
3675
+ type UpdateRedditSubredditsData = {
3731
3676
  body: {
3732
3677
  defaultSubreddit: string;
3733
3678
  };
@@ -3735,14 +3680,14 @@ type PutV1AccountsByAccountIdRedditSubredditsData = {
3735
3680
  accountId: string;
3736
3681
  };
3737
3682
  };
3738
- type PutV1AccountsByAccountIdRedditSubredditsResponse = ({
3683
+ type UpdateRedditSubredditsResponse = ({
3739
3684
  message?: string;
3740
3685
  account?: SocialAccount;
3741
3686
  });
3742
- type PutV1AccountsByAccountIdRedditSubredditsError = (unknown | {
3687
+ type UpdateRedditSubredditsError = (unknown | {
3743
3688
  error?: string;
3744
3689
  });
3745
- type GetV1QueueSlotsData = {
3690
+ type ListQueueSlotsData = {
3746
3691
  query: {
3747
3692
  /**
3748
3693
  * Set to 'true' to list all queues for the profile
@@ -3758,7 +3703,7 @@ type GetV1QueueSlotsData = {
3758
3703
  queueId?: string;
3759
3704
  };
3760
3705
  };
3761
- type GetV1QueueSlotsResponse = (({
3706
+ type ListQueueSlotsResponse = (({
3762
3707
  exists?: boolean;
3763
3708
  schedule?: QueueSchedule;
3764
3709
  nextSlots?: Array<(string)>;
@@ -3766,10 +3711,10 @@ type GetV1QueueSlotsResponse = (({
3766
3711
  queues?: Array<QueueSchedule>;
3767
3712
  count?: number;
3768
3713
  }));
3769
- type GetV1QueueSlotsError = (unknown | {
3714
+ type ListQueueSlotsError = (unknown | {
3770
3715
  error?: string;
3771
3716
  });
3772
- type PostV1QueueSlotsData = {
3717
+ type CreateQueueSlotData = {
3773
3718
  body: {
3774
3719
  /**
3775
3720
  * Profile ID
@@ -3787,15 +3732,15 @@ type PostV1QueueSlotsData = {
3787
3732
  active?: boolean;
3788
3733
  };
3789
3734
  };
3790
- type PostV1QueueSlotsResponse = ({
3735
+ type CreateQueueSlotResponse = ({
3791
3736
  success?: boolean;
3792
3737
  schedule?: QueueSchedule;
3793
3738
  nextSlots?: Array<(string)>;
3794
3739
  });
3795
- type PostV1QueueSlotsError = (unknown | {
3740
+ type CreateQueueSlotError = (unknown | {
3796
3741
  error?: string;
3797
3742
  });
3798
- type PutV1QueueSlotsData = {
3743
+ type UpdateQueueSlotData = {
3799
3744
  body: {
3800
3745
  profileId: string;
3801
3746
  /**
@@ -3819,16 +3764,16 @@ type PutV1QueueSlotsData = {
3819
3764
  reshuffleExisting?: boolean;
3820
3765
  };
3821
3766
  };
3822
- type PutV1QueueSlotsResponse = ({
3767
+ type UpdateQueueSlotResponse = ({
3823
3768
  success?: boolean;
3824
3769
  schedule?: QueueSchedule;
3825
3770
  nextSlots?: Array<(string)>;
3826
3771
  reshuffledCount?: number;
3827
3772
  });
3828
- type PutV1QueueSlotsError = (unknown | {
3773
+ type UpdateQueueSlotError = (unknown | {
3829
3774
  error?: string;
3830
3775
  });
3831
- type DeleteV1QueueSlotsData = {
3776
+ type DeleteQueueSlotData = {
3832
3777
  query: {
3833
3778
  profileId: string;
3834
3779
  /**
@@ -3837,28 +3782,28 @@ type DeleteV1QueueSlotsData = {
3837
3782
  queueId: string;
3838
3783
  };
3839
3784
  };
3840
- type DeleteV1QueueSlotsResponse = ({
3785
+ type DeleteQueueSlotResponse = ({
3841
3786
  success?: boolean;
3842
3787
  deleted?: boolean;
3843
3788
  });
3844
- type DeleteV1QueueSlotsError = (unknown | {
3789
+ type DeleteQueueSlotError = (unknown | {
3845
3790
  error?: string;
3846
3791
  });
3847
- type GetV1QueuePreviewData = {
3792
+ type PreviewQueueData = {
3848
3793
  query: {
3849
3794
  count?: number;
3850
3795
  profileId: string;
3851
3796
  };
3852
3797
  };
3853
- type GetV1QueuePreviewResponse = ({
3798
+ type PreviewQueueResponse = ({
3854
3799
  profileId?: string;
3855
3800
  count?: number;
3856
3801
  slots?: Array<(string)>;
3857
3802
  });
3858
- type GetV1QueuePreviewError = (unknown | {
3803
+ type PreviewQueueError = (unknown | {
3859
3804
  error?: string;
3860
3805
  });
3861
- type GetV1QueueNextSlotData = {
3806
+ type GetNextQueueSlotData = {
3862
3807
  query: {
3863
3808
  profileId: string;
3864
3809
  /**
@@ -3867,7 +3812,7 @@ type GetV1QueueNextSlotData = {
3867
3812
  queueId?: string;
3868
3813
  };
3869
3814
  };
3870
- type GetV1QueueNextSlotResponse = ({
3815
+ type GetNextQueueSlotResponse = ({
3871
3816
  profileId?: string;
3872
3817
  nextSlot?: string;
3873
3818
  timezone?: string;
@@ -3880,16 +3825,16 @@ type GetV1QueueNextSlotResponse = ({
3880
3825
  */
3881
3826
  queueName?: string;
3882
3827
  });
3883
- type GetV1QueueNextSlotError = (unknown | {
3828
+ type GetNextQueueSlotError = (unknown | {
3884
3829
  error?: string;
3885
3830
  });
3886
- type GetV1WebhooksSettingsResponse = ({
3831
+ type GetWebhookSettingsResponse = ({
3887
3832
  webhooks?: Array<Webhook>;
3888
3833
  });
3889
- type GetV1WebhooksSettingsError = ({
3834
+ type GetWebhookSettingsError = ({
3890
3835
  error?: string;
3891
3836
  });
3892
- type PostV1WebhooksSettingsData = {
3837
+ type CreateWebhookSettingsData = {
3893
3838
  body: {
3894
3839
  /**
3895
3840
  * Webhook name (max 50 characters)
@@ -3906,7 +3851,7 @@ type PostV1WebhooksSettingsData = {
3906
3851
  /**
3907
3852
  * Events to subscribe to
3908
3853
  */
3909
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected')>;
3854
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
3910
3855
  /**
3911
3856
  * Enable or disable webhook delivery
3912
3857
  */
@@ -3919,14 +3864,14 @@ type PostV1WebhooksSettingsData = {
3919
3864
  };
3920
3865
  };
3921
3866
  };
3922
- type PostV1WebhooksSettingsResponse = ({
3867
+ type CreateWebhookSettingsResponse = ({
3923
3868
  success?: boolean;
3924
3869
  webhook?: Webhook;
3925
3870
  });
3926
- type PostV1WebhooksSettingsError = (unknown | {
3871
+ type CreateWebhookSettingsError = (unknown | {
3927
3872
  error?: string;
3928
3873
  });
3929
- type PutV1WebhooksSettingsData = {
3874
+ type UpdateWebhookSettingsData = {
3930
3875
  body: {
3931
3876
  /**
3932
3877
  * Webhook ID to update (required)
@@ -3947,7 +3892,7 @@ type PutV1WebhooksSettingsData = {
3947
3892
  /**
3948
3893
  * Events to subscribe to
3949
3894
  */
3950
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected')>;
3895
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
3951
3896
  /**
3952
3897
  * Enable or disable webhook delivery
3953
3898
  */
@@ -3960,14 +3905,14 @@ type PutV1WebhooksSettingsData = {
3960
3905
  };
3961
3906
  };
3962
3907
  };
3963
- type PutV1WebhooksSettingsResponse = ({
3908
+ type UpdateWebhookSettingsResponse = ({
3964
3909
  success?: boolean;
3965
3910
  webhook?: Webhook;
3966
3911
  });
3967
- type PutV1WebhooksSettingsError = (unknown | {
3912
+ type UpdateWebhookSettingsError = (unknown | {
3968
3913
  error?: string;
3969
3914
  });
3970
- type DeleteV1WebhooksSettingsData = {
3915
+ type DeleteWebhookSettingsData = {
3971
3916
  query: {
3972
3917
  /**
3973
3918
  * Webhook ID to delete
@@ -3975,13 +3920,13 @@ type DeleteV1WebhooksSettingsData = {
3975
3920
  id: string;
3976
3921
  };
3977
3922
  };
3978
- type DeleteV1WebhooksSettingsResponse = ({
3923
+ type DeleteWebhookSettingsResponse = ({
3979
3924
  success?: boolean;
3980
3925
  });
3981
- type DeleteV1WebhooksSettingsError = (unknown | {
3926
+ type DeleteWebhookSettingsError = (unknown | {
3982
3927
  error?: string;
3983
3928
  });
3984
- type PostV1WebhooksTestData = {
3929
+ type TestWebhookData = {
3985
3930
  body: {
3986
3931
  /**
3987
3932
  * ID of the webhook to test
@@ -3989,22 +3934,22 @@ type PostV1WebhooksTestData = {
3989
3934
  webhookId: string;
3990
3935
  };
3991
3936
  };
3992
- type PostV1WebhooksTestResponse = ({
3937
+ type TestWebhookResponse = ({
3993
3938
  success?: boolean;
3994
3939
  message?: string;
3995
3940
  });
3996
- type PostV1WebhooksTestError = (unknown | {
3941
+ type TestWebhookError = (unknown | {
3997
3942
  error?: string;
3998
3943
  } | {
3999
3944
  success?: boolean;
4000
3945
  message?: string;
4001
3946
  });
4002
- type GetV1WebhooksLogsData = {
3947
+ type GetWebhookLogsData = {
4003
3948
  query?: {
4004
3949
  /**
4005
3950
  * Filter by event type
4006
3951
  */
4007
- event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected' | 'webhook.test';
3952
+ event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
4008
3953
  /**
4009
3954
  * Maximum number of logs to return (max 100)
4010
3955
  */
@@ -4019,13 +3964,13 @@ type GetV1WebhooksLogsData = {
4019
3964
  webhookId?: string;
4020
3965
  };
4021
3966
  };
4022
- type GetV1WebhooksLogsResponse = ({
3967
+ type GetWebhookLogsResponse = ({
4023
3968
  logs?: Array<WebhookLog>;
4024
3969
  });
4025
- type GetV1WebhooksLogsError = ({
3970
+ type GetWebhookLogsError = ({
4026
3971
  error?: string;
4027
3972
  });
4028
- type GetV1LogsData = {
3973
+ type ListLogsData = {
4029
3974
  query?: {
4030
3975
  /**
4031
3976
  * Filter by action type
@@ -4053,7 +3998,7 @@ type GetV1LogsData = {
4053
3998
  status?: 'success' | 'failed' | 'pending' | 'skipped' | 'all';
4054
3999
  };
4055
4000
  };
4056
- type GetV1LogsResponse = ({
4001
+ type ListLogsResponse = ({
4057
4002
  logs?: Array<PostLog>;
4058
4003
  pagination?: {
4059
4004
  /**
@@ -4069,10 +4014,10 @@ type GetV1LogsResponse = ({
4069
4014
  hasMore?: boolean;
4070
4015
  };
4071
4016
  });
4072
- type GetV1LogsError = ({
4017
+ type ListLogsError = ({
4073
4018
  error?: string;
4074
4019
  });
4075
- type GetV1LogsByLogIdData = {
4020
+ type GetLogData = {
4076
4021
  path: {
4077
4022
  /**
4078
4023
  * The log entry ID
@@ -4080,13 +4025,13 @@ type GetV1LogsByLogIdData = {
4080
4025
  logId: string;
4081
4026
  };
4082
4027
  };
4083
- type GetV1LogsByLogIdResponse = ({
4028
+ type GetLogResponse = ({
4084
4029
  log?: PostLogDetail;
4085
4030
  });
4086
- type GetV1LogsByLogIdError = ({
4031
+ type GetLogError = ({
4087
4032
  error?: string;
4088
4033
  } | unknown);
4089
- type GetV1PostsByPostIdLogsData = {
4034
+ type GetPostLogsData = {
4090
4035
  path: {
4091
4036
  /**
4092
4037
  * The post ID
@@ -4100,7 +4045,7 @@ type GetV1PostsByPostIdLogsData = {
4100
4045
  limit?: number;
4101
4046
  };
4102
4047
  };
4103
- type GetV1PostsByPostIdLogsResponse = ({
4048
+ type GetPostLogsResponse = ({
4104
4049
  logs?: Array<PostLog>;
4105
4050
  /**
4106
4051
  * Number of logs returned
@@ -4108,8 +4053,8 @@ type GetV1PostsByPostIdLogsResponse = ({
4108
4053
  count?: number;
4109
4054
  postId?: string;
4110
4055
  });
4111
- type GetV1PostsByPostIdLogsError = ({
4056
+ type GetPostLogsError = ({
4112
4057
  error?: string;
4113
4058
  } | unknown);
4114
4059
 
4115
- export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type CaptionResponse, type ClientOptions, type DeleteV1AccountGroupsByGroupIdData, type DeleteV1AccountGroupsByGroupIdError, type DeleteV1AccountGroupsByGroupIdResponse, type DeleteV1AccountsByAccountIdData, type DeleteV1AccountsByAccountIdError, type DeleteV1AccountsByAccountIdResponse, type DeleteV1ApiKeysByKeyIdData, type DeleteV1ApiKeysByKeyIdError, type DeleteV1ApiKeysByKeyIdResponse, type DeleteV1PlatformInvitesData, type DeleteV1PlatformInvitesError, type DeleteV1PlatformInvitesResponse, type DeleteV1PostsByPostIdData, type DeleteV1PostsByPostIdError, type DeleteV1PostsByPostIdResponse, type DeleteV1ProfilesByProfileIdData, type DeleteV1ProfilesByProfileIdError, type DeleteV1ProfilesByProfileIdResponse, type DeleteV1QueueSlotsData, type DeleteV1QueueSlotsError, type DeleteV1QueueSlotsResponse, type DeleteV1WebhooksSettingsData, type DeleteV1WebhooksSettingsError, type DeleteV1WebhooksSettingsResponse, type DownloadFormat, type DownloadResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type GetV1AccountGroupsError, type GetV1AccountGroupsResponse, type GetV1AccountsByAccountIdGmbReviewsData, type GetV1AccountsByAccountIdGmbReviewsError, type GetV1AccountsByAccountIdGmbReviewsResponse, type GetV1AccountsByAccountIdHealthData, type GetV1AccountsByAccountIdHealthError, type GetV1AccountsByAccountIdHealthResponse, type GetV1AccountsByAccountIdLinkedinAggregateAnalyticsData, type GetV1AccountsByAccountIdLinkedinAggregateAnalyticsError, type GetV1AccountsByAccountIdLinkedinAggregateAnalyticsResponse, type GetV1AccountsByAccountIdLinkedinMentionsData, type GetV1AccountsByAccountIdLinkedinMentionsError, type GetV1AccountsByAccountIdLinkedinMentionsResponse, type GetV1AccountsByAccountIdLinkedinOrganizationsData, type GetV1AccountsByAccountIdLinkedinOrganizationsError, type GetV1AccountsByAccountIdLinkedinOrganizationsResponse, type GetV1AccountsByAccountIdLinkedinPostAnalyticsData, type GetV1AccountsByAccountIdLinkedinPostAnalyticsError, type GetV1AccountsByAccountIdLinkedinPostAnalyticsResponse, type GetV1AccountsByAccountIdPinterestBoardsData, type GetV1AccountsByAccountIdPinterestBoardsError, type GetV1AccountsByAccountIdPinterestBoardsResponse, type GetV1AccountsByAccountIdRedditSubredditsData, type GetV1AccountsByAccountIdRedditSubredditsError, type GetV1AccountsByAccountIdRedditSubredditsResponse, type GetV1AccountsData, type GetV1AccountsError, type GetV1AccountsFollowerStatsData, type GetV1AccountsFollowerStatsError, type GetV1AccountsFollowerStatsResponse, type GetV1AccountsHealthData, type GetV1AccountsHealthError, type GetV1AccountsHealthResponse, type GetV1AccountsResponse, type GetV1AnalyticsData, type GetV1AnalyticsError, type GetV1AnalyticsResponse, type GetV1AnalyticsYoutubeDailyViewsData, type GetV1AnalyticsYoutubeDailyViewsError, type GetV1AnalyticsYoutubeDailyViewsResponse, type GetV1ApiKeysError, type GetV1ApiKeysResponse, type GetV1ConnectByPlatformData, type GetV1ConnectByPlatformError, type GetV1ConnectByPlatformResponse, type GetV1ConnectFacebookSelectPageData, type GetV1ConnectFacebookSelectPageError, type GetV1ConnectFacebookSelectPageResponse, type GetV1ConnectGooglebusinessLocationsData, type GetV1ConnectGooglebusinessLocationsError, type GetV1ConnectGooglebusinessLocationsResponse, type GetV1ConnectLinkedinOrganizationsData, type GetV1ConnectLinkedinOrganizationsError, type GetV1ConnectLinkedinOrganizationsResponse, type GetV1ConnectPinterestSelectBoardData, type GetV1ConnectPinterestSelectBoardError, type GetV1ConnectPinterestSelectBoardResponse, type GetV1ConnectSnapchatSelectProfileData, type GetV1ConnectSnapchatSelectProfileError, type GetV1ConnectSnapchatSelectProfileResponse, type GetV1ConnectTelegramData, type GetV1ConnectTelegramError, type GetV1ConnectTelegramResponse, type GetV1LogsByLogIdData, type GetV1LogsByLogIdError, type GetV1LogsByLogIdResponse, type GetV1LogsData, type GetV1LogsError, type GetV1LogsResponse, type GetV1PlatformInvitesData, type GetV1PlatformInvitesError, type GetV1PlatformInvitesResponse, type GetV1PostsByPostIdData, type GetV1PostsByPostIdError, type GetV1PostsByPostIdLogsData, type GetV1PostsByPostIdLogsError, type GetV1PostsByPostIdLogsResponse, type GetV1PostsByPostIdResponse, type GetV1PostsData, type GetV1PostsError, type GetV1PostsResponse, type GetV1ProfilesByProfileIdData, type GetV1ProfilesByProfileIdError, type GetV1ProfilesByProfileIdResponse, type GetV1ProfilesData, type GetV1ProfilesError, type GetV1ProfilesResponse, type GetV1QueueNextSlotData, type GetV1QueueNextSlotError, type GetV1QueueNextSlotResponse, type GetV1QueuePreviewData, type GetV1QueuePreviewError, type GetV1QueuePreviewResponse, type GetV1QueueSlotsData, type GetV1QueueSlotsError, type GetV1QueueSlotsResponse, type GetV1RedditFeedData, type GetV1RedditFeedError, type GetV1RedditFeedResponse, type GetV1RedditSearchData, type GetV1RedditSearchError, type GetV1RedditSearchResponse, type GetV1ToolsBlueskyDownloadData, type GetV1ToolsBlueskyDownloadError, type GetV1ToolsBlueskyDownloadResponse, type GetV1ToolsFacebookDownloadData, type GetV1ToolsFacebookDownloadError, type GetV1ToolsFacebookDownloadResponse, type GetV1ToolsInstagramDownloadData, type GetV1ToolsInstagramDownloadError, type GetV1ToolsInstagramDownloadResponse, type GetV1ToolsLinkedinDownloadData, type GetV1ToolsLinkedinDownloadError, type GetV1ToolsLinkedinDownloadResponse, type GetV1ToolsTiktokDownloadData, type GetV1ToolsTiktokDownloadError, type GetV1ToolsTiktokDownloadResponse, type GetV1ToolsTwitterDownloadData, type GetV1ToolsTwitterDownloadError, type GetV1ToolsTwitterDownloadResponse, type GetV1ToolsYoutubeDownloadData, type GetV1ToolsYoutubeDownloadError, type GetV1ToolsYoutubeDownloadResponse, type GetV1ToolsYoutubeTranscriptData, type GetV1ToolsYoutubeTranscriptError, type GetV1ToolsYoutubeTranscriptResponse, type GetV1UsageStatsError, type GetV1UsageStatsResponse, type GetV1UsersByUserIdData, type GetV1UsersByUserIdError, type GetV1UsersByUserIdResponse, type GetV1UsersError, type GetV1UsersResponse, type GetV1WebhooksLogsData, type GetV1WebhooksLogsError, type GetV1WebhooksLogsResponse, type GetV1WebhooksSettingsError, type GetV1WebhooksSettingsResponse, type GoogleBusinessPlatformData, type HashtagCheckResponse, type HashtagInfo, type InstagramPlatformData, Late, LateApiError, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type MediaItem, type MediaUploadResponse, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PatchV1ConnectTelegramData, type PatchV1ConnectTelegramError, type PatchV1ConnectTelegramResponse, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, type PostLogDetail, type PostRetryResponse, type PostUpdateResponse, type PostV1AccountGroupsData, type PostV1AccountGroupsError, type PostV1AccountGroupsResponse, type PostV1ApiKeysData, type PostV1ApiKeysError, type PostV1ApiKeysResponse, type PostV1ConnectBlueskyCredentialsData, type PostV1ConnectBlueskyCredentialsError, type PostV1ConnectBlueskyCredentialsResponse, type PostV1ConnectByPlatformData, type PostV1ConnectByPlatformError, type PostV1ConnectByPlatformResponse, type PostV1ConnectFacebookSelectPageData, type PostV1ConnectFacebookSelectPageError, type PostV1ConnectFacebookSelectPageResponse, type PostV1ConnectGooglebusinessSelectLocationData, type PostV1ConnectGooglebusinessSelectLocationError, type PostV1ConnectGooglebusinessSelectLocationResponse, type PostV1ConnectLinkedinSelectOrganizationData, type PostV1ConnectLinkedinSelectOrganizationError, type PostV1ConnectLinkedinSelectOrganizationResponse, type PostV1ConnectPinterestSelectBoardData, type PostV1ConnectPinterestSelectBoardError, type PostV1ConnectPinterestSelectBoardResponse, type PostV1ConnectSnapchatSelectProfileData, type PostV1ConnectSnapchatSelectProfileError, type PostV1ConnectSnapchatSelectProfileResponse, type PostV1ConnectTelegramData, type PostV1ConnectTelegramError, type PostV1ConnectTelegramResponse, type PostV1InviteTokensData, type PostV1InviteTokensError, type PostV1InviteTokensResponse, type PostV1MediaPresignData, type PostV1MediaPresignError, type PostV1MediaPresignResponse, type PostV1PlatformInvitesData, type PostV1PlatformInvitesError, type PostV1PlatformInvitesResponse, type PostV1PostsBulkUploadData, type PostV1PostsBulkUploadError, type PostV1PostsBulkUploadResponse, type PostV1PostsByPostIdRetryData, type PostV1PostsByPostIdRetryError, type PostV1PostsByPostIdRetryResponse, type PostV1PostsData, type PostV1PostsError, type PostV1PostsResponse, type PostV1ProfilesData, type PostV1ProfilesError, type PostV1ProfilesResponse, type PostV1QueueSlotsData, type PostV1QueueSlotsError, type PostV1QueueSlotsResponse, type PostV1ToolsInstagramHashtagCheckerData, type PostV1ToolsInstagramHashtagCheckerError, type PostV1ToolsInstagramHashtagCheckerResponse, type PostV1WebhooksSettingsData, type PostV1WebhooksSettingsError, type PostV1WebhooksSettingsResponse, type PostV1WebhooksTestData, type PostV1WebhooksTestError, type PostV1WebhooksTestResponse, type PostsListResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type PutV1AccountGroupsByGroupIdData, type PutV1AccountGroupsByGroupIdError, type PutV1AccountGroupsByGroupIdResponse, type PutV1AccountsByAccountIdData, type PutV1AccountsByAccountIdError, type PutV1AccountsByAccountIdFacebookPageData, type PutV1AccountsByAccountIdFacebookPageError, type PutV1AccountsByAccountIdFacebookPageResponse, type PutV1AccountsByAccountIdLinkedinOrganizationData, type PutV1AccountsByAccountIdLinkedinOrganizationError, type PutV1AccountsByAccountIdLinkedinOrganizationResponse, type PutV1AccountsByAccountIdPinterestBoardsData, type PutV1AccountsByAccountIdPinterestBoardsError, type PutV1AccountsByAccountIdPinterestBoardsResponse, type PutV1AccountsByAccountIdRedditSubredditsData, type PutV1AccountsByAccountIdRedditSubredditsError, type PutV1AccountsByAccountIdRedditSubredditsResponse, type PutV1AccountsByAccountIdResponse, type PutV1PostsByPostIdData, type PutV1PostsByPostIdError, type PutV1PostsByPostIdResponse, type PutV1ProfilesByProfileIdData, type PutV1ProfilesByProfileIdError, type PutV1ProfilesByProfileIdResponse, type PutV1QueueSlotsData, type PutV1QueueSlotsError, type PutV1QueueSlotsResponse, type PutV1WebhooksSettingsData, type PutV1WebhooksSettingsError, type PutV1WebhooksSettingsResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type ThreadsPlatformData, type TikTokPlatformData, type TikTokSettings, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, ValidationError, type Webhook, type WebhookLog, type WebhookPayloadAccountDisconnected, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type contentType, type contentType2, Late as default, type disconnectionType, type event, type event2, type event3, type graduationStrategy, type mediaType, parseApiError, type parseMode, type platform, type status, type status2, type status3, type status4, type status5, type type, type type2, type type3, type visibility };
4060
+ export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CaptionResponse, type CheckInstagramHashtagsData, type CheckInstagramHashtagsError, type CheckInstagramHashtagsResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DownloadBlueskyMediaData, type DownloadBlueskyMediaError, type DownloadBlueskyMediaResponse, type DownloadFacebookVideoData, type DownloadFacebookVideoError, type DownloadFacebookVideoResponse, type DownloadFormat, type DownloadInstagramMediaData, type DownloadInstagramMediaError, type DownloadInstagramMediaResponse, type DownloadLinkedInVideoData, type DownloadLinkedInVideoError, type DownloadLinkedInVideoResponse, type DownloadResponse, type DownloadTikTokVideoData, type DownloadTikTokVideoError, type DownloadTikTokVideoResponse, type DownloadTwitterMediaData, type DownloadTwitterMediaError, type DownloadTwitterMediaResponse, type DownloadYouTubeVideoData, type DownloadYouTubeVideoError, type DownloadYouTubeVideoResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLogData, type GetLogError, type GetLogResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostLogsData, type GetPostLogsError, type GetPostLogsResponse, type GetPostResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookLogsData, type GetWebhookLogsError, type GetWebhookLogsResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeTranscriptData, type GetYouTubeTranscriptError, type GetYouTubeTranscriptResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HashtagCheckResponse, type HashtagInfo, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramPlatformData, Late, LateApiError, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type MediaItem, type MediaUploadResponse, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, type PostLogDetail, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RetryPostData, type RetryPostError, type RetryPostResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TikTokSettings, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, ValidationError, type Webhook, type WebhookLog, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type contentType, type contentType2, Late as default, type disconnectionType, type event, type event2, type event3, type event4, type graduationStrategy, type mediaType, parseApiError, type parseMode, type platform, type status, type status2, type status3, type status4, type status5, type type, type type2, type type3, type visibility };