@zapier/zapier-sdk 0.110.0 → 0.110.2
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 +17 -0
- package/dist/{chunk-IHWWBHBO.cjs → chunk-MZR4HZXA.cjs} +385 -105
- package/dist/{chunk-KCJZMIEC.mjs → chunk-YYMYT6JV.mjs} +385 -106
- package/dist/experimental.cjs +430 -389
- package/dist/experimental.d.mts +399 -5
- package/dist/experimental.d.ts +399 -5
- package/dist/experimental.mjs +45 -7
- package/dist/{index-BRxVTixv.d.mts → index-ubhG9-NU.d.mts} +671 -95
- package/dist/{index-BRxVTixv.d.ts → index-ubhG9-NU.d.ts} +671 -95
- 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.ts
CHANGED
|
@@ -1,12 +1,48 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider,
|
|
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-ubhG9-NU.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-ubhG9-NU.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
|
|
@@ -144,7 +180,151 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
144
180
|
}, "skipOutputDataValidation" | "maxItems"> & {
|
|
145
181
|
cursor?: string;
|
|
146
182
|
pageSize?: number;
|
|
147
|
-
}> & _zapier_kitcore.LeafSummary<"", "listApps", readonly [_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"
|
|
183
|
+
}> & _zapier_kitcore.LeafSummary<"", "listApps", readonly [_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.PropertyPlugin<"sdkOptions", {
|
|
184
|
+
credentials?: string | {
|
|
185
|
+
clientId: string;
|
|
186
|
+
clientSecret: string;
|
|
187
|
+
type?: "client_credentials" | undefined;
|
|
188
|
+
baseUrl?: string | undefined;
|
|
189
|
+
scope?: string | undefined;
|
|
190
|
+
} | {
|
|
191
|
+
clientId: string;
|
|
192
|
+
type?: "pkce" | undefined;
|
|
193
|
+
baseUrl?: string | undefined;
|
|
194
|
+
scope?: string | undefined;
|
|
195
|
+
} | zod_v4_core.$InferOuterFunctionType<zod_v4_core.$ZodTuple<readonly [], zod_v4_core.$ZodFunctionOut>, zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
196
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
197
|
+
client_credentials: "client_credentials";
|
|
198
|
+
}>>;
|
|
199
|
+
clientId: zod.ZodString;
|
|
200
|
+
clientSecret: zod.ZodString;
|
|
201
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
202
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
203
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
204
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
205
|
+
pkce: "pkce";
|
|
206
|
+
}>>;
|
|
207
|
+
clientId: zod.ZodString;
|
|
208
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
209
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
210
|
+
}, zod_v4_core.$strip>]>]>, zod.ZodPromise<zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
211
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
212
|
+
client_credentials: "client_credentials";
|
|
213
|
+
}>>;
|
|
214
|
+
clientId: zod.ZodString;
|
|
215
|
+
clientSecret: zod.ZodString;
|
|
216
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
217
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
218
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
219
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
220
|
+
pkce: "pkce";
|
|
221
|
+
}>>;
|
|
222
|
+
clientId: zod.ZodString;
|
|
223
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
224
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
225
|
+
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
226
|
+
debug?: boolean | undefined;
|
|
227
|
+
baseUrl?: string | undefined;
|
|
228
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
229
|
+
trackingBaseUrl?: string | undefined;
|
|
230
|
+
maxNetworkRetries?: number | undefined;
|
|
231
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
232
|
+
maxNetworkRetryDelayMs?: number | undefined;
|
|
233
|
+
maxConcurrentRequests?: number | undefined;
|
|
234
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
235
|
+
approvalTimeoutMs?: number | undefined;
|
|
236
|
+
maxApprovalRetries?: number | undefined;
|
|
237
|
+
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
238
|
+
openAutoModeApprovalsInBrowser?: boolean | undefined;
|
|
239
|
+
correlationId?: string | undefined;
|
|
240
|
+
causationId?: string | undefined;
|
|
241
|
+
manifestPath?: string | undefined;
|
|
242
|
+
manifest?: Manifest | undefined;
|
|
243
|
+
onEvent?: EventCallback | undefined;
|
|
244
|
+
fetch?: typeof fetch | undefined;
|
|
245
|
+
eventEmission?: EventEmissionConfig | undefined;
|
|
246
|
+
callerPackage?: {
|
|
247
|
+
name: string;
|
|
248
|
+
version: string;
|
|
249
|
+
} | undefined;
|
|
250
|
+
cache?: ZapierCache | undefined;
|
|
251
|
+
canIncludeSharedConnections?: boolean | undefined;
|
|
252
|
+
canIncludeSharedTables?: boolean | undefined;
|
|
253
|
+
canDeleteTables?: boolean | undefined;
|
|
254
|
+
token?: string | undefined;
|
|
255
|
+
} | undefined> & _zapier_kitcore.OptionalDeclarationSummary<"zapier/sdkOptions", {
|
|
256
|
+
credentials?: string | {
|
|
257
|
+
clientId: string;
|
|
258
|
+
clientSecret: string;
|
|
259
|
+
type?: "client_credentials" | undefined;
|
|
260
|
+
baseUrl?: string | undefined;
|
|
261
|
+
scope?: string | undefined;
|
|
262
|
+
} | {
|
|
263
|
+
clientId: string;
|
|
264
|
+
type?: "pkce" | undefined;
|
|
265
|
+
baseUrl?: string | undefined;
|
|
266
|
+
scope?: string | undefined;
|
|
267
|
+
} | zod_v4_core.$InferOuterFunctionType<zod_v4_core.$ZodTuple<readonly [], zod_v4_core.$ZodFunctionOut>, zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
268
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
269
|
+
client_credentials: "client_credentials";
|
|
270
|
+
}>>;
|
|
271
|
+
clientId: zod.ZodString;
|
|
272
|
+
clientSecret: zod.ZodString;
|
|
273
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
274
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
275
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
276
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
277
|
+
pkce: "pkce";
|
|
278
|
+
}>>;
|
|
279
|
+
clientId: zod.ZodString;
|
|
280
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
281
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
282
|
+
}, zod_v4_core.$strip>]>]>, zod.ZodPromise<zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
283
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
284
|
+
client_credentials: "client_credentials";
|
|
285
|
+
}>>;
|
|
286
|
+
clientId: zod.ZodString;
|
|
287
|
+
clientSecret: zod.ZodString;
|
|
288
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
289
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
290
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
291
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
292
|
+
pkce: "pkce";
|
|
293
|
+
}>>;
|
|
294
|
+
clientId: zod.ZodString;
|
|
295
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
296
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
297
|
+
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
298
|
+
debug?: boolean | undefined;
|
|
299
|
+
baseUrl?: string | undefined;
|
|
300
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
301
|
+
trackingBaseUrl?: string | undefined;
|
|
302
|
+
maxNetworkRetries?: number | undefined;
|
|
303
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
304
|
+
maxNetworkRetryDelayMs?: number | undefined;
|
|
305
|
+
maxConcurrentRequests?: number | undefined;
|
|
306
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
307
|
+
approvalTimeoutMs?: number | undefined;
|
|
308
|
+
maxApprovalRetries?: number | undefined;
|
|
309
|
+
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
310
|
+
openAutoModeApprovalsInBrowser?: boolean | undefined;
|
|
311
|
+
correlationId?: string | undefined;
|
|
312
|
+
causationId?: string | undefined;
|
|
313
|
+
manifestPath?: string | undefined;
|
|
314
|
+
manifest?: Manifest | undefined;
|
|
315
|
+
onEvent?: EventCallback | undefined;
|
|
316
|
+
fetch?: typeof fetch | undefined;
|
|
317
|
+
eventEmission?: EventEmissionConfig | undefined;
|
|
318
|
+
callerPackage?: {
|
|
319
|
+
name: string;
|
|
320
|
+
version: string;
|
|
321
|
+
} | undefined;
|
|
322
|
+
cache?: ZapierCache | undefined;
|
|
323
|
+
canIncludeSharedConnections?: boolean | undefined;
|
|
324
|
+
canIncludeSharedTables?: boolean | undefined;
|
|
325
|
+
canDeleteTables?: boolean | undefined;
|
|
326
|
+
token?: string | undefined;
|
|
327
|
+
} | undefined> & _zapier_kitcore.StandInId<"zapier/sdkOptions">, _zapier_kitcore.PropertyPlugin<"coreOptions", _zapier_kitcore.CoreOptions | undefined> & _zapier_kitcore.OptionalDeclarationSummary<"kitcore/coreOptions", _zapier_kitcore.CoreOptions | undefined> & _zapier_kitcore.StandInId<"kitcore/coreOptions">], (input?: ({
|
|
148
328
|
search?: string | undefined;
|
|
149
329
|
apps?: string[] | undefined;
|
|
150
330
|
appKeys?: string[] | undefined;
|
|
@@ -349,7 +529,151 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
349
529
|
}, "skipOutputDataValidation" | "maxItems"> & {
|
|
350
530
|
cursor?: string;
|
|
351
531
|
pageSize?: number;
|
|
352
|
-
}> & _zapier_kitcore.LeafSummary<"", "listApps", readonly [_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"
|
|
532
|
+
}> & _zapier_kitcore.LeafSummary<"", "listApps", readonly [_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.PropertyPlugin<"sdkOptions", {
|
|
533
|
+
credentials?: string | {
|
|
534
|
+
clientId: string;
|
|
535
|
+
clientSecret: string;
|
|
536
|
+
type?: "client_credentials" | undefined;
|
|
537
|
+
baseUrl?: string | undefined;
|
|
538
|
+
scope?: string | undefined;
|
|
539
|
+
} | {
|
|
540
|
+
clientId: string;
|
|
541
|
+
type?: "pkce" | undefined;
|
|
542
|
+
baseUrl?: string | undefined;
|
|
543
|
+
scope?: string | undefined;
|
|
544
|
+
} | zod_v4_core.$InferOuterFunctionType<zod_v4_core.$ZodTuple<readonly [], zod_v4_core.$ZodFunctionOut>, zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
545
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
546
|
+
client_credentials: "client_credentials";
|
|
547
|
+
}>>;
|
|
548
|
+
clientId: zod.ZodString;
|
|
549
|
+
clientSecret: zod.ZodString;
|
|
550
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
551
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
552
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
553
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
554
|
+
pkce: "pkce";
|
|
555
|
+
}>>;
|
|
556
|
+
clientId: zod.ZodString;
|
|
557
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
558
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
559
|
+
}, zod_v4_core.$strip>]>]>, zod.ZodPromise<zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
560
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
561
|
+
client_credentials: "client_credentials";
|
|
562
|
+
}>>;
|
|
563
|
+
clientId: zod.ZodString;
|
|
564
|
+
clientSecret: zod.ZodString;
|
|
565
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
566
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
567
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
568
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
569
|
+
pkce: "pkce";
|
|
570
|
+
}>>;
|
|
571
|
+
clientId: zod.ZodString;
|
|
572
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
573
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
574
|
+
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
575
|
+
debug?: boolean | undefined;
|
|
576
|
+
baseUrl?: string | undefined;
|
|
577
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
578
|
+
trackingBaseUrl?: string | undefined;
|
|
579
|
+
maxNetworkRetries?: number | undefined;
|
|
580
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
581
|
+
maxNetworkRetryDelayMs?: number | undefined;
|
|
582
|
+
maxConcurrentRequests?: number | undefined;
|
|
583
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
584
|
+
approvalTimeoutMs?: number | undefined;
|
|
585
|
+
maxApprovalRetries?: number | undefined;
|
|
586
|
+
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
587
|
+
openAutoModeApprovalsInBrowser?: boolean | undefined;
|
|
588
|
+
correlationId?: string | undefined;
|
|
589
|
+
causationId?: string | undefined;
|
|
590
|
+
manifestPath?: string | undefined;
|
|
591
|
+
manifest?: Manifest | undefined;
|
|
592
|
+
onEvent?: EventCallback | undefined;
|
|
593
|
+
fetch?: typeof fetch | undefined;
|
|
594
|
+
eventEmission?: EventEmissionConfig | undefined;
|
|
595
|
+
callerPackage?: {
|
|
596
|
+
name: string;
|
|
597
|
+
version: string;
|
|
598
|
+
} | undefined;
|
|
599
|
+
cache?: ZapierCache | undefined;
|
|
600
|
+
canIncludeSharedConnections?: boolean | undefined;
|
|
601
|
+
canIncludeSharedTables?: boolean | undefined;
|
|
602
|
+
canDeleteTables?: boolean | undefined;
|
|
603
|
+
token?: string | undefined;
|
|
604
|
+
} | undefined> & _zapier_kitcore.OptionalDeclarationSummary<"zapier/sdkOptions", {
|
|
605
|
+
credentials?: string | {
|
|
606
|
+
clientId: string;
|
|
607
|
+
clientSecret: string;
|
|
608
|
+
type?: "client_credentials" | undefined;
|
|
609
|
+
baseUrl?: string | undefined;
|
|
610
|
+
scope?: string | undefined;
|
|
611
|
+
} | {
|
|
612
|
+
clientId: string;
|
|
613
|
+
type?: "pkce" | undefined;
|
|
614
|
+
baseUrl?: string | undefined;
|
|
615
|
+
scope?: string | undefined;
|
|
616
|
+
} | zod_v4_core.$InferOuterFunctionType<zod_v4_core.$ZodTuple<readonly [], zod_v4_core.$ZodFunctionOut>, zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
617
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
618
|
+
client_credentials: "client_credentials";
|
|
619
|
+
}>>;
|
|
620
|
+
clientId: zod.ZodString;
|
|
621
|
+
clientSecret: zod.ZodString;
|
|
622
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
623
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
624
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
625
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
626
|
+
pkce: "pkce";
|
|
627
|
+
}>>;
|
|
628
|
+
clientId: zod.ZodString;
|
|
629
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
630
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
631
|
+
}, zod_v4_core.$strip>]>]>, zod.ZodPromise<zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
632
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
633
|
+
client_credentials: "client_credentials";
|
|
634
|
+
}>>;
|
|
635
|
+
clientId: zod.ZodString;
|
|
636
|
+
clientSecret: zod.ZodString;
|
|
637
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
638
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
639
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
640
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
641
|
+
pkce: "pkce";
|
|
642
|
+
}>>;
|
|
643
|
+
clientId: zod.ZodString;
|
|
644
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
645
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
646
|
+
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
647
|
+
debug?: boolean | undefined;
|
|
648
|
+
baseUrl?: string | undefined;
|
|
649
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
650
|
+
trackingBaseUrl?: string | undefined;
|
|
651
|
+
maxNetworkRetries?: number | undefined;
|
|
652
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
653
|
+
maxNetworkRetryDelayMs?: number | undefined;
|
|
654
|
+
maxConcurrentRequests?: number | undefined;
|
|
655
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
656
|
+
approvalTimeoutMs?: number | undefined;
|
|
657
|
+
maxApprovalRetries?: number | undefined;
|
|
658
|
+
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
659
|
+
openAutoModeApprovalsInBrowser?: boolean | undefined;
|
|
660
|
+
correlationId?: string | undefined;
|
|
661
|
+
causationId?: string | undefined;
|
|
662
|
+
manifestPath?: string | undefined;
|
|
663
|
+
manifest?: Manifest | undefined;
|
|
664
|
+
onEvent?: EventCallback | undefined;
|
|
665
|
+
fetch?: typeof fetch | undefined;
|
|
666
|
+
eventEmission?: EventEmissionConfig | undefined;
|
|
667
|
+
callerPackage?: {
|
|
668
|
+
name: string;
|
|
669
|
+
version: string;
|
|
670
|
+
} | undefined;
|
|
671
|
+
cache?: ZapierCache | undefined;
|
|
672
|
+
canIncludeSharedConnections?: boolean | undefined;
|
|
673
|
+
canIncludeSharedTables?: boolean | undefined;
|
|
674
|
+
canDeleteTables?: boolean | undefined;
|
|
675
|
+
token?: string | undefined;
|
|
676
|
+
} | undefined> & _zapier_kitcore.StandInId<"zapier/sdkOptions">, _zapier_kitcore.PropertyPlugin<"coreOptions", _zapier_kitcore.CoreOptions | undefined> & _zapier_kitcore.OptionalDeclarationSummary<"kitcore/coreOptions", _zapier_kitcore.CoreOptions | undefined> & _zapier_kitcore.StandInId<"kitcore/coreOptions">], (input?: ({
|
|
353
677
|
search?: string | undefined;
|
|
354
678
|
apps?: string[] | undefined;
|
|
355
679
|
appKeys?: string[] | undefined;
|
|
@@ -7156,6 +7480,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7156
7480
|
created_at: string;
|
|
7157
7481
|
updated_at: string;
|
|
7158
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;
|
|
7159
7488
|
}>, readonly [], Omit<{
|
|
7160
7489
|
pageSize?: number | undefined;
|
|
7161
7490
|
maxItems?: number | undefined;
|
|
@@ -7198,6 +7527,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7198
7527
|
created_at: string;
|
|
7199
7528
|
updated_at: string;
|
|
7200
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;
|
|
7201
7535
|
}>>;
|
|
7202
7536
|
} & {
|
|
7203
7537
|
getWorkflow: _zapier_kitcore.MethodPlugin<"getWorkflow", {
|
|
@@ -7250,6 +7584,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7250
7584
|
version?: string | undefined;
|
|
7251
7585
|
}> | null;
|
|
7252
7586
|
} | undefined;
|
|
7587
|
+
creation_client?: {
|
|
7588
|
+
access_method: string;
|
|
7589
|
+
harness?: string | null | undefined;
|
|
7590
|
+
sdk_version?: string | null | undefined;
|
|
7591
|
+
} | null | undefined;
|
|
7253
7592
|
};
|
|
7254
7593
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7255
7594
|
}>, readonly [], {
|
|
@@ -7304,6 +7643,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7304
7643
|
version?: string | undefined;
|
|
7305
7644
|
}> | null;
|
|
7306
7645
|
} | undefined;
|
|
7646
|
+
creation_client?: {
|
|
7647
|
+
access_method: string;
|
|
7648
|
+
harness?: string | null | undefined;
|
|
7649
|
+
sdk_version?: string | null | undefined;
|
|
7650
|
+
} | null | undefined;
|
|
7307
7651
|
};
|
|
7308
7652
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7309
7653
|
}>>;
|
|
@@ -7312,6 +7656,8 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7312
7656
|
name: string;
|
|
7313
7657
|
description?: string | undefined;
|
|
7314
7658
|
private?: boolean | undefined;
|
|
7659
|
+
creationHarness?: string | null | undefined;
|
|
7660
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
7315
7661
|
is_private?: boolean | undefined;
|
|
7316
7662
|
} & {
|
|
7317
7663
|
skipOutputDataValidation?: boolean;
|
|
@@ -7326,6 +7672,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7326
7672
|
is_private: boolean;
|
|
7327
7673
|
created_by_user_id: string | null;
|
|
7328
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;
|
|
7329
7680
|
};
|
|
7330
7681
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7331
7682
|
}>, readonly [], {
|
|
@@ -7333,10 +7684,14 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7333
7684
|
name: string;
|
|
7334
7685
|
is_private?: boolean | undefined;
|
|
7335
7686
|
private?: boolean | undefined;
|
|
7687
|
+
creationHarness?: string | null | undefined;
|
|
7688
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
7336
7689
|
}> & _zapier_kitcore.LeafSummary<"", "createWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
7337
7690
|
name: string;
|
|
7338
7691
|
description?: string | undefined;
|
|
7339
7692
|
private?: boolean | undefined;
|
|
7693
|
+
creationHarness?: string | null | undefined;
|
|
7694
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
7340
7695
|
is_private?: boolean | undefined;
|
|
7341
7696
|
} & {
|
|
7342
7697
|
skipOutputDataValidation?: boolean;
|
|
@@ -7351,6 +7706,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7351
7706
|
is_private: boolean;
|
|
7352
7707
|
created_by_user_id: string | null;
|
|
7353
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;
|
|
7354
7714
|
};
|
|
7355
7715
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7356
7716
|
}>>;
|
|
@@ -11682,6 +12042,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
11682
12042
|
created_at: string;
|
|
11683
12043
|
updated_at: string;
|
|
11684
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;
|
|
11685
12050
|
}>> | _zapier_kitcore.ContractEntry<"getWorkflow", (input: {
|
|
11686
12051
|
workflow: string;
|
|
11687
12052
|
} & {
|
|
@@ -11732,12 +12097,19 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
11732
12097
|
version?: string | undefined;
|
|
11733
12098
|
}> | null;
|
|
11734
12099
|
} | undefined;
|
|
12100
|
+
creation_client?: {
|
|
12101
|
+
access_method: string;
|
|
12102
|
+
harness?: string | null | undefined;
|
|
12103
|
+
sdk_version?: string | null | undefined;
|
|
12104
|
+
} | null | undefined;
|
|
11735
12105
|
};
|
|
11736
12106
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
11737
12107
|
}>> | _zapier_kitcore.ContractEntry<"createWorkflow", (input: {
|
|
11738
12108
|
name: string;
|
|
11739
12109
|
description?: string | undefined;
|
|
11740
12110
|
private?: boolean | undefined;
|
|
12111
|
+
creationHarness?: string | null | undefined;
|
|
12112
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
11741
12113
|
is_private?: boolean | undefined;
|
|
11742
12114
|
} & {
|
|
11743
12115
|
skipOutputDataValidation?: boolean;
|
|
@@ -11752,6 +12124,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
11752
12124
|
is_private: boolean;
|
|
11753
12125
|
created_by_user_id: string | null;
|
|
11754
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;
|
|
11755
12132
|
};
|
|
11756
12133
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
11757
12134
|
}>> | _zapier_kitcore.ContractEntry<"importWorkflow", (input: {
|
|
@@ -14547,6 +14924,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14547
14924
|
created_at: string;
|
|
14548
14925
|
updated_at: string;
|
|
14549
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;
|
|
14550
14932
|
}>;
|
|
14551
14933
|
getWorkflow: (input: {
|
|
14552
14934
|
workflow: string;
|
|
@@ -14598,6 +14980,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14598
14980
|
version?: string | undefined;
|
|
14599
14981
|
}> | null;
|
|
14600
14982
|
} | undefined;
|
|
14983
|
+
creation_client?: {
|
|
14984
|
+
access_method: string;
|
|
14985
|
+
harness?: string | null | undefined;
|
|
14986
|
+
sdk_version?: string | null | undefined;
|
|
14987
|
+
} | null | undefined;
|
|
14601
14988
|
};
|
|
14602
14989
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
14603
14990
|
}>;
|
|
@@ -14605,6 +14992,8 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14605
14992
|
name: string;
|
|
14606
14993
|
description?: string | undefined;
|
|
14607
14994
|
private?: boolean | undefined;
|
|
14995
|
+
creationHarness?: string | null | undefined;
|
|
14996
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
14608
14997
|
is_private?: boolean | undefined;
|
|
14609
14998
|
} & {
|
|
14610
14999
|
skipOutputDataValidation?: boolean;
|
|
@@ -14619,6 +15008,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
14619
15008
|
is_private: boolean;
|
|
14620
15009
|
created_by_user_id: string | null;
|
|
14621
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;
|
|
14622
15016
|
};
|
|
14623
15017
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
14624
15018
|
}>;
|
|
@@ -15770,4 +16164,4 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15770
16164
|
interface ZapierSdk extends ReturnType<typeof createZapierSdk> {
|
|
15771
16165
|
}
|
|
15772
16166
|
|
|
15773
|
-
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 };
|