@postrun/js 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,6 +21,7 @@ declare const zErrorCode: z.ZodEnum<{
21
21
  connection_not_pending: "connection_not_pending";
22
22
  not_implemented: "not_implemented";
23
23
  connection_discovery_failed: "connection_discovery_failed";
24
+ tiktok_creator_info_unavailable: "tiktok_creator_info_unavailable";
24
25
  media_processing: "media_processing";
25
26
  not_publishable: "not_publishable";
26
27
  invalid_connection: "invalid_connection";
@@ -76,7 +77,9 @@ declare const zErrorCode: z.ZodEnum<{
76
77
  linkedin_duplicate_content: "linkedin_duplicate_content";
77
78
  linkedin_auth_expired: "linkedin_auth_expired";
78
79
  linkedin_permission_denied: "linkedin_permission_denied";
80
+ linkedin_rate_limited: "linkedin_rate_limited";
79
81
  linkedin_media_processing: "linkedin_media_processing";
82
+ linkedin_media_failed: "linkedin_media_failed";
80
83
  linkedin_media_upload_failed: "linkedin_media_upload_failed";
81
84
  linkedin_publish_failed: "linkedin_publish_failed";
82
85
  instagram_media_processing: "instagram_media_processing";
@@ -96,6 +99,8 @@ declare const zErrorCode: z.ZodEnum<{
96
99
  tiktok_not_authorized: "tiktok_not_authorized";
97
100
  tiktok_rate_limited: "tiktok_rate_limited";
98
101
  tiktok_publish_failed: "tiktok_publish_failed";
102
+ post_publish_failed: "post_publish_failed";
103
+ post_partially_published: "post_partially_published";
99
104
  connection_platform_mismatch: "connection_platform_mismatch";
100
105
  connection_removed: "connection_removed";
101
106
  }>;
@@ -2030,6 +2035,7 @@ declare const zPostsValidateResponse: z.ZodObject<{
2030
2035
  connection_not_pending: "connection_not_pending";
2031
2036
  not_implemented: "not_implemented";
2032
2037
  connection_discovery_failed: "connection_discovery_failed";
2038
+ tiktok_creator_info_unavailable: "tiktok_creator_info_unavailable";
2033
2039
  media_processing: "media_processing";
2034
2040
  not_publishable: "not_publishable";
2035
2041
  invalid_connection: "invalid_connection";
@@ -2085,7 +2091,9 @@ declare const zPostsValidateResponse: z.ZodObject<{
2085
2091
  linkedin_duplicate_content: "linkedin_duplicate_content";
2086
2092
  linkedin_auth_expired: "linkedin_auth_expired";
2087
2093
  linkedin_permission_denied: "linkedin_permission_denied";
2094
+ linkedin_rate_limited: "linkedin_rate_limited";
2088
2095
  linkedin_media_processing: "linkedin_media_processing";
2096
+ linkedin_media_failed: "linkedin_media_failed";
2089
2097
  linkedin_media_upload_failed: "linkedin_media_upload_failed";
2090
2098
  linkedin_publish_failed: "linkedin_publish_failed";
2091
2099
  instagram_media_processing: "instagram_media_processing";
@@ -2105,6 +2113,8 @@ declare const zPostsValidateResponse: z.ZodObject<{
2105
2113
  tiktok_not_authorized: "tiktok_not_authorized";
2106
2114
  tiktok_rate_limited: "tiktok_rate_limited";
2107
2115
  tiktok_publish_failed: "tiktok_publish_failed";
2116
+ post_publish_failed: "post_publish_failed";
2117
+ post_partially_published: "post_partially_published";
2108
2118
  connection_platform_mismatch: "connection_platform_mismatch";
2109
2119
  connection_removed: "connection_removed";
2110
2120
  }>;
@@ -3781,6 +3791,31 @@ declare const zGoogleUploadImageAssetResponse: z.ZodObject<{
3781
3791
  dry_run: z.ZodBoolean;
3782
3792
  executed: z.ZodBoolean;
3783
3793
  }, z.core.$strip>;
3794
+ declare const zTiktokCreatorInfoPath: z.ZodObject<{
3795
+ id: z.ZodString;
3796
+ }, z.core.$strip>;
3797
+ /**
3798
+ * A TikTok creator's publish options, fetched live from TikTok. The composer renders creator.nickname + avatar, a privacy dropdown built from privacy_options (with no default), and Comment/Duet/Stitch toggles per the interaction flags (true = the interaction is ALLOWED). max_video_duration_sec caps a video's length for this account.
3799
+ */
3800
+ declare const zTiktokCreatorInfoResponse: z.ZodObject<{
3801
+ creator: z.ZodObject<{
3802
+ nickname: z.ZodString;
3803
+ username: z.ZodString;
3804
+ avatar_url: z.ZodNullable<z.ZodString>;
3805
+ }, z.core.$strip>;
3806
+ privacy_options: z.ZodArray<z.ZodEnum<{
3807
+ PUBLIC_TO_EVERYONE: "PUBLIC_TO_EVERYONE";
3808
+ MUTUAL_FOLLOW_FRIENDS: "MUTUAL_FOLLOW_FRIENDS";
3809
+ FOLLOWER_OF_CREATOR: "FOLLOWER_OF_CREATOR";
3810
+ SELF_ONLY: "SELF_ONLY";
3811
+ }>>;
3812
+ interaction: z.ZodObject<{
3813
+ comment: z.ZodBoolean;
3814
+ duet: z.ZodBoolean;
3815
+ stitch: z.ZodBoolean;
3816
+ }, z.core.$strip>;
3817
+ max_video_duration_sec: z.ZodInt;
3818
+ }, z.core.$strip>;
3784
3819
  declare const zLogsListQuery: z.ZodObject<{
3785
3820
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
3786
3821
  offset: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -3846,6 +3881,41 @@ declare const zLogsListResponse: z.ZodObject<{
3846
3881
  request_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3847
3882
  response_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3848
3883
  error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3884
+ outcome: z.ZodNullable<z.ZodObject<{
3885
+ status: z.ZodEnum<{
3886
+ failed: "failed";
3887
+ draft: "draft";
3888
+ scheduled: "scheduled";
3889
+ publishing: "publishing";
3890
+ partially_published: "partially_published";
3891
+ published: "published";
3892
+ }>;
3893
+ targets: z.ZodArray<z.ZodObject<{
3894
+ variant_id: z.ZodString;
3895
+ connection_id: z.ZodNullable<z.ZodString>;
3896
+ platform: z.ZodEnum<{
3897
+ x: "x";
3898
+ linkedin: "linkedin";
3899
+ facebook_page: "facebook_page";
3900
+ instagram: "instagram";
3901
+ tiktok: "tiktok";
3902
+ }>;
3903
+ status: z.ZodEnum<{
3904
+ failed: "failed";
3905
+ draft: "draft";
3906
+ scheduled: "scheduled";
3907
+ publishing: "publishing";
3908
+ published: "published";
3909
+ }>;
3910
+ platform_post_id: z.ZodNullable<z.ZodString>;
3911
+ permalink: z.ZodNullable<z.ZodString>;
3912
+ published_at: z.ZodNullable<z.ZodString>;
3913
+ error: z.ZodNullable<z.ZodObject<{
3914
+ code: z.ZodString;
3915
+ message: z.ZodString;
3916
+ }, z.core.$strip>>;
3917
+ }, z.core.$strip>>;
3918
+ }, z.core.$strip>>;
3849
3919
  external_id: z.ZodNullable<z.ZodString>;
3850
3920
  idempotency_key: z.ZodNullable<z.ZodString>;
3851
3921
  request_id: z.ZodNullable<z.ZodString>;
@@ -3897,6 +3967,41 @@ declare const zLogsGetResponse: z.ZodObject<{
3897
3967
  request_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3898
3968
  response_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3899
3969
  error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3970
+ outcome: z.ZodNullable<z.ZodObject<{
3971
+ status: z.ZodEnum<{
3972
+ failed: "failed";
3973
+ draft: "draft";
3974
+ scheduled: "scheduled";
3975
+ publishing: "publishing";
3976
+ partially_published: "partially_published";
3977
+ published: "published";
3978
+ }>;
3979
+ targets: z.ZodArray<z.ZodObject<{
3980
+ variant_id: z.ZodString;
3981
+ connection_id: z.ZodNullable<z.ZodString>;
3982
+ platform: z.ZodEnum<{
3983
+ x: "x";
3984
+ linkedin: "linkedin";
3985
+ facebook_page: "facebook_page";
3986
+ instagram: "instagram";
3987
+ tiktok: "tiktok";
3988
+ }>;
3989
+ status: z.ZodEnum<{
3990
+ failed: "failed";
3991
+ draft: "draft";
3992
+ scheduled: "scheduled";
3993
+ publishing: "publishing";
3994
+ published: "published";
3995
+ }>;
3996
+ platform_post_id: z.ZodNullable<z.ZodString>;
3997
+ permalink: z.ZodNullable<z.ZodString>;
3998
+ published_at: z.ZodNullable<z.ZodString>;
3999
+ error: z.ZodNullable<z.ZodObject<{
4000
+ code: z.ZodString;
4001
+ message: z.ZodString;
4002
+ }, z.core.$strip>>;
4003
+ }, z.core.$strip>>;
4004
+ }, z.core.$strip>>;
3900
4005
  external_id: z.ZodNullable<z.ZodString>;
3901
4006
  idempotency_key: z.ZodNullable<z.ZodString>;
3902
4007
  request_id: z.ZodNullable<z.ZodString>;
@@ -4062,4 +4167,4 @@ declare const zTokensMintResponse: z.ZodObject<{
4062
4167
  expires_at: z.ZodString;
4063
4168
  }, z.core.$strip>;
4064
4169
 
4065
- export { zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaListQuery, zMediaListResponse, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
4170
+ export { zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaListQuery, zMediaListResponse, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
@@ -21,6 +21,7 @@ declare const zErrorCode: z.ZodEnum<{
21
21
  connection_not_pending: "connection_not_pending";
22
22
  not_implemented: "not_implemented";
23
23
  connection_discovery_failed: "connection_discovery_failed";
24
+ tiktok_creator_info_unavailable: "tiktok_creator_info_unavailable";
24
25
  media_processing: "media_processing";
25
26
  not_publishable: "not_publishable";
26
27
  invalid_connection: "invalid_connection";
@@ -76,7 +77,9 @@ declare const zErrorCode: z.ZodEnum<{
76
77
  linkedin_duplicate_content: "linkedin_duplicate_content";
77
78
  linkedin_auth_expired: "linkedin_auth_expired";
78
79
  linkedin_permission_denied: "linkedin_permission_denied";
80
+ linkedin_rate_limited: "linkedin_rate_limited";
79
81
  linkedin_media_processing: "linkedin_media_processing";
82
+ linkedin_media_failed: "linkedin_media_failed";
80
83
  linkedin_media_upload_failed: "linkedin_media_upload_failed";
81
84
  linkedin_publish_failed: "linkedin_publish_failed";
82
85
  instagram_media_processing: "instagram_media_processing";
@@ -96,6 +99,8 @@ declare const zErrorCode: z.ZodEnum<{
96
99
  tiktok_not_authorized: "tiktok_not_authorized";
97
100
  tiktok_rate_limited: "tiktok_rate_limited";
98
101
  tiktok_publish_failed: "tiktok_publish_failed";
102
+ post_publish_failed: "post_publish_failed";
103
+ post_partially_published: "post_partially_published";
99
104
  connection_platform_mismatch: "connection_platform_mismatch";
100
105
  connection_removed: "connection_removed";
101
106
  }>;
@@ -2030,6 +2035,7 @@ declare const zPostsValidateResponse: z.ZodObject<{
2030
2035
  connection_not_pending: "connection_not_pending";
2031
2036
  not_implemented: "not_implemented";
2032
2037
  connection_discovery_failed: "connection_discovery_failed";
2038
+ tiktok_creator_info_unavailable: "tiktok_creator_info_unavailable";
2033
2039
  media_processing: "media_processing";
2034
2040
  not_publishable: "not_publishable";
2035
2041
  invalid_connection: "invalid_connection";
@@ -2085,7 +2091,9 @@ declare const zPostsValidateResponse: z.ZodObject<{
2085
2091
  linkedin_duplicate_content: "linkedin_duplicate_content";
2086
2092
  linkedin_auth_expired: "linkedin_auth_expired";
2087
2093
  linkedin_permission_denied: "linkedin_permission_denied";
2094
+ linkedin_rate_limited: "linkedin_rate_limited";
2088
2095
  linkedin_media_processing: "linkedin_media_processing";
2096
+ linkedin_media_failed: "linkedin_media_failed";
2089
2097
  linkedin_media_upload_failed: "linkedin_media_upload_failed";
2090
2098
  linkedin_publish_failed: "linkedin_publish_failed";
2091
2099
  instagram_media_processing: "instagram_media_processing";
@@ -2105,6 +2113,8 @@ declare const zPostsValidateResponse: z.ZodObject<{
2105
2113
  tiktok_not_authorized: "tiktok_not_authorized";
2106
2114
  tiktok_rate_limited: "tiktok_rate_limited";
2107
2115
  tiktok_publish_failed: "tiktok_publish_failed";
2116
+ post_publish_failed: "post_publish_failed";
2117
+ post_partially_published: "post_partially_published";
2108
2118
  connection_platform_mismatch: "connection_platform_mismatch";
2109
2119
  connection_removed: "connection_removed";
2110
2120
  }>;
@@ -3781,6 +3791,31 @@ declare const zGoogleUploadImageAssetResponse: z.ZodObject<{
3781
3791
  dry_run: z.ZodBoolean;
3782
3792
  executed: z.ZodBoolean;
3783
3793
  }, z.core.$strip>;
3794
+ declare const zTiktokCreatorInfoPath: z.ZodObject<{
3795
+ id: z.ZodString;
3796
+ }, z.core.$strip>;
3797
+ /**
3798
+ * A TikTok creator's publish options, fetched live from TikTok. The composer renders creator.nickname + avatar, a privacy dropdown built from privacy_options (with no default), and Comment/Duet/Stitch toggles per the interaction flags (true = the interaction is ALLOWED). max_video_duration_sec caps a video's length for this account.
3799
+ */
3800
+ declare const zTiktokCreatorInfoResponse: z.ZodObject<{
3801
+ creator: z.ZodObject<{
3802
+ nickname: z.ZodString;
3803
+ username: z.ZodString;
3804
+ avatar_url: z.ZodNullable<z.ZodString>;
3805
+ }, z.core.$strip>;
3806
+ privacy_options: z.ZodArray<z.ZodEnum<{
3807
+ PUBLIC_TO_EVERYONE: "PUBLIC_TO_EVERYONE";
3808
+ MUTUAL_FOLLOW_FRIENDS: "MUTUAL_FOLLOW_FRIENDS";
3809
+ FOLLOWER_OF_CREATOR: "FOLLOWER_OF_CREATOR";
3810
+ SELF_ONLY: "SELF_ONLY";
3811
+ }>>;
3812
+ interaction: z.ZodObject<{
3813
+ comment: z.ZodBoolean;
3814
+ duet: z.ZodBoolean;
3815
+ stitch: z.ZodBoolean;
3816
+ }, z.core.$strip>;
3817
+ max_video_duration_sec: z.ZodInt;
3818
+ }, z.core.$strip>;
3784
3819
  declare const zLogsListQuery: z.ZodObject<{
3785
3820
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
3786
3821
  offset: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -3846,6 +3881,41 @@ declare const zLogsListResponse: z.ZodObject<{
3846
3881
  request_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3847
3882
  response_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3848
3883
  error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3884
+ outcome: z.ZodNullable<z.ZodObject<{
3885
+ status: z.ZodEnum<{
3886
+ failed: "failed";
3887
+ draft: "draft";
3888
+ scheduled: "scheduled";
3889
+ publishing: "publishing";
3890
+ partially_published: "partially_published";
3891
+ published: "published";
3892
+ }>;
3893
+ targets: z.ZodArray<z.ZodObject<{
3894
+ variant_id: z.ZodString;
3895
+ connection_id: z.ZodNullable<z.ZodString>;
3896
+ platform: z.ZodEnum<{
3897
+ x: "x";
3898
+ linkedin: "linkedin";
3899
+ facebook_page: "facebook_page";
3900
+ instagram: "instagram";
3901
+ tiktok: "tiktok";
3902
+ }>;
3903
+ status: z.ZodEnum<{
3904
+ failed: "failed";
3905
+ draft: "draft";
3906
+ scheduled: "scheduled";
3907
+ publishing: "publishing";
3908
+ published: "published";
3909
+ }>;
3910
+ platform_post_id: z.ZodNullable<z.ZodString>;
3911
+ permalink: z.ZodNullable<z.ZodString>;
3912
+ published_at: z.ZodNullable<z.ZodString>;
3913
+ error: z.ZodNullable<z.ZodObject<{
3914
+ code: z.ZodString;
3915
+ message: z.ZodString;
3916
+ }, z.core.$strip>>;
3917
+ }, z.core.$strip>>;
3918
+ }, z.core.$strip>>;
3849
3919
  external_id: z.ZodNullable<z.ZodString>;
3850
3920
  idempotency_key: z.ZodNullable<z.ZodString>;
3851
3921
  request_id: z.ZodNullable<z.ZodString>;
@@ -3897,6 +3967,41 @@ declare const zLogsGetResponse: z.ZodObject<{
3897
3967
  request_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3898
3968
  response_body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3899
3969
  error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
3970
+ outcome: z.ZodNullable<z.ZodObject<{
3971
+ status: z.ZodEnum<{
3972
+ failed: "failed";
3973
+ draft: "draft";
3974
+ scheduled: "scheduled";
3975
+ publishing: "publishing";
3976
+ partially_published: "partially_published";
3977
+ published: "published";
3978
+ }>;
3979
+ targets: z.ZodArray<z.ZodObject<{
3980
+ variant_id: z.ZodString;
3981
+ connection_id: z.ZodNullable<z.ZodString>;
3982
+ platform: z.ZodEnum<{
3983
+ x: "x";
3984
+ linkedin: "linkedin";
3985
+ facebook_page: "facebook_page";
3986
+ instagram: "instagram";
3987
+ tiktok: "tiktok";
3988
+ }>;
3989
+ status: z.ZodEnum<{
3990
+ failed: "failed";
3991
+ draft: "draft";
3992
+ scheduled: "scheduled";
3993
+ publishing: "publishing";
3994
+ published: "published";
3995
+ }>;
3996
+ platform_post_id: z.ZodNullable<z.ZodString>;
3997
+ permalink: z.ZodNullable<z.ZodString>;
3998
+ published_at: z.ZodNullable<z.ZodString>;
3999
+ error: z.ZodNullable<z.ZodObject<{
4000
+ code: z.ZodString;
4001
+ message: z.ZodString;
4002
+ }, z.core.$strip>>;
4003
+ }, z.core.$strip>>;
4004
+ }, z.core.$strip>>;
3900
4005
  external_id: z.ZodNullable<z.ZodString>;
3901
4006
  idempotency_key: z.ZodNullable<z.ZodString>;
3902
4007
  request_id: z.ZodNullable<z.ZodString>;
@@ -4062,4 +4167,4 @@ declare const zTokensMintResponse: z.ZodObject<{
4062
4167
  expires_at: z.ZodString;
4063
4168
  }, z.core.$strip>;
4064
4169
 
4065
- export { zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaListQuery, zMediaListResponse, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
4170
+ export { zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaListQuery, zMediaListResponse, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
@@ -1,3 +1,3 @@
1
- export { zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaListQuery, zMediaListResponse, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse } from '../chunk-FGI7GS4Z.js';
1
+ export { zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaListQuery, zMediaListResponse, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse } from '../chunk-GOQVIAPL.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
package/dist/server.cjs CHANGED
@@ -813,6 +813,7 @@ var zErrorCode = z__namespace.enum([
813
813
  "connection_not_pending",
814
814
  "not_implemented",
815
815
  "connection_discovery_failed",
816
+ "tiktok_creator_info_unavailable",
816
817
  "media_processing",
817
818
  "not_publishable",
818
819
  "invalid_connection",
@@ -868,7 +869,9 @@ var zErrorCode = z__namespace.enum([
868
869
  "linkedin_duplicate_content",
869
870
  "linkedin_auth_expired",
870
871
  "linkedin_permission_denied",
872
+ "linkedin_rate_limited",
871
873
  "linkedin_media_processing",
874
+ "linkedin_media_failed",
872
875
  "linkedin_media_upload_failed",
873
876
  "linkedin_publish_failed",
874
877
  "instagram_media_processing",
@@ -888,6 +891,8 @@ var zErrorCode = z__namespace.enum([
888
891
  "tiktok_not_authorized",
889
892
  "tiktok_rate_limited",
890
893
  "tiktok_publish_failed",
894
+ "post_publish_failed",
895
+ "post_partially_published",
891
896
  "connection_platform_mismatch",
892
897
  "connection_removed"
893
898
  ]);
@@ -2825,6 +2830,7 @@ z__namespace.object({
2825
2830
  "connection_not_pending",
2826
2831
  "not_implemented",
2827
2832
  "connection_discovery_failed",
2833
+ "tiktok_creator_info_unavailable",
2828
2834
  "media_processing",
2829
2835
  "not_publishable",
2830
2836
  "invalid_connection",
@@ -2880,7 +2886,9 @@ z__namespace.object({
2880
2886
  "linkedin_duplicate_content",
2881
2887
  "linkedin_auth_expired",
2882
2888
  "linkedin_permission_denied",
2889
+ "linkedin_rate_limited",
2883
2890
  "linkedin_media_processing",
2891
+ "linkedin_media_failed",
2884
2892
  "linkedin_media_upload_failed",
2885
2893
  "linkedin_publish_failed",
2886
2894
  "instagram_media_processing",
@@ -2900,6 +2908,8 @@ z__namespace.object({
2900
2908
  "tiktok_not_authorized",
2901
2909
  "tiktok_rate_limited",
2902
2910
  "tiktok_publish_failed",
2911
+ "post_publish_failed",
2912
+ "post_partially_published",
2903
2913
  "connection_platform_mismatch",
2904
2914
  "connection_removed"
2905
2915
  ]),
@@ -4370,6 +4380,28 @@ z__namespace.object({
4370
4380
  dry_run: z__namespace.boolean(),
4371
4381
  executed: z__namespace.boolean()
4372
4382
  });
4383
+ z__namespace.object({
4384
+ id: z__namespace.string()
4385
+ });
4386
+ z__namespace.object({
4387
+ creator: z__namespace.object({
4388
+ nickname: z__namespace.string(),
4389
+ username: z__namespace.string(),
4390
+ avatar_url: z__namespace.string().nullable()
4391
+ }),
4392
+ privacy_options: z__namespace.array(z__namespace.enum([
4393
+ "PUBLIC_TO_EVERYONE",
4394
+ "MUTUAL_FOLLOW_FRIENDS",
4395
+ "FOLLOWER_OF_CREATOR",
4396
+ "SELF_ONLY"
4397
+ ])),
4398
+ interaction: z__namespace.object({
4399
+ comment: z__namespace.boolean(),
4400
+ duet: z__namespace.boolean(),
4401
+ stitch: z__namespace.boolean()
4402
+ }),
4403
+ max_video_duration_sec: z__namespace.int().gte(-9007199254740991).lte(9007199254740991)
4404
+ });
4373
4405
  z__namespace.object({
4374
4406
  limit: z__namespace.int().gte(1).lte(100).optional().default(20),
4375
4407
  offset: z__namespace.int().gte(0).lte(9007199254740991).optional().default(0),
@@ -4432,6 +4464,41 @@ z__namespace.object({
4432
4464
  request_body: z__namespace.unknown().nullish(),
4433
4465
  response_body: z__namespace.unknown().nullish(),
4434
4466
  error: z__namespace.unknown().nullish(),
4467
+ outcome: z__namespace.object({
4468
+ status: z__namespace.enum([
4469
+ "draft",
4470
+ "scheduled",
4471
+ "publishing",
4472
+ "partially_published",
4473
+ "published",
4474
+ "failed"
4475
+ ]),
4476
+ targets: z__namespace.array(z__namespace.object({
4477
+ variant_id: z__namespace.string(),
4478
+ connection_id: z__namespace.string().nullable(),
4479
+ platform: z__namespace.enum([
4480
+ "x",
4481
+ "linkedin",
4482
+ "facebook_page",
4483
+ "instagram",
4484
+ "tiktok"
4485
+ ]),
4486
+ status: z__namespace.enum([
4487
+ "draft",
4488
+ "scheduled",
4489
+ "publishing",
4490
+ "published",
4491
+ "failed"
4492
+ ]),
4493
+ platform_post_id: z__namespace.string().nullable(),
4494
+ permalink: z__namespace.string().nullable(),
4495
+ published_at: z__namespace.string().nullable(),
4496
+ error: z__namespace.object({
4497
+ code: z__namespace.string(),
4498
+ message: z__namespace.string()
4499
+ }).nullable()
4500
+ }))
4501
+ }).nullable(),
4435
4502
  external_id: z__namespace.string().nullable(),
4436
4503
  idempotency_key: z__namespace.string().nullable(),
4437
4504
  request_id: z__namespace.string().nullable(),
@@ -4480,6 +4547,41 @@ z__namespace.object({
4480
4547
  request_body: z__namespace.unknown().nullish(),
4481
4548
  response_body: z__namespace.unknown().nullish(),
4482
4549
  error: z__namespace.unknown().nullish(),
4550
+ outcome: z__namespace.object({
4551
+ status: z__namespace.enum([
4552
+ "draft",
4553
+ "scheduled",
4554
+ "publishing",
4555
+ "partially_published",
4556
+ "published",
4557
+ "failed"
4558
+ ]),
4559
+ targets: z__namespace.array(z__namespace.object({
4560
+ variant_id: z__namespace.string(),
4561
+ connection_id: z__namespace.string().nullable(),
4562
+ platform: z__namespace.enum([
4563
+ "x",
4564
+ "linkedin",
4565
+ "facebook_page",
4566
+ "instagram",
4567
+ "tiktok"
4568
+ ]),
4569
+ status: z__namespace.enum([
4570
+ "draft",
4571
+ "scheduled",
4572
+ "publishing",
4573
+ "published",
4574
+ "failed"
4575
+ ]),
4576
+ platform_post_id: z__namespace.string().nullable(),
4577
+ permalink: z__namespace.string().nullable(),
4578
+ published_at: z__namespace.string().nullable(),
4579
+ error: z__namespace.object({
4580
+ code: z__namespace.string(),
4581
+ message: z__namespace.string()
4582
+ }).nullable()
4583
+ }))
4584
+ }).nullable(),
4483
4585
  external_id: z__namespace.string().nullable(),
4484
4586
  idempotency_key: z__namespace.string().nullable(),
4485
4587
  request_id: z__namespace.string().nullable(),