@zapier/zapier-sdk 0.93.0 → 0.94.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 +14 -0
- package/README.md +70 -0
- package/dist/{chunk-S2WSKNCP.cjs → chunk-TQT6EGZU.cjs} +981 -848
- package/dist/{chunk-DSWOSGEW.mjs → chunk-XUVZWY2D.mjs} +979 -849
- package/dist/experimental.cjs +389 -377
- package/dist/experimental.d.mts +149 -7
- package/dist/experimental.d.ts +149 -7
- package/dist/experimental.mjs +2 -2
- package/dist/{index-BUPBfgvQ.d.mts → index-D6jpmIVn.d.mts} +300 -10
- package/dist/{index-BUPBfgvQ.d.ts → index-D6jpmIVn.d.ts} +300 -10
- package/dist/index.cjs +285 -273
- 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,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, A as AggregatePlugin, M as MethodPlugin, R as RegistryResult, L as LeafSummary, P as PropertyPlugin, S as SdkContext, a as ResponseMeta, b as ApiClient, c as PluginSummary, d as PaginatedSdkResult, e as ManifestProvider, C as ConnectionsProvider, f as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, g as CoreOptions, h as ActionProxy, i as ZapierSdkApps, D as DeleteTriggerInboxResult, j as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, k as Manifest, E as EventCallback, l as EventEmissionConfig, m as ZapierCache, n as ListActionsOptions, o as ListActionInputFieldsOptions, p as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, T as TriggerInboxCommandSharedFields } from './index-
|
|
2
|
-
export { e5 as API_ID, O as Action, e0 as ActionEntry, dq as ActionExecutionOptions, Y as ActionExecutionResult, _ as ActionField, $ as ActionFieldChoice, bN as ActionItem, cp as ActionKeyProperty, bX as ActionKeyPropertySchema, cq as ActionProperty, bY as ActionPropertySchema, bx as ActionResolverItem, cC as ActionTimeoutMillisecondsProperty, c8 as ActionTimeoutMillisecondsPropertySchema, cB as ActionTimeoutSecondsProperty, c7 as ActionTimeoutSecondsPropertySchema, by as ActionTypeItem, co as ActionTypeProperty, bW as ActionTypePropertySchema, dl as ApiError, eS as ApiEvent, e3 as ApiPluginOptions, Q as App, dr as AppFactoryInput, bL as AppItem, cm as AppKeyProperty, bU as AppKeyPropertySchema, cn as AppProperty, bV as AppPropertySchema, fV as ApplicationLifecycleEventData, d5 as ApprovalStatus, cH as AppsProperty, cd as AppsPropertySchema, aG as ArrayResolver, eR as AuthEvent, eD as AuthMechanism, cu as AuthenticationIdProperty, b$ as AuthenticationIdPropertySchema, g1 as BaseEvent, bf as BaseSdkOptionsSchema, b4 as BatchOptions, aC as BoundFormatter, fi as CONNECTIONS_ID, ah as CONTEXT, dN as CONTEXT_CACHE_MAX_SIZE, dM as CONTEXT_CACHE_TTL_MILLISECONDS, bj as CORE_ERROR_SYMBOL, bc as CORE_OPTIONS_ID, bp as CORE_SIGNAL_SYMBOL, b0 as CallerContext, X as Choice, eX as ClientCredentialsObject, f6 as ClientCredentialsObjectSchema, a2 as Connection, fe as ConnectionEntry, fd as ConnectionEntrySchema, cs as ConnectionIdProperty, b_ as ConnectionIdPropertySchema, bM as ConnectionItem, ct as ConnectionProperty, c0 as ConnectionPropertySchema, fg as ConnectionsMap, ff as ConnectionsMapSchema, cJ as ConnectionsProperty, cf as ConnectionsPropertySchema, a3 as ConnectionsResponse, aS as ControllerAction, aT as ControllerAnswerFn, aU as ControllerChoice, aW as ControllerMethodDescription, aV as ControllerMethodSummary, aX as ControllerParameterDescription, aR as ControllerQuestion, bm as CoreCancelledSignal, af as CoreDisposeError, bk as CoreErrorCode, bl as CoreSignal, eU as Credentials, fb as CredentialsFunction, fa as CredentialsFunctionSchema, eW as CredentialsObject, f8 as CredentialsObjectSchema, fc as CredentialsSchema, fp as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, fy as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, d_ as DEFAULT_CONFIG_PATH, fz as DEFAULT_MAX_APPROVAL_RETRIES, fo as DEFAULT_PAGE_SIZE, bJ as DEPRECATION_NOTICE_EVENT, cz as DebugProperty, c5 as DebugPropertySchema, bK as DeprecationNoticePayload, x as DrainTriggerInboxCallback, y as DrainTriggerInboxErrorObserver, r as DrainTriggerInboxSchema, aK as DynamicListResolver, aO as DynamicMember, aJ as DynamicResolver, aL as DynamicSearchResolver, fP as EVENT_EMISSION_ID, fW as EnhancedErrorEventData, cQ as ErrorOptions, fU as EventContext, fN as EventEmissionContext, fO as EventEmitter, fT as EventTransport, ds as FetchPluginProvides, V as Field, cG as FieldsProperty, cc as FieldsPropertySchema, aM as FieldsResolver, K as FindFirstAuthenticationPluginProvides, N as FindUniqueAuthenticationPluginProvides, aB as FormattedItem, aD as Formatter, be as FunctionDeprecation, bd as FunctionRegistryEntry, J as GetAuthenticationPluginProvides, e2 as GetProfilePluginProvides, bP as InfoFieldItem, bO as InputFieldItem, cr as InputFieldProperty, bZ as InputFieldPropertySchema, cv as InputsProperty, c1 as InputsPropertySchema, bI as JsonSseMessage, cP as LeaseLimitProperty, cl as LeaseLimitPropertySchema, cN as LeaseProperty, cj as LeasePropertySchema, cO as LeaseSecondsProperty, ck as LeaseSecondsPropertySchema, z as LeasedTriggerMessageItem, cw as LimitProperty, c2 as LimitPropertySchema, dz as ListActionInputFieldsPluginProvides, dx as ListActionsPluginProvides, dv as ListAppsPluginProvides, I as ListAuthenticationsPluginProvides, dD as ListConnectionsPluginProvides, eT as LoadingEvent, dV as MANIFEST_ID, fs as MAX_CONCURRENCY_LIMIT, fn as MAX_PAGE_LIMIT, d$ as ManifestEntry, dR as ManifestPluginOptions, g2 as MethodCalledEvent, fX as MethodCalledEventData, bs as MethodOverridePlugin, aN as ModelResolver, U as Need, a0 as NeedsRequest, a1 as NeedsResponse, a8 as NegatableMetadata, cx as OffsetProperty, c3 as OffsetPropertySchema, aE as OutputFormatter, cy as OutputProperty, c4 as OutputPropertySchema, bT as PaginatedSdkFunction, cA as ParamsProperty, c6 as ParamsPropertySchema, eY as PkceCredentialsObject, f7 as PkceCredentialsObjectSchema, bq as Plugin, q as PluginMeta, br as PluginProvides, aP as PluginSurface, bD as PollOptions, a6 as PositionalMetadata, e8 as RESOLVE_CREDENTIALS_ID, d3 as RateLimitInfo, cE as RecordProperty, ca as RecordPropertySchema, cF as RecordsProperty, cb as RecordsPropertySchema, b9 as RelayFetchSchema, b8 as RelayRequestSchema, bC as RequestOptions, eC as ResolveAuthTokenOptions, fh as ResolveConnection, e4 as ResolveCredentialsFn, f1 as ResolveCredentialsOptions, bz as ResolvedAppLocator, eE as ResolvedAuth, eV as ResolvedCredentials, f9 as ResolvedCredentialsSchema, aF as Resolver, aH as ResolverMetadata, bQ as RootFieldItem, dP as RunActionPluginProvides, az as SDK_OPTIONS_ID, eQ as SdkEvent, bS as SdkPage, bH as SseMessage, aI as StaticResolver, cD as TableProperty, c9 as TablePropertySchema, cI as TablesProperty, ce as TablesPropertySchema, cL as TriggerInboxKeyProperty, ch as TriggerInboxKeyPropertySchema, cM as TriggerInboxNameProperty, ci as TriggerInboxNamePropertySchema, cK as TriggerInboxProperty, cg as TriggerInboxPropertySchema, H as TriggerMessageStatus, dY as UpdateManifestEntryOptions, dZ as UpdateManifestEntryResult, a4 as UserProfile, bR as UserProfileItem, s as WatchTriggerInboxSchema, fl as ZAPIER_BASE_URL, fu as ZAPIER_MAX_CONCURRENT_REQUESTS, fq as ZAPIER_MAX_NETWORK_RETRIES, fr as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, t as ZapierAbortDrainSignal, d1 as ZapierActionError, cW as ZapierApiError, cX as ZapierAppNotFoundError, d6 as ZapierApprovalError, cU as ZapierAuthenticationError, c$ as ZapierBundleError, eN as ZapierCacheEntry, eO as ZapierCacheSetOptions, c_ as ZapierConfigurationError, d2 as ZapierConflictError, cR as ZapierError, cY as ZapierNotFoundError, d4 as ZapierRateLimitError, d7 as ZapierRelayError, u as ZapierReleaseTriggerMessageSignal, cZ as ZapierResourceNotFoundError, dm as ZapierSignal, d0 as ZapierTimeoutError, cT as ZapierUnknownError, cS as ZapierValidationError, ed as actionKeyResolver, ec as actionTypeResolver, ad as addPlugin, e7 as apiPlugin, e6 as apiPluginRef, eb as appKeyResolver, dp as appsPlugin, b3 as batch, fY as buildApplicationLifecycleEvent, b5 as buildCapabilityMessage, f_ as buildErrorEvent, fZ as buildErrorEventWithContext, g0 as buildMethodCalledEvent, fM as cleanupEventListeners, eF as clearTokenCache, ej as clientCredentialsNameResolver, ek as clientIdResolver, bw as composePlugins, ef as connectionIdGenericResolver, ee as connectionIdResolver, fk as connectionsPlugin, fj as connectionsPluginRef, f$ as createBaseEvent, dF as createClientCredentialsPlugin, aQ as createController, ac as createCorePlugin, a9 as createFunction, eP as createMemoryCache, aa as createPaginatedFunction, bv as createPaginatedPluginMethod, bu as createPluginMethod, ab as createPluginStack, ag as createSdk, fF as createTableFieldsPlugin, fC as createTablePlugin, fJ as createTableRecordsPlugin, bE as createZapierApi, ba as createZapierSdkWithoutRegistry, as as declareMethod, au as declareOptionalProperty, am as declarePlugin, at as declareProperty, ar as defineFormatter, ak as defineLegacyMerge, an as defineMethod, ao as defineMethodOverride, bt as definePlugin, ap as defineProperty, aq as defineResolver, dG as deleteClientCredentialsPlugin, fG as deleteTableFieldsPlugin, fD as deleteTablePlugin, fK as deleteTableRecordsPlugin, ae as disposeSdk, eo as durableRunIdResolver, fS as eventEmissionHookPlugin, fR as eventEmissionPlugin, fQ as eventEmissionPluginRef, dt as fetchPlugin, dK as findFirstConnectionPlugin, dU as findManifestEntry, dL as findUniqueConnectionPlugin, dk as formatErrorMessage, aj as fromFunctionPlugin, g4 as generateEventId, dB as getActionInputFieldsSchemaPlugin, dI as getActionPlugin, bA as getAgent, dH as getAppPlugin, f4 as getBaseUrlFromCredentials, a_ as getCallerContext, ga as getCiPlatform, f5 as getClientIdFromCredentials, dJ as getConnectionPlugin, al as getContext, bi as getCoreErrorCause, bh as getCoreErrorCode, gc as getCpuTime, g5 as getCurrentTimestamp, gb as getMemoryUsage, a7 as getNegatable, bF as getOrCreateApiClient, g7 as getOsInfo, g8 as getPlatformVersions, dT as getPreferredManifestEntryKey, e1 as getProfilePlugin, ax as getRegistryPlugin, g6 as getReleaseId, fB as getTablePlugin, fH as getTableRecordPlugin, eJ as getTokenFromCliLogin, gd as getTtyContext, fv as getZapierApprovalMode, fx as getZapierDefaultApprovalMode, fw as getZapierOpenAutoModeApprovalsInBrowser, fm as getZapierSdkService, eH as injectCliLogin, ei as inputFieldKeyResolver, eh as inputsAllOptionalResolver, eg as inputsResolver, eG as invalidateCachedToken, eM as invalidateCredentialsToken, g9 as isCi, eI as isCliLoginAvailable, eZ as isClientCredentials, bo as isCoreCancelledSignal, bg as isCoreError, bn as isCoreSignal, f0 as isCredentialsFunction, e$ as isCredentialsObject, bG as isPermanentHttpError, e_ as isPkceCredentials, a5 as isPositional, v as isZapierAbortDrainSignal, dh as isZapierActionError, db as isZapierAppNotFoundError, dj as isZapierApprovalError, da as isZapierAuthenticationError, dg as isZapierBundleError, de as isZapierConflictError, d8 as isZapierError, dc as isZapierNotFoundError, di as isZapierRateLimitError, w as isZapierReleaseTriggerMessageSignal, dd as isZapierResourceNotFoundError, dn as isZapierSignal, df as isZapierTimeoutError, d9 as isZapierValidationError, dA as listActionInputFieldChoicesPlugin, dy as listActionInputFieldsPlugin, dw as listActionsPlugin, du as listAppsPlugin, dE as listClientCredentialsPlugin, dC as listConnectionsPlugin, fE as listTableFieldsPlugin, fI as listTableRecordsPlugin, fA as listTablesPlugin, b6 as logDeprecation, dX as manifestPlugin, dW as manifestPluginRef, aw as omitExports, g3 as operationAnnotatorPlugin, ft as parseConcurrencyEnvVar, dS as readManifestFromFile, bB as registryPlugin, dQ as requestPlugin, b7 as resetDeprecationWarnings, eK as resolveAuth, eL as resolveAuthToken, f3 as resolveCredentials, f2 as resolveCredentialsFromEnv, ea as resolveCredentialsPlugin, e9 as resolveCredentialsPluginRef, ai as resolvePlugin, dO as runActionPlugin, aY as runInMethodScope, a$ as runWithCallerContext, aZ as runWithTelemetryContext, aA as sdkOptionsPluginRef, av as selectExports, ev as tableFieldIdsResolver, ex as tableFieldsResolver, eA as tableFiltersResolver, el as tableIdResolver, ew as tableNameResolver, et as tableRecordIdResolver, eu as tableRecordIdsResolver, ey as tableRecordsResolver, eB as tableSortResolver, ez as tableUpdateRecordsResolver, b1 as toSnakeCase, b2 as toTitleCase, em as triggerInboxResolver, es as triggerMessagesResolver, fL as updateTableRecordsPlugin, eq as workflowDraftIdResolver, en as workflowIdResolver, er as workflowRunIdResolver, ep as workflowVersionIdResolver, cV as zapierAdaptError, bb as zapierCoreOptions, ay as zapierSdkPlugin } from './index-BUPBfgvQ.mjs';
|
|
1
|
+
import { B as BaseSdkOptions, A as AggregatePlugin, M as MethodPlugin, R as RegistryResult, L as LeafSummary, P as PropertyPlugin, S as SdkContext, a as ResponseMeta, b as ApiClient, c as PluginSummary, d as PaginatedSdkResult, e as ManifestProvider, C as ConnectionsProvider, f as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, g as CoreOptions, h as ActionProxy, i as ZapierSdkApps, D as DeleteTriggerInboxResult, j as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, k as Manifest, E as EventCallback, l as EventEmissionConfig, m as ZapierCache, n as ListActionsOptions, o as ListActionInputFieldsOptions, p as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, T as TriggerInboxCommandSharedFields } from './index-D6jpmIVn.mjs';
|
|
2
|
+
export { fu as ACTION_RUNS_PATH, e9 as API_ID, O as Action, e4 as ActionEntry, dq as ActionExecutionOptions, Y as ActionExecutionResult, _ as ActionField, $ as ActionFieldChoice, bN as ActionItem, cp as ActionKeyProperty, bX as ActionKeyPropertySchema, cq as ActionProperty, bY as ActionPropertySchema, bx as ActionResolverItem, cC as ActionTimeoutMillisecondsProperty, c8 as ActionTimeoutMillisecondsPropertySchema, cB as ActionTimeoutSecondsProperty, c7 as ActionTimeoutSecondsPropertySchema, by as ActionTypeItem, co as ActionTypeProperty, bW as ActionTypePropertySchema, dl as ApiError, eW as ApiEvent, e7 as ApiPluginOptions, Q as App, dr as AppFactoryInput, bL as AppItem, cm as AppKeyProperty, bU as AppKeyPropertySchema, cn as AppProperty, bV as AppPropertySchema, f_ as ApplicationLifecycleEventData, d5 as ApprovalStatus, cH as AppsProperty, cd as AppsPropertySchema, aG as ArrayResolver, eV as AuthEvent, eH as AuthMechanism, cu as AuthenticationIdProperty, b$ as AuthenticationIdPropertySchema, g6 as BaseEvent, bf as BaseSdkOptionsSchema, b4 as BatchOptions, aC as BoundFormatter, fm as CONNECTIONS_ID, ah as CONTEXT, dN as CONTEXT_CACHE_MAX_SIZE, dM as CONTEXT_CACHE_TTL_MILLISECONDS, bj as CORE_ERROR_SYMBOL, bc as CORE_OPTIONS_ID, bp as CORE_SIGNAL_SYMBOL, b0 as CallerContext, X as Choice, e$ as ClientCredentialsObject, fa as ClientCredentialsObjectSchema, a2 as Connection, fi as ConnectionEntry, fh as ConnectionEntrySchema, cs as ConnectionIdProperty, b_ as ConnectionIdPropertySchema, bM as ConnectionItem, ct as ConnectionProperty, c0 as ConnectionPropertySchema, fk as ConnectionsMap, fj as ConnectionsMapSchema, cJ as ConnectionsProperty, cf as ConnectionsPropertySchema, a3 as ConnectionsResponse, aS as ControllerAction, aT as ControllerAnswerFn, aU as ControllerChoice, aW as ControllerMethodDescription, aV as ControllerMethodSummary, aX as ControllerParameterDescription, aR as ControllerQuestion, bm as CoreCancelledSignal, af as CoreDisposeError, bk as CoreErrorCode, bl as CoreSignal, dP as CreateActionRunPluginProvides, eY as Credentials, ff as CredentialsFunction, fe as CredentialsFunctionSchema, e_ as CredentialsObject, fc as CredentialsObjectSchema, fg as CredentialsSchema, ft as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, fD as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, e2 as DEFAULT_CONFIG_PATH, fE as DEFAULT_MAX_APPROVAL_RETRIES, fs as DEFAULT_PAGE_SIZE, bJ as DEPRECATION_NOTICE_EVENT, cz as DebugProperty, c5 as DebugPropertySchema, bK as DeprecationNoticePayload, x as DrainTriggerInboxCallback, y as DrainTriggerInboxErrorObserver, r as DrainTriggerInboxSchema, aK as DynamicListResolver, aO as DynamicMember, aJ as DynamicResolver, aL as DynamicSearchResolver, fU as EVENT_EMISSION_ID, f$ as EnhancedErrorEventData, cQ as ErrorOptions, fZ as EventContext, fS as EventEmissionContext, fT as EventEmitter, fY as EventTransport, ds as FetchPluginProvides, V as Field, cG as FieldsProperty, cc as FieldsPropertySchema, aM as FieldsResolver, K as FindFirstAuthenticationPluginProvides, N as FindUniqueAuthenticationPluginProvides, aB as FormattedItem, aD as Formatter, be as FunctionDeprecation, bd as FunctionRegistryEntry, dR as GetActionRunPluginProvides, J as GetAuthenticationPluginProvides, e6 as GetProfilePluginProvides, bP as InfoFieldItem, bO as InputFieldItem, cr as InputFieldProperty, bZ as InputFieldPropertySchema, cv as InputsProperty, c1 as InputsPropertySchema, bI as JsonSseMessage, cP as LeaseLimitProperty, cl as LeaseLimitPropertySchema, cN as LeaseProperty, cj as LeasePropertySchema, cO as LeaseSecondsProperty, ck as LeaseSecondsPropertySchema, z as LeasedTriggerMessageItem, cw as LimitProperty, c2 as LimitPropertySchema, dz as ListActionInputFieldsPluginProvides, dx as ListActionsPluginProvides, dv as ListAppsPluginProvides, I as ListAuthenticationsPluginProvides, dD as ListConnectionsPluginProvides, eX as LoadingEvent, dZ as MANIFEST_ID, fx as MAX_CONCURRENCY_LIMIT, fr as MAX_PAGE_LIMIT, e3 as ManifestEntry, dV as ManifestPluginOptions, g7 as MethodCalledEvent, g0 as MethodCalledEventData, bs as MethodOverridePlugin, aN as ModelResolver, U as Need, a0 as NeedsRequest, a1 as NeedsResponse, a8 as NegatableMetadata, cx as OffsetProperty, c3 as OffsetPropertySchema, aE as OutputFormatter, cy as OutputProperty, c4 as OutputPropertySchema, bT as PaginatedSdkFunction, cA as ParamsProperty, c6 as ParamsPropertySchema, f0 as PkceCredentialsObject, fb as PkceCredentialsObjectSchema, bq as Plugin, q as PluginMeta, br as PluginProvides, aP as PluginSurface, bD as PollOptions, a6 as PositionalMetadata, ec as RESOLVE_CREDENTIALS_ID, d3 as RateLimitInfo, cE as RecordProperty, ca as RecordPropertySchema, cF as RecordsProperty, cb as RecordsPropertySchema, b9 as RelayFetchSchema, b8 as RelayRequestSchema, bC as RequestOptions, eG as ResolveAuthTokenOptions, fl as ResolveConnection, e8 as ResolveCredentialsFn, f5 as ResolveCredentialsOptions, bz as ResolvedAppLocator, eI as ResolvedAuth, eZ as ResolvedCredentials, fd as ResolvedCredentialsSchema, aF as Resolver, aH as ResolverMetadata, bQ as RootFieldItem, dT as RunActionPluginProvides, az as SDK_OPTIONS_ID, eU as SdkEvent, bS as SdkPage, bH as SseMessage, aI as StaticResolver, cD as TableProperty, c9 as TablePropertySchema, cI as TablesProperty, ce as TablesPropertySchema, cL as TriggerInboxKeyProperty, ch as TriggerInboxKeyPropertySchema, cM as TriggerInboxNameProperty, ci as TriggerInboxNamePropertySchema, cK as TriggerInboxProperty, cg as TriggerInboxPropertySchema, H as TriggerMessageStatus, e0 as UpdateManifestEntryOptions, e1 as UpdateManifestEntryResult, a4 as UserProfile, bR as UserProfileItem, s as WatchTriggerInboxSchema, fp as ZAPIER_BASE_URL, fz as ZAPIER_MAX_CONCURRENT_REQUESTS, fv as ZAPIER_MAX_NETWORK_RETRIES, fw as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, t as ZapierAbortDrainSignal, d1 as ZapierActionError, cW as ZapierApiError, cX as ZapierAppNotFoundError, d6 as ZapierApprovalError, cU as ZapierAuthenticationError, c$ as ZapierBundleError, eR as ZapierCacheEntry, eS as ZapierCacheSetOptions, c_ as ZapierConfigurationError, d2 as ZapierConflictError, cR as ZapierError, cY as ZapierNotFoundError, d4 as ZapierRateLimitError, d7 as ZapierRelayError, u as ZapierReleaseTriggerMessageSignal, cZ as ZapierResourceNotFoundError, dm as ZapierSignal, d0 as ZapierTimeoutError, cT as ZapierUnknownError, cS as ZapierValidationError, eh as actionKeyResolver, eg as actionTypeResolver, ad as addPlugin, eb as apiPlugin, ea as apiPluginRef, ef as appKeyResolver, dp as appsPlugin, b3 as batch, g1 as buildApplicationLifecycleEvent, b5 as buildCapabilityMessage, g3 as buildErrorEvent, g2 as buildErrorEventWithContext, g5 as buildMethodCalledEvent, fR as cleanupEventListeners, eJ as clearTokenCache, en as clientCredentialsNameResolver, eo as clientIdResolver, bw as composePlugins, ej as connectionIdGenericResolver, ei as connectionIdResolver, fo as connectionsPlugin, fn as connectionsPluginRef, dO as createActionRunPlugin, g4 as createBaseEvent, dF as createClientCredentialsPlugin, aQ as createController, ac as createCorePlugin, a9 as createFunction, eT as createMemoryCache, aa as createPaginatedFunction, bv as createPaginatedPluginMethod, bu as createPluginMethod, ab as createPluginStack, ag as createSdk, fK as createTableFieldsPlugin, fH as createTablePlugin, fO as createTableRecordsPlugin, bE as createZapierApi, ba as createZapierSdkWithoutRegistry, as as declareMethod, au as declareOptionalProperty, am as declarePlugin, at as declareProperty, ar as defineFormatter, ak as defineLegacyMerge, an as defineMethod, ao as defineMethodOverride, bt as definePlugin, ap as defineProperty, aq as defineResolver, dG as deleteClientCredentialsPlugin, fL as deleteTableFieldsPlugin, fI as deleteTablePlugin, fP as deleteTableRecordsPlugin, ae as disposeSdk, es as durableRunIdResolver, fX as eventEmissionHookPlugin, fW as eventEmissionPlugin, fV as eventEmissionPluginRef, dt as fetchPlugin, dK as findFirstConnectionPlugin, dY as findManifestEntry, dL as findUniqueConnectionPlugin, dk as formatErrorMessage, aj as fromFunctionPlugin, g9 as generateEventId, dB as getActionInputFieldsSchemaPlugin, dI as getActionPlugin, dQ as getActionRunPlugin, bA as getAgent, dH as getAppPlugin, f8 as getBaseUrlFromCredentials, a_ as getCallerContext, gf as getCiPlatform, f9 as getClientIdFromCredentials, dJ as getConnectionPlugin, al as getContext, bi as getCoreErrorCause, bh as getCoreErrorCode, gh as getCpuTime, ga as getCurrentTimestamp, gg as getMemoryUsage, a7 as getNegatable, bF as getOrCreateApiClient, gc as getOsInfo, gd as getPlatformVersions, dX as getPreferredManifestEntryKey, e5 as getProfilePlugin, ax as getRegistryPlugin, gb as getReleaseId, fG as getTablePlugin, fM as getTableRecordPlugin, eN as getTokenFromCliLogin, gi as getTtyContext, fA as getZapierApprovalMode, fC as getZapierDefaultApprovalMode, fB as getZapierOpenAutoModeApprovalsInBrowser, fq as getZapierSdkService, eL as injectCliLogin, em as inputFieldKeyResolver, el as inputsAllOptionalResolver, ek as inputsResolver, eK as invalidateCachedToken, eQ as invalidateCredentialsToken, ge as isCi, eM as isCliLoginAvailable, f1 as isClientCredentials, bo as isCoreCancelledSignal, bg as isCoreError, bn as isCoreSignal, f4 as isCredentialsFunction, f3 as isCredentialsObject, bG as isPermanentHttpError, f2 as isPkceCredentials, a5 as isPositional, v as isZapierAbortDrainSignal, dh as isZapierActionError, db as isZapierAppNotFoundError, dj as isZapierApprovalError, da as isZapierAuthenticationError, dg as isZapierBundleError, de as isZapierConflictError, d8 as isZapierError, dc as isZapierNotFoundError, di as isZapierRateLimitError, w as isZapierReleaseTriggerMessageSignal, dd as isZapierResourceNotFoundError, dn as isZapierSignal, df as isZapierTimeoutError, d9 as isZapierValidationError, dA as listActionInputFieldChoicesPlugin, dy as listActionInputFieldsPlugin, dw as listActionsPlugin, du as listAppsPlugin, dE as listClientCredentialsPlugin, dC as listConnectionsPlugin, fJ as listTableFieldsPlugin, fN as listTableRecordsPlugin, fF as listTablesPlugin, b6 as logDeprecation, d$ as manifestPlugin, d_ as manifestPluginRef, aw as omitExports, g8 as operationAnnotatorPlugin, fy as parseConcurrencyEnvVar, dW as readManifestFromFile, bB as registryPlugin, dU as requestPlugin, b7 as resetDeprecationWarnings, eO as resolveAuth, eP as resolveAuthToken, f7 as resolveCredentials, f6 as resolveCredentialsFromEnv, ee as resolveCredentialsPlugin, ed as resolveCredentialsPluginRef, ai as resolvePlugin, dS as runActionPlugin, aY as runInMethodScope, a$ as runWithCallerContext, aZ as runWithTelemetryContext, aA as sdkOptionsPluginRef, av as selectExports, ez as tableFieldIdsResolver, eB as tableFieldsResolver, eE as tableFiltersResolver, ep as tableIdResolver, eA as tableNameResolver, ex as tableRecordIdResolver, ey as tableRecordIdsResolver, eC as tableRecordsResolver, eF as tableSortResolver, eD as tableUpdateRecordsResolver, b1 as toSnakeCase, b2 as toTitleCase, eq as triggerInboxResolver, ew as triggerMessagesResolver, fQ as updateTableRecordsPlugin, eu as workflowDraftIdResolver, er as workflowIdResolver, ev as workflowRunIdResolver, et as workflowVersionIdResolver, cV as zapierAdaptError, bb as zapierCoreOptions, ay as zapierSdkPlugin } from './index-D6jpmIVn.mjs';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
4
|
import * as zod_v4_core from 'zod/v4/core';
|
|
5
5
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
|
@@ -1786,6 +1786,89 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
1786
1786
|
is_important?: boolean | undefined;
|
|
1787
1787
|
app_version?: string | undefined;
|
|
1788
1788
|
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>;
|
|
1789
|
+
} & {
|
|
1790
|
+
createActionRun: MethodPlugin<"createActionRun", {
|
|
1791
|
+
app: string;
|
|
1792
|
+
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1793
|
+
action: string;
|
|
1794
|
+
connection?: string | number | undefined;
|
|
1795
|
+
inputs?: Record<string, unknown> | undefined;
|
|
1796
|
+
page?: string | undefined;
|
|
1797
|
+
callbackUrl?: string | undefined;
|
|
1798
|
+
}, Promise<{
|
|
1799
|
+
data: {
|
|
1800
|
+
id: string;
|
|
1801
|
+
implementation_id: string;
|
|
1802
|
+
};
|
|
1803
|
+
meta?: ResponseMeta;
|
|
1804
|
+
}>, readonly []> & LeafSummary<"", "createActionRun", readonly [PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, MethodPlugin<"getAction", {
|
|
1805
|
+
app: string;
|
|
1806
|
+
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1807
|
+
action: string;
|
|
1808
|
+
} | {
|
|
1809
|
+
appKey: string;
|
|
1810
|
+
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1811
|
+
actionKey: string;
|
|
1812
|
+
}, Promise<{
|
|
1813
|
+
data: {
|
|
1814
|
+
description: string;
|
|
1815
|
+
key: string;
|
|
1816
|
+
app_key: string;
|
|
1817
|
+
action_type: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1818
|
+
title: string;
|
|
1819
|
+
type: "action";
|
|
1820
|
+
id?: string | undefined;
|
|
1821
|
+
is_hidden?: boolean | undefined;
|
|
1822
|
+
is_important?: boolean | undefined;
|
|
1823
|
+
app_version?: string | undefined;
|
|
1824
|
+
};
|
|
1825
|
+
meta?: ResponseMeta;
|
|
1826
|
+
}>, readonly []> & LeafSummary<"", "getAction", readonly [MethodPlugin<"listActions", ({
|
|
1827
|
+
app: string;
|
|
1828
|
+
actionType?: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run" | undefined;
|
|
1829
|
+
pageSize?: number | undefined;
|
|
1830
|
+
maxItems?: number | undefined;
|
|
1831
|
+
cursor?: string | undefined;
|
|
1832
|
+
} | {
|
|
1833
|
+
appKey: string;
|
|
1834
|
+
actionType?: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run" | undefined;
|
|
1835
|
+
pageSize?: number | undefined;
|
|
1836
|
+
maxItems?: number | undefined;
|
|
1837
|
+
cursor?: string | undefined;
|
|
1838
|
+
}) & {
|
|
1839
|
+
cursor?: string;
|
|
1840
|
+
pageSize?: number;
|
|
1841
|
+
} & {
|
|
1842
|
+
maxItems?: number;
|
|
1843
|
+
}, PaginatedSdkResult<{
|
|
1844
|
+
description: string;
|
|
1845
|
+
key: string;
|
|
1846
|
+
app_key: string;
|
|
1847
|
+
action_type: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1848
|
+
title: string;
|
|
1849
|
+
type: "action";
|
|
1850
|
+
id?: string | undefined;
|
|
1851
|
+
is_hidden?: boolean | undefined;
|
|
1852
|
+
is_important?: boolean | undefined;
|
|
1853
|
+
app_version?: string | undefined;
|
|
1854
|
+
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>;
|
|
1855
|
+
} & {
|
|
1856
|
+
getActionRun: MethodPlugin<"getActionRun", {
|
|
1857
|
+
run: string;
|
|
1858
|
+
}, Promise<{
|
|
1859
|
+
data: {
|
|
1860
|
+
id: string;
|
|
1861
|
+
status: string;
|
|
1862
|
+
results: unknown[];
|
|
1863
|
+
errors: {
|
|
1864
|
+
code?: string | undefined;
|
|
1865
|
+
title?: string | null | undefined;
|
|
1866
|
+
detail?: string | undefined;
|
|
1867
|
+
}[];
|
|
1868
|
+
next_page?: string | undefined;
|
|
1869
|
+
};
|
|
1870
|
+
meta?: ResponseMeta;
|
|
1871
|
+
}>, readonly []> & LeafSummary<"", "getActionRun", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
1789
1872
|
} & {
|
|
1790
1873
|
runAction: MethodPlugin<"runAction", ({
|
|
1791
1874
|
app: string;
|
|
@@ -1818,7 +1901,21 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
1818
1901
|
pageSize?: number;
|
|
1819
1902
|
} & {
|
|
1820
1903
|
maxItems?: number;
|
|
1821
|
-
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"
|
|
1904
|
+
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, MethodPlugin<"createActionRun", {
|
|
1905
|
+
app: string;
|
|
1906
|
+
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1907
|
+
action: string;
|
|
1908
|
+
connection?: string | number | undefined;
|
|
1909
|
+
inputs?: Record<string, unknown> | undefined;
|
|
1910
|
+
page?: string | undefined;
|
|
1911
|
+
callbackUrl?: string | undefined;
|
|
1912
|
+
}, Promise<{
|
|
1913
|
+
data: {
|
|
1914
|
+
id: string;
|
|
1915
|
+
implementation_id: string;
|
|
1916
|
+
};
|
|
1917
|
+
meta?: ResponseMeta;
|
|
1918
|
+
}>, readonly []> & LeafSummary<"", "createActionRun", readonly [PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, MethodPlugin<"getAction", {
|
|
1822
1919
|
app: string;
|
|
1823
1920
|
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1824
1921
|
action: string;
|
|
@@ -1868,7 +1965,7 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
1868
1965
|
is_hidden?: boolean | undefined;
|
|
1869
1966
|
is_important?: boolean | undefined;
|
|
1870
1967
|
app_version?: string | undefined;
|
|
1871
|
-
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>;
|
|
1968
|
+
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>;
|
|
1872
1969
|
} & {
|
|
1873
1970
|
fetch: MethodPlugin<"fetch", {
|
|
1874
1971
|
url: string | URL;
|
|
@@ -1923,7 +2020,21 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
1923
2020
|
pageSize?: number;
|
|
1924
2021
|
} & {
|
|
1925
2022
|
maxItems?: number;
|
|
1926
|
-
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"
|
|
2023
|
+
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, MethodPlugin<"createActionRun", {
|
|
2024
|
+
app: string;
|
|
2025
|
+
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
2026
|
+
action: string;
|
|
2027
|
+
connection?: string | number | undefined;
|
|
2028
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2029
|
+
page?: string | undefined;
|
|
2030
|
+
callbackUrl?: string | undefined;
|
|
2031
|
+
}, Promise<{
|
|
2032
|
+
data: {
|
|
2033
|
+
id: string;
|
|
2034
|
+
implementation_id: string;
|
|
2035
|
+
};
|
|
2036
|
+
meta?: ResponseMeta;
|
|
2037
|
+
}>, readonly []> & LeafSummary<"", "createActionRun", readonly [PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, MethodPlugin<"getAction", {
|
|
1927
2038
|
app: string;
|
|
1928
2039
|
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1929
2040
|
action: string;
|
|
@@ -1973,7 +2084,7 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
1973
2084
|
is_hidden?: boolean | undefined;
|
|
1974
2085
|
is_important?: boolean | undefined;
|
|
1975
2086
|
app_version?: string | undefined;
|
|
1976
|
-
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>;
|
|
2087
|
+
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>]>;
|
|
1977
2088
|
} & {
|
|
1978
2089
|
listTriggerInboxes: MethodPlugin<"listTriggerInboxes", {
|
|
1979
2090
|
key?: string | undefined;
|
|
@@ -3635,7 +3746,7 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
3635
3746
|
};
|
|
3636
3747
|
meta?: ResponseMeta;
|
|
3637
3748
|
}>, readonly []> & LeafSummary<"", "getTriggerRun", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3638
|
-
}> & PluginSummary<never, "fetch" | "zapier/api" | "zapier/manifest" | "zapier/eventEmission" | "zapier/resolveCredentials" | "zapier/connections" | "zapier/capabilities" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "listTablesInternal" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
3749
|
+
}> & PluginSummary<never, "fetch" | "zapier/api" | "zapier/manifest" | "zapier/eventEmission" | "zapier/resolveCredentials" | "zapier/connections" | "zapier/capabilities" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "createActionRun" | "getActionRun" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "listTablesInternal" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
3639
3750
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
3640
3751
|
getRegistry: (input?: {
|
|
3641
3752
|
package?: string | undefined;
|
|
@@ -4471,6 +4582,37 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
4471
4582
|
sample?: string | undefined;
|
|
4472
4583
|
value?: string | undefined;
|
|
4473
4584
|
}>;
|
|
4585
|
+
createActionRun: (input: {
|
|
4586
|
+
app: string;
|
|
4587
|
+
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
4588
|
+
action: string;
|
|
4589
|
+
connection?: string | number | undefined;
|
|
4590
|
+
inputs?: Record<string, unknown> | undefined;
|
|
4591
|
+
page?: string | undefined;
|
|
4592
|
+
callbackUrl?: string | undefined;
|
|
4593
|
+
}) => Promise<{
|
|
4594
|
+
data: {
|
|
4595
|
+
id: string;
|
|
4596
|
+
implementation_id: string;
|
|
4597
|
+
};
|
|
4598
|
+
meta?: ResponseMeta;
|
|
4599
|
+
}>;
|
|
4600
|
+
getActionRun: (input: {
|
|
4601
|
+
run: string;
|
|
4602
|
+
}) => Promise<{
|
|
4603
|
+
data: {
|
|
4604
|
+
id: string;
|
|
4605
|
+
status: string;
|
|
4606
|
+
results: unknown[];
|
|
4607
|
+
errors: {
|
|
4608
|
+
code?: string | undefined;
|
|
4609
|
+
title?: string | null | undefined;
|
|
4610
|
+
detail?: string | undefined;
|
|
4611
|
+
}[];
|
|
4612
|
+
next_page?: string | undefined;
|
|
4613
|
+
};
|
|
4614
|
+
meta?: ResponseMeta;
|
|
4615
|
+
}>;
|
|
4474
4616
|
runAction: (input: ({
|
|
4475
4617
|
app: string;
|
|
4476
4618
|
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, A as AggregatePlugin, M as MethodPlugin, R as RegistryResult, L as LeafSummary, P as PropertyPlugin, S as SdkContext, a as ResponseMeta, b as ApiClient, c as PluginSummary, d as PaginatedSdkResult, e as ManifestProvider, C as ConnectionsProvider, f as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, g as CoreOptions, h as ActionProxy, i as ZapierSdkApps, D as DeleteTriggerInboxResult, j as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, k as Manifest, E as EventCallback, l as EventEmissionConfig, m as ZapierCache, n as ListActionsOptions, o as ListActionInputFieldsOptions, p as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, T as TriggerInboxCommandSharedFields } from './index-
|
|
2
|
-
export { e5 as API_ID, O as Action, e0 as ActionEntry, dq as ActionExecutionOptions, Y as ActionExecutionResult, _ as ActionField, $ as ActionFieldChoice, bN as ActionItem, cp as ActionKeyProperty, bX as ActionKeyPropertySchema, cq as ActionProperty, bY as ActionPropertySchema, bx as ActionResolverItem, cC as ActionTimeoutMillisecondsProperty, c8 as ActionTimeoutMillisecondsPropertySchema, cB as ActionTimeoutSecondsProperty, c7 as ActionTimeoutSecondsPropertySchema, by as ActionTypeItem, co as ActionTypeProperty, bW as ActionTypePropertySchema, dl as ApiError, eS as ApiEvent, e3 as ApiPluginOptions, Q as App, dr as AppFactoryInput, bL as AppItem, cm as AppKeyProperty, bU as AppKeyPropertySchema, cn as AppProperty, bV as AppPropertySchema, fV as ApplicationLifecycleEventData, d5 as ApprovalStatus, cH as AppsProperty, cd as AppsPropertySchema, aG as ArrayResolver, eR as AuthEvent, eD as AuthMechanism, cu as AuthenticationIdProperty, b$ as AuthenticationIdPropertySchema, g1 as BaseEvent, bf as BaseSdkOptionsSchema, b4 as BatchOptions, aC as BoundFormatter, fi as CONNECTIONS_ID, ah as CONTEXT, dN as CONTEXT_CACHE_MAX_SIZE, dM as CONTEXT_CACHE_TTL_MILLISECONDS, bj as CORE_ERROR_SYMBOL, bc as CORE_OPTIONS_ID, bp as CORE_SIGNAL_SYMBOL, b0 as CallerContext, X as Choice, eX as ClientCredentialsObject, f6 as ClientCredentialsObjectSchema, a2 as Connection, fe as ConnectionEntry, fd as ConnectionEntrySchema, cs as ConnectionIdProperty, b_ as ConnectionIdPropertySchema, bM as ConnectionItem, ct as ConnectionProperty, c0 as ConnectionPropertySchema, fg as ConnectionsMap, ff as ConnectionsMapSchema, cJ as ConnectionsProperty, cf as ConnectionsPropertySchema, a3 as ConnectionsResponse, aS as ControllerAction, aT as ControllerAnswerFn, aU as ControllerChoice, aW as ControllerMethodDescription, aV as ControllerMethodSummary, aX as ControllerParameterDescription, aR as ControllerQuestion, bm as CoreCancelledSignal, af as CoreDisposeError, bk as CoreErrorCode, bl as CoreSignal, eU as Credentials, fb as CredentialsFunction, fa as CredentialsFunctionSchema, eW as CredentialsObject, f8 as CredentialsObjectSchema, fc as CredentialsSchema, fp as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, fy as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, d_ as DEFAULT_CONFIG_PATH, fz as DEFAULT_MAX_APPROVAL_RETRIES, fo as DEFAULT_PAGE_SIZE, bJ as DEPRECATION_NOTICE_EVENT, cz as DebugProperty, c5 as DebugPropertySchema, bK as DeprecationNoticePayload, x as DrainTriggerInboxCallback, y as DrainTriggerInboxErrorObserver, r as DrainTriggerInboxSchema, aK as DynamicListResolver, aO as DynamicMember, aJ as DynamicResolver, aL as DynamicSearchResolver, fP as EVENT_EMISSION_ID, fW as EnhancedErrorEventData, cQ as ErrorOptions, fU as EventContext, fN as EventEmissionContext, fO as EventEmitter, fT as EventTransport, ds as FetchPluginProvides, V as Field, cG as FieldsProperty, cc as FieldsPropertySchema, aM as FieldsResolver, K as FindFirstAuthenticationPluginProvides, N as FindUniqueAuthenticationPluginProvides, aB as FormattedItem, aD as Formatter, be as FunctionDeprecation, bd as FunctionRegistryEntry, J as GetAuthenticationPluginProvides, e2 as GetProfilePluginProvides, bP as InfoFieldItem, bO as InputFieldItem, cr as InputFieldProperty, bZ as InputFieldPropertySchema, cv as InputsProperty, c1 as InputsPropertySchema, bI as JsonSseMessage, cP as LeaseLimitProperty, cl as LeaseLimitPropertySchema, cN as LeaseProperty, cj as LeasePropertySchema, cO as LeaseSecondsProperty, ck as LeaseSecondsPropertySchema, z as LeasedTriggerMessageItem, cw as LimitProperty, c2 as LimitPropertySchema, dz as ListActionInputFieldsPluginProvides, dx as ListActionsPluginProvides, dv as ListAppsPluginProvides, I as ListAuthenticationsPluginProvides, dD as ListConnectionsPluginProvides, eT as LoadingEvent, dV as MANIFEST_ID, fs as MAX_CONCURRENCY_LIMIT, fn as MAX_PAGE_LIMIT, d$ as ManifestEntry, dR as ManifestPluginOptions, g2 as MethodCalledEvent, fX as MethodCalledEventData, bs as MethodOverridePlugin, aN as ModelResolver, U as Need, a0 as NeedsRequest, a1 as NeedsResponse, a8 as NegatableMetadata, cx as OffsetProperty, c3 as OffsetPropertySchema, aE as OutputFormatter, cy as OutputProperty, c4 as OutputPropertySchema, bT as PaginatedSdkFunction, cA as ParamsProperty, c6 as ParamsPropertySchema, eY as PkceCredentialsObject, f7 as PkceCredentialsObjectSchema, bq as Plugin, q as PluginMeta, br as PluginProvides, aP as PluginSurface, bD as PollOptions, a6 as PositionalMetadata, e8 as RESOLVE_CREDENTIALS_ID, d3 as RateLimitInfo, cE as RecordProperty, ca as RecordPropertySchema, cF as RecordsProperty, cb as RecordsPropertySchema, b9 as RelayFetchSchema, b8 as RelayRequestSchema, bC as RequestOptions, eC as ResolveAuthTokenOptions, fh as ResolveConnection, e4 as ResolveCredentialsFn, f1 as ResolveCredentialsOptions, bz as ResolvedAppLocator, eE as ResolvedAuth, eV as ResolvedCredentials, f9 as ResolvedCredentialsSchema, aF as Resolver, aH as ResolverMetadata, bQ as RootFieldItem, dP as RunActionPluginProvides, az as SDK_OPTIONS_ID, eQ as SdkEvent, bS as SdkPage, bH as SseMessage, aI as StaticResolver, cD as TableProperty, c9 as TablePropertySchema, cI as TablesProperty, ce as TablesPropertySchema, cL as TriggerInboxKeyProperty, ch as TriggerInboxKeyPropertySchema, cM as TriggerInboxNameProperty, ci as TriggerInboxNamePropertySchema, cK as TriggerInboxProperty, cg as TriggerInboxPropertySchema, H as TriggerMessageStatus, dY as UpdateManifestEntryOptions, dZ as UpdateManifestEntryResult, a4 as UserProfile, bR as UserProfileItem, s as WatchTriggerInboxSchema, fl as ZAPIER_BASE_URL, fu as ZAPIER_MAX_CONCURRENT_REQUESTS, fq as ZAPIER_MAX_NETWORK_RETRIES, fr as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, t as ZapierAbortDrainSignal, d1 as ZapierActionError, cW as ZapierApiError, cX as ZapierAppNotFoundError, d6 as ZapierApprovalError, cU as ZapierAuthenticationError, c$ as ZapierBundleError, eN as ZapierCacheEntry, eO as ZapierCacheSetOptions, c_ as ZapierConfigurationError, d2 as ZapierConflictError, cR as ZapierError, cY as ZapierNotFoundError, d4 as ZapierRateLimitError, d7 as ZapierRelayError, u as ZapierReleaseTriggerMessageSignal, cZ as ZapierResourceNotFoundError, dm as ZapierSignal, d0 as ZapierTimeoutError, cT as ZapierUnknownError, cS as ZapierValidationError, ed as actionKeyResolver, ec as actionTypeResolver, ad as addPlugin, e7 as apiPlugin, e6 as apiPluginRef, eb as appKeyResolver, dp as appsPlugin, b3 as batch, fY as buildApplicationLifecycleEvent, b5 as buildCapabilityMessage, f_ as buildErrorEvent, fZ as buildErrorEventWithContext, g0 as buildMethodCalledEvent, fM as cleanupEventListeners, eF as clearTokenCache, ej as clientCredentialsNameResolver, ek as clientIdResolver, bw as composePlugins, ef as connectionIdGenericResolver, ee as connectionIdResolver, fk as connectionsPlugin, fj as connectionsPluginRef, f$ as createBaseEvent, dF as createClientCredentialsPlugin, aQ as createController, ac as createCorePlugin, a9 as createFunction, eP as createMemoryCache, aa as createPaginatedFunction, bv as createPaginatedPluginMethod, bu as createPluginMethod, ab as createPluginStack, ag as createSdk, fF as createTableFieldsPlugin, fC as createTablePlugin, fJ as createTableRecordsPlugin, bE as createZapierApi, ba as createZapierSdkWithoutRegistry, as as declareMethod, au as declareOptionalProperty, am as declarePlugin, at as declareProperty, ar as defineFormatter, ak as defineLegacyMerge, an as defineMethod, ao as defineMethodOverride, bt as definePlugin, ap as defineProperty, aq as defineResolver, dG as deleteClientCredentialsPlugin, fG as deleteTableFieldsPlugin, fD as deleteTablePlugin, fK as deleteTableRecordsPlugin, ae as disposeSdk, eo as durableRunIdResolver, fS as eventEmissionHookPlugin, fR as eventEmissionPlugin, fQ as eventEmissionPluginRef, dt as fetchPlugin, dK as findFirstConnectionPlugin, dU as findManifestEntry, dL as findUniqueConnectionPlugin, dk as formatErrorMessage, aj as fromFunctionPlugin, g4 as generateEventId, dB as getActionInputFieldsSchemaPlugin, dI as getActionPlugin, bA as getAgent, dH as getAppPlugin, f4 as getBaseUrlFromCredentials, a_ as getCallerContext, ga as getCiPlatform, f5 as getClientIdFromCredentials, dJ as getConnectionPlugin, al as getContext, bi as getCoreErrorCause, bh as getCoreErrorCode, gc as getCpuTime, g5 as getCurrentTimestamp, gb as getMemoryUsage, a7 as getNegatable, bF as getOrCreateApiClient, g7 as getOsInfo, g8 as getPlatformVersions, dT as getPreferredManifestEntryKey, e1 as getProfilePlugin, ax as getRegistryPlugin, g6 as getReleaseId, fB as getTablePlugin, fH as getTableRecordPlugin, eJ as getTokenFromCliLogin, gd as getTtyContext, fv as getZapierApprovalMode, fx as getZapierDefaultApprovalMode, fw as getZapierOpenAutoModeApprovalsInBrowser, fm as getZapierSdkService, eH as injectCliLogin, ei as inputFieldKeyResolver, eh as inputsAllOptionalResolver, eg as inputsResolver, eG as invalidateCachedToken, eM as invalidateCredentialsToken, g9 as isCi, eI as isCliLoginAvailable, eZ as isClientCredentials, bo as isCoreCancelledSignal, bg as isCoreError, bn as isCoreSignal, f0 as isCredentialsFunction, e$ as isCredentialsObject, bG as isPermanentHttpError, e_ as isPkceCredentials, a5 as isPositional, v as isZapierAbortDrainSignal, dh as isZapierActionError, db as isZapierAppNotFoundError, dj as isZapierApprovalError, da as isZapierAuthenticationError, dg as isZapierBundleError, de as isZapierConflictError, d8 as isZapierError, dc as isZapierNotFoundError, di as isZapierRateLimitError, w as isZapierReleaseTriggerMessageSignal, dd as isZapierResourceNotFoundError, dn as isZapierSignal, df as isZapierTimeoutError, d9 as isZapierValidationError, dA as listActionInputFieldChoicesPlugin, dy as listActionInputFieldsPlugin, dw as listActionsPlugin, du as listAppsPlugin, dE as listClientCredentialsPlugin, dC as listConnectionsPlugin, fE as listTableFieldsPlugin, fI as listTableRecordsPlugin, fA as listTablesPlugin, b6 as logDeprecation, dX as manifestPlugin, dW as manifestPluginRef, aw as omitExports, g3 as operationAnnotatorPlugin, ft as parseConcurrencyEnvVar, dS as readManifestFromFile, bB as registryPlugin, dQ as requestPlugin, b7 as resetDeprecationWarnings, eK as resolveAuth, eL as resolveAuthToken, f3 as resolveCredentials, f2 as resolveCredentialsFromEnv, ea as resolveCredentialsPlugin, e9 as resolveCredentialsPluginRef, ai as resolvePlugin, dO as runActionPlugin, aY as runInMethodScope, a$ as runWithCallerContext, aZ as runWithTelemetryContext, aA as sdkOptionsPluginRef, av as selectExports, ev as tableFieldIdsResolver, ex as tableFieldsResolver, eA as tableFiltersResolver, el as tableIdResolver, ew as tableNameResolver, et as tableRecordIdResolver, eu as tableRecordIdsResolver, ey as tableRecordsResolver, eB as tableSortResolver, ez as tableUpdateRecordsResolver, b1 as toSnakeCase, b2 as toTitleCase, em as triggerInboxResolver, es as triggerMessagesResolver, fL as updateTableRecordsPlugin, eq as workflowDraftIdResolver, en as workflowIdResolver, er as workflowRunIdResolver, ep as workflowVersionIdResolver, cV as zapierAdaptError, bb as zapierCoreOptions, ay as zapierSdkPlugin } from './index-BUPBfgvQ.js';
|
|
1
|
+
import { B as BaseSdkOptions, A as AggregatePlugin, M as MethodPlugin, R as RegistryResult, L as LeafSummary, P as PropertyPlugin, S as SdkContext, a as ResponseMeta, b as ApiClient, c as PluginSummary, d as PaginatedSdkResult, e as ManifestProvider, C as ConnectionsProvider, f as CapabilitiesContext, F as FieldsetItem, Z as ZapierFetchInitOptions, g as CoreOptions, h as ActionProxy, i as ZapierSdkApps, D as DeleteTriggerInboxResult, j as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, k as Manifest, E as EventCallback, l as EventEmissionConfig, m as ZapierCache, n as ListActionsOptions, o as ListActionInputFieldsOptions, p as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, T as TriggerInboxCommandSharedFields } from './index-D6jpmIVn.js';
|
|
2
|
+
export { fu as ACTION_RUNS_PATH, e9 as API_ID, O as Action, e4 as ActionEntry, dq as ActionExecutionOptions, Y as ActionExecutionResult, _ as ActionField, $ as ActionFieldChoice, bN as ActionItem, cp as ActionKeyProperty, bX as ActionKeyPropertySchema, cq as ActionProperty, bY as ActionPropertySchema, bx as ActionResolverItem, cC as ActionTimeoutMillisecondsProperty, c8 as ActionTimeoutMillisecondsPropertySchema, cB as ActionTimeoutSecondsProperty, c7 as ActionTimeoutSecondsPropertySchema, by as ActionTypeItem, co as ActionTypeProperty, bW as ActionTypePropertySchema, dl as ApiError, eW as ApiEvent, e7 as ApiPluginOptions, Q as App, dr as AppFactoryInput, bL as AppItem, cm as AppKeyProperty, bU as AppKeyPropertySchema, cn as AppProperty, bV as AppPropertySchema, f_ as ApplicationLifecycleEventData, d5 as ApprovalStatus, cH as AppsProperty, cd as AppsPropertySchema, aG as ArrayResolver, eV as AuthEvent, eH as AuthMechanism, cu as AuthenticationIdProperty, b$ as AuthenticationIdPropertySchema, g6 as BaseEvent, bf as BaseSdkOptionsSchema, b4 as BatchOptions, aC as BoundFormatter, fm as CONNECTIONS_ID, ah as CONTEXT, dN as CONTEXT_CACHE_MAX_SIZE, dM as CONTEXT_CACHE_TTL_MILLISECONDS, bj as CORE_ERROR_SYMBOL, bc as CORE_OPTIONS_ID, bp as CORE_SIGNAL_SYMBOL, b0 as CallerContext, X as Choice, e$ as ClientCredentialsObject, fa as ClientCredentialsObjectSchema, a2 as Connection, fi as ConnectionEntry, fh as ConnectionEntrySchema, cs as ConnectionIdProperty, b_ as ConnectionIdPropertySchema, bM as ConnectionItem, ct as ConnectionProperty, c0 as ConnectionPropertySchema, fk as ConnectionsMap, fj as ConnectionsMapSchema, cJ as ConnectionsProperty, cf as ConnectionsPropertySchema, a3 as ConnectionsResponse, aS as ControllerAction, aT as ControllerAnswerFn, aU as ControllerChoice, aW as ControllerMethodDescription, aV as ControllerMethodSummary, aX as ControllerParameterDescription, aR as ControllerQuestion, bm as CoreCancelledSignal, af as CoreDisposeError, bk as CoreErrorCode, bl as CoreSignal, dP as CreateActionRunPluginProvides, eY as Credentials, ff as CredentialsFunction, fe as CredentialsFunctionSchema, e_ as CredentialsObject, fc as CredentialsObjectSchema, fg as CredentialsSchema, ft as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, fD as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, e2 as DEFAULT_CONFIG_PATH, fE as DEFAULT_MAX_APPROVAL_RETRIES, fs as DEFAULT_PAGE_SIZE, bJ as DEPRECATION_NOTICE_EVENT, cz as DebugProperty, c5 as DebugPropertySchema, bK as DeprecationNoticePayload, x as DrainTriggerInboxCallback, y as DrainTriggerInboxErrorObserver, r as DrainTriggerInboxSchema, aK as DynamicListResolver, aO as DynamicMember, aJ as DynamicResolver, aL as DynamicSearchResolver, fU as EVENT_EMISSION_ID, f$ as EnhancedErrorEventData, cQ as ErrorOptions, fZ as EventContext, fS as EventEmissionContext, fT as EventEmitter, fY as EventTransport, ds as FetchPluginProvides, V as Field, cG as FieldsProperty, cc as FieldsPropertySchema, aM as FieldsResolver, K as FindFirstAuthenticationPluginProvides, N as FindUniqueAuthenticationPluginProvides, aB as FormattedItem, aD as Formatter, be as FunctionDeprecation, bd as FunctionRegistryEntry, dR as GetActionRunPluginProvides, J as GetAuthenticationPluginProvides, e6 as GetProfilePluginProvides, bP as InfoFieldItem, bO as InputFieldItem, cr as InputFieldProperty, bZ as InputFieldPropertySchema, cv as InputsProperty, c1 as InputsPropertySchema, bI as JsonSseMessage, cP as LeaseLimitProperty, cl as LeaseLimitPropertySchema, cN as LeaseProperty, cj as LeasePropertySchema, cO as LeaseSecondsProperty, ck as LeaseSecondsPropertySchema, z as LeasedTriggerMessageItem, cw as LimitProperty, c2 as LimitPropertySchema, dz as ListActionInputFieldsPluginProvides, dx as ListActionsPluginProvides, dv as ListAppsPluginProvides, I as ListAuthenticationsPluginProvides, dD as ListConnectionsPluginProvides, eX as LoadingEvent, dZ as MANIFEST_ID, fx as MAX_CONCURRENCY_LIMIT, fr as MAX_PAGE_LIMIT, e3 as ManifestEntry, dV as ManifestPluginOptions, g7 as MethodCalledEvent, g0 as MethodCalledEventData, bs as MethodOverridePlugin, aN as ModelResolver, U as Need, a0 as NeedsRequest, a1 as NeedsResponse, a8 as NegatableMetadata, cx as OffsetProperty, c3 as OffsetPropertySchema, aE as OutputFormatter, cy as OutputProperty, c4 as OutputPropertySchema, bT as PaginatedSdkFunction, cA as ParamsProperty, c6 as ParamsPropertySchema, f0 as PkceCredentialsObject, fb as PkceCredentialsObjectSchema, bq as Plugin, q as PluginMeta, br as PluginProvides, aP as PluginSurface, bD as PollOptions, a6 as PositionalMetadata, ec as RESOLVE_CREDENTIALS_ID, d3 as RateLimitInfo, cE as RecordProperty, ca as RecordPropertySchema, cF as RecordsProperty, cb as RecordsPropertySchema, b9 as RelayFetchSchema, b8 as RelayRequestSchema, bC as RequestOptions, eG as ResolveAuthTokenOptions, fl as ResolveConnection, e8 as ResolveCredentialsFn, f5 as ResolveCredentialsOptions, bz as ResolvedAppLocator, eI as ResolvedAuth, eZ as ResolvedCredentials, fd as ResolvedCredentialsSchema, aF as Resolver, aH as ResolverMetadata, bQ as RootFieldItem, dT as RunActionPluginProvides, az as SDK_OPTIONS_ID, eU as SdkEvent, bS as SdkPage, bH as SseMessage, aI as StaticResolver, cD as TableProperty, c9 as TablePropertySchema, cI as TablesProperty, ce as TablesPropertySchema, cL as TriggerInboxKeyProperty, ch as TriggerInboxKeyPropertySchema, cM as TriggerInboxNameProperty, ci as TriggerInboxNamePropertySchema, cK as TriggerInboxProperty, cg as TriggerInboxPropertySchema, H as TriggerMessageStatus, e0 as UpdateManifestEntryOptions, e1 as UpdateManifestEntryResult, a4 as UserProfile, bR as UserProfileItem, s as WatchTriggerInboxSchema, fp as ZAPIER_BASE_URL, fz as ZAPIER_MAX_CONCURRENT_REQUESTS, fv as ZAPIER_MAX_NETWORK_RETRIES, fw as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, t as ZapierAbortDrainSignal, d1 as ZapierActionError, cW as ZapierApiError, cX as ZapierAppNotFoundError, d6 as ZapierApprovalError, cU as ZapierAuthenticationError, c$ as ZapierBundleError, eR as ZapierCacheEntry, eS as ZapierCacheSetOptions, c_ as ZapierConfigurationError, d2 as ZapierConflictError, cR as ZapierError, cY as ZapierNotFoundError, d4 as ZapierRateLimitError, d7 as ZapierRelayError, u as ZapierReleaseTriggerMessageSignal, cZ as ZapierResourceNotFoundError, dm as ZapierSignal, d0 as ZapierTimeoutError, cT as ZapierUnknownError, cS as ZapierValidationError, eh as actionKeyResolver, eg as actionTypeResolver, ad as addPlugin, eb as apiPlugin, ea as apiPluginRef, ef as appKeyResolver, dp as appsPlugin, b3 as batch, g1 as buildApplicationLifecycleEvent, b5 as buildCapabilityMessage, g3 as buildErrorEvent, g2 as buildErrorEventWithContext, g5 as buildMethodCalledEvent, fR as cleanupEventListeners, eJ as clearTokenCache, en as clientCredentialsNameResolver, eo as clientIdResolver, bw as composePlugins, ej as connectionIdGenericResolver, ei as connectionIdResolver, fo as connectionsPlugin, fn as connectionsPluginRef, dO as createActionRunPlugin, g4 as createBaseEvent, dF as createClientCredentialsPlugin, aQ as createController, ac as createCorePlugin, a9 as createFunction, eT as createMemoryCache, aa as createPaginatedFunction, bv as createPaginatedPluginMethod, bu as createPluginMethod, ab as createPluginStack, ag as createSdk, fK as createTableFieldsPlugin, fH as createTablePlugin, fO as createTableRecordsPlugin, bE as createZapierApi, ba as createZapierSdkWithoutRegistry, as as declareMethod, au as declareOptionalProperty, am as declarePlugin, at as declareProperty, ar as defineFormatter, ak as defineLegacyMerge, an as defineMethod, ao as defineMethodOverride, bt as definePlugin, ap as defineProperty, aq as defineResolver, dG as deleteClientCredentialsPlugin, fL as deleteTableFieldsPlugin, fI as deleteTablePlugin, fP as deleteTableRecordsPlugin, ae as disposeSdk, es as durableRunIdResolver, fX as eventEmissionHookPlugin, fW as eventEmissionPlugin, fV as eventEmissionPluginRef, dt as fetchPlugin, dK as findFirstConnectionPlugin, dY as findManifestEntry, dL as findUniqueConnectionPlugin, dk as formatErrorMessage, aj as fromFunctionPlugin, g9 as generateEventId, dB as getActionInputFieldsSchemaPlugin, dI as getActionPlugin, dQ as getActionRunPlugin, bA as getAgent, dH as getAppPlugin, f8 as getBaseUrlFromCredentials, a_ as getCallerContext, gf as getCiPlatform, f9 as getClientIdFromCredentials, dJ as getConnectionPlugin, al as getContext, bi as getCoreErrorCause, bh as getCoreErrorCode, gh as getCpuTime, ga as getCurrentTimestamp, gg as getMemoryUsage, a7 as getNegatable, bF as getOrCreateApiClient, gc as getOsInfo, gd as getPlatformVersions, dX as getPreferredManifestEntryKey, e5 as getProfilePlugin, ax as getRegistryPlugin, gb as getReleaseId, fG as getTablePlugin, fM as getTableRecordPlugin, eN as getTokenFromCliLogin, gi as getTtyContext, fA as getZapierApprovalMode, fC as getZapierDefaultApprovalMode, fB as getZapierOpenAutoModeApprovalsInBrowser, fq as getZapierSdkService, eL as injectCliLogin, em as inputFieldKeyResolver, el as inputsAllOptionalResolver, ek as inputsResolver, eK as invalidateCachedToken, eQ as invalidateCredentialsToken, ge as isCi, eM as isCliLoginAvailable, f1 as isClientCredentials, bo as isCoreCancelledSignal, bg as isCoreError, bn as isCoreSignal, f4 as isCredentialsFunction, f3 as isCredentialsObject, bG as isPermanentHttpError, f2 as isPkceCredentials, a5 as isPositional, v as isZapierAbortDrainSignal, dh as isZapierActionError, db as isZapierAppNotFoundError, dj as isZapierApprovalError, da as isZapierAuthenticationError, dg as isZapierBundleError, de as isZapierConflictError, d8 as isZapierError, dc as isZapierNotFoundError, di as isZapierRateLimitError, w as isZapierReleaseTriggerMessageSignal, dd as isZapierResourceNotFoundError, dn as isZapierSignal, df as isZapierTimeoutError, d9 as isZapierValidationError, dA as listActionInputFieldChoicesPlugin, dy as listActionInputFieldsPlugin, dw as listActionsPlugin, du as listAppsPlugin, dE as listClientCredentialsPlugin, dC as listConnectionsPlugin, fJ as listTableFieldsPlugin, fN as listTableRecordsPlugin, fF as listTablesPlugin, b6 as logDeprecation, d$ as manifestPlugin, d_ as manifestPluginRef, aw as omitExports, g8 as operationAnnotatorPlugin, fy as parseConcurrencyEnvVar, dW as readManifestFromFile, bB as registryPlugin, dU as requestPlugin, b7 as resetDeprecationWarnings, eO as resolveAuth, eP as resolveAuthToken, f7 as resolveCredentials, f6 as resolveCredentialsFromEnv, ee as resolveCredentialsPlugin, ed as resolveCredentialsPluginRef, ai as resolvePlugin, dS as runActionPlugin, aY as runInMethodScope, a$ as runWithCallerContext, aZ as runWithTelemetryContext, aA as sdkOptionsPluginRef, av as selectExports, ez as tableFieldIdsResolver, eB as tableFieldsResolver, eE as tableFiltersResolver, ep as tableIdResolver, eA as tableNameResolver, ex as tableRecordIdResolver, ey as tableRecordIdsResolver, eC as tableRecordsResolver, eF as tableSortResolver, eD as tableUpdateRecordsResolver, b1 as toSnakeCase, b2 as toTitleCase, eq as triggerInboxResolver, ew as triggerMessagesResolver, fQ as updateTableRecordsPlugin, eu as workflowDraftIdResolver, er as workflowIdResolver, ev as workflowRunIdResolver, et as workflowVersionIdResolver, cV as zapierAdaptError, bb as zapierCoreOptions, ay as zapierSdkPlugin } from './index-D6jpmIVn.js';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
4
|
import * as zod_v4_core from 'zod/v4/core';
|
|
5
5
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
|
@@ -1786,6 +1786,89 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
1786
1786
|
is_important?: boolean | undefined;
|
|
1787
1787
|
app_version?: string | undefined;
|
|
1788
1788
|
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>;
|
|
1789
|
+
} & {
|
|
1790
|
+
createActionRun: MethodPlugin<"createActionRun", {
|
|
1791
|
+
app: string;
|
|
1792
|
+
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1793
|
+
action: string;
|
|
1794
|
+
connection?: string | number | undefined;
|
|
1795
|
+
inputs?: Record<string, unknown> | undefined;
|
|
1796
|
+
page?: string | undefined;
|
|
1797
|
+
callbackUrl?: string | undefined;
|
|
1798
|
+
}, Promise<{
|
|
1799
|
+
data: {
|
|
1800
|
+
id: string;
|
|
1801
|
+
implementation_id: string;
|
|
1802
|
+
};
|
|
1803
|
+
meta?: ResponseMeta;
|
|
1804
|
+
}>, readonly []> & LeafSummary<"", "createActionRun", readonly [PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, MethodPlugin<"getAction", {
|
|
1805
|
+
app: string;
|
|
1806
|
+
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1807
|
+
action: string;
|
|
1808
|
+
} | {
|
|
1809
|
+
appKey: string;
|
|
1810
|
+
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1811
|
+
actionKey: string;
|
|
1812
|
+
}, Promise<{
|
|
1813
|
+
data: {
|
|
1814
|
+
description: string;
|
|
1815
|
+
key: string;
|
|
1816
|
+
app_key: string;
|
|
1817
|
+
action_type: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1818
|
+
title: string;
|
|
1819
|
+
type: "action";
|
|
1820
|
+
id?: string | undefined;
|
|
1821
|
+
is_hidden?: boolean | undefined;
|
|
1822
|
+
is_important?: boolean | undefined;
|
|
1823
|
+
app_version?: string | undefined;
|
|
1824
|
+
};
|
|
1825
|
+
meta?: ResponseMeta;
|
|
1826
|
+
}>, readonly []> & LeafSummary<"", "getAction", readonly [MethodPlugin<"listActions", ({
|
|
1827
|
+
app: string;
|
|
1828
|
+
actionType?: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run" | undefined;
|
|
1829
|
+
pageSize?: number | undefined;
|
|
1830
|
+
maxItems?: number | undefined;
|
|
1831
|
+
cursor?: string | undefined;
|
|
1832
|
+
} | {
|
|
1833
|
+
appKey: string;
|
|
1834
|
+
actionType?: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run" | undefined;
|
|
1835
|
+
pageSize?: number | undefined;
|
|
1836
|
+
maxItems?: number | undefined;
|
|
1837
|
+
cursor?: string | undefined;
|
|
1838
|
+
}) & {
|
|
1839
|
+
cursor?: string;
|
|
1840
|
+
pageSize?: number;
|
|
1841
|
+
} & {
|
|
1842
|
+
maxItems?: number;
|
|
1843
|
+
}, PaginatedSdkResult<{
|
|
1844
|
+
description: string;
|
|
1845
|
+
key: string;
|
|
1846
|
+
app_key: string;
|
|
1847
|
+
action_type: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1848
|
+
title: string;
|
|
1849
|
+
type: "action";
|
|
1850
|
+
id?: string | undefined;
|
|
1851
|
+
is_hidden?: boolean | undefined;
|
|
1852
|
+
is_important?: boolean | undefined;
|
|
1853
|
+
app_version?: string | undefined;
|
|
1854
|
+
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>;
|
|
1855
|
+
} & {
|
|
1856
|
+
getActionRun: MethodPlugin<"getActionRun", {
|
|
1857
|
+
run: string;
|
|
1858
|
+
}, Promise<{
|
|
1859
|
+
data: {
|
|
1860
|
+
id: string;
|
|
1861
|
+
status: string;
|
|
1862
|
+
results: unknown[];
|
|
1863
|
+
errors: {
|
|
1864
|
+
code?: string | undefined;
|
|
1865
|
+
title?: string | null | undefined;
|
|
1866
|
+
detail?: string | undefined;
|
|
1867
|
+
}[];
|
|
1868
|
+
next_page?: string | undefined;
|
|
1869
|
+
};
|
|
1870
|
+
meta?: ResponseMeta;
|
|
1871
|
+
}>, readonly []> & LeafSummary<"", "getActionRun", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
1789
1872
|
} & {
|
|
1790
1873
|
runAction: MethodPlugin<"runAction", ({
|
|
1791
1874
|
app: string;
|
|
@@ -1818,7 +1901,21 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
1818
1901
|
pageSize?: number;
|
|
1819
1902
|
} & {
|
|
1820
1903
|
maxItems?: number;
|
|
1821
|
-
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"
|
|
1904
|
+
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, MethodPlugin<"createActionRun", {
|
|
1905
|
+
app: string;
|
|
1906
|
+
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1907
|
+
action: string;
|
|
1908
|
+
connection?: string | number | undefined;
|
|
1909
|
+
inputs?: Record<string, unknown> | undefined;
|
|
1910
|
+
page?: string | undefined;
|
|
1911
|
+
callbackUrl?: string | undefined;
|
|
1912
|
+
}, Promise<{
|
|
1913
|
+
data: {
|
|
1914
|
+
id: string;
|
|
1915
|
+
implementation_id: string;
|
|
1916
|
+
};
|
|
1917
|
+
meta?: ResponseMeta;
|
|
1918
|
+
}>, readonly []> & LeafSummary<"", "createActionRun", readonly [PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, MethodPlugin<"getAction", {
|
|
1822
1919
|
app: string;
|
|
1823
1920
|
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1824
1921
|
action: string;
|
|
@@ -1868,7 +1965,7 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
1868
1965
|
is_hidden?: boolean | undefined;
|
|
1869
1966
|
is_important?: boolean | undefined;
|
|
1870
1967
|
app_version?: string | undefined;
|
|
1871
|
-
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>;
|
|
1968
|
+
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>;
|
|
1872
1969
|
} & {
|
|
1873
1970
|
fetch: MethodPlugin<"fetch", {
|
|
1874
1971
|
url: string | URL;
|
|
@@ -1923,7 +2020,21 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
1923
2020
|
pageSize?: number;
|
|
1924
2021
|
} & {
|
|
1925
2022
|
maxItems?: number;
|
|
1926
|
-
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"
|
|
2023
|
+
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, MethodPlugin<"createActionRun", {
|
|
2024
|
+
app: string;
|
|
2025
|
+
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
2026
|
+
action: string;
|
|
2027
|
+
connection?: string | number | undefined;
|
|
2028
|
+
inputs?: Record<string, unknown> | undefined;
|
|
2029
|
+
page?: string | undefined;
|
|
2030
|
+
callbackUrl?: string | undefined;
|
|
2031
|
+
}, Promise<{
|
|
2032
|
+
data: {
|
|
2033
|
+
id: string;
|
|
2034
|
+
implementation_id: string;
|
|
2035
|
+
};
|
|
2036
|
+
meta?: ResponseMeta;
|
|
2037
|
+
}>, readonly []> & LeafSummary<"", "createActionRun", readonly [PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, MethodPlugin<"getAction", {
|
|
1927
2038
|
app: string;
|
|
1928
2039
|
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
1929
2040
|
action: string;
|
|
@@ -1973,7 +2084,7 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
1973
2084
|
is_hidden?: boolean | undefined;
|
|
1974
2085
|
is_important?: boolean | undefined;
|
|
1975
2086
|
app_version?: string | undefined;
|
|
1976
|
-
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>;
|
|
2087
|
+
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>]>;
|
|
1977
2088
|
} & {
|
|
1978
2089
|
listTriggerInboxes: MethodPlugin<"listTriggerInboxes", {
|
|
1979
2090
|
key?: string | undefined;
|
|
@@ -3635,7 +3746,7 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
3635
3746
|
};
|
|
3636
3747
|
meta?: ResponseMeta;
|
|
3637
3748
|
}>, readonly []> & LeafSummary<"", "getTriggerRun", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3638
|
-
}> & PluginSummary<never, "fetch" | "zapier/api" | "zapier/manifest" | "zapier/eventEmission" | "zapier/resolveCredentials" | "zapier/connections" | "zapier/capabilities" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "listTablesInternal" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
3749
|
+
}> & PluginSummary<never, "fetch" | "zapier/api" | "zapier/manifest" | "zapier/eventEmission" | "zapier/resolveCredentials" | "zapier/connections" | "zapier/capabilities" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "createActionRun" | "getActionRun" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "listTablesInternal" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
3639
3750
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
3640
3751
|
getRegistry: (input?: {
|
|
3641
3752
|
package?: string | undefined;
|
|
@@ -4471,6 +4582,37 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
4471
4582
|
sample?: string | undefined;
|
|
4472
4583
|
value?: string | undefined;
|
|
4473
4584
|
}>;
|
|
4585
|
+
createActionRun: (input: {
|
|
4586
|
+
app: string;
|
|
4587
|
+
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
|
4588
|
+
action: string;
|
|
4589
|
+
connection?: string | number | undefined;
|
|
4590
|
+
inputs?: Record<string, unknown> | undefined;
|
|
4591
|
+
page?: string | undefined;
|
|
4592
|
+
callbackUrl?: string | undefined;
|
|
4593
|
+
}) => Promise<{
|
|
4594
|
+
data: {
|
|
4595
|
+
id: string;
|
|
4596
|
+
implementation_id: string;
|
|
4597
|
+
};
|
|
4598
|
+
meta?: ResponseMeta;
|
|
4599
|
+
}>;
|
|
4600
|
+
getActionRun: (input: {
|
|
4601
|
+
run: string;
|
|
4602
|
+
}) => Promise<{
|
|
4603
|
+
data: {
|
|
4604
|
+
id: string;
|
|
4605
|
+
status: string;
|
|
4606
|
+
results: unknown[];
|
|
4607
|
+
errors: {
|
|
4608
|
+
code?: string | undefined;
|
|
4609
|
+
title?: string | null | undefined;
|
|
4610
|
+
detail?: string | undefined;
|
|
4611
|
+
}[];
|
|
4612
|
+
next_page?: string | undefined;
|
|
4613
|
+
};
|
|
4614
|
+
meta?: ResponseMeta;
|
|
4615
|
+
}>;
|
|
4474
4616
|
runAction: (input: ({
|
|
4475
4617
|
app: string;
|
|
4476
4618
|
actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run";
|
package/dist/experimental.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineMethod, DEFAULT_PAGE_SIZE, apiPluginRef, workflowIdResolver, openEnum, durableRunIdResolver, defineResolver, ZapierConflictError, extractErrorDetail, workflowVersionIdResolver, workflowDraftIdResolver, ZapierApiError, workflowRunIdResolver, definePlugin, zapierSdkPlugin, ZapierValidationError, createSdk, zapierCoreOptions, CORE_OPTIONS_ID, SDK_OPTIONS_ID } from './chunk-
|
|
2
|
-
export { API_ID, ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMillisecondsPropertySchema, ActionTimeoutSecondsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthMechanism, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CONNECTIONS_ID, CONTEXT, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MILLISECONDS, CORE_ERROR_SYMBOL, CORE_OPTIONS_ID, CORE_SIGNAL_SYMBOL, ClientCredentialsObjectSchema, ConnectionEntrySchema, ConnectionIdPropertySchema, ConnectionPropertySchema, ConnectionsMapSchema, ConnectionsPropertySchema, CoreCancelledSignal, CoreDisposeError, CoreErrorCode, CoreSignal, CredentialsFunctionSchema, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MILLISECONDS, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, DEFAULT_CONFIG_PATH, DEFAULT_MAX_APPROVAL_RETRIES, DEFAULT_PAGE_SIZE, DEPRECATION_NOTICE_EVENT, DebugPropertySchema, DrainTriggerInboxSchema, EVENT_EMISSION_ID, FieldsPropertySchema, InputFieldPropertySchema, InputsPropertySchema, LeaseLimitPropertySchema, LeasePropertySchema, LeaseSecondsPropertySchema, LimitPropertySchema, MANIFEST_ID, MAX_CONCURRENCY_LIMIT, MAX_PAGE_LIMIT, OffsetPropertySchema, OutputPropertySchema, ParamsPropertySchema, PkceCredentialsObjectSchema, RESOLVE_CREDENTIALS_ID, RecordPropertySchema, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, ResolvedCredentialsSchema, SDK_OPTIONS_ID, TablePropertySchema, TablesPropertySchema, TriggerInboxKeyPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, WatchTriggerInboxSchema, ZAPIER_BASE_URL, ZAPIER_MAX_CONCURRENT_REQUESTS, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, ZapierAbortDrainSignal, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierApprovalError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierConflictError, ZapierError, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierReleaseTriggerMessageSignal, ZapierResourceNotFoundError, ZapierSignal, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, addPlugin, apiPlugin, apiPluginRef, appKeyResolver, appsPlugin, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, cleanupEventListeners, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, composePlugins, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, connectionsPluginRef, createBaseEvent, createClientCredentialsPlugin, createController, createCorePlugin, createFunction, createMemoryCache, createPaginatedFunction, createPaginatedPluginMethod, createPluginMethod, createPluginStack, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdkWithoutRegistry, declareMethod, declareOptionalProperty, declarePlugin, declareProperty, defineFormatter, defineLegacyMerge, defineMethod, defineMethodOverride, definePlugin, defineProperty, defineResolver, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, disposeSdk, durableRunIdResolver, eventEmissionHookPlugin, eventEmissionPlugin, eventEmissionPluginRef, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, fromFunctionPlugin, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getAgent, getAppPlugin, getBaseUrlFromCredentials, getCallerContext, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getContext, getCoreErrorCause, getCoreErrorCode, getCpuTime, getCurrentTimestamp, getMemoryUsage, getNegatable, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getRegistryPlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getTtyContext, getZapierApprovalMode, getZapierDefaultApprovalMode, getZapierOpenAutoModeApprovalsInBrowser, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCoreCancelledSignal, isCoreError, isCoreSignal, isCredentialsFunction, isCredentialsObject, isPermanentHttpError, isPkceCredentials, isPositional, isZapierAbortDrainSignal, isZapierActionError, isZapierAppNotFoundError, isZapierApprovalError, isZapierAuthenticationError, isZapierBundleError, isZapierConflictError, isZapierError, isZapierNotFoundError, isZapierRateLimitError, isZapierReleaseTriggerMessageSignal, isZapierResourceNotFoundError, isZapierSignal, isZapierTimeoutError, isZapierValidationError, listActionInputFieldChoicesPlugin, listActionInputFieldsPlugin, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, manifestPluginRef, omitExports, operationAnnotatorPlugin, parseConcurrencyEnvVar, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuth, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, resolveCredentialsPlugin, resolveCredentialsPluginRef, resolvePlugin, runActionPlugin, runInMethodScope, runWithCallerContext, runWithTelemetryContext, sdkOptionsPluginRef, selectExports, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin, workflowDraftIdResolver, workflowIdResolver, workflowRunIdResolver, workflowVersionIdResolver, zapierAdaptError, zapierCoreOptions, zapierSdkPlugin } from './chunk-
|
|
1
|
+
import { defineMethod, DEFAULT_PAGE_SIZE, apiPluginRef, workflowIdResolver, openEnum, durableRunIdResolver, defineResolver, ZapierConflictError, extractErrorDetail, workflowVersionIdResolver, workflowDraftIdResolver, ZapierApiError, workflowRunIdResolver, definePlugin, zapierSdkPlugin, ZapierValidationError, createSdk, zapierCoreOptions, CORE_OPTIONS_ID, SDK_OPTIONS_ID } from './chunk-XUVZWY2D.mjs';
|
|
2
|
+
export { ACTION_RUNS_PATH, API_ID, ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMillisecondsPropertySchema, ActionTimeoutSecondsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthMechanism, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CONNECTIONS_ID, CONTEXT, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MILLISECONDS, CORE_ERROR_SYMBOL, CORE_OPTIONS_ID, CORE_SIGNAL_SYMBOL, ClientCredentialsObjectSchema, ConnectionEntrySchema, ConnectionIdPropertySchema, ConnectionPropertySchema, ConnectionsMapSchema, ConnectionsPropertySchema, CoreCancelledSignal, CoreDisposeError, CoreErrorCode, CoreSignal, CredentialsFunctionSchema, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MILLISECONDS, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, DEFAULT_CONFIG_PATH, DEFAULT_MAX_APPROVAL_RETRIES, DEFAULT_PAGE_SIZE, DEPRECATION_NOTICE_EVENT, DebugPropertySchema, DrainTriggerInboxSchema, EVENT_EMISSION_ID, FieldsPropertySchema, InputFieldPropertySchema, InputsPropertySchema, LeaseLimitPropertySchema, LeasePropertySchema, LeaseSecondsPropertySchema, LimitPropertySchema, MANIFEST_ID, MAX_CONCURRENCY_LIMIT, MAX_PAGE_LIMIT, OffsetPropertySchema, OutputPropertySchema, ParamsPropertySchema, PkceCredentialsObjectSchema, RESOLVE_CREDENTIALS_ID, RecordPropertySchema, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, ResolvedCredentialsSchema, SDK_OPTIONS_ID, TablePropertySchema, TablesPropertySchema, TriggerInboxKeyPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, WatchTriggerInboxSchema, ZAPIER_BASE_URL, ZAPIER_MAX_CONCURRENT_REQUESTS, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, ZapierAbortDrainSignal, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierApprovalError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierConflictError, ZapierError, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierReleaseTriggerMessageSignal, ZapierResourceNotFoundError, ZapierSignal, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, addPlugin, apiPlugin, apiPluginRef, appKeyResolver, appsPlugin, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, cleanupEventListeners, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, composePlugins, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, connectionsPluginRef, createActionRunPlugin, createBaseEvent, createClientCredentialsPlugin, createController, createCorePlugin, createFunction, createMemoryCache, createPaginatedFunction, createPaginatedPluginMethod, createPluginMethod, createPluginStack, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdkWithoutRegistry, declareMethod, declareOptionalProperty, declarePlugin, declareProperty, defineFormatter, defineLegacyMerge, defineMethod, defineMethodOverride, definePlugin, defineProperty, defineResolver, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, disposeSdk, durableRunIdResolver, eventEmissionHookPlugin, eventEmissionPlugin, eventEmissionPluginRef, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, fromFunctionPlugin, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getActionRunPlugin, getAgent, getAppPlugin, getBaseUrlFromCredentials, getCallerContext, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getContext, getCoreErrorCause, getCoreErrorCode, getCpuTime, getCurrentTimestamp, getMemoryUsage, getNegatable, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getRegistryPlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getTtyContext, getZapierApprovalMode, getZapierDefaultApprovalMode, getZapierOpenAutoModeApprovalsInBrowser, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCoreCancelledSignal, isCoreError, isCoreSignal, isCredentialsFunction, isCredentialsObject, isPermanentHttpError, isPkceCredentials, isPositional, isZapierAbortDrainSignal, isZapierActionError, isZapierAppNotFoundError, isZapierApprovalError, isZapierAuthenticationError, isZapierBundleError, isZapierConflictError, isZapierError, isZapierNotFoundError, isZapierRateLimitError, isZapierReleaseTriggerMessageSignal, isZapierResourceNotFoundError, isZapierSignal, isZapierTimeoutError, isZapierValidationError, listActionInputFieldChoicesPlugin, listActionInputFieldsPlugin, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, manifestPluginRef, omitExports, operationAnnotatorPlugin, parseConcurrencyEnvVar, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuth, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, resolveCredentialsPlugin, resolveCredentialsPluginRef, resolvePlugin, runActionPlugin, runInMethodScope, runWithCallerContext, runWithTelemetryContext, sdkOptionsPluginRef, selectExports, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin, workflowDraftIdResolver, workflowIdResolver, workflowRunIdResolver, workflowVersionIdResolver, zapierAdaptError, zapierCoreOptions, zapierSdkPlugin } from './chunk-XUVZWY2D.mjs';
|
|
3
3
|
import './chunk-Y6FXYEAI.mjs';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
|