@postrun/js 1.3.0 → 2.0.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.
- package/dist/{chunk-KPF3GI7Z.js → chunk-EFB6IKZF.js} +12 -10
- package/dist/chunk-EFB6IKZF.js.map +1 -0
- package/dist/{chunk-JBNHOK3M.js → chunk-XXB7GZ3H.js} +3 -3
- package/dist/{chunk-JBNHOK3M.js.map → chunk-XXB7GZ3H.js.map} +1 -1
- package/dist/index.cjs +10 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/schemas/index.cjs +10 -8
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +8 -6
- package/dist/schemas/index.d.ts +8 -6
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +10 -8
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/dist/{types.gen-DeuF7WVq.d.cts → types.gen-0ufzFdld.d.cts} +19 -7
- package/dist/{types.gen-DeuF7WVq.d.ts → types.gen-0ufzFdld.d.ts} +19 -7
- package/package.json +1 -1
- package/dist/chunk-KPF3GI7Z.js.map +0 -1
|
@@ -15,7 +15,6 @@ var zErrorCode = z.enum([
|
|
|
15
15
|
"account_not_available",
|
|
16
16
|
"connection_reauth_required",
|
|
17
17
|
"connection_not_pending",
|
|
18
|
-
"connection_in_use",
|
|
19
18
|
"not_implemented",
|
|
20
19
|
"connection_discovery_failed",
|
|
21
20
|
"media_processing",
|
|
@@ -62,6 +61,7 @@ var zErrorCode = z.enum([
|
|
|
62
61
|
"media_failed",
|
|
63
62
|
"media_unsupported",
|
|
64
63
|
"media_kind_mismatch",
|
|
64
|
+
"variant_unparseable",
|
|
65
65
|
"publishing_unavailable",
|
|
66
66
|
"x_duplicate_content",
|
|
67
67
|
"x_not_authorized",
|
|
@@ -91,7 +91,8 @@ var zErrorCode = z.enum([
|
|
|
91
91
|
"tiktok_not_authorized",
|
|
92
92
|
"tiktok_rate_limited",
|
|
93
93
|
"tiktok_publish_failed",
|
|
94
|
-
"connection_platform_mismatch"
|
|
94
|
+
"connection_platform_mismatch",
|
|
95
|
+
"connection_removed"
|
|
95
96
|
]);
|
|
96
97
|
var zProfilesListQuery = z.object({
|
|
97
98
|
limit: z.int().gte(1).lte(100).optional().default(20),
|
|
@@ -1133,7 +1134,7 @@ var zPostsListResponse = z.object({
|
|
|
1133
1134
|
variants: z.array(z.object({
|
|
1134
1135
|
id: z.string(),
|
|
1135
1136
|
object: z.literal("post_variant"),
|
|
1136
|
-
connection_id: z.string(),
|
|
1137
|
+
connection_id: z.string().nullable(),
|
|
1137
1138
|
platform: z.enum([
|
|
1138
1139
|
"x",
|
|
1139
1140
|
"linkedin",
|
|
@@ -1412,7 +1413,7 @@ var zPostsCreateResponse = z.object({
|
|
|
1412
1413
|
variants: z.array(z.object({
|
|
1413
1414
|
id: z.string(),
|
|
1414
1415
|
object: z.literal("post_variant"),
|
|
1415
|
-
connection_id: z.string(),
|
|
1416
|
+
connection_id: z.string().nullable(),
|
|
1416
1417
|
platform: z.enum([
|
|
1417
1418
|
"x",
|
|
1418
1419
|
"linkedin",
|
|
@@ -1494,7 +1495,7 @@ var zPostsGetResponse = z.object({
|
|
|
1494
1495
|
variants: z.array(z.object({
|
|
1495
1496
|
id: z.string(),
|
|
1496
1497
|
object: z.literal("post_variant"),
|
|
1497
|
-
connection_id: z.string(),
|
|
1498
|
+
connection_id: z.string().nullable(),
|
|
1498
1499
|
platform: z.enum([
|
|
1499
1500
|
"x",
|
|
1500
1501
|
"linkedin",
|
|
@@ -1770,7 +1771,7 @@ var zPostsUpdateResponse = z.object({
|
|
|
1770
1771
|
variants: z.array(z.object({
|
|
1771
1772
|
id: z.string(),
|
|
1772
1773
|
object: z.literal("post_variant"),
|
|
1773
|
-
connection_id: z.string(),
|
|
1774
|
+
connection_id: z.string().nullable(),
|
|
1774
1775
|
platform: z.enum([
|
|
1775
1776
|
"x",
|
|
1776
1777
|
"linkedin",
|
|
@@ -2025,7 +2026,6 @@ var zPostsValidateResponse = z.object({
|
|
|
2025
2026
|
"account_not_available",
|
|
2026
2027
|
"connection_reauth_required",
|
|
2027
2028
|
"connection_not_pending",
|
|
2028
|
-
"connection_in_use",
|
|
2029
2029
|
"not_implemented",
|
|
2030
2030
|
"connection_discovery_failed",
|
|
2031
2031
|
"media_processing",
|
|
@@ -2072,6 +2072,7 @@ var zPostsValidateResponse = z.object({
|
|
|
2072
2072
|
"media_failed",
|
|
2073
2073
|
"media_unsupported",
|
|
2074
2074
|
"media_kind_mismatch",
|
|
2075
|
+
"variant_unparseable",
|
|
2075
2076
|
"publishing_unavailable",
|
|
2076
2077
|
"x_duplicate_content",
|
|
2077
2078
|
"x_not_authorized",
|
|
@@ -2101,7 +2102,8 @@ var zPostsValidateResponse = z.object({
|
|
|
2101
2102
|
"tiktok_not_authorized",
|
|
2102
2103
|
"tiktok_rate_limited",
|
|
2103
2104
|
"tiktok_publish_failed",
|
|
2104
|
-
"connection_platform_mismatch"
|
|
2105
|
+
"connection_platform_mismatch",
|
|
2106
|
+
"connection_removed"
|
|
2105
2107
|
]),
|
|
2106
2108
|
message: z.string(),
|
|
2107
2109
|
hint: z.string().optional(),
|
|
@@ -3820,5 +3822,5 @@ var zTokensMintResponse = z.object({
|
|
|
3820
3822
|
});
|
|
3821
3823
|
|
|
3822
3824
|
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 };
|
|
3823
|
-
//# sourceMappingURL=chunk-
|
|
3824
|
-
//# sourceMappingURL=chunk-
|
|
3825
|
+
//# sourceMappingURL=chunk-EFB6IKZF.js.map
|
|
3826
|
+
//# sourceMappingURL=chunk-EFB6IKZF.js.map
|