@getlatedev/node 0.1.30 → 0.1.32
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 +84 -12
- package/dist/index.d.ts +84 -12
- package/package.json +1 -1
- package/src/generated/types.gen.ts +87 -11
package/dist/index.d.mts
CHANGED
|
@@ -1540,6 +1540,10 @@ type TranscriptSegment = {
|
|
|
1540
1540
|
duration?: number;
|
|
1541
1541
|
};
|
|
1542
1542
|
type TwitterPlatformData = {
|
|
1543
|
+
/**
|
|
1544
|
+
* Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers. Omit for default (everyone can reply). For threads, applies to the first tweet only.
|
|
1545
|
+
*/
|
|
1546
|
+
replySettings?: 'following' | 'mentionedUsers' | 'subscribers';
|
|
1543
1547
|
/**
|
|
1544
1548
|
* Sequence of tweets in a thread. First item is the root tweet.
|
|
1545
1549
|
*/
|
|
@@ -1548,6 +1552,10 @@ type TwitterPlatformData = {
|
|
|
1548
1552
|
mediaItems?: Array<MediaItem>;
|
|
1549
1553
|
}>;
|
|
1550
1554
|
};
|
|
1555
|
+
/**
|
|
1556
|
+
* Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers. Omit for default (everyone can reply). For threads, applies to the first tweet only.
|
|
1557
|
+
*/
|
|
1558
|
+
type replySettings = 'following' | 'mentionedUsers' | 'subscribers';
|
|
1551
1559
|
type UploadedFile = {
|
|
1552
1560
|
type?: 'image' | 'video' | 'document';
|
|
1553
1561
|
url?: string;
|
|
@@ -1622,7 +1630,7 @@ type Webhook = {
|
|
|
1622
1630
|
/**
|
|
1623
1631
|
* Events subscribed to
|
|
1624
1632
|
*/
|
|
1625
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
|
|
1633
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received')>;
|
|
1626
1634
|
/**
|
|
1627
1635
|
* Whether webhook delivery is enabled
|
|
1628
1636
|
*/
|
|
@@ -1655,7 +1663,7 @@ type WebhookLog = {
|
|
|
1655
1663
|
* Name of the webhook that was triggered
|
|
1656
1664
|
*/
|
|
1657
1665
|
webhookName?: string;
|
|
1658
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
|
|
1666
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
|
|
1659
1667
|
url?: string;
|
|
1660
1668
|
status?: 'success' | 'failed';
|
|
1661
1669
|
/**
|
|
@@ -1686,7 +1694,7 @@ type WebhookLog = {
|
|
|
1686
1694
|
responseTime?: number;
|
|
1687
1695
|
createdAt?: string;
|
|
1688
1696
|
};
|
|
1689
|
-
type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
|
|
1697
|
+
type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
|
|
1690
1698
|
type status5 = 'success' | 'failed';
|
|
1691
1699
|
/**
|
|
1692
1700
|
* Webhook payload for account connected events
|
|
@@ -1743,7 +1751,71 @@ type event3 = 'account.disconnected';
|
|
|
1743
1751
|
*/
|
|
1744
1752
|
type disconnectionType = 'intentional' | 'unintentional';
|
|
1745
1753
|
/**
|
|
1746
|
-
* Webhook payload for
|
|
1754
|
+
* Webhook payload for comment received events (Instagram, Facebook, Twitter/X, YouTube, LinkedIn, Bluesky, Reddit)
|
|
1755
|
+
*/
|
|
1756
|
+
type WebhookPayloadComment = {
|
|
1757
|
+
event?: 'comment.received';
|
|
1758
|
+
comment?: {
|
|
1759
|
+
/**
|
|
1760
|
+
* Platform comment ID
|
|
1761
|
+
*/
|
|
1762
|
+
id?: string;
|
|
1763
|
+
/**
|
|
1764
|
+
* Internal post ID
|
|
1765
|
+
*/
|
|
1766
|
+
postId?: string;
|
|
1767
|
+
/**
|
|
1768
|
+
* Platform's post ID
|
|
1769
|
+
*/
|
|
1770
|
+
platformPostId?: string;
|
|
1771
|
+
platform?: 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit';
|
|
1772
|
+
/**
|
|
1773
|
+
* Comment text content
|
|
1774
|
+
*/
|
|
1775
|
+
text?: string;
|
|
1776
|
+
author?: {
|
|
1777
|
+
/**
|
|
1778
|
+
* Author's platform ID
|
|
1779
|
+
*/
|
|
1780
|
+
id?: string;
|
|
1781
|
+
username?: string;
|
|
1782
|
+
name?: string;
|
|
1783
|
+
picture?: (string) | null;
|
|
1784
|
+
};
|
|
1785
|
+
createdAt?: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* Whether this is a reply to another comment
|
|
1788
|
+
*/
|
|
1789
|
+
isReply?: boolean;
|
|
1790
|
+
/**
|
|
1791
|
+
* Parent comment ID if this is a reply
|
|
1792
|
+
*/
|
|
1793
|
+
parentCommentId?: (string) | null;
|
|
1794
|
+
};
|
|
1795
|
+
post?: {
|
|
1796
|
+
/**
|
|
1797
|
+
* Internal post ID
|
|
1798
|
+
*/
|
|
1799
|
+
id?: string;
|
|
1800
|
+
/**
|
|
1801
|
+
* Platform's post ID
|
|
1802
|
+
*/
|
|
1803
|
+
platformPostId?: string;
|
|
1804
|
+
};
|
|
1805
|
+
account?: {
|
|
1806
|
+
/**
|
|
1807
|
+
* Social account ID
|
|
1808
|
+
*/
|
|
1809
|
+
id?: string;
|
|
1810
|
+
platform?: string;
|
|
1811
|
+
username?: string;
|
|
1812
|
+
};
|
|
1813
|
+
timestamp?: string;
|
|
1814
|
+
};
|
|
1815
|
+
type event4 = 'comment.received';
|
|
1816
|
+
type platform2 = 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit';
|
|
1817
|
+
/**
|
|
1818
|
+
* Webhook payload for message received events (DMs from Instagram, Facebook, Telegram, Bluesky, Reddit)
|
|
1747
1819
|
*/
|
|
1748
1820
|
type WebhookPayloadMessage = {
|
|
1749
1821
|
event?: 'message.received';
|
|
@@ -1756,7 +1828,7 @@ type WebhookPayloadMessage = {
|
|
|
1756
1828
|
* Internal conversation ID
|
|
1757
1829
|
*/
|
|
1758
1830
|
conversationId?: string;
|
|
1759
|
-
platform?: 'instagram' | 'facebook' | 'telegram';
|
|
1831
|
+
platform?: 'instagram' | 'facebook' | 'telegram' | 'bluesky' | 'reddit';
|
|
1760
1832
|
/**
|
|
1761
1833
|
* Platform's message ID
|
|
1762
1834
|
*/
|
|
@@ -1853,8 +1925,8 @@ type WebhookPayloadMessage = {
|
|
|
1853
1925
|
} | null;
|
|
1854
1926
|
timestamp?: string;
|
|
1855
1927
|
};
|
|
1856
|
-
type
|
|
1857
|
-
type
|
|
1928
|
+
type event5 = 'message.received';
|
|
1929
|
+
type platform3 = 'instagram' | 'facebook' | 'telegram' | 'bluesky' | 'reddit';
|
|
1858
1930
|
type direction = 'incoming';
|
|
1859
1931
|
type status6 = 'active' | 'archived';
|
|
1860
1932
|
/**
|
|
@@ -1877,7 +1949,7 @@ type WebhookPayloadPost = {
|
|
|
1877
1949
|
};
|
|
1878
1950
|
timestamp?: string;
|
|
1879
1951
|
};
|
|
1880
|
-
type
|
|
1952
|
+
type event6 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial';
|
|
1881
1953
|
type YouTubeDailyViewsResponse = {
|
|
1882
1954
|
success?: boolean;
|
|
1883
1955
|
/**
|
|
@@ -4667,7 +4739,7 @@ type CreateWebhookSettingsData = {
|
|
|
4667
4739
|
/**
|
|
4668
4740
|
* Events to subscribe to
|
|
4669
4741
|
*/
|
|
4670
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
|
|
4742
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received')>;
|
|
4671
4743
|
/**
|
|
4672
4744
|
* Enable or disable webhook delivery
|
|
4673
4745
|
*/
|
|
@@ -4708,7 +4780,7 @@ type UpdateWebhookSettingsData = {
|
|
|
4708
4780
|
/**
|
|
4709
4781
|
* Events to subscribe to
|
|
4710
4782
|
*/
|
|
4711
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
|
|
4783
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received')>;
|
|
4712
4784
|
/**
|
|
4713
4785
|
* Enable or disable webhook delivery
|
|
4714
4786
|
*/
|
|
@@ -4765,7 +4837,7 @@ type GetWebhookLogsData = {
|
|
|
4765
4837
|
/**
|
|
4766
4838
|
* Filter by event type
|
|
4767
4839
|
*/
|
|
4768
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
|
|
4840
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
|
|
4769
4841
|
/**
|
|
4770
4842
|
* Maximum number of logs to return (max 100)
|
|
4771
4843
|
*/
|
|
@@ -5973,4 +6045,4 @@ type DeleteInboxReviewReplyError = ({
|
|
|
5973
6045
|
error?: string;
|
|
5974
6046
|
} | unknown);
|
|
5975
6047
|
|
|
5976
|
-
export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, 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 ConnectionLog, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, 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 DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, 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 EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, 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 GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, 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 GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, 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 GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, 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 HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListConnectionLogsData, type ListConnectionLogsError, type ListConnectionLogsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsLogsData, type ListPostsLogsError, type ListPostsLogsResponse, 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 Money, 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 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 RedditPlatformData, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, 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 SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, 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 WebhookPayloadMessage, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type connectionMethod, type contentType, type contentType2, type contentType3, Late as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event2, type event3, type event4, type event5, type eventType, type graduationStrategy, type mediaType, parseApiError, type parseMode, type permission, type platform, type platform2, type scope, type status, type status2, type status3, type status4, type status5, type status6, type type, type type2, type type3, type visibility };
|
|
6048
|
+
export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, 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 ConnectionLog, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, 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 DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, 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 EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, 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 GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, 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 GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, 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 GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, 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 HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListConnectionLogsData, type ListConnectionLogsError, type ListConnectionLogsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsLogsData, type ListPostsLogsError, type ListPostsLogsResponse, 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 Money, 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 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 RedditPlatformData, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, 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 SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, 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 WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type connectionMethod, type contentType, type contentType2, type contentType3, Late as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event2, type event3, type event4, type event5, type event6, type eventType, type graduationStrategy, type mediaType, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type replySettings, type scope, type status, type status2, type status3, type status4, type status5, type status6, type type, type type2, type type3, type visibility };
|
package/dist/index.d.ts
CHANGED
|
@@ -1540,6 +1540,10 @@ type TranscriptSegment = {
|
|
|
1540
1540
|
duration?: number;
|
|
1541
1541
|
};
|
|
1542
1542
|
type TwitterPlatformData = {
|
|
1543
|
+
/**
|
|
1544
|
+
* Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers. Omit for default (everyone can reply). For threads, applies to the first tweet only.
|
|
1545
|
+
*/
|
|
1546
|
+
replySettings?: 'following' | 'mentionedUsers' | 'subscribers';
|
|
1543
1547
|
/**
|
|
1544
1548
|
* Sequence of tweets in a thread. First item is the root tweet.
|
|
1545
1549
|
*/
|
|
@@ -1548,6 +1552,10 @@ type TwitterPlatformData = {
|
|
|
1548
1552
|
mediaItems?: Array<MediaItem>;
|
|
1549
1553
|
}>;
|
|
1550
1554
|
};
|
|
1555
|
+
/**
|
|
1556
|
+
* Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers. Omit for default (everyone can reply). For threads, applies to the first tweet only.
|
|
1557
|
+
*/
|
|
1558
|
+
type replySettings = 'following' | 'mentionedUsers' | 'subscribers';
|
|
1551
1559
|
type UploadedFile = {
|
|
1552
1560
|
type?: 'image' | 'video' | 'document';
|
|
1553
1561
|
url?: string;
|
|
@@ -1622,7 +1630,7 @@ type Webhook = {
|
|
|
1622
1630
|
/**
|
|
1623
1631
|
* Events subscribed to
|
|
1624
1632
|
*/
|
|
1625
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
|
|
1633
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received')>;
|
|
1626
1634
|
/**
|
|
1627
1635
|
* Whether webhook delivery is enabled
|
|
1628
1636
|
*/
|
|
@@ -1655,7 +1663,7 @@ type WebhookLog = {
|
|
|
1655
1663
|
* Name of the webhook that was triggered
|
|
1656
1664
|
*/
|
|
1657
1665
|
webhookName?: string;
|
|
1658
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
|
|
1666
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
|
|
1659
1667
|
url?: string;
|
|
1660
1668
|
status?: 'success' | 'failed';
|
|
1661
1669
|
/**
|
|
@@ -1686,7 +1694,7 @@ type WebhookLog = {
|
|
|
1686
1694
|
responseTime?: number;
|
|
1687
1695
|
createdAt?: string;
|
|
1688
1696
|
};
|
|
1689
|
-
type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
|
|
1697
|
+
type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
|
|
1690
1698
|
type status5 = 'success' | 'failed';
|
|
1691
1699
|
/**
|
|
1692
1700
|
* Webhook payload for account connected events
|
|
@@ -1743,7 +1751,71 @@ type event3 = 'account.disconnected';
|
|
|
1743
1751
|
*/
|
|
1744
1752
|
type disconnectionType = 'intentional' | 'unintentional';
|
|
1745
1753
|
/**
|
|
1746
|
-
* Webhook payload for
|
|
1754
|
+
* Webhook payload for comment received events (Instagram, Facebook, Twitter/X, YouTube, LinkedIn, Bluesky, Reddit)
|
|
1755
|
+
*/
|
|
1756
|
+
type WebhookPayloadComment = {
|
|
1757
|
+
event?: 'comment.received';
|
|
1758
|
+
comment?: {
|
|
1759
|
+
/**
|
|
1760
|
+
* Platform comment ID
|
|
1761
|
+
*/
|
|
1762
|
+
id?: string;
|
|
1763
|
+
/**
|
|
1764
|
+
* Internal post ID
|
|
1765
|
+
*/
|
|
1766
|
+
postId?: string;
|
|
1767
|
+
/**
|
|
1768
|
+
* Platform's post ID
|
|
1769
|
+
*/
|
|
1770
|
+
platformPostId?: string;
|
|
1771
|
+
platform?: 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit';
|
|
1772
|
+
/**
|
|
1773
|
+
* Comment text content
|
|
1774
|
+
*/
|
|
1775
|
+
text?: string;
|
|
1776
|
+
author?: {
|
|
1777
|
+
/**
|
|
1778
|
+
* Author's platform ID
|
|
1779
|
+
*/
|
|
1780
|
+
id?: string;
|
|
1781
|
+
username?: string;
|
|
1782
|
+
name?: string;
|
|
1783
|
+
picture?: (string) | null;
|
|
1784
|
+
};
|
|
1785
|
+
createdAt?: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* Whether this is a reply to another comment
|
|
1788
|
+
*/
|
|
1789
|
+
isReply?: boolean;
|
|
1790
|
+
/**
|
|
1791
|
+
* Parent comment ID if this is a reply
|
|
1792
|
+
*/
|
|
1793
|
+
parentCommentId?: (string) | null;
|
|
1794
|
+
};
|
|
1795
|
+
post?: {
|
|
1796
|
+
/**
|
|
1797
|
+
* Internal post ID
|
|
1798
|
+
*/
|
|
1799
|
+
id?: string;
|
|
1800
|
+
/**
|
|
1801
|
+
* Platform's post ID
|
|
1802
|
+
*/
|
|
1803
|
+
platformPostId?: string;
|
|
1804
|
+
};
|
|
1805
|
+
account?: {
|
|
1806
|
+
/**
|
|
1807
|
+
* Social account ID
|
|
1808
|
+
*/
|
|
1809
|
+
id?: string;
|
|
1810
|
+
platform?: string;
|
|
1811
|
+
username?: string;
|
|
1812
|
+
};
|
|
1813
|
+
timestamp?: string;
|
|
1814
|
+
};
|
|
1815
|
+
type event4 = 'comment.received';
|
|
1816
|
+
type platform2 = 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit';
|
|
1817
|
+
/**
|
|
1818
|
+
* Webhook payload for message received events (DMs from Instagram, Facebook, Telegram, Bluesky, Reddit)
|
|
1747
1819
|
*/
|
|
1748
1820
|
type WebhookPayloadMessage = {
|
|
1749
1821
|
event?: 'message.received';
|
|
@@ -1756,7 +1828,7 @@ type WebhookPayloadMessage = {
|
|
|
1756
1828
|
* Internal conversation ID
|
|
1757
1829
|
*/
|
|
1758
1830
|
conversationId?: string;
|
|
1759
|
-
platform?: 'instagram' | 'facebook' | 'telegram';
|
|
1831
|
+
platform?: 'instagram' | 'facebook' | 'telegram' | 'bluesky' | 'reddit';
|
|
1760
1832
|
/**
|
|
1761
1833
|
* Platform's message ID
|
|
1762
1834
|
*/
|
|
@@ -1853,8 +1925,8 @@ type WebhookPayloadMessage = {
|
|
|
1853
1925
|
} | null;
|
|
1854
1926
|
timestamp?: string;
|
|
1855
1927
|
};
|
|
1856
|
-
type
|
|
1857
|
-
type
|
|
1928
|
+
type event5 = 'message.received';
|
|
1929
|
+
type platform3 = 'instagram' | 'facebook' | 'telegram' | 'bluesky' | 'reddit';
|
|
1858
1930
|
type direction = 'incoming';
|
|
1859
1931
|
type status6 = 'active' | 'archived';
|
|
1860
1932
|
/**
|
|
@@ -1877,7 +1949,7 @@ type WebhookPayloadPost = {
|
|
|
1877
1949
|
};
|
|
1878
1950
|
timestamp?: string;
|
|
1879
1951
|
};
|
|
1880
|
-
type
|
|
1952
|
+
type event6 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial';
|
|
1881
1953
|
type YouTubeDailyViewsResponse = {
|
|
1882
1954
|
success?: boolean;
|
|
1883
1955
|
/**
|
|
@@ -4667,7 +4739,7 @@ type CreateWebhookSettingsData = {
|
|
|
4667
4739
|
/**
|
|
4668
4740
|
* Events to subscribe to
|
|
4669
4741
|
*/
|
|
4670
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
|
|
4742
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received')>;
|
|
4671
4743
|
/**
|
|
4672
4744
|
* Enable or disable webhook delivery
|
|
4673
4745
|
*/
|
|
@@ -4708,7 +4780,7 @@ type UpdateWebhookSettingsData = {
|
|
|
4708
4780
|
/**
|
|
4709
4781
|
* Events to subscribe to
|
|
4710
4782
|
*/
|
|
4711
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
|
|
4783
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received')>;
|
|
4712
4784
|
/**
|
|
4713
4785
|
* Enable or disable webhook delivery
|
|
4714
4786
|
*/
|
|
@@ -4765,7 +4837,7 @@ type GetWebhookLogsData = {
|
|
|
4765
4837
|
/**
|
|
4766
4838
|
* Filter by event type
|
|
4767
4839
|
*/
|
|
4768
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
|
|
4840
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
|
|
4769
4841
|
/**
|
|
4770
4842
|
* Maximum number of logs to return (max 100)
|
|
4771
4843
|
*/
|
|
@@ -5973,4 +6045,4 @@ type DeleteInboxReviewReplyError = ({
|
|
|
5973
6045
|
error?: string;
|
|
5974
6046
|
} | unknown);
|
|
5975
6047
|
|
|
5976
|
-
export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, 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 ConnectionLog, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, 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 DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, 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 EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, 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 GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, 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 GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, 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 GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, 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 HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListConnectionLogsData, type ListConnectionLogsError, type ListConnectionLogsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsLogsData, type ListPostsLogsError, type ListPostsLogsResponse, 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 Money, 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 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 RedditPlatformData, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, 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 SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, 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 WebhookPayloadMessage, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type connectionMethod, type contentType, type contentType2, type contentType3, Late as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event2, type event3, type event4, type event5, type eventType, type graduationStrategy, type mediaType, parseApiError, type parseMode, type permission, type platform, type platform2, type scope, type status, type status2, type status3, type status4, type status5, type status6, type type, type type2, type type3, type visibility };
|
|
6048
|
+
export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, 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 ConnectionLog, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, 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 DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, 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 EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, 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 GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, 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 GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, 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 GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, 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 HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListConnectionLogsData, type ListConnectionLogsError, type ListConnectionLogsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsLogsData, type ListPostsLogsError, type ListPostsLogsResponse, 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 Money, 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 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 RedditPlatformData, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, 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 SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, 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 WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type connectionMethod, type contentType, type contentType2, type contentType3, Late as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event2, type event3, type event4, type event5, type event6, type eventType, type graduationStrategy, type mediaType, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type replySettings, type scope, type status, type status2, type status3, type status4, type status5, type status6, type type, type type2, type type3, type visibility };
|
package/package.json
CHANGED
|
@@ -1235,6 +1235,10 @@ export type TranscriptSegment = {
|
|
|
1235
1235
|
};
|
|
1236
1236
|
|
|
1237
1237
|
export type TwitterPlatformData = {
|
|
1238
|
+
/**
|
|
1239
|
+
* Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers. Omit for default (everyone can reply). For threads, applies to the first tweet only.
|
|
1240
|
+
*/
|
|
1241
|
+
replySettings?: 'following' | 'mentionedUsers' | 'subscribers';
|
|
1238
1242
|
/**
|
|
1239
1243
|
* Sequence of tweets in a thread. First item is the root tweet.
|
|
1240
1244
|
*/
|
|
@@ -1244,6 +1248,11 @@ export type TwitterPlatformData = {
|
|
|
1244
1248
|
}>;
|
|
1245
1249
|
};
|
|
1246
1250
|
|
|
1251
|
+
/**
|
|
1252
|
+
* Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers. Omit for default (everyone can reply). For threads, applies to the first tweet only.
|
|
1253
|
+
*/
|
|
1254
|
+
export type replySettings = 'following' | 'mentionedUsers' | 'subscribers';
|
|
1255
|
+
|
|
1247
1256
|
export type UploadedFile = {
|
|
1248
1257
|
type?: 'image' | 'video' | 'document';
|
|
1249
1258
|
url?: string;
|
|
@@ -1328,7 +1337,7 @@ export type Webhook = {
|
|
|
1328
1337
|
/**
|
|
1329
1338
|
* Events subscribed to
|
|
1330
1339
|
*/
|
|
1331
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
|
|
1340
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received')>;
|
|
1332
1341
|
/**
|
|
1333
1342
|
* Whether webhook delivery is enabled
|
|
1334
1343
|
*/
|
|
@@ -1362,7 +1371,7 @@ export type WebhookLog = {
|
|
|
1362
1371
|
* Name of the webhook that was triggered
|
|
1363
1372
|
*/
|
|
1364
1373
|
webhookName?: string;
|
|
1365
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
|
|
1374
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
|
|
1366
1375
|
url?: string;
|
|
1367
1376
|
status?: 'success' | 'failed';
|
|
1368
1377
|
/**
|
|
@@ -1394,7 +1403,7 @@ export type WebhookLog = {
|
|
|
1394
1403
|
createdAt?: string;
|
|
1395
1404
|
};
|
|
1396
1405
|
|
|
1397
|
-
export type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
|
|
1406
|
+
export type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
|
|
1398
1407
|
|
|
1399
1408
|
export type status5 = 'success' | 'failed';
|
|
1400
1409
|
|
|
@@ -1458,7 +1467,74 @@ export type event3 = 'account.disconnected';
|
|
|
1458
1467
|
export type disconnectionType = 'intentional' | 'unintentional';
|
|
1459
1468
|
|
|
1460
1469
|
/**
|
|
1461
|
-
* Webhook payload for
|
|
1470
|
+
* Webhook payload for comment received events (Instagram, Facebook, Twitter/X, YouTube, LinkedIn, Bluesky, Reddit)
|
|
1471
|
+
*/
|
|
1472
|
+
export type WebhookPayloadComment = {
|
|
1473
|
+
event?: 'comment.received';
|
|
1474
|
+
comment?: {
|
|
1475
|
+
/**
|
|
1476
|
+
* Platform comment ID
|
|
1477
|
+
*/
|
|
1478
|
+
id?: string;
|
|
1479
|
+
/**
|
|
1480
|
+
* Internal post ID
|
|
1481
|
+
*/
|
|
1482
|
+
postId?: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* Platform's post ID
|
|
1485
|
+
*/
|
|
1486
|
+
platformPostId?: string;
|
|
1487
|
+
platform?: 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit';
|
|
1488
|
+
/**
|
|
1489
|
+
* Comment text content
|
|
1490
|
+
*/
|
|
1491
|
+
text?: string;
|
|
1492
|
+
author?: {
|
|
1493
|
+
/**
|
|
1494
|
+
* Author's platform ID
|
|
1495
|
+
*/
|
|
1496
|
+
id?: string;
|
|
1497
|
+
username?: string;
|
|
1498
|
+
name?: string;
|
|
1499
|
+
picture?: (string) | null;
|
|
1500
|
+
};
|
|
1501
|
+
createdAt?: string;
|
|
1502
|
+
/**
|
|
1503
|
+
* Whether this is a reply to another comment
|
|
1504
|
+
*/
|
|
1505
|
+
isReply?: boolean;
|
|
1506
|
+
/**
|
|
1507
|
+
* Parent comment ID if this is a reply
|
|
1508
|
+
*/
|
|
1509
|
+
parentCommentId?: (string) | null;
|
|
1510
|
+
};
|
|
1511
|
+
post?: {
|
|
1512
|
+
/**
|
|
1513
|
+
* Internal post ID
|
|
1514
|
+
*/
|
|
1515
|
+
id?: string;
|
|
1516
|
+
/**
|
|
1517
|
+
* Platform's post ID
|
|
1518
|
+
*/
|
|
1519
|
+
platformPostId?: string;
|
|
1520
|
+
};
|
|
1521
|
+
account?: {
|
|
1522
|
+
/**
|
|
1523
|
+
* Social account ID
|
|
1524
|
+
*/
|
|
1525
|
+
id?: string;
|
|
1526
|
+
platform?: string;
|
|
1527
|
+
username?: string;
|
|
1528
|
+
};
|
|
1529
|
+
timestamp?: string;
|
|
1530
|
+
};
|
|
1531
|
+
|
|
1532
|
+
export type event4 = 'comment.received';
|
|
1533
|
+
|
|
1534
|
+
export type platform2 = 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit';
|
|
1535
|
+
|
|
1536
|
+
/**
|
|
1537
|
+
* Webhook payload for message received events (DMs from Instagram, Facebook, Telegram, Bluesky, Reddit)
|
|
1462
1538
|
*/
|
|
1463
1539
|
export type WebhookPayloadMessage = {
|
|
1464
1540
|
event?: 'message.received';
|
|
@@ -1471,7 +1547,7 @@ export type WebhookPayloadMessage = {
|
|
|
1471
1547
|
* Internal conversation ID
|
|
1472
1548
|
*/
|
|
1473
1549
|
conversationId?: string;
|
|
1474
|
-
platform?: 'instagram' | 'facebook' | 'telegram';
|
|
1550
|
+
platform?: 'instagram' | 'facebook' | 'telegram' | 'bluesky' | 'reddit';
|
|
1475
1551
|
/**
|
|
1476
1552
|
* Platform's message ID
|
|
1477
1553
|
*/
|
|
@@ -1569,9 +1645,9 @@ export type WebhookPayloadMessage = {
|
|
|
1569
1645
|
timestamp?: string;
|
|
1570
1646
|
};
|
|
1571
1647
|
|
|
1572
|
-
export type
|
|
1648
|
+
export type event5 = 'message.received';
|
|
1573
1649
|
|
|
1574
|
-
export type
|
|
1650
|
+
export type platform3 = 'instagram' | 'facebook' | 'telegram' | 'bluesky' | 'reddit';
|
|
1575
1651
|
|
|
1576
1652
|
export type direction = 'incoming';
|
|
1577
1653
|
|
|
@@ -1598,7 +1674,7 @@ export type WebhookPayloadPost = {
|
|
|
1598
1674
|
timestamp?: string;
|
|
1599
1675
|
};
|
|
1600
1676
|
|
|
1601
|
-
export type
|
|
1677
|
+
export type event6 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial';
|
|
1602
1678
|
|
|
1603
1679
|
export type YouTubeDailyViewsResponse = {
|
|
1604
1680
|
success?: boolean;
|
|
@@ -4672,7 +4748,7 @@ export type CreateWebhookSettingsData = {
|
|
|
4672
4748
|
/**
|
|
4673
4749
|
* Events to subscribe to
|
|
4674
4750
|
*/
|
|
4675
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
|
|
4751
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received')>;
|
|
4676
4752
|
/**
|
|
4677
4753
|
* Enable or disable webhook delivery
|
|
4678
4754
|
*/
|
|
@@ -4716,7 +4792,7 @@ export type UpdateWebhookSettingsData = {
|
|
|
4716
4792
|
/**
|
|
4717
4793
|
* Events to subscribe to
|
|
4718
4794
|
*/
|
|
4719
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
|
|
4795
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received')>;
|
|
4720
4796
|
/**
|
|
4721
4797
|
* Enable or disable webhook delivery
|
|
4722
4798
|
*/
|
|
@@ -4782,7 +4858,7 @@ export type GetWebhookLogsData = {
|
|
|
4782
4858
|
/**
|
|
4783
4859
|
* Filter by event type
|
|
4784
4860
|
*/
|
|
4785
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
|
|
4861
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
|
|
4786
4862
|
/**
|
|
4787
4863
|
* Maximum number of logs to return (max 100)
|
|
4788
4864
|
*/
|