@zapier/zapier-sdk 0.110.1 → 0.111.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/{chunk-BURXHBSW.cjs → chunk-QTNDD43M.cjs} +16 -2
- package/dist/{chunk-IRHF55YK.mjs → chunk-X2L2CT3Z.mjs} +16 -3
- package/dist/experimental.cjs +430 -389
- package/dist/experimental.d.mts +109 -3
- package/dist/experimental.d.ts +109 -3
- package/dist/experimental.mjs +45 -7
- package/dist/{index-ubhG9-NU.d.mts → index-bCGYDrTW.d.mts} +4 -1
- package/dist/{index-ubhG9-NU.d.ts → index-bCGYDrTW.d.ts} +4 -1
- package/dist/index.cjs +280 -280
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/experimental.d.mts
CHANGED
|
@@ -1,12 +1,48 @@
|
|
|
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-
|
|
2
|
-
export { e9 as ACTION_RUNS_PATH, cM as API_ID, z as Action, cI as ActionEntry, c2 as ActionExecutionOptions, K as ActionExecutionResult, O as ActionField, P as ActionFieldChoice, at as ActionItem, b3 as ActionKeyProperty, aB as ActionKeyPropertySchema, b4 as ActionProperty, aC as ActionPropertySchema, ad as ActionResolverItem, bg as ActionTimeoutMillisecondsProperty, aO as ActionTimeoutMillisecondsPropertySchema, bf as ActionTimeoutSecondsProperty, aN as ActionTimeoutSecondsPropertySchema, ae as ActionTypeItem, b2 as ActionTypeProperty, aA as ActionTypePropertySchema, dz as ApiEvent, cL as ApiPluginOptions, H as App, c3 as AppFactoryInput, ar as AppItem, b0 as AppKeyProperty, ay as AppKeyPropertySchema, b1 as AppProperty, az as AppPropertySchema, eE as ApplicationLifecycleEventData, bL as ApprovalStatus, bl as AppsProperty, aT as AppsPropertySchema, dy as AuthEvent, dj as AuthMechanism, b8 as AuthenticationIdProperty, aF as AuthenticationIdPropertySchema, ac as BaseSdkOptionsSchema, a4 as BatchOptions, d$ as CONNECTIONS_ID, cp as CONTEXT_CACHE_MAX_SIZE, co as CONTEXT_CACHE_TTL_MILLISECONDS, a2 as CallerContext, J as Choice, dE as ClientCredentialsObject, dP as ClientCredentialsObjectSchema, U as Connection, dX as ConnectionEntry, dW as ConnectionEntrySchema, b6 as ConnectionIdProperty, aE as ConnectionIdPropertySchema, as as ConnectionItem, b7 as ConnectionProperty, aG as ConnectionPropertySchema, dZ as ConnectionsMap, dY as ConnectionsMapSchema, bn as ConnectionsProperty, aV as ConnectionsPropertySchema, V as ConnectionsResponse, cr as CreateActionRunPluginProvides, dB as Credentials, dU as CredentialsFunction, dT as CredentialsFunctionSchema, dD as CredentialsObject, dR as CredentialsObjectSchema, dV as CredentialsSchema, e8 as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, ei as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cG as DEFAULT_CONFIG_PATH, ej as DEFAULT_MAX_APPROVAL_RETRIES, e7 as DEFAULT_PAGE_SIZE, ap as DEPRECATION_NOTICE_EVENT, bd as DebugProperty, aL as DebugPropertySchema, aq as DeprecationNoticePayload, s as DrainTriggerInboxCallback, t as DrainTriggerInboxErrorObserver, m as DrainTriggerInboxSchema, ez as EVENT_EMISSION_ID, eF as EnhancedErrorEventData, bu as ErrorOptions, eD as EventContext, ex as EventEmissionContext, ey as EventEmitter, c4 as FetchPluginProvides, I as Field, bk as FieldsProperty, aS as FieldsPropertySchema, x as FindFirstAuthenticationPluginProvides, y as FindUniqueAuthenticationPluginProvides, ct as GetActionRunPluginProvides, w as GetAuthenticationPluginProvides, cK as GetProfilePluginProvides, av as InfoFieldItem, au as InputFieldItem, b5 as InputFieldProperty, aD as InputFieldPropertySchema, b9 as InputsProperty, aH as InputsPropertySchema, ao as JsonSseMessage, bt as LeaseLimitProperty, a$ as LeaseLimitPropertySchema, br as LeaseProperty, aZ as LeasePropertySchema, bs as LeaseSecondsProperty, a_ as LeaseSecondsPropertySchema, u as LeasedTriggerMessageItem, ba as LimitProperty, aI as LimitPropertySchema, cb as ListActionInputFieldsPluginProvides, c9 as ListActionsPluginProvides, c7 as ListAppsPluginProvides, v as ListAuthenticationsPluginProvides, cf as ListConnectionsPluginProvides, dA as LoadingEvent, cB as MANIFEST_ID, ec as MAX_CONCURRENCY_LIMIT, e6 as MAX_PAGE_LIMIT, cH as ManifestEntry, cx as ManifestPluginOptions, eM as MethodCalledEvent, eG as MethodCalledEventData, N as Need, Q as NeedsRequest, S as NeedsResponse, bb as OffsetProperty, aJ as OffsetPropertySchema, bc as OutputProperty, aK as OutputPropertySchema, be as ParamsProperty, aM as ParamsPropertySchema, dF as PkceCredentialsObject, dQ as PkceCredentialsObjectSchema, aj as PollOptions, cP as RESOLVE_CREDENTIALS_ID, bJ as RateLimitInfo, bi as RecordProperty, aQ as RecordPropertySchema, bj as RecordsProperty, aR as RecordsPropertySchema, a9 as RelayFetchSchema, a8 as RelayRequestSchema, ai as RequestOptions, di as ResolveAuthTokenOptions, d_ as ResolveConnection, dK as ResolveCredentialsOptions, af as ResolvedAppLocator, dk as ResolvedAuth, dC as ResolvedCredentials, dS as ResolvedCredentialsSchema, aw as RootFieldItem, cv as RunActionPluginProvides, _ as SDK_OPTIONS_ID, dx as SdkEvent, an as SseMessage, bh as TableProperty, aP as TablePropertySchema, bm as TablesProperty, aU as TablesPropertySchema, bp as TriggerInboxKeyProperty, aX as TriggerInboxKeyPropertySchema, bq as TriggerInboxNameProperty, aY as TriggerInboxNamePropertySchema, bo as TriggerInboxProperty, aW as TriggerInboxPropertySchema, T as TriggerMessageStatus, cE as UpdateManifestEntryOptions, cF as UpdateManifestEntryResult, X as UserProfile, ax as UserProfileItem, n as WatchTriggerInboxSchema, e2 as ZAPIER_BASE_URL, ee as ZAPIER_MAX_CONCURRENT_REQUESTS, ea as ZAPIER_MAX_NETWORK_RETRIES, eb as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, o as ZapierAbortDrainSignal, bH as ZapierActionError, bA as ZapierApiError, bB as ZapierAppNotFoundError, bM as ZapierApprovalError, by as ZapierAuthenticationError, bF as ZapierBundleError, du as ZapierCacheEntry, dv as ZapierCacheSetOptions, bE as ZapierConfigurationError, bI as ZapierConflictError, bv as ZapierError, bC as ZapierNotFoundError, bK as ZapierRateLimitError, bN as ZapierRelayError, p as ZapierReleaseTriggerMessageSignal, bD as ZapierResourceNotFoundError, b$ as ZapierSignal, bG as ZapierTimeoutError, bx as ZapierUnknownError, bw as ZapierValidationError, cU as actionKeyResolver, cT as actionTypeResolver, cO as apiPlugin, cN as apiPluginRef, cS as appKeyResolver, c1 as appsPlugin, a3 as batch, eH as buildApplicationLifecycleEvent, a5 as buildCapabilityMessage, eJ as buildErrorEvent, eI as buildErrorEventWithContext, eL as buildMethodCalledEvent, ew as cleanupEventListeners, dl as clearTokenCache, c_ as clientCredentialsNameResolver, c$ as clientIdResolver, cW as connectionIdGenericResolver, cV as connectionIdResolver, e1 as connectionsPlugin, e0 as connectionsPluginRef, cq as createActionRunPlugin, eK as createBaseEvent, ch as createClientCredentialsPlugin, dw as createMemoryCache, ep as createTableFieldsPlugin, em as createTablePlugin, et as createTableRecordsPlugin, ak as createZapierApi, aa as createZapierSdkWithoutRegistry, ci as deleteClientCredentialsPlugin, eq as deleteTableFieldsPlugin, en as deleteTablePlugin, eu as deleteTableRecordsPlugin, d3 as durableRunIdResolver, eC as eventEmissionHookPlugin, eB as eventEmissionPlugin, eA as eventEmissionPluginRef, c5 as fetchPlugin, cm as findFirstConnectionPlugin, cA as findManifestEntry, cn as findUniqueConnectionPlugin, b_ as formatErrorMessage, eO as generateEventId, cd as getActionInputFieldsSchemaPlugin, ck as getActionPlugin, cs as getActionRunPlugin, ag as getAgent, cj as getAppPlugin, dN as getBaseUrlFromCredentials, a0 as getCallerContext, eU as getCiPlatform, dO as getClientIdFromCredentials, cl as getConnectionPlugin, eW as getCpuTime, eP as getCurrentTimestamp, eV as getMemoryUsage, al as getOrCreateApiClient, eR as getOsInfo, eS as getPlatformVersions, cz as getPreferredManifestEntryKey, cJ as getProfilePlugin, eQ as getReleaseId, el as getTablePlugin, er as getTableRecordPlugin, dq as getTokenFromCliLogin, eX as getTtyContext, ef as getZapierApprovalMode, e5 as getZapierCausationId, e4 as getZapierCorrelationId, eh as getZapierDefaultApprovalMode, eg as getZapierOpenAutoModeApprovalsInBrowser, e3 as getZapierSdkService, dn as injectCliLogin, cZ as inputFieldKeyResolver, cY as inputsAllOptionalResolver, cX as inputsResolver, dm as invalidateCachedToken, dt as invalidateCredentialsToken, eT as isCi, dp as isCliLoginAvailable, dG as isClientCredentials, dJ as isCredentialsFunction, dI as isCredentialsObject, am as isPermanentHttpError, dH as isPkceCredentials, q as isZapierAbortDrainSignal, bX as isZapierActionError, bR as isZapierAppNotFoundError, bZ as isZapierApprovalError, bQ as isZapierAuthenticationError, bW as isZapierBundleError, bU as isZapierConflictError, bO as isZapierError, bS as isZapierNotFoundError, bY as isZapierRateLimitError, r as isZapierReleaseTriggerMessageSignal, bT as isZapierResourceNotFoundError, c0 as isZapierSignal, bV as isZapierTimeoutError, bP as isZapierValidationError, cc as listActionInputFieldChoicesPlugin, ca as listActionInputFieldsPlugin, c8 as listActionsPlugin, c6 as listAppsPlugin, cg as listClientCredentialsPlugin, ce as listConnectionsPlugin, eo as listTableFieldsPlugin, es as listTableRecordsPlugin, ek as listTablesPlugin, a6 as logDeprecation, cD as manifestPlugin, cC as manifestPluginRef, eN as operationAnnotatorPlugin, ed as parseConcurrencyEnvVar, cy as readManifestFromFile, ah as registryPlugin, cw as requestPlugin, a7 as resetDeprecationWarnings, dr as resolveAuth, ds as resolveAuthToken, dM as resolveCredentials, dL as resolveCredentialsFromEnv, cR as resolveCredentialsPlugin, cQ as resolveCredentialsPluginRef, cu as runActionPlugin, a1 as runWithCallerContext, $ as sdkOptionsPluginRef, db as tableFieldIdsResolver, dd as tableFieldsResolver, dg as tableFiltersResolver, d0 as tableIdResolver, dc as tableNameResolver, d9 as tableRecordIdResolver, da as tableRecordIdsResolver, de as tableRecordsResolver, dh as tableSortResolver, df as tableUpdateRecordsResolver, d1 as triggerInboxResolver, d8 as triggerMessagesResolver, ev as updateTableRecordsPlugin, d5 as workflowDraftIdResolver, d6 as workflowDraftRevisionResolver, d2 as workflowIdResolver, d7 as workflowRunIdResolver, d4 as workflowVersionIdResolver, bz as zapierAdaptError, ab as zapierCoreOptions, Y as zapierSdkPlugin } from './index-
|
|
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-bCGYDrTW.mjs';
|
|
2
|
+
export { e9 as ACTION_RUNS_PATH, cM as API_ID, z as Action, cI as ActionEntry, c2 as ActionExecutionOptions, K as ActionExecutionResult, O as ActionField, P as ActionFieldChoice, at as ActionItem, b3 as ActionKeyProperty, aB as ActionKeyPropertySchema, b4 as ActionProperty, aC as ActionPropertySchema, ad as ActionResolverItem, bg as ActionTimeoutMillisecondsProperty, aO as ActionTimeoutMillisecondsPropertySchema, bf as ActionTimeoutSecondsProperty, aN as ActionTimeoutSecondsPropertySchema, ae as ActionTypeItem, b2 as ActionTypeProperty, aA as ActionTypePropertySchema, dz as ApiEvent, cL as ApiPluginOptions, H as App, c3 as AppFactoryInput, ar as AppItem, b0 as AppKeyProperty, ay as AppKeyPropertySchema, b1 as AppProperty, az as AppPropertySchema, eE as ApplicationLifecycleEventData, bL as ApprovalStatus, bl as AppsProperty, aT as AppsPropertySchema, dy as AuthEvent, dj as AuthMechanism, b8 as AuthenticationIdProperty, aF as AuthenticationIdPropertySchema, ac as BaseSdkOptionsSchema, a4 as BatchOptions, d$ as CONNECTIONS_ID, cp as CONTEXT_CACHE_MAX_SIZE, co as CONTEXT_CACHE_TTL_MILLISECONDS, a2 as CallerContext, J as Choice, dE as ClientCredentialsObject, dP as ClientCredentialsObjectSchema, U as Connection, dX as ConnectionEntry, dW as ConnectionEntrySchema, b6 as ConnectionIdProperty, aE as ConnectionIdPropertySchema, as as ConnectionItem, b7 as ConnectionProperty, aG as ConnectionPropertySchema, dZ as ConnectionsMap, dY as ConnectionsMapSchema, bn as ConnectionsProperty, aV as ConnectionsPropertySchema, V as ConnectionsResponse, cr as CreateActionRunPluginProvides, dB as Credentials, dU as CredentialsFunction, dT as CredentialsFunctionSchema, dD as CredentialsObject, dR as CredentialsObjectSchema, dV as CredentialsSchema, e8 as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, ei as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cG as DEFAULT_CONFIG_PATH, ej as DEFAULT_MAX_APPROVAL_RETRIES, e7 as DEFAULT_PAGE_SIZE, ap as DEPRECATION_NOTICE_EVENT, bd as DebugProperty, aL as DebugPropertySchema, aq as DeprecationNoticePayload, s as DrainTriggerInboxCallback, t as DrainTriggerInboxErrorObserver, m as DrainTriggerInboxSchema, ez as EVENT_EMISSION_ID, eF as EnhancedErrorEventData, bu as ErrorOptions, eD as EventContext, ex as EventEmissionContext, ey as EventEmitter, c4 as FetchPluginProvides, I as Field, bk as FieldsProperty, aS as FieldsPropertySchema, x as FindFirstAuthenticationPluginProvides, y as FindUniqueAuthenticationPluginProvides, ct as GetActionRunPluginProvides, w as GetAuthenticationPluginProvides, cK as GetProfilePluginProvides, av as InfoFieldItem, au as InputFieldItem, b5 as InputFieldProperty, aD as InputFieldPropertySchema, b9 as InputsProperty, aH as InputsPropertySchema, ao as JsonSseMessage, bt as LeaseLimitProperty, a$ as LeaseLimitPropertySchema, br as LeaseProperty, aZ as LeasePropertySchema, bs as LeaseSecondsProperty, a_ as LeaseSecondsPropertySchema, u as LeasedTriggerMessageItem, ba as LimitProperty, aI as LimitPropertySchema, cb as ListActionInputFieldsPluginProvides, c9 as ListActionsPluginProvides, c7 as ListAppsPluginProvides, v as ListAuthenticationsPluginProvides, cf as ListConnectionsPluginProvides, dA as LoadingEvent, cB as MANIFEST_ID, ec as MAX_CONCURRENCY_LIMIT, e6 as MAX_PAGE_LIMIT, cH as ManifestEntry, cx as ManifestPluginOptions, eM as MethodCalledEvent, eG as MethodCalledEventData, N as Need, Q as NeedsRequest, S as NeedsResponse, bb as OffsetProperty, aJ as OffsetPropertySchema, bc as OutputProperty, aK as OutputPropertySchema, be as ParamsProperty, aM as ParamsPropertySchema, dF as PkceCredentialsObject, dQ as PkceCredentialsObjectSchema, aj as PollOptions, cP as RESOLVE_CREDENTIALS_ID, bJ as RateLimitInfo, bi as RecordProperty, aQ as RecordPropertySchema, bj as RecordsProperty, aR as RecordsPropertySchema, a9 as RelayFetchSchema, a8 as RelayRequestSchema, ai as RequestOptions, di as ResolveAuthTokenOptions, d_ as ResolveConnection, dK as ResolveCredentialsOptions, af as ResolvedAppLocator, dk as ResolvedAuth, dC as ResolvedCredentials, dS as ResolvedCredentialsSchema, aw as RootFieldItem, cv as RunActionPluginProvides, _ as SDK_OPTIONS_ID, dx as SdkEvent, an as SseMessage, bh as TableProperty, aP as TablePropertySchema, bm as TablesProperty, aU as TablesPropertySchema, bp as TriggerInboxKeyProperty, aX as TriggerInboxKeyPropertySchema, bq as TriggerInboxNameProperty, aY as TriggerInboxNamePropertySchema, bo as TriggerInboxProperty, aW as TriggerInboxPropertySchema, T as TriggerMessageStatus, cE as UpdateManifestEntryOptions, cF as UpdateManifestEntryResult, X as UserProfile, ax as UserProfileItem, n as WatchTriggerInboxSchema, e2 as ZAPIER_BASE_URL, ee as ZAPIER_MAX_CONCURRENT_REQUESTS, ea as ZAPIER_MAX_NETWORK_RETRIES, eb as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, o as ZapierAbortDrainSignal, bH as ZapierActionError, bA as ZapierApiError, bB as ZapierAppNotFoundError, bM as ZapierApprovalError, by as ZapierAuthenticationError, bF as ZapierBundleError, du as ZapierCacheEntry, dv as ZapierCacheSetOptions, bE as ZapierConfigurationError, bI as ZapierConflictError, bv as ZapierError, bC as ZapierNotFoundError, bK as ZapierRateLimitError, bN as ZapierRelayError, p as ZapierReleaseTriggerMessageSignal, bD as ZapierResourceNotFoundError, b$ as ZapierSignal, bG as ZapierTimeoutError, bx as ZapierUnknownError, bw as ZapierValidationError, cU as actionKeyResolver, cT as actionTypeResolver, cO as apiPlugin, cN as apiPluginRef, cS as appKeyResolver, c1 as appsPlugin, a3 as batch, eH as buildApplicationLifecycleEvent, a5 as buildCapabilityMessage, eJ as buildErrorEvent, eI as buildErrorEventWithContext, eL as buildMethodCalledEvent, ew as cleanupEventListeners, dl as clearTokenCache, c_ as clientCredentialsNameResolver, c$ as clientIdResolver, cW as connectionIdGenericResolver, cV as connectionIdResolver, e1 as connectionsPlugin, e0 as connectionsPluginRef, cq as createActionRunPlugin, eK as createBaseEvent, ch as createClientCredentialsPlugin, dw as createMemoryCache, ep as createTableFieldsPlugin, em as createTablePlugin, et as createTableRecordsPlugin, ak as createZapierApi, aa as createZapierSdkWithoutRegistry, ci as deleteClientCredentialsPlugin, eq as deleteTableFieldsPlugin, en as deleteTablePlugin, eu as deleteTableRecordsPlugin, d3 as durableRunIdResolver, eC as eventEmissionHookPlugin, eB as eventEmissionPlugin, eA as eventEmissionPluginRef, c5 as fetchPlugin, cm as findFirstConnectionPlugin, cA as findManifestEntry, cn as findUniqueConnectionPlugin, b_ as formatErrorMessage, eO as generateEventId, cd as getActionInputFieldsSchemaPlugin, ck as getActionPlugin, cs as getActionRunPlugin, ag as getAgent, cj as getAppPlugin, dN as getBaseUrlFromCredentials, a0 as getCallerContext, eU as getCiPlatform, dO as getClientIdFromCredentials, cl as getConnectionPlugin, eW as getCpuTime, eP as getCurrentTimestamp, eV as getMemoryUsage, al as getOrCreateApiClient, eR as getOsInfo, eS as getPlatformVersions, cz as getPreferredManifestEntryKey, cJ as getProfilePlugin, eQ as getReleaseId, el as getTablePlugin, er as getTableRecordPlugin, dq as getTokenFromCliLogin, eX as getTtyContext, ef as getZapierApprovalMode, e5 as getZapierCausationId, e4 as getZapierCorrelationId, eh as getZapierDefaultApprovalMode, eg as getZapierOpenAutoModeApprovalsInBrowser, e3 as getZapierSdkService, dn as injectCliLogin, cZ as inputFieldKeyResolver, cY as inputsAllOptionalResolver, cX as inputsResolver, dm as invalidateCachedToken, dt as invalidateCredentialsToken, eT as isCi, dp as isCliLoginAvailable, dG as isClientCredentials, dJ as isCredentialsFunction, dI as isCredentialsObject, am as isPermanentHttpError, dH as isPkceCredentials, q as isZapierAbortDrainSignal, bX as isZapierActionError, bR as isZapierAppNotFoundError, bZ as isZapierApprovalError, bQ as isZapierAuthenticationError, bW as isZapierBundleError, bU as isZapierConflictError, bO as isZapierError, bS as isZapierNotFoundError, bY as isZapierRateLimitError, r as isZapierReleaseTriggerMessageSignal, bT as isZapierResourceNotFoundError, c0 as isZapierSignal, bV as isZapierTimeoutError, bP as isZapierValidationError, cc as listActionInputFieldChoicesPlugin, ca as listActionInputFieldsPlugin, c8 as listActionsPlugin, c6 as listAppsPlugin, cg as listClientCredentialsPlugin, ce as listConnectionsPlugin, eo as listTableFieldsPlugin, es as listTableRecordsPlugin, ek as listTablesPlugin, a6 as logDeprecation, cD as manifestPlugin, cC as manifestPluginRef, eN as operationAnnotatorPlugin, ed as parseConcurrencyEnvVar, cy as readManifestFromFile, ah as registryPlugin, cw as requestPlugin, a7 as resetDeprecationWarnings, dr as resolveAuth, ds as resolveAuthToken, dM as resolveCredentials, dL as resolveCredentialsFromEnv, cR as resolveCredentialsPlugin, cQ as resolveCredentialsPluginRef, cu as runActionPlugin, a1 as runWithCallerContext, $ as sdkOptionsPluginRef, db as tableFieldIdsResolver, dd as tableFieldsResolver, dg as tableFiltersResolver, d0 as tableIdResolver, dc as tableNameResolver, d9 as tableRecordIdResolver, da as tableRecordIdsResolver, de as tableRecordsResolver, dh as tableSortResolver, df as tableUpdateRecordsResolver, d1 as triggerInboxResolver, d8 as triggerMessagesResolver, ev as updateTableRecordsPlugin, d5 as workflowDraftIdResolver, d6 as workflowDraftRevisionResolver, d2 as workflowIdResolver, d7 as workflowRunIdResolver, d4 as workflowVersionIdResolver, bz as zapierAdaptError, ab as zapierCoreOptions, Y as zapierSdkPlugin } from './index-bCGYDrTW.mjs';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
|
+
import { z } from 'zod';
|
|
4
5
|
import * as zod_v4_core from 'zod/v4/core';
|
|
5
6
|
import * as _zapier_kitcore from '@zapier/kitcore';
|
|
6
7
|
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, MethodOverridePlugin, MethodPlugin, ModelResolver, NegatableMetadata, OptionalDeclarationSummary, OutputFormatter, PaginatedSdkFunction, PaginatedSdkResult, Plugin, PluginMeta, PluginProvides, PluginSummary, PluginSurface, PositionalMetadata, PropertyPlugin, Resolver, ResolverMetadata, SdkPage, StandInId, StaticResolver, addPlugin, composePlugins, createController, createCorePlugin, createFunction, createPaginatedFunction, createPaginatedPluginMethod, createPluginMethod, createPluginStack, createSdk, declareMethod, declareOptionalProperty, declarePlugin, declareProperty, defineFormatter, defineLegacyMerge, defineMethod, defineMethodOverride, defineOverride, definePlugin, defineProperty, defineResolver, disposeSdk, fromFunctionPlugin, getContext, getCoreErrorCause, getCoreErrorCode, getNegatable, getRegistryPlugin, isCoreCancelledSignal, isCoreError, isCoreSignal, isPositional, omitExports, resolvePlugin, runInMethodScope, runWithTelemetryContext, selectExports, toSnakeCase, toTitleCase } from '@zapier/kitcore';
|
|
7
8
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
|
8
9
|
import '@zapier/policy-context';
|
|
9
10
|
|
|
11
|
+
declare const INTERNAL_CREATE_WORKFLOW_FIELDS: readonly ["creationHarness", "creationAccessMethod"];
|
|
12
|
+
declare const CreateWorkflowOptionsSchema: z.ZodObject<{
|
|
13
|
+
name: z.ZodString;
|
|
14
|
+
description: z.ZodOptional<z.ZodString>;
|
|
15
|
+
private: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
creationHarness: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
creationAccessMethod: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
unknown: "unknown";
|
|
19
|
+
api: "api";
|
|
20
|
+
sdk_cli: "sdk_cli";
|
|
21
|
+
sdk_mcp: "sdk_mcp";
|
|
22
|
+
zapier_mcp: "zapier_mcp";
|
|
23
|
+
editor: "editor";
|
|
24
|
+
}>>;
|
|
25
|
+
is_private: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
type CreateWorkflowOptions = z.infer<typeof CreateWorkflowOptionsSchema>;
|
|
28
|
+
declare const CreateWorkflowResponseSchema: z.ZodObject<{
|
|
29
|
+
id: z.ZodString;
|
|
30
|
+
name: z.ZodString;
|
|
31
|
+
description: z.ZodNullable<z.ZodString>;
|
|
32
|
+
trigger_url: z.ZodString;
|
|
33
|
+
editor_url: z.ZodString;
|
|
34
|
+
enabled: z.ZodBoolean;
|
|
35
|
+
is_private: z.ZodBoolean;
|
|
36
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
37
|
+
created_at: z.ZodString;
|
|
38
|
+
creation_client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
harness: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
access_method: z.ZodString;
|
|
41
|
+
sdk_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
}, z.core.$strip>>>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
type CreateWorkflowResponse = z.infer<typeof CreateWorkflowResponseSchema>;
|
|
45
|
+
|
|
10
46
|
/**
|
|
11
47
|
* A blocking draft as listed by the 409's `meta.open_drafts` — the element
|
|
12
48
|
* type of `ZapierConflictError.meta.open_drafts` on the open-draft publish
|
|
@@ -7444,6 +7480,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7444
7480
|
created_at: string;
|
|
7445
7481
|
updated_at: string;
|
|
7446
7482
|
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
7483
|
+
creation_client?: {
|
|
7484
|
+
access_method: string;
|
|
7485
|
+
harness?: string | null | undefined;
|
|
7486
|
+
sdk_version?: string | null | undefined;
|
|
7487
|
+
} | null | undefined;
|
|
7447
7488
|
}>, readonly [], Omit<{
|
|
7448
7489
|
pageSize?: number | undefined;
|
|
7449
7490
|
maxItems?: number | undefined;
|
|
@@ -7486,6 +7527,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7486
7527
|
created_at: string;
|
|
7487
7528
|
updated_at: string;
|
|
7488
7529
|
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
7530
|
+
creation_client?: {
|
|
7531
|
+
access_method: string;
|
|
7532
|
+
harness?: string | null | undefined;
|
|
7533
|
+
sdk_version?: string | null | undefined;
|
|
7534
|
+
} | null | undefined;
|
|
7489
7535
|
}>>;
|
|
7490
7536
|
} & {
|
|
7491
7537
|
getWorkflow: _zapier_kitcore.MethodPlugin<"getWorkflow", {
|
|
@@ -7538,6 +7584,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7538
7584
|
version?: string | undefined;
|
|
7539
7585
|
}> | null;
|
|
7540
7586
|
} | undefined;
|
|
7587
|
+
creation_client?: {
|
|
7588
|
+
access_method: string;
|
|
7589
|
+
harness?: string | null | undefined;
|
|
7590
|
+
sdk_version?: string | null | undefined;
|
|
7591
|
+
} | null | undefined;
|
|
7541
7592
|
};
|
|
7542
7593
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7543
7594
|
}>, readonly [], {
|
|
@@ -7592,6 +7643,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7592
7643
|
version?: string | undefined;
|
|
7593
7644
|
}> | null;
|
|
7594
7645
|
} | undefined;
|
|
7646
|
+
creation_client?: {
|
|
7647
|
+
access_method: string;
|
|
7648
|
+
harness?: string | null | undefined;
|
|
7649
|
+
sdk_version?: string | null | undefined;
|
|
7650
|
+
} | null | undefined;
|
|
7595
7651
|
};
|
|
7596
7652
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7597
7653
|
}>>;
|
|
@@ -7600,6 +7656,8 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7600
7656
|
name: string;
|
|
7601
7657
|
description?: string | undefined;
|
|
7602
7658
|
private?: boolean | undefined;
|
|
7659
|
+
creationHarness?: string | null | undefined;
|
|
7660
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
7603
7661
|
is_private?: boolean | undefined;
|
|
7604
7662
|
} & {
|
|
7605
7663
|
skipOutputDataValidation?: boolean;
|
|
@@ -7614,6 +7672,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7614
7672
|
is_private: boolean;
|
|
7615
7673
|
created_by_user_id: string | null;
|
|
7616
7674
|
created_at: string;
|
|
7675
|
+
creation_client?: {
|
|
7676
|
+
access_method: string;
|
|
7677
|
+
harness?: string | null | undefined;
|
|
7678
|
+
sdk_version?: string | null | undefined;
|
|
7679
|
+
} | null | undefined;
|
|
7617
7680
|
};
|
|
7618
7681
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7619
7682
|
}>, readonly [], {
|
|
@@ -7621,10 +7684,14 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7621
7684
|
name: string;
|
|
7622
7685
|
is_private?: boolean | undefined;
|
|
7623
7686
|
private?: boolean | undefined;
|
|
7687
|
+
creationHarness?: string | null | undefined;
|
|
7688
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
7624
7689
|
}> & _zapier_kitcore.LeafSummary<"", "createWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
7625
7690
|
name: string;
|
|
7626
7691
|
description?: string | undefined;
|
|
7627
7692
|
private?: boolean | undefined;
|
|
7693
|
+
creationHarness?: string | null | undefined;
|
|
7694
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
7628
7695
|
is_private?: boolean | undefined;
|
|
7629
7696
|
} & {
|
|
7630
7697
|
skipOutputDataValidation?: boolean;
|
|
@@ -7639,6 +7706,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7639
7706
|
is_private: boolean;
|
|
7640
7707
|
created_by_user_id: string | null;
|
|
7641
7708
|
created_at: string;
|
|
7709
|
+
creation_client?: {
|
|
7710
|
+
access_method: string;
|
|
7711
|
+
harness?: string | null | undefined;
|
|
7712
|
+
sdk_version?: string | null | undefined;
|
|
7713
|
+
} | null | undefined;
|
|
7642
7714
|
};
|
|
7643
7715
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7644
7716
|
}>>;
|
|
@@ -11970,6 +12042,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
11970
12042
|
created_at: string;
|
|
11971
12043
|
updated_at: string;
|
|
11972
12044
|
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
12045
|
+
creation_client?: {
|
|
12046
|
+
access_method: string;
|
|
12047
|
+
harness?: string | null | undefined;
|
|
12048
|
+
sdk_version?: string | null | undefined;
|
|
12049
|
+
} | null | undefined;
|
|
11973
12050
|
}>> | _zapier_kitcore.ContractEntry<"getWorkflow", (input: {
|
|
11974
12051
|
workflow: string;
|
|
11975
12052
|
} & {
|
|
@@ -12020,12 +12097,19 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12020
12097
|
version?: string | undefined;
|
|
12021
12098
|
}> | null;
|
|
12022
12099
|
} | undefined;
|
|
12100
|
+
creation_client?: {
|
|
12101
|
+
access_method: string;
|
|
12102
|
+
harness?: string | null | undefined;
|
|
12103
|
+
sdk_version?: string | null | undefined;
|
|
12104
|
+
} | null | undefined;
|
|
12023
12105
|
};
|
|
12024
12106
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12025
12107
|
}>> | _zapier_kitcore.ContractEntry<"createWorkflow", (input: {
|
|
12026
12108
|
name: string;
|
|
12027
12109
|
description?: string | undefined;
|
|
12028
12110
|
private?: boolean | undefined;
|
|
12111
|
+
creationHarness?: string | null | undefined;
|
|
12112
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
12029
12113
|
is_private?: boolean | undefined;
|
|
12030
12114
|
} & {
|
|
12031
12115
|
skipOutputDataValidation?: boolean;
|
|
@@ -12040,6 +12124,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12040
12124
|
is_private: boolean;
|
|
12041
12125
|
created_by_user_id: string | null;
|
|
12042
12126
|
created_at: string;
|
|
12127
|
+
creation_client?: {
|
|
12128
|
+
access_method: string;
|
|
12129
|
+
harness?: string | null | undefined;
|
|
12130
|
+
sdk_version?: string | null | undefined;
|
|
12131
|
+
} | null | undefined;
|
|
12043
12132
|
};
|
|
12044
12133
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12045
12134
|
}>> | _zapier_kitcore.ContractEntry<"importWorkflow", (input: {
|
|
@@ -14835,6 +14924,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14835
14924
|
created_at: string;
|
|
14836
14925
|
updated_at: string;
|
|
14837
14926
|
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
14927
|
+
creation_client?: {
|
|
14928
|
+
access_method: string;
|
|
14929
|
+
harness?: string | null | undefined;
|
|
14930
|
+
sdk_version?: string | null | undefined;
|
|
14931
|
+
} | null | undefined;
|
|
14838
14932
|
}>;
|
|
14839
14933
|
getWorkflow: (input: {
|
|
14840
14934
|
workflow: string;
|
|
@@ -14886,6 +14980,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14886
14980
|
version?: string | undefined;
|
|
14887
14981
|
}> | null;
|
|
14888
14982
|
} | undefined;
|
|
14983
|
+
creation_client?: {
|
|
14984
|
+
access_method: string;
|
|
14985
|
+
harness?: string | null | undefined;
|
|
14986
|
+
sdk_version?: string | null | undefined;
|
|
14987
|
+
} | null | undefined;
|
|
14889
14988
|
};
|
|
14890
14989
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
14891
14990
|
}>;
|
|
@@ -14893,6 +14992,8 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14893
14992
|
name: string;
|
|
14894
14993
|
description?: string | undefined;
|
|
14895
14994
|
private?: boolean | undefined;
|
|
14995
|
+
creationHarness?: string | null | undefined;
|
|
14996
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
14896
14997
|
is_private?: boolean | undefined;
|
|
14897
14998
|
} & {
|
|
14898
14999
|
skipOutputDataValidation?: boolean;
|
|
@@ -14907,6 +15008,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14907
15008
|
is_private: boolean;
|
|
14908
15009
|
created_by_user_id: string | null;
|
|
14909
15010
|
created_at: string;
|
|
15011
|
+
creation_client?: {
|
|
15012
|
+
access_method: string;
|
|
15013
|
+
harness?: string | null | undefined;
|
|
15014
|
+
sdk_version?: string | null | undefined;
|
|
15015
|
+
} | null | undefined;
|
|
14910
15016
|
};
|
|
14911
15017
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
14912
15018
|
}>;
|
|
@@ -16058,4 +16164,4 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
16058
16164
|
interface ZapierSdk extends ReturnType<typeof createZapierSdk> {
|
|
16059
16165
|
}
|
|
16060
16166
|
|
|
16061
|
-
export { ApiClient, BaseEvent, ConnectionsProvider, DrainTriggerInboxOptions, EventCallback, EventEmissionConfig, EventTransport, FieldsetItem, Manifest, ManifestProvider, type OpenDraftRef, ResolveCredentialsFn, WatchTriggerInboxOptions, ZapierCache, ZapierFetchInitOptions, type ZapierSdk, ZapierSdkApps, type ZapierSdkOptions, createZapierSdk, zapierExperimentalSdkPlugin };
|
|
16167
|
+
export { ApiClient, BaseEvent, ConnectionsProvider, type CreateWorkflowOptions, CreateWorkflowOptionsSchema, type CreateWorkflowResponse, CreateWorkflowResponseSchema, DrainTriggerInboxOptions, EventCallback, EventEmissionConfig, EventTransport, FieldsetItem, INTERNAL_CREATE_WORKFLOW_FIELDS, Manifest, ManifestProvider, type OpenDraftRef, ResolveCredentialsFn, WatchTriggerInboxOptions, ZapierCache, ZapierFetchInitOptions, type ZapierSdk, ZapierSdkApps, type ZapierSdkOptions, createZapierSdk, zapierExperimentalSdkPlugin };
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1,12 +1,48 @@
|
|
|
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-
|
|
2
|
-
export { e9 as ACTION_RUNS_PATH, cM as API_ID, z as Action, cI as ActionEntry, c2 as ActionExecutionOptions, K as ActionExecutionResult, O as ActionField, P as ActionFieldChoice, at as ActionItem, b3 as ActionKeyProperty, aB as ActionKeyPropertySchema, b4 as ActionProperty, aC as ActionPropertySchema, ad as ActionResolverItem, bg as ActionTimeoutMillisecondsProperty, aO as ActionTimeoutMillisecondsPropertySchema, bf as ActionTimeoutSecondsProperty, aN as ActionTimeoutSecondsPropertySchema, ae as ActionTypeItem, b2 as ActionTypeProperty, aA as ActionTypePropertySchema, dz as ApiEvent, cL as ApiPluginOptions, H as App, c3 as AppFactoryInput, ar as AppItem, b0 as AppKeyProperty, ay as AppKeyPropertySchema, b1 as AppProperty, az as AppPropertySchema, eE as ApplicationLifecycleEventData, bL as ApprovalStatus, bl as AppsProperty, aT as AppsPropertySchema, dy as AuthEvent, dj as AuthMechanism, b8 as AuthenticationIdProperty, aF as AuthenticationIdPropertySchema, ac as BaseSdkOptionsSchema, a4 as BatchOptions, d$ as CONNECTIONS_ID, cp as CONTEXT_CACHE_MAX_SIZE, co as CONTEXT_CACHE_TTL_MILLISECONDS, a2 as CallerContext, J as Choice, dE as ClientCredentialsObject, dP as ClientCredentialsObjectSchema, U as Connection, dX as ConnectionEntry, dW as ConnectionEntrySchema, b6 as ConnectionIdProperty, aE as ConnectionIdPropertySchema, as as ConnectionItem, b7 as ConnectionProperty, aG as ConnectionPropertySchema, dZ as ConnectionsMap, dY as ConnectionsMapSchema, bn as ConnectionsProperty, aV as ConnectionsPropertySchema, V as ConnectionsResponse, cr as CreateActionRunPluginProvides, dB as Credentials, dU as CredentialsFunction, dT as CredentialsFunctionSchema, dD as CredentialsObject, dR as CredentialsObjectSchema, dV as CredentialsSchema, e8 as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, ei as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cG as DEFAULT_CONFIG_PATH, ej as DEFAULT_MAX_APPROVAL_RETRIES, e7 as DEFAULT_PAGE_SIZE, ap as DEPRECATION_NOTICE_EVENT, bd as DebugProperty, aL as DebugPropertySchema, aq as DeprecationNoticePayload, s as DrainTriggerInboxCallback, t as DrainTriggerInboxErrorObserver, m as DrainTriggerInboxSchema, ez as EVENT_EMISSION_ID, eF as EnhancedErrorEventData, bu as ErrorOptions, eD as EventContext, ex as EventEmissionContext, ey as EventEmitter, c4 as FetchPluginProvides, I as Field, bk as FieldsProperty, aS as FieldsPropertySchema, x as FindFirstAuthenticationPluginProvides, y as FindUniqueAuthenticationPluginProvides, ct as GetActionRunPluginProvides, w as GetAuthenticationPluginProvides, cK as GetProfilePluginProvides, av as InfoFieldItem, au as InputFieldItem, b5 as InputFieldProperty, aD as InputFieldPropertySchema, b9 as InputsProperty, aH as InputsPropertySchema, ao as JsonSseMessage, bt as LeaseLimitProperty, a$ as LeaseLimitPropertySchema, br as LeaseProperty, aZ as LeasePropertySchema, bs as LeaseSecondsProperty, a_ as LeaseSecondsPropertySchema, u as LeasedTriggerMessageItem, ba as LimitProperty, aI as LimitPropertySchema, cb as ListActionInputFieldsPluginProvides, c9 as ListActionsPluginProvides, c7 as ListAppsPluginProvides, v as ListAuthenticationsPluginProvides, cf as ListConnectionsPluginProvides, dA as LoadingEvent, cB as MANIFEST_ID, ec as MAX_CONCURRENCY_LIMIT, e6 as MAX_PAGE_LIMIT, cH as ManifestEntry, cx as ManifestPluginOptions, eM as MethodCalledEvent, eG as MethodCalledEventData, N as Need, Q as NeedsRequest, S as NeedsResponse, bb as OffsetProperty, aJ as OffsetPropertySchema, bc as OutputProperty, aK as OutputPropertySchema, be as ParamsProperty, aM as ParamsPropertySchema, dF as PkceCredentialsObject, dQ as PkceCredentialsObjectSchema, aj as PollOptions, cP as RESOLVE_CREDENTIALS_ID, bJ as RateLimitInfo, bi as RecordProperty, aQ as RecordPropertySchema, bj as RecordsProperty, aR as RecordsPropertySchema, a9 as RelayFetchSchema, a8 as RelayRequestSchema, ai as RequestOptions, di as ResolveAuthTokenOptions, d_ as ResolveConnection, dK as ResolveCredentialsOptions, af as ResolvedAppLocator, dk as ResolvedAuth, dC as ResolvedCredentials, dS as ResolvedCredentialsSchema, aw as RootFieldItem, cv as RunActionPluginProvides, _ as SDK_OPTIONS_ID, dx as SdkEvent, an as SseMessage, bh as TableProperty, aP as TablePropertySchema, bm as TablesProperty, aU as TablesPropertySchema, bp as TriggerInboxKeyProperty, aX as TriggerInboxKeyPropertySchema, bq as TriggerInboxNameProperty, aY as TriggerInboxNamePropertySchema, bo as TriggerInboxProperty, aW as TriggerInboxPropertySchema, T as TriggerMessageStatus, cE as UpdateManifestEntryOptions, cF as UpdateManifestEntryResult, X as UserProfile, ax as UserProfileItem, n as WatchTriggerInboxSchema, e2 as ZAPIER_BASE_URL, ee as ZAPIER_MAX_CONCURRENT_REQUESTS, ea as ZAPIER_MAX_NETWORK_RETRIES, eb as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, o as ZapierAbortDrainSignal, bH as ZapierActionError, bA as ZapierApiError, bB as ZapierAppNotFoundError, bM as ZapierApprovalError, by as ZapierAuthenticationError, bF as ZapierBundleError, du as ZapierCacheEntry, dv as ZapierCacheSetOptions, bE as ZapierConfigurationError, bI as ZapierConflictError, bv as ZapierError, bC as ZapierNotFoundError, bK as ZapierRateLimitError, bN as ZapierRelayError, p as ZapierReleaseTriggerMessageSignal, bD as ZapierResourceNotFoundError, b$ as ZapierSignal, bG as ZapierTimeoutError, bx as ZapierUnknownError, bw as ZapierValidationError, cU as actionKeyResolver, cT as actionTypeResolver, cO as apiPlugin, cN as apiPluginRef, cS as appKeyResolver, c1 as appsPlugin, a3 as batch, eH as buildApplicationLifecycleEvent, a5 as buildCapabilityMessage, eJ as buildErrorEvent, eI as buildErrorEventWithContext, eL as buildMethodCalledEvent, ew as cleanupEventListeners, dl as clearTokenCache, c_ as clientCredentialsNameResolver, c$ as clientIdResolver, cW as connectionIdGenericResolver, cV as connectionIdResolver, e1 as connectionsPlugin, e0 as connectionsPluginRef, cq as createActionRunPlugin, eK as createBaseEvent, ch as createClientCredentialsPlugin, dw as createMemoryCache, ep as createTableFieldsPlugin, em as createTablePlugin, et as createTableRecordsPlugin, ak as createZapierApi, aa as createZapierSdkWithoutRegistry, ci as deleteClientCredentialsPlugin, eq as deleteTableFieldsPlugin, en as deleteTablePlugin, eu as deleteTableRecordsPlugin, d3 as durableRunIdResolver, eC as eventEmissionHookPlugin, eB as eventEmissionPlugin, eA as eventEmissionPluginRef, c5 as fetchPlugin, cm as findFirstConnectionPlugin, cA as findManifestEntry, cn as findUniqueConnectionPlugin, b_ as formatErrorMessage, eO as generateEventId, cd as getActionInputFieldsSchemaPlugin, ck as getActionPlugin, cs as getActionRunPlugin, ag as getAgent, cj as getAppPlugin, dN as getBaseUrlFromCredentials, a0 as getCallerContext, eU as getCiPlatform, dO as getClientIdFromCredentials, cl as getConnectionPlugin, eW as getCpuTime, eP as getCurrentTimestamp, eV as getMemoryUsage, al as getOrCreateApiClient, eR as getOsInfo, eS as getPlatformVersions, cz as getPreferredManifestEntryKey, cJ as getProfilePlugin, eQ as getReleaseId, el as getTablePlugin, er as getTableRecordPlugin, dq as getTokenFromCliLogin, eX as getTtyContext, ef as getZapierApprovalMode, e5 as getZapierCausationId, e4 as getZapierCorrelationId, eh as getZapierDefaultApprovalMode, eg as getZapierOpenAutoModeApprovalsInBrowser, e3 as getZapierSdkService, dn as injectCliLogin, cZ as inputFieldKeyResolver, cY as inputsAllOptionalResolver, cX as inputsResolver, dm as invalidateCachedToken, dt as invalidateCredentialsToken, eT as isCi, dp as isCliLoginAvailable, dG as isClientCredentials, dJ as isCredentialsFunction, dI as isCredentialsObject, am as isPermanentHttpError, dH as isPkceCredentials, q as isZapierAbortDrainSignal, bX as isZapierActionError, bR as isZapierAppNotFoundError, bZ as isZapierApprovalError, bQ as isZapierAuthenticationError, bW as isZapierBundleError, bU as isZapierConflictError, bO as isZapierError, bS as isZapierNotFoundError, bY as isZapierRateLimitError, r as isZapierReleaseTriggerMessageSignal, bT as isZapierResourceNotFoundError, c0 as isZapierSignal, bV as isZapierTimeoutError, bP as isZapierValidationError, cc as listActionInputFieldChoicesPlugin, ca as listActionInputFieldsPlugin, c8 as listActionsPlugin, c6 as listAppsPlugin, cg as listClientCredentialsPlugin, ce as listConnectionsPlugin, eo as listTableFieldsPlugin, es as listTableRecordsPlugin, ek as listTablesPlugin, a6 as logDeprecation, cD as manifestPlugin, cC as manifestPluginRef, eN as operationAnnotatorPlugin, ed as parseConcurrencyEnvVar, cy as readManifestFromFile, ah as registryPlugin, cw as requestPlugin, a7 as resetDeprecationWarnings, dr as resolveAuth, ds as resolveAuthToken, dM as resolveCredentials, dL as resolveCredentialsFromEnv, cR as resolveCredentialsPlugin, cQ as resolveCredentialsPluginRef, cu as runActionPlugin, a1 as runWithCallerContext, $ as sdkOptionsPluginRef, db as tableFieldIdsResolver, dd as tableFieldsResolver, dg as tableFiltersResolver, d0 as tableIdResolver, dc as tableNameResolver, d9 as tableRecordIdResolver, da as tableRecordIdsResolver, de as tableRecordsResolver, dh as tableSortResolver, df as tableUpdateRecordsResolver, d1 as triggerInboxResolver, d8 as triggerMessagesResolver, ev as updateTableRecordsPlugin, d5 as workflowDraftIdResolver, d6 as workflowDraftRevisionResolver, d2 as workflowIdResolver, d7 as workflowRunIdResolver, d4 as workflowVersionIdResolver, bz as zapierAdaptError, ab as zapierCoreOptions, Y as zapierSdkPlugin } from './index-
|
|
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-bCGYDrTW.js';
|
|
2
|
+
export { e9 as ACTION_RUNS_PATH, cM as API_ID, z as Action, cI as ActionEntry, c2 as ActionExecutionOptions, K as ActionExecutionResult, O as ActionField, P as ActionFieldChoice, at as ActionItem, b3 as ActionKeyProperty, aB as ActionKeyPropertySchema, b4 as ActionProperty, aC as ActionPropertySchema, ad as ActionResolverItem, bg as ActionTimeoutMillisecondsProperty, aO as ActionTimeoutMillisecondsPropertySchema, bf as ActionTimeoutSecondsProperty, aN as ActionTimeoutSecondsPropertySchema, ae as ActionTypeItem, b2 as ActionTypeProperty, aA as ActionTypePropertySchema, dz as ApiEvent, cL as ApiPluginOptions, H as App, c3 as AppFactoryInput, ar as AppItem, b0 as AppKeyProperty, ay as AppKeyPropertySchema, b1 as AppProperty, az as AppPropertySchema, eE as ApplicationLifecycleEventData, bL as ApprovalStatus, bl as AppsProperty, aT as AppsPropertySchema, dy as AuthEvent, dj as AuthMechanism, b8 as AuthenticationIdProperty, aF as AuthenticationIdPropertySchema, ac as BaseSdkOptionsSchema, a4 as BatchOptions, d$ as CONNECTIONS_ID, cp as CONTEXT_CACHE_MAX_SIZE, co as CONTEXT_CACHE_TTL_MILLISECONDS, a2 as CallerContext, J as Choice, dE as ClientCredentialsObject, dP as ClientCredentialsObjectSchema, U as Connection, dX as ConnectionEntry, dW as ConnectionEntrySchema, b6 as ConnectionIdProperty, aE as ConnectionIdPropertySchema, as as ConnectionItem, b7 as ConnectionProperty, aG as ConnectionPropertySchema, dZ as ConnectionsMap, dY as ConnectionsMapSchema, bn as ConnectionsProperty, aV as ConnectionsPropertySchema, V as ConnectionsResponse, cr as CreateActionRunPluginProvides, dB as Credentials, dU as CredentialsFunction, dT as CredentialsFunctionSchema, dD as CredentialsObject, dR as CredentialsObjectSchema, dV as CredentialsSchema, e8 as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, ei as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cG as DEFAULT_CONFIG_PATH, ej as DEFAULT_MAX_APPROVAL_RETRIES, e7 as DEFAULT_PAGE_SIZE, ap as DEPRECATION_NOTICE_EVENT, bd as DebugProperty, aL as DebugPropertySchema, aq as DeprecationNoticePayload, s as DrainTriggerInboxCallback, t as DrainTriggerInboxErrorObserver, m as DrainTriggerInboxSchema, ez as EVENT_EMISSION_ID, eF as EnhancedErrorEventData, bu as ErrorOptions, eD as EventContext, ex as EventEmissionContext, ey as EventEmitter, c4 as FetchPluginProvides, I as Field, bk as FieldsProperty, aS as FieldsPropertySchema, x as FindFirstAuthenticationPluginProvides, y as FindUniqueAuthenticationPluginProvides, ct as GetActionRunPluginProvides, w as GetAuthenticationPluginProvides, cK as GetProfilePluginProvides, av as InfoFieldItem, au as InputFieldItem, b5 as InputFieldProperty, aD as InputFieldPropertySchema, b9 as InputsProperty, aH as InputsPropertySchema, ao as JsonSseMessage, bt as LeaseLimitProperty, a$ as LeaseLimitPropertySchema, br as LeaseProperty, aZ as LeasePropertySchema, bs as LeaseSecondsProperty, a_ as LeaseSecondsPropertySchema, u as LeasedTriggerMessageItem, ba as LimitProperty, aI as LimitPropertySchema, cb as ListActionInputFieldsPluginProvides, c9 as ListActionsPluginProvides, c7 as ListAppsPluginProvides, v as ListAuthenticationsPluginProvides, cf as ListConnectionsPluginProvides, dA as LoadingEvent, cB as MANIFEST_ID, ec as MAX_CONCURRENCY_LIMIT, e6 as MAX_PAGE_LIMIT, cH as ManifestEntry, cx as ManifestPluginOptions, eM as MethodCalledEvent, eG as MethodCalledEventData, N as Need, Q as NeedsRequest, S as NeedsResponse, bb as OffsetProperty, aJ as OffsetPropertySchema, bc as OutputProperty, aK as OutputPropertySchema, be as ParamsProperty, aM as ParamsPropertySchema, dF as PkceCredentialsObject, dQ as PkceCredentialsObjectSchema, aj as PollOptions, cP as RESOLVE_CREDENTIALS_ID, bJ as RateLimitInfo, bi as RecordProperty, aQ as RecordPropertySchema, bj as RecordsProperty, aR as RecordsPropertySchema, a9 as RelayFetchSchema, a8 as RelayRequestSchema, ai as RequestOptions, di as ResolveAuthTokenOptions, d_ as ResolveConnection, dK as ResolveCredentialsOptions, af as ResolvedAppLocator, dk as ResolvedAuth, dC as ResolvedCredentials, dS as ResolvedCredentialsSchema, aw as RootFieldItem, cv as RunActionPluginProvides, _ as SDK_OPTIONS_ID, dx as SdkEvent, an as SseMessage, bh as TableProperty, aP as TablePropertySchema, bm as TablesProperty, aU as TablesPropertySchema, bp as TriggerInboxKeyProperty, aX as TriggerInboxKeyPropertySchema, bq as TriggerInboxNameProperty, aY as TriggerInboxNamePropertySchema, bo as TriggerInboxProperty, aW as TriggerInboxPropertySchema, T as TriggerMessageStatus, cE as UpdateManifestEntryOptions, cF as UpdateManifestEntryResult, X as UserProfile, ax as UserProfileItem, n as WatchTriggerInboxSchema, e2 as ZAPIER_BASE_URL, ee as ZAPIER_MAX_CONCURRENT_REQUESTS, ea as ZAPIER_MAX_NETWORK_RETRIES, eb as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, o as ZapierAbortDrainSignal, bH as ZapierActionError, bA as ZapierApiError, bB as ZapierAppNotFoundError, bM as ZapierApprovalError, by as ZapierAuthenticationError, bF as ZapierBundleError, du as ZapierCacheEntry, dv as ZapierCacheSetOptions, bE as ZapierConfigurationError, bI as ZapierConflictError, bv as ZapierError, bC as ZapierNotFoundError, bK as ZapierRateLimitError, bN as ZapierRelayError, p as ZapierReleaseTriggerMessageSignal, bD as ZapierResourceNotFoundError, b$ as ZapierSignal, bG as ZapierTimeoutError, bx as ZapierUnknownError, bw as ZapierValidationError, cU as actionKeyResolver, cT as actionTypeResolver, cO as apiPlugin, cN as apiPluginRef, cS as appKeyResolver, c1 as appsPlugin, a3 as batch, eH as buildApplicationLifecycleEvent, a5 as buildCapabilityMessage, eJ as buildErrorEvent, eI as buildErrorEventWithContext, eL as buildMethodCalledEvent, ew as cleanupEventListeners, dl as clearTokenCache, c_ as clientCredentialsNameResolver, c$ as clientIdResolver, cW as connectionIdGenericResolver, cV as connectionIdResolver, e1 as connectionsPlugin, e0 as connectionsPluginRef, cq as createActionRunPlugin, eK as createBaseEvent, ch as createClientCredentialsPlugin, dw as createMemoryCache, ep as createTableFieldsPlugin, em as createTablePlugin, et as createTableRecordsPlugin, ak as createZapierApi, aa as createZapierSdkWithoutRegistry, ci as deleteClientCredentialsPlugin, eq as deleteTableFieldsPlugin, en as deleteTablePlugin, eu as deleteTableRecordsPlugin, d3 as durableRunIdResolver, eC as eventEmissionHookPlugin, eB as eventEmissionPlugin, eA as eventEmissionPluginRef, c5 as fetchPlugin, cm as findFirstConnectionPlugin, cA as findManifestEntry, cn as findUniqueConnectionPlugin, b_ as formatErrorMessage, eO as generateEventId, cd as getActionInputFieldsSchemaPlugin, ck as getActionPlugin, cs as getActionRunPlugin, ag as getAgent, cj as getAppPlugin, dN as getBaseUrlFromCredentials, a0 as getCallerContext, eU as getCiPlatform, dO as getClientIdFromCredentials, cl as getConnectionPlugin, eW as getCpuTime, eP as getCurrentTimestamp, eV as getMemoryUsage, al as getOrCreateApiClient, eR as getOsInfo, eS as getPlatformVersions, cz as getPreferredManifestEntryKey, cJ as getProfilePlugin, eQ as getReleaseId, el as getTablePlugin, er as getTableRecordPlugin, dq as getTokenFromCliLogin, eX as getTtyContext, ef as getZapierApprovalMode, e5 as getZapierCausationId, e4 as getZapierCorrelationId, eh as getZapierDefaultApprovalMode, eg as getZapierOpenAutoModeApprovalsInBrowser, e3 as getZapierSdkService, dn as injectCliLogin, cZ as inputFieldKeyResolver, cY as inputsAllOptionalResolver, cX as inputsResolver, dm as invalidateCachedToken, dt as invalidateCredentialsToken, eT as isCi, dp as isCliLoginAvailable, dG as isClientCredentials, dJ as isCredentialsFunction, dI as isCredentialsObject, am as isPermanentHttpError, dH as isPkceCredentials, q as isZapierAbortDrainSignal, bX as isZapierActionError, bR as isZapierAppNotFoundError, bZ as isZapierApprovalError, bQ as isZapierAuthenticationError, bW as isZapierBundleError, bU as isZapierConflictError, bO as isZapierError, bS as isZapierNotFoundError, bY as isZapierRateLimitError, r as isZapierReleaseTriggerMessageSignal, bT as isZapierResourceNotFoundError, c0 as isZapierSignal, bV as isZapierTimeoutError, bP as isZapierValidationError, cc as listActionInputFieldChoicesPlugin, ca as listActionInputFieldsPlugin, c8 as listActionsPlugin, c6 as listAppsPlugin, cg as listClientCredentialsPlugin, ce as listConnectionsPlugin, eo as listTableFieldsPlugin, es as listTableRecordsPlugin, ek as listTablesPlugin, a6 as logDeprecation, cD as manifestPlugin, cC as manifestPluginRef, eN as operationAnnotatorPlugin, ed as parseConcurrencyEnvVar, cy as readManifestFromFile, ah as registryPlugin, cw as requestPlugin, a7 as resetDeprecationWarnings, dr as resolveAuth, ds as resolveAuthToken, dM as resolveCredentials, dL as resolveCredentialsFromEnv, cR as resolveCredentialsPlugin, cQ as resolveCredentialsPluginRef, cu as runActionPlugin, a1 as runWithCallerContext, $ as sdkOptionsPluginRef, db as tableFieldIdsResolver, dd as tableFieldsResolver, dg as tableFiltersResolver, d0 as tableIdResolver, dc as tableNameResolver, d9 as tableRecordIdResolver, da as tableRecordIdsResolver, de as tableRecordsResolver, dh as tableSortResolver, df as tableUpdateRecordsResolver, d1 as triggerInboxResolver, d8 as triggerMessagesResolver, ev as updateTableRecordsPlugin, d5 as workflowDraftIdResolver, d6 as workflowDraftRevisionResolver, d2 as workflowIdResolver, d7 as workflowRunIdResolver, d4 as workflowVersionIdResolver, bz as zapierAdaptError, ab as zapierCoreOptions, Y as zapierSdkPlugin } from './index-bCGYDrTW.js';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
|
+
import { z } from 'zod';
|
|
4
5
|
import * as zod_v4_core from 'zod/v4/core';
|
|
5
6
|
import * as _zapier_kitcore from '@zapier/kitcore';
|
|
6
7
|
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, MethodOverridePlugin, MethodPlugin, ModelResolver, NegatableMetadata, OptionalDeclarationSummary, OutputFormatter, PaginatedSdkFunction, PaginatedSdkResult, Plugin, PluginMeta, PluginProvides, PluginSummary, PluginSurface, PositionalMetadata, PropertyPlugin, Resolver, ResolverMetadata, SdkPage, StandInId, StaticResolver, addPlugin, composePlugins, createController, createCorePlugin, createFunction, createPaginatedFunction, createPaginatedPluginMethod, createPluginMethod, createPluginStack, createSdk, declareMethod, declareOptionalProperty, declarePlugin, declareProperty, defineFormatter, defineLegacyMerge, defineMethod, defineMethodOverride, defineOverride, definePlugin, defineProperty, defineResolver, disposeSdk, fromFunctionPlugin, getContext, getCoreErrorCause, getCoreErrorCode, getNegatable, getRegistryPlugin, isCoreCancelledSignal, isCoreError, isCoreSignal, isPositional, omitExports, resolvePlugin, runInMethodScope, runWithTelemetryContext, selectExports, toSnakeCase, toTitleCase } from '@zapier/kitcore';
|
|
7
8
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
|
8
9
|
import '@zapier/policy-context';
|
|
9
10
|
|
|
11
|
+
declare const INTERNAL_CREATE_WORKFLOW_FIELDS: readonly ["creationHarness", "creationAccessMethod"];
|
|
12
|
+
declare const CreateWorkflowOptionsSchema: z.ZodObject<{
|
|
13
|
+
name: z.ZodString;
|
|
14
|
+
description: z.ZodOptional<z.ZodString>;
|
|
15
|
+
private: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
creationHarness: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
creationAccessMethod: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
unknown: "unknown";
|
|
19
|
+
api: "api";
|
|
20
|
+
sdk_cli: "sdk_cli";
|
|
21
|
+
sdk_mcp: "sdk_mcp";
|
|
22
|
+
zapier_mcp: "zapier_mcp";
|
|
23
|
+
editor: "editor";
|
|
24
|
+
}>>;
|
|
25
|
+
is_private: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
type CreateWorkflowOptions = z.infer<typeof CreateWorkflowOptionsSchema>;
|
|
28
|
+
declare const CreateWorkflowResponseSchema: z.ZodObject<{
|
|
29
|
+
id: z.ZodString;
|
|
30
|
+
name: z.ZodString;
|
|
31
|
+
description: z.ZodNullable<z.ZodString>;
|
|
32
|
+
trigger_url: z.ZodString;
|
|
33
|
+
editor_url: z.ZodString;
|
|
34
|
+
enabled: z.ZodBoolean;
|
|
35
|
+
is_private: z.ZodBoolean;
|
|
36
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
37
|
+
created_at: z.ZodString;
|
|
38
|
+
creation_client: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
harness: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
access_method: z.ZodString;
|
|
41
|
+
sdk_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
}, z.core.$strip>>>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
type CreateWorkflowResponse = z.infer<typeof CreateWorkflowResponseSchema>;
|
|
45
|
+
|
|
10
46
|
/**
|
|
11
47
|
* A blocking draft as listed by the 409's `meta.open_drafts` — the element
|
|
12
48
|
* type of `ZapierConflictError.meta.open_drafts` on the open-draft publish
|
|
@@ -7444,6 +7480,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7444
7480
|
created_at: string;
|
|
7445
7481
|
updated_at: string;
|
|
7446
7482
|
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
7483
|
+
creation_client?: {
|
|
7484
|
+
access_method: string;
|
|
7485
|
+
harness?: string | null | undefined;
|
|
7486
|
+
sdk_version?: string | null | undefined;
|
|
7487
|
+
} | null | undefined;
|
|
7447
7488
|
}>, readonly [], Omit<{
|
|
7448
7489
|
pageSize?: number | undefined;
|
|
7449
7490
|
maxItems?: number | undefined;
|
|
@@ -7486,6 +7527,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7486
7527
|
created_at: string;
|
|
7487
7528
|
updated_at: string;
|
|
7488
7529
|
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
7530
|
+
creation_client?: {
|
|
7531
|
+
access_method: string;
|
|
7532
|
+
harness?: string | null | undefined;
|
|
7533
|
+
sdk_version?: string | null | undefined;
|
|
7534
|
+
} | null | undefined;
|
|
7489
7535
|
}>>;
|
|
7490
7536
|
} & {
|
|
7491
7537
|
getWorkflow: _zapier_kitcore.MethodPlugin<"getWorkflow", {
|
|
@@ -7538,6 +7584,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7538
7584
|
version?: string | undefined;
|
|
7539
7585
|
}> | null;
|
|
7540
7586
|
} | undefined;
|
|
7587
|
+
creation_client?: {
|
|
7588
|
+
access_method: string;
|
|
7589
|
+
harness?: string | null | undefined;
|
|
7590
|
+
sdk_version?: string | null | undefined;
|
|
7591
|
+
} | null | undefined;
|
|
7541
7592
|
};
|
|
7542
7593
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7543
7594
|
}>, readonly [], {
|
|
@@ -7592,6 +7643,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7592
7643
|
version?: string | undefined;
|
|
7593
7644
|
}> | null;
|
|
7594
7645
|
} | undefined;
|
|
7646
|
+
creation_client?: {
|
|
7647
|
+
access_method: string;
|
|
7648
|
+
harness?: string | null | undefined;
|
|
7649
|
+
sdk_version?: string | null | undefined;
|
|
7650
|
+
} | null | undefined;
|
|
7595
7651
|
};
|
|
7596
7652
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7597
7653
|
}>>;
|
|
@@ -7600,6 +7656,8 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7600
7656
|
name: string;
|
|
7601
7657
|
description?: string | undefined;
|
|
7602
7658
|
private?: boolean | undefined;
|
|
7659
|
+
creationHarness?: string | null | undefined;
|
|
7660
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
7603
7661
|
is_private?: boolean | undefined;
|
|
7604
7662
|
} & {
|
|
7605
7663
|
skipOutputDataValidation?: boolean;
|
|
@@ -7614,6 +7672,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7614
7672
|
is_private: boolean;
|
|
7615
7673
|
created_by_user_id: string | null;
|
|
7616
7674
|
created_at: string;
|
|
7675
|
+
creation_client?: {
|
|
7676
|
+
access_method: string;
|
|
7677
|
+
harness?: string | null | undefined;
|
|
7678
|
+
sdk_version?: string | null | undefined;
|
|
7679
|
+
} | null | undefined;
|
|
7617
7680
|
};
|
|
7618
7681
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7619
7682
|
}>, readonly [], {
|
|
@@ -7621,10 +7684,14 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7621
7684
|
name: string;
|
|
7622
7685
|
is_private?: boolean | undefined;
|
|
7623
7686
|
private?: boolean | undefined;
|
|
7687
|
+
creationHarness?: string | null | undefined;
|
|
7688
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
7624
7689
|
}> & _zapier_kitcore.LeafSummary<"", "createWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
7625
7690
|
name: string;
|
|
7626
7691
|
description?: string | undefined;
|
|
7627
7692
|
private?: boolean | undefined;
|
|
7693
|
+
creationHarness?: string | null | undefined;
|
|
7694
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
7628
7695
|
is_private?: boolean | undefined;
|
|
7629
7696
|
} & {
|
|
7630
7697
|
skipOutputDataValidation?: boolean;
|
|
@@ -7639,6 +7706,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7639
7706
|
is_private: boolean;
|
|
7640
7707
|
created_by_user_id: string | null;
|
|
7641
7708
|
created_at: string;
|
|
7709
|
+
creation_client?: {
|
|
7710
|
+
access_method: string;
|
|
7711
|
+
harness?: string | null | undefined;
|
|
7712
|
+
sdk_version?: string | null | undefined;
|
|
7713
|
+
} | null | undefined;
|
|
7642
7714
|
};
|
|
7643
7715
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7644
7716
|
}>>;
|
|
@@ -11970,6 +12042,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
11970
12042
|
created_at: string;
|
|
11971
12043
|
updated_at: string;
|
|
11972
12044
|
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
12045
|
+
creation_client?: {
|
|
12046
|
+
access_method: string;
|
|
12047
|
+
harness?: string | null | undefined;
|
|
12048
|
+
sdk_version?: string | null | undefined;
|
|
12049
|
+
} | null | undefined;
|
|
11973
12050
|
}>> | _zapier_kitcore.ContractEntry<"getWorkflow", (input: {
|
|
11974
12051
|
workflow: string;
|
|
11975
12052
|
} & {
|
|
@@ -12020,12 +12097,19 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12020
12097
|
version?: string | undefined;
|
|
12021
12098
|
}> | null;
|
|
12022
12099
|
} | undefined;
|
|
12100
|
+
creation_client?: {
|
|
12101
|
+
access_method: string;
|
|
12102
|
+
harness?: string | null | undefined;
|
|
12103
|
+
sdk_version?: string | null | undefined;
|
|
12104
|
+
} | null | undefined;
|
|
12023
12105
|
};
|
|
12024
12106
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12025
12107
|
}>> | _zapier_kitcore.ContractEntry<"createWorkflow", (input: {
|
|
12026
12108
|
name: string;
|
|
12027
12109
|
description?: string | undefined;
|
|
12028
12110
|
private?: boolean | undefined;
|
|
12111
|
+
creationHarness?: string | null | undefined;
|
|
12112
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
12029
12113
|
is_private?: boolean | undefined;
|
|
12030
12114
|
} & {
|
|
12031
12115
|
skipOutputDataValidation?: boolean;
|
|
@@ -12040,6 +12124,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12040
12124
|
is_private: boolean;
|
|
12041
12125
|
created_by_user_id: string | null;
|
|
12042
12126
|
created_at: string;
|
|
12127
|
+
creation_client?: {
|
|
12128
|
+
access_method: string;
|
|
12129
|
+
harness?: string | null | undefined;
|
|
12130
|
+
sdk_version?: string | null | undefined;
|
|
12131
|
+
} | null | undefined;
|
|
12043
12132
|
};
|
|
12044
12133
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12045
12134
|
}>> | _zapier_kitcore.ContractEntry<"importWorkflow", (input: {
|
|
@@ -14835,6 +14924,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14835
14924
|
created_at: string;
|
|
14836
14925
|
updated_at: string;
|
|
14837
14926
|
disabled_reason?: "trigger_claim_failed" | null | undefined;
|
|
14927
|
+
creation_client?: {
|
|
14928
|
+
access_method: string;
|
|
14929
|
+
harness?: string | null | undefined;
|
|
14930
|
+
sdk_version?: string | null | undefined;
|
|
14931
|
+
} | null | undefined;
|
|
14838
14932
|
}>;
|
|
14839
14933
|
getWorkflow: (input: {
|
|
14840
14934
|
workflow: string;
|
|
@@ -14886,6 +14980,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14886
14980
|
version?: string | undefined;
|
|
14887
14981
|
}> | null;
|
|
14888
14982
|
} | undefined;
|
|
14983
|
+
creation_client?: {
|
|
14984
|
+
access_method: string;
|
|
14985
|
+
harness?: string | null | undefined;
|
|
14986
|
+
sdk_version?: string | null | undefined;
|
|
14987
|
+
} | null | undefined;
|
|
14889
14988
|
};
|
|
14890
14989
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
14891
14990
|
}>;
|
|
@@ -14893,6 +14992,8 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14893
14992
|
name: string;
|
|
14894
14993
|
description?: string | undefined;
|
|
14895
14994
|
private?: boolean | undefined;
|
|
14995
|
+
creationHarness?: string | null | undefined;
|
|
14996
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
14896
14997
|
is_private?: boolean | undefined;
|
|
14897
14998
|
} & {
|
|
14898
14999
|
skipOutputDataValidation?: boolean;
|
|
@@ -14907,6 +15008,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14907
15008
|
is_private: boolean;
|
|
14908
15009
|
created_by_user_id: string | null;
|
|
14909
15010
|
created_at: string;
|
|
15011
|
+
creation_client?: {
|
|
15012
|
+
access_method: string;
|
|
15013
|
+
harness?: string | null | undefined;
|
|
15014
|
+
sdk_version?: string | null | undefined;
|
|
15015
|
+
} | null | undefined;
|
|
14910
15016
|
};
|
|
14911
15017
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
14912
15018
|
}>;
|
|
@@ -16058,4 +16164,4 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
16058
16164
|
interface ZapierSdk extends ReturnType<typeof createZapierSdk> {
|
|
16059
16165
|
}
|
|
16060
16166
|
|
|
16061
|
-
export { ApiClient, BaseEvent, ConnectionsProvider, DrainTriggerInboxOptions, EventCallback, EventEmissionConfig, EventTransport, FieldsetItem, Manifest, ManifestProvider, type OpenDraftRef, ResolveCredentialsFn, WatchTriggerInboxOptions, ZapierCache, ZapierFetchInitOptions, type ZapierSdk, ZapierSdkApps, type ZapierSdkOptions, createZapierSdk, zapierExperimentalSdkPlugin };
|
|
16167
|
+
export { ApiClient, BaseEvent, ConnectionsProvider, type CreateWorkflowOptions, CreateWorkflowOptionsSchema, type CreateWorkflowResponse, CreateWorkflowResponseSchema, DrainTriggerInboxOptions, EventCallback, EventEmissionConfig, EventTransport, FieldsetItem, INTERNAL_CREATE_WORKFLOW_FIELDS, Manifest, ManifestProvider, type OpenDraftRef, ResolveCredentialsFn, WatchTriggerInboxOptions, ZapierCache, ZapierFetchInitOptions, type ZapierSdk, ZapierSdkApps, type ZapierSdkOptions, createZapierSdk, zapierExperimentalSdkPlugin };
|