@postrun/js 0.2.0 → 1.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.
@@ -377,6 +377,9 @@ declare const zConnectionsConnectPath: z.ZodObject<{
377
377
  declare const zConnectionsConnectResponse: z.ZodObject<{
378
378
  hosted_connect_url: z.ZodString;
379
379
  connect_token: z.ZodString;
380
+ connect_session_token: z.ZodString;
381
+ provider_config_key: z.ZodString;
382
+ nango_host: z.ZodString;
380
383
  expires_at: z.ZodString;
381
384
  }, z.core.$strip>;
382
385
  declare const zMediaListQuery: z.ZodObject<{
@@ -420,6 +423,15 @@ declare const zMediaListResponse: z.ZodObject<{
420
423
  ready: "ready";
421
424
  failed: "failed";
422
425
  }>;
426
+ progress: z.ZodObject<{
427
+ stage: z.ZodEnum<{
428
+ done: "done";
429
+ queued: "queued";
430
+ analyzing: "analyzing";
431
+ transcoding: "transcoding";
432
+ }>;
433
+ percent: z.ZodInt;
434
+ }, z.core.$strip>;
423
435
  raw: z.ZodBoolean;
424
436
  error: z.ZodNullable<z.ZodObject<{
425
437
  code: z.ZodEnum<{
@@ -598,6 +610,15 @@ declare const zMediaCreateResponse: z.ZodObject<{
598
610
  ready: "ready";
599
611
  failed: "failed";
600
612
  }>;
613
+ progress: z.ZodObject<{
614
+ stage: z.ZodEnum<{
615
+ done: "done";
616
+ queued: "queued";
617
+ analyzing: "analyzing";
618
+ transcoding: "transcoding";
619
+ }>;
620
+ percent: z.ZodInt;
621
+ }, z.core.$strip>;
601
622
  raw: z.ZodBoolean;
602
623
  error: z.ZodNullable<z.ZodObject<{
603
624
  code: z.ZodEnum<{
@@ -765,6 +786,15 @@ declare const zMediaGetResponse: z.ZodObject<{
765
786
  ready: "ready";
766
787
  failed: "failed";
767
788
  }>;
789
+ progress: z.ZodObject<{
790
+ stage: z.ZodEnum<{
791
+ done: "done";
792
+ queued: "queued";
793
+ analyzing: "analyzing";
794
+ transcoding: "transcoding";
795
+ }>;
796
+ percent: z.ZodInt;
797
+ }, z.core.$strip>;
768
798
  raw: z.ZodBoolean;
769
799
  error: z.ZodNullable<z.ZodObject<{
770
800
  code: z.ZodEnum<{
@@ -928,6 +958,15 @@ declare const zMediaUpdateResponse: z.ZodObject<{
928
958
  ready: "ready";
929
959
  failed: "failed";
930
960
  }>;
961
+ progress: z.ZodObject<{
962
+ stage: z.ZodEnum<{
963
+ done: "done";
964
+ queued: "queued";
965
+ analyzing: "analyzing";
966
+ transcoding: "transcoding";
967
+ }>;
968
+ percent: z.ZodInt;
969
+ }, z.core.$strip>;
931
970
  raw: z.ZodBoolean;
932
971
  error: z.ZodNullable<z.ZodObject<{
933
972
  code: z.ZodEnum<{
@@ -377,6 +377,9 @@ declare const zConnectionsConnectPath: z.ZodObject<{
377
377
  declare const zConnectionsConnectResponse: z.ZodObject<{
378
378
  hosted_connect_url: z.ZodString;
379
379
  connect_token: z.ZodString;
380
+ connect_session_token: z.ZodString;
381
+ provider_config_key: z.ZodString;
382
+ nango_host: z.ZodString;
380
383
  expires_at: z.ZodString;
381
384
  }, z.core.$strip>;
382
385
  declare const zMediaListQuery: z.ZodObject<{
@@ -420,6 +423,15 @@ declare const zMediaListResponse: z.ZodObject<{
420
423
  ready: "ready";
421
424
  failed: "failed";
422
425
  }>;
426
+ progress: z.ZodObject<{
427
+ stage: z.ZodEnum<{
428
+ done: "done";
429
+ queued: "queued";
430
+ analyzing: "analyzing";
431
+ transcoding: "transcoding";
432
+ }>;
433
+ percent: z.ZodInt;
434
+ }, z.core.$strip>;
423
435
  raw: z.ZodBoolean;
424
436
  error: z.ZodNullable<z.ZodObject<{
425
437
  code: z.ZodEnum<{
@@ -598,6 +610,15 @@ declare const zMediaCreateResponse: z.ZodObject<{
598
610
  ready: "ready";
599
611
  failed: "failed";
600
612
  }>;
613
+ progress: z.ZodObject<{
614
+ stage: z.ZodEnum<{
615
+ done: "done";
616
+ queued: "queued";
617
+ analyzing: "analyzing";
618
+ transcoding: "transcoding";
619
+ }>;
620
+ percent: z.ZodInt;
621
+ }, z.core.$strip>;
601
622
  raw: z.ZodBoolean;
602
623
  error: z.ZodNullable<z.ZodObject<{
603
624
  code: z.ZodEnum<{
@@ -765,6 +786,15 @@ declare const zMediaGetResponse: z.ZodObject<{
765
786
  ready: "ready";
766
787
  failed: "failed";
767
788
  }>;
789
+ progress: z.ZodObject<{
790
+ stage: z.ZodEnum<{
791
+ done: "done";
792
+ queued: "queued";
793
+ analyzing: "analyzing";
794
+ transcoding: "transcoding";
795
+ }>;
796
+ percent: z.ZodInt;
797
+ }, z.core.$strip>;
768
798
  raw: z.ZodBoolean;
769
799
  error: z.ZodNullable<z.ZodObject<{
770
800
  code: z.ZodEnum<{
@@ -928,6 +958,15 @@ declare const zMediaUpdateResponse: z.ZodObject<{
928
958
  ready: "ready";
929
959
  failed: "failed";
930
960
  }>;
961
+ progress: z.ZodObject<{
962
+ stage: z.ZodEnum<{
963
+ done: "done";
964
+ queued: "queued";
965
+ analyzing: "analyzing";
966
+ transcoding: "transcoding";
967
+ }>;
968
+ percent: z.ZodInt;
969
+ }, z.core.$strip>;
931
970
  raw: z.ZodBoolean;
932
971
  error: z.ZodNullable<z.ZodObject<{
933
972
  code: z.ZodEnum<{
@@ -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, 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-VGR3BQCT.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, 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-4AAUQJXR.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
package/dist/server.cjs CHANGED
@@ -1152,6 +1152,9 @@ z__namespace.object({
1152
1152
  z__namespace.object({
1153
1153
  hosted_connect_url: z__namespace.string(),
1154
1154
  connect_token: z__namespace.string(),
1155
+ connect_session_token: z__namespace.string(),
1156
+ provider_config_key: z__namespace.string(),
1157
+ nango_host: z__namespace.string(),
1155
1158
  expires_at: z__namespace.string()
1156
1159
  });
1157
1160
  z__namespace.object({
@@ -1196,6 +1199,15 @@ z__namespace.object({
1196
1199
  "ready",
1197
1200
  "failed"
1198
1201
  ]),
1202
+ progress: z__namespace.object({
1203
+ stage: z__namespace.enum([
1204
+ "queued",
1205
+ "analyzing",
1206
+ "transcoding",
1207
+ "done"
1208
+ ]),
1209
+ percent: z__namespace.int().gte(0).lte(100)
1210
+ }),
1199
1211
  raw: z__namespace.boolean(),
1200
1212
  error: z__namespace.object({
1201
1213
  code: z__namespace.enum([
@@ -1376,6 +1388,15 @@ z__namespace.object({
1376
1388
  "ready",
1377
1389
  "failed"
1378
1390
  ]),
1391
+ progress: z__namespace.object({
1392
+ stage: z__namespace.enum([
1393
+ "queued",
1394
+ "analyzing",
1395
+ "transcoding",
1396
+ "done"
1397
+ ]),
1398
+ percent: z__namespace.int().gte(0).lte(100)
1399
+ }),
1379
1400
  raw: z__namespace.boolean(),
1380
1401
  error: z__namespace.object({
1381
1402
  code: z__namespace.enum([
@@ -1541,6 +1562,15 @@ z__namespace.object({
1541
1562
  "ready",
1542
1563
  "failed"
1543
1564
  ]),
1565
+ progress: z__namespace.object({
1566
+ stage: z__namespace.enum([
1567
+ "queued",
1568
+ "analyzing",
1569
+ "transcoding",
1570
+ "done"
1571
+ ]),
1572
+ percent: z__namespace.int().gte(0).lte(100)
1573
+ }),
1544
1574
  raw: z__namespace.boolean(),
1545
1575
  error: z__namespace.object({
1546
1576
  code: z__namespace.enum([
@@ -1709,6 +1739,15 @@ z__namespace.object({
1709
1739
  "ready",
1710
1740
  "failed"
1711
1741
  ]),
1742
+ progress: z__namespace.object({
1743
+ stage: z__namespace.enum([
1744
+ "queued",
1745
+ "analyzing",
1746
+ "transcoding",
1747
+ "done"
1748
+ ]),
1749
+ percent: z__namespace.int().gte(0).lte(100)
1750
+ }),
1712
1751
  raw: z__namespace.boolean(),
1713
1752
  error: z__namespace.object({
1714
1753
  code: z__namespace.enum([