@zapier/zapier-sdk 0.117.0 → 0.119.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.
@@ -1,168 +1,13 @@
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-DWS1MdAd.mjs';
2
- export { eb as ACTION_RUNS_PATH, cO as API_ID, x as Action, cK as ActionEntry, c4 as ActionExecutionOptions, I as ActionExecutionResult, J as ActionField, K as ActionFieldChoice, av as ActionItem, b5 as ActionKeyProperty, aD as ActionKeyPropertySchema, b6 as ActionProperty, aE as ActionPropertySchema, ae as ActionResolverItem, bi as ActionTimeoutMillisecondsProperty, aQ as ActionTimeoutMillisecondsPropertySchema, bh as ActionTimeoutSecondsProperty, aP as ActionTimeoutSecondsPropertySchema, af as ActionTypeItem, b4 as ActionTypeProperty, aC as ActionTypePropertySchema, dB as ApiEvent, cN as ApiPluginOptions, y as App, c5 as AppFactoryInput, at as AppItem, b2 as AppKeyProperty, aA as AppKeyPropertySchema, b3 as AppProperty, aB as AppPropertySchema, eG as ApplicationLifecycleEventData, bN as ApprovalStatus, bn as AppsProperty, aV as AppsPropertySchema, dA as AuthEvent, dl as AuthMechanism, ba as AuthenticationIdProperty, aH as AuthenticationIdPropertySchema, aa as BaseSdkOptionsSchema, a2 as BatchOptions, e1 as CONNECTIONS_ID, cr as CONTEXT_CACHE_MAX_SIZE, cq as CONTEXT_CACHE_TTL_MILLISECONDS, a0 as CallerContext, H as Choice, dG as ClientCredentialsObject, dR as ClientCredentialsObjectSchema, Q as Connection, dZ as ConnectionEntry, dY as ConnectionEntrySchema, b8 as ConnectionIdProperty, aG as ConnectionIdPropertySchema, au as ConnectionItem, b9 as ConnectionProperty, aI as ConnectionPropertySchema, d$ as ConnectionsMap, d_ as ConnectionsMapSchema, bp as ConnectionsProperty, aX as ConnectionsPropertySchema, S as ConnectionsResponse, ct as CreateActionRunPluginProvides, dD as Credentials, dW as CredentialsFunction, dV as CredentialsFunctionSchema, dF as CredentialsObject, dT as CredentialsObjectSchema, dX as CredentialsSchema, ea as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, ek as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cI as DEFAULT_CONFIG_PATH, el as DEFAULT_MAX_APPROVAL_RETRIES, e9 as DEFAULT_PAGE_SIZE, ar as DEPRECATION_NOTICE_EVENT, bf as DebugProperty, aN as DebugPropertySchema, as as DeprecationNoticePayload, q as DrainTriggerInboxCallback, r as DrainTriggerInboxErrorObserver, e_ as DrainTriggerInboxSchema, eB as EVENT_EMISSION_ID, eH as EnhancedErrorEventData, bw as ErrorOptions, eF as EventContext, ez as EventEmissionContext, eA as EventEmitter, c6 as FetchPluginProvides, z as Field, bm as FieldsProperty, aU as FieldsPropertySchema, v as FindFirstAuthenticationPluginProvides, w as FindUniqueAuthenticationPluginProvides, cv as GetActionRunPluginProvides, u as GetAuthenticationPluginProvides, cM as GetProfilePluginProvides, ax as InfoFieldItem, aw as InputFieldItem, b7 as InputFieldProperty, aF as InputFieldPropertySchema, bb as InputsProperty, aJ as InputsPropertySchema, aq as JsonSseMessage, bv as LeaseLimitProperty, b1 as LeaseLimitPropertySchema, bt as LeaseProperty, a$ as LeasePropertySchema, bu as LeaseSecondsProperty, b0 as LeaseSecondsPropertySchema, s as LeasedTriggerMessageItem, bc as LimitProperty, aK as LimitPropertySchema, cd as ListActionInputFieldsPluginProvides, cb as ListActionsPluginProvides, c9 as ListAppsPluginProvides, t as ListAuthenticationsPluginProvides, ch as ListConnectionsPluginProvides, dC as LoadingEvent, cD as MANIFEST_ID, ee as MAX_CONCURRENCY_LIMIT, e8 as MAX_PAGE_LIMIT, cJ as ManifestEntry, cz as ManifestPluginOptions, eO as MethodCalledEvent, eI as MethodCalledEventData, N as Need, O as NeedsRequest, P as NeedsResponse, bd as OffsetProperty, aL as OffsetPropertySchema, be as OutputProperty, aM as OutputPropertySchema, bg as ParamsProperty, aO as ParamsPropertySchema, dH as PkceCredentialsObject, dS as PkceCredentialsObjectSchema, al as PollOptions, cR as RESOLVE_CREDENTIALS_ID, bL as RateLimitInfo, bk as RecordProperty, aS as RecordPropertySchema, bl as RecordsProperty, aT as RecordsPropertySchema, a7 as RelayFetchSchema, a6 as RelayRequestSchema, ak as RequestOptions, dk as ResolveAuthTokenOptions, e0 as ResolveConnection, dM as ResolveCredentialsOptions, ag as ResolvedAppLocator, dm as ResolvedAuth, dE as ResolvedCredentials, dU as ResolvedCredentialsSchema, ay as RootFieldItem, cx as RunActionPluginProvides, X as SDK_OPTIONS_ID, ab as STABILITY_DEFINITIONS, dz as SdkEvent, ap as SseMessage, bj as TableProperty, aR as TablePropertySchema, bo as TablesProperty, aW as TablesPropertySchema, br as TriggerInboxKeyProperty, aZ as TriggerInboxKeyPropertySchema, bs as TriggerInboxNameProperty, a_ as TriggerInboxNamePropertySchema, bq as TriggerInboxProperty, aY as TriggerInboxPropertySchema, T as TriggerMessageStatus, cG as UpdateManifestEntryOptions, cH as UpdateManifestEntryResult, U as UserProfile, az as UserProfileItem, e$ as WatchTriggerInboxSchema, e4 as ZAPIER_BASE_URL, eg as ZAPIER_MAX_CONCURRENT_REQUESTS, ec as ZAPIER_MAX_NETWORK_RETRIES, ed as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, m as ZapierAbortDrainSignal, bJ as ZapierActionError, bC as ZapierApiError, bD as ZapierAppNotFoundError, bO as ZapierApprovalError, bA as ZapierAuthenticationError, bH as ZapierBundleError, dw as ZapierCacheEntry, dx as ZapierCacheSetOptions, bG as ZapierConfigurationError, bK as ZapierConflictError, bx as ZapierError, bE as ZapierNotFoundError, bM as ZapierRateLimitError, bP as ZapierRelayError, n as ZapierReleaseTriggerMessageSignal, bF as ZapierResourceNotFoundError, c1 as ZapierSignal, bI as ZapierTimeoutError, bz as ZapierUnknownError, by as ZapierValidationError, cW as actionKeyResolver, cV as actionTypeResolver, cQ as apiPlugin, cP as apiPluginRef, cU as appKeyResolver, c3 as appsPlugin, a1 as batch, eJ as buildApplicationLifecycleEvent, a3 as buildCapabilityMessage, eL as buildErrorEvent, eK as buildErrorEventWithContext, eN as buildMethodCalledEvent, ey as cleanupEventListeners, dn as clearTokenCache, d0 as clientCredentialsNameResolver, d1 as clientIdResolver, cY as connectionIdGenericResolver, cX as connectionIdResolver, e3 as connectionsPlugin, e2 as connectionsPluginRef, cs as createActionRunPlugin, eM as createBaseEvent, cj as createClientCredentialsPlugin, dy as createMemoryCache, er as createTableFieldsPlugin, eo as createTablePlugin, ev as createTableRecordsPlugin, am as createZapierApi, a8 as createZapierSdkWithoutRegistry, ck as deleteClientCredentialsPlugin, es as deleteTableFieldsPlugin, ep as deleteTablePlugin, ew as deleteTableRecordsPlugin, ai as descriptionFor, d5 as durableRunIdResolver, eE as eventEmissionHookPlugin, eD as eventEmissionPlugin, eC as eventEmissionPluginRef, c7 as fetchPlugin, co as findFirstConnectionPlugin, cC as findManifestEntry, cp as findUniqueConnectionPlugin, c0 as formatErrorMessage, ad as formatExtensionPluginFailure, eQ as generateEventId, cf as getActionInputFieldsSchemaPlugin, cm as getActionPlugin, cu as getActionRunPlugin, ah as getAgent, cl as getAppPlugin, dP as getBaseUrlFromCredentials, _ as getCallerContext, eW as getCiPlatform, dQ as getClientIdFromCredentials, cn as getConnectionPlugin, eY as getCpuTime, eR as getCurrentTimestamp, eX as getMemoryUsage, an as getOrCreateApiClient, eT as getOsInfo, eU as getPlatformVersions, cB as getPreferredManifestEntryKey, cL as getProfilePlugin, eS as getReleaseId, en as getTablePlugin, et as getTableRecordPlugin, ds as getTokenFromCliLogin, eZ as getTtyContext, eh as getZapierApprovalMode, e7 as getZapierCausationId, e6 as getZapierCorrelationId, ej as getZapierDefaultApprovalMode, ei as getZapierOpenAutoModeApprovalsInBrowser, e5 as getZapierSdkService, dq as injectCliLogin, c$ as inputFieldKeyResolver, c_ as inputsAllOptionalResolver, cZ as inputsResolver, dp as invalidateCachedToken, dv as invalidateCredentialsToken, eV as isCi, dr as isCliLoginAvailable, dI as isClientCredentials, dL as isCredentialsFunction, dK as isCredentialsObject, aj as isInternalField, ao as isPermanentHttpError, dJ as isPkceCredentials, o as isZapierAbortDrainSignal, bZ as isZapierActionError, bT as isZapierAppNotFoundError, b$ as isZapierApprovalError, bS as isZapierAuthenticationError, bY as isZapierBundleError, bW as isZapierConflictError, bQ as isZapierError, bU as isZapierNotFoundError, b_ as isZapierRateLimitError, p as isZapierReleaseTriggerMessageSignal, bV as isZapierResourceNotFoundError, c2 as isZapierSignal, bX as isZapierTimeoutError, bR as isZapierValidationError, ce as listActionInputFieldChoicesPlugin, cc as listActionInputFieldsPlugin, ca as listActionsPlugin, c8 as listAppsPlugin, ci as listClientCredentialsPlugin, cg as listConnectionsPlugin, eq as listTableFieldsPlugin, eu as listTableRecordsPlugin, em as listTablesPlugin, a4 as logDeprecation, cF as manifestPlugin, cE as manifestPluginRef, eP as operationAnnotatorPlugin, ef as parseConcurrencyEnvVar, cA as readManifestFromFile, cy as requestPlugin, a5 as resetDeprecationWarnings, dt as resolveAuth, du as resolveAuthToken, dO as resolveCredentials, dN as resolveCredentialsFromEnv, cT as resolveCredentialsPlugin, cS as resolveCredentialsPluginRef, cw as runActionPlugin, $ as runWithCallerContext, Y as sdkOptionsPluginRef, dd as tableFieldIdsResolver, df as tableFieldsResolver, di as tableFiltersResolver, d2 as tableIdResolver, de as tableNameResolver, db as tableRecordIdResolver, dc as tableRecordIdsResolver, dg as tableRecordsResolver, dj as tableSortResolver, dh as tableUpdateRecordsResolver, ac as taxonomy, d3 as triggerInboxResolver, da as triggerMessagesResolver, ex as updateTableRecordsPlugin, d7 as workflowDraftIdResolver, d8 as workflowDraftRevisionResolver, d4 as workflowIdResolver, d9 as workflowRunIdResolver, d6 as workflowVersionIdResolver, bB as zapierAdaptError, a9 as zapierCoreOptions, V as zapierSdkPlugin } from './index-DWS1MdAd.mjs';
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-DIWpTc5e.mjs';
2
+ export { ee as ACTION_RUNS_PATH, cR as API_ID, z as Action, cN as ActionEntry, c7 as ActionExecutionOptions, K as ActionExecutionResult, O as ActionField, P as ActionFieldChoice, aT as ActionIdempotencyKeyPropertySchema, ax as ActionItem, b8 as ActionKeyProperty, aF as ActionKeyPropertySchema, b9 as ActionProperty, aG as ActionPropertySchema, ag as ActionResolverItem, bl as ActionTimeoutMillisecondsProperty, aS as ActionTimeoutMillisecondsPropertySchema, bk as ActionTimeoutSecondsProperty, aR as ActionTimeoutSecondsPropertySchema, ah as ActionTypeItem, b7 as ActionTypeProperty, aE as ActionTypePropertySchema, dE as ApiEvent, cQ as ApiPluginOptions, H as App, c8 as AppFactoryInput, av as AppItem, b5 as AppKeyProperty, aC as AppKeyPropertySchema, b6 as AppProperty, aD as AppPropertySchema, eJ as ApplicationLifecycleEventData, bQ as ApprovalStatus, bq as AppsProperty, aY as AppsPropertySchema, dD as AuthEvent, dp as AuthMechanism, bd as AuthenticationIdProperty, aJ as AuthenticationIdPropertySchema, ac as BaseSdkOptionsSchema, a4 as BatchOptions, e4 as CONNECTIONS_ID, cu as CONTEXT_CACHE_MAX_SIZE, ct as CONTEXT_CACHE_TTL_MILLISECONDS, a2 as CallerContext, J as Choice, dJ as ClientCredentialsObject, dU as ClientCredentialsObjectSchema, U as Connection, e0 as ConnectionEntry, d$ as ConnectionEntrySchema, bb as ConnectionIdProperty, aI as ConnectionIdPropertySchema, aw as ConnectionItem, bc as ConnectionProperty, aK as ConnectionPropertySchema, e2 as ConnectionsMap, e1 as ConnectionsMapSchema, bs as ConnectionsProperty, a_ as ConnectionsPropertySchema, V as ConnectionsResponse, cw as CreateActionRunPluginProvides, dG as Credentials, dZ as CredentialsFunction, dY as CredentialsFunctionSchema, dI as CredentialsObject, dW as CredentialsObjectSchema, d_ as CredentialsSchema, ed as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, en as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cL as DEFAULT_CONFIG_PATH, eo as DEFAULT_MAX_APPROVAL_RETRIES, ec as DEFAULT_PAGE_SIZE, at as DEPRECATION_NOTICE_EVENT, bi as DebugProperty, aP as DebugPropertySchema, au as DeprecationNoticePayload, s as DrainTriggerInboxCallback, t as DrainTriggerInboxErrorObserver, m as DrainTriggerInboxSchema, eE as EVENT_EMISSION_ID, eK as EnhancedErrorEventData, bz as ErrorOptions, eI as EventContext, eC as EventEmissionContext, eD as EventEmitter, c9 as FetchPluginProvides, I as Field, bp as FieldsProperty, aX as FieldsPropertySchema, x as FindFirstAuthenticationPluginProvides, y as FindUniqueAuthenticationPluginProvides, cy as GetActionRunPluginProvides, w as GetAuthenticationPluginProvides, cP as GetProfilePluginProvides, az as InfoFieldItem, ay as InputFieldItem, ba as InputFieldProperty, aH as InputFieldPropertySchema, be as InputsProperty, aL as InputsPropertySchema, as as JsonSseMessage, by as LeaseLimitProperty, b4 as LeaseLimitPropertySchema, bw as LeaseProperty, b2 as LeasePropertySchema, bx as LeaseSecondsProperty, b3 as LeaseSecondsPropertySchema, u as LeasedTriggerMessageItem, bf as LimitProperty, aM as LimitPropertySchema, cg as ListActionInputFieldsPluginProvides, ce as ListActionsPluginProvides, cc as ListAppsPluginProvides, v as ListAuthenticationsPluginProvides, ck as ListConnectionsPluginProvides, dF as LoadingEvent, cG as MANIFEST_ID, eh as MAX_CONCURRENCY_LIMIT, eb as MAX_PAGE_LIMIT, cM as ManifestEntry, cC as ManifestPluginOptions, eR as MethodCalledEvent, eL as MethodCalledEventData, N as Need, Q as NeedsRequest, S as NeedsResponse, bg as OffsetProperty, aN as OffsetPropertySchema, bh as OutputProperty, aO as OutputPropertySchema, bj as ParamsProperty, aQ as ParamsPropertySchema, dK as PkceCredentialsObject, dV as PkceCredentialsObjectSchema, an as PollOptions, cU as RESOLVE_CREDENTIALS_ID, bO as RateLimitInfo, bn as RecordProperty, aV as RecordPropertySchema, bo as RecordsProperty, aW as RecordsPropertySchema, a9 as RelayFetchSchema, a8 as RelayRequestSchema, am as RequestOptions, dn as ResolveAuthTokenOptions, e3 as ResolveConnection, dP as ResolveCredentialsOptions, ai as ResolvedAppLocator, dq as ResolvedAuth, dH as ResolvedCredentials, dX as ResolvedCredentialsSchema, aA as RootFieldItem, cA as RunActionPluginProvides, _ as SDK_OPTIONS_ID, ad as STABILITY_DEFINITIONS, dC as SdkEvent, ar as SseMessage, bm as TableProperty, aU as TablePropertySchema, br as TablesProperty, aZ as TablesPropertySchema, bu as TriggerInboxKeyProperty, b0 as TriggerInboxKeyPropertySchema, bv as TriggerInboxNameProperty, b1 as TriggerInboxNamePropertySchema, bt as TriggerInboxProperty, a$ as TriggerInboxPropertySchema, T as TriggerMessageStatus, cJ as UpdateManifestEntryOptions, cK as UpdateManifestEntryResult, X as UserProfile, aB as UserProfileItem, n as WatchTriggerInboxSchema, e7 as ZAPIER_BASE_URL, ej as ZAPIER_MAX_CONCURRENT_REQUESTS, ef as ZAPIER_MAX_NETWORK_RETRIES, eg as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, o as ZapierAbortDrainSignal, bM as ZapierActionError, bF as ZapierApiError, bG as ZapierAppNotFoundError, bR as ZapierApprovalError, bD as ZapierAuthenticationError, bK as ZapierBundleError, dz as ZapierCacheEntry, dA as ZapierCacheSetOptions, bJ as ZapierConfigurationError, bN as ZapierConflictError, bA as ZapierError, bH as ZapierNotFoundError, bP as ZapierRateLimitError, bS as ZapierRelayError, p as ZapierReleaseTriggerMessageSignal, bI as ZapierResourceNotFoundError, c4 as ZapierSignal, bL as ZapierTimeoutError, bC as ZapierUnknownError, bB as ZapierValidationError, cZ as actionKeyResolver, cY as actionTypeResolver, cT as apiPlugin, cS as apiPluginRef, cX as appKeyResolver, c6 as appsPlugin, a3 as batch, eM as buildApplicationLifecycleEvent, a5 as buildCapabilityMessage, eO as buildErrorEvent, eN as buildErrorEventWithContext, eQ as buildMethodCalledEvent, eB as cleanupEventListeners, dr as clearTokenCache, d3 as clientCredentialsNameResolver, d4 as clientIdResolver, c$ as connectionIdGenericResolver, c_ as connectionIdResolver, e6 as connectionsPlugin, e5 as connectionsPluginRef, cv as createActionRunPlugin, eP as createBaseEvent, cm as createClientCredentialsPlugin, dB as createMemoryCache, eu as createTableFieldsPlugin, er as createTablePlugin, ey as createTableRecordsPlugin, ao as createZapierApi, aa as createZapierSdkWithoutRegistry, cn as deleteClientCredentialsPlugin, ev as deleteTableFieldsPlugin, es as deleteTablePlugin, ez as deleteTableRecordsPlugin, ak as descriptionFor, d8 as durableRunIdResolver, eH as eventEmissionHookPlugin, eG as eventEmissionPlugin, eF as eventEmissionPluginRef, ca as fetchPlugin, cr as findFirstConnectionPlugin, cF as findManifestEntry, cs as findUniqueConnectionPlugin, c3 as formatErrorMessage, af as formatExtensionPluginFailure, eT as generateEventId, ci as getActionInputFieldsSchemaPlugin, cp as getActionPlugin, cx as getActionRunPlugin, aj as getAgent, co as getAppPlugin, dS as getBaseUrlFromCredentials, a0 as getCallerContext, eZ as getCiPlatform, dT as getClientIdFromCredentials, cq as getConnectionPlugin, e$ as getCpuTime, eU as getCurrentTimestamp, e_ as getMemoryUsage, ap as getOrCreateApiClient, eW as getOsInfo, eX as getPlatformVersions, cE as getPreferredManifestEntryKey, cO as getProfilePlugin, eV as getReleaseId, eq as getTablePlugin, ew as getTableRecordPlugin, dv as getTokenFromCliLogin, f0 as getTtyContext, ek as getZapierApprovalMode, ea as getZapierCausationId, e9 as getZapierCorrelationId, em as getZapierDefaultApprovalMode, el as getZapierOpenAutoModeApprovalsInBrowser, e8 as getZapierSdkService, dt as injectCliLogin, d2 as inputFieldKeyResolver, d1 as inputsAllOptionalResolver, d0 as inputsResolver, ds as invalidateCachedToken, dy as invalidateCredentialsToken, eY as isCi, du as isCliLoginAvailable, dL as isClientCredentials, dO as isCredentialsFunction, dN as isCredentialsObject, al as isInternalField, aq as isPermanentHttpError, dM as isPkceCredentials, q as isZapierAbortDrainSignal, c0 as isZapierActionError, bW as isZapierAppNotFoundError, c2 as isZapierApprovalError, bV as isZapierAuthenticationError, b$ as isZapierBundleError, bZ as isZapierConflictError, bT as isZapierError, bX as isZapierNotFoundError, c1 as isZapierRateLimitError, r as isZapierReleaseTriggerMessageSignal, bY as isZapierResourceNotFoundError, c5 as isZapierSignal, b_ as isZapierTimeoutError, bU as isZapierValidationError, ch as listActionInputFieldChoicesPlugin, cf as listActionInputFieldsPlugin, cd as listActionsPlugin, cb as listAppsPlugin, cl as listClientCredentialsPlugin, cj as listConnectionsPlugin, et as listTableFieldsPlugin, ex as listTableRecordsPlugin, ep as listTablesPlugin, a6 as logDeprecation, cI as manifestPlugin, cH as manifestPluginRef, eS as operationAnnotatorPlugin, ei as parseConcurrencyEnvVar, cD as readManifestFromFile, cB as requestPlugin, a7 as resetDeprecationWarnings, dw as resolveAuth, dx as resolveAuthToken, dR as resolveCredentials, dQ as resolveCredentialsFromEnv, cW as resolveCredentialsPlugin, cV as resolveCredentialsPluginRef, cz as runActionPlugin, a1 as runWithCallerContext, $ as sdkOptionsPluginRef, dg as tableFieldIdsResolver, di as tableFieldsResolver, dl as tableFiltersResolver, d5 as tableIdResolver, dh as tableNameResolver, de as tableRecordIdResolver, df as tableRecordIdsResolver, dj as tableRecordsResolver, dm as tableSortResolver, dk as tableUpdateRecordsResolver, ae as taxonomy, d6 as triggerInboxResolver, dd as triggerMessagesResolver, eA as updateTableRecordsPlugin, da as workflowDraftIdResolver, db as workflowDraftRevisionResolver, d7 as workflowIdResolver, dc as workflowRunIdResolver, d9 as workflowVersionIdResolver, bE as zapierAdaptError, ab as zapierCoreOptions, Y as zapierSdkPlugin } from './index-DIWpTc5e.mjs';
3
3
  import * as zod from 'zod';
4
- import { z } from 'zod';
5
4
  import * as zod_v4_core from 'zod/v4/core';
6
5
  import * as _zapier_kitcore from '@zapier/kitcore';
7
6
  export { AggregatePlugin, CoreApiError as ApiError, ArrayResolver, BoundFormatter, CONTEXT, CORE_ERROR_SYMBOL, CORE_OPTIONS_ID, CORE_SIGNAL_SYMBOL, ContractEntry, ControllerAction, ControllerAnswerFn, ControllerChoice, ControllerMethodDescription, ControllerMethodSummary, ControllerParameterDescription, ControllerQuestion, CoreCancelledSignal, CoreDisposeError, CoreErrorCode, CoreSignal, DeclarationSummary, DynamicListResolver, DynamicMember, DynamicResolver, DynamicSearchResolver, FieldsResolver, FormattedItem, Formatter, FunctionDeprecation, FunctionRegistryEntry, LeafSummary, MethodContract, MethodMeta, MethodOverridePlugin, MethodPlugin, ModelResolver, NegatableMetadata, OptionalDeclarationSummary, PaginatedSdkFunction, PaginatedSdkResult, Plugin, PluginMeta, PluginSummary, PluginSurface, PositionalMetadata, PropertyMeta, PropertyPlugin, RegistryResult, Resolver, ResolverMetadata, STABILITY_LEVELS, STABILITY_TITLES, SdkPage, StabilityLevel, StandInId, StaticResolver, addPlugin, applyStabilityLabel, createController, createSdk, declareMethod, declareOptionalProperty, declarePlugin, declareProperty, defineFormatter, defineMethod, defineMethodOverride, defineOverride, definePlugin, defineProperty, defineResolver, disposeSdk, getContext, getCoreErrorCause, getCoreErrorCode, getNegatable, getRegistry, getRegistryPlugin, isCoreCancelledSignal, isCoreError, isCoreSignal, isPositional, omitExports, resolvePlugin, runInMethodScope, runWithTelemetryContext, selectExports, toSnakeCase, toTitleCase } from '@zapier/kitcore';
7
+ export { CreateWorkflowOptions, CreateWorkflowOptionsSchema, CreateWorkflowResponse, CreateWorkflowResponseSchema, ImportWorkflowOptions, ImportWorkflowOptionsSchema, ImportWorkflowResponse, ImportWorkflowResponseSchema, OpenDraftRef, zapierBetaSdkPlugin } from './beta.mjs';
8
8
  import '@zapier/zapier-sdk-core/v0/schemas/connections';
9
9
  import '@zapier/policy-context';
10
10
 
11
- declare const CreateWorkflowOptionsSchema: z.ZodObject<{
12
- is_private: z.ZodOptional<z.ZodBoolean>;
13
- creationHarness: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- creationAccessMethod: z.ZodOptional<z.ZodEnum<{
15
- unknown: "unknown";
16
- api: "api";
17
- sdk_cli: "sdk_cli";
18
- sdk_mcp: "sdk_mcp";
19
- zapier_mcp: "zapier_mcp";
20
- editor: "editor";
21
- }>>;
22
- name: z.ZodString;
23
- description: z.ZodOptional<z.ZodString>;
24
- private: z.ZodOptional<z.ZodBoolean>;
25
- }, z.core.$strip>;
26
- type CreateWorkflowOptions = z.infer<typeof CreateWorkflowOptionsSchema>;
27
- declare const CreateWorkflowResponseSchema: z.ZodObject<{
28
- id: z.ZodString;
29
- name: z.ZodString;
30
- description: z.ZodNullable<z.ZodString>;
31
- trigger_url: z.ZodString;
32
- editor_url: z.ZodString;
33
- enabled: z.ZodBoolean;
34
- is_private: z.ZodBoolean;
35
- created_by_user_id: z.ZodNullable<z.ZodString>;
36
- created_at: z.ZodString;
37
- creation_client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
38
- harness: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- access_method: z.ZodString;
40
- sdk_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
- }, z.core.$strip>>>;
42
- }, z.core.$strip>;
43
- type CreateWorkflowResponse = z.infer<typeof CreateWorkflowResponseSchema>;
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
- creation_client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
130
- harness: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
- access_method: z.ZodString;
132
- sdk_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
- }, z.core.$strip>>>;
134
- last_edited_client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
135
- harness: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
- access_method: z.ZodString;
137
- sdk_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
- }, z.core.$strip>>>;
139
- }, z.core.$strip>;
140
- issues: z.ZodArray<z.ZodObject<{
141
- line: z.ZodNumber;
142
- column: z.ZodNumber;
143
- node_kind: z.ZodString;
144
- step_name: z.ZodOptional<z.ZodString>;
145
- message: z.ZodString;
146
- blocking: z.ZodBoolean;
147
- }, z.core.$strip>>;
148
- }, z.core.$strip>;
149
- type ImportWorkflowResponse = z.infer<typeof ImportWorkflowResponseSchema>;
150
-
151
- /**
152
- * A blocking draft as listed by the 409's `meta.open_drafts` — the element
153
- * type of `ZapierConflictError.meta.open_drafts` on the open-draft publish
154
- * conflict. Exported (and re-exported from `@zapier/zapier-sdk/experimental`)
155
- * so a TS consumer can read the structured list without hand-writing the
156
- * shape, following the `RateLimitInfo` precedent of exporting an
157
- * error-payload type while keeping `ZapierConflictError.meta` generic.
158
- */
159
- interface OpenDraftRef {
160
- id: string;
161
- slug?: string;
162
- last_edited_at?: string | null;
163
- last_edited_by_user_id?: string | null;
164
- }
165
-
166
11
  interface ZapierSdkOptions extends BaseSdkOptions {
167
12
  }
168
13
  /**
@@ -4816,6 +4661,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
4816
4661
  inputs?: Record<string, unknown> | undefined;
4817
4662
  page?: string | undefined;
4818
4663
  callbackUrl?: string | undefined;
4664
+ idempotencyKey?: string | undefined;
4819
4665
  } & {
4820
4666
  skipOutputDataValidation?: boolean;
4821
4667
  }, Promise<{
@@ -4831,6 +4677,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
4831
4677
  actionType: "filter" | "run" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write";
4832
4678
  inputs?: Record<string, unknown> | undefined;
4833
4679
  page?: string | undefined;
4680
+ idempotencyKey?: string | undefined;
4834
4681
  callbackUrl?: string | undefined;
4835
4682
  }> & _zapier_kitcore.LeafSummary<"", "createActionRun", readonly [_zapier_kitcore.PropertyPlugin<"connections", ConnectionsProvider> & _zapier_kitcore.DeclarationSummary<"zapier/connections", ConnectionsProvider> & _zapier_kitcore.StandInId<"zapier/connections">, _zapier_kitcore.PropertyPlugin<"manifest", ManifestProvider> & _zapier_kitcore.DeclarationSummary<"zapier/manifest", ManifestProvider> & _zapier_kitcore.StandInId<"zapier/manifest">, _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">, _zapier_kitcore.MethodPlugin<"getAction", ({
4836
4683
  app: string;
@@ -4969,6 +4816,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
4969
4816
  inputs?: Record<string, unknown> | undefined;
4970
4817
  page?: string | undefined;
4971
4818
  callbackUrl?: string | undefined;
4819
+ idempotencyKey?: string | undefined;
4972
4820
  } & {
4973
4821
  skipOutputDataValidation?: boolean;
4974
4822
  }) => Promise<{
@@ -5027,6 +4875,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5027
4875
  inputs?: Record<string, unknown> | undefined;
5028
4876
  timeoutSeconds?: number | undefined;
5029
4877
  timeoutMs?: number | undefined;
4878
+ idempotencyKey?: string | undefined;
5030
4879
  pageSize?: number | undefined;
5031
4880
  maxItems?: number | undefined;
5032
4881
  cursor?: string | undefined;
@@ -5040,6 +4889,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5040
4889
  inputs?: Record<string, unknown> | undefined;
5041
4890
  timeoutSeconds?: number | undefined;
5042
4891
  timeoutMs?: number | undefined;
4892
+ idempotencyKey?: string | undefined;
5043
4893
  pageSize?: number | undefined;
5044
4894
  maxItems?: number | undefined;
5045
4895
  cursor?: string | undefined;
@@ -5060,6 +4910,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5060
4910
  inputs?: Record<string, unknown> | undefined;
5061
4911
  timeoutSeconds?: number | undefined;
5062
4912
  timeoutMs?: number | undefined;
4913
+ idempotencyKey?: string | undefined;
5063
4914
  pageSize?: number | undefined;
5064
4915
  maxItems?: number | undefined;
5065
4916
  cursor?: string | undefined;
@@ -5073,6 +4924,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5073
4924
  inputs?: Record<string, unknown> | undefined;
5074
4925
  timeoutSeconds?: number | undefined;
5075
4926
  timeoutMs?: number | undefined;
4927
+ idempotencyKey?: string | undefined;
5076
4928
  pageSize?: number | undefined;
5077
4929
  maxItems?: number | undefined;
5078
4930
  cursor?: string | undefined;
@@ -5087,6 +4939,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5087
4939
  inputs?: Record<string, unknown> | undefined;
5088
4940
  page?: string | undefined;
5089
4941
  callbackUrl?: string | undefined;
4942
+ idempotencyKey?: string | undefined;
5090
4943
  } & {
5091
4944
  skipOutputDataValidation?: boolean;
5092
4945
  }, Promise<{
@@ -5102,6 +4955,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5102
4955
  actionType: "filter" | "run" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write";
5103
4956
  inputs?: Record<string, unknown> | undefined;
5104
4957
  page?: string | undefined;
4958
+ idempotencyKey?: string | undefined;
5105
4959
  callbackUrl?: string | undefined;
5106
4960
  }> & _zapier_kitcore.LeafSummary<"", "createActionRun", readonly [_zapier_kitcore.PropertyPlugin<"connections", ConnectionsProvider> & _zapier_kitcore.DeclarationSummary<"zapier/connections", ConnectionsProvider> & _zapier_kitcore.StandInId<"zapier/connections">, _zapier_kitcore.PropertyPlugin<"manifest", ManifestProvider> & _zapier_kitcore.DeclarationSummary<"zapier/manifest", ManifestProvider> & _zapier_kitcore.StandInId<"zapier/manifest">, _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">, _zapier_kitcore.MethodPlugin<"getAction", ({
5107
4961
  app: string;
@@ -5240,6 +5094,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5240
5094
  inputs?: Record<string, unknown> | undefined;
5241
5095
  page?: string | undefined;
5242
5096
  callbackUrl?: string | undefined;
5097
+ idempotencyKey?: string | undefined;
5243
5098
  } & {
5244
5099
  skipOutputDataValidation?: boolean;
5245
5100
  }) => Promise<{
@@ -5258,6 +5113,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5258
5113
  inputs?: Record<string, unknown> | undefined;
5259
5114
  timeoutSeconds?: number | undefined;
5260
5115
  timeoutMs?: number | undefined;
5116
+ idempotencyKey?: string | undefined;
5261
5117
  pageSize?: number | undefined;
5262
5118
  maxItems?: number | undefined;
5263
5119
  cursor?: string | undefined;
@@ -5271,6 +5127,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5271
5127
  inputs?: Record<string, unknown> | undefined;
5272
5128
  timeoutSeconds?: number | undefined;
5273
5129
  timeoutMs?: number | undefined;
5130
+ idempotencyKey?: string | undefined;
5274
5131
  pageSize?: number | undefined;
5275
5132
  maxItems?: number | undefined;
5276
5133
  cursor?: string | undefined;
@@ -5342,6 +5199,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5342
5199
  inputs?: Record<string, unknown> | undefined;
5343
5200
  timeoutSeconds?: number | undefined;
5344
5201
  timeoutMs?: number | undefined;
5202
+ idempotencyKey?: string | undefined;
5345
5203
  pageSize?: number | undefined;
5346
5204
  maxItems?: number | undefined;
5347
5205
  cursor?: string | undefined;
@@ -5355,6 +5213,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5355
5213
  inputs?: Record<string, unknown> | undefined;
5356
5214
  timeoutSeconds?: number | undefined;
5357
5215
  timeoutMs?: number | undefined;
5216
+ idempotencyKey?: string | undefined;
5358
5217
  pageSize?: number | undefined;
5359
5218
  maxItems?: number | undefined;
5360
5219
  cursor?: string | undefined;
@@ -5375,6 +5234,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5375
5234
  inputs?: Record<string, unknown> | undefined;
5376
5235
  timeoutSeconds?: number | undefined;
5377
5236
  timeoutMs?: number | undefined;
5237
+ idempotencyKey?: string | undefined;
5378
5238
  pageSize?: number | undefined;
5379
5239
  maxItems?: number | undefined;
5380
5240
  cursor?: string | undefined;
@@ -5388,6 +5248,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5388
5248
  inputs?: Record<string, unknown> | undefined;
5389
5249
  timeoutSeconds?: number | undefined;
5390
5250
  timeoutMs?: number | undefined;
5251
+ idempotencyKey?: string | undefined;
5391
5252
  pageSize?: number | undefined;
5392
5253
  maxItems?: number | undefined;
5393
5254
  cursor?: string | undefined;
@@ -5402,6 +5263,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5402
5263
  inputs?: Record<string, unknown> | undefined;
5403
5264
  page?: string | undefined;
5404
5265
  callbackUrl?: string | undefined;
5266
+ idempotencyKey?: string | undefined;
5405
5267
  } & {
5406
5268
  skipOutputDataValidation?: boolean;
5407
5269
  }, Promise<{
@@ -5417,6 +5279,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5417
5279
  actionType: "filter" | "run" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write";
5418
5280
  inputs?: Record<string, unknown> | undefined;
5419
5281
  page?: string | undefined;
5282
+ idempotencyKey?: string | undefined;
5420
5283
  callbackUrl?: string | undefined;
5421
5284
  }> & _zapier_kitcore.LeafSummary<"", "createActionRun", readonly [_zapier_kitcore.PropertyPlugin<"connections", ConnectionsProvider> & _zapier_kitcore.DeclarationSummary<"zapier/connections", ConnectionsProvider> & _zapier_kitcore.StandInId<"zapier/connections">, _zapier_kitcore.PropertyPlugin<"manifest", ManifestProvider> & _zapier_kitcore.DeclarationSummary<"zapier/manifest", ManifestProvider> & _zapier_kitcore.StandInId<"zapier/manifest">, _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">, _zapier_kitcore.MethodPlugin<"getAction", ({
5422
5285
  app: string;
@@ -5555,6 +5418,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5555
5418
  inputs?: Record<string, unknown> | undefined;
5556
5419
  page?: string | undefined;
5557
5420
  callbackUrl?: string | undefined;
5421
+ idempotencyKey?: string | undefined;
5558
5422
  } & {
5559
5423
  skipOutputDataValidation?: boolean;
5560
5424
  }) => Promise<{
@@ -5573,6 +5437,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5573
5437
  inputs?: Record<string, unknown> | undefined;
5574
5438
  timeoutSeconds?: number | undefined;
5575
5439
  timeoutMs?: number | undefined;
5440
+ idempotencyKey?: string | undefined;
5576
5441
  pageSize?: number | undefined;
5577
5442
  maxItems?: number | undefined;
5578
5443
  cursor?: string | undefined;
@@ -5586,6 +5451,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
5586
5451
  inputs?: Record<string, unknown> | undefined;
5587
5452
  timeoutSeconds?: number | undefined;
5588
5453
  timeoutMs?: number | undefined;
5454
+ idempotencyKey?: string | undefined;
5589
5455
  pageSize?: number | undefined;
5590
5456
  maxItems?: number | undefined;
5591
5457
  cursor?: string | undefined;
@@ -7652,7 +7518,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7652
7518
  triggers: {
7653
7519
  selected_api: string;
7654
7520
  action: string;
7655
- status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
7521
+ status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
7656
7522
  authentication_id?: string | null | undefined;
7657
7523
  params?: Record<string, unknown> | undefined;
7658
7524
  error?: string | null | undefined;
@@ -7699,7 +7565,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7699
7565
  triggers: {
7700
7566
  selected_api: string;
7701
7567
  action: string;
7702
- status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
7568
+ status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
7703
7569
  authentication_id?: string | null | undefined;
7704
7570
  params?: Record<string, unknown> | undefined;
7705
7571
  error?: string | null | undefined;
@@ -7734,7 +7600,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7734
7600
  triggers: {
7735
7601
  selected_api: string;
7736
7602
  action: string;
7737
- status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
7603
+ status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
7738
7604
  authentication_id?: string | null | undefined;
7739
7605
  params?: Record<string, unknown> | undefined;
7740
7606
  error?: string | null | undefined;
@@ -7798,7 +7664,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7798
7664
  triggers: {
7799
7665
  selected_api: string;
7800
7666
  action: string;
7801
- status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
7667
+ status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
7802
7668
  authentication_id?: string | null | undefined;
7803
7669
  params?: Record<string, unknown> | undefined;
7804
7670
  error?: string | null | undefined;
@@ -7876,9 +7742,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7876
7742
  description?: string | undefined;
7877
7743
  name: string;
7878
7744
  is_private?: boolean | undefined;
7745
+ private?: boolean | undefined;
7879
7746
  creationHarness?: string | null | undefined;
7880
7747
  creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
7881
- private?: boolean | undefined;
7882
7748
  }> & _zapier_kitcore.LeafSummary<"", "createWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
7883
7749
  name: string;
7884
7750
  is_private?: boolean | undefined;
@@ -7929,7 +7795,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7929
7795
  triggers: {
7930
7796
  selected_api: string;
7931
7797
  action: string;
7932
- status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
7798
+ status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
7933
7799
  authentication_id?: string | null | undefined;
7934
7800
  params?: Record<string, unknown> | undefined;
7935
7801
  error?: string | null | undefined;
@@ -7997,9 +7863,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
7997
7863
  meta?: _zapier_kitcore.ResponseMeta;
7998
7864
  }>, readonly [], {
7999
7865
  name?: string | undefined;
7866
+ private?: boolean | undefined;
8000
7867
  creationHarness?: string | null | undefined;
8001
7868
  creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
8002
- private?: boolean | undefined;
8003
7869
  zap: string;
8004
7870
  }> & _zapier_kitcore.LeafSummary<"", "importWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
8005
7871
  zap: string;
@@ -8022,7 +7888,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8022
7888
  triggers: {
8023
7889
  selected_api: string;
8024
7890
  action: string;
8025
- status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
7891
+ status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
8026
7892
  authentication_id?: string | null | undefined;
8027
7893
  params?: Record<string, unknown> | undefined;
8028
7894
  error?: string | null | undefined;
@@ -8200,8 +8066,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8200
8066
  };
8201
8067
  }>>;
8202
8068
  } & {
8203
- listWorkflowVersions: _zapier_kitcore.MethodPlugin<"listWorkflowVersions", {
8204
- workflow: string;
8069
+ listDurableRuns: _zapier_kitcore.MethodPlugin<"listDurableRuns", {
8205
8070
  pageSize?: number | undefined;
8206
8071
  cursor?: string | undefined;
8207
8072
  maxItems?: number | undefined;
@@ -8214,39 +8079,26 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8214
8079
  skipOutputDataValidation?: boolean;
8215
8080
  }, _zapier_kitcore.PaginatedSdkResult<{
8216
8081
  id: string;
8217
- workflow_id: string;
8218
- zapier_durable_version: string;
8219
- dependencies: Record<string, string> | null;
8220
- created_by_user_id: string;
8221
- created_at: string;
8222
- trigger: {
8223
- selected_api: string;
8224
- action: string;
8225
- authentication_id?: string | null | undefined;
8226
- params?: Record<string, unknown> | undefined;
8082
+ status: string;
8083
+ input: unknown;
8084
+ output: unknown;
8085
+ error: {
8086
+ [x: string]: unknown;
8087
+ code: string;
8088
+ message: string;
8227
8089
  } | null;
8228
- connections: Record<string, {
8229
- connection_id: string | number;
8230
- }> | null;
8231
- app_versions: Record<string, {
8232
- implementation_name: string;
8233
- version?: string | undefined;
8234
- }> | null;
8235
- creation_client?: {
8236
- access_method: string;
8237
- harness?: string | null | undefined;
8238
- sdk_version?: string | null | undefined;
8239
- } | null | undefined;
8090
+ execution_id: string | null;
8091
+ is_private: boolean;
8092
+ created_at: string;
8093
+ updated_at: string;
8240
8094
  }>, readonly [], Omit<{
8241
- workflow: string;
8242
8095
  pageSize?: number | undefined;
8243
8096
  cursor?: string | undefined;
8244
8097
  maxItems?: number | undefined;
8245
8098
  }, "skipOutputDataValidation" | "maxItems"> & {
8246
8099
  cursor?: string;
8247
8100
  pageSize?: number;
8248
- }> & _zapier_kitcore.LeafSummary<"", "listWorkflowVersions", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
8249
- workflow: string;
8101
+ }> & _zapier_kitcore.LeafSummary<"", "listDurableRuns", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input?: ({
8250
8102
  pageSize?: number | undefined;
8251
8103
  cursor?: string | undefined;
8252
8104
  maxItems?: number | undefined;
@@ -8257,123 +8109,343 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8257
8109
  maxItems?: number;
8258
8110
  } & {
8259
8111
  skipOutputDataValidation?: boolean;
8260
- }) => _zapier_kitcore.PaginatedSdkResult<{
8112
+ }) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
8261
8113
  id: string;
8262
- workflow_id: string;
8263
- zapier_durable_version: string;
8264
- dependencies: Record<string, string> | null;
8265
- created_by_user_id: string;
8266
- created_at: string;
8267
- trigger: {
8268
- selected_api: string;
8269
- action: string;
8270
- authentication_id?: string | null | undefined;
8271
- params?: Record<string, unknown> | undefined;
8114
+ status: string;
8115
+ input: unknown;
8116
+ output: unknown;
8117
+ error: {
8118
+ [x: string]: unknown;
8119
+ code: string;
8120
+ message: string;
8272
8121
  } | null;
8273
- connections: Record<string, {
8274
- connection_id: string | number;
8275
- }> | null;
8276
- app_versions: Record<string, {
8277
- implementation_name: string;
8278
- version?: string | undefined;
8279
- }> | null;
8280
- creation_client?: {
8281
- access_method: string;
8282
- harness?: string | null | undefined;
8283
- sdk_version?: string | null | undefined;
8284
- } | null | undefined;
8122
+ execution_id: string | null;
8123
+ is_private: boolean;
8124
+ created_at: string;
8125
+ updated_at: string;
8285
8126
  }>>;
8286
8127
  } & {
8287
- getWorkflowVersion: _zapier_kitcore.MethodPlugin<"getWorkflowVersion", {
8288
- workflow: string;
8289
- version: string;
8128
+ getDurableRun: _zapier_kitcore.MethodPlugin<"getDurableRun", {
8129
+ run: string;
8290
8130
  } & {
8291
8131
  skipOutputDataValidation?: boolean;
8292
8132
  }, Promise<{
8293
8133
  data: {
8294
8134
  id: string;
8295
- workflow_id: string;
8296
- source_files: Record<string, string>;
8297
- zapier_durable_version: string;
8298
- dependencies: Record<string, string> | null;
8299
- created_by_user_id: string;
8300
- created_at: string;
8301
- trigger: {
8302
- selected_api: string;
8303
- action: string;
8304
- authentication_id?: string | null | undefined;
8305
- params?: Record<string, unknown> | undefined;
8135
+ status: string;
8136
+ input: unknown;
8137
+ output: unknown;
8138
+ error: {
8139
+ [x: string]: unknown;
8140
+ code: string;
8141
+ message: string;
8306
8142
  } | null;
8307
- connections: Record<string, {
8308
- connection_id: string | number;
8309
- }> | null;
8310
- app_versions: Record<string, {
8311
- implementation_name: string;
8312
- version?: string | undefined;
8313
- }> | null;
8314
- creation_client?: {
8315
- access_method: string;
8316
- harness?: string | null | undefined;
8317
- sdk_version?: string | null | undefined;
8318
- } | null | undefined;
8143
+ execution: {
8144
+ id: string;
8145
+ name: string;
8146
+ status: string;
8147
+ input: unknown;
8148
+ created_at: string;
8149
+ output?: unknown;
8150
+ error?: unknown;
8151
+ metadata?: Record<string, unknown> | undefined;
8152
+ summary?: {
8153
+ [x: string]: unknown;
8154
+ total_attempts: number;
8155
+ last_error?: {
8156
+ [x: string]: unknown;
8157
+ code: string;
8158
+ title: string;
8159
+ detail?: string | null | undefined;
8160
+ } | null | undefined;
8161
+ } | null | undefined;
8162
+ operations?: {
8163
+ id: string;
8164
+ execution_id: string;
8165
+ name: string;
8166
+ type: string;
8167
+ status: string;
8168
+ retry_count: number;
8169
+ created_at: string;
8170
+ result?: unknown;
8171
+ error?: unknown;
8172
+ max_attempts?: number | undefined;
8173
+ next_retry_at?: string | null | undefined;
8174
+ resume_at?: string | null | undefined;
8175
+ callback_token?: string | null | undefined;
8176
+ payload_schema?: unknown;
8177
+ payload?: unknown;
8178
+ expires_at?: string | null | undefined;
8179
+ timeout_seconds?: number | null | undefined;
8180
+ completed_at?: string | null | undefined;
8181
+ }[] | undefined;
8182
+ } | null;
8183
+ is_private: boolean;
8184
+ created_at: string;
8185
+ updated_at: string;
8319
8186
  };
8320
8187
  meta?: _zapier_kitcore.ResponseMeta;
8321
8188
  }>, readonly [], {
8322
- version: string;
8323
- workflow: string;
8324
- }> & _zapier_kitcore.LeafSummary<"", "getWorkflowVersion", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
8325
- workflow: string;
8326
- version: string;
8189
+ run: string;
8190
+ }> & _zapier_kitcore.LeafSummary<"", "getDurableRun", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
8191
+ run: string;
8327
8192
  } & {
8328
8193
  skipOutputDataValidation?: boolean;
8329
8194
  }) => Promise<{
8330
8195
  data: {
8331
8196
  id: string;
8332
- workflow_id: string;
8333
- source_files: Record<string, string>;
8334
- zapier_durable_version: string;
8335
- dependencies: Record<string, string> | null;
8336
- created_by_user_id: string;
8337
- created_at: string;
8338
- trigger: {
8339
- selected_api: string;
8340
- action: string;
8341
- authentication_id?: string | null | undefined;
8342
- params?: Record<string, unknown> | undefined;
8197
+ status: string;
8198
+ input: unknown;
8199
+ output: unknown;
8200
+ error: {
8201
+ [x: string]: unknown;
8202
+ code: string;
8203
+ message: string;
8343
8204
  } | null;
8344
- connections: Record<string, {
8345
- connection_id: string | number;
8346
- }> | null;
8347
- app_versions: Record<string, {
8348
- implementation_name: string;
8349
- version?: string | undefined;
8350
- }> | null;
8351
- creation_client?: {
8352
- access_method: string;
8353
- harness?: string | null | undefined;
8354
- sdk_version?: string | null | undefined;
8355
- } | null | undefined;
8205
+ execution: {
8206
+ id: string;
8207
+ name: string;
8208
+ status: string;
8209
+ input: unknown;
8210
+ created_at: string;
8211
+ output?: unknown;
8212
+ error?: unknown;
8213
+ metadata?: Record<string, unknown> | undefined;
8214
+ summary?: {
8215
+ [x: string]: unknown;
8216
+ total_attempts: number;
8217
+ last_error?: {
8218
+ [x: string]: unknown;
8219
+ code: string;
8220
+ title: string;
8221
+ detail?: string | null | undefined;
8222
+ } | null | undefined;
8223
+ } | null | undefined;
8224
+ operations?: {
8225
+ id: string;
8226
+ execution_id: string;
8227
+ name: string;
8228
+ type: string;
8229
+ status: string;
8230
+ retry_count: number;
8231
+ created_at: string;
8232
+ result?: unknown;
8233
+ error?: unknown;
8234
+ max_attempts?: number | undefined;
8235
+ next_retry_at?: string | null | undefined;
8236
+ resume_at?: string | null | undefined;
8237
+ callback_token?: string | null | undefined;
8238
+ payload_schema?: unknown;
8239
+ payload?: unknown;
8240
+ expires_at?: string | null | undefined;
8241
+ timeout_seconds?: number | null | undefined;
8242
+ completed_at?: string | null | undefined;
8243
+ }[] | undefined;
8244
+ } | null;
8245
+ is_private: boolean;
8246
+ created_at: string;
8247
+ updated_at: string;
8356
8248
  };
8357
8249
  meta?: _zapier_kitcore.ResponseMeta;
8358
8250
  }>>;
8359
8251
  } & {
8360
- publishWorkflowVersion: _zapier_kitcore.MethodPlugin<"publishWorkflowVersion", ({
8361
- workflow: string;
8252
+ runDurable: _zapier_kitcore.MethodPlugin<"runDurable", ({
8362
8253
  sourceFiles: Record<string, string>;
8254
+ input?: unknown;
8363
8255
  dependencies?: Record<string, string> | undefined;
8364
8256
  zapierDurableVersion?: string | undefined;
8365
8257
  zapier_durable_version?: string | undefined;
8366
- enabled?: boolean | undefined;
8367
- ignoreOpenDrafts?: boolean | undefined;
8368
8258
  connections?: Record<string, {
8369
8259
  connectionId?: string | number | undefined;
8370
8260
  connection_id?: string | number | undefined;
8371
- }> | null | undefined;
8261
+ }> | undefined;
8372
8262
  appVersions?: Record<string, {
8373
8263
  implementationName?: string | undefined;
8374
8264
  implementation_name?: string | undefined;
8375
8265
  version?: string | undefined;
8376
- }> | null | undefined;
8266
+ }> | undefined;
8267
+ app_versions?: Record<string, {
8268
+ implementationName?: string | undefined;
8269
+ implementation_name?: string | undefined;
8270
+ version?: string | undefined;
8271
+ }> | undefined;
8272
+ private?: boolean | undefined;
8273
+ notifications?: {
8274
+ url: string;
8275
+ events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
8276
+ type?: "webhook" | undefined;
8277
+ max_retries?: number | undefined;
8278
+ }[] | undefined;
8279
+ } | {
8280
+ source_files: Record<string, string>;
8281
+ input?: unknown;
8282
+ dependencies?: Record<string, string> | undefined;
8283
+ zapierDurableVersion?: string | undefined;
8284
+ zapier_durable_version?: string | undefined;
8285
+ connections?: Record<string, {
8286
+ connectionId?: string | number | undefined;
8287
+ connection_id?: string | number | undefined;
8288
+ }> | undefined;
8289
+ appVersions?: Record<string, {
8290
+ implementationName?: string | undefined;
8291
+ implementation_name?: string | undefined;
8292
+ version?: string | undefined;
8293
+ }> | undefined;
8294
+ app_versions?: Record<string, {
8295
+ implementationName?: string | undefined;
8296
+ implementation_name?: string | undefined;
8297
+ version?: string | undefined;
8298
+ }> | undefined;
8299
+ private?: boolean | undefined;
8300
+ notifications?: {
8301
+ url: string;
8302
+ events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
8303
+ type?: "webhook" | undefined;
8304
+ max_retries?: number | undefined;
8305
+ }[] | undefined;
8306
+ }) & {
8307
+ skipOutputDataValidation?: boolean;
8308
+ }, Promise<{
8309
+ data: {
8310
+ id: string;
8311
+ status: "initialized";
8312
+ is_private: boolean;
8313
+ created_at: string;
8314
+ };
8315
+ meta?: _zapier_kitcore.ResponseMeta;
8316
+ }>, readonly [], {
8317
+ input?: unknown;
8318
+ connections?: Record<string, {
8319
+ connectionId?: string | number | undefined;
8320
+ connection_id?: string | number | undefined;
8321
+ }> | undefined;
8322
+ zapier_durable_version?: string | undefined;
8323
+ dependencies?: Record<string, string> | undefined;
8324
+ app_versions?: Record<string, {
8325
+ implementationName?: string | undefined;
8326
+ implementation_name?: string | undefined;
8327
+ version?: string | undefined;
8328
+ }> | undefined;
8329
+ private?: boolean | undefined;
8330
+ zapierDurableVersion?: string | undefined;
8331
+ appVersions?: Record<string, {
8332
+ implementationName?: string | undefined;
8333
+ implementation_name?: string | undefined;
8334
+ version?: string | undefined;
8335
+ }> | undefined;
8336
+ notifications?: {
8337
+ url: string;
8338
+ events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
8339
+ type?: "webhook" | undefined;
8340
+ max_retries?: number | undefined;
8341
+ }[] | undefined;
8342
+ }> & _zapier_kitcore.LeafSummary<"", "runDurable", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: ({
8343
+ sourceFiles: Record<string, string>;
8344
+ input?: unknown;
8345
+ dependencies?: Record<string, string> | undefined;
8346
+ zapierDurableVersion?: string | undefined;
8347
+ zapier_durable_version?: string | undefined;
8348
+ connections?: Record<string, {
8349
+ connectionId?: string | number | undefined;
8350
+ connection_id?: string | number | undefined;
8351
+ }> | undefined;
8352
+ appVersions?: Record<string, {
8353
+ implementationName?: string | undefined;
8354
+ implementation_name?: string | undefined;
8355
+ version?: string | undefined;
8356
+ }> | undefined;
8357
+ app_versions?: Record<string, {
8358
+ implementationName?: string | undefined;
8359
+ implementation_name?: string | undefined;
8360
+ version?: string | undefined;
8361
+ }> | undefined;
8362
+ private?: boolean | undefined;
8363
+ notifications?: {
8364
+ url: string;
8365
+ events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
8366
+ type?: "webhook" | undefined;
8367
+ max_retries?: number | undefined;
8368
+ }[] | undefined;
8369
+ } | {
8370
+ source_files: Record<string, string>;
8371
+ input?: unknown;
8372
+ dependencies?: Record<string, string> | undefined;
8373
+ zapierDurableVersion?: string | undefined;
8374
+ zapier_durable_version?: string | undefined;
8375
+ connections?: Record<string, {
8376
+ connectionId?: string | number | undefined;
8377
+ connection_id?: string | number | undefined;
8378
+ }> | undefined;
8379
+ appVersions?: Record<string, {
8380
+ implementationName?: string | undefined;
8381
+ implementation_name?: string | undefined;
8382
+ version?: string | undefined;
8383
+ }> | undefined;
8384
+ app_versions?: Record<string, {
8385
+ implementationName?: string | undefined;
8386
+ implementation_name?: string | undefined;
8387
+ version?: string | undefined;
8388
+ }> | undefined;
8389
+ private?: boolean | undefined;
8390
+ notifications?: {
8391
+ url: string;
8392
+ events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
8393
+ type?: "webhook" | undefined;
8394
+ max_retries?: number | undefined;
8395
+ }[] | undefined;
8396
+ }) & {
8397
+ skipOutputDataValidation?: boolean;
8398
+ }) => Promise<{
8399
+ data: {
8400
+ id: string;
8401
+ status: "initialized";
8402
+ is_private: boolean;
8403
+ created_at: string;
8404
+ };
8405
+ meta?: _zapier_kitcore.ResponseMeta;
8406
+ }>>;
8407
+ } & {
8408
+ cancelDurableRun: _zapier_kitcore.MethodPlugin<"cancelDurableRun", {
8409
+ run: string;
8410
+ } & {
8411
+ skipOutputDataValidation?: boolean;
8412
+ }, Promise<{
8413
+ data: {
8414
+ id: string;
8415
+ status: "cancelled";
8416
+ };
8417
+ meta?: _zapier_kitcore.ResponseMeta;
8418
+ }>, readonly [], {
8419
+ run: string;
8420
+ }> & _zapier_kitcore.LeafSummary<"", "cancelDurableRun", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
8421
+ run: string;
8422
+ } & {
8423
+ skipOutputDataValidation?: boolean;
8424
+ }) => Promise<{
8425
+ data: {
8426
+ id: string;
8427
+ status: "cancelled";
8428
+ };
8429
+ meta?: _zapier_kitcore.ResponseMeta;
8430
+ }>>;
8431
+ } & {
8432
+ publishWorkflowVersion: _zapier_kitcore.MethodPlugin<"publishWorkflowVersion", ({
8433
+ workflow: string;
8434
+ sourceFiles: Record<string, string>;
8435
+ dependencies?: Record<string, string> | undefined;
8436
+ zapierDurableVersion?: string | undefined;
8437
+ zapier_durable_version?: string | undefined;
8438
+ enabled?: boolean | undefined;
8439
+ ignoreOpenDrafts?: boolean | undefined;
8440
+ connections?: Record<string, {
8441
+ connectionId?: string | number | undefined;
8442
+ connection_id?: string | number | undefined;
8443
+ }> | null | undefined;
8444
+ appVersions?: Record<string, {
8445
+ implementationName?: string | undefined;
8446
+ implementation_name?: string | undefined;
8447
+ version?: string | undefined;
8448
+ }> | null | undefined;
8377
8449
  app_versions?: Record<string, {
8378
8450
  implementationName?: string | undefined;
8379
8451
  implementation_name?: string | undefined;
@@ -8464,7 +8536,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8464
8536
  params?: Record<string, unknown> | undefined;
8465
8537
  } | undefined;
8466
8538
  enabled?: boolean | undefined;
8467
- manual?: boolean | undefined;
8539
+ workflow: string;
8468
8540
  zapier_durable_version?: string | undefined;
8469
8541
  dependencies?: Record<string, string> | undefined;
8470
8542
  app_versions?: Record<string, {
@@ -8472,7 +8544,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8472
8544
  implementation_name?: string | undefined;
8473
8545
  version?: string | undefined;
8474
8546
  }> | null | undefined;
8475
- workflow: string;
8476
8547
  zapierDurableVersion?: string | undefined;
8477
8548
  appVersions?: Record<string, {
8478
8549
  implementationName?: string | undefined;
@@ -8480,6 +8551,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8480
8551
  version?: string | undefined;
8481
8552
  }> | null | undefined;
8482
8553
  ignoreOpenDrafts?: boolean | undefined;
8554
+ manual?: boolean | undefined;
8483
8555
  }> & _zapier_kitcore.LeafSummary<"", "publishWorkflowVersion", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: ({
8484
8556
  workflow: string;
8485
8557
  sourceFiles: Record<string, string>;
@@ -8575,10 +8647,8 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8575
8647
  meta?: _zapier_kitcore.ResponseMeta;
8576
8648
  }>>;
8577
8649
  } & {
8578
- listWorkflowDrafts: _zapier_kitcore.MethodPlugin<"listWorkflowDrafts", {
8650
+ listWorkflowVersions: _zapier_kitcore.MethodPlugin<"listWorkflowVersions", {
8579
8651
  workflow: string;
8580
- status?: "open" | "discarded" | undefined;
8581
- slug?: string | undefined;
8582
8652
  pageSize?: number | undefined;
8583
8653
  cursor?: string | undefined;
8584
8654
  maxItems?: number | undefined;
@@ -8592,36 +8662,38 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8592
8662
  }, _zapier_kitcore.PaginatedSdkResult<{
8593
8663
  id: string;
8594
8664
  workflow_id: string;
8595
- slug: string;
8596
- base_version_id: string | null;
8597
- status: "open" | "discarded";
8598
- last_edited_by_user_id: string | null;
8599
- last_edited_at: string | null;
8665
+ zapier_durable_version: string;
8666
+ dependencies: Record<string, string> | null;
8667
+ created_by_user_id: string;
8600
8668
  created_at: string;
8669
+ trigger: {
8670
+ selected_api: string;
8671
+ action: string;
8672
+ authentication_id?: string | null | undefined;
8673
+ params?: Record<string, unknown> | undefined;
8674
+ } | null;
8675
+ connections: Record<string, {
8676
+ connection_id: string | number;
8677
+ }> | null;
8678
+ app_versions: Record<string, {
8679
+ implementation_name: string;
8680
+ version?: string | undefined;
8681
+ }> | null;
8601
8682
  creation_client?: {
8602
8683
  access_method: string;
8603
8684
  harness?: string | null | undefined;
8604
8685
  sdk_version?: string | null | undefined;
8605
8686
  } | null | undefined;
8606
- last_edited_client?: {
8607
- access_method: string;
8608
- harness?: string | null | undefined;
8609
- sdk_version?: string | null | undefined;
8610
- } | null | undefined;
8611
8687
  }>, readonly [], Omit<{
8612
8688
  workflow: string;
8613
- status?: "open" | "discarded" | undefined;
8614
- slug?: string | undefined;
8615
8689
  pageSize?: number | undefined;
8616
8690
  cursor?: string | undefined;
8617
8691
  maxItems?: number | undefined;
8618
8692
  }, "skipOutputDataValidation" | "maxItems"> & {
8619
8693
  cursor?: string;
8620
8694
  pageSize?: number;
8621
- }> & _zapier_kitcore.LeafSummary<"", "listWorkflowDrafts", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
8695
+ }> & _zapier_kitcore.LeafSummary<"", "listWorkflowVersions", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
8622
8696
  workflow: string;
8623
- status?: "open" | "discarded" | undefined;
8624
- slug?: string | undefined;
8625
8697
  pageSize?: number | undefined;
8626
8698
  cursor?: string | undefined;
8627
8699
  maxItems?: number | undefined;
@@ -8635,39 +8707,196 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8635
8707
  }) => _zapier_kitcore.PaginatedSdkResult<{
8636
8708
  id: string;
8637
8709
  workflow_id: string;
8638
- slug: string;
8639
- base_version_id: string | null;
8640
- status: "open" | "discarded";
8641
- last_edited_by_user_id: string | null;
8642
- last_edited_at: string | null;
8710
+ zapier_durable_version: string;
8711
+ dependencies: Record<string, string> | null;
8712
+ created_by_user_id: string;
8643
8713
  created_at: string;
8714
+ trigger: {
8715
+ selected_api: string;
8716
+ action: string;
8717
+ authentication_id?: string | null | undefined;
8718
+ params?: Record<string, unknown> | undefined;
8719
+ } | null;
8720
+ connections: Record<string, {
8721
+ connection_id: string | number;
8722
+ }> | null;
8723
+ app_versions: Record<string, {
8724
+ implementation_name: string;
8725
+ version?: string | undefined;
8726
+ }> | null;
8644
8727
  creation_client?: {
8645
8728
  access_method: string;
8646
8729
  harness?: string | null | undefined;
8647
8730
  sdk_version?: string | null | undefined;
8648
8731
  } | null | undefined;
8649
- last_edited_client?: {
8650
- access_method: string;
8651
- harness?: string | null | undefined;
8652
- sdk_version?: string | null | undefined;
8653
- } | null | undefined;
8654
8732
  }>>;
8655
8733
  } & {
8656
- getWorkflowDraft: _zapier_kitcore.MethodPlugin<"getWorkflowDraft", {
8734
+ getWorkflowVersion: _zapier_kitcore.MethodPlugin<"getWorkflowVersion", {
8657
8735
  workflow: string;
8658
- draft: string;
8736
+ version: string;
8659
8737
  } & {
8660
8738
  skipOutputDataValidation?: boolean;
8661
8739
  }, Promise<{
8662
8740
  data: {
8663
8741
  id: string;
8664
8742
  workflow_id: string;
8665
- slug: string;
8666
- base_version_id: string | null;
8667
8743
  source_files: Record<string, string>;
8668
8744
  zapier_durable_version: string;
8669
8745
  dependencies: Record<string, string> | null;
8670
- draft_revision: number;
8746
+ created_by_user_id: string;
8747
+ created_at: string;
8748
+ trigger: {
8749
+ selected_api: string;
8750
+ action: string;
8751
+ authentication_id?: string | null | undefined;
8752
+ params?: Record<string, unknown> | undefined;
8753
+ } | null;
8754
+ connections: Record<string, {
8755
+ connection_id: string | number;
8756
+ }> | null;
8757
+ app_versions: Record<string, {
8758
+ implementation_name: string;
8759
+ version?: string | undefined;
8760
+ }> | null;
8761
+ creation_client?: {
8762
+ access_method: string;
8763
+ harness?: string | null | undefined;
8764
+ sdk_version?: string | null | undefined;
8765
+ } | null | undefined;
8766
+ };
8767
+ meta?: _zapier_kitcore.ResponseMeta;
8768
+ }>, readonly [], {
8769
+ version: string;
8770
+ workflow: string;
8771
+ }> & _zapier_kitcore.LeafSummary<"", "getWorkflowVersion", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
8772
+ workflow: string;
8773
+ version: string;
8774
+ } & {
8775
+ skipOutputDataValidation?: boolean;
8776
+ }) => Promise<{
8777
+ data: {
8778
+ id: string;
8779
+ workflow_id: string;
8780
+ source_files: Record<string, string>;
8781
+ zapier_durable_version: string;
8782
+ dependencies: Record<string, string> | null;
8783
+ created_by_user_id: string;
8784
+ created_at: string;
8785
+ trigger: {
8786
+ selected_api: string;
8787
+ action: string;
8788
+ authentication_id?: string | null | undefined;
8789
+ params?: Record<string, unknown> | undefined;
8790
+ } | null;
8791
+ connections: Record<string, {
8792
+ connection_id: string | number;
8793
+ }> | null;
8794
+ app_versions: Record<string, {
8795
+ implementation_name: string;
8796
+ version?: string | undefined;
8797
+ }> | null;
8798
+ creation_client?: {
8799
+ access_method: string;
8800
+ harness?: string | null | undefined;
8801
+ sdk_version?: string | null | undefined;
8802
+ } | null | undefined;
8803
+ };
8804
+ meta?: _zapier_kitcore.ResponseMeta;
8805
+ }>>;
8806
+ } & {
8807
+ listWorkflowDrafts: _zapier_kitcore.MethodPlugin<"listWorkflowDrafts", {
8808
+ workflow: string;
8809
+ status?: "open" | "discarded" | undefined;
8810
+ slug?: string | undefined;
8811
+ pageSize?: number | undefined;
8812
+ cursor?: string | undefined;
8813
+ maxItems?: number | undefined;
8814
+ } & {
8815
+ cursor?: string;
8816
+ pageSize?: number;
8817
+ } & {
8818
+ maxItems?: number;
8819
+ } & {
8820
+ skipOutputDataValidation?: boolean;
8821
+ }, _zapier_kitcore.PaginatedSdkResult<{
8822
+ id: string;
8823
+ workflow_id: string;
8824
+ slug: string;
8825
+ base_version_id: string | null;
8826
+ status: "open" | "discarded";
8827
+ last_edited_by_user_id: string | null;
8828
+ last_edited_at: string | null;
8829
+ created_at: string;
8830
+ creation_client?: {
8831
+ access_method: string;
8832
+ harness?: string | null | undefined;
8833
+ sdk_version?: string | null | undefined;
8834
+ } | null | undefined;
8835
+ last_edited_client?: {
8836
+ access_method: string;
8837
+ harness?: string | null | undefined;
8838
+ sdk_version?: string | null | undefined;
8839
+ } | null | undefined;
8840
+ }>, readonly [], Omit<{
8841
+ workflow: string;
8842
+ status?: "open" | "discarded" | undefined;
8843
+ slug?: string | undefined;
8844
+ pageSize?: number | undefined;
8845
+ cursor?: string | undefined;
8846
+ maxItems?: number | undefined;
8847
+ }, "skipOutputDataValidation" | "maxItems"> & {
8848
+ cursor?: string;
8849
+ pageSize?: number;
8850
+ }> & _zapier_kitcore.LeafSummary<"", "listWorkflowDrafts", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
8851
+ workflow: string;
8852
+ status?: "open" | "discarded" | undefined;
8853
+ slug?: string | undefined;
8854
+ pageSize?: number | undefined;
8855
+ cursor?: string | undefined;
8856
+ maxItems?: number | undefined;
8857
+ } & {
8858
+ cursor?: string;
8859
+ pageSize?: number;
8860
+ } & {
8861
+ maxItems?: number;
8862
+ } & {
8863
+ skipOutputDataValidation?: boolean;
8864
+ }) => _zapier_kitcore.PaginatedSdkResult<{
8865
+ id: string;
8866
+ workflow_id: string;
8867
+ slug: string;
8868
+ base_version_id: string | null;
8869
+ status: "open" | "discarded";
8870
+ last_edited_by_user_id: string | null;
8871
+ last_edited_at: string | null;
8872
+ created_at: string;
8873
+ creation_client?: {
8874
+ access_method: string;
8875
+ harness?: string | null | undefined;
8876
+ sdk_version?: string | null | undefined;
8877
+ } | null | undefined;
8878
+ last_edited_client?: {
8879
+ access_method: string;
8880
+ harness?: string | null | undefined;
8881
+ sdk_version?: string | null | undefined;
8882
+ } | null | undefined;
8883
+ }>>;
8884
+ } & {
8885
+ getWorkflowDraft: _zapier_kitcore.MethodPlugin<"getWorkflowDraft", {
8886
+ workflow: string;
8887
+ draft: string;
8888
+ } & {
8889
+ skipOutputDataValidation?: boolean;
8890
+ }, Promise<{
8891
+ data: {
8892
+ id: string;
8893
+ workflow_id: string;
8894
+ slug: string;
8895
+ base_version_id: string | null;
8896
+ source_files: Record<string, string>;
8897
+ zapier_durable_version: string;
8898
+ dependencies: Record<string, string> | null;
8899
+ draft_revision: number;
8671
8900
  status: "open" | "discarded";
8672
8901
  created_by_user_id: string;
8673
8902
  last_edited_by_user_id: string | null;
@@ -8803,9 +9032,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8803
9032
  meta?: _zapier_kitcore.ResponseMeta;
8804
9033
  }>, readonly [], {
8805
9034
  slug?: string | undefined;
9035
+ workflow: string;
8806
9036
  creationHarness?: string | null | undefined;
8807
9037
  creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
8808
- workflow: string;
8809
9038
  }> & _zapier_kitcore.LeafSummary<"", "createWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
8810
9039
  workflow: string;
8811
9040
  creationHarness?: string | null | undefined;
@@ -8941,19 +9170,19 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
8941
9170
  authentication_id?: string | null | undefined;
8942
9171
  params?: Record<string, unknown> | undefined;
8943
9172
  } | null | undefined;
8944
- manual?: boolean | undefined;
9173
+ workflow: string;
9174
+ dependencies?: Record<string, string> | undefined;
8945
9175
  creationHarness?: string | null | undefined;
8946
9176
  creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
8947
- dependencies?: Record<string, string> | undefined;
8948
- workflow: string;
8949
9177
  draft: string;
9178
+ sourceFiles: Record<string, string>;
8950
9179
  zapierDurableVersion?: string | undefined;
8951
9180
  appVersions?: Record<string, {
8952
9181
  implementationName?: string | undefined;
8953
9182
  implementation_name?: string | undefined;
8954
9183
  version?: string | undefined;
8955
9184
  }> | null | undefined;
8956
- sourceFiles: Record<string, string>;
9185
+ manual?: boolean | undefined;
8957
9186
  draftRevision?: number | undefined;
8958
9187
  }> & _zapier_kitcore.LeafSummary<"", "updateWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
8959
9188
  workflow: string;
@@ -9210,11 +9439,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
9210
9439
  meta?: _zapier_kitcore.ResponseMeta;
9211
9440
  }>, readonly [], {
9212
9441
  enabled?: boolean | undefined;
9213
- manual?: boolean | undefined;
9442
+ workflow: string;
9214
9443
  creationHarness?: string | null | undefined;
9215
9444
  creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
9216
- workflow: string;
9217
9445
  draft: string;
9446
+ manual?: boolean | undefined;
9218
9447
  draftRevision?: number | undefined;
9219
9448
  }> & _zapier_kitcore.LeafSummary<"", "publishWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
9220
9449
  workflow: string;
@@ -9304,6 +9533,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
9304
9533
  draft: string;
9305
9534
  draftRevision: number;
9306
9535
  input?: unknown;
9536
+ waitSeconds?: number | undefined;
9307
9537
  } & {
9308
9538
  skipOutputDataValidation?: boolean;
9309
9539
  }, Promise<{
@@ -9327,11 +9557,87 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
9327
9557
  workflow: string;
9328
9558
  draft: string;
9329
9559
  draftRevision: number;
9330
- }> & _zapier_kitcore.LeafSummary<"", "runWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
9560
+ waitSeconds?: number | undefined;
9561
+ }> & _zapier_kitcore.LeafSummary<"", "runWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">, _zapier_kitcore.MethodPlugin<"getWorkflowRun", {
9562
+ run: string;
9563
+ workflow?: string | undefined;
9564
+ waitSeconds?: number | undefined;
9565
+ } & {
9566
+ skipOutputDataValidation?: boolean;
9567
+ }, Promise<{
9568
+ data: {
9569
+ id: string;
9570
+ workflow_id: string;
9571
+ durable_run_id: string | null;
9572
+ status: string;
9573
+ input: unknown;
9574
+ output: unknown;
9575
+ error: unknown;
9576
+ created_at: string;
9577
+ updated_at: string;
9578
+ kind: "live";
9579
+ trigger_id: string | null;
9580
+ workflow_version_id: string | null;
9581
+ } | {
9582
+ id: string;
9583
+ workflow_id: string;
9584
+ durable_run_id: string | null;
9585
+ status: string;
9586
+ input: unknown;
9587
+ output: unknown;
9588
+ error: unknown;
9589
+ created_at: string;
9590
+ updated_at: string;
9591
+ kind: "draft";
9592
+ workflow_draft_id: string | null;
9593
+ draft_revision: number;
9594
+ };
9595
+ meta?: _zapier_kitcore.ResponseMeta;
9596
+ }>, readonly [], {
9597
+ run: string;
9598
+ workflow?: string | undefined;
9599
+ waitSeconds?: number | undefined;
9600
+ }> & _zapier_kitcore.LeafSummary<"", "getWorkflowRun", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
9601
+ run: string;
9602
+ workflow?: string | undefined;
9603
+ waitSeconds?: number | undefined;
9604
+ } & {
9605
+ skipOutputDataValidation?: boolean;
9606
+ }) => Promise<{
9607
+ data: {
9608
+ id: string;
9609
+ workflow_id: string;
9610
+ durable_run_id: string | null;
9611
+ status: string;
9612
+ input: unknown;
9613
+ output: unknown;
9614
+ error: unknown;
9615
+ created_at: string;
9616
+ updated_at: string;
9617
+ kind: "live";
9618
+ trigger_id: string | null;
9619
+ workflow_version_id: string | null;
9620
+ } | {
9621
+ id: string;
9622
+ workflow_id: string;
9623
+ durable_run_id: string | null;
9624
+ status: string;
9625
+ input: unknown;
9626
+ output: unknown;
9627
+ error: unknown;
9628
+ created_at: string;
9629
+ updated_at: string;
9630
+ kind: "draft";
9631
+ workflow_draft_id: string | null;
9632
+ draft_revision: number;
9633
+ };
9634
+ meta?: _zapier_kitcore.ResponseMeta;
9635
+ }>>], (input: {
9331
9636
  workflow: string;
9332
9637
  draft: string;
9333
9638
  draftRevision: number;
9334
9639
  input?: unknown;
9640
+ waitSeconds?: number | undefined;
9335
9641
  } & {
9336
9642
  skipOutputDataValidation?: boolean;
9337
9643
  }) => Promise<{
@@ -9436,6 +9742,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
9436
9742
  getWorkflowRun: _zapier_kitcore.MethodPlugin<"getWorkflowRun", {
9437
9743
  run: string;
9438
9744
  workflow?: string | undefined;
9745
+ waitSeconds?: number | undefined;
9439
9746
  } & {
9440
9747
  skipOutputDataValidation?: boolean;
9441
9748
  }, Promise<{
@@ -9461,415 +9768,148 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
9461
9768
  output: unknown;
9462
9769
  error: unknown;
9463
9770
  created_at: string;
9464
- updated_at: string;
9465
- kind: "draft";
9466
- workflow_draft_id: string | null;
9467
- draft_revision: number;
9468
- };
9469
- meta?: _zapier_kitcore.ResponseMeta;
9470
- }>, readonly [], {
9471
- run: string;
9472
- workflow?: string | undefined;
9473
- }> & _zapier_kitcore.LeafSummary<"", "getWorkflowRun", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
9474
- run: string;
9475
- workflow?: string | undefined;
9476
- } & {
9477
- skipOutputDataValidation?: boolean;
9478
- }) => Promise<{
9479
- data: {
9480
- id: string;
9481
- workflow_id: string;
9482
- durable_run_id: string | null;
9483
- status: string;
9484
- input: unknown;
9485
- output: unknown;
9486
- error: unknown;
9487
- created_at: string;
9488
- updated_at: string;
9489
- kind: "live";
9490
- trigger_id: string | null;
9491
- workflow_version_id: string | null;
9492
- } | {
9493
- id: string;
9494
- workflow_id: string;
9495
- durable_run_id: string | null;
9496
- status: string;
9497
- input: unknown;
9498
- output: unknown;
9499
- error: unknown;
9500
- created_at: string;
9501
- updated_at: string;
9502
- kind: "draft";
9503
- workflow_draft_id: string | null;
9504
- draft_revision: number;
9505
- };
9506
- meta?: _zapier_kitcore.ResponseMeta;
9507
- }>>;
9508
- } & {
9509
- listDurableRuns: _zapier_kitcore.MethodPlugin<"listDurableRuns", {
9510
- pageSize?: number | undefined;
9511
- cursor?: string | undefined;
9512
- maxItems?: number | undefined;
9513
- } & {
9514
- cursor?: string;
9515
- pageSize?: number;
9516
- } & {
9517
- maxItems?: number;
9518
- } & {
9519
- skipOutputDataValidation?: boolean;
9520
- }, _zapier_kitcore.PaginatedSdkResult<{
9521
- id: string;
9522
- status: string;
9523
- input: unknown;
9524
- output: unknown;
9525
- error: {
9526
- [x: string]: unknown;
9527
- code: string;
9528
- message: string;
9529
- } | null;
9530
- execution_id: string | null;
9531
- is_private: boolean;
9532
- created_at: string;
9533
- updated_at: string;
9534
- }>, readonly [], Omit<{
9535
- pageSize?: number | undefined;
9536
- cursor?: string | undefined;
9537
- maxItems?: number | undefined;
9538
- }, "skipOutputDataValidation" | "maxItems"> & {
9539
- cursor?: string;
9540
- pageSize?: number;
9541
- }> & _zapier_kitcore.LeafSummary<"", "listDurableRuns", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input?: ({
9542
- pageSize?: number | undefined;
9543
- cursor?: string | undefined;
9544
- maxItems?: number | undefined;
9545
- } & {
9546
- cursor?: string;
9547
- pageSize?: number;
9548
- } & {
9549
- maxItems?: number;
9550
- } & {
9551
- skipOutputDataValidation?: boolean;
9552
- }) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
9553
- id: string;
9554
- status: string;
9555
- input: unknown;
9556
- output: unknown;
9557
- error: {
9558
- [x: string]: unknown;
9559
- code: string;
9560
- message: string;
9561
- } | null;
9562
- execution_id: string | null;
9563
- is_private: boolean;
9564
- created_at: string;
9565
- updated_at: string;
9566
- }>>;
9567
- } & {
9568
- getDurableRun: _zapier_kitcore.MethodPlugin<"getDurableRun", {
9569
- run: string;
9570
- } & {
9571
- skipOutputDataValidation?: boolean;
9572
- }, Promise<{
9573
- data: {
9574
- id: string;
9575
- status: string;
9576
- input: unknown;
9577
- output: unknown;
9578
- error: {
9579
- [x: string]: unknown;
9580
- code: string;
9581
- message: string;
9582
- } | null;
9583
- execution: {
9584
- id: string;
9585
- name: string;
9586
- status: string;
9587
- input: unknown;
9588
- created_at: string;
9589
- output?: unknown;
9590
- error?: unknown;
9591
- metadata?: Record<string, unknown> | undefined;
9592
- summary?: {
9593
- [x: string]: unknown;
9594
- total_attempts: number;
9595
- last_error?: {
9596
- [x: string]: unknown;
9597
- code: string;
9598
- title: string;
9599
- detail?: string | null | undefined;
9600
- } | null | undefined;
9601
- } | null | undefined;
9602
- operations?: {
9603
- id: string;
9604
- execution_id: string;
9605
- name: string;
9606
- type: string;
9607
- status: string;
9608
- retry_count: number;
9609
- created_at: string;
9610
- result?: unknown;
9611
- error?: unknown;
9612
- max_attempts?: number | undefined;
9613
- next_retry_at?: string | null | undefined;
9614
- resume_at?: string | null | undefined;
9615
- callback_token?: string | null | undefined;
9616
- payload_schema?: unknown;
9617
- payload?: unknown;
9618
- expires_at?: string | null | undefined;
9619
- timeout_seconds?: number | null | undefined;
9620
- completed_at?: string | null | undefined;
9621
- }[] | undefined;
9622
- } | null;
9623
- is_private: boolean;
9624
- created_at: string;
9625
- updated_at: string;
9626
- };
9627
- meta?: _zapier_kitcore.ResponseMeta;
9628
- }>, readonly [], {
9629
- run: string;
9630
- }> & _zapier_kitcore.LeafSummary<"", "getDurableRun", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
9631
- run: string;
9632
- } & {
9633
- skipOutputDataValidation?: boolean;
9634
- }) => Promise<{
9635
- data: {
9636
- id: string;
9637
- status: string;
9638
- input: unknown;
9639
- output: unknown;
9640
- error: {
9641
- [x: string]: unknown;
9642
- code: string;
9643
- message: string;
9644
- } | null;
9645
- execution: {
9646
- id: string;
9647
- name: string;
9648
- status: string;
9649
- input: unknown;
9650
- created_at: string;
9651
- output?: unknown;
9652
- error?: unknown;
9653
- metadata?: Record<string, unknown> | undefined;
9654
- summary?: {
9655
- [x: string]: unknown;
9656
- total_attempts: number;
9657
- last_error?: {
9658
- [x: string]: unknown;
9659
- code: string;
9660
- title: string;
9661
- detail?: string | null | undefined;
9662
- } | null | undefined;
9663
- } | null | undefined;
9664
- operations?: {
9665
- id: string;
9666
- execution_id: string;
9667
- name: string;
9668
- type: string;
9669
- status: string;
9670
- retry_count: number;
9671
- created_at: string;
9672
- result?: unknown;
9673
- error?: unknown;
9674
- max_attempts?: number | undefined;
9675
- next_retry_at?: string | null | undefined;
9676
- resume_at?: string | null | undefined;
9677
- callback_token?: string | null | undefined;
9678
- payload_schema?: unknown;
9679
- payload?: unknown;
9680
- expires_at?: string | null | undefined;
9681
- timeout_seconds?: number | null | undefined;
9682
- completed_at?: string | null | undefined;
9683
- }[] | undefined;
9684
- } | null;
9685
- is_private: boolean;
9686
- created_at: string;
9687
- updated_at: string;
9688
- };
9689
- meta?: _zapier_kitcore.ResponseMeta;
9690
- }>>;
9691
- } & {
9692
- runDurable: _zapier_kitcore.MethodPlugin<"runDurable", ({
9693
- sourceFiles: Record<string, string>;
9694
- input?: unknown;
9695
- dependencies?: Record<string, string> | undefined;
9696
- zapierDurableVersion?: string | undefined;
9697
- zapier_durable_version?: string | undefined;
9698
- connections?: Record<string, {
9699
- connectionId?: string | number | undefined;
9700
- connection_id?: string | number | undefined;
9701
- }> | undefined;
9702
- appVersions?: Record<string, {
9703
- implementationName?: string | undefined;
9704
- implementation_name?: string | undefined;
9705
- version?: string | undefined;
9706
- }> | undefined;
9707
- app_versions?: Record<string, {
9708
- implementationName?: string | undefined;
9709
- implementation_name?: string | undefined;
9710
- version?: string | undefined;
9711
- }> | undefined;
9712
- private?: boolean | undefined;
9713
- notifications?: {
9714
- url: string;
9715
- events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
9716
- type?: "webhook" | undefined;
9717
- max_retries?: number | undefined;
9718
- }[] | undefined;
9719
- } | {
9720
- source_files: Record<string, string>;
9721
- input?: unknown;
9722
- dependencies?: Record<string, string> | undefined;
9723
- zapierDurableVersion?: string | undefined;
9724
- zapier_durable_version?: string | undefined;
9725
- connections?: Record<string, {
9726
- connectionId?: string | number | undefined;
9727
- connection_id?: string | number | undefined;
9728
- }> | undefined;
9729
- appVersions?: Record<string, {
9730
- implementationName?: string | undefined;
9731
- implementation_name?: string | undefined;
9732
- version?: string | undefined;
9733
- }> | undefined;
9734
- app_versions?: Record<string, {
9735
- implementationName?: string | undefined;
9736
- implementation_name?: string | undefined;
9737
- version?: string | undefined;
9738
- }> | undefined;
9739
- private?: boolean | undefined;
9740
- notifications?: {
9741
- url: string;
9742
- events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
9743
- type?: "webhook" | undefined;
9744
- max_retries?: number | undefined;
9745
- }[] | undefined;
9746
- }) & {
9771
+ updated_at: string;
9772
+ kind: "draft";
9773
+ workflow_draft_id: string | null;
9774
+ draft_revision: number;
9775
+ };
9776
+ meta?: _zapier_kitcore.ResponseMeta;
9777
+ }>, readonly [], {
9778
+ run: string;
9779
+ workflow?: string | undefined;
9780
+ waitSeconds?: number | undefined;
9781
+ }> & _zapier_kitcore.LeafSummary<"", "getWorkflowRun", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
9782
+ run: string;
9783
+ workflow?: string | undefined;
9784
+ waitSeconds?: number | undefined;
9785
+ } & {
9786
+ skipOutputDataValidation?: boolean;
9787
+ }) => Promise<{
9788
+ data: {
9789
+ id: string;
9790
+ workflow_id: string;
9791
+ durable_run_id: string | null;
9792
+ status: string;
9793
+ input: unknown;
9794
+ output: unknown;
9795
+ error: unknown;
9796
+ created_at: string;
9797
+ updated_at: string;
9798
+ kind: "live";
9799
+ trigger_id: string | null;
9800
+ workflow_version_id: string | null;
9801
+ } | {
9802
+ id: string;
9803
+ workflow_id: string;
9804
+ durable_run_id: string | null;
9805
+ status: string;
9806
+ input: unknown;
9807
+ output: unknown;
9808
+ error: unknown;
9809
+ created_at: string;
9810
+ updated_at: string;
9811
+ kind: "draft";
9812
+ workflow_draft_id: string | null;
9813
+ draft_revision: number;
9814
+ };
9815
+ meta?: _zapier_kitcore.ResponseMeta;
9816
+ }>>;
9817
+ } & {
9818
+ getTriggerRun: _zapier_kitcore.MethodPlugin<"getTriggerRun", {
9819
+ trigger: string;
9820
+ waitSeconds?: number | undefined;
9821
+ } & {
9747
9822
  skipOutputDataValidation?: boolean;
9748
9823
  }, Promise<{
9749
9824
  data: {
9750
9825
  id: string;
9751
- status: "initialized";
9752
- is_private: boolean;
9826
+ durable_run_id: string | null;
9827
+ workflow_version_id: string | null;
9828
+ status: string;
9829
+ input: unknown;
9830
+ output: unknown;
9831
+ error: unknown;
9753
9832
  created_at: string;
9833
+ updated_at: string;
9754
9834
  };
9755
9835
  meta?: _zapier_kitcore.ResponseMeta;
9756
9836
  }>, readonly [], {
9757
- input?: unknown;
9758
- connections?: Record<string, {
9759
- connectionId?: string | number | undefined;
9760
- connection_id?: string | number | undefined;
9761
- }> | undefined;
9762
- zapier_durable_version?: string | undefined;
9763
- dependencies?: Record<string, string> | undefined;
9764
- app_versions?: Record<string, {
9765
- implementationName?: string | undefined;
9766
- implementation_name?: string | undefined;
9767
- version?: string | undefined;
9768
- }> | undefined;
9769
- private?: boolean | undefined;
9770
- zapierDurableVersion?: string | undefined;
9771
- appVersions?: Record<string, {
9772
- implementationName?: string | undefined;
9773
- implementation_name?: string | undefined;
9774
- version?: string | undefined;
9775
- }> | undefined;
9776
- notifications?: {
9777
- url: string;
9778
- events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
9779
- type?: "webhook" | undefined;
9780
- max_retries?: number | undefined;
9781
- }[] | undefined;
9782
- }> & _zapier_kitcore.LeafSummary<"", "runDurable", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: ({
9783
- sourceFiles: Record<string, string>;
9784
- input?: unknown;
9785
- dependencies?: Record<string, string> | undefined;
9786
- zapierDurableVersion?: string | undefined;
9787
- zapier_durable_version?: string | undefined;
9788
- connections?: Record<string, {
9789
- connectionId?: string | number | undefined;
9790
- connection_id?: string | number | undefined;
9791
- }> | undefined;
9792
- appVersions?: Record<string, {
9793
- implementationName?: string | undefined;
9794
- implementation_name?: string | undefined;
9795
- version?: string | undefined;
9796
- }> | undefined;
9797
- app_versions?: Record<string, {
9798
- implementationName?: string | undefined;
9799
- implementation_name?: string | undefined;
9800
- version?: string | undefined;
9801
- }> | undefined;
9802
- private?: boolean | undefined;
9803
- notifications?: {
9804
- url: string;
9805
- events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
9806
- type?: "webhook" | undefined;
9807
- max_retries?: number | undefined;
9808
- }[] | undefined;
9809
- } | {
9810
- source_files: Record<string, string>;
9811
- input?: unknown;
9812
- dependencies?: Record<string, string> | undefined;
9813
- zapierDurableVersion?: string | undefined;
9814
- zapier_durable_version?: string | undefined;
9815
- connections?: Record<string, {
9816
- connectionId?: string | number | undefined;
9817
- connection_id?: string | number | undefined;
9818
- }> | undefined;
9819
- appVersions?: Record<string, {
9820
- implementationName?: string | undefined;
9821
- implementation_name?: string | undefined;
9822
- version?: string | undefined;
9823
- }> | undefined;
9824
- app_versions?: Record<string, {
9825
- implementationName?: string | undefined;
9826
- implementation_name?: string | undefined;
9827
- version?: string | undefined;
9828
- }> | undefined;
9829
- private?: boolean | undefined;
9830
- notifications?: {
9831
- url: string;
9832
- events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
9833
- type?: "webhook" | undefined;
9834
- max_retries?: number | undefined;
9835
- }[] | undefined;
9836
- }) & {
9837
+ trigger: string;
9838
+ waitSeconds?: number | undefined;
9839
+ }> & _zapier_kitcore.LeafSummary<"", "getTriggerRun", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
9840
+ trigger: string;
9841
+ waitSeconds?: number | undefined;
9842
+ } & {
9837
9843
  skipOutputDataValidation?: boolean;
9838
9844
  }) => Promise<{
9839
9845
  data: {
9840
9846
  id: string;
9841
- status: "initialized";
9842
- is_private: boolean;
9847
+ durable_run_id: string | null;
9848
+ workflow_version_id: string | null;
9849
+ status: string;
9850
+ input: unknown;
9851
+ output: unknown;
9852
+ error: unknown;
9843
9853
  created_at: string;
9854
+ updated_at: string;
9844
9855
  };
9845
9856
  meta?: _zapier_kitcore.ResponseMeta;
9846
9857
  }>>;
9847
9858
  } & {
9848
- cancelDurableRun: _zapier_kitcore.MethodPlugin<"cancelDurableRun", {
9849
- run: string;
9859
+ triggerWorkflow: _zapier_kitcore.MethodPlugin<"triggerWorkflow", {
9860
+ workflow: string;
9861
+ input?: unknown;
9850
9862
  } & {
9851
9863
  skipOutputDataValidation?: boolean;
9852
9864
  }, Promise<{
9853
9865
  data: {
9854
9866
  id: string;
9855
- status: "cancelled";
9867
+ workflow_id: string;
9868
+ created_at: string;
9856
9869
  };
9857
9870
  meta?: _zapier_kitcore.ResponseMeta;
9858
9871
  }>, readonly [], {
9859
- run: string;
9860
- }> & _zapier_kitcore.LeafSummary<"", "cancelDurableRun", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
9861
- run: string;
9872
+ input?: unknown;
9873
+ workflow: string;
9874
+ }> & _zapier_kitcore.LeafSummary<"", "triggerWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
9875
+ workflow: string;
9876
+ input?: unknown;
9862
9877
  } & {
9863
9878
  skipOutputDataValidation?: boolean;
9864
9879
  }) => Promise<{
9865
9880
  data: {
9866
9881
  id: string;
9867
- status: "cancelled";
9882
+ workflow_id: string;
9883
+ created_at: string;
9868
9884
  };
9869
9885
  meta?: _zapier_kitcore.ResponseMeta;
9870
9886
  }>>;
9871
9887
  } & {
9872
- triggerWorkflow: _zapier_kitcore.MethodPlugin<"triggerWorkflow", {
9888
+ runWorkflow: _zapier_kitcore.MethodPlugin<"runWorkflow", {
9889
+ workflow: string;
9890
+ input?: unknown;
9891
+ waitSeconds?: number | undefined;
9892
+ } & {
9893
+ skipOutputDataValidation?: boolean;
9894
+ }, Promise<{
9895
+ data: {
9896
+ trigger_id: string;
9897
+ id: string;
9898
+ durable_run_id: string | null;
9899
+ workflow_version_id: string | null;
9900
+ status: string;
9901
+ input: unknown;
9902
+ output: unknown;
9903
+ error: unknown;
9904
+ created_at: string;
9905
+ updated_at: string;
9906
+ };
9907
+ meta?: _zapier_kitcore.ResponseMeta;
9908
+ }>, readonly [], {
9909
+ input?: unknown;
9910
+ workflow: string;
9911
+ waitSeconds?: number | undefined;
9912
+ }> & _zapier_kitcore.LeafSummary<"", "runWorkflow", readonly [_zapier_kitcore.MethodPlugin<"triggerWorkflow", {
9873
9913
  workflow: string;
9874
9914
  input?: unknown;
9875
9915
  } & {
@@ -9896,10 +9936,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
9896
9936
  created_at: string;
9897
9937
  };
9898
9938
  meta?: _zapier_kitcore.ResponseMeta;
9899
- }>>;
9900
- } & {
9901
- getTriggerRun: _zapier_kitcore.MethodPlugin<"getTriggerRun", {
9939
+ }>>, _zapier_kitcore.MethodPlugin<"getTriggerRun", {
9902
9940
  trigger: string;
9941
+ waitSeconds?: number | undefined;
9903
9942
  } & {
9904
9943
  skipOutputDataValidation?: boolean;
9905
9944
  }, Promise<{
@@ -9917,12 +9956,34 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
9917
9956
  meta?: _zapier_kitcore.ResponseMeta;
9918
9957
  }>, readonly [], {
9919
9958
  trigger: string;
9959
+ waitSeconds?: number | undefined;
9920
9960
  }> & _zapier_kitcore.LeafSummary<"", "getTriggerRun", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
9921
9961
  trigger: string;
9962
+ waitSeconds?: number | undefined;
9963
+ } & {
9964
+ skipOutputDataValidation?: boolean;
9965
+ }) => Promise<{
9966
+ data: {
9967
+ id: string;
9968
+ durable_run_id: string | null;
9969
+ workflow_version_id: string | null;
9970
+ status: string;
9971
+ input: unknown;
9972
+ output: unknown;
9973
+ error: unknown;
9974
+ created_at: string;
9975
+ updated_at: string;
9976
+ };
9977
+ meta?: _zapier_kitcore.ResponseMeta;
9978
+ }>>], (input: {
9979
+ workflow: string;
9980
+ input?: unknown;
9981
+ waitSeconds?: number | undefined;
9922
9982
  } & {
9923
9983
  skipOutputDataValidation?: boolean;
9924
9984
  }) => Promise<{
9925
9985
  data: {
9986
+ trigger_id: string;
9926
9987
  id: string;
9927
9988
  durable_run_id: string | null;
9928
9989
  workflow_version_id: string | null;
@@ -10652,7 +10713,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
10652
10713
  };
10653
10714
  meta?: _zapier_kitcore.ResponseMeta;
10654
10715
  }>>;
10655
- }> & _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", {
10716
+ }> & _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" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "importWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "publishWorkflowVersion" | "listWorkflowVersions" | "getWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "runWorkflowDraft" | "getWorkflowRun" | "listWorkflowRuns" | "getTriggerRun" | "triggerWorkflow" | "runWorkflow" | "validateWorkflow" | "zapier/beta-sdk" | "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", {
10656
10717
  credentials?: string | {
10657
10718
  clientId: string;
10658
10719
  clientSecret: string;
@@ -11290,6 +11351,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
11290
11351
  inputs?: Record<string, unknown> | undefined;
11291
11352
  page?: string | undefined;
11292
11353
  callbackUrl?: string | undefined;
11354
+ idempotencyKey?: string | undefined;
11293
11355
  } & {
11294
11356
  skipOutputDataValidation?: boolean;
11295
11357
  }) => Promise<{
@@ -11308,6 +11370,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
11308
11370
  inputs?: Record<string, unknown> | undefined;
11309
11371
  timeoutSeconds?: number | undefined;
11310
11372
  timeoutMs?: number | undefined;
11373
+ idempotencyKey?: string | undefined;
11311
11374
  pageSize?: number | undefined;
11312
11375
  maxItems?: number | undefined;
11313
11376
  cursor?: string | undefined;
@@ -11321,6 +11384,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
11321
11384
  inputs?: Record<string, unknown> | undefined;
11322
11385
  timeoutSeconds?: number | undefined;
11323
11386
  timeoutMs?: number | undefined;
11387
+ idempotencyKey?: string | undefined;
11324
11388
  pageSize?: number | undefined;
11325
11389
  maxItems?: number | undefined;
11326
11390
  cursor?: string | undefined;
@@ -12393,19 +12457,84 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
12393
12457
  tableId: string;
12394
12458
  records: {
12395
12459
  id: string;
12396
- data: Record<string, unknown>;
12397
- }[];
12398
- keyMode: "names" | "ids";
12399
- }) & {
12460
+ data: Record<string, unknown>;
12461
+ }[];
12462
+ keyMode: "names" | "ids";
12463
+ }) & {
12464
+ skipOutputDataValidation?: boolean;
12465
+ }) => Promise<{
12466
+ data: {
12467
+ data: Record<string, unknown>;
12468
+ id: string;
12469
+ created_at: string;
12470
+ edited_at: string;
12471
+ deleted_at?: string | null | undefined;
12472
+ }[];
12473
+ meta?: _zapier_kitcore.ResponseMeta;
12474
+ }>> | _zapier_kitcore.ContractEntry<"getWorkflowRun", (input: {
12475
+ run: string;
12476
+ workflow?: string | undefined;
12477
+ waitSeconds?: number | undefined;
12478
+ } & {
12479
+ skipOutputDataValidation?: boolean;
12480
+ }) => Promise<{
12481
+ data: {
12482
+ id: string;
12483
+ workflow_id: string;
12484
+ durable_run_id: string | null;
12485
+ status: string;
12486
+ input: unknown;
12487
+ output: unknown;
12488
+ error: unknown;
12489
+ created_at: string;
12490
+ updated_at: string;
12491
+ kind: "live";
12492
+ trigger_id: string | null;
12493
+ workflow_version_id: string | null;
12494
+ } | {
12495
+ id: string;
12496
+ workflow_id: string;
12497
+ durable_run_id: string | null;
12498
+ status: string;
12499
+ input: unknown;
12500
+ output: unknown;
12501
+ error: unknown;
12502
+ created_at: string;
12503
+ updated_at: string;
12504
+ kind: "draft";
12505
+ workflow_draft_id: string | null;
12506
+ draft_revision: number;
12507
+ };
12508
+ meta?: _zapier_kitcore.ResponseMeta;
12509
+ }>> | _zapier_kitcore.ContractEntry<"getTriggerRun", (input: {
12510
+ trigger: string;
12511
+ waitSeconds?: number | undefined;
12512
+ } & {
12513
+ skipOutputDataValidation?: boolean;
12514
+ }) => Promise<{
12515
+ data: {
12516
+ id: string;
12517
+ durable_run_id: string | null;
12518
+ workflow_version_id: string | null;
12519
+ status: string;
12520
+ input: unknown;
12521
+ output: unknown;
12522
+ error: unknown;
12523
+ created_at: string;
12524
+ updated_at: string;
12525
+ };
12526
+ meta?: _zapier_kitcore.ResponseMeta;
12527
+ }>> | _zapier_kitcore.ContractEntry<"triggerWorkflow", (input: {
12528
+ workflow: string;
12529
+ input?: unknown;
12530
+ } & {
12400
12531
  skipOutputDataValidation?: boolean;
12401
12532
  }) => Promise<{
12402
12533
  data: {
12403
- data: Record<string, unknown>;
12404
12534
  id: string;
12535
+ workflow_id: string;
12405
12536
  created_at: string;
12406
- edited_at: string;
12407
- deleted_at?: string | null | undefined;
12408
- }[];
12537
+ };
12409
12538
  meta?: _zapier_kitcore.ResponseMeta;
12410
12539
  }>> | _zapier_kitcore.ContractEntry<"listWorkflows", (input?: ({
12411
12540
  pageSize?: number | undefined;
@@ -12431,7 +12560,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
12431
12560
  triggers: {
12432
12561
  selected_api: string;
12433
12562
  action: string;
12434
- status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
12563
+ status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
12435
12564
  authentication_id?: string | null | undefined;
12436
12565
  params?: Record<string, unknown> | undefined;
12437
12566
  error?: string | null | undefined;
@@ -12464,7 +12593,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
12464
12593
  triggers: {
12465
12594
  selected_api: string;
12466
12595
  action: string;
12467
- status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
12596
+ status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
12468
12597
  authentication_id?: string | null | undefined;
12469
12598
  params?: Record<string, unknown> | undefined;
12470
12599
  error?: string | null | undefined;
@@ -12557,7 +12686,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
12557
12686
  triggers: {
12558
12687
  selected_api: string;
12559
12688
  action: string;
12560
- status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
12689
+ status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
12561
12690
  authentication_id?: string | null | undefined;
12562
12691
  params?: Record<string, unknown> | undefined;
12563
12692
  error?: string | null | undefined;
@@ -13325,6 +13454,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
13325
13454
  draft: string;
13326
13455
  draftRevision: number;
13327
13456
  input?: unknown;
13457
+ waitSeconds?: number | undefined;
13328
13458
  } & {
13329
13459
  skipOutputDataValidation?: boolean;
13330
13460
  }) => Promise<{
@@ -13378,46 +13508,15 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
13378
13508
  kind: "draft";
13379
13509
  workflow_draft_id: string | null;
13380
13510
  draft_revision: number;
13381
- }>> | _zapier_kitcore.ContractEntry<"getWorkflowRun", (input: {
13382
- run: string;
13383
- workflow?: string | undefined;
13384
- } & {
13385
- skipOutputDataValidation?: boolean;
13386
- }) => Promise<{
13387
- data: {
13388
- id: string;
13389
- workflow_id: string;
13390
- durable_run_id: string | null;
13391
- status: string;
13392
- input: unknown;
13393
- output: unknown;
13394
- error: unknown;
13395
- created_at: string;
13396
- updated_at: string;
13397
- kind: "live";
13398
- trigger_id: string | null;
13399
- workflow_version_id: string | null;
13400
- } | {
13401
- id: string;
13402
- workflow_id: string;
13403
- durable_run_id: string | null;
13404
- status: string;
13405
- input: unknown;
13406
- output: unknown;
13407
- error: unknown;
13408
- created_at: string;
13409
- updated_at: string;
13410
- kind: "draft";
13411
- workflow_draft_id: string | null;
13412
- draft_revision: number;
13413
- };
13414
- meta?: _zapier_kitcore.ResponseMeta;
13415
- }>> | _zapier_kitcore.ContractEntry<"getTriggerRun", (input: {
13416
- trigger: string;
13511
+ }>> | _zapier_kitcore.ContractEntry<"runWorkflow", (input: {
13512
+ workflow: string;
13513
+ input?: unknown;
13514
+ waitSeconds?: number | undefined;
13417
13515
  } & {
13418
13516
  skipOutputDataValidation?: boolean;
13419
13517
  }) => Promise<{
13420
13518
  data: {
13519
+ trigger_id: string;
13421
13520
  id: string;
13422
13521
  durable_run_id: string | null;
13423
13522
  workflow_version_id: string | null;
@@ -13429,18 +13528,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
13429
13528
  updated_at: string;
13430
13529
  };
13431
13530
  meta?: _zapier_kitcore.ResponseMeta;
13432
- }>> | _zapier_kitcore.ContractEntry<"triggerWorkflow", (input: {
13433
- workflow: string;
13434
- input?: unknown;
13435
- } & {
13436
- skipOutputDataValidation?: boolean;
13437
- }) => Promise<{
13438
- data: {
13439
- id: string;
13440
- workflow_id: string;
13441
- created_at: string;
13442
- };
13443
- meta?: _zapier_kitcore.ResponseMeta;
13444
13531
  }>> | _zapier_kitcore.ContractEntry<"validateWorkflow", (input: {
13445
13532
  sourceFiles: Record<string, string>;
13446
13533
  entrypointFile?: string | undefined;
@@ -14689,6 +14776,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
14689
14776
  inputs?: Record<string, unknown> | undefined;
14690
14777
  page?: string | undefined;
14691
14778
  callbackUrl?: string | undefined;
14779
+ idempotencyKey?: string | undefined;
14692
14780
  } & {
14693
14781
  skipOutputDataValidation?: boolean;
14694
14782
  }) => Promise<{
@@ -14726,6 +14814,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
14726
14814
  inputs?: Record<string, unknown> | undefined;
14727
14815
  timeoutSeconds?: number | undefined;
14728
14816
  timeoutMs?: number | undefined;
14817
+ idempotencyKey?: string | undefined;
14729
14818
  pageSize?: number | undefined;
14730
14819
  maxItems?: number | undefined;
14731
14820
  cursor?: string | undefined;
@@ -14746,6 +14835,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
14746
14835
  inputs?: Record<string, unknown> | undefined;
14747
14836
  timeoutSeconds?: number | undefined;
14748
14837
  timeoutMs?: number | undefined;
14838
+ idempotencyKey?: string | undefined;
14749
14839
  pageSize?: number | undefined;
14750
14840
  maxItems?: number | undefined;
14751
14841
  cursor?: string | undefined;
@@ -15450,7 +15540,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
15450
15540
  triggers: {
15451
15541
  selected_api: string;
15452
15542
  action: string;
15453
- status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
15543
+ status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
15454
15544
  authentication_id?: string | null | undefined;
15455
15545
  params?: Record<string, unknown> | undefined;
15456
15546
  error?: string | null | undefined;
@@ -15484,7 +15574,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
15484
15574
  triggers: {
15485
15575
  selected_api: string;
15486
15576
  action: string;
15487
- status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
15577
+ status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
15488
15578
  authentication_id?: string | null | undefined;
15489
15579
  params?: Record<string, unknown> | undefined;
15490
15580
  error?: string | null | undefined;
@@ -15579,7 +15669,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
15579
15669
  triggers: {
15580
15670
  selected_api: string;
15581
15671
  action: string;
15582
- status: "active" | "failed" | "pending" | "unclaimed" | "releasing" | "released";
15672
+ status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
15583
15673
  authentication_id?: string | null | undefined;
15584
15674
  params?: Record<string, unknown> | undefined;
15585
15675
  error?: string | null | undefined;
@@ -15696,8 +15786,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
15696
15786
  id: string;
15697
15787
  };
15698
15788
  }>;
15699
- listWorkflowVersions: (input: {
15700
- workflow: string;
15789
+ listDurableRuns: (input?: ({
15701
15790
  pageSize?: number | undefined;
15702
15791
  cursor?: string | undefined;
15703
15792
  maxItems?: number | undefined;
@@ -15708,64 +15797,157 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
15708
15797
  maxItems?: number;
15709
15798
  } & {
15710
15799
  skipOutputDataValidation?: boolean;
15711
- }) => _zapier_kitcore.PaginatedSdkResult<{
15800
+ }) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
15712
15801
  id: string;
15713
- workflow_id: string;
15714
- zapier_durable_version: string;
15715
- dependencies: Record<string, string> | null;
15716
- created_by_user_id: string;
15717
- created_at: string;
15718
- trigger: {
15719
- selected_api: string;
15720
- action: string;
15721
- authentication_id?: string | null | undefined;
15722
- params?: Record<string, unknown> | undefined;
15802
+ status: string;
15803
+ input: unknown;
15804
+ output: unknown;
15805
+ error: {
15806
+ [x: string]: unknown;
15807
+ code: string;
15808
+ message: string;
15723
15809
  } | null;
15724
- connections: Record<string, {
15725
- connection_id: string | number;
15726
- }> | null;
15727
- app_versions: Record<string, {
15728
- implementation_name: string;
15729
- version?: string | undefined;
15730
- }> | null;
15731
- creation_client?: {
15732
- access_method: string;
15733
- harness?: string | null | undefined;
15734
- sdk_version?: string | null | undefined;
15735
- } | null | undefined;
15810
+ execution_id: string | null;
15811
+ is_private: boolean;
15812
+ created_at: string;
15813
+ updated_at: string;
15736
15814
  }>;
15737
- getWorkflowVersion: (input: {
15738
- workflow: string;
15739
- version: string;
15815
+ getDurableRun: (input: {
15816
+ run: string;
15740
15817
  } & {
15741
15818
  skipOutputDataValidation?: boolean;
15742
15819
  }) => Promise<{
15743
15820
  data: {
15744
15821
  id: string;
15745
- workflow_id: string;
15746
- source_files: Record<string, string>;
15747
- zapier_durable_version: string;
15748
- dependencies: Record<string, string> | null;
15749
- created_by_user_id: string;
15750
- created_at: string;
15751
- trigger: {
15752
- selected_api: string;
15753
- action: string;
15754
- authentication_id?: string | null | undefined;
15755
- params?: Record<string, unknown> | undefined;
15822
+ status: string;
15823
+ input: unknown;
15824
+ output: unknown;
15825
+ error: {
15826
+ [x: string]: unknown;
15827
+ code: string;
15828
+ message: string;
15756
15829
  } | null;
15757
- connections: Record<string, {
15758
- connection_id: string | number;
15759
- }> | null;
15760
- app_versions: Record<string, {
15761
- implementation_name: string;
15762
- version?: string | undefined;
15763
- }> | null;
15764
- creation_client?: {
15765
- access_method: string;
15766
- harness?: string | null | undefined;
15767
- sdk_version?: string | null | undefined;
15768
- } | null | undefined;
15830
+ execution: {
15831
+ id: string;
15832
+ name: string;
15833
+ status: string;
15834
+ input: unknown;
15835
+ created_at: string;
15836
+ output?: unknown;
15837
+ error?: unknown;
15838
+ metadata?: Record<string, unknown> | undefined;
15839
+ summary?: {
15840
+ [x: string]: unknown;
15841
+ total_attempts: number;
15842
+ last_error?: {
15843
+ [x: string]: unknown;
15844
+ code: string;
15845
+ title: string;
15846
+ detail?: string | null | undefined;
15847
+ } | null | undefined;
15848
+ } | null | undefined;
15849
+ operations?: {
15850
+ id: string;
15851
+ execution_id: string;
15852
+ name: string;
15853
+ type: string;
15854
+ status: string;
15855
+ retry_count: number;
15856
+ created_at: string;
15857
+ result?: unknown;
15858
+ error?: unknown;
15859
+ max_attempts?: number | undefined;
15860
+ next_retry_at?: string | null | undefined;
15861
+ resume_at?: string | null | undefined;
15862
+ callback_token?: string | null | undefined;
15863
+ payload_schema?: unknown;
15864
+ payload?: unknown;
15865
+ expires_at?: string | null | undefined;
15866
+ timeout_seconds?: number | null | undefined;
15867
+ completed_at?: string | null | undefined;
15868
+ }[] | undefined;
15869
+ } | null;
15870
+ is_private: boolean;
15871
+ created_at: string;
15872
+ updated_at: string;
15873
+ };
15874
+ meta?: _zapier_kitcore.ResponseMeta;
15875
+ }>;
15876
+ runDurable: (input: ({
15877
+ sourceFiles: Record<string, string>;
15878
+ input?: unknown;
15879
+ dependencies?: Record<string, string> | undefined;
15880
+ zapierDurableVersion?: string | undefined;
15881
+ zapier_durable_version?: string | undefined;
15882
+ connections?: Record<string, {
15883
+ connectionId?: string | number | undefined;
15884
+ connection_id?: string | number | undefined;
15885
+ }> | undefined;
15886
+ appVersions?: Record<string, {
15887
+ implementationName?: string | undefined;
15888
+ implementation_name?: string | undefined;
15889
+ version?: string | undefined;
15890
+ }> | undefined;
15891
+ app_versions?: Record<string, {
15892
+ implementationName?: string | undefined;
15893
+ implementation_name?: string | undefined;
15894
+ version?: string | undefined;
15895
+ }> | undefined;
15896
+ private?: boolean | undefined;
15897
+ notifications?: {
15898
+ url: string;
15899
+ events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
15900
+ type?: "webhook" | undefined;
15901
+ max_retries?: number | undefined;
15902
+ }[] | undefined;
15903
+ } & {
15904
+ skipOutputDataValidation?: boolean;
15905
+ }) | ({
15906
+ source_files: Record<string, string>;
15907
+ input?: unknown;
15908
+ dependencies?: Record<string, string> | undefined;
15909
+ zapierDurableVersion?: string | undefined;
15910
+ zapier_durable_version?: string | undefined;
15911
+ connections?: Record<string, {
15912
+ connectionId?: string | number | undefined;
15913
+ connection_id?: string | number | undefined;
15914
+ }> | undefined;
15915
+ appVersions?: Record<string, {
15916
+ implementationName?: string | undefined;
15917
+ implementation_name?: string | undefined;
15918
+ version?: string | undefined;
15919
+ }> | undefined;
15920
+ app_versions?: Record<string, {
15921
+ implementationName?: string | undefined;
15922
+ implementation_name?: string | undefined;
15923
+ version?: string | undefined;
15924
+ }> | undefined;
15925
+ private?: boolean | undefined;
15926
+ notifications?: {
15927
+ url: string;
15928
+ events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
15929
+ type?: "webhook" | undefined;
15930
+ max_retries?: number | undefined;
15931
+ }[] | undefined;
15932
+ } & {
15933
+ skipOutputDataValidation?: boolean;
15934
+ })) => Promise<{
15935
+ data: {
15936
+ id: string;
15937
+ status: "initialized";
15938
+ is_private: boolean;
15939
+ created_at: string;
15940
+ };
15941
+ meta?: _zapier_kitcore.ResponseMeta;
15942
+ }>;
15943
+ cancelDurableRun: (input: {
15944
+ run: string;
15945
+ } & {
15946
+ skipOutputDataValidation?: boolean;
15947
+ }) => Promise<{
15948
+ data: {
15949
+ id: string;
15950
+ status: "cancelled";
15769
15951
  };
15770
15952
  meta?: _zapier_kitcore.ResponseMeta;
15771
15953
  }>;
@@ -15865,6 +16047,79 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
15865
16047
  };
15866
16048
  meta?: _zapier_kitcore.ResponseMeta;
15867
16049
  }>;
16050
+ listWorkflowVersions: (input: {
16051
+ workflow: string;
16052
+ pageSize?: number | undefined;
16053
+ cursor?: string | undefined;
16054
+ maxItems?: number | undefined;
16055
+ } & {
16056
+ cursor?: string;
16057
+ pageSize?: number;
16058
+ } & {
16059
+ maxItems?: number;
16060
+ } & {
16061
+ skipOutputDataValidation?: boolean;
16062
+ }) => _zapier_kitcore.PaginatedSdkResult<{
16063
+ id: string;
16064
+ workflow_id: string;
16065
+ zapier_durable_version: string;
16066
+ dependencies: Record<string, string> | null;
16067
+ created_by_user_id: string;
16068
+ created_at: string;
16069
+ trigger: {
16070
+ selected_api: string;
16071
+ action: string;
16072
+ authentication_id?: string | null | undefined;
16073
+ params?: Record<string, unknown> | undefined;
16074
+ } | null;
16075
+ connections: Record<string, {
16076
+ connection_id: string | number;
16077
+ }> | null;
16078
+ app_versions: Record<string, {
16079
+ implementation_name: string;
16080
+ version?: string | undefined;
16081
+ }> | null;
16082
+ creation_client?: {
16083
+ access_method: string;
16084
+ harness?: string | null | undefined;
16085
+ sdk_version?: string | null | undefined;
16086
+ } | null | undefined;
16087
+ }>;
16088
+ getWorkflowVersion: (input: {
16089
+ workflow: string;
16090
+ version: string;
16091
+ } & {
16092
+ skipOutputDataValidation?: boolean;
16093
+ }) => Promise<{
16094
+ data: {
16095
+ id: string;
16096
+ workflow_id: string;
16097
+ source_files: Record<string, string>;
16098
+ zapier_durable_version: string;
16099
+ dependencies: Record<string, string> | null;
16100
+ created_by_user_id: string;
16101
+ created_at: string;
16102
+ trigger: {
16103
+ selected_api: string;
16104
+ action: string;
16105
+ authentication_id?: string | null | undefined;
16106
+ params?: Record<string, unknown> | undefined;
16107
+ } | null;
16108
+ connections: Record<string, {
16109
+ connection_id: string | number;
16110
+ }> | null;
16111
+ app_versions: Record<string, {
16112
+ implementation_name: string;
16113
+ version?: string | undefined;
16114
+ }> | null;
16115
+ creation_client?: {
16116
+ access_method: string;
16117
+ harness?: string | null | undefined;
16118
+ sdk_version?: string | null | undefined;
16119
+ } | null | undefined;
16120
+ };
16121
+ meta?: _zapier_kitcore.ResponseMeta;
16122
+ }>;
15868
16123
  listWorkflowDrafts: (input: {
15869
16124
  workflow: string;
15870
16125
  status?: "open" | "discarded" | undefined;
@@ -16204,6 +16459,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
16204
16459
  draft: string;
16205
16460
  draftRevision: number;
16206
16461
  input?: unknown;
16462
+ waitSeconds?: number | undefined;
16207
16463
  } & {
16208
16464
  skipOutputDataValidation?: boolean;
16209
16465
  }) => Promise<{
@@ -16262,6 +16518,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
16262
16518
  getWorkflowRun: (input: {
16263
16519
  run: string;
16264
16520
  workflow?: string | undefined;
16521
+ waitSeconds?: number | undefined;
16265
16522
  } & {
16266
16523
  skipOutputDataValidation?: boolean;
16267
16524
  }) => Promise<{
@@ -16294,171 +16551,25 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
16294
16551
  };
16295
16552
  meta?: _zapier_kitcore.ResponseMeta;
16296
16553
  }>;
16297
- listDurableRuns: (input?: ({
16298
- pageSize?: number | undefined;
16299
- cursor?: string | undefined;
16300
- maxItems?: number | undefined;
16301
- } & {
16302
- cursor?: string;
16303
- pageSize?: number;
16304
- } & {
16305
- maxItems?: number;
16306
- } & {
16307
- skipOutputDataValidation?: boolean;
16308
- }) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
16309
- id: string;
16310
- status: string;
16311
- input: unknown;
16312
- output: unknown;
16313
- error: {
16314
- [x: string]: unknown;
16315
- code: string;
16316
- message: string;
16317
- } | null;
16318
- execution_id: string | null;
16319
- is_private: boolean;
16320
- created_at: string;
16321
- updated_at: string;
16322
- }>;
16323
- getDurableRun: (input: {
16324
- run: string;
16554
+ getTriggerRun: (input: {
16555
+ trigger: string;
16556
+ waitSeconds?: number | undefined;
16325
16557
  } & {
16326
16558
  skipOutputDataValidation?: boolean;
16327
16559
  }) => Promise<{
16328
16560
  data: {
16329
16561
  id: string;
16562
+ durable_run_id: string | null;
16563
+ workflow_version_id: string | null;
16330
16564
  status: string;
16331
16565
  input: unknown;
16332
16566
  output: unknown;
16333
- error: {
16334
- [x: string]: unknown;
16335
- code: string;
16336
- message: string;
16337
- } | null;
16338
- execution: {
16339
- id: string;
16340
- name: string;
16341
- status: string;
16342
- input: unknown;
16343
- created_at: string;
16344
- output?: unknown;
16345
- error?: unknown;
16346
- metadata?: Record<string, unknown> | undefined;
16347
- summary?: {
16348
- [x: string]: unknown;
16349
- total_attempts: number;
16350
- last_error?: {
16351
- [x: string]: unknown;
16352
- code: string;
16353
- title: string;
16354
- detail?: string | null | undefined;
16355
- } | null | undefined;
16356
- } | null | undefined;
16357
- operations?: {
16358
- id: string;
16359
- execution_id: string;
16360
- name: string;
16361
- type: string;
16362
- status: string;
16363
- retry_count: number;
16364
- created_at: string;
16365
- result?: unknown;
16366
- error?: unknown;
16367
- max_attempts?: number | undefined;
16368
- next_retry_at?: string | null | undefined;
16369
- resume_at?: string | null | undefined;
16370
- callback_token?: string | null | undefined;
16371
- payload_schema?: unknown;
16372
- payload?: unknown;
16373
- expires_at?: string | null | undefined;
16374
- timeout_seconds?: number | null | undefined;
16375
- completed_at?: string | null | undefined;
16376
- }[] | undefined;
16377
- } | null;
16378
- is_private: boolean;
16567
+ error: unknown;
16379
16568
  created_at: string;
16380
16569
  updated_at: string;
16381
16570
  };
16382
16571
  meta?: _zapier_kitcore.ResponseMeta;
16383
16572
  }>;
16384
- runDurable: (input: ({
16385
- sourceFiles: Record<string, string>;
16386
- input?: unknown;
16387
- dependencies?: Record<string, string> | undefined;
16388
- zapierDurableVersion?: string | undefined;
16389
- zapier_durable_version?: string | undefined;
16390
- connections?: Record<string, {
16391
- connectionId?: string | number | undefined;
16392
- connection_id?: string | number | undefined;
16393
- }> | undefined;
16394
- appVersions?: Record<string, {
16395
- implementationName?: string | undefined;
16396
- implementation_name?: string | undefined;
16397
- version?: string | undefined;
16398
- }> | undefined;
16399
- app_versions?: Record<string, {
16400
- implementationName?: string | undefined;
16401
- implementation_name?: string | undefined;
16402
- version?: string | undefined;
16403
- }> | undefined;
16404
- private?: boolean | undefined;
16405
- notifications?: {
16406
- url: string;
16407
- events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
16408
- type?: "webhook" | undefined;
16409
- max_retries?: number | undefined;
16410
- }[] | undefined;
16411
- } & {
16412
- skipOutputDataValidation?: boolean;
16413
- }) | ({
16414
- source_files: Record<string, string>;
16415
- input?: unknown;
16416
- dependencies?: Record<string, string> | undefined;
16417
- zapierDurableVersion?: string | undefined;
16418
- zapier_durable_version?: string | undefined;
16419
- connections?: Record<string, {
16420
- connectionId?: string | number | undefined;
16421
- connection_id?: string | number | undefined;
16422
- }> | undefined;
16423
- appVersions?: Record<string, {
16424
- implementationName?: string | undefined;
16425
- implementation_name?: string | undefined;
16426
- version?: string | undefined;
16427
- }> | undefined;
16428
- app_versions?: Record<string, {
16429
- implementationName?: string | undefined;
16430
- implementation_name?: string | undefined;
16431
- version?: string | undefined;
16432
- }> | undefined;
16433
- private?: boolean | undefined;
16434
- notifications?: {
16435
- url: string;
16436
- events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
16437
- type?: "webhook" | undefined;
16438
- max_retries?: number | undefined;
16439
- }[] | undefined;
16440
- } & {
16441
- skipOutputDataValidation?: boolean;
16442
- })) => Promise<{
16443
- data: {
16444
- id: string;
16445
- status: "initialized";
16446
- is_private: boolean;
16447
- created_at: string;
16448
- };
16449
- meta?: _zapier_kitcore.ResponseMeta;
16450
- }>;
16451
- cancelDurableRun: (input: {
16452
- run: string;
16453
- } & {
16454
- skipOutputDataValidation?: boolean;
16455
- }) => Promise<{
16456
- data: {
16457
- id: string;
16458
- status: "cancelled";
16459
- };
16460
- meta?: _zapier_kitcore.ResponseMeta;
16461
- }>;
16462
16573
  triggerWorkflow: (input: {
16463
16574
  workflow: string;
16464
16575
  input?: unknown;
@@ -16472,12 +16583,15 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
16472
16583
  };
16473
16584
  meta?: _zapier_kitcore.ResponseMeta;
16474
16585
  }>;
16475
- getTriggerRun: (input: {
16476
- trigger: string;
16586
+ runWorkflow: (input: {
16587
+ workflow: string;
16588
+ input?: unknown;
16589
+ waitSeconds?: number | undefined;
16477
16590
  } & {
16478
16591
  skipOutputDataValidation?: boolean;
16479
16592
  }) => Promise<{
16480
16593
  data: {
16594
+ trigger_id: string;
16481
16595
  id: string;
16482
16596
  durable_run_id: string | null;
16483
16597
  workflow_version_id: string | null;
@@ -16814,4 +16928,4 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
16814
16928
  interface ZapierSdk extends ReturnType<typeof createZapierSdk> {
16815
16929
  }
16816
16930
 
16817
- export { ApiClient, BaseEvent, ConnectionsProvider, type CreateWorkflowOptions, CreateWorkflowOptionsSchema, type CreateWorkflowResponse, CreateWorkflowResponseSchema, DrainTriggerInboxOptions, EventCallback, EventEmissionConfig, EventTransport, FieldsetItem, type ImportWorkflowOptions, ImportWorkflowOptionsSchema, type ImportWorkflowResponse, ImportWorkflowResponseSchema, Manifest, ManifestProvider, type OpenDraftRef, ResolveCredentialsFn, WatchTriggerInboxOptions, ZapierCache, ZapierFetchInitOptions, type ZapierSdk, ZapierSdkApps, type ZapierSdkOptions, createZapierSdk, zapierExperimentalSdkPlugin };
16931
+ export { ApiClient, BaseEvent, ConnectionsProvider, DrainTriggerInboxOptions, EventCallback, EventEmissionConfig, EventTransport, FieldsetItem, Manifest, ManifestProvider, ResolveCredentialsFn, WatchTriggerInboxOptions, ZapierCache, ZapierFetchInitOptions, type ZapierSdk, ZapierSdkApps, type ZapierSdkOptions, createZapierSdk, zapierExperimentalSdkPlugin };