@zapier/zapier-sdk 0.98.0 → 0.98.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/{chunk-UJLLXQ3L.mjs → chunk-CHT6AJG3.mjs} +109 -36
- package/dist/{chunk-XZU6XQNV.cjs → chunk-IZRPXHWO.cjs} +109 -36
- package/dist/experimental.cjs +384 -384
- package/dist/experimental.d.mts +2 -2
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.mjs +2 -2
- package/dist/{index-Cx7Zjn-B.d.mts → index-BcUDdHo2.d.mts} +62 -19
- package/dist/{index-Cx7Zjn-B.d.ts → index-BcUDdHo2.d.ts} +62 -19
- package/dist/index.cjs +276 -276
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
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 { 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-Cx7Zjn-B.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-BcUDdHo2.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-BcUDdHo2.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';
|
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 { 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-Cx7Zjn-B.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-BcUDdHo2.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-BcUDdHo2.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';
|
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, ZapierConfigurationError, createSdk, zapierCoreOptions, CORE_OPTIONS_ID, SDK_OPTIONS_ID } from './chunk-
|
|
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-
|
|
1
|
+
import { defineMethod, DEFAULT_PAGE_SIZE, apiPluginRef, workflowIdResolver, openEnum, durableRunIdResolver, defineResolver, ZapierConflictError, extractErrorDetail, workflowVersionIdResolver, workflowDraftIdResolver, ZapierApiError, workflowRunIdResolver, definePlugin, zapierSdkPlugin, ZapierValidationError, ZapierConfigurationError, createSdk, zapierCoreOptions, CORE_OPTIONS_ID, SDK_OPTIONS_ID } from './chunk-CHT6AJG3.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-CHT6AJG3.mjs';
|
|
3
3
|
import './chunk-Y6FXYEAI.mjs';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
|
|
@@ -1350,10 +1350,10 @@ type DataOf<TResponse> = TResponse extends {
|
|
|
1350
1350
|
} ? TData : never;
|
|
1351
1351
|
/**
|
|
1352
1352
|
* A leaf plugin that is a single value (not a function). `value` is a static
|
|
1353
|
-
* constant; `get({ imports })` computes the value from imports
|
|
1354
|
-
*
|
|
1355
|
-
*
|
|
1356
|
-
* the value, not a callable.
|
|
1353
|
+
* constant; `get({ imports, state })` computes the value from imports and
|
|
1354
|
+
* `setup` state, re-running live on each read. An optional `setup` runs once
|
|
1355
|
+
* eagerly at createSdk (dependencies first, like a method's `setup`) to build
|
|
1356
|
+
* that state. An imported/surfaced property yields the value, not a callable.
|
|
1357
1357
|
*/
|
|
1358
1358
|
interface PropertyPlugin<TName extends string = string, TValue = unknown> {
|
|
1359
1359
|
pluginType: "property";
|
|
@@ -1393,6 +1393,7 @@ interface PropertyPlugin<TName extends string = string, TValue = unknown> {
|
|
|
1393
1393
|
get?: (bag: {
|
|
1394
1394
|
imports: Record<string, unknown>;
|
|
1395
1395
|
state: unknown;
|
|
1396
|
+
callContext?: CallContext;
|
|
1396
1397
|
}) => TValue;
|
|
1397
1398
|
/** Descriptive metadata for the registry / CLI / MCP / docs (carry-only). */
|
|
1398
1399
|
meta?: LeafMeta;
|
|
@@ -1618,7 +1619,10 @@ interface PropertyEntry {
|
|
|
1618
1619
|
pluginType: "property";
|
|
1619
1620
|
name: string;
|
|
1620
1621
|
value?: any;
|
|
1621
|
-
|
|
1622
|
+
/** Re-derives the value per read. Receives the live per-call `CallContext`
|
|
1623
|
+
* when installed on a method's `imports` bag with a threaded context, and
|
|
1624
|
+
* nothing on a surface / build-time read. */
|
|
1625
|
+
getValue?: (callContext?: CallContext) => any;
|
|
1622
1626
|
/** Carried from the descriptor for the registry / CLI / MCP / docs. */
|
|
1623
1627
|
meta?: LeafMeta;
|
|
1624
1628
|
/** Carried from the descriptor: templated registry members for this
|
|
@@ -2684,9 +2688,11 @@ declare function declareMethod<const TId extends string, TInput = unknown, TOutp
|
|
|
2684
2688
|
id: LiteralString<TId>;
|
|
2685
2689
|
}): MethodPlugin<LastSegment<TId>, TInput, TOutput> & PluginSummary<TId, never>;
|
|
2686
2690
|
/**
|
|
2687
|
-
* Define a property leaf. Either a static `value` or a computed `get
|
|
2688
|
-
*
|
|
2689
|
-
*
|
|
2691
|
+
* Define a property leaf. Either a static `value` or a computed `get`, which
|
|
2692
|
+
* re-runs live on each read; an optional `setup` runs once at `createSdk`
|
|
2693
|
+
* (dependencies first, like a method's `setup`) to build the state `get` reads.
|
|
2694
|
+
* `createSdk`, a dependent's `imports`, or an aggregate's re-export binds it
|
|
2695
|
+
* under its bare `name` and yields the value.
|
|
2690
2696
|
*/
|
|
2691
2697
|
declare function defineProperty<const TName extends string, TValue, const TNamespace extends string = "">(config: {
|
|
2692
2698
|
name: TName;
|
|
@@ -2708,6 +2714,13 @@ declare function defineProperty<const TName extends string, TValue, const TImpor
|
|
|
2708
2714
|
get: (bag: {
|
|
2709
2715
|
imports: ImportsOf<TImports>;
|
|
2710
2716
|
state: TState;
|
|
2717
|
+
/** The live per-call context when the property is read from a method's
|
|
2718
|
+
* `imports` bag — every method call has one, at any depth. Undefined only
|
|
2719
|
+
* where no call is in flight: the property bound onto the SDK object
|
|
2720
|
+
* itself, and reads from a `setup`-time imports bag. A context-aware
|
|
2721
|
+
* property reads its `callId` off this; because its value is then specific
|
|
2722
|
+
* to the reading call, callers must not cache it across calls. */
|
|
2723
|
+
callContext?: CallContext;
|
|
2711
2724
|
}) => TValue;
|
|
2712
2725
|
/** Templated registry members for this property's dynamic sub-surface (e.g.
|
|
2713
2726
|
* a proxy): each a bodyless declaration keyed by `path` instead of `name`. */
|
|
@@ -4451,6 +4464,10 @@ interface MethodCalledEventData {
|
|
|
4451
4464
|
selected_api?: string | null;
|
|
4452
4465
|
operation_type?: string | null;
|
|
4453
4466
|
operation_key?: string | null;
|
|
4467
|
+
/** The call's correlation id (the same value sent as `zapier-correlation-id`
|
|
4468
|
+
* on the requests the call routes through the api client, after credentials
|
|
4469
|
+
* resolve). Distinct from the `call_context` surface label ("sdk" / "cli"). */
|
|
4470
|
+
correlation_id?: string | null;
|
|
4454
4471
|
}
|
|
4455
4472
|
|
|
4456
4473
|
/**
|
|
@@ -4659,6 +4676,31 @@ declare const eventEmissionPlugin: PropertyPlugin<"eventEmission", {
|
|
|
4659
4676
|
*/
|
|
4660
4677
|
declare const eventEmissionHookPlugin: HookPlugin<string>;
|
|
4661
4678
|
|
|
4679
|
+
/**
|
|
4680
|
+
* Package-internal marker for the correlation call id that the context-bound
|
|
4681
|
+
* `api` wrapper (`withCorrelationId`) stamps onto each request's options/init and
|
|
4682
|
+
* the client reads at its telemetry-header seam (`applyTelemetryHeaders`).
|
|
4683
|
+
*
|
|
4684
|
+
* A private `Symbol()` (not `Symbol.for`) so a caller cannot set it through the
|
|
4685
|
+
* public `RequestOptions` surface — the id can only originate from a real
|
|
4686
|
+
* per-call `CallContext`. Deliberately not re-exported from the package barrel
|
|
4687
|
+
* (`api/index.ts` / `src/index.ts`); it stays head-internal so `callId` reaches
|
|
4688
|
+
* consumers only in-band via the `zapier-correlation-id` header.
|
|
4689
|
+
*/
|
|
4690
|
+
declare const CORRELATION_CALL_ID: unique symbol;
|
|
4691
|
+
/**
|
|
4692
|
+
* The one shape carrying the SDK-internal correlation id: an optional member
|
|
4693
|
+
* keyed by {@link CORRELATION_CALL_ID}. Internal request init/stream types
|
|
4694
|
+
* extend it, and both the write seam (`withCorrelationId`) and the read seam
|
|
4695
|
+
* (the client's poll fetcher) reference it, so the symbol's type is defined
|
|
4696
|
+
* once. Named a "carrier" (not "WithCorrelationId") because the member is
|
|
4697
|
+
* optional — the id may or may not be present. Package-internal, matching the
|
|
4698
|
+
* symbol: not re-exported from the barrel.
|
|
4699
|
+
*/
|
|
4700
|
+
interface CorrelationIdCarrier {
|
|
4701
|
+
[CORRELATION_CALL_ID]?: string;
|
|
4702
|
+
}
|
|
4703
|
+
|
|
4662
4704
|
/**
|
|
4663
4705
|
* SDK Event System
|
|
4664
4706
|
*
|
|
@@ -5312,7 +5354,7 @@ interface ApiClientOptions {
|
|
|
5312
5354
|
*/
|
|
5313
5355
|
cache?: ZapierCache;
|
|
5314
5356
|
}
|
|
5315
|
-
interface FetchStreamInit extends RequestInit {
|
|
5357
|
+
interface FetchStreamInit extends RequestInit, CorrelationIdCarrier {
|
|
5316
5358
|
searchParams?: Record<string, string>;
|
|
5317
5359
|
authRequired?: boolean;
|
|
5318
5360
|
requiredScopes?: string[];
|
|
@@ -5496,10 +5538,11 @@ interface UpdateManifestEntryResult {
|
|
|
5496
5538
|
}
|
|
5497
5539
|
/**
|
|
5498
5540
|
* The manifest's version-locking API, consumed via the `manifest` provider
|
|
5499
|
-
* (`imports.manifest`). Built once per SDK from the injected options
|
|
5500
|
-
*
|
|
5501
|
-
* resolution
|
|
5502
|
-
*
|
|
5541
|
+
* (`imports.manifest`). Built once per SDK from the injected options (`manifest`
|
|
5542
|
+
* object or `manifestPath` file); each read binds the reading call's API client
|
|
5543
|
+
* for slug resolution, so those requests carry that call's correlation id.
|
|
5544
|
+
* `updateManifestEntry` writes through to the manifest file and invalidates the
|
|
5545
|
+
* cached manifest.
|
|
5503
5546
|
*/
|
|
5504
5547
|
interface ManifestProvider {
|
|
5505
5548
|
getVersionedImplementationId: GetVersionedImplementationId;
|
|
@@ -5664,11 +5707,10 @@ declare const MANIFEST_ID = "zapier/manifest";
|
|
|
5664
5707
|
*/
|
|
5665
5708
|
declare const manifestPluginRef: PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>;
|
|
5666
5709
|
/**
|
|
5667
|
-
* The module-model manifest provider
|
|
5668
|
-
*
|
|
5669
|
-
*
|
|
5670
|
-
* manifest
|
|
5671
|
-
* write so the next read reflects the new file.
|
|
5710
|
+
* The module-model manifest provider (version-locking API) built once from the
|
|
5711
|
+
* injected SDK options (`manifest` object or `manifestPath` file) plus, per read,
|
|
5712
|
+
* the API client for slug resolution. `updateManifestEntry` invalidates the
|
|
5713
|
+
* cached manifest after a write so the next read reflects the new file.
|
|
5672
5714
|
*/
|
|
5673
5715
|
declare const manifestPlugin: PropertyPlugin<"manifest", ManifestProvider> & LeafSummary<"zapier", "manifest", readonly [PropertyPlugin<"sdkOptions", {
|
|
5674
5716
|
credentials?: string | {
|
|
@@ -7415,7 +7457,8 @@ declare const apiPluginRef: PropertyPlugin<"api", ApiClient> & PluginSummary<"za
|
|
|
7415
7457
|
/**
|
|
7416
7458
|
* The module-model API provider: builds the client once at materialization
|
|
7417
7459
|
* (`setup`, dependencies-first) from the injected SDK options. The client
|
|
7418
|
-
* handles credential resolution internally.
|
|
7460
|
+
* handles credential resolution internally. The live `get` wraps that one
|
|
7461
|
+
* shared client per call so requests carry the caller's correlation id.
|
|
7419
7462
|
*/
|
|
7420
7463
|
declare const apiPlugin: PropertyPlugin<"api", ApiClient> & LeafSummary<"zapier", "api", readonly [PropertyPlugin<"sdkOptions", {
|
|
7421
7464
|
credentials?: string | {
|
|
@@ -1350,10 +1350,10 @@ type DataOf<TResponse> = TResponse extends {
|
|
|
1350
1350
|
} ? TData : never;
|
|
1351
1351
|
/**
|
|
1352
1352
|
* A leaf plugin that is a single value (not a function). `value` is a static
|
|
1353
|
-
* constant; `get({ imports })` computes the value from imports
|
|
1354
|
-
*
|
|
1355
|
-
*
|
|
1356
|
-
* the value, not a callable.
|
|
1353
|
+
* constant; `get({ imports, state })` computes the value from imports and
|
|
1354
|
+
* `setup` state, re-running live on each read. An optional `setup` runs once
|
|
1355
|
+
* eagerly at createSdk (dependencies first, like a method's `setup`) to build
|
|
1356
|
+
* that state. An imported/surfaced property yields the value, not a callable.
|
|
1357
1357
|
*/
|
|
1358
1358
|
interface PropertyPlugin<TName extends string = string, TValue = unknown> {
|
|
1359
1359
|
pluginType: "property";
|
|
@@ -1393,6 +1393,7 @@ interface PropertyPlugin<TName extends string = string, TValue = unknown> {
|
|
|
1393
1393
|
get?: (bag: {
|
|
1394
1394
|
imports: Record<string, unknown>;
|
|
1395
1395
|
state: unknown;
|
|
1396
|
+
callContext?: CallContext;
|
|
1396
1397
|
}) => TValue;
|
|
1397
1398
|
/** Descriptive metadata for the registry / CLI / MCP / docs (carry-only). */
|
|
1398
1399
|
meta?: LeafMeta;
|
|
@@ -1618,7 +1619,10 @@ interface PropertyEntry {
|
|
|
1618
1619
|
pluginType: "property";
|
|
1619
1620
|
name: string;
|
|
1620
1621
|
value?: any;
|
|
1621
|
-
|
|
1622
|
+
/** Re-derives the value per read. Receives the live per-call `CallContext`
|
|
1623
|
+
* when installed on a method's `imports` bag with a threaded context, and
|
|
1624
|
+
* nothing on a surface / build-time read. */
|
|
1625
|
+
getValue?: (callContext?: CallContext) => any;
|
|
1622
1626
|
/** Carried from the descriptor for the registry / CLI / MCP / docs. */
|
|
1623
1627
|
meta?: LeafMeta;
|
|
1624
1628
|
/** Carried from the descriptor: templated registry members for this
|
|
@@ -2684,9 +2688,11 @@ declare function declareMethod<const TId extends string, TInput = unknown, TOutp
|
|
|
2684
2688
|
id: LiteralString<TId>;
|
|
2685
2689
|
}): MethodPlugin<LastSegment<TId>, TInput, TOutput> & PluginSummary<TId, never>;
|
|
2686
2690
|
/**
|
|
2687
|
-
* Define a property leaf. Either a static `value` or a computed `get
|
|
2688
|
-
*
|
|
2689
|
-
*
|
|
2691
|
+
* Define a property leaf. Either a static `value` or a computed `get`, which
|
|
2692
|
+
* re-runs live on each read; an optional `setup` runs once at `createSdk`
|
|
2693
|
+
* (dependencies first, like a method's `setup`) to build the state `get` reads.
|
|
2694
|
+
* `createSdk`, a dependent's `imports`, or an aggregate's re-export binds it
|
|
2695
|
+
* under its bare `name` and yields the value.
|
|
2690
2696
|
*/
|
|
2691
2697
|
declare function defineProperty<const TName extends string, TValue, const TNamespace extends string = "">(config: {
|
|
2692
2698
|
name: TName;
|
|
@@ -2708,6 +2714,13 @@ declare function defineProperty<const TName extends string, TValue, const TImpor
|
|
|
2708
2714
|
get: (bag: {
|
|
2709
2715
|
imports: ImportsOf<TImports>;
|
|
2710
2716
|
state: TState;
|
|
2717
|
+
/** The live per-call context when the property is read from a method's
|
|
2718
|
+
* `imports` bag — every method call has one, at any depth. Undefined only
|
|
2719
|
+
* where no call is in flight: the property bound onto the SDK object
|
|
2720
|
+
* itself, and reads from a `setup`-time imports bag. A context-aware
|
|
2721
|
+
* property reads its `callId` off this; because its value is then specific
|
|
2722
|
+
* to the reading call, callers must not cache it across calls. */
|
|
2723
|
+
callContext?: CallContext;
|
|
2711
2724
|
}) => TValue;
|
|
2712
2725
|
/** Templated registry members for this property's dynamic sub-surface (e.g.
|
|
2713
2726
|
* a proxy): each a bodyless declaration keyed by `path` instead of `name`. */
|
|
@@ -4451,6 +4464,10 @@ interface MethodCalledEventData {
|
|
|
4451
4464
|
selected_api?: string | null;
|
|
4452
4465
|
operation_type?: string | null;
|
|
4453
4466
|
operation_key?: string | null;
|
|
4467
|
+
/** The call's correlation id (the same value sent as `zapier-correlation-id`
|
|
4468
|
+
* on the requests the call routes through the api client, after credentials
|
|
4469
|
+
* resolve). Distinct from the `call_context` surface label ("sdk" / "cli"). */
|
|
4470
|
+
correlation_id?: string | null;
|
|
4454
4471
|
}
|
|
4455
4472
|
|
|
4456
4473
|
/**
|
|
@@ -4659,6 +4676,31 @@ declare const eventEmissionPlugin: PropertyPlugin<"eventEmission", {
|
|
|
4659
4676
|
*/
|
|
4660
4677
|
declare const eventEmissionHookPlugin: HookPlugin<string>;
|
|
4661
4678
|
|
|
4679
|
+
/**
|
|
4680
|
+
* Package-internal marker for the correlation call id that the context-bound
|
|
4681
|
+
* `api` wrapper (`withCorrelationId`) stamps onto each request's options/init and
|
|
4682
|
+
* the client reads at its telemetry-header seam (`applyTelemetryHeaders`).
|
|
4683
|
+
*
|
|
4684
|
+
* A private `Symbol()` (not `Symbol.for`) so a caller cannot set it through the
|
|
4685
|
+
* public `RequestOptions` surface — the id can only originate from a real
|
|
4686
|
+
* per-call `CallContext`. Deliberately not re-exported from the package barrel
|
|
4687
|
+
* (`api/index.ts` / `src/index.ts`); it stays head-internal so `callId` reaches
|
|
4688
|
+
* consumers only in-band via the `zapier-correlation-id` header.
|
|
4689
|
+
*/
|
|
4690
|
+
declare const CORRELATION_CALL_ID: unique symbol;
|
|
4691
|
+
/**
|
|
4692
|
+
* The one shape carrying the SDK-internal correlation id: an optional member
|
|
4693
|
+
* keyed by {@link CORRELATION_CALL_ID}. Internal request init/stream types
|
|
4694
|
+
* extend it, and both the write seam (`withCorrelationId`) and the read seam
|
|
4695
|
+
* (the client's poll fetcher) reference it, so the symbol's type is defined
|
|
4696
|
+
* once. Named a "carrier" (not "WithCorrelationId") because the member is
|
|
4697
|
+
* optional — the id may or may not be present. Package-internal, matching the
|
|
4698
|
+
* symbol: not re-exported from the barrel.
|
|
4699
|
+
*/
|
|
4700
|
+
interface CorrelationIdCarrier {
|
|
4701
|
+
[CORRELATION_CALL_ID]?: string;
|
|
4702
|
+
}
|
|
4703
|
+
|
|
4662
4704
|
/**
|
|
4663
4705
|
* SDK Event System
|
|
4664
4706
|
*
|
|
@@ -5312,7 +5354,7 @@ interface ApiClientOptions {
|
|
|
5312
5354
|
*/
|
|
5313
5355
|
cache?: ZapierCache;
|
|
5314
5356
|
}
|
|
5315
|
-
interface FetchStreamInit extends RequestInit {
|
|
5357
|
+
interface FetchStreamInit extends RequestInit, CorrelationIdCarrier {
|
|
5316
5358
|
searchParams?: Record<string, string>;
|
|
5317
5359
|
authRequired?: boolean;
|
|
5318
5360
|
requiredScopes?: string[];
|
|
@@ -5496,10 +5538,11 @@ interface UpdateManifestEntryResult {
|
|
|
5496
5538
|
}
|
|
5497
5539
|
/**
|
|
5498
5540
|
* The manifest's version-locking API, consumed via the `manifest` provider
|
|
5499
|
-
* (`imports.manifest`). Built once per SDK from the injected options
|
|
5500
|
-
*
|
|
5501
|
-
* resolution
|
|
5502
|
-
*
|
|
5541
|
+
* (`imports.manifest`). Built once per SDK from the injected options (`manifest`
|
|
5542
|
+
* object or `manifestPath` file); each read binds the reading call's API client
|
|
5543
|
+
* for slug resolution, so those requests carry that call's correlation id.
|
|
5544
|
+
* `updateManifestEntry` writes through to the manifest file and invalidates the
|
|
5545
|
+
* cached manifest.
|
|
5503
5546
|
*/
|
|
5504
5547
|
interface ManifestProvider {
|
|
5505
5548
|
getVersionedImplementationId: GetVersionedImplementationId;
|
|
@@ -5664,11 +5707,10 @@ declare const MANIFEST_ID = "zapier/manifest";
|
|
|
5664
5707
|
*/
|
|
5665
5708
|
declare const manifestPluginRef: PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>;
|
|
5666
5709
|
/**
|
|
5667
|
-
* The module-model manifest provider
|
|
5668
|
-
*
|
|
5669
|
-
*
|
|
5670
|
-
* manifest
|
|
5671
|
-
* write so the next read reflects the new file.
|
|
5710
|
+
* The module-model manifest provider (version-locking API) built once from the
|
|
5711
|
+
* injected SDK options (`manifest` object or `manifestPath` file) plus, per read,
|
|
5712
|
+
* the API client for slug resolution. `updateManifestEntry` invalidates the
|
|
5713
|
+
* cached manifest after a write so the next read reflects the new file.
|
|
5672
5714
|
*/
|
|
5673
5715
|
declare const manifestPlugin: PropertyPlugin<"manifest", ManifestProvider> & LeafSummary<"zapier", "manifest", readonly [PropertyPlugin<"sdkOptions", {
|
|
5674
5716
|
credentials?: string | {
|
|
@@ -7415,7 +7457,8 @@ declare const apiPluginRef: PropertyPlugin<"api", ApiClient> & PluginSummary<"za
|
|
|
7415
7457
|
/**
|
|
7416
7458
|
* The module-model API provider: builds the client once at materialization
|
|
7417
7459
|
* (`setup`, dependencies-first) from the injected SDK options. The client
|
|
7418
|
-
* handles credential resolution internally.
|
|
7460
|
+
* handles credential resolution internally. The live `get` wraps that one
|
|
7461
|
+
* shared client per call so requests carry the caller's correlation id.
|
|
7419
7462
|
*/
|
|
7420
7463
|
declare const apiPlugin: PropertyPlugin<"api", ApiClient> & LeafSummary<"zapier", "api", readonly [PropertyPlugin<"sdkOptions", {
|
|
7421
7464
|
credentials?: string | {
|