@getlatedev/node 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -3
- package/dist/index.d.mts +38 -93
- package/dist/index.d.ts +38 -93
- package/dist/index.js +1 -22
- package/dist/index.mjs +1 -22
- package/package.json +1 -1
- package/src/client.ts +0 -6
- package/src/generated/sdk.gen.ts +1 -37
- package/src/generated/types.gen.ts +39 -98
package/README.md
CHANGED
|
@@ -313,10 +313,7 @@ try {
|
|
|
313
313
|
### Invites
|
|
314
314
|
| Method | Description |
|
|
315
315
|
|--------|-------------|
|
|
316
|
-
| `invites.listPlatformInvites()` | List platform connection invites |
|
|
317
316
|
| `invites.createInviteToken()` | Create a team member invite token |
|
|
318
|
-
| `invites.createPlatformInvite()` | Create a platform connection invite |
|
|
319
|
-
| `invites.deletePlatformInvite()` | Revoke a platform connection invite |
|
|
320
317
|
|
|
321
318
|
## Requirements
|
|
322
319
|
|
package/dist/index.d.mts
CHANGED
|
@@ -161,9 +161,6 @@ declare class Late {
|
|
|
161
161
|
*/
|
|
162
162
|
invites: {
|
|
163
163
|
createInviteToken: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateInviteTokenData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateInviteTokenResponse, unknown, ThrowOnError>;
|
|
164
|
-
listPlatformInvites: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListPlatformInvitesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListPlatformInvitesResponse, ListPlatformInvitesError, ThrowOnError>;
|
|
165
|
-
createPlatformInvite: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreatePlatformInviteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreatePlatformInviteResponse, unknown, ThrowOnError>;
|
|
166
|
-
deletePlatformInvite: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeletePlatformInviteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeletePlatformInviteResponse, unknown, ThrowOnError>;
|
|
167
164
|
};
|
|
168
165
|
/**
|
|
169
166
|
* Connect API - OAuth connection flows
|
|
@@ -577,6 +574,14 @@ type InstagramPlatformData = {
|
|
|
577
574
|
*
|
|
578
575
|
*/
|
|
579
576
|
audioName?: string;
|
|
577
|
+
/**
|
|
578
|
+
* Millisecond offset from the start of the video to use as the Reel thumbnail.
|
|
579
|
+
* Only applies to Reels (video posts). If a custom thumbnail URL (instagramThumbnail
|
|
580
|
+
* in mediaItems) is provided, it takes priority and this offset is ignored.
|
|
581
|
+
* Defaults to 0 (first frame).
|
|
582
|
+
*
|
|
583
|
+
*/
|
|
584
|
+
thumbOffset?: number;
|
|
580
585
|
};
|
|
581
586
|
/**
|
|
582
587
|
* The graduation strategy specifies when a trial reel becomes a regular reel:
|
|
@@ -1489,7 +1494,7 @@ type Webhook = {
|
|
|
1489
1494
|
/**
|
|
1490
1495
|
* Events subscribed to
|
|
1491
1496
|
*/
|
|
1492
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected')>;
|
|
1497
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
|
|
1493
1498
|
/**
|
|
1494
1499
|
* Whether webhook delivery is enabled
|
|
1495
1500
|
*/
|
|
@@ -1522,7 +1527,7 @@ type WebhookLog = {
|
|
|
1522
1527
|
* Name of the webhook that was triggered
|
|
1523
1528
|
*/
|
|
1524
1529
|
webhookName?: string;
|
|
1525
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected' | 'webhook.test';
|
|
1530
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
|
|
1526
1531
|
url?: string;
|
|
1527
1532
|
status?: 'success' | 'failed';
|
|
1528
1533
|
/**
|
|
@@ -1553,8 +1558,29 @@ type WebhookLog = {
|
|
|
1553
1558
|
responseTime?: number;
|
|
1554
1559
|
createdAt?: string;
|
|
1555
1560
|
};
|
|
1556
|
-
type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected' | 'webhook.test';
|
|
1561
|
+
type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
|
|
1557
1562
|
type status5 = 'success' | 'failed';
|
|
1563
|
+
/**
|
|
1564
|
+
* Webhook payload for account connected events
|
|
1565
|
+
*/
|
|
1566
|
+
type WebhookPayloadAccountConnected = {
|
|
1567
|
+
event?: 'account.connected';
|
|
1568
|
+
account?: {
|
|
1569
|
+
/**
|
|
1570
|
+
* The account's unique identifier (same as used in /v1/accounts/{accountId})
|
|
1571
|
+
*/
|
|
1572
|
+
accountId?: string;
|
|
1573
|
+
/**
|
|
1574
|
+
* The profile's unique identifier this account belongs to
|
|
1575
|
+
*/
|
|
1576
|
+
profileId?: string;
|
|
1577
|
+
platform?: string;
|
|
1578
|
+
username?: string;
|
|
1579
|
+
displayName?: string;
|
|
1580
|
+
};
|
|
1581
|
+
timestamp?: string;
|
|
1582
|
+
};
|
|
1583
|
+
type event2 = 'account.connected';
|
|
1558
1584
|
/**
|
|
1559
1585
|
* Webhook payload for account disconnected events
|
|
1560
1586
|
*/
|
|
@@ -1583,7 +1609,7 @@ type WebhookPayloadAccountDisconnected = {
|
|
|
1583
1609
|
};
|
|
1584
1610
|
timestamp?: string;
|
|
1585
1611
|
};
|
|
1586
|
-
type
|
|
1612
|
+
type event3 = 'account.disconnected';
|
|
1587
1613
|
/**
|
|
1588
1614
|
* Whether the disconnection was intentional (user action) or unintentional (token expired/revoked)
|
|
1589
1615
|
*/
|
|
@@ -1608,7 +1634,7 @@ type WebhookPayloadPost = {
|
|
|
1608
1634
|
};
|
|
1609
1635
|
timestamp?: string;
|
|
1610
1636
|
};
|
|
1611
|
-
type
|
|
1637
|
+
type event4 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial';
|
|
1612
1638
|
type YouTubeDailyViewsResponse = {
|
|
1613
1639
|
success?: boolean;
|
|
1614
1640
|
/**
|
|
@@ -2621,87 +2647,6 @@ type CreateInviteTokenResponse = ({
|
|
|
2621
2647
|
type CreateInviteTokenError = (unknown | {
|
|
2622
2648
|
error?: string;
|
|
2623
2649
|
});
|
|
2624
|
-
type ListPlatformInvitesData = {
|
|
2625
|
-
query?: {
|
|
2626
|
-
/**
|
|
2627
|
-
* Optional. Filter invites by profile ID
|
|
2628
|
-
*/
|
|
2629
|
-
profileId?: string;
|
|
2630
|
-
};
|
|
2631
|
-
};
|
|
2632
|
-
type ListPlatformInvitesResponse = ({
|
|
2633
|
-
invites?: Array<{
|
|
2634
|
-
_id?: string;
|
|
2635
|
-
token?: string;
|
|
2636
|
-
userId?: string;
|
|
2637
|
-
/**
|
|
2638
|
-
* Populated profile object (not a string ID)
|
|
2639
|
-
*/
|
|
2640
|
-
profileId?: {
|
|
2641
|
-
_id?: string;
|
|
2642
|
-
name?: string;
|
|
2643
|
-
};
|
|
2644
|
-
platform?: string;
|
|
2645
|
-
inviterName?: string;
|
|
2646
|
-
inviterEmail?: string;
|
|
2647
|
-
expiresAt?: string;
|
|
2648
|
-
isUsed?: boolean;
|
|
2649
|
-
createdAt?: string;
|
|
2650
|
-
}>;
|
|
2651
|
-
});
|
|
2652
|
-
type ListPlatformInvitesError = ({
|
|
2653
|
-
error?: string;
|
|
2654
|
-
});
|
|
2655
|
-
type CreatePlatformInviteData = {
|
|
2656
|
-
body: {
|
|
2657
|
-
/**
|
|
2658
|
-
* Profile ID to connect the account to
|
|
2659
|
-
*/
|
|
2660
|
-
profileId: string;
|
|
2661
|
-
/**
|
|
2662
|
-
* Platform to connect
|
|
2663
|
-
*/
|
|
2664
|
-
platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'threads' | 'tiktok' | 'youtube' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
2665
|
-
};
|
|
2666
|
-
};
|
|
2667
|
-
type CreatePlatformInviteResponse = ({
|
|
2668
|
-
invite?: {
|
|
2669
|
-
_id?: string;
|
|
2670
|
-
token?: string;
|
|
2671
|
-
userId?: string;
|
|
2672
|
-
/**
|
|
2673
|
-
* Populated profile object (not a string ID)
|
|
2674
|
-
*/
|
|
2675
|
-
profileId?: {
|
|
2676
|
-
_id?: string;
|
|
2677
|
-
name?: string;
|
|
2678
|
-
};
|
|
2679
|
-
platform?: string;
|
|
2680
|
-
inviterName?: string;
|
|
2681
|
-
inviterEmail?: string;
|
|
2682
|
-
expiresAt?: string;
|
|
2683
|
-
isUsed?: boolean;
|
|
2684
|
-
createdAt?: string;
|
|
2685
|
-
inviteUrl?: string;
|
|
2686
|
-
};
|
|
2687
|
-
});
|
|
2688
|
-
type CreatePlatformInviteError = (unknown | {
|
|
2689
|
-
error?: string;
|
|
2690
|
-
});
|
|
2691
|
-
type DeletePlatformInviteData = {
|
|
2692
|
-
query: {
|
|
2693
|
-
/**
|
|
2694
|
-
* Invite ID to revoke
|
|
2695
|
-
*/
|
|
2696
|
-
id: string;
|
|
2697
|
-
};
|
|
2698
|
-
};
|
|
2699
|
-
type DeletePlatformInviteResponse = ({
|
|
2700
|
-
message?: string;
|
|
2701
|
-
});
|
|
2702
|
-
type DeletePlatformInviteError = (unknown | {
|
|
2703
|
-
error?: string;
|
|
2704
|
-
});
|
|
2705
2650
|
type GetConnectUrlData = {
|
|
2706
2651
|
path: {
|
|
2707
2652
|
/**
|
|
@@ -3906,7 +3851,7 @@ type CreateWebhookSettingsData = {
|
|
|
3906
3851
|
/**
|
|
3907
3852
|
* Events to subscribe to
|
|
3908
3853
|
*/
|
|
3909
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected')>;
|
|
3854
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
|
|
3910
3855
|
/**
|
|
3911
3856
|
* Enable or disable webhook delivery
|
|
3912
3857
|
*/
|
|
@@ -3947,7 +3892,7 @@ type UpdateWebhookSettingsData = {
|
|
|
3947
3892
|
/**
|
|
3948
3893
|
* Events to subscribe to
|
|
3949
3894
|
*/
|
|
3950
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected')>;
|
|
3895
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
|
|
3951
3896
|
/**
|
|
3952
3897
|
* Enable or disable webhook delivery
|
|
3953
3898
|
*/
|
|
@@ -4004,7 +3949,7 @@ type GetWebhookLogsData = {
|
|
|
4004
3949
|
/**
|
|
4005
3950
|
* Filter by event type
|
|
4006
3951
|
*/
|
|
4007
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected' | 'webhook.test';
|
|
3952
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
|
|
4008
3953
|
/**
|
|
4009
3954
|
* Maximum number of logs to return (max 100)
|
|
4010
3955
|
*/
|
|
@@ -4112,4 +4057,4 @@ type GetPostLogsError = ({
|
|
|
4112
4057
|
error?: string;
|
|
4113
4058
|
} | unknown);
|
|
4114
4059
|
|
|
4115
|
-
export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CaptionResponse, type CheckInstagramHashtagsData, type CheckInstagramHashtagsError, type CheckInstagramHashtagsResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePlatformInviteData, type CreatePlatformInviteError, type CreatePlatformInviteResponse, 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 DeletePlatformInviteData, type DeletePlatformInviteError, type DeletePlatformInviteResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DownloadBlueskyMediaData, type DownloadBlueskyMediaError, type DownloadBlueskyMediaResponse, type DownloadFacebookVideoData, type DownloadFacebookVideoError, type DownloadFacebookVideoResponse, type DownloadFormat, type DownloadInstagramMediaData, type DownloadInstagramMediaError, type DownloadInstagramMediaResponse, type DownloadLinkedInVideoData, type DownloadLinkedInVideoError, type DownloadLinkedInVideoResponse, type DownloadResponse, type DownloadTikTokVideoData, type DownloadTikTokVideoError, type DownloadTikTokVideoResponse, type DownloadTwitterMediaData, type DownloadTwitterMediaError, type DownloadTwitterMediaResponse, type DownloadYouTubeVideoData, type DownloadYouTubeVideoError, type DownloadYouTubeVideoResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLogData, type GetLogError, type GetLogResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostLogsData, type GetPostLogsError, type GetPostLogsResponse, type GetPostResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookLogsData, type GetWebhookLogsError, type GetWebhookLogsResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeTranscriptData, type GetYouTubeTranscriptError, type GetYouTubeTranscriptResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HashtagCheckResponse, type HashtagInfo, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramPlatformData, Late, LateApiError, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPlatformInvitesData, type ListPlatformInvitesError, type ListPlatformInvitesResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type MediaItem, type MediaUploadResponse, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, type PostLogDetail, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RetryPostData, type RetryPostError, type RetryPostResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TikTokSettings, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, ValidationError, type Webhook, type WebhookLog, type WebhookPayloadAccountDisconnected, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type contentType, type contentType2, Late as default, type disconnectionType, type event, type event2, type event3, type graduationStrategy, type mediaType, parseApiError, type parseMode, type platform, type status, type status2, type status3, type status4, type status5, type type, type type2, type type3, type visibility };
|
|
4060
|
+
export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CaptionResponse, type CheckInstagramHashtagsData, type CheckInstagramHashtagsError, type CheckInstagramHashtagsResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DownloadBlueskyMediaData, type DownloadBlueskyMediaError, type DownloadBlueskyMediaResponse, type DownloadFacebookVideoData, type DownloadFacebookVideoError, type DownloadFacebookVideoResponse, type DownloadFormat, type DownloadInstagramMediaData, type DownloadInstagramMediaError, type DownloadInstagramMediaResponse, type DownloadLinkedInVideoData, type DownloadLinkedInVideoError, type DownloadLinkedInVideoResponse, type DownloadResponse, type DownloadTikTokVideoData, type DownloadTikTokVideoError, type DownloadTikTokVideoResponse, type DownloadTwitterMediaData, type DownloadTwitterMediaError, type DownloadTwitterMediaResponse, type DownloadYouTubeVideoData, type DownloadYouTubeVideoError, type DownloadYouTubeVideoResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLogData, type GetLogError, type GetLogResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostLogsData, type GetPostLogsError, type GetPostLogsResponse, type GetPostResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookLogsData, type GetWebhookLogsError, type GetWebhookLogsResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeTranscriptData, type GetYouTubeTranscriptError, type GetYouTubeTranscriptResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HashtagCheckResponse, type HashtagInfo, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramPlatformData, Late, LateApiError, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type MediaItem, type MediaUploadResponse, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, type PostLogDetail, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RetryPostData, type RetryPostError, type RetryPostResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TikTokSettings, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, ValidationError, type Webhook, type WebhookLog, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type contentType, type contentType2, Late as default, type disconnectionType, type event, type event2, type event3, type event4, type graduationStrategy, type mediaType, parseApiError, type parseMode, type platform, type status, type status2, type status3, type status4, type status5, type type, type type2, type type3, type visibility };
|
package/dist/index.d.ts
CHANGED
|
@@ -161,9 +161,6 @@ declare class Late {
|
|
|
161
161
|
*/
|
|
162
162
|
invites: {
|
|
163
163
|
createInviteToken: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateInviteTokenData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateInviteTokenResponse, unknown, ThrowOnError>;
|
|
164
|
-
listPlatformInvites: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListPlatformInvitesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListPlatformInvitesResponse, ListPlatformInvitesError, ThrowOnError>;
|
|
165
|
-
createPlatformInvite: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreatePlatformInviteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreatePlatformInviteResponse, unknown, ThrowOnError>;
|
|
166
|
-
deletePlatformInvite: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeletePlatformInviteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeletePlatformInviteResponse, unknown, ThrowOnError>;
|
|
167
164
|
};
|
|
168
165
|
/**
|
|
169
166
|
* Connect API - OAuth connection flows
|
|
@@ -577,6 +574,14 @@ type InstagramPlatformData = {
|
|
|
577
574
|
*
|
|
578
575
|
*/
|
|
579
576
|
audioName?: string;
|
|
577
|
+
/**
|
|
578
|
+
* Millisecond offset from the start of the video to use as the Reel thumbnail.
|
|
579
|
+
* Only applies to Reels (video posts). If a custom thumbnail URL (instagramThumbnail
|
|
580
|
+
* in mediaItems) is provided, it takes priority and this offset is ignored.
|
|
581
|
+
* Defaults to 0 (first frame).
|
|
582
|
+
*
|
|
583
|
+
*/
|
|
584
|
+
thumbOffset?: number;
|
|
580
585
|
};
|
|
581
586
|
/**
|
|
582
587
|
* The graduation strategy specifies when a trial reel becomes a regular reel:
|
|
@@ -1489,7 +1494,7 @@ type Webhook = {
|
|
|
1489
1494
|
/**
|
|
1490
1495
|
* Events subscribed to
|
|
1491
1496
|
*/
|
|
1492
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected')>;
|
|
1497
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
|
|
1493
1498
|
/**
|
|
1494
1499
|
* Whether webhook delivery is enabled
|
|
1495
1500
|
*/
|
|
@@ -1522,7 +1527,7 @@ type WebhookLog = {
|
|
|
1522
1527
|
* Name of the webhook that was triggered
|
|
1523
1528
|
*/
|
|
1524
1529
|
webhookName?: string;
|
|
1525
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected' | 'webhook.test';
|
|
1530
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
|
|
1526
1531
|
url?: string;
|
|
1527
1532
|
status?: 'success' | 'failed';
|
|
1528
1533
|
/**
|
|
@@ -1553,8 +1558,29 @@ type WebhookLog = {
|
|
|
1553
1558
|
responseTime?: number;
|
|
1554
1559
|
createdAt?: string;
|
|
1555
1560
|
};
|
|
1556
|
-
type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected' | 'webhook.test';
|
|
1561
|
+
type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
|
|
1557
1562
|
type status5 = 'success' | 'failed';
|
|
1563
|
+
/**
|
|
1564
|
+
* Webhook payload for account connected events
|
|
1565
|
+
*/
|
|
1566
|
+
type WebhookPayloadAccountConnected = {
|
|
1567
|
+
event?: 'account.connected';
|
|
1568
|
+
account?: {
|
|
1569
|
+
/**
|
|
1570
|
+
* The account's unique identifier (same as used in /v1/accounts/{accountId})
|
|
1571
|
+
*/
|
|
1572
|
+
accountId?: string;
|
|
1573
|
+
/**
|
|
1574
|
+
* The profile's unique identifier this account belongs to
|
|
1575
|
+
*/
|
|
1576
|
+
profileId?: string;
|
|
1577
|
+
platform?: string;
|
|
1578
|
+
username?: string;
|
|
1579
|
+
displayName?: string;
|
|
1580
|
+
};
|
|
1581
|
+
timestamp?: string;
|
|
1582
|
+
};
|
|
1583
|
+
type event2 = 'account.connected';
|
|
1558
1584
|
/**
|
|
1559
1585
|
* Webhook payload for account disconnected events
|
|
1560
1586
|
*/
|
|
@@ -1583,7 +1609,7 @@ type WebhookPayloadAccountDisconnected = {
|
|
|
1583
1609
|
};
|
|
1584
1610
|
timestamp?: string;
|
|
1585
1611
|
};
|
|
1586
|
-
type
|
|
1612
|
+
type event3 = 'account.disconnected';
|
|
1587
1613
|
/**
|
|
1588
1614
|
* Whether the disconnection was intentional (user action) or unintentional (token expired/revoked)
|
|
1589
1615
|
*/
|
|
@@ -1608,7 +1634,7 @@ type WebhookPayloadPost = {
|
|
|
1608
1634
|
};
|
|
1609
1635
|
timestamp?: string;
|
|
1610
1636
|
};
|
|
1611
|
-
type
|
|
1637
|
+
type event4 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial';
|
|
1612
1638
|
type YouTubeDailyViewsResponse = {
|
|
1613
1639
|
success?: boolean;
|
|
1614
1640
|
/**
|
|
@@ -2621,87 +2647,6 @@ type CreateInviteTokenResponse = ({
|
|
|
2621
2647
|
type CreateInviteTokenError = (unknown | {
|
|
2622
2648
|
error?: string;
|
|
2623
2649
|
});
|
|
2624
|
-
type ListPlatformInvitesData = {
|
|
2625
|
-
query?: {
|
|
2626
|
-
/**
|
|
2627
|
-
* Optional. Filter invites by profile ID
|
|
2628
|
-
*/
|
|
2629
|
-
profileId?: string;
|
|
2630
|
-
};
|
|
2631
|
-
};
|
|
2632
|
-
type ListPlatformInvitesResponse = ({
|
|
2633
|
-
invites?: Array<{
|
|
2634
|
-
_id?: string;
|
|
2635
|
-
token?: string;
|
|
2636
|
-
userId?: string;
|
|
2637
|
-
/**
|
|
2638
|
-
* Populated profile object (not a string ID)
|
|
2639
|
-
*/
|
|
2640
|
-
profileId?: {
|
|
2641
|
-
_id?: string;
|
|
2642
|
-
name?: string;
|
|
2643
|
-
};
|
|
2644
|
-
platform?: string;
|
|
2645
|
-
inviterName?: string;
|
|
2646
|
-
inviterEmail?: string;
|
|
2647
|
-
expiresAt?: string;
|
|
2648
|
-
isUsed?: boolean;
|
|
2649
|
-
createdAt?: string;
|
|
2650
|
-
}>;
|
|
2651
|
-
});
|
|
2652
|
-
type ListPlatformInvitesError = ({
|
|
2653
|
-
error?: string;
|
|
2654
|
-
});
|
|
2655
|
-
type CreatePlatformInviteData = {
|
|
2656
|
-
body: {
|
|
2657
|
-
/**
|
|
2658
|
-
* Profile ID to connect the account to
|
|
2659
|
-
*/
|
|
2660
|
-
profileId: string;
|
|
2661
|
-
/**
|
|
2662
|
-
* Platform to connect
|
|
2663
|
-
*/
|
|
2664
|
-
platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'threads' | 'tiktok' | 'youtube' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
2665
|
-
};
|
|
2666
|
-
};
|
|
2667
|
-
type CreatePlatformInviteResponse = ({
|
|
2668
|
-
invite?: {
|
|
2669
|
-
_id?: string;
|
|
2670
|
-
token?: string;
|
|
2671
|
-
userId?: string;
|
|
2672
|
-
/**
|
|
2673
|
-
* Populated profile object (not a string ID)
|
|
2674
|
-
*/
|
|
2675
|
-
profileId?: {
|
|
2676
|
-
_id?: string;
|
|
2677
|
-
name?: string;
|
|
2678
|
-
};
|
|
2679
|
-
platform?: string;
|
|
2680
|
-
inviterName?: string;
|
|
2681
|
-
inviterEmail?: string;
|
|
2682
|
-
expiresAt?: string;
|
|
2683
|
-
isUsed?: boolean;
|
|
2684
|
-
createdAt?: string;
|
|
2685
|
-
inviteUrl?: string;
|
|
2686
|
-
};
|
|
2687
|
-
});
|
|
2688
|
-
type CreatePlatformInviteError = (unknown | {
|
|
2689
|
-
error?: string;
|
|
2690
|
-
});
|
|
2691
|
-
type DeletePlatformInviteData = {
|
|
2692
|
-
query: {
|
|
2693
|
-
/**
|
|
2694
|
-
* Invite ID to revoke
|
|
2695
|
-
*/
|
|
2696
|
-
id: string;
|
|
2697
|
-
};
|
|
2698
|
-
};
|
|
2699
|
-
type DeletePlatformInviteResponse = ({
|
|
2700
|
-
message?: string;
|
|
2701
|
-
});
|
|
2702
|
-
type DeletePlatformInviteError = (unknown | {
|
|
2703
|
-
error?: string;
|
|
2704
|
-
});
|
|
2705
2650
|
type GetConnectUrlData = {
|
|
2706
2651
|
path: {
|
|
2707
2652
|
/**
|
|
@@ -3906,7 +3851,7 @@ type CreateWebhookSettingsData = {
|
|
|
3906
3851
|
/**
|
|
3907
3852
|
* Events to subscribe to
|
|
3908
3853
|
*/
|
|
3909
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected')>;
|
|
3854
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
|
|
3910
3855
|
/**
|
|
3911
3856
|
* Enable or disable webhook delivery
|
|
3912
3857
|
*/
|
|
@@ -3947,7 +3892,7 @@ type UpdateWebhookSettingsData = {
|
|
|
3947
3892
|
/**
|
|
3948
3893
|
* Events to subscribe to
|
|
3949
3894
|
*/
|
|
3950
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected')>;
|
|
3895
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
|
|
3951
3896
|
/**
|
|
3952
3897
|
* Enable or disable webhook delivery
|
|
3953
3898
|
*/
|
|
@@ -4004,7 +3949,7 @@ type GetWebhookLogsData = {
|
|
|
4004
3949
|
/**
|
|
4005
3950
|
* Filter by event type
|
|
4006
3951
|
*/
|
|
4007
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected' | 'webhook.test';
|
|
3952
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
|
|
4008
3953
|
/**
|
|
4009
3954
|
* Maximum number of logs to return (max 100)
|
|
4010
3955
|
*/
|
|
@@ -4112,4 +4057,4 @@ type GetPostLogsError = ({
|
|
|
4112
4057
|
error?: string;
|
|
4113
4058
|
} | unknown);
|
|
4114
4059
|
|
|
4115
|
-
export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CaptionResponse, type CheckInstagramHashtagsData, type CheckInstagramHashtagsError, type CheckInstagramHashtagsResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePlatformInviteData, type CreatePlatformInviteError, type CreatePlatformInviteResponse, 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 DeletePlatformInviteData, type DeletePlatformInviteError, type DeletePlatformInviteResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DownloadBlueskyMediaData, type DownloadBlueskyMediaError, type DownloadBlueskyMediaResponse, type DownloadFacebookVideoData, type DownloadFacebookVideoError, type DownloadFacebookVideoResponse, type DownloadFormat, type DownloadInstagramMediaData, type DownloadInstagramMediaError, type DownloadInstagramMediaResponse, type DownloadLinkedInVideoData, type DownloadLinkedInVideoError, type DownloadLinkedInVideoResponse, type DownloadResponse, type DownloadTikTokVideoData, type DownloadTikTokVideoError, type DownloadTikTokVideoResponse, type DownloadTwitterMediaData, type DownloadTwitterMediaError, type DownloadTwitterMediaResponse, type DownloadYouTubeVideoData, type DownloadYouTubeVideoError, type DownloadYouTubeVideoResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLogData, type GetLogError, type GetLogResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostLogsData, type GetPostLogsError, type GetPostLogsResponse, type GetPostResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookLogsData, type GetWebhookLogsError, type GetWebhookLogsResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeTranscriptData, type GetYouTubeTranscriptError, type GetYouTubeTranscriptResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HashtagCheckResponse, type HashtagInfo, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramPlatformData, Late, LateApiError, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPlatformInvitesData, type ListPlatformInvitesError, type ListPlatformInvitesResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type MediaItem, type MediaUploadResponse, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, type PostLogDetail, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RetryPostData, type RetryPostError, type RetryPostResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TikTokSettings, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, ValidationError, type Webhook, type WebhookLog, type WebhookPayloadAccountDisconnected, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type contentType, type contentType2, Late as default, type disconnectionType, type event, type event2, type event3, type graduationStrategy, type mediaType, parseApiError, type parseMode, type platform, type status, type status2, type status3, type status4, type status5, type type, type type2, type type3, type visibility };
|
|
4060
|
+
export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CaptionResponse, type CheckInstagramHashtagsData, type CheckInstagramHashtagsError, type CheckInstagramHashtagsResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DownloadBlueskyMediaData, type DownloadBlueskyMediaError, type DownloadBlueskyMediaResponse, type DownloadFacebookVideoData, type DownloadFacebookVideoError, type DownloadFacebookVideoResponse, type DownloadFormat, type DownloadInstagramMediaData, type DownloadInstagramMediaError, type DownloadInstagramMediaResponse, type DownloadLinkedInVideoData, type DownloadLinkedInVideoError, type DownloadLinkedInVideoResponse, type DownloadResponse, type DownloadTikTokVideoData, type DownloadTikTokVideoError, type DownloadTikTokVideoResponse, type DownloadTwitterMediaData, type DownloadTwitterMediaError, type DownloadTwitterMediaResponse, type DownloadYouTubeVideoData, type DownloadYouTubeVideoError, type DownloadYouTubeVideoResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLogData, type GetLogError, type GetLogResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostLogsData, type GetPostLogsError, type GetPostLogsResponse, type GetPostResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookLogsData, type GetWebhookLogsError, type GetWebhookLogsResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeTranscriptData, type GetYouTubeTranscriptError, type GetYouTubeTranscriptResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HashtagCheckResponse, type HashtagInfo, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramPlatformData, Late, LateApiError, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type MediaItem, type MediaUploadResponse, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, type PostLogDetail, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RetryPostData, type RetryPostError, type RetryPostResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TikTokSettings, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, ValidationError, type Webhook, type WebhookLog, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type contentType, type contentType2, Late as default, type disconnectionType, type event, type event2, type event3, type event4, type graduationStrategy, type mediaType, parseApiError, type parseMode, type platform, type status, type status2, type status3, type status4, type status5, type type, type type2, type type3, type visibility };
|
package/dist/index.js
CHANGED
|
@@ -535,24 +535,6 @@ var createInviteToken = (options) => {
|
|
|
535
535
|
url: "/v1/invite/tokens"
|
|
536
536
|
});
|
|
537
537
|
};
|
|
538
|
-
var listPlatformInvites = (options) => {
|
|
539
|
-
return (options?.client ?? client).get({
|
|
540
|
-
...options,
|
|
541
|
-
url: "/v1/platform-invites"
|
|
542
|
-
});
|
|
543
|
-
};
|
|
544
|
-
var createPlatformInvite = (options) => {
|
|
545
|
-
return (options?.client ?? client).post({
|
|
546
|
-
...options,
|
|
547
|
-
url: "/v1/platform-invites"
|
|
548
|
-
});
|
|
549
|
-
};
|
|
550
|
-
var deletePlatformInvite = (options) => {
|
|
551
|
-
return (options?.client ?? client).delete({
|
|
552
|
-
...options,
|
|
553
|
-
url: "/v1/platform-invites"
|
|
554
|
-
});
|
|
555
|
-
};
|
|
556
538
|
var getConnectUrl = (options) => {
|
|
557
539
|
return (options?.client ?? client).get({
|
|
558
540
|
...options,
|
|
@@ -1012,10 +994,7 @@ var Late = class {
|
|
|
1012
994
|
* Invites API - Team invitations
|
|
1013
995
|
*/
|
|
1014
996
|
this.invites = {
|
|
1015
|
-
createInviteToken
|
|
1016
|
-
listPlatformInvites,
|
|
1017
|
-
createPlatformInvite,
|
|
1018
|
-
deletePlatformInvite
|
|
997
|
+
createInviteToken
|
|
1019
998
|
};
|
|
1020
999
|
/**
|
|
1021
1000
|
* Connect API - OAuth connection flows
|
package/dist/index.mjs
CHANGED
|
@@ -506,24 +506,6 @@ var createInviteToken = (options) => {
|
|
|
506
506
|
url: "/v1/invite/tokens"
|
|
507
507
|
});
|
|
508
508
|
};
|
|
509
|
-
var listPlatformInvites = (options) => {
|
|
510
|
-
return (options?.client ?? client).get({
|
|
511
|
-
...options,
|
|
512
|
-
url: "/v1/platform-invites"
|
|
513
|
-
});
|
|
514
|
-
};
|
|
515
|
-
var createPlatformInvite = (options) => {
|
|
516
|
-
return (options?.client ?? client).post({
|
|
517
|
-
...options,
|
|
518
|
-
url: "/v1/platform-invites"
|
|
519
|
-
});
|
|
520
|
-
};
|
|
521
|
-
var deletePlatformInvite = (options) => {
|
|
522
|
-
return (options?.client ?? client).delete({
|
|
523
|
-
...options,
|
|
524
|
-
url: "/v1/platform-invites"
|
|
525
|
-
});
|
|
526
|
-
};
|
|
527
509
|
var getConnectUrl = (options) => {
|
|
528
510
|
return (options?.client ?? client).get({
|
|
529
511
|
...options,
|
|
@@ -983,10 +965,7 @@ var Late = class {
|
|
|
983
965
|
* Invites API - Team invitations
|
|
984
966
|
*/
|
|
985
967
|
this.invites = {
|
|
986
|
-
createInviteToken
|
|
987
|
-
listPlatformInvites,
|
|
988
|
-
createPlatformInvite,
|
|
989
|
-
deletePlatformInvite
|
|
968
|
+
createInviteToken
|
|
990
969
|
};
|
|
991
970
|
/**
|
|
992
971
|
* Connect API - OAuth connection flows
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -7,7 +7,6 @@ import {
|
|
|
7
7
|
createAccountGroup,
|
|
8
8
|
createApiKey,
|
|
9
9
|
createInviteToken,
|
|
10
|
-
createPlatformInvite,
|
|
11
10
|
createPost,
|
|
12
11
|
createProfile,
|
|
13
12
|
createQueueSlot,
|
|
@@ -15,7 +14,6 @@ import {
|
|
|
15
14
|
deleteAccount,
|
|
16
15
|
deleteAccountGroup,
|
|
17
16
|
deleteApiKey,
|
|
18
|
-
deletePlatformInvite,
|
|
19
17
|
deletePost,
|
|
20
18
|
deleteProfile,
|
|
21
19
|
deleteQueueSlot,
|
|
@@ -63,7 +61,6 @@ import {
|
|
|
63
61
|
listLinkedInOrganizations,
|
|
64
62
|
listLogs,
|
|
65
63
|
listPinterestBoardsForSelection,
|
|
66
|
-
listPlatformInvites,
|
|
67
64
|
listPosts,
|
|
68
65
|
listProfiles,
|
|
69
66
|
listQueueSlots,
|
|
@@ -269,9 +266,6 @@ export class Late {
|
|
|
269
266
|
*/
|
|
270
267
|
invites = {
|
|
271
268
|
createInviteToken: createInviteToken,
|
|
272
|
-
listPlatformInvites: listPlatformInvites,
|
|
273
|
-
createPlatformInvite: createPlatformInvite,
|
|
274
|
-
deletePlatformInvite: deletePlatformInvite,
|
|
275
269
|
};
|
|
276
270
|
|
|
277
271
|
/**
|
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,
|
|
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, 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, UpdateFacebookPageData, UpdateFacebookPageError, UpdateFacebookPageResponse, GetLinkedInOrganizationsData, GetLinkedInOrganizationsError, GetLinkedInOrganizationsResponse, GetLinkedInAggregateAnalyticsData, GetLinkedInAggregateAnalyticsError, GetLinkedInAggregateAnalyticsResponse, GetLinkedInPostAnalyticsData, GetLinkedInPostAnalyticsError, GetLinkedInPostAnalyticsResponse, UpdateLinkedInOrganizationData, UpdateLinkedInOrganizationError, UpdateLinkedInOrganizationResponse, GetLinkedInMentionsData, GetLinkedInMentionsError, GetLinkedInMentionsResponse, GetPinterestBoardsData, GetPinterestBoardsError, GetPinterestBoardsResponse, UpdatePinterestBoardsData, UpdatePinterestBoardsError, UpdatePinterestBoardsResponse, 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, GetPostLogsData, GetPostLogsError, GetPostLogsResponse } from './types.gen';
|
|
5
5
|
|
|
6
6
|
export const client = createClient(createConfig());
|
|
7
7
|
|
|
@@ -621,42 +621,6 @@ export const createInviteToken = <ThrowOnError extends boolean = false>(options:
|
|
|
621
621
|
});
|
|
622
622
|
};
|
|
623
623
|
|
|
624
|
-
/**
|
|
625
|
-
* List platform connection invites
|
|
626
|
-
* Get all platform connection invites you've created
|
|
627
|
-
*/
|
|
628
|
-
export const listPlatformInvites = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListPlatformInvitesData, ThrowOnError>) => {
|
|
629
|
-
return (options?.client ?? client).get<ListPlatformInvitesResponse, ListPlatformInvitesError, ThrowOnError>({
|
|
630
|
-
...options,
|
|
631
|
-
url: '/v1/platform-invites'
|
|
632
|
-
});
|
|
633
|
-
};
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* Create a platform connection invite
|
|
637
|
-
* Generate a secure invite link for someone to connect a social account to your profile.
|
|
638
|
-
* Perfect for client onboarding - they connect their account without accessing your Late account.
|
|
639
|
-
* Invites expire after 7 days.
|
|
640
|
-
*
|
|
641
|
-
*/
|
|
642
|
-
export const createPlatformInvite = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreatePlatformInviteData, ThrowOnError>) => {
|
|
643
|
-
return (options?.client ?? client).post<CreatePlatformInviteResponse, CreatePlatformInviteError, ThrowOnError>({
|
|
644
|
-
...options,
|
|
645
|
-
url: '/v1/platform-invites'
|
|
646
|
-
});
|
|
647
|
-
};
|
|
648
|
-
|
|
649
|
-
/**
|
|
650
|
-
* Revoke a platform connection invite
|
|
651
|
-
* Delete an unused platform invite. Only unused invites can be deleted.
|
|
652
|
-
*/
|
|
653
|
-
export const deletePlatformInvite = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DeletePlatformInviteData, ThrowOnError>) => {
|
|
654
|
-
return (options?.client ?? client).delete<DeletePlatformInviteResponse, DeletePlatformInviteError, ThrowOnError>({
|
|
655
|
-
...options,
|
|
656
|
-
url: '/v1/platform-invites'
|
|
657
|
-
});
|
|
658
|
-
};
|
|
659
|
-
|
|
660
624
|
/**
|
|
661
625
|
* Start OAuth connection for a platform
|
|
662
626
|
* Initiate an OAuth connection flow for any supported social media platform.
|
|
@@ -289,6 +289,14 @@ export type InstagramPlatformData = {
|
|
|
289
289
|
*
|
|
290
290
|
*/
|
|
291
291
|
audioName?: string;
|
|
292
|
+
/**
|
|
293
|
+
* Millisecond offset from the start of the video to use as the Reel thumbnail.
|
|
294
|
+
* Only applies to Reels (video posts). If a custom thumbnail URL (instagramThumbnail
|
|
295
|
+
* in mediaItems) is provided, it takes priority and this offset is ignored.
|
|
296
|
+
* Defaults to 0 (first frame).
|
|
297
|
+
*
|
|
298
|
+
*/
|
|
299
|
+
thumbOffset?: number;
|
|
292
300
|
};
|
|
293
301
|
|
|
294
302
|
/**
|
|
@@ -1268,7 +1276,7 @@ export type Webhook = {
|
|
|
1268
1276
|
/**
|
|
1269
1277
|
* Events subscribed to
|
|
1270
1278
|
*/
|
|
1271
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected')>;
|
|
1279
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
|
|
1272
1280
|
/**
|
|
1273
1281
|
* Whether webhook delivery is enabled
|
|
1274
1282
|
*/
|
|
@@ -1302,7 +1310,7 @@ export type WebhookLog = {
|
|
|
1302
1310
|
* Name of the webhook that was triggered
|
|
1303
1311
|
*/
|
|
1304
1312
|
webhookName?: string;
|
|
1305
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected' | 'webhook.test';
|
|
1313
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
|
|
1306
1314
|
url?: string;
|
|
1307
1315
|
status?: 'success' | 'failed';
|
|
1308
1316
|
/**
|
|
@@ -1334,10 +1342,33 @@ export type WebhookLog = {
|
|
|
1334
1342
|
createdAt?: string;
|
|
1335
1343
|
};
|
|
1336
1344
|
|
|
1337
|
-
export type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected' | 'webhook.test';
|
|
1345
|
+
export type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
|
|
1338
1346
|
|
|
1339
1347
|
export type status5 = 'success' | 'failed';
|
|
1340
1348
|
|
|
1349
|
+
/**
|
|
1350
|
+
* Webhook payload for account connected events
|
|
1351
|
+
*/
|
|
1352
|
+
export type WebhookPayloadAccountConnected = {
|
|
1353
|
+
event?: 'account.connected';
|
|
1354
|
+
account?: {
|
|
1355
|
+
/**
|
|
1356
|
+
* The account's unique identifier (same as used in /v1/accounts/{accountId})
|
|
1357
|
+
*/
|
|
1358
|
+
accountId?: string;
|
|
1359
|
+
/**
|
|
1360
|
+
* The profile's unique identifier this account belongs to
|
|
1361
|
+
*/
|
|
1362
|
+
profileId?: string;
|
|
1363
|
+
platform?: string;
|
|
1364
|
+
username?: string;
|
|
1365
|
+
displayName?: string;
|
|
1366
|
+
};
|
|
1367
|
+
timestamp?: string;
|
|
1368
|
+
};
|
|
1369
|
+
|
|
1370
|
+
export type event2 = 'account.connected';
|
|
1371
|
+
|
|
1341
1372
|
/**
|
|
1342
1373
|
* Webhook payload for account disconnected events
|
|
1343
1374
|
*/
|
|
@@ -1367,7 +1398,7 @@ export type WebhookPayloadAccountDisconnected = {
|
|
|
1367
1398
|
timestamp?: string;
|
|
1368
1399
|
};
|
|
1369
1400
|
|
|
1370
|
-
export type
|
|
1401
|
+
export type event3 = 'account.disconnected';
|
|
1371
1402
|
|
|
1372
1403
|
/**
|
|
1373
1404
|
* Whether the disconnection was intentional (user action) or unintentional (token expired/revoked)
|
|
@@ -1395,7 +1426,7 @@ export type WebhookPayloadPost = {
|
|
|
1395
1426
|
timestamp?: string;
|
|
1396
1427
|
};
|
|
1397
1428
|
|
|
1398
|
-
export type
|
|
1429
|
+
export type event4 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial';
|
|
1399
1430
|
|
|
1400
1431
|
export type YouTubeDailyViewsResponse = {
|
|
1401
1432
|
success?: boolean;
|
|
@@ -2537,96 +2568,6 @@ export type CreateInviteTokenError = (unknown | {
|
|
|
2537
2568
|
error?: string;
|
|
2538
2569
|
});
|
|
2539
2570
|
|
|
2540
|
-
export type ListPlatformInvitesData = {
|
|
2541
|
-
query?: {
|
|
2542
|
-
/**
|
|
2543
|
-
* Optional. Filter invites by profile ID
|
|
2544
|
-
*/
|
|
2545
|
-
profileId?: string;
|
|
2546
|
-
};
|
|
2547
|
-
};
|
|
2548
|
-
|
|
2549
|
-
export type ListPlatformInvitesResponse = ({
|
|
2550
|
-
invites?: Array<{
|
|
2551
|
-
_id?: string;
|
|
2552
|
-
token?: string;
|
|
2553
|
-
userId?: string;
|
|
2554
|
-
/**
|
|
2555
|
-
* Populated profile object (not a string ID)
|
|
2556
|
-
*/
|
|
2557
|
-
profileId?: {
|
|
2558
|
-
_id?: string;
|
|
2559
|
-
name?: string;
|
|
2560
|
-
};
|
|
2561
|
-
platform?: string;
|
|
2562
|
-
inviterName?: string;
|
|
2563
|
-
inviterEmail?: string;
|
|
2564
|
-
expiresAt?: string;
|
|
2565
|
-
isUsed?: boolean;
|
|
2566
|
-
createdAt?: string;
|
|
2567
|
-
}>;
|
|
2568
|
-
});
|
|
2569
|
-
|
|
2570
|
-
export type ListPlatformInvitesError = ({
|
|
2571
|
-
error?: string;
|
|
2572
|
-
});
|
|
2573
|
-
|
|
2574
|
-
export type CreatePlatformInviteData = {
|
|
2575
|
-
body: {
|
|
2576
|
-
/**
|
|
2577
|
-
* Profile ID to connect the account to
|
|
2578
|
-
*/
|
|
2579
|
-
profileId: string;
|
|
2580
|
-
/**
|
|
2581
|
-
* Platform to connect
|
|
2582
|
-
*/
|
|
2583
|
-
platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'threads' | 'tiktok' | 'youtube' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
2584
|
-
};
|
|
2585
|
-
};
|
|
2586
|
-
|
|
2587
|
-
export type CreatePlatformInviteResponse = ({
|
|
2588
|
-
invite?: {
|
|
2589
|
-
_id?: string;
|
|
2590
|
-
token?: string;
|
|
2591
|
-
userId?: string;
|
|
2592
|
-
/**
|
|
2593
|
-
* Populated profile object (not a string ID)
|
|
2594
|
-
*/
|
|
2595
|
-
profileId?: {
|
|
2596
|
-
_id?: string;
|
|
2597
|
-
name?: string;
|
|
2598
|
-
};
|
|
2599
|
-
platform?: string;
|
|
2600
|
-
inviterName?: string;
|
|
2601
|
-
inviterEmail?: string;
|
|
2602
|
-
expiresAt?: string;
|
|
2603
|
-
isUsed?: boolean;
|
|
2604
|
-
createdAt?: string;
|
|
2605
|
-
inviteUrl?: string;
|
|
2606
|
-
};
|
|
2607
|
-
});
|
|
2608
|
-
|
|
2609
|
-
export type CreatePlatformInviteError = (unknown | {
|
|
2610
|
-
error?: string;
|
|
2611
|
-
});
|
|
2612
|
-
|
|
2613
|
-
export type DeletePlatformInviteData = {
|
|
2614
|
-
query: {
|
|
2615
|
-
/**
|
|
2616
|
-
* Invite ID to revoke
|
|
2617
|
-
*/
|
|
2618
|
-
id: string;
|
|
2619
|
-
};
|
|
2620
|
-
};
|
|
2621
|
-
|
|
2622
|
-
export type DeletePlatformInviteResponse = ({
|
|
2623
|
-
message?: string;
|
|
2624
|
-
});
|
|
2625
|
-
|
|
2626
|
-
export type DeletePlatformInviteError = (unknown | {
|
|
2627
|
-
error?: string;
|
|
2628
|
-
});
|
|
2629
|
-
|
|
2630
2571
|
export type GetConnectUrlData = {
|
|
2631
2572
|
path: {
|
|
2632
2573
|
/**
|
|
@@ -3932,7 +3873,7 @@ export type CreateWebhookSettingsData = {
|
|
|
3932
3873
|
/**
|
|
3933
3874
|
* Events to subscribe to
|
|
3934
3875
|
*/
|
|
3935
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected')>;
|
|
3876
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
|
|
3936
3877
|
/**
|
|
3937
3878
|
* Enable or disable webhook delivery
|
|
3938
3879
|
*/
|
|
@@ -3976,7 +3917,7 @@ export type UpdateWebhookSettingsData = {
|
|
|
3976
3917
|
/**
|
|
3977
3918
|
* Events to subscribe to
|
|
3978
3919
|
*/
|
|
3979
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected')>;
|
|
3920
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
|
|
3980
3921
|
/**
|
|
3981
3922
|
* Enable or disable webhook delivery
|
|
3982
3923
|
*/
|
|
@@ -4042,7 +3983,7 @@ export type GetWebhookLogsData = {
|
|
|
4042
3983
|
/**
|
|
4043
3984
|
* Filter by event type
|
|
4044
3985
|
*/
|
|
4045
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.disconnected' | 'webhook.test';
|
|
3986
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
|
|
4046
3987
|
/**
|
|
4047
3988
|
* Maximum number of logs to return (max 100)
|
|
4048
3989
|
*/
|