@postrun/js 2.16.0 → 2.17.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-DJXWVAER.js → chunk-LMZC6OUA.js} +64 -4
- package/dist/chunk-LMZC6OUA.js.map +1 -0
- package/dist/{chunk-WKKPLEFG.js → chunk-LSW34R3K.js} +53 -6
- package/dist/chunk-LSW34R3K.js.map +1 -0
- package/dist/index.cjs +215 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +75 -25
- package/dist/index.d.ts +75 -25
- package/dist/index.js +104 -53
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.cjs +60 -3
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +379 -4
- package/dist/schemas/index.d.ts +379 -4
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +48 -3
- 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-BfOYHbVm.d.cts → types.gen-B0Bb9XYb.d.cts} +967 -8
- package/dist/{types.gen-BfOYHbVm.d.ts → types.gen-B0Bb9XYb.d.ts} +967 -8
- package/package.json +3 -3
- package/dist/chunk-DJXWVAER.js.map +0 -1
- package/dist/chunk-WKKPLEFG.js.map +0 -1
|
@@ -19,6 +19,8 @@ var zErrorCode = z.enum([
|
|
|
19
19
|
"connection_discovery_failed",
|
|
20
20
|
"tiktok_creator_info_unavailable",
|
|
21
21
|
"media_processing",
|
|
22
|
+
"media_upload_init_failed",
|
|
23
|
+
"media_upload_incomplete",
|
|
22
24
|
"not_publishable",
|
|
23
25
|
"invalid_connection",
|
|
24
26
|
"invalid_media",
|
|
@@ -83,11 +85,16 @@ var zErrorCode = z.enum([
|
|
|
83
85
|
"instagram_container_expired",
|
|
84
86
|
"instagram_container_failed",
|
|
85
87
|
"instagram_rate_limited",
|
|
88
|
+
"instagram_daily_limit_reached",
|
|
89
|
+
"instagram_aspect_ratio_unsupported",
|
|
90
|
+
"instagram_media_unsupported",
|
|
86
91
|
"instagram_not_authorized",
|
|
87
92
|
"instagram_publish_failed",
|
|
88
93
|
"facebook_reel_processing",
|
|
89
94
|
"facebook_reel_failed",
|
|
90
95
|
"facebook_rate_limited",
|
|
96
|
+
"facebook_duplicate_content",
|
|
97
|
+
"facebook_temporarily_blocked",
|
|
91
98
|
"facebook_not_authorized",
|
|
92
99
|
"facebook_publish_failed",
|
|
93
100
|
"tiktok_privacy_not_allowed",
|
|
@@ -1178,9 +1185,9 @@ var zMediaCreateResponse = z.object({
|
|
|
1178
1185
|
created_at: z.string(),
|
|
1179
1186
|
updated_at: z.string(),
|
|
1180
1187
|
upload: z.object({
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1188
|
+
upload_id: z.string(),
|
|
1189
|
+
key: z.string(),
|
|
1190
|
+
part_size: z.int().gt(0).lte(9007199254740991),
|
|
1184
1191
|
expires_at: z.string()
|
|
1185
1192
|
}).nullable()
|
|
1186
1193
|
});
|
|
@@ -1217,6 +1224,39 @@ var zMediaUpdatePath = z.object({
|
|
|
1217
1224
|
id: z.string()
|
|
1218
1225
|
});
|
|
1219
1226
|
var zMediaUpdateResponse = zMedia;
|
|
1227
|
+
var zMediaSignPartBody = z.object({
|
|
1228
|
+
part_number: z.int().gte(1).lte(1e4)
|
|
1229
|
+
});
|
|
1230
|
+
var zMediaSignPartPath = z.object({
|
|
1231
|
+
id: z.string()
|
|
1232
|
+
});
|
|
1233
|
+
var zMediaSignPartResponse = z.object({
|
|
1234
|
+
url: z.url()
|
|
1235
|
+
});
|
|
1236
|
+
var zMediaListPartsPath = z.object({
|
|
1237
|
+
id: z.string()
|
|
1238
|
+
});
|
|
1239
|
+
var zMediaListPartsResponse = z.object({
|
|
1240
|
+
parts: z.array(z.object({
|
|
1241
|
+
part_number: z.int().gte(1).lte(9007199254740991),
|
|
1242
|
+
etag: z.string(),
|
|
1243
|
+
size: z.int().gte(0).lte(9007199254740991)
|
|
1244
|
+
}))
|
|
1245
|
+
});
|
|
1246
|
+
var zMediaCompleteBody = z.object({
|
|
1247
|
+
parts: z.array(z.object({
|
|
1248
|
+
part_number: z.int().gte(1).lte(1e4),
|
|
1249
|
+
etag: z.string().min(1)
|
|
1250
|
+
})).min(1)
|
|
1251
|
+
});
|
|
1252
|
+
var zMediaCompletePath = z.object({
|
|
1253
|
+
id: z.string()
|
|
1254
|
+
});
|
|
1255
|
+
var zMediaCompleteResponse = zMedia;
|
|
1256
|
+
var zMediaAbortPath = z.object({
|
|
1257
|
+
id: z.string()
|
|
1258
|
+
});
|
|
1259
|
+
var zMediaAbortResponse = zMedia;
|
|
1220
1260
|
var zPostsListQuery = z.object({
|
|
1221
1261
|
limit: z.int().gte(1).lte(100).optional().default(20),
|
|
1222
1262
|
offset: z.int().gte(0).lte(9007199254740991).optional().default(0),
|
|
@@ -1354,6 +1394,8 @@ var zPostsValidateResponse = z.object({
|
|
|
1354
1394
|
"connection_discovery_failed",
|
|
1355
1395
|
"tiktok_creator_info_unavailable",
|
|
1356
1396
|
"media_processing",
|
|
1397
|
+
"media_upload_init_failed",
|
|
1398
|
+
"media_upload_incomplete",
|
|
1357
1399
|
"not_publishable",
|
|
1358
1400
|
"invalid_connection",
|
|
1359
1401
|
"invalid_media",
|
|
@@ -1418,11 +1460,16 @@ var zPostsValidateResponse = z.object({
|
|
|
1418
1460
|
"instagram_container_expired",
|
|
1419
1461
|
"instagram_container_failed",
|
|
1420
1462
|
"instagram_rate_limited",
|
|
1463
|
+
"instagram_daily_limit_reached",
|
|
1464
|
+
"instagram_aspect_ratio_unsupported",
|
|
1465
|
+
"instagram_media_unsupported",
|
|
1421
1466
|
"instagram_not_authorized",
|
|
1422
1467
|
"instagram_publish_failed",
|
|
1423
1468
|
"facebook_reel_processing",
|
|
1424
1469
|
"facebook_reel_failed",
|
|
1425
1470
|
"facebook_rate_limited",
|
|
1471
|
+
"facebook_duplicate_content",
|
|
1472
|
+
"facebook_temporarily_blocked",
|
|
1426
1473
|
"facebook_not_authorized",
|
|
1427
1474
|
"facebook_publish_failed",
|
|
1428
1475
|
"tiktok_privacy_not_allowed",
|
|
@@ -3233,6 +3280,6 @@ var zTokensMintResponse = z.object({
|
|
|
3233
3280
|
expires_at: z.string()
|
|
3234
3281
|
});
|
|
3235
3282
|
|
|
3236
|
-
export { zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, 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, zMedia, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListQuery, zMediaListResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
|
|
3237
|
-
//# sourceMappingURL=chunk-
|
|
3238
|
-
//# sourceMappingURL=chunk-
|
|
3283
|
+
export { zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, 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, zMedia, zMediaAbortPath, zMediaAbortResponse, zMediaCompleteBody, zMediaCompletePath, zMediaCompleteResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListPartsPath, zMediaListPartsResponse, zMediaListQuery, zMediaListResponse, zMediaSignPartBody, zMediaSignPartPath, zMediaSignPartResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
|
|
3284
|
+
//# sourceMappingURL=chunk-LSW34R3K.js.map
|
|
3285
|
+
//# sourceMappingURL=chunk-LSW34R3K.js.map
|