@zapier/zapier-sdk 0.114.5 → 0.115.1

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.
@@ -1,5 +1,5 @@
1
- import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider, a as Manifest, E as EventCallback, b as EventEmissionConfig, Z as ZapierCache, C as ConnectionsProvider, c as CapabilitiesContext, F as FieldsetItem, d as ZapierFetchInitOptions, e as ActionProxy, f as ZapierSdkApps, D as DeleteTriggerInboxResult, g as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, j as ApiClientDurationOptions, k as EventTransport, l as BaseEvent, R as ResolveCredentialsFn } from './index-7k7tYEeJ.js';
2
- export { e9 as ACTION_RUNS_PATH, cM as API_ID, x as Action, cI as ActionEntry, c2 as ActionExecutionOptions, I as ActionExecutionResult, J as ActionField, K as ActionFieldChoice, at as ActionItem, b3 as ActionKeyProperty, aB as ActionKeyPropertySchema, b4 as ActionProperty, aC as ActionPropertySchema, ad as ActionResolverItem, bg as ActionTimeoutMillisecondsProperty, aO as ActionTimeoutMillisecondsPropertySchema, bf as ActionTimeoutSecondsProperty, aN as ActionTimeoutSecondsPropertySchema, ae as ActionTypeItem, b2 as ActionTypeProperty, aA as ActionTypePropertySchema, dz as ApiEvent, cL as ApiPluginOptions, y as App, c3 as AppFactoryInput, ar as AppItem, b0 as AppKeyProperty, ay as AppKeyPropertySchema, b1 as AppProperty, az as AppPropertySchema, eE as ApplicationLifecycleEventData, bL as ApprovalStatus, bl as AppsProperty, aT as AppsPropertySchema, dy as AuthEvent, dj as AuthMechanism, b8 as AuthenticationIdProperty, aF as AuthenticationIdPropertySchema, aa as BaseSdkOptionsSchema, a2 as BatchOptions, d$ as CONNECTIONS_ID, cp as CONTEXT_CACHE_MAX_SIZE, co as CONTEXT_CACHE_TTL_MILLISECONDS, a0 as CallerContext, H as Choice, dE as ClientCredentialsObject, dP as ClientCredentialsObjectSchema, Q as Connection, dX as ConnectionEntry, dW as ConnectionEntrySchema, b6 as ConnectionIdProperty, aE as ConnectionIdPropertySchema, as as ConnectionItem, b7 as ConnectionProperty, aG as ConnectionPropertySchema, dZ as ConnectionsMap, dY as ConnectionsMapSchema, bn as ConnectionsProperty, aV as ConnectionsPropertySchema, S as ConnectionsResponse, cr as CreateActionRunPluginProvides, dB as Credentials, dU as CredentialsFunction, dT as CredentialsFunctionSchema, dD as CredentialsObject, dR as CredentialsObjectSchema, dV as CredentialsSchema, e8 as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, ei as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cG as DEFAULT_CONFIG_PATH, ej as DEFAULT_MAX_APPROVAL_RETRIES, e7 as DEFAULT_PAGE_SIZE, ap as DEPRECATION_NOTICE_EVENT, bd as DebugProperty, aL as DebugPropertySchema, aq as DeprecationNoticePayload, q as DrainTriggerInboxCallback, r as DrainTriggerInboxErrorObserver, eY as DrainTriggerInboxSchema, ez as EVENT_EMISSION_ID, eF as EnhancedErrorEventData, bu as ErrorOptions, eD as EventContext, ex as EventEmissionContext, ey as EventEmitter, c4 as FetchPluginProvides, z as Field, bk as FieldsProperty, aS as FieldsPropertySchema, v as FindFirstAuthenticationPluginProvides, w as FindUniqueAuthenticationPluginProvides, ct as GetActionRunPluginProvides, u as GetAuthenticationPluginProvides, cK as GetProfilePluginProvides, av as InfoFieldItem, au as InputFieldItem, b5 as InputFieldProperty, aD as InputFieldPropertySchema, b9 as InputsProperty, aH as InputsPropertySchema, ao as JsonSseMessage, bt as LeaseLimitProperty, a$ as LeaseLimitPropertySchema, br as LeaseProperty, aZ as LeasePropertySchema, bs as LeaseSecondsProperty, a_ as LeaseSecondsPropertySchema, s as LeasedTriggerMessageItem, ba as LimitProperty, aI as LimitPropertySchema, cb as ListActionInputFieldsPluginProvides, c9 as ListActionsPluginProvides, c7 as ListAppsPluginProvides, t as ListAuthenticationsPluginProvides, cf as ListConnectionsPluginProvides, dA as LoadingEvent, cB as MANIFEST_ID, ec as MAX_CONCURRENCY_LIMIT, e6 as MAX_PAGE_LIMIT, cH as ManifestEntry, cx as ManifestPluginOptions, eM as MethodCalledEvent, eG as MethodCalledEventData, N as Need, O as NeedsRequest, P as NeedsResponse, bb as OffsetProperty, aJ as OffsetPropertySchema, bc as OutputProperty, aK as OutputPropertySchema, be as ParamsProperty, aM as ParamsPropertySchema, dF as PkceCredentialsObject, dQ as PkceCredentialsObjectSchema, aj as PollOptions, cP as RESOLVE_CREDENTIALS_ID, bJ as RateLimitInfo, bi as RecordProperty, aQ as RecordPropertySchema, bj as RecordsProperty, aR as RecordsPropertySchema, a7 as RelayFetchSchema, a6 as RelayRequestSchema, ai as RequestOptions, di as ResolveAuthTokenOptions, d_ as ResolveConnection, dK as ResolveCredentialsOptions, af as ResolvedAppLocator, dk as ResolvedAuth, dC as ResolvedCredentials, dS as ResolvedCredentialsSchema, aw as RootFieldItem, cv as RunActionPluginProvides, X as SDK_OPTIONS_ID, ab as STABILITY_DEFINITIONS, dx as SdkEvent, an as SseMessage, bh as TableProperty, aP as TablePropertySchema, bm as TablesProperty, aU as TablesPropertySchema, bp as TriggerInboxKeyProperty, aX as TriggerInboxKeyPropertySchema, bq as TriggerInboxNameProperty, aY as TriggerInboxNamePropertySchema, bo as TriggerInboxProperty, aW as TriggerInboxPropertySchema, T as TriggerMessageStatus, cE as UpdateManifestEntryOptions, cF as UpdateManifestEntryResult, U as UserProfile, ax as UserProfileItem, eZ as WatchTriggerInboxSchema, e2 as ZAPIER_BASE_URL, ee as ZAPIER_MAX_CONCURRENT_REQUESTS, ea as ZAPIER_MAX_NETWORK_RETRIES, eb as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, m as ZapierAbortDrainSignal, bH as ZapierActionError, bA as ZapierApiError, bB as ZapierAppNotFoundError, bM as ZapierApprovalError, by as ZapierAuthenticationError, bF as ZapierBundleError, du as ZapierCacheEntry, dv as ZapierCacheSetOptions, bE as ZapierConfigurationError, bI as ZapierConflictError, bv as ZapierError, bC as ZapierNotFoundError, bK as ZapierRateLimitError, bN as ZapierRelayError, n as ZapierReleaseTriggerMessageSignal, bD as ZapierResourceNotFoundError, b$ as ZapierSignal, bG as ZapierTimeoutError, bx as ZapierUnknownError, bw as ZapierValidationError, cU as actionKeyResolver, cT as actionTypeResolver, cO as apiPlugin, cN as apiPluginRef, cS as appKeyResolver, c1 as appsPlugin, a1 as batch, eH as buildApplicationLifecycleEvent, a3 as buildCapabilityMessage, eJ as buildErrorEvent, eI as buildErrorEventWithContext, eL as buildMethodCalledEvent, ew as cleanupEventListeners, dl as clearTokenCache, c_ as clientCredentialsNameResolver, c$ as clientIdResolver, cW as connectionIdGenericResolver, cV as connectionIdResolver, e1 as connectionsPlugin, e0 as connectionsPluginRef, cq as createActionRunPlugin, eK as createBaseEvent, ch as createClientCredentialsPlugin, dw as createMemoryCache, ep as createTableFieldsPlugin, em as createTablePlugin, et as createTableRecordsPlugin, ak as createZapierApi, a8 as createZapierSdkWithoutRegistry, ci as deleteClientCredentialsPlugin, eq as deleteTableFieldsPlugin, en as deleteTablePlugin, eu as deleteTableRecordsPlugin, ah as descriptionFor, d3 as durableRunIdResolver, eC as eventEmissionHookPlugin, eB as eventEmissionPlugin, eA as eventEmissionPluginRef, c5 as fetchPlugin, cm as findFirstConnectionPlugin, cA as findManifestEntry, cn as findUniqueConnectionPlugin, b_ as formatErrorMessage, ac as formatExtensionPluginFailure, eO as generateEventId, cd as getActionInputFieldsSchemaPlugin, ck as getActionPlugin, cs as getActionRunPlugin, ag as getAgent, cj as getAppPlugin, dN as getBaseUrlFromCredentials, _ as getCallerContext, eU as getCiPlatform, dO as getClientIdFromCredentials, cl as getConnectionPlugin, eW as getCpuTime, eP as getCurrentTimestamp, eV as getMemoryUsage, al as getOrCreateApiClient, eR as getOsInfo, eS as getPlatformVersions, cz as getPreferredManifestEntryKey, cJ as getProfilePlugin, eQ as getReleaseId, el as getTablePlugin, er as getTableRecordPlugin, dq as getTokenFromCliLogin, eX as getTtyContext, ef as getZapierApprovalMode, e5 as getZapierCausationId, e4 as getZapierCorrelationId, eh as getZapierDefaultApprovalMode, eg as getZapierOpenAutoModeApprovalsInBrowser, e3 as getZapierSdkService, dn as injectCliLogin, cZ as inputFieldKeyResolver, cY as inputsAllOptionalResolver, cX as inputsResolver, dm as invalidateCachedToken, dt as invalidateCredentialsToken, eT as isCi, dp as isCliLoginAvailable, dG as isClientCredentials, dJ as isCredentialsFunction, dI as isCredentialsObject, am as isPermanentHttpError, dH as isPkceCredentials, o as isZapierAbortDrainSignal, bX as isZapierActionError, bR as isZapierAppNotFoundError, bZ as isZapierApprovalError, bQ as isZapierAuthenticationError, bW as isZapierBundleError, bU as isZapierConflictError, bO as isZapierError, bS as isZapierNotFoundError, bY as isZapierRateLimitError, p as isZapierReleaseTriggerMessageSignal, bT as isZapierResourceNotFoundError, c0 as isZapierSignal, bV as isZapierTimeoutError, bP as isZapierValidationError, cc as listActionInputFieldChoicesPlugin, ca as listActionInputFieldsPlugin, c8 as listActionsPlugin, c6 as listAppsPlugin, cg as listClientCredentialsPlugin, ce as listConnectionsPlugin, eo as listTableFieldsPlugin, es as listTableRecordsPlugin, ek as listTablesPlugin, a4 as logDeprecation, cD as manifestPlugin, cC as manifestPluginRef, eN as operationAnnotatorPlugin, ed as parseConcurrencyEnvVar, cy as readManifestFromFile, cw as requestPlugin, a5 as resetDeprecationWarnings, dr as resolveAuth, ds as resolveAuthToken, dM as resolveCredentials, dL as resolveCredentialsFromEnv, cR as resolveCredentialsPlugin, cQ as resolveCredentialsPluginRef, cu as runActionPlugin, $ as runWithCallerContext, Y as sdkOptionsPluginRef, db as tableFieldIdsResolver, dd as tableFieldsResolver, dg as tableFiltersResolver, d0 as tableIdResolver, dc as tableNameResolver, d9 as tableRecordIdResolver, da as tableRecordIdsResolver, de as tableRecordsResolver, dh as tableSortResolver, df as tableUpdateRecordsResolver, d1 as triggerInboxResolver, d8 as triggerMessagesResolver, ev as updateTableRecordsPlugin, d5 as workflowDraftIdResolver, d6 as workflowDraftRevisionResolver, d2 as workflowIdResolver, d7 as workflowRunIdResolver, d4 as workflowVersionIdResolver, bz as zapierAdaptError, a9 as zapierCoreOptions, V as zapierSdkPlugin } from './index-7k7tYEeJ.js';
1
+ import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider, a as Manifest, E as EventCallback, b as EventEmissionConfig, Z as ZapierCache, C as ConnectionsProvider, c as CapabilitiesContext, F as FieldsetItem, d as ZapierFetchInitOptions, e as ActionProxy, f as ZapierSdkApps, D as DeleteTriggerInboxResult, g as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, j as ApiClientDurationOptions, k as EventTransport, l as BaseEvent, R as ResolveCredentialsFn } from './index-BrhSgvFN.js';
2
+ export { e9 as ACTION_RUNS_PATH, cM as API_ID, x as Action, cI as ActionEntry, c2 as ActionExecutionOptions, I as ActionExecutionResult, J as ActionField, K as ActionFieldChoice, at as ActionItem, b3 as ActionKeyProperty, aB as ActionKeyPropertySchema, b4 as ActionProperty, aC as ActionPropertySchema, ad as ActionResolverItem, bg as ActionTimeoutMillisecondsProperty, aO as ActionTimeoutMillisecondsPropertySchema, bf as ActionTimeoutSecondsProperty, aN as ActionTimeoutSecondsPropertySchema, ae as ActionTypeItem, b2 as ActionTypeProperty, aA as ActionTypePropertySchema, dz as ApiEvent, cL as ApiPluginOptions, y as App, c3 as AppFactoryInput, ar as AppItem, b0 as AppKeyProperty, ay as AppKeyPropertySchema, b1 as AppProperty, az as AppPropertySchema, eE as ApplicationLifecycleEventData, bL as ApprovalStatus, bl as AppsProperty, aT as AppsPropertySchema, dy as AuthEvent, dj as AuthMechanism, b8 as AuthenticationIdProperty, aF as AuthenticationIdPropertySchema, aa as BaseSdkOptionsSchema, a2 as BatchOptions, d$ as CONNECTIONS_ID, cp as CONTEXT_CACHE_MAX_SIZE, co as CONTEXT_CACHE_TTL_MILLISECONDS, a0 as CallerContext, H as Choice, dE as ClientCredentialsObject, dP as ClientCredentialsObjectSchema, Q as Connection, dX as ConnectionEntry, dW as ConnectionEntrySchema, b6 as ConnectionIdProperty, aE as ConnectionIdPropertySchema, as as ConnectionItem, b7 as ConnectionProperty, aG as ConnectionPropertySchema, dZ as ConnectionsMap, dY as ConnectionsMapSchema, bn as ConnectionsProperty, aV as ConnectionsPropertySchema, S as ConnectionsResponse, cr as CreateActionRunPluginProvides, dB as Credentials, dU as CredentialsFunction, dT as CredentialsFunctionSchema, dD as CredentialsObject, dR as CredentialsObjectSchema, dV as CredentialsSchema, e8 as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, ei as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cG as DEFAULT_CONFIG_PATH, ej as DEFAULT_MAX_APPROVAL_RETRIES, e7 as DEFAULT_PAGE_SIZE, ap as DEPRECATION_NOTICE_EVENT, bd as DebugProperty, aL as DebugPropertySchema, aq as DeprecationNoticePayload, q as DrainTriggerInboxCallback, r as DrainTriggerInboxErrorObserver, eY as DrainTriggerInboxSchema, ez as EVENT_EMISSION_ID, eF as EnhancedErrorEventData, bu as ErrorOptions, eD as EventContext, ex as EventEmissionContext, ey as EventEmitter, c4 as FetchPluginProvides, z as Field, bk as FieldsProperty, aS as FieldsPropertySchema, v as FindFirstAuthenticationPluginProvides, w as FindUniqueAuthenticationPluginProvides, ct as GetActionRunPluginProvides, u as GetAuthenticationPluginProvides, cK as GetProfilePluginProvides, av as InfoFieldItem, au as InputFieldItem, b5 as InputFieldProperty, aD as InputFieldPropertySchema, b9 as InputsProperty, aH as InputsPropertySchema, ao as JsonSseMessage, bt as LeaseLimitProperty, a$ as LeaseLimitPropertySchema, br as LeaseProperty, aZ as LeasePropertySchema, bs as LeaseSecondsProperty, a_ as LeaseSecondsPropertySchema, s as LeasedTriggerMessageItem, ba as LimitProperty, aI as LimitPropertySchema, cb as ListActionInputFieldsPluginProvides, c9 as ListActionsPluginProvides, c7 as ListAppsPluginProvides, t as ListAuthenticationsPluginProvides, cf as ListConnectionsPluginProvides, dA as LoadingEvent, cB as MANIFEST_ID, ec as MAX_CONCURRENCY_LIMIT, e6 as MAX_PAGE_LIMIT, cH as ManifestEntry, cx as ManifestPluginOptions, eM as MethodCalledEvent, eG as MethodCalledEventData, N as Need, O as NeedsRequest, P as NeedsResponse, bb as OffsetProperty, aJ as OffsetPropertySchema, bc as OutputProperty, aK as OutputPropertySchema, be as ParamsProperty, aM as ParamsPropertySchema, dF as PkceCredentialsObject, dQ as PkceCredentialsObjectSchema, aj as PollOptions, cP as RESOLVE_CREDENTIALS_ID, bJ as RateLimitInfo, bi as RecordProperty, aQ as RecordPropertySchema, bj as RecordsProperty, aR as RecordsPropertySchema, a7 as RelayFetchSchema, a6 as RelayRequestSchema, ai as RequestOptions, di as ResolveAuthTokenOptions, d_ as ResolveConnection, dK as ResolveCredentialsOptions, af as ResolvedAppLocator, dk as ResolvedAuth, dC as ResolvedCredentials, dS as ResolvedCredentialsSchema, aw as RootFieldItem, cv as RunActionPluginProvides, X as SDK_OPTIONS_ID, ab as STABILITY_DEFINITIONS, dx as SdkEvent, an as SseMessage, bh as TableProperty, aP as TablePropertySchema, bm as TablesProperty, aU as TablesPropertySchema, bp as TriggerInboxKeyProperty, aX as TriggerInboxKeyPropertySchema, bq as TriggerInboxNameProperty, aY as TriggerInboxNamePropertySchema, bo as TriggerInboxProperty, aW as TriggerInboxPropertySchema, T as TriggerMessageStatus, cE as UpdateManifestEntryOptions, cF as UpdateManifestEntryResult, U as UserProfile, ax as UserProfileItem, eZ as WatchTriggerInboxSchema, e2 as ZAPIER_BASE_URL, ee as ZAPIER_MAX_CONCURRENT_REQUESTS, ea as ZAPIER_MAX_NETWORK_RETRIES, eb as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, m as ZapierAbortDrainSignal, bH as ZapierActionError, bA as ZapierApiError, bB as ZapierAppNotFoundError, bM as ZapierApprovalError, by as ZapierAuthenticationError, bF as ZapierBundleError, du as ZapierCacheEntry, dv as ZapierCacheSetOptions, bE as ZapierConfigurationError, bI as ZapierConflictError, bv as ZapierError, bC as ZapierNotFoundError, bK as ZapierRateLimitError, bN as ZapierRelayError, n as ZapierReleaseTriggerMessageSignal, bD as ZapierResourceNotFoundError, b$ as ZapierSignal, bG as ZapierTimeoutError, bx as ZapierUnknownError, bw as ZapierValidationError, cU as actionKeyResolver, cT as actionTypeResolver, cO as apiPlugin, cN as apiPluginRef, cS as appKeyResolver, c1 as appsPlugin, a1 as batch, eH as buildApplicationLifecycleEvent, a3 as buildCapabilityMessage, eJ as buildErrorEvent, eI as buildErrorEventWithContext, eL as buildMethodCalledEvent, ew as cleanupEventListeners, dl as clearTokenCache, c_ as clientCredentialsNameResolver, c$ as clientIdResolver, cW as connectionIdGenericResolver, cV as connectionIdResolver, e1 as connectionsPlugin, e0 as connectionsPluginRef, cq as createActionRunPlugin, eK as createBaseEvent, ch as createClientCredentialsPlugin, dw as createMemoryCache, ep as createTableFieldsPlugin, em as createTablePlugin, et as createTableRecordsPlugin, ak as createZapierApi, a8 as createZapierSdkWithoutRegistry, ci as deleteClientCredentialsPlugin, eq as deleteTableFieldsPlugin, en as deleteTablePlugin, eu as deleteTableRecordsPlugin, ah as descriptionFor, d3 as durableRunIdResolver, eC as eventEmissionHookPlugin, eB as eventEmissionPlugin, eA as eventEmissionPluginRef, c5 as fetchPlugin, cm as findFirstConnectionPlugin, cA as findManifestEntry, cn as findUniqueConnectionPlugin, b_ as formatErrorMessage, ac as formatExtensionPluginFailure, eO as generateEventId, cd as getActionInputFieldsSchemaPlugin, ck as getActionPlugin, cs as getActionRunPlugin, ag as getAgent, cj as getAppPlugin, dN as getBaseUrlFromCredentials, _ as getCallerContext, eU as getCiPlatform, dO as getClientIdFromCredentials, cl as getConnectionPlugin, eW as getCpuTime, eP as getCurrentTimestamp, eV as getMemoryUsage, al as getOrCreateApiClient, eR as getOsInfo, eS as getPlatformVersions, cz as getPreferredManifestEntryKey, cJ as getProfilePlugin, eQ as getReleaseId, el as getTablePlugin, er as getTableRecordPlugin, dq as getTokenFromCliLogin, eX as getTtyContext, ef as getZapierApprovalMode, e5 as getZapierCausationId, e4 as getZapierCorrelationId, eh as getZapierDefaultApprovalMode, eg as getZapierOpenAutoModeApprovalsInBrowser, e3 as getZapierSdkService, dn as injectCliLogin, cZ as inputFieldKeyResolver, cY as inputsAllOptionalResolver, cX as inputsResolver, dm as invalidateCachedToken, dt as invalidateCredentialsToken, eT as isCi, dp as isCliLoginAvailable, dG as isClientCredentials, dJ as isCredentialsFunction, dI as isCredentialsObject, am as isPermanentHttpError, dH as isPkceCredentials, o as isZapierAbortDrainSignal, bX as isZapierActionError, bR as isZapierAppNotFoundError, bZ as isZapierApprovalError, bQ as isZapierAuthenticationError, bW as isZapierBundleError, bU as isZapierConflictError, bO as isZapierError, bS as isZapierNotFoundError, bY as isZapierRateLimitError, p as isZapierReleaseTriggerMessageSignal, bT as isZapierResourceNotFoundError, c0 as isZapierSignal, bV as isZapierTimeoutError, bP as isZapierValidationError, cc as listActionInputFieldChoicesPlugin, ca as listActionInputFieldsPlugin, c8 as listActionsPlugin, c6 as listAppsPlugin, cg as listClientCredentialsPlugin, ce as listConnectionsPlugin, eo as listTableFieldsPlugin, es as listTableRecordsPlugin, ek as listTablesPlugin, a4 as logDeprecation, cD as manifestPlugin, cC as manifestPluginRef, eN as operationAnnotatorPlugin, ed as parseConcurrencyEnvVar, cy as readManifestFromFile, cw as requestPlugin, a5 as resetDeprecationWarnings, dr as resolveAuth, ds as resolveAuthToken, dM as resolveCredentials, dL as resolveCredentialsFromEnv, cR as resolveCredentialsPlugin, cQ as resolveCredentialsPluginRef, cu as runActionPlugin, $ as runWithCallerContext, Y as sdkOptionsPluginRef, db as tableFieldIdsResolver, dd as tableFieldsResolver, dg as tableFiltersResolver, d0 as tableIdResolver, dc as tableNameResolver, d9 as tableRecordIdResolver, da as tableRecordIdsResolver, de as tableRecordsResolver, dh as tableSortResolver, df as tableUpdateRecordsResolver, d1 as triggerInboxResolver, d8 as triggerMessagesResolver, ev as updateTableRecordsPlugin, d5 as workflowDraftIdResolver, d6 as workflowDraftRevisionResolver, d2 as workflowIdResolver, d7 as workflowRunIdResolver, d4 as workflowVersionIdResolver, bz as zapierAdaptError, a9 as zapierCoreOptions, V as zapierSdkPlugin } from './index-BrhSgvFN.js';
3
3
  import * as zod from 'zod';
4
4
  import { z } from 'zod';
5
5
  import * as zod_v4_core from 'zod/v4/core';
@@ -8,11 +8,8 @@ export { AggregatePlugin, CoreApiError as ApiError, ArrayResolver, BoundFormatte
8
8
  import '@zapier/zapier-sdk-core/v0/schemas/connections';
9
9
  import '@zapier/policy-context';
10
10
 
11
- declare const INTERNAL_CREATE_WORKFLOW_FIELDS: readonly ["creationHarness", "creationAccessMethod"];
12
11
  declare const CreateWorkflowOptionsSchema: z.ZodObject<{
13
- name: z.ZodString;
14
- description: z.ZodOptional<z.ZodString>;
15
- private: z.ZodOptional<z.ZodBoolean>;
12
+ is_private: z.ZodOptional<z.ZodBoolean>;
16
13
  creationHarness: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
14
  creationAccessMethod: z.ZodOptional<z.ZodEnum<{
18
15
  unknown: "unknown";
@@ -22,7 +19,9 @@ declare const CreateWorkflowOptionsSchema: z.ZodObject<{
22
19
  zapier_mcp: "zapier_mcp";
23
20
  editor: "editor";
24
21
  }>>;
25
- is_private: z.ZodOptional<z.ZodBoolean>;
22
+ name: z.ZodString;
23
+ description: z.ZodOptional<z.ZodString>;
24
+ private: z.ZodOptional<z.ZodBoolean>;
26
25
  }, z.core.$strip>;
27
26
  type CreateWorkflowOptions = z.infer<typeof CreateWorkflowOptionsSchema>;
28
27
  declare const CreateWorkflowResponseSchema: z.ZodObject<{
@@ -43,6 +42,104 @@ declare const CreateWorkflowResponseSchema: z.ZodObject<{
43
42
  }, z.core.$strip>;
44
43
  type CreateWorkflowResponse = z.infer<typeof CreateWorkflowResponseSchema>;
45
44
 
45
+ declare const ImportWorkflowOptionsSchema: z.ZodObject<{
46
+ creationHarness: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ creationAccessMethod: z.ZodOptional<z.ZodEnum<{
48
+ unknown: "unknown";
49
+ api: "api";
50
+ sdk_cli: "sdk_cli";
51
+ sdk_mcp: "sdk_mcp";
52
+ zapier_mcp: "zapier_mcp";
53
+ editor: "editor";
54
+ }>>;
55
+ zap: z.ZodString;
56
+ name: z.ZodOptional<z.ZodString>;
57
+ private: z.ZodOptional<z.ZodBoolean>;
58
+ }, z.core.$strip>;
59
+ type ImportWorkflowOptions = z.infer<typeof ImportWorkflowOptionsSchema>;
60
+ declare const ImportWorkflowResponseSchema: z.ZodObject<{
61
+ workflow: z.ZodObject<{
62
+ id: z.ZodString;
63
+ name: z.ZodString;
64
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ trigger_url: z.ZodString;
66
+ editor_url: z.ZodString;
67
+ enabled: z.ZodBoolean;
68
+ disabled_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
69
+ trigger_claim_failed: "trigger_claim_failed";
70
+ }>>>;
71
+ is_private: z.ZodBoolean;
72
+ source_zap_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ created_by_user_id: z.ZodString;
74
+ updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ current_version_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ triggers: z.ZodArray<z.ZodObject<{
77
+ selected_api: z.ZodString;
78
+ action: z.ZodString;
79
+ authentication_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
81
+ status: z.ZodEnum<{
82
+ active: "active";
83
+ failed: "failed";
84
+ pending: "pending";
85
+ unclaimed: "unclaimed";
86
+ releasing: "releasing";
87
+ released: "released";
88
+ }>;
89
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
+ details: z.ZodOptional<z.ZodNullable<z.ZodObject<{
91
+ webhook_url: z.ZodOptional<z.ZodString>;
92
+ }, z.core.$strip>>>;
93
+ }, z.core.$strip>>;
94
+ created_at: z.ZodString;
95
+ updated_at: z.ZodOptional<z.ZodString>;
96
+ }, z.core.$strip>;
97
+ draft: z.ZodObject<{
98
+ id: z.ZodString;
99
+ workflow_id: z.ZodString;
100
+ slug: z.ZodString;
101
+ base_version_id: z.ZodNullable<z.ZodString>;
102
+ source_files: z.ZodRecord<z.ZodString, z.ZodString>;
103
+ zapier_durable_version: z.ZodString;
104
+ dependencies: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
105
+ draft_revision: z.ZodNumber;
106
+ status: z.ZodEnum<{
107
+ open: "open";
108
+ discarded: "discarded";
109
+ }>;
110
+ created_by_user_id: z.ZodString;
111
+ last_edited_by_user_id: z.ZodNullable<z.ZodString>;
112
+ last_edited_at: z.ZodNullable<z.ZodString>;
113
+ discarded_at: z.ZodNullable<z.ZodString>;
114
+ created_at: z.ZodString;
115
+ updated_at: z.ZodString;
116
+ trigger: z.ZodNullable<z.ZodObject<{
117
+ selected_api: z.ZodString;
118
+ action: z.ZodString;
119
+ authentication_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
120
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
121
+ }, z.core.$strip>>;
122
+ connections: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
123
+ connection_id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>;
124
+ }, z.core.$strip>>>;
125
+ app_versions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
126
+ implementation_name: z.ZodString;
127
+ version: z.ZodOptional<z.ZodString>;
128
+ }, z.core.$strip>>>;
129
+ }, z.core.$strip>;
130
+ issues: z.ZodArray<z.ZodObject<{
131
+ line: z.ZodNumber;
132
+ column: z.ZodNumber;
133
+ node_kind: z.ZodString;
134
+ step_name: z.ZodOptional<z.ZodString>;
135
+ message: z.ZodString;
136
+ blocking: z.ZodBoolean;
137
+ }, z.core.$strip>>;
138
+ }, z.core.$strip>;
139
+ type ImportWorkflowResponse = z.infer<typeof ImportWorkflowResponseSchema>;
140
+
141
+ declare const INTERNAL_CREATE_WORKFLOW_FIELDS: readonly ["creationHarness", "creationAccessMethod"];
142
+
46
143
  /**
47
144
  * A blocking draft as listed by the 409's `meta.open_drafts` — the element
48
145
  * type of `ZapierConflictError.meta.open_drafts` on the open-draft publish
@@ -7547,7 +7644,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7547
7644
  triggers: {
7548
7645
  selected_api: string;
7549
7646
  action: string;
7550
- status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
7647
+ status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
7551
7648
  authentication_id?: string | null | undefined;
7552
7649
  params?: Record<string, unknown> | undefined;
7553
7650
  error?: string | null | undefined;
@@ -7594,7 +7691,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7594
7691
  triggers: {
7595
7692
  selected_api: string;
7596
7693
  action: string;
7597
- status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
7694
+ status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
7598
7695
  authentication_id?: string | null | undefined;
7599
7696
  params?: Record<string, unknown> | undefined;
7600
7697
  error?: string | null | undefined;
@@ -7629,7 +7726,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7629
7726
  triggers: {
7630
7727
  selected_api: string;
7631
7728
  action: string;
7632
- status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
7729
+ status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
7633
7730
  authentication_id?: string | null | undefined;
7634
7731
  params?: Record<string, unknown> | undefined;
7635
7732
  error?: string | null | undefined;
@@ -7688,7 +7785,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7688
7785
  triggers: {
7689
7786
  selected_api: string;
7690
7787
  action: string;
7691
- status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
7788
+ status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
7692
7789
  authentication_id?: string | null | undefined;
7693
7790
  params?: Record<string, unknown> | undefined;
7694
7791
  error?: string | null | undefined;
@@ -7732,11 +7829,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7732
7829
  } & {
7733
7830
  createWorkflow: _zapier_kitcore.MethodPlugin<"createWorkflow", {
7734
7831
  name: string;
7735
- description?: string | undefined;
7736
- private?: boolean | undefined;
7832
+ is_private?: boolean | undefined;
7737
7833
  creationHarness?: string | null | undefined;
7738
7834
  creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
7739
- is_private?: boolean | undefined;
7835
+ description?: string | undefined;
7836
+ private?: boolean | undefined;
7740
7837
  } & {
7741
7838
  skipOutputDataValidation?: boolean;
7742
7839
  }, Promise<{
@@ -7761,16 +7858,16 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7761
7858
  description?: string | undefined;
7762
7859
  name: string;
7763
7860
  is_private?: boolean | undefined;
7764
- private?: boolean | undefined;
7765
7861
  creationHarness?: string | null | undefined;
7766
7862
  creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
7863
+ private?: boolean | undefined;
7767
7864
  }> & _zapier_kitcore.LeafSummary<"", "createWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
7768
7865
  name: string;
7769
- description?: string | undefined;
7770
- private?: boolean | undefined;
7866
+ is_private?: boolean | undefined;
7771
7867
  creationHarness?: string | null | undefined;
7772
7868
  creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
7773
- is_private?: boolean | undefined;
7869
+ description?: string | undefined;
7870
+ private?: boolean | undefined;
7774
7871
  } & {
7775
7872
  skipOutputDataValidation?: boolean;
7776
7873
  }) => Promise<{
@@ -7795,6 +7892,8 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7795
7892
  } & {
7796
7893
  importWorkflow: _zapier_kitcore.MethodPlugin<"importWorkflow", {
7797
7894
  zap: string;
7895
+ creationHarness?: string | null | undefined;
7896
+ creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
7798
7897
  name?: string | undefined;
7799
7898
  private?: boolean | undefined;
7800
7899
  } & {
@@ -7812,7 +7911,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7812
7911
  triggers: {
7813
7912
  selected_api: string;
7814
7913
  action: string;
7815
- status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
7914
+ status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
7816
7915
  authentication_id?: string | null | undefined;
7817
7916
  params?: Record<string, unknown> | undefined;
7818
7917
  error?: string | null | undefined;
@@ -7870,10 +7969,14 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7870
7969
  meta?: _zapier_kitcore.ResponseMeta;
7871
7970
  }>, readonly [], {
7872
7971
  name?: string | undefined;
7972
+ creationHarness?: string | null | undefined;
7973
+ creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
7873
7974
  private?: boolean | undefined;
7874
7975
  zap: string;
7875
7976
  }> & _zapier_kitcore.LeafSummary<"", "importWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
7876
7977
  zap: string;
7978
+ creationHarness?: string | null | undefined;
7979
+ creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
7877
7980
  name?: string | undefined;
7878
7981
  private?: boolean | undefined;
7879
7982
  } & {
@@ -7891,7 +7994,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7891
7994
  triggers: {
7892
7995
  selected_api: string;
7893
7996
  action: string;
7894
- status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
7997
+ status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
7895
7998
  authentication_id?: string | null | undefined;
7896
7999
  params?: Record<string, unknown> | undefined;
7897
8000
  error?: string | null | undefined;
@@ -8290,7 +8393,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8290
8393
  connection_id?: string | number | undefined;
8291
8394
  }> | null | undefined;
8292
8395
  enabled?: boolean | undefined;
8293
- workflow: string;
8396
+ manual?: boolean | undefined;
8294
8397
  zapier_durable_version?: string | undefined;
8295
8398
  dependencies?: Record<string, string> | undefined;
8296
8399
  trigger?: {
@@ -8306,14 +8409,14 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8306
8409
  implementation_name?: string | undefined;
8307
8410
  version?: string | undefined;
8308
8411
  }> | null | undefined;
8412
+ workflow: string;
8309
8413
  zapierDurableVersion?: string | undefined;
8310
- ignoreOpenDrafts?: boolean | undefined;
8311
8414
  appVersions?: Record<string, {
8312
8415
  implementationName?: string | undefined;
8313
8416
  implementation_name?: string | undefined;
8314
8417
  version?: string | undefined;
8315
8418
  }> | null | undefined;
8316
- manual?: boolean | undefined;
8419
+ ignoreOpenDrafts?: boolean | undefined;
8317
8420
  }> & _zapier_kitcore.LeafSummary<"", "publishWorkflowVersion", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: ({
8318
8421
  workflow: string;
8319
8422
  sourceFiles: Record<string, string>;
@@ -8684,7 +8787,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8684
8787
  connectionId?: string | number | undefined;
8685
8788
  connection_id?: string | number | undefined;
8686
8789
  }> | null | undefined;
8687
- workflow: string;
8790
+ manual?: boolean | undefined;
8688
8791
  dependencies?: Record<string, string> | undefined;
8689
8792
  trigger?: {
8690
8793
  action: string;
@@ -8694,15 +8797,15 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8694
8797
  authentication_id?: string | null | undefined;
8695
8798
  params?: Record<string, unknown> | undefined;
8696
8799
  } | null | undefined;
8800
+ workflow: string;
8697
8801
  draft: string;
8698
- sourceFiles: Record<string, string>;
8699
8802
  zapierDurableVersion?: string | undefined;
8700
8803
  appVersions?: Record<string, {
8701
8804
  implementationName?: string | undefined;
8702
8805
  implementation_name?: string | undefined;
8703
8806
  version?: string | undefined;
8704
8807
  }> | null | undefined;
8705
- manual?: boolean | undefined;
8808
+ sourceFiles: Record<string, string>;
8706
8809
  draftRevision?: number | undefined;
8707
8810
  }> & _zapier_kitcore.LeafSummary<"", "updateWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
8708
8811
  workflow: string;
@@ -8910,9 +9013,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8910
9013
  meta?: _zapier_kitcore.ResponseMeta;
8911
9014
  }>, readonly [], {
8912
9015
  enabled?: boolean | undefined;
9016
+ manual?: boolean | undefined;
8913
9017
  workflow: string;
8914
9018
  draft: string;
8915
- manual?: boolean | undefined;
8916
9019
  draftRevision?: number | undefined;
8917
9020
  }> & _zapier_kitcore.LeafSummary<"", "publishWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
8918
9021
  workflow: string;
@@ -9766,9 +9869,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
9766
9869
  } | undefined;
9767
9870
  }[] | undefined;
9768
9871
  draft?: boolean | undefined;
9769
- confirmationTitle?: string | undefined;
9770
- confirmationMessage?: string | undefined;
9771
- consumerAuth?: "zapier" | "none" | undefined;
9772
9872
  document?: {
9773
9873
  [x: string]: unknown;
9774
9874
  id: string;
@@ -9780,6 +9880,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
9780
9880
  };
9781
9881
  children?: unknown[] | undefined;
9782
9882
  } | undefined;
9883
+ confirmationTitle?: string | undefined;
9884
+ confirmationMessage?: string | undefined;
9885
+ consumerAuth?: "zapier" | "none" | undefined;
9783
9886
  }> & _zapier_kitcore.LeafSummary<"", "createForm", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
9784
9887
  title: string;
9785
9888
  description?: string | undefined;
@@ -10037,13 +10140,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
10037
10140
  } & {
10038
10141
  skipOutputDataValidation?: boolean;
10039
10142
  }, _zapier_kitcore.PaginatedSdkResult<{
10040
- type: "file" | "directory" | "shortcut" | "stream";
10143
+ type: "file" | "stream" | "directory" | "shortcut";
10041
10144
  name: string;
10042
10145
  path: string;
10043
10146
  size?: number | undefined;
10044
10147
  version?: number | undefined;
10045
10148
  updated_at?: string | undefined;
10046
- target_type?: "file" | "directory" | "stream" | null | undefined;
10149
+ target_type?: "file" | "stream" | "directory" | null | undefined;
10047
10150
  target_path?: string | null | undefined;
10048
10151
  accessible?: boolean | undefined;
10049
10152
  content_type?: string | undefined;
@@ -10068,13 +10171,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
10068
10171
  } & {
10069
10172
  skipOutputDataValidation?: boolean;
10070
10173
  }) => _zapier_kitcore.PaginatedSdkResult<{
10071
- type: "file" | "directory" | "shortcut" | "stream";
10174
+ type: "file" | "stream" | "directory" | "shortcut";
10072
10175
  name: string;
10073
10176
  path: string;
10074
10177
  size?: number | undefined;
10075
10178
  version?: number | undefined;
10076
10179
  updated_at?: string | undefined;
10077
- target_type?: "file" | "directory" | "stream" | null | undefined;
10180
+ target_type?: "file" | "stream" | "directory" | null | undefined;
10078
10181
  target_path?: string | null | undefined;
10079
10182
  accessible?: boolean | undefined;
10080
10183
  content_type?: string | undefined;
@@ -10200,9 +10303,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
10200
10303
  };
10201
10304
  meta?: _zapier_kitcore.ResponseMeta;
10202
10305
  }>, readonly [], {
10203
- expectedVersion?: number | undefined;
10204
10306
  from: string;
10205
10307
  to: string;
10308
+ expectedVersion?: number | undefined;
10206
10309
  overwrite?: boolean | undefined;
10207
10310
  }> & _zapier_kitcore.LeafSummary<"", "copyVfsFile", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
10208
10311
  from: string;
@@ -10251,13 +10354,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
10251
10354
  skipOutputDataValidation?: boolean;
10252
10355
  }, Promise<{
10253
10356
  data: {
10254
- type: "file" | "directory" | "shortcut" | "stream";
10357
+ type: "file" | "stream" | "directory" | "shortcut";
10255
10358
  name: string;
10256
10359
  path: string;
10257
10360
  size?: number | undefined;
10258
10361
  version?: number | undefined;
10259
10362
  updated_at?: string | undefined;
10260
- target_type?: "file" | "directory" | "stream" | null | undefined;
10363
+ target_type?: "file" | "stream" | "directory" | null | undefined;
10261
10364
  target_path?: string | null | undefined;
10262
10365
  accessible?: boolean | undefined;
10263
10366
  content_type?: string | undefined;
@@ -10271,13 +10374,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
10271
10374
  skipOutputDataValidation?: boolean;
10272
10375
  }) => Promise<{
10273
10376
  data: {
10274
- type: "file" | "directory" | "shortcut" | "stream";
10377
+ type: "file" | "stream" | "directory" | "shortcut";
10275
10378
  name: string;
10276
10379
  path: string;
10277
10380
  size?: number | undefined;
10278
10381
  version?: number | undefined;
10279
10382
  updated_at?: string | undefined;
10280
- target_type?: "file" | "directory" | "stream" | null | undefined;
10383
+ target_type?: "file" | "stream" | "directory" | null | undefined;
10281
10384
  target_path?: string | null | undefined;
10282
10385
  accessible?: boolean | undefined;
10283
10386
  content_type?: string | undefined;
@@ -10333,7 +10436,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
10333
10436
  };
10334
10437
  meta?: _zapier_kitcore.ResponseMeta;
10335
10438
  }>>;
10336
- }> & _zapier_kitcore.PluginSummary<never, "fetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/httpFetch" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "kitcore/retryHttpRequestOptions" | "zapier/httpTransport" | "zapier/api" | "zapier/resolveCredentials" | "zapier/manifest" | "zapier/connections" | "zapier/capabilities" | "zapier/eventEmission" | "kitcore/getRegistry" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "createActionRun" | "getActionRun" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "listTablesInternal" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "zapier/sdk" | "zapier/beta-sdk" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "importWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "runWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "validateWorkflow" | "createForm" | "enableAgenticManagement" | "disableAgenticManagement" | "getAgenticManagementConfig" | "updateAgenticManagementConfig" | "getAgenticManagementIntent" | "updateAgenticManagementIntent" | "listVfsDirectory" | "readVfsFile" | "writeVfsFile" | "appendVfsFile" | "copyVfsFile" | "createVfsDirectory" | "statVfsPath" | "deleteVfsPath" | "moveVfsPath" | "zapier/experimental-sdk", _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch | undefined> | _zapier_kitcore.ContractEntry<"zapier/apiClientDurations", ApiClientDurationOptions | undefined> | _zapier_kitcore.ContractEntry<"zapier/sdkOptions", {
10439
+ }> & _zapier_kitcore.PluginSummary<never, "fetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/httpFetch" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "kitcore/retryHttpRequestOptions" | "zapier/httpTransport" | "zapier/api" | "zapier/resolveCredentials" | "zapier/manifest" | "zapier/connections" | "zapier/capabilities" | "zapier/eventEmission" | "kitcore/getRegistry" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "createActionRun" | "getActionRun" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "listTablesInternal" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "zapier/sdk" | "zapier/beta-sdk" | "listWorkflows" | "listDurableRuns" | "listWorkflowVersions" | "listWorkflowDrafts" | "getWorkflowDraft" | "listWorkflowRuns" | "getWorkflow" | "createWorkflow" | "importWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "publishWorkflowVersion" | "getWorkflowVersion" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "runWorkflowDraft" | "getWorkflowRun" | "getTriggerRun" | "triggerWorkflow" | "validateWorkflow" | "createForm" | "enableAgenticManagement" | "disableAgenticManagement" | "getAgenticManagementConfig" | "updateAgenticManagementConfig" | "getAgenticManagementIntent" | "updateAgenticManagementIntent" | "readVfsFile" | "writeVfsFile" | "appendVfsFile" | "copyVfsFile" | "listVfsDirectory" | "createVfsDirectory" | "statVfsPath" | "deleteVfsPath" | "moveVfsPath" | "zapier/experimental-sdk", _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch | undefined> | _zapier_kitcore.ContractEntry<"zapier/apiClientDurations", ApiClientDurationOptions | undefined> | _zapier_kitcore.ContractEntry<"zapier/sdkOptions", {
10337
10440
  credentials?: string | {
10338
10441
  clientId: string;
10339
10442
  clientSecret: string;
@@ -12112,7 +12215,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
12112
12215
  triggers: {
12113
12216
  selected_api: string;
12114
12217
  action: string;
12115
- status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
12218
+ status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
12116
12219
  authentication_id?: string | null | undefined;
12117
12220
  params?: Record<string, unknown> | undefined;
12118
12221
  error?: string | null | undefined;
@@ -12145,7 +12248,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
12145
12248
  triggers: {
12146
12249
  selected_api: string;
12147
12250
  action: string;
12148
- status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
12251
+ status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
12149
12252
  authentication_id?: string | null | undefined;
12150
12253
  params?: Record<string, unknown> | undefined;
12151
12254
  error?: string | null | undefined;
@@ -12187,11 +12290,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
12187
12290
  meta?: _zapier_kitcore.ResponseMeta;
12188
12291
  }>> | _zapier_kitcore.ContractEntry<"createWorkflow", (input: {
12189
12292
  name: string;
12190
- description?: string | undefined;
12191
- private?: boolean | undefined;
12293
+ is_private?: boolean | undefined;
12192
12294
  creationHarness?: string | null | undefined;
12193
12295
  creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
12194
- is_private?: boolean | undefined;
12296
+ description?: string | undefined;
12297
+ private?: boolean | undefined;
12195
12298
  } & {
12196
12299
  skipOutputDataValidation?: boolean;
12197
12300
  }) => Promise<{
@@ -12214,6 +12317,8 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
12214
12317
  meta?: _zapier_kitcore.ResponseMeta;
12215
12318
  }>> | _zapier_kitcore.ContractEntry<"importWorkflow", (input: {
12216
12319
  zap: string;
12320
+ creationHarness?: string | null | undefined;
12321
+ creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
12217
12322
  name?: string | undefined;
12218
12323
  private?: boolean | undefined;
12219
12324
  } & {
@@ -12231,7 +12336,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
12231
12336
  triggers: {
12232
12337
  selected_api: string;
12233
12338
  action: string;
12234
- status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
12339
+ status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
12235
12340
  authentication_id?: string | null | undefined;
12236
12341
  params?: Record<string, unknown> | undefined;
12237
12342
  error?: string | null | undefined;
@@ -12333,8 +12438,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
12333
12438
  data: {
12334
12439
  id: string;
12335
12440
  };
12336
- }>> | _zapier_kitcore.ContractEntry<"listWorkflowVersions", (input: {
12337
- workflow: string;
12441
+ }>> | _zapier_kitcore.ContractEntry<"listDurableRuns", (input?: ({
12338
12442
  pageSize?: number | undefined;
12339
12443
  cursor?: string | undefined;
12340
12444
  maxItems?: number | undefined;
@@ -12345,53 +12449,152 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
12345
12449
  maxItems?: number;
12346
12450
  } & {
12347
12451
  skipOutputDataValidation?: boolean;
12348
- }) => _zapier_kitcore.PaginatedSdkResult<{
12452
+ }) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
12349
12453
  id: string;
12350
- workflow_id: string;
12351
- zapier_durable_version: string;
12352
- dependencies: Record<string, string> | null;
12353
- created_by_user_id: string;
12354
- created_at: string;
12355
- trigger: {
12356
- selected_api: string;
12357
- action: string;
12358
- authentication_id?: string | null | undefined;
12359
- params?: Record<string, unknown> | undefined;
12454
+ status: string;
12455
+ input: unknown;
12456
+ output: unknown;
12457
+ error: {
12458
+ [x: string]: unknown;
12459
+ code: string;
12460
+ message: string;
12360
12461
  } | null;
12361
- connections: Record<string, {
12362
- connection_id: string | number;
12363
- }> | null;
12364
- app_versions: Record<string, {
12365
- implementation_name: string;
12366
- version?: string | undefined;
12367
- }> | null;
12368
- }>> | _zapier_kitcore.ContractEntry<"getWorkflowVersion", (input: {
12369
- workflow: string;
12370
- version: string;
12462
+ execution_id: string | null;
12463
+ is_private: boolean;
12464
+ created_at: string;
12465
+ updated_at: string;
12466
+ }>> | _zapier_kitcore.ContractEntry<"getDurableRun", (input: {
12467
+ run: string;
12371
12468
  } & {
12372
12469
  skipOutputDataValidation?: boolean;
12373
12470
  }) => Promise<{
12374
12471
  data: {
12375
12472
  id: string;
12376
- workflow_id: string;
12377
- source_files: Record<string, string>;
12378
- zapier_durable_version: string;
12379
- dependencies: Record<string, string> | null;
12380
- created_by_user_id: string;
12381
- created_at: string;
12382
- trigger: {
12383
- selected_api: string;
12384
- action: string;
12385
- authentication_id?: string | null | undefined;
12386
- params?: Record<string, unknown> | undefined;
12473
+ status: string;
12474
+ input: unknown;
12475
+ output: unknown;
12476
+ error: {
12477
+ [x: string]: unknown;
12478
+ code: string;
12479
+ message: string;
12387
12480
  } | null;
12388
- connections: Record<string, {
12389
- connection_id: string | number;
12390
- }> | null;
12391
- app_versions: Record<string, {
12392
- implementation_name: string;
12393
- version?: string | undefined;
12394
- }> | null;
12481
+ execution: {
12482
+ id: string;
12483
+ name: string;
12484
+ status: string;
12485
+ input: unknown;
12486
+ created_at: string;
12487
+ output?: unknown;
12488
+ error?: unknown;
12489
+ metadata?: Record<string, unknown> | undefined;
12490
+ summary?: {
12491
+ [x: string]: unknown;
12492
+ total_attempts: number;
12493
+ last_error?: {
12494
+ [x: string]: unknown;
12495
+ code: string;
12496
+ title: string;
12497
+ detail?: string | null | undefined;
12498
+ } | null | undefined;
12499
+ } | null | undefined;
12500
+ operations?: {
12501
+ id: string;
12502
+ execution_id: string;
12503
+ name: string;
12504
+ type: string;
12505
+ status: string;
12506
+ retry_count: number;
12507
+ created_at: string;
12508
+ result?: unknown;
12509
+ error?: unknown;
12510
+ max_attempts?: number | undefined;
12511
+ next_retry_at?: string | null | undefined;
12512
+ resume_at?: string | null | undefined;
12513
+ callback_token?: string | null | undefined;
12514
+ payload_schema?: unknown;
12515
+ payload?: unknown;
12516
+ expires_at?: string | null | undefined;
12517
+ timeout_seconds?: number | null | undefined;
12518
+ completed_at?: string | null | undefined;
12519
+ }[] | undefined;
12520
+ } | null;
12521
+ is_private: boolean;
12522
+ created_at: string;
12523
+ updated_at: string;
12524
+ };
12525
+ meta?: _zapier_kitcore.ResponseMeta;
12526
+ }>> | _zapier_kitcore.ContractEntry<"runDurable", (input: ({
12527
+ sourceFiles: Record<string, string>;
12528
+ input?: unknown;
12529
+ dependencies?: Record<string, string> | undefined;
12530
+ zapierDurableVersion?: string | undefined;
12531
+ zapier_durable_version?: string | undefined;
12532
+ connections?: Record<string, {
12533
+ connectionId?: string | number | undefined;
12534
+ connection_id?: string | number | undefined;
12535
+ }> | undefined;
12536
+ appVersions?: Record<string, {
12537
+ implementationName?: string | undefined;
12538
+ implementation_name?: string | undefined;
12539
+ version?: string | undefined;
12540
+ }> | undefined;
12541
+ app_versions?: Record<string, {
12542
+ implementationName?: string | undefined;
12543
+ implementation_name?: string | undefined;
12544
+ version?: string | undefined;
12545
+ }> | undefined;
12546
+ private?: boolean | undefined;
12547
+ notifications?: {
12548
+ url: string;
12549
+ events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
12550
+ type?: "webhook" | undefined;
12551
+ max_retries?: number | undefined;
12552
+ }[] | undefined;
12553
+ } | {
12554
+ source_files: Record<string, string>;
12555
+ input?: unknown;
12556
+ dependencies?: Record<string, string> | undefined;
12557
+ zapierDurableVersion?: string | undefined;
12558
+ zapier_durable_version?: string | undefined;
12559
+ connections?: Record<string, {
12560
+ connectionId?: string | number | undefined;
12561
+ connection_id?: string | number | undefined;
12562
+ }> | undefined;
12563
+ appVersions?: Record<string, {
12564
+ implementationName?: string | undefined;
12565
+ implementation_name?: string | undefined;
12566
+ version?: string | undefined;
12567
+ }> | undefined;
12568
+ app_versions?: Record<string, {
12569
+ implementationName?: string | undefined;
12570
+ implementation_name?: string | undefined;
12571
+ version?: string | undefined;
12572
+ }> | undefined;
12573
+ private?: boolean | undefined;
12574
+ notifications?: {
12575
+ url: string;
12576
+ events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
12577
+ type?: "webhook" | undefined;
12578
+ max_retries?: number | undefined;
12579
+ }[] | undefined;
12580
+ }) & {
12581
+ skipOutputDataValidation?: boolean;
12582
+ }) => Promise<{
12583
+ data: {
12584
+ id: string;
12585
+ status: "initialized";
12586
+ is_private: boolean;
12587
+ created_at: string;
12588
+ };
12589
+ meta?: _zapier_kitcore.ResponseMeta;
12590
+ }>> | _zapier_kitcore.ContractEntry<"cancelDurableRun", (input: {
12591
+ run: string;
12592
+ } & {
12593
+ skipOutputDataValidation?: boolean;
12594
+ }) => Promise<{
12595
+ data: {
12596
+ id: string;
12597
+ status: "cancelled";
12395
12598
  };
12396
12599
  meta?: _zapier_kitcore.ResponseMeta;
12397
12600
  }>> | _zapier_kitcore.ContractEntry<"publishWorkflowVersion", (input: ({
@@ -12482,7 +12685,68 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
12482
12685
  }> | null;
12483
12686
  };
12484
12687
  meta?: _zapier_kitcore.ResponseMeta;
12485
- }>> | _zapier_kitcore.ContractEntry<"listWorkflowDrafts", (input: {
12688
+ }>> | _zapier_kitcore.ContractEntry<"listWorkflowVersions", (input: {
12689
+ workflow: string;
12690
+ pageSize?: number | undefined;
12691
+ cursor?: string | undefined;
12692
+ maxItems?: number | undefined;
12693
+ } & {
12694
+ cursor?: string;
12695
+ pageSize?: number;
12696
+ } & {
12697
+ maxItems?: number;
12698
+ } & {
12699
+ skipOutputDataValidation?: boolean;
12700
+ }) => _zapier_kitcore.PaginatedSdkResult<{
12701
+ id: string;
12702
+ workflow_id: string;
12703
+ zapier_durable_version: string;
12704
+ dependencies: Record<string, string> | null;
12705
+ created_by_user_id: string;
12706
+ created_at: string;
12707
+ trigger: {
12708
+ selected_api: string;
12709
+ action: string;
12710
+ authentication_id?: string | null | undefined;
12711
+ params?: Record<string, unknown> | undefined;
12712
+ } | null;
12713
+ connections: Record<string, {
12714
+ connection_id: string | number;
12715
+ }> | null;
12716
+ app_versions: Record<string, {
12717
+ implementation_name: string;
12718
+ version?: string | undefined;
12719
+ }> | null;
12720
+ }>> | _zapier_kitcore.ContractEntry<"getWorkflowVersion", (input: {
12721
+ workflow: string;
12722
+ version: string;
12723
+ } & {
12724
+ skipOutputDataValidation?: boolean;
12725
+ }) => Promise<{
12726
+ data: {
12727
+ id: string;
12728
+ workflow_id: string;
12729
+ source_files: Record<string, string>;
12730
+ zapier_durable_version: string;
12731
+ dependencies: Record<string, string> | null;
12732
+ created_by_user_id: string;
12733
+ created_at: string;
12734
+ trigger: {
12735
+ selected_api: string;
12736
+ action: string;
12737
+ authentication_id?: string | null | undefined;
12738
+ params?: Record<string, unknown> | undefined;
12739
+ } | null;
12740
+ connections: Record<string, {
12741
+ connection_id: string | number;
12742
+ }> | null;
12743
+ app_versions: Record<string, {
12744
+ implementation_name: string;
12745
+ version?: string | undefined;
12746
+ }> | null;
12747
+ };
12748
+ meta?: _zapier_kitcore.ResponseMeta;
12749
+ }>> | _zapier_kitcore.ContractEntry<"listWorkflowDrafts", (input: {
12486
12750
  workflow: string;
12487
12751
  status?: "open" | "discarded" | undefined;
12488
12752
  slug?: string | undefined;
@@ -12831,165 +13095,23 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
12831
13095
  draft_revision: number;
12832
13096
  };
12833
13097
  meta?: _zapier_kitcore.ResponseMeta;
12834
- }>> | _zapier_kitcore.ContractEntry<"listDurableRuns", (input?: ({
12835
- pageSize?: number | undefined;
12836
- cursor?: string | undefined;
12837
- maxItems?: number | undefined;
12838
- } & {
12839
- cursor?: string;
12840
- pageSize?: number;
12841
- } & {
12842
- maxItems?: number;
12843
- } & {
12844
- skipOutputDataValidation?: boolean;
12845
- }) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
12846
- id: string;
12847
- status: string;
12848
- input: unknown;
12849
- output: unknown;
12850
- error: {
12851
- [x: string]: unknown;
12852
- code: string;
12853
- message: string;
12854
- } | null;
12855
- execution_id: string | null;
12856
- is_private: boolean;
12857
- created_at: string;
12858
- updated_at: string;
12859
- }>> | _zapier_kitcore.ContractEntry<"getDurableRun", (input: {
12860
- run: string;
13098
+ }>> | _zapier_kitcore.ContractEntry<"getTriggerRun", (input: {
13099
+ trigger: string;
12861
13100
  } & {
12862
13101
  skipOutputDataValidation?: boolean;
12863
13102
  }) => Promise<{
12864
13103
  data: {
12865
13104
  id: string;
13105
+ durable_run_id: string | null;
13106
+ workflow_version_id: string | null;
12866
13107
  status: string;
12867
13108
  input: unknown;
12868
13109
  output: unknown;
12869
- error: {
12870
- [x: string]: unknown;
12871
- code: string;
12872
- message: string;
12873
- } | null;
12874
- execution: {
12875
- id: string;
12876
- name: string;
12877
- status: string;
12878
- input: unknown;
12879
- created_at: string;
12880
- output?: unknown;
12881
- error?: unknown;
12882
- metadata?: Record<string, unknown> | undefined;
12883
- summary?: {
12884
- [x: string]: unknown;
12885
- total_attempts: number;
12886
- last_error?: {
12887
- [x: string]: unknown;
12888
- code: string;
12889
- title: string;
12890
- detail?: string | null | undefined;
12891
- } | null | undefined;
12892
- } | null | undefined;
12893
- operations?: {
12894
- id: string;
12895
- execution_id: string;
12896
- name: string;
12897
- type: string;
12898
- status: string;
12899
- retry_count: number;
12900
- created_at: string;
12901
- result?: unknown;
12902
- error?: unknown;
12903
- max_attempts?: number | undefined;
12904
- next_retry_at?: string | null | undefined;
12905
- resume_at?: string | null | undefined;
12906
- callback_token?: string | null | undefined;
12907
- payload_schema?: unknown;
12908
- payload?: unknown;
12909
- expires_at?: string | null | undefined;
12910
- timeout_seconds?: number | null | undefined;
12911
- completed_at?: string | null | undefined;
12912
- }[] | undefined;
12913
- } | null;
12914
- is_private: boolean;
13110
+ error: unknown;
12915
13111
  created_at: string;
12916
13112
  updated_at: string;
12917
13113
  };
12918
13114
  meta?: _zapier_kitcore.ResponseMeta;
12919
- }>> | _zapier_kitcore.ContractEntry<"runDurable", (input: ({
12920
- sourceFiles: Record<string, string>;
12921
- input?: unknown;
12922
- dependencies?: Record<string, string> | undefined;
12923
- zapierDurableVersion?: string | undefined;
12924
- zapier_durable_version?: string | undefined;
12925
- connections?: Record<string, {
12926
- connectionId?: string | number | undefined;
12927
- connection_id?: string | number | undefined;
12928
- }> | undefined;
12929
- appVersions?: Record<string, {
12930
- implementationName?: string | undefined;
12931
- implementation_name?: string | undefined;
12932
- version?: string | undefined;
12933
- }> | undefined;
12934
- app_versions?: Record<string, {
12935
- implementationName?: string | undefined;
12936
- implementation_name?: string | undefined;
12937
- version?: string | undefined;
12938
- }> | undefined;
12939
- private?: boolean | undefined;
12940
- notifications?: {
12941
- url: string;
12942
- events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
12943
- type?: "webhook" | undefined;
12944
- max_retries?: number | undefined;
12945
- }[] | undefined;
12946
- } | {
12947
- source_files: Record<string, string>;
12948
- input?: unknown;
12949
- dependencies?: Record<string, string> | undefined;
12950
- zapierDurableVersion?: string | undefined;
12951
- zapier_durable_version?: string | undefined;
12952
- connections?: Record<string, {
12953
- connectionId?: string | number | undefined;
12954
- connection_id?: string | number | undefined;
12955
- }> | undefined;
12956
- appVersions?: Record<string, {
12957
- implementationName?: string | undefined;
12958
- implementation_name?: string | undefined;
12959
- version?: string | undefined;
12960
- }> | undefined;
12961
- app_versions?: Record<string, {
12962
- implementationName?: string | undefined;
12963
- implementation_name?: string | undefined;
12964
- version?: string | undefined;
12965
- }> | undefined;
12966
- private?: boolean | undefined;
12967
- notifications?: {
12968
- url: string;
12969
- events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
12970
- type?: "webhook" | undefined;
12971
- max_retries?: number | undefined;
12972
- }[] | undefined;
12973
- }) & {
12974
- skipOutputDataValidation?: boolean;
12975
- }) => Promise<{
12976
- data: {
12977
- id: string;
12978
- status: "initialized";
12979
- is_private: boolean;
12980
- created_at: string;
12981
- };
12982
- meta?: _zapier_kitcore.ResponseMeta;
12983
- }>> | _zapier_kitcore.ContractEntry<"cancelDurableRun", (input: {
12984
- run: string;
12985
- } & {
12986
- skipOutputDataValidation?: boolean;
12987
- }) => Promise<{
12988
- data: {
12989
- id: string;
12990
- status: "cancelled";
12991
- };
12992
- meta?: _zapier_kitcore.ResponseMeta;
12993
13115
  }>> | _zapier_kitcore.ContractEntry<"triggerWorkflow", (input: {
12994
13116
  workflow: string;
12995
13117
  input?: unknown;
@@ -13002,23 +13124,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
13002
13124
  created_at: string;
13003
13125
  };
13004
13126
  meta?: _zapier_kitcore.ResponseMeta;
13005
- }>> | _zapier_kitcore.ContractEntry<"getTriggerRun", (input: {
13006
- trigger: string;
13007
- } & {
13008
- skipOutputDataValidation?: boolean;
13009
- }) => Promise<{
13010
- data: {
13011
- id: string;
13012
- durable_run_id: string | null;
13013
- workflow_version_id: string | null;
13014
- status: string;
13015
- input: unknown;
13016
- output: unknown;
13017
- error: unknown;
13018
- created_at: string;
13019
- updated_at: string;
13020
- };
13021
- meta?: _zapier_kitcore.ResponseMeta;
13022
13127
  }>> | _zapier_kitcore.ContractEntry<"validateWorkflow", (input: {
13023
13128
  sourceFiles: Record<string, string>;
13024
13129
  entrypointFile?: string | undefined;
@@ -13181,29 +13286,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
13181
13286
  updated_at?: string | null | undefined;
13182
13287
  };
13183
13288
  meta?: _zapier_kitcore.ResponseMeta;
13184
- }>> | _zapier_kitcore.ContractEntry<"listVfsDirectory", (input: {
13185
- path: string;
13186
- pageSize?: number | undefined;
13187
- maxItems?: number | undefined;
13188
- cursor?: string | undefined;
13189
- } & {
13190
- cursor?: string;
13191
- pageSize?: number;
13192
- } & {
13193
- maxItems?: number;
13194
- } & {
13195
- skipOutputDataValidation?: boolean;
13196
- }) => _zapier_kitcore.PaginatedSdkResult<{
13197
- type: "file" | "directory" | "shortcut" | "stream";
13198
- name: string;
13199
- path: string;
13200
- size?: number | undefined;
13201
- version?: number | undefined;
13202
- updated_at?: string | undefined;
13203
- target_type?: "file" | "directory" | "stream" | null | undefined;
13204
- target_path?: string | null | undefined;
13205
- accessible?: boolean | undefined;
13206
- content_type?: string | undefined;
13207
13289
  }>> | _zapier_kitcore.ContractEntry<"readVfsFile", (input: {
13208
13290
  path: string;
13209
13291
  maxBytes?: number | undefined;
@@ -13263,6 +13345,29 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
13263
13345
  warnings?: string[] | undefined;
13264
13346
  };
13265
13347
  meta?: _zapier_kitcore.ResponseMeta;
13348
+ }>> | _zapier_kitcore.ContractEntry<"listVfsDirectory", (input: {
13349
+ path: string;
13350
+ pageSize?: number | undefined;
13351
+ maxItems?: number | undefined;
13352
+ cursor?: string | undefined;
13353
+ } & {
13354
+ cursor?: string;
13355
+ pageSize?: number;
13356
+ } & {
13357
+ maxItems?: number;
13358
+ } & {
13359
+ skipOutputDataValidation?: boolean;
13360
+ }) => _zapier_kitcore.PaginatedSdkResult<{
13361
+ type: "file" | "stream" | "directory" | "shortcut";
13362
+ name: string;
13363
+ path: string;
13364
+ size?: number | undefined;
13365
+ version?: number | undefined;
13366
+ updated_at?: string | undefined;
13367
+ target_type?: "file" | "stream" | "directory" | null | undefined;
13368
+ target_path?: string | null | undefined;
13369
+ accessible?: boolean | undefined;
13370
+ content_type?: string | undefined;
13266
13371
  }>> | _zapier_kitcore.ContractEntry<"createVfsDirectory", (input: {
13267
13372
  path: string;
13268
13373
  } & {
@@ -13279,13 +13384,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
13279
13384
  skipOutputDataValidation?: boolean;
13280
13385
  }) => Promise<{
13281
13386
  data: {
13282
- type: "file" | "directory" | "shortcut" | "stream";
13387
+ type: "file" | "stream" | "directory" | "shortcut";
13283
13388
  name: string;
13284
13389
  path: string;
13285
13390
  size?: number | undefined;
13286
13391
  version?: number | undefined;
13287
13392
  updated_at?: string | undefined;
13288
- target_type?: "file" | "directory" | "stream" | null | undefined;
13393
+ target_type?: "file" | "stream" | "directory" | null | undefined;
13289
13394
  target_path?: string | null | undefined;
13290
13395
  accessible?: boolean | undefined;
13291
13396
  content_type?: string | undefined;
@@ -15028,7 +15133,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
15028
15133
  triggers: {
15029
15134
  selected_api: string;
15030
15135
  action: string;
15031
- status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
15136
+ status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
15032
15137
  authentication_id?: string | null | undefined;
15033
15138
  params?: Record<string, unknown> | undefined;
15034
15139
  error?: string | null | undefined;
@@ -15062,7 +15167,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
15062
15167
  triggers: {
15063
15168
  selected_api: string;
15064
15169
  action: string;
15065
- status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
15170
+ status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
15066
15171
  authentication_id?: string | null | undefined;
15067
15172
  params?: Record<string, unknown> | undefined;
15068
15173
  error?: string | null | undefined;
@@ -15105,11 +15210,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
15105
15210
  }>;
15106
15211
  createWorkflow: (input: {
15107
15212
  name: string;
15108
- description?: string | undefined;
15109
- private?: boolean | undefined;
15213
+ is_private?: boolean | undefined;
15110
15214
  creationHarness?: string | null | undefined;
15111
15215
  creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
15112
- is_private?: boolean | undefined;
15216
+ description?: string | undefined;
15217
+ private?: boolean | undefined;
15113
15218
  } & {
15114
15219
  skipOutputDataValidation?: boolean;
15115
15220
  }) => Promise<{
@@ -15133,6 +15238,8 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
15133
15238
  }>;
15134
15239
  importWorkflow: (input: {
15135
15240
  zap: string;
15241
+ creationHarness?: string | null | undefined;
15242
+ creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
15136
15243
  name?: string | undefined;
15137
15244
  private?: boolean | undefined;
15138
15245
  } & {
@@ -15150,7 +15257,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
15150
15257
  triggers: {
15151
15258
  selected_api: string;
15152
15259
  action: string;
15153
- status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
15260
+ status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
15154
15261
  authentication_id?: string | null | undefined;
15155
15262
  params?: Record<string, unknown> | undefined;
15156
15263
  error?: string | null | undefined;
@@ -16148,13 +16255,13 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
16148
16255
  } & {
16149
16256
  skipOutputDataValidation?: boolean;
16150
16257
  }) => _zapier_kitcore.PaginatedSdkResult<{
16151
- type: "file" | "directory" | "shortcut" | "stream";
16258
+ type: "file" | "stream" | "directory" | "shortcut";
16152
16259
  name: string;
16153
16260
  path: string;
16154
16261
  size?: number | undefined;
16155
16262
  version?: number | undefined;
16156
16263
  updated_at?: string | undefined;
16157
- target_type?: "file" | "directory" | "stream" | null | undefined;
16264
+ target_type?: "file" | "stream" | "directory" | null | undefined;
16158
16265
  target_path?: string | null | undefined;
16159
16266
  accessible?: boolean | undefined;
16160
16267
  content_type?: string | undefined;
@@ -16239,13 +16346,13 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
16239
16346
  skipOutputDataValidation?: boolean;
16240
16347
  }) => Promise<{
16241
16348
  data: {
16242
- type: "file" | "directory" | "shortcut" | "stream";
16349
+ type: "file" | "stream" | "directory" | "shortcut";
16243
16350
  name: string;
16244
16351
  path: string;
16245
16352
  size?: number | undefined;
16246
16353
  version?: number | undefined;
16247
16354
  updated_at?: string | undefined;
16248
- target_type?: "file" | "directory" | "stream" | null | undefined;
16355
+ target_type?: "file" | "stream" | "directory" | null | undefined;
16249
16356
  target_path?: string | null | undefined;
16250
16357
  accessible?: boolean | undefined;
16251
16358
  content_type?: string | undefined;
@@ -16289,4 +16396,4 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
16289
16396
  interface ZapierSdk extends ReturnType<typeof createZapierSdk> {
16290
16397
  }
16291
16398
 
16292
- export { ApiClient, BaseEvent, ConnectionsProvider, type CreateWorkflowOptions, CreateWorkflowOptionsSchema, type CreateWorkflowResponse, CreateWorkflowResponseSchema, DrainTriggerInboxOptions, EventCallback, EventEmissionConfig, EventTransport, FieldsetItem, INTERNAL_CREATE_WORKFLOW_FIELDS, Manifest, ManifestProvider, type OpenDraftRef, ResolveCredentialsFn, WatchTriggerInboxOptions, ZapierCache, ZapierFetchInitOptions, type ZapierSdk, ZapierSdkApps, type ZapierSdkOptions, createZapierSdk, zapierExperimentalSdkPlugin };
16399
+ export { ApiClient, BaseEvent, ConnectionsProvider, type CreateWorkflowOptions, CreateWorkflowOptionsSchema, type CreateWorkflowResponse, CreateWorkflowResponseSchema, DrainTriggerInboxOptions, EventCallback, EventEmissionConfig, EventTransport, FieldsetItem, INTERNAL_CREATE_WORKFLOW_FIELDS, type ImportWorkflowOptions, ImportWorkflowOptionsSchema, type ImportWorkflowResponse, ImportWorkflowResponseSchema, Manifest, ManifestProvider, type OpenDraftRef, ResolveCredentialsFn, WatchTriggerInboxOptions, ZapierCache, ZapierFetchInitOptions, type ZapierSdk, ZapierSdkApps, type ZapierSdkOptions, createZapierSdk, zapierExperimentalSdkPlugin };