@postrun/js 1.3.0 → 2.1.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-FGI7GS4Z.js} +14 -10
- package/dist/chunk-FGI7GS4Z.js.map +1 -0
- package/dist/{chunk-JBNHOK3M.js → chunk-PIGL6PUC.js} +3 -3
- package/dist/{chunk-JBNHOK3M.js.map → chunk-PIGL6PUC.js.map} +1 -1
- package/dist/index.cjs +18 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +33 -4
- package/dist/index.d.ts +33 -4
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.cjs +12 -8
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +10 -6
- package/dist/schemas/index.d.ts +10 -6
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +12 -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-BJumr-Nk.d.cts} +19 -7
- package/dist/{types.gen-DeuF7WVq.d.ts → types.gen-BJumr-Nk.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,9 +61,11 @@ 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",
|
|
68
|
+
"x_access_not_permitted",
|
|
68
69
|
"x_rate_limited",
|
|
69
70
|
"x_publish_failed",
|
|
70
71
|
"x_media_upload_failed",
|
|
@@ -91,7 +92,8 @@ var zErrorCode = z.enum([
|
|
|
91
92
|
"tiktok_not_authorized",
|
|
92
93
|
"tiktok_rate_limited",
|
|
93
94
|
"tiktok_publish_failed",
|
|
94
|
-
"connection_platform_mismatch"
|
|
95
|
+
"connection_platform_mismatch",
|
|
96
|
+
"connection_removed"
|
|
95
97
|
]);
|
|
96
98
|
var zProfilesListQuery = z.object({
|
|
97
99
|
limit: z.int().gte(1).lte(100).optional().default(20),
|
|
@@ -1133,7 +1135,7 @@ var zPostsListResponse = z.object({
|
|
|
1133
1135
|
variants: z.array(z.object({
|
|
1134
1136
|
id: z.string(),
|
|
1135
1137
|
object: z.literal("post_variant"),
|
|
1136
|
-
connection_id: z.string(),
|
|
1138
|
+
connection_id: z.string().nullable(),
|
|
1137
1139
|
platform: z.enum([
|
|
1138
1140
|
"x",
|
|
1139
1141
|
"linkedin",
|
|
@@ -1412,7 +1414,7 @@ var zPostsCreateResponse = z.object({
|
|
|
1412
1414
|
variants: z.array(z.object({
|
|
1413
1415
|
id: z.string(),
|
|
1414
1416
|
object: z.literal("post_variant"),
|
|
1415
|
-
connection_id: z.string(),
|
|
1417
|
+
connection_id: z.string().nullable(),
|
|
1416
1418
|
platform: z.enum([
|
|
1417
1419
|
"x",
|
|
1418
1420
|
"linkedin",
|
|
@@ -1494,7 +1496,7 @@ var zPostsGetResponse = z.object({
|
|
|
1494
1496
|
variants: z.array(z.object({
|
|
1495
1497
|
id: z.string(),
|
|
1496
1498
|
object: z.literal("post_variant"),
|
|
1497
|
-
connection_id: z.string(),
|
|
1499
|
+
connection_id: z.string().nullable(),
|
|
1498
1500
|
platform: z.enum([
|
|
1499
1501
|
"x",
|
|
1500
1502
|
"linkedin",
|
|
@@ -1770,7 +1772,7 @@ var zPostsUpdateResponse = z.object({
|
|
|
1770
1772
|
variants: z.array(z.object({
|
|
1771
1773
|
id: z.string(),
|
|
1772
1774
|
object: z.literal("post_variant"),
|
|
1773
|
-
connection_id: z.string(),
|
|
1775
|
+
connection_id: z.string().nullable(),
|
|
1774
1776
|
platform: z.enum([
|
|
1775
1777
|
"x",
|
|
1776
1778
|
"linkedin",
|
|
@@ -2025,7 +2027,6 @@ var zPostsValidateResponse = z.object({
|
|
|
2025
2027
|
"account_not_available",
|
|
2026
2028
|
"connection_reauth_required",
|
|
2027
2029
|
"connection_not_pending",
|
|
2028
|
-
"connection_in_use",
|
|
2029
2030
|
"not_implemented",
|
|
2030
2031
|
"connection_discovery_failed",
|
|
2031
2032
|
"media_processing",
|
|
@@ -2072,9 +2073,11 @@ var zPostsValidateResponse = z.object({
|
|
|
2072
2073
|
"media_failed",
|
|
2073
2074
|
"media_unsupported",
|
|
2074
2075
|
"media_kind_mismatch",
|
|
2076
|
+
"variant_unparseable",
|
|
2075
2077
|
"publishing_unavailable",
|
|
2076
2078
|
"x_duplicate_content",
|
|
2077
2079
|
"x_not_authorized",
|
|
2080
|
+
"x_access_not_permitted",
|
|
2078
2081
|
"x_rate_limited",
|
|
2079
2082
|
"x_publish_failed",
|
|
2080
2083
|
"x_media_upload_failed",
|
|
@@ -2101,7 +2104,8 @@ var zPostsValidateResponse = z.object({
|
|
|
2101
2104
|
"tiktok_not_authorized",
|
|
2102
2105
|
"tiktok_rate_limited",
|
|
2103
2106
|
"tiktok_publish_failed",
|
|
2104
|
-
"connection_platform_mismatch"
|
|
2107
|
+
"connection_platform_mismatch",
|
|
2108
|
+
"connection_removed"
|
|
2105
2109
|
]),
|
|
2106
2110
|
message: z.string(),
|
|
2107
2111
|
hint: z.string().optional(),
|
|
@@ -3820,5 +3824,5 @@ var zTokensMintResponse = z.object({
|
|
|
3820
3824
|
});
|
|
3821
3825
|
|
|
3822
3826
|
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-
|
|
3827
|
+
//# sourceMappingURL=chunk-FGI7GS4Z.js.map
|
|
3828
|
+
//# sourceMappingURL=chunk-FGI7GS4Z.js.map
|