@getlatedev/node 0.1.14 → 0.1.16
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/README.md +14 -0
- package/dist/index.d.mts +323 -3
- package/dist/index.d.ts +323 -3
- package/dist/index.js +76 -1
- package/dist/index.mjs +76 -1
- package/package.json +1 -1
- package/src/client.ts +26 -0
- package/src/generated/sdk.gen.ts +127 -5
- package/src/generated/types.gen.ts +337 -2
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import { createClient, createConfig, type OptionsLegacyParser, formDataBodySerializer } from '@hey-api/client-fetch';
|
|
4
|
-
import type { DownloadYouTubeVideoData, DownloadYouTubeVideoError, DownloadYouTubeVideoResponse, GetYouTubeTranscriptData, GetYouTubeTranscriptError, GetYouTubeTranscriptResponse, DownloadInstagramMediaData, DownloadInstagramMediaError, DownloadInstagramMediaResponse, CheckInstagramHashtagsData, CheckInstagramHashtagsError, CheckInstagramHashtagsResponse, DownloadTikTokVideoData, DownloadTikTokVideoError, DownloadTikTokVideoResponse, DownloadTwitterMediaData, DownloadTwitterMediaError, DownloadTwitterMediaResponse, DownloadFacebookVideoData, DownloadFacebookVideoError, DownloadFacebookVideoResponse, DownloadLinkedInVideoData, DownloadLinkedInVideoError, DownloadLinkedInVideoResponse, DownloadBlueskyMediaData, DownloadBlueskyMediaError, DownloadBlueskyMediaResponse, GetAnalyticsData, GetAnalyticsError, GetAnalyticsResponse, GetYouTubeDailyViewsData, GetYouTubeDailyViewsError, GetYouTubeDailyViewsResponse, ListAccountGroupsError, ListAccountGroupsResponse, CreateAccountGroupData, CreateAccountGroupError, CreateAccountGroupResponse, UpdateAccountGroupData, UpdateAccountGroupError, UpdateAccountGroupResponse, DeleteAccountGroupData, DeleteAccountGroupError, DeleteAccountGroupResponse, GetMediaPresignedUrlData, GetMediaPresignedUrlError, GetMediaPresignedUrlResponse, SearchRedditData, SearchRedditError, SearchRedditResponse, GetRedditFeedData, GetRedditFeedError, GetRedditFeedResponse, GetUsageStatsError, GetUsageStatsResponse, ListPostsData, ListPostsError, ListPostsResponse, CreatePostData, CreatePostError, CreatePostResponse, GetPostData, GetPostError, GetPostResponse, UpdatePostData, UpdatePostError, UpdatePostResponse, DeletePostData, DeletePostError, DeletePostResponse, BulkUploadPostsData, BulkUploadPostsError, BulkUploadPostsResponse, RetryPostData, RetryPostError, RetryPostResponse, ListUsersError, ListUsersResponse, GetUserData, GetUserError, GetUserResponse, ListProfilesData, ListProfilesError, ListProfilesResponse, CreateProfileData, CreateProfileError, CreateProfileResponse, GetProfileData, GetProfileError, GetProfileResponse, UpdateProfileData, UpdateProfileError, UpdateProfileResponse, DeleteProfileData, DeleteProfileError, DeleteProfileResponse, ListAccountsData, ListAccountsError, ListAccountsResponse, GetFollowerStatsData, GetFollowerStatsError, GetFollowerStatsResponse, UpdateAccountData, UpdateAccountError, UpdateAccountResponse, DeleteAccountData, DeleteAccountError, DeleteAccountResponse, GetAllAccountsHealthData, GetAllAccountsHealthError, GetAllAccountsHealthResponse, GetAccountHealthData, GetAccountHealthError, GetAccountHealthResponse, ListApiKeysError, ListApiKeysResponse, CreateApiKeyData, CreateApiKeyError, CreateApiKeyResponse, DeleteApiKeyData, DeleteApiKeyError, DeleteApiKeyResponse, CreateInviteTokenData, CreateInviteTokenError, CreateInviteTokenResponse, GetConnectUrlData, GetConnectUrlError, GetConnectUrlResponse, HandleOAuthCallbackData, HandleOAuthCallbackError, HandleOAuthCallbackResponse, ListFacebookPagesData, ListFacebookPagesError, ListFacebookPagesResponse, SelectFacebookPageData, SelectFacebookPageError, SelectFacebookPageResponse, ListGoogleBusinessLocationsData, ListGoogleBusinessLocationsError, ListGoogleBusinessLocationsResponse, SelectGoogleBusinessLocationData, SelectGoogleBusinessLocationError, SelectGoogleBusinessLocationResponse, GetGoogleBusinessReviewsData, GetGoogleBusinessReviewsError, GetGoogleBusinessReviewsResponse, GetGoogleBusinessFoodMenusData, GetGoogleBusinessFoodMenusError, GetGoogleBusinessFoodMenusResponse, UpdateGoogleBusinessFoodMenusData, UpdateGoogleBusinessFoodMenusError, UpdateGoogleBusinessFoodMenusResponse, GetGoogleBusinessLocationDetailsData, GetGoogleBusinessLocationDetailsError, GetGoogleBusinessLocationDetailsResponse, UpdateGoogleBusinessLocationDetailsData, UpdateGoogleBusinessLocationDetailsError, UpdateGoogleBusinessLocationDetailsResponse, ListGoogleBusinessMediaData, ListGoogleBusinessMediaError, ListGoogleBusinessMediaResponse, CreateGoogleBusinessMediaData, CreateGoogleBusinessMediaError, CreateGoogleBusinessMediaResponse, DeleteGoogleBusinessMediaData, DeleteGoogleBusinessMediaError, DeleteGoogleBusinessMediaResponse, GetGoogleBusinessAttributesData, GetGoogleBusinessAttributesError, GetGoogleBusinessAttributesResponse, UpdateGoogleBusinessAttributesData, UpdateGoogleBusinessAttributesError, UpdateGoogleBusinessAttributesResponse, ListGoogleBusinessPlaceActionsData, ListGoogleBusinessPlaceActionsError, ListGoogleBusinessPlaceActionsResponse, CreateGoogleBusinessPlaceActionData, CreateGoogleBusinessPlaceActionError, CreateGoogleBusinessPlaceActionResponse, DeleteGoogleBusinessPlaceActionData, DeleteGoogleBusinessPlaceActionError, DeleteGoogleBusinessPlaceActionResponse, GetPendingOAuthDataData, GetPendingOAuthDataError, GetPendingOAuthDataResponse, ListLinkedInOrganizationsData, ListLinkedInOrganizationsError, ListLinkedInOrganizationsResponse, SelectLinkedInOrganizationData, SelectLinkedInOrganizationError, SelectLinkedInOrganizationResponse, ListPinterestBoardsForSelectionData, ListPinterestBoardsForSelectionError, ListPinterestBoardsForSelectionResponse, SelectPinterestBoardData, SelectPinterestBoardError, SelectPinterestBoardResponse, ListSnapchatProfilesData, ListSnapchatProfilesError, ListSnapchatProfilesResponse, SelectSnapchatProfileData, SelectSnapchatProfileError, SelectSnapchatProfileResponse, ConnectBlueskyCredentialsData, ConnectBlueskyCredentialsError, ConnectBlueskyCredentialsResponse, GetTelegramConnectStatusData, GetTelegramConnectStatusError, GetTelegramConnectStatusResponse, InitiateTelegramConnectData, InitiateTelegramConnectError, InitiateTelegramConnectResponse, CompleteTelegramConnectData, CompleteTelegramConnectError, CompleteTelegramConnectResponse, GetFacebookPagesData, GetFacebookPagesError, GetFacebookPagesResponse, UpdateFacebookPageData, UpdateFacebookPageError, UpdateFacebookPageResponse, GetLinkedInOrganizationsData, GetLinkedInOrganizationsError, GetLinkedInOrganizationsResponse, GetLinkedInAggregateAnalyticsData, GetLinkedInAggregateAnalyticsError, GetLinkedInAggregateAnalyticsResponse, GetLinkedInPostAnalyticsData, GetLinkedInPostAnalyticsError, GetLinkedInPostAnalyticsResponse, UpdateLinkedInOrganizationData, UpdateLinkedInOrganizationError, UpdateLinkedInOrganizationResponse, GetLinkedInMentionsData, GetLinkedInMentionsError, GetLinkedInMentionsResponse, GetPinterestBoardsData, GetPinterestBoardsError, GetPinterestBoardsResponse, UpdatePinterestBoardsData, UpdatePinterestBoardsError, UpdatePinterestBoardsResponse, GetGmbLocationsData, GetGmbLocationsError, GetGmbLocationsResponse, UpdateGmbLocationData, UpdateGmbLocationError, UpdateGmbLocationResponse, GetRedditSubredditsData, GetRedditSubredditsError, GetRedditSubredditsResponse, UpdateRedditSubredditsData, UpdateRedditSubredditsError, UpdateRedditSubredditsResponse, ListQueueSlotsData, ListQueueSlotsError, ListQueueSlotsResponse, CreateQueueSlotData, CreateQueueSlotError, CreateQueueSlotResponse, UpdateQueueSlotData, UpdateQueueSlotError, UpdateQueueSlotResponse, DeleteQueueSlotData, DeleteQueueSlotError, DeleteQueueSlotResponse, PreviewQueueData, PreviewQueueError, PreviewQueueResponse, GetNextQueueSlotData, GetNextQueueSlotError, GetNextQueueSlotResponse, GetWebhookSettingsError, GetWebhookSettingsResponse, CreateWebhookSettingsData, CreateWebhookSettingsError, CreateWebhookSettingsResponse, UpdateWebhookSettingsData, UpdateWebhookSettingsError, UpdateWebhookSettingsResponse, DeleteWebhookSettingsData, DeleteWebhookSettingsError, DeleteWebhookSettingsResponse, TestWebhookData, TestWebhookError, TestWebhookResponse, GetWebhookLogsData, GetWebhookLogsError, GetWebhookLogsResponse, ListLogsData, ListLogsError, ListLogsResponse, GetLogData, GetLogError, GetLogResponse, ListPostsLogsData, ListPostsLogsError, ListPostsLogsResponse, ListConnectionLogsData, ListConnectionLogsError, ListConnectionLogsResponse, GetPostLogsData, GetPostLogsError, GetPostLogsResponse, ListInboxConversationsData, ListInboxConversationsError, ListInboxConversationsResponse, GetInboxConversationData, GetInboxConversationError, GetInboxConversationResponse, UpdateInboxConversationData, UpdateInboxConversationError, UpdateInboxConversationResponse, GetInboxConversationMessagesData, GetInboxConversationMessagesError, GetInboxConversationMessagesResponse, SendInboxMessageData, SendInboxMessageError, SendInboxMessageResponse, ListInboxCommentsData, ListInboxCommentsError, ListInboxCommentsResponse, GetInboxPostCommentsData, GetInboxPostCommentsError, GetInboxPostCommentsResponse, ReplyToInboxPostData, ReplyToInboxPostError, ReplyToInboxPostResponse, DeleteInboxCommentData, DeleteInboxCommentError, DeleteInboxCommentResponse, HideInboxCommentData, HideInboxCommentError, HideInboxCommentResponse, UnhideInboxCommentData, UnhideInboxCommentError, UnhideInboxCommentResponse, LikeInboxCommentData, LikeInboxCommentError, LikeInboxCommentResponse, UnlikeInboxCommentData, UnlikeInboxCommentError, UnlikeInboxCommentResponse, SendPrivateReplyToCommentData, SendPrivateReplyToCommentError, SendPrivateReplyToCommentResponse, ListInboxReviewsData, ListInboxReviewsError, ListInboxReviewsResponse, ReplyToInboxReviewData, ReplyToInboxReviewError, ReplyToInboxReviewResponse, DeleteInboxReviewReplyData, DeleteInboxReviewReplyError, DeleteInboxReviewReplyResponse } from './types.gen';
|
|
4
|
+
import type { DownloadYouTubeVideoData, DownloadYouTubeVideoError, DownloadYouTubeVideoResponse, GetYouTubeTranscriptData, GetYouTubeTranscriptError, GetYouTubeTranscriptResponse, DownloadInstagramMediaData, DownloadInstagramMediaError, DownloadInstagramMediaResponse, CheckInstagramHashtagsData, CheckInstagramHashtagsError, CheckInstagramHashtagsResponse, DownloadTikTokVideoData, DownloadTikTokVideoError, DownloadTikTokVideoResponse, DownloadTwitterMediaData, DownloadTwitterMediaError, DownloadTwitterMediaResponse, DownloadFacebookVideoData, DownloadFacebookVideoError, DownloadFacebookVideoResponse, DownloadLinkedInVideoData, DownloadLinkedInVideoError, DownloadLinkedInVideoResponse, DownloadBlueskyMediaData, DownloadBlueskyMediaError, DownloadBlueskyMediaResponse, GetAnalyticsData, GetAnalyticsError, GetAnalyticsResponse, GetYouTubeDailyViewsData, GetYouTubeDailyViewsError, GetYouTubeDailyViewsResponse, ListAccountGroupsError, ListAccountGroupsResponse, CreateAccountGroupData, CreateAccountGroupError, CreateAccountGroupResponse, UpdateAccountGroupData, UpdateAccountGroupError, UpdateAccountGroupResponse, DeleteAccountGroupData, DeleteAccountGroupError, DeleteAccountGroupResponse, GetMediaPresignedUrlData, GetMediaPresignedUrlError, GetMediaPresignedUrlResponse, SearchRedditData, SearchRedditError, SearchRedditResponse, GetRedditFeedData, GetRedditFeedError, GetRedditFeedResponse, GetUsageStatsError, GetUsageStatsResponse, ListPostsData, ListPostsError, ListPostsResponse, CreatePostData, CreatePostError, CreatePostResponse, GetPostData, GetPostError, GetPostResponse, UpdatePostData, UpdatePostError, UpdatePostResponse, DeletePostData, DeletePostError, DeletePostResponse, BulkUploadPostsData, BulkUploadPostsError, BulkUploadPostsResponse, RetryPostData, RetryPostError, RetryPostResponse, ListUsersError, ListUsersResponse, GetUserData, GetUserError, GetUserResponse, ListProfilesData, ListProfilesError, ListProfilesResponse, CreateProfileData, CreateProfileError, CreateProfileResponse, GetProfileData, GetProfileError, GetProfileResponse, UpdateProfileData, UpdateProfileError, UpdateProfileResponse, DeleteProfileData, DeleteProfileError, DeleteProfileResponse, ListAccountsData, ListAccountsError, ListAccountsResponse, GetFollowerStatsData, GetFollowerStatsError, GetFollowerStatsResponse, UpdateAccountData, UpdateAccountError, UpdateAccountResponse, DeleteAccountData, DeleteAccountError, DeleteAccountResponse, GetAllAccountsHealthData, GetAllAccountsHealthError, GetAllAccountsHealthResponse, GetAccountHealthData, GetAccountHealthError, GetAccountHealthResponse, ListApiKeysError, ListApiKeysResponse, CreateApiKeyData, CreateApiKeyError, CreateApiKeyResponse, DeleteApiKeyData, DeleteApiKeyError, DeleteApiKeyResponse, CreateInviteTokenData, CreateInviteTokenError, CreateInviteTokenResponse, GetConnectUrlData, GetConnectUrlError, GetConnectUrlResponse, HandleOAuthCallbackData, HandleOAuthCallbackError, HandleOAuthCallbackResponse, ListFacebookPagesData, ListFacebookPagesError, ListFacebookPagesResponse, SelectFacebookPageData, SelectFacebookPageError, SelectFacebookPageResponse, ListGoogleBusinessLocationsData, ListGoogleBusinessLocationsError, ListGoogleBusinessLocationsResponse, SelectGoogleBusinessLocationData, SelectGoogleBusinessLocationError, SelectGoogleBusinessLocationResponse, GetGoogleBusinessReviewsData, GetGoogleBusinessReviewsError, GetGoogleBusinessReviewsResponse, GetGoogleBusinessFoodMenusData, GetGoogleBusinessFoodMenusError, GetGoogleBusinessFoodMenusResponse, UpdateGoogleBusinessFoodMenusData, UpdateGoogleBusinessFoodMenusError, UpdateGoogleBusinessFoodMenusResponse, GetGoogleBusinessLocationDetailsData, GetGoogleBusinessLocationDetailsError, GetGoogleBusinessLocationDetailsResponse, UpdateGoogleBusinessLocationDetailsData, UpdateGoogleBusinessLocationDetailsError, UpdateGoogleBusinessLocationDetailsResponse, ListGoogleBusinessMediaData, ListGoogleBusinessMediaError, ListGoogleBusinessMediaResponse, CreateGoogleBusinessMediaData, CreateGoogleBusinessMediaError, CreateGoogleBusinessMediaResponse, DeleteGoogleBusinessMediaData, DeleteGoogleBusinessMediaError, DeleteGoogleBusinessMediaResponse, GetGoogleBusinessAttributesData, GetGoogleBusinessAttributesError, GetGoogleBusinessAttributesResponse, UpdateGoogleBusinessAttributesData, UpdateGoogleBusinessAttributesError, UpdateGoogleBusinessAttributesResponse, ListGoogleBusinessPlaceActionsData, ListGoogleBusinessPlaceActionsError, ListGoogleBusinessPlaceActionsResponse, CreateGoogleBusinessPlaceActionData, CreateGoogleBusinessPlaceActionError, CreateGoogleBusinessPlaceActionResponse, DeleteGoogleBusinessPlaceActionData, DeleteGoogleBusinessPlaceActionError, DeleteGoogleBusinessPlaceActionResponse, GetPendingOAuthDataData, GetPendingOAuthDataError, GetPendingOAuthDataResponse, ListLinkedInOrganizationsData, ListLinkedInOrganizationsError, ListLinkedInOrganizationsResponse, SelectLinkedInOrganizationData, SelectLinkedInOrganizationError, SelectLinkedInOrganizationResponse, ListPinterestBoardsForSelectionData, ListPinterestBoardsForSelectionError, ListPinterestBoardsForSelectionResponse, SelectPinterestBoardData, SelectPinterestBoardError, SelectPinterestBoardResponse, ListSnapchatProfilesData, ListSnapchatProfilesError, ListSnapchatProfilesResponse, SelectSnapchatProfileData, SelectSnapchatProfileError, SelectSnapchatProfileResponse, ConnectBlueskyCredentialsData, ConnectBlueskyCredentialsError, ConnectBlueskyCredentialsResponse, GetTelegramConnectStatusData, GetTelegramConnectStatusError, GetTelegramConnectStatusResponse, InitiateTelegramConnectData, InitiateTelegramConnectError, InitiateTelegramConnectResponse, CompleteTelegramConnectData, CompleteTelegramConnectError, CompleteTelegramConnectResponse, GetFacebookPagesData, GetFacebookPagesError, GetFacebookPagesResponse, UpdateFacebookPageData, UpdateFacebookPageError, UpdateFacebookPageResponse, GetLinkedInOrganizationsData, GetLinkedInOrganizationsError, GetLinkedInOrganizationsResponse, GetLinkedInAggregateAnalyticsData, GetLinkedInAggregateAnalyticsError, GetLinkedInAggregateAnalyticsResponse, GetLinkedInPostAnalyticsData, GetLinkedInPostAnalyticsError, GetLinkedInPostAnalyticsResponse, UpdateLinkedInOrganizationData, UpdateLinkedInOrganizationError, UpdateLinkedInOrganizationResponse, GetLinkedInMentionsData, GetLinkedInMentionsError, GetLinkedInMentionsResponse, GetPinterestBoardsData, GetPinterestBoardsError, GetPinterestBoardsResponse, UpdatePinterestBoardsData, UpdatePinterestBoardsError, UpdatePinterestBoardsResponse, GetGmbLocationsData, GetGmbLocationsError, GetGmbLocationsResponse, UpdateGmbLocationData, UpdateGmbLocationError, UpdateGmbLocationResponse, GetRedditSubredditsData, GetRedditSubredditsError, GetRedditSubredditsResponse, UpdateRedditSubredditsData, UpdateRedditSubredditsError, UpdateRedditSubredditsResponse, ListQueueSlotsData, ListQueueSlotsError, ListQueueSlotsResponse, CreateQueueSlotData, CreateQueueSlotError, CreateQueueSlotResponse, UpdateQueueSlotData, UpdateQueueSlotError, UpdateQueueSlotResponse, DeleteQueueSlotData, DeleteQueueSlotError, DeleteQueueSlotResponse, PreviewQueueData, PreviewQueueError, PreviewQueueResponse, GetNextQueueSlotData, GetNextQueueSlotError, GetNextQueueSlotResponse, GetWebhookSettingsError, GetWebhookSettingsResponse, CreateWebhookSettingsData, CreateWebhookSettingsError, CreateWebhookSettingsResponse, UpdateWebhookSettingsData, UpdateWebhookSettingsError, UpdateWebhookSettingsResponse, DeleteWebhookSettingsData, DeleteWebhookSettingsError, DeleteWebhookSettingsResponse, TestWebhookData, TestWebhookError, TestWebhookResponse, GetWebhookLogsData, GetWebhookLogsError, GetWebhookLogsResponse, ListLogsData, ListLogsError, ListLogsResponse, GetLogData, GetLogError, GetLogResponse, ListPostsLogsData, ListPostsLogsError, ListPostsLogsResponse, ListConnectionLogsData, ListConnectionLogsError, ListConnectionLogsResponse, GetPostLogsData, GetPostLogsError, GetPostLogsResponse, ListInboxConversationsData, ListInboxConversationsError, ListInboxConversationsResponse, GetInboxConversationData, GetInboxConversationError, GetInboxConversationResponse, UpdateInboxConversationData, UpdateInboxConversationError, UpdateInboxConversationResponse, GetInboxConversationMessagesData, GetInboxConversationMessagesError, GetInboxConversationMessagesResponse, SendInboxMessageData, SendInboxMessageError, SendInboxMessageResponse, EditInboxMessageData, EditInboxMessageError, EditInboxMessageResponse, GetMessengerMenuData, GetMessengerMenuError, GetMessengerMenuResponse, SetMessengerMenuData, SetMessengerMenuError, SetMessengerMenuResponse, DeleteMessengerMenuData, DeleteMessengerMenuError, DeleteMessengerMenuResponse, GetInstagramIceBreakersData, GetInstagramIceBreakersError, GetInstagramIceBreakersResponse, SetInstagramIceBreakersData, SetInstagramIceBreakersError, SetInstagramIceBreakersResponse, DeleteInstagramIceBreakersData, DeleteInstagramIceBreakersError, DeleteInstagramIceBreakersResponse, GetTelegramCommandsData, GetTelegramCommandsError, GetTelegramCommandsResponse, SetTelegramCommandsData, SetTelegramCommandsError, SetTelegramCommandsResponse, DeleteTelegramCommandsData, DeleteTelegramCommandsError, DeleteTelegramCommandsResponse, ListInboxCommentsData, ListInboxCommentsError, ListInboxCommentsResponse, GetInboxPostCommentsData, GetInboxPostCommentsError, GetInboxPostCommentsResponse, ReplyToInboxPostData, ReplyToInboxPostError, ReplyToInboxPostResponse, DeleteInboxCommentData, DeleteInboxCommentError, DeleteInboxCommentResponse, HideInboxCommentData, HideInboxCommentError, HideInboxCommentResponse, UnhideInboxCommentData, UnhideInboxCommentError, UnhideInboxCommentResponse, LikeInboxCommentData, LikeInboxCommentError, LikeInboxCommentResponse, UnlikeInboxCommentData, UnlikeInboxCommentError, UnlikeInboxCommentResponse, SendPrivateReplyToCommentData, SendPrivateReplyToCommentError, SendPrivateReplyToCommentResponse, ListInboxReviewsData, ListInboxReviewsError, ListInboxReviewsResponse, ReplyToInboxReviewData, ReplyToInboxReviewError, ReplyToInboxReviewResponse, DeleteInboxReviewReplyData, DeleteInboxReviewReplyError, DeleteInboxReviewReplyResponse } from './types.gen';
|
|
5
5
|
|
|
6
6
|
export const client = createClient(createConfig());
|
|
7
7
|
|
|
@@ -1773,15 +1773,28 @@ export const getInboxConversationMessages = <ThrowOnError extends boolean = fals
|
|
|
1773
1773
|
|
|
1774
1774
|
/**
|
|
1775
1775
|
* Send a message
|
|
1776
|
-
* Send a message in a conversation.
|
|
1776
|
+
* Send a message in a conversation. Supports text, attachments, quick replies, buttons, carousels, and message tags.
|
|
1777
1777
|
*
|
|
1778
1778
|
* **Attachment support by platform:**
|
|
1779
1779
|
* - Telegram: Images, videos, documents (up to 50MB)
|
|
1780
1780
|
* - Facebook Messenger: Images, videos, audio, files
|
|
1781
|
+
* - Instagram: Images, videos, audio via URL (8MB images, 25MB video/audio)
|
|
1781
1782
|
* - Twitter/X: Images, videos (requires media upload)
|
|
1782
|
-
* -
|
|
1783
|
-
* -
|
|
1784
|
-
*
|
|
1783
|
+
* - Bluesky: Not supported
|
|
1784
|
+
* - Reddit: Not supported
|
|
1785
|
+
*
|
|
1786
|
+
* **Interactive message support:**
|
|
1787
|
+
* | Field | Instagram | Facebook | Telegram |
|
|
1788
|
+
* |---|---|---|---|
|
|
1789
|
+
* | quickReplies | Meta quick_replies (13 max) | Meta quick_replies (13 max) | ReplyKeyboardMarkup (one_time) |
|
|
1790
|
+
* | buttons | Generic template | Generic template | Inline keyboard |
|
|
1791
|
+
* | template | Generic template (carousel) | Generic template (carousel) | Ignored |
|
|
1792
|
+
* | replyMarkup | Ignored | Ignored | InlineKeyboardMarkup / ReplyKeyboardMarkup |
|
|
1793
|
+
* | messagingType | Ignored | RESPONSE / UPDATE / MESSAGE_TAG | Ignored |
|
|
1794
|
+
* | messageTag | HUMAN_AGENT only | 4 tag types | Ignored |
|
|
1795
|
+
* | replyTo | Ignored | Ignored | reply_parameters |
|
|
1796
|
+
*
|
|
1797
|
+
* Platform-specific fields are silently ignored on unsupported platforms.
|
|
1785
1798
|
*
|
|
1786
1799
|
*/
|
|
1787
1800
|
export const sendInboxMessage = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SendInboxMessageData, ThrowOnError>) => {
|
|
@@ -1791,6 +1804,115 @@ export const sendInboxMessage = <ThrowOnError extends boolean = false>(options:
|
|
|
1791
1804
|
});
|
|
1792
1805
|
};
|
|
1793
1806
|
|
|
1807
|
+
/**
|
|
1808
|
+
* Edit a message (Telegram only)
|
|
1809
|
+
* Edit the text and/or reply markup of a previously sent Telegram message.
|
|
1810
|
+
* Only supported for Telegram. Returns 400 for other platforms.
|
|
1811
|
+
*
|
|
1812
|
+
*/
|
|
1813
|
+
export const editInboxMessage = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<EditInboxMessageData, ThrowOnError>) => {
|
|
1814
|
+
return (options?.client ?? client).patch<EditInboxMessageResponse, EditInboxMessageError, ThrowOnError>({
|
|
1815
|
+
...options,
|
|
1816
|
+
url: '/v1/inbox/conversations/{conversationId}/messages/{messageId}'
|
|
1817
|
+
});
|
|
1818
|
+
};
|
|
1819
|
+
|
|
1820
|
+
/**
|
|
1821
|
+
* Get Facebook persistent menu
|
|
1822
|
+
* Get the persistent menu configuration for a Facebook Messenger account.
|
|
1823
|
+
*/
|
|
1824
|
+
export const getMessengerMenu = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetMessengerMenuData, ThrowOnError>) => {
|
|
1825
|
+
return (options?.client ?? client).get<GetMessengerMenuResponse, GetMessengerMenuError, ThrowOnError>({
|
|
1826
|
+
...options,
|
|
1827
|
+
url: '/v1/accounts/{accountId}/messenger-menu'
|
|
1828
|
+
});
|
|
1829
|
+
};
|
|
1830
|
+
|
|
1831
|
+
/**
|
|
1832
|
+
* Set Facebook persistent menu
|
|
1833
|
+
* Set the persistent menu for a Facebook Messenger account. Max 3 top-level items, max 5 nested items.
|
|
1834
|
+
*/
|
|
1835
|
+
export const setMessengerMenu = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SetMessengerMenuData, ThrowOnError>) => {
|
|
1836
|
+
return (options?.client ?? client).put<SetMessengerMenuResponse, SetMessengerMenuError, ThrowOnError>({
|
|
1837
|
+
...options,
|
|
1838
|
+
url: '/v1/accounts/{accountId}/messenger-menu'
|
|
1839
|
+
});
|
|
1840
|
+
};
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* Delete Facebook persistent menu
|
|
1844
|
+
*/
|
|
1845
|
+
export const deleteMessengerMenu = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DeleteMessengerMenuData, ThrowOnError>) => {
|
|
1846
|
+
return (options?.client ?? client).delete<DeleteMessengerMenuResponse, DeleteMessengerMenuError, ThrowOnError>({
|
|
1847
|
+
...options,
|
|
1848
|
+
url: '/v1/accounts/{accountId}/messenger-menu'
|
|
1849
|
+
});
|
|
1850
|
+
};
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* Get Instagram ice breakers
|
|
1854
|
+
* Get the ice breaker configuration for an Instagram account.
|
|
1855
|
+
*/
|
|
1856
|
+
export const getInstagramIceBreakers = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetInstagramIceBreakersData, ThrowOnError>) => {
|
|
1857
|
+
return (options?.client ?? client).get<GetInstagramIceBreakersResponse, GetInstagramIceBreakersError, ThrowOnError>({
|
|
1858
|
+
...options,
|
|
1859
|
+
url: '/v1/accounts/{accountId}/instagram-ice-breakers'
|
|
1860
|
+
});
|
|
1861
|
+
};
|
|
1862
|
+
|
|
1863
|
+
/**
|
|
1864
|
+
* Set Instagram ice breakers
|
|
1865
|
+
* Set ice breakers for an Instagram account. Max 4 ice breakers, question max 80 chars.
|
|
1866
|
+
*/
|
|
1867
|
+
export const setInstagramIceBreakers = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SetInstagramIceBreakersData, ThrowOnError>) => {
|
|
1868
|
+
return (options?.client ?? client).put<SetInstagramIceBreakersResponse, SetInstagramIceBreakersError, ThrowOnError>({
|
|
1869
|
+
...options,
|
|
1870
|
+
url: '/v1/accounts/{accountId}/instagram-ice-breakers'
|
|
1871
|
+
});
|
|
1872
|
+
};
|
|
1873
|
+
|
|
1874
|
+
/**
|
|
1875
|
+
* Delete Instagram ice breakers
|
|
1876
|
+
*/
|
|
1877
|
+
export const deleteInstagramIceBreakers = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DeleteInstagramIceBreakersData, ThrowOnError>) => {
|
|
1878
|
+
return (options?.client ?? client).delete<DeleteInstagramIceBreakersResponse, DeleteInstagramIceBreakersError, ThrowOnError>({
|
|
1879
|
+
...options,
|
|
1880
|
+
url: '/v1/accounts/{accountId}/instagram-ice-breakers'
|
|
1881
|
+
});
|
|
1882
|
+
};
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* Get Telegram bot commands
|
|
1886
|
+
* Get the bot commands configuration for a Telegram account.
|
|
1887
|
+
*/
|
|
1888
|
+
export const getTelegramCommands = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetTelegramCommandsData, ThrowOnError>) => {
|
|
1889
|
+
return (options?.client ?? client).get<GetTelegramCommandsResponse, GetTelegramCommandsError, ThrowOnError>({
|
|
1890
|
+
...options,
|
|
1891
|
+
url: '/v1/accounts/{accountId}/telegram-commands'
|
|
1892
|
+
});
|
|
1893
|
+
};
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* Set Telegram bot commands
|
|
1897
|
+
* Set bot commands for a Telegram account.
|
|
1898
|
+
*/
|
|
1899
|
+
export const setTelegramCommands = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SetTelegramCommandsData, ThrowOnError>) => {
|
|
1900
|
+
return (options?.client ?? client).put<SetTelegramCommandsResponse, SetTelegramCommandsError, ThrowOnError>({
|
|
1901
|
+
...options,
|
|
1902
|
+
url: '/v1/accounts/{accountId}/telegram-commands'
|
|
1903
|
+
});
|
|
1904
|
+
};
|
|
1905
|
+
|
|
1906
|
+
/**
|
|
1907
|
+
* Delete Telegram bot commands
|
|
1908
|
+
*/
|
|
1909
|
+
export const deleteTelegramCommands = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DeleteTelegramCommandsData, ThrowOnError>) => {
|
|
1910
|
+
return (options?.client ?? client).delete<DeleteTelegramCommandsResponse, DeleteTelegramCommandsError, ThrowOnError>({
|
|
1911
|
+
...options,
|
|
1912
|
+
url: '/v1/accounts/{accountId}/telegram-commands'
|
|
1913
|
+
});
|
|
1914
|
+
};
|
|
1915
|
+
|
|
1794
1916
|
/**
|
|
1795
1917
|
* List posts with comments across all accounts
|
|
1796
1918
|
* Fetch posts with their comment counts from all connected accounts.
|
|
@@ -1801,6 +1801,27 @@ export type WebhookPayloadMessage = {
|
|
|
1801
1801
|
username?: string;
|
|
1802
1802
|
displayName?: string;
|
|
1803
1803
|
};
|
|
1804
|
+
/**
|
|
1805
|
+
* Interactive message metadata (present when message is a quick reply tap, postback button tap, or inline keyboard callback)
|
|
1806
|
+
*/
|
|
1807
|
+
metadata?: {
|
|
1808
|
+
/**
|
|
1809
|
+
* Payload from a quick reply tap (Meta platforms)
|
|
1810
|
+
*/
|
|
1811
|
+
quickReplyPayload?: string;
|
|
1812
|
+
/**
|
|
1813
|
+
* Payload from a postback button tap (Meta platforms)
|
|
1814
|
+
*/
|
|
1815
|
+
postbackPayload?: string;
|
|
1816
|
+
/**
|
|
1817
|
+
* Title of the tapped postback button (Meta platforms)
|
|
1818
|
+
*/
|
|
1819
|
+
postbackTitle?: string;
|
|
1820
|
+
/**
|
|
1821
|
+
* Callback data from an inline keyboard button tap (Telegram)
|
|
1822
|
+
*/
|
|
1823
|
+
callbackData?: string;
|
|
1824
|
+
} | null;
|
|
1804
1825
|
timestamp?: string;
|
|
1805
1826
|
};
|
|
1806
1827
|
|
|
@@ -2557,7 +2578,16 @@ export type GetPostError = ({
|
|
|
2557
2578
|
|
|
2558
2579
|
export type UpdatePostData = {
|
|
2559
2580
|
body: {
|
|
2560
|
-
|
|
2581
|
+
content?: string;
|
|
2582
|
+
scheduledFor?: string;
|
|
2583
|
+
/**
|
|
2584
|
+
* Root-level TikTok settings applied to all TikTok platforms in the request.
|
|
2585
|
+
* This is a convenience shorthand. Settings here are merged into each TikTok
|
|
2586
|
+
* platform's platformSpecificData, with platform-specific settings taking precedence.
|
|
2587
|
+
*
|
|
2588
|
+
*/
|
|
2589
|
+
tiktokSettings?: TikTokPlatformData;
|
|
2590
|
+
[key: string]: unknown | string | TikTokPlatformData;
|
|
2561
2591
|
};
|
|
2562
2592
|
path: {
|
|
2563
2593
|
postId: string;
|
|
@@ -5494,7 +5524,120 @@ export type SendInboxMessageData = {
|
|
|
5494
5524
|
/**
|
|
5495
5525
|
* Message text
|
|
5496
5526
|
*/
|
|
5497
|
-
message
|
|
5527
|
+
message?: string;
|
|
5528
|
+
/**
|
|
5529
|
+
* Quick reply buttons. Mutually exclusive with buttons. Max 13 items.
|
|
5530
|
+
*/
|
|
5531
|
+
quickReplies?: Array<{
|
|
5532
|
+
/**
|
|
5533
|
+
* Button label (max 20 chars)
|
|
5534
|
+
*/
|
|
5535
|
+
title: string;
|
|
5536
|
+
/**
|
|
5537
|
+
* Payload sent back on tap
|
|
5538
|
+
*/
|
|
5539
|
+
payload: string;
|
|
5540
|
+
/**
|
|
5541
|
+
* Optional icon URL (Meta only)
|
|
5542
|
+
*/
|
|
5543
|
+
imageUrl?: string;
|
|
5544
|
+
}>;
|
|
5545
|
+
/**
|
|
5546
|
+
* Action buttons. Mutually exclusive with quickReplies. Max 3 items.
|
|
5547
|
+
*/
|
|
5548
|
+
buttons?: Array<{
|
|
5549
|
+
/**
|
|
5550
|
+
* Button type. phone is Facebook only.
|
|
5551
|
+
*/
|
|
5552
|
+
type: 'url' | 'postback' | 'phone';
|
|
5553
|
+
/**
|
|
5554
|
+
* Button label (max 20 chars)
|
|
5555
|
+
*/
|
|
5556
|
+
title: string;
|
|
5557
|
+
/**
|
|
5558
|
+
* URL for url-type buttons
|
|
5559
|
+
*/
|
|
5560
|
+
url?: string;
|
|
5561
|
+
/**
|
|
5562
|
+
* Payload for postback-type buttons
|
|
5563
|
+
*/
|
|
5564
|
+
payload?: string;
|
|
5565
|
+
/**
|
|
5566
|
+
* Phone number for phone-type buttons (Facebook only)
|
|
5567
|
+
*/
|
|
5568
|
+
phone?: string;
|
|
5569
|
+
}>;
|
|
5570
|
+
/**
|
|
5571
|
+
* Generic template for carousels (Instagram/Facebook only, ignored on Telegram).
|
|
5572
|
+
*/
|
|
5573
|
+
template?: {
|
|
5574
|
+
/**
|
|
5575
|
+
* Template type
|
|
5576
|
+
*/
|
|
5577
|
+
type?: 'generic';
|
|
5578
|
+
elements?: Array<{
|
|
5579
|
+
/**
|
|
5580
|
+
* Element title (max 80 chars)
|
|
5581
|
+
*/
|
|
5582
|
+
title: string;
|
|
5583
|
+
/**
|
|
5584
|
+
* Element subtitle
|
|
5585
|
+
*/
|
|
5586
|
+
subtitle?: string;
|
|
5587
|
+
/**
|
|
5588
|
+
* Element image URL
|
|
5589
|
+
*/
|
|
5590
|
+
imageUrl?: string;
|
|
5591
|
+
buttons?: Array<{
|
|
5592
|
+
type?: 'url' | 'postback';
|
|
5593
|
+
title?: string;
|
|
5594
|
+
url?: string;
|
|
5595
|
+
payload?: string;
|
|
5596
|
+
}>;
|
|
5597
|
+
}>;
|
|
5598
|
+
};
|
|
5599
|
+
/**
|
|
5600
|
+
* Telegram-native keyboard markup. Ignored on other platforms.
|
|
5601
|
+
*/
|
|
5602
|
+
replyMarkup?: {
|
|
5603
|
+
/**
|
|
5604
|
+
* Keyboard type
|
|
5605
|
+
*/
|
|
5606
|
+
type?: 'inline_keyboard' | 'reply_keyboard';
|
|
5607
|
+
/**
|
|
5608
|
+
* Array of rows, each row is an array of buttons
|
|
5609
|
+
*/
|
|
5610
|
+
keyboard?: Array<Array<{
|
|
5611
|
+
/**
|
|
5612
|
+
* Button text
|
|
5613
|
+
*/
|
|
5614
|
+
text?: string;
|
|
5615
|
+
/**
|
|
5616
|
+
* Callback data (inline_keyboard only
|
|
5617
|
+
*/
|
|
5618
|
+
callbackData?: string;
|
|
5619
|
+
/**
|
|
5620
|
+
* URL to open (inline_keyboard only)
|
|
5621
|
+
*/
|
|
5622
|
+
url?: string;
|
|
5623
|
+
}>>;
|
|
5624
|
+
/**
|
|
5625
|
+
* Hide keyboard after use (reply_keyboard only)
|
|
5626
|
+
*/
|
|
5627
|
+
oneTime?: boolean;
|
|
5628
|
+
};
|
|
5629
|
+
/**
|
|
5630
|
+
* Facebook messaging type. Required when using messageTag.
|
|
5631
|
+
*/
|
|
5632
|
+
messagingType?: 'RESPONSE' | 'UPDATE' | 'MESSAGE_TAG';
|
|
5633
|
+
/**
|
|
5634
|
+
* Facebook message tag for messaging outside 24h window. Requires messagingType MESSAGE_TAG. Instagram only supports HUMAN_AGENT.
|
|
5635
|
+
*/
|
|
5636
|
+
messageTag?: 'CONFIRMED_EVENT_UPDATE' | 'POST_PURCHASE_UPDATE' | 'ACCOUNT_UPDATE' | 'HUMAN_AGENT';
|
|
5637
|
+
/**
|
|
5638
|
+
* Platform message ID to reply to (Telegram only).
|
|
5639
|
+
*/
|
|
5640
|
+
replyTo?: string;
|
|
5498
5641
|
};
|
|
5499
5642
|
path: {
|
|
5500
5643
|
/**
|
|
@@ -5533,6 +5676,198 @@ export type SendInboxMessageError = ({
|
|
|
5533
5676
|
error?: string;
|
|
5534
5677
|
} | unknown);
|
|
5535
5678
|
|
|
5679
|
+
export type EditInboxMessageData = {
|
|
5680
|
+
body: {
|
|
5681
|
+
/**
|
|
5682
|
+
* Social account ID
|
|
5683
|
+
*/
|
|
5684
|
+
accountId: string;
|
|
5685
|
+
/**
|
|
5686
|
+
* New message text
|
|
5687
|
+
*/
|
|
5688
|
+
text?: string;
|
|
5689
|
+
/**
|
|
5690
|
+
* New inline keyboard markup
|
|
5691
|
+
*/
|
|
5692
|
+
replyMarkup?: {
|
|
5693
|
+
type?: 'inline_keyboard';
|
|
5694
|
+
keyboard?: Array<Array<{
|
|
5695
|
+
text?: string;
|
|
5696
|
+
callbackData?: string;
|
|
5697
|
+
url?: string;
|
|
5698
|
+
}>>;
|
|
5699
|
+
};
|
|
5700
|
+
};
|
|
5701
|
+
path: {
|
|
5702
|
+
/**
|
|
5703
|
+
* The conversation ID
|
|
5704
|
+
*/
|
|
5705
|
+
conversationId: string;
|
|
5706
|
+
/**
|
|
5707
|
+
* The Telegram message ID to edit
|
|
5708
|
+
*/
|
|
5709
|
+
messageId: string;
|
|
5710
|
+
};
|
|
5711
|
+
};
|
|
5712
|
+
|
|
5713
|
+
export type EditInboxMessageResponse = ({
|
|
5714
|
+
success?: boolean;
|
|
5715
|
+
data?: {
|
|
5716
|
+
messageId?: number;
|
|
5717
|
+
};
|
|
5718
|
+
});
|
|
5719
|
+
|
|
5720
|
+
export type EditInboxMessageError = (unknown | {
|
|
5721
|
+
error?: string;
|
|
5722
|
+
});
|
|
5723
|
+
|
|
5724
|
+
export type GetMessengerMenuData = {
|
|
5725
|
+
path: {
|
|
5726
|
+
accountId: string;
|
|
5727
|
+
};
|
|
5728
|
+
};
|
|
5729
|
+
|
|
5730
|
+
export type GetMessengerMenuResponse = ({
|
|
5731
|
+
data?: Array<{
|
|
5732
|
+
[key: string]: unknown;
|
|
5733
|
+
}>;
|
|
5734
|
+
});
|
|
5735
|
+
|
|
5736
|
+
export type GetMessengerMenuError = (unknown | {
|
|
5737
|
+
error?: string;
|
|
5738
|
+
});
|
|
5739
|
+
|
|
5740
|
+
export type SetMessengerMenuData = {
|
|
5741
|
+
body: {
|
|
5742
|
+
/**
|
|
5743
|
+
* Persistent menu configuration array (Meta format)
|
|
5744
|
+
*/
|
|
5745
|
+
persistent_menu: Array<{
|
|
5746
|
+
[key: string]: unknown;
|
|
5747
|
+
}>;
|
|
5748
|
+
};
|
|
5749
|
+
path: {
|
|
5750
|
+
accountId: string;
|
|
5751
|
+
};
|
|
5752
|
+
};
|
|
5753
|
+
|
|
5754
|
+
export type SetMessengerMenuResponse = (unknown);
|
|
5755
|
+
|
|
5756
|
+
export type SetMessengerMenuError = (unknown | {
|
|
5757
|
+
error?: string;
|
|
5758
|
+
});
|
|
5759
|
+
|
|
5760
|
+
export type DeleteMessengerMenuData = {
|
|
5761
|
+
path: {
|
|
5762
|
+
accountId: string;
|
|
5763
|
+
};
|
|
5764
|
+
};
|
|
5765
|
+
|
|
5766
|
+
export type DeleteMessengerMenuResponse = (unknown);
|
|
5767
|
+
|
|
5768
|
+
export type DeleteMessengerMenuError = ({
|
|
5769
|
+
error?: string;
|
|
5770
|
+
});
|
|
5771
|
+
|
|
5772
|
+
export type GetInstagramIceBreakersData = {
|
|
5773
|
+
path: {
|
|
5774
|
+
accountId: string;
|
|
5775
|
+
};
|
|
5776
|
+
};
|
|
5777
|
+
|
|
5778
|
+
export type GetInstagramIceBreakersResponse = ({
|
|
5779
|
+
data?: Array<{
|
|
5780
|
+
[key: string]: unknown;
|
|
5781
|
+
}>;
|
|
5782
|
+
});
|
|
5783
|
+
|
|
5784
|
+
export type GetInstagramIceBreakersError = (unknown | {
|
|
5785
|
+
error?: string;
|
|
5786
|
+
});
|
|
5787
|
+
|
|
5788
|
+
export type SetInstagramIceBreakersData = {
|
|
5789
|
+
body: {
|
|
5790
|
+
ice_breakers: Array<{
|
|
5791
|
+
question: string;
|
|
5792
|
+
payload: string;
|
|
5793
|
+
}>;
|
|
5794
|
+
};
|
|
5795
|
+
path: {
|
|
5796
|
+
accountId: string;
|
|
5797
|
+
};
|
|
5798
|
+
};
|
|
5799
|
+
|
|
5800
|
+
export type SetInstagramIceBreakersResponse = (unknown);
|
|
5801
|
+
|
|
5802
|
+
export type SetInstagramIceBreakersError = (unknown | {
|
|
5803
|
+
error?: string;
|
|
5804
|
+
});
|
|
5805
|
+
|
|
5806
|
+
export type DeleteInstagramIceBreakersData = {
|
|
5807
|
+
path: {
|
|
5808
|
+
accountId: string;
|
|
5809
|
+
};
|
|
5810
|
+
};
|
|
5811
|
+
|
|
5812
|
+
export type DeleteInstagramIceBreakersResponse = (unknown);
|
|
5813
|
+
|
|
5814
|
+
export type DeleteInstagramIceBreakersError = ({
|
|
5815
|
+
error?: string;
|
|
5816
|
+
});
|
|
5817
|
+
|
|
5818
|
+
export type GetTelegramCommandsData = {
|
|
5819
|
+
path: {
|
|
5820
|
+
accountId: string;
|
|
5821
|
+
};
|
|
5822
|
+
};
|
|
5823
|
+
|
|
5824
|
+
export type GetTelegramCommandsResponse = ({
|
|
5825
|
+
data?: Array<{
|
|
5826
|
+
command?: string;
|
|
5827
|
+
description?: string;
|
|
5828
|
+
}>;
|
|
5829
|
+
});
|
|
5830
|
+
|
|
5831
|
+
export type GetTelegramCommandsError = (unknown | {
|
|
5832
|
+
error?: string;
|
|
5833
|
+
});
|
|
5834
|
+
|
|
5835
|
+
export type SetTelegramCommandsData = {
|
|
5836
|
+
body: {
|
|
5837
|
+
commands: Array<{
|
|
5838
|
+
/**
|
|
5839
|
+
* Bot command without leading slash
|
|
5840
|
+
*/
|
|
5841
|
+
command: string;
|
|
5842
|
+
/**
|
|
5843
|
+
* Command description
|
|
5844
|
+
*/
|
|
5845
|
+
description: string;
|
|
5846
|
+
}>;
|
|
5847
|
+
};
|
|
5848
|
+
path: {
|
|
5849
|
+
accountId: string;
|
|
5850
|
+
};
|
|
5851
|
+
};
|
|
5852
|
+
|
|
5853
|
+
export type SetTelegramCommandsResponse = (unknown);
|
|
5854
|
+
|
|
5855
|
+
export type SetTelegramCommandsError = (unknown | {
|
|
5856
|
+
error?: string;
|
|
5857
|
+
});
|
|
5858
|
+
|
|
5859
|
+
export type DeleteTelegramCommandsData = {
|
|
5860
|
+
path: {
|
|
5861
|
+
accountId: string;
|
|
5862
|
+
};
|
|
5863
|
+
};
|
|
5864
|
+
|
|
5865
|
+
export type DeleteTelegramCommandsResponse = (unknown);
|
|
5866
|
+
|
|
5867
|
+
export type DeleteTelegramCommandsError = ({
|
|
5868
|
+
error?: string;
|
|
5869
|
+
});
|
|
5870
|
+
|
|
5536
5871
|
export type ListInboxCommentsData = {
|
|
5537
5872
|
query?: {
|
|
5538
5873
|
/**
|