@zapier/zapier-sdk 0.119.4 → 0.119.6

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/dist/beta.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider, a as Manifest, E as EventCallback, b as EventEmissionConfig, Z as ZapierCache, C as ConnectionsProvider, c as CapabilitiesContext, F as FieldsetItem, d as ZapierFetchInitOptions, e as ActionProxy, f as ZapierSdkApps, D as DeleteTriggerInboxResult, g as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, j as ApiClientDurationOptions, k as EventTransport, l as BaseEvent, R as ResolveCredentialsFn } from './index-DR_2xqqX.mjs';
2
- export { ef as ACTION_RUNS_PATH, cS as API_ID, z as Action, cO as ActionEntry, c8 as ActionExecutionOptions, K as ActionExecutionResult, O as ActionField, P as ActionFieldChoice, aU as ActionIdempotencyKeyPropertySchema, ay as ActionItem, b9 as ActionKeyProperty, aG as ActionKeyPropertySchema, ba as ActionProperty, aH as ActionPropertySchema, ah as ActionResolverItem, bm as ActionTimeoutMillisecondsProperty, aT as ActionTimeoutMillisecondsPropertySchema, bl as ActionTimeoutSecondsProperty, aS as ActionTimeoutSecondsPropertySchema, ai as ActionTypeItem, b8 as ActionTypeProperty, aF as ActionTypePropertySchema, dF as ApiEvent, cR as ApiPluginOptions, H as App, c9 as AppFactoryInput, aw as AppItem, b6 as AppKeyProperty, aD as AppKeyPropertySchema, b7 as AppProperty, aE as AppPropertySchema, eK as ApplicationLifecycleEventData, bR as ApprovalStatus, br as AppsProperty, aZ as AppsPropertySchema, dE as AuthEvent, dq as AuthMechanism, be as AuthenticationIdProperty, aK as AuthenticationIdPropertySchema, ad as BaseSdkOptionsSchema, a5 as BatchOptions, a0 as CALLER_CONTEXT_HEADERS_SUPPORTED, e5 as CONNECTIONS_ID, cv as CONTEXT_CACHE_MAX_SIZE, cu as CONTEXT_CACHE_TTL_MILLISECONDS, a3 as CallerContext, J as Choice, dK as ClientCredentialsObject, dV as ClientCredentialsObjectSchema, U as Connection, e1 as ConnectionEntry, e0 as ConnectionEntrySchema, bc as ConnectionIdProperty, aJ as ConnectionIdPropertySchema, ax as ConnectionItem, bd as ConnectionProperty, aL as ConnectionPropertySchema, e3 as ConnectionsMap, e2 as ConnectionsMapSchema, bt as ConnectionsProperty, a$ as ConnectionsPropertySchema, V as ConnectionsResponse, cx as CreateActionRunPluginProvides, dH as Credentials, d_ as CredentialsFunction, dZ as CredentialsFunctionSchema, dJ as CredentialsObject, dX as CredentialsObjectSchema, d$ as CredentialsSchema, ee as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, eo as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cM as DEFAULT_CONFIG_PATH, ep as DEFAULT_MAX_APPROVAL_RETRIES, ed as DEFAULT_PAGE_SIZE, au as DEPRECATION_NOTICE_EVENT, bj as DebugProperty, aQ as DebugPropertySchema, av as DeprecationNoticePayload, s as DrainTriggerInboxCallback, t as DrainTriggerInboxErrorObserver, eF as EVENT_EMISSION_ID, eL as EnhancedErrorEventData, bA as ErrorOptions, eJ as EventContext, eD as EventEmissionContext, eE as EventEmitter, ca as FetchPluginProvides, I as Field, bq as FieldsProperty, aY as FieldsPropertySchema, x as FindFirstAuthenticationPluginProvides, y as FindUniqueAuthenticationPluginProvides, cz as GetActionRunPluginProvides, w as GetAuthenticationPluginProvides, cQ as GetProfilePluginProvides, aA as InfoFieldItem, az as InputFieldItem, bb as InputFieldProperty, aI as InputFieldPropertySchema, bf as InputsProperty, aM as InputsPropertySchema, at as JsonSseMessage, bz as LeaseLimitProperty, b5 as LeaseLimitPropertySchema, bx as LeaseProperty, b3 as LeasePropertySchema, by as LeaseSecondsProperty, b4 as LeaseSecondsPropertySchema, u as LeasedTriggerMessageItem, bg as LimitProperty, aN as LimitPropertySchema, ch as ListActionInputFieldsPluginProvides, cf as ListActionsPluginProvides, cd as ListAppsPluginProvides, v as ListAuthenticationsPluginProvides, cl as ListConnectionsPluginProvides, dG as LoadingEvent, cH as MANIFEST_ID, ei as MAX_CONCURRENCY_LIMIT, ec as MAX_PAGE_LIMIT, cN as ManifestEntry, cD as ManifestPluginOptions, eS as MethodCalledEvent, eM as MethodCalledEventData, N as Need, Q as NeedsRequest, S as NeedsResponse, bh as OffsetProperty, aO as OffsetPropertySchema, bi as OutputProperty, aP as OutputPropertySchema, bk as ParamsProperty, aR as ParamsPropertySchema, dL as PkceCredentialsObject, dW as PkceCredentialsObjectSchema, ao as PollOptions, cV as RESOLVE_CREDENTIALS_ID, bP as RateLimitInfo, bo as RecordProperty, aW as RecordPropertySchema, bp as RecordsProperty, aX as RecordsPropertySchema, aa as RelayFetchSchema, a9 as RelayRequestSchema, an as RequestOptions, dp as ResolveAuthTokenOptions, e4 as ResolveConnection, dQ as ResolveCredentialsOptions, aj as ResolvedAppLocator, dr as ResolvedAuth, dI as ResolvedCredentials, dY as ResolvedCredentialsSchema, aB as RootFieldItem, cB as RunActionPluginProvides, _ as SDK_OPTIONS_ID, ae as STABILITY_DEFINITIONS, dD as SdkEvent, as as SseMessage, bn as TableProperty, aV as TablePropertySchema, bs as TablesProperty, a_ as TablesPropertySchema, bv as TriggerInboxKeyProperty, b1 as TriggerInboxKeyPropertySchema, bw as TriggerInboxNameProperty, b2 as TriggerInboxNamePropertySchema, bu as TriggerInboxProperty, b0 as TriggerInboxPropertySchema, T as TriggerMessageStatus, cK as UpdateManifestEntryOptions, cL as UpdateManifestEntryResult, X as UserProfile, aC as UserProfileItem, e8 as ZAPIER_BASE_URL, ek as ZAPIER_MAX_CONCURRENT_REQUESTS, eg as ZAPIER_MAX_NETWORK_RETRIES, eh as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, o as ZapierAbortDrainSignal, bN as ZapierActionError, bG as ZapierApiError, bH as ZapierAppNotFoundError, bS as ZapierApprovalError, bE as ZapierAuthenticationError, bL as ZapierBundleError, dA as ZapierCacheEntry, dB as ZapierCacheSetOptions, bK as ZapierConfigurationError, bO as ZapierConflictError, bB as ZapierError, bI as ZapierNotFoundError, bQ as ZapierRateLimitError, bT as ZapierRelayError, p as ZapierReleaseTriggerMessageSignal, bJ as ZapierResourceNotFoundError, c5 as ZapierSignal, bM as ZapierTimeoutError, bD as ZapierUnknownError, bC as ZapierValidationError, c_ as actionKeyResolver, cZ as actionTypeResolver, cU as apiPlugin, cT as apiPluginRef, cY as appKeyResolver, c7 as appsPlugin, a4 as batch, eN as buildApplicationLifecycleEvent, a6 as buildCapabilityMessage, eP as buildErrorEvent, eO as buildErrorEventWithContext, eR as buildMethodCalledEvent, eC as cleanupEventListeners, ds as clearTokenCache, d4 as clientCredentialsNameResolver, d5 as clientIdResolver, d0 as connectionIdGenericResolver, c$ as connectionIdResolver, e7 as connectionsPlugin, e6 as connectionsPluginRef, cw as createActionRunPlugin, eQ as createBaseEvent, cn as createClientCredentialsPlugin, dC as createMemoryCache, ev as createTableFieldsPlugin, es as createTablePlugin, ez as createTableRecordsPlugin, ap as createZapierApi, ab as createZapierSdkWithoutRegistry, co as deleteClientCredentialsPlugin, ew as deleteTableFieldsPlugin, et as deleteTablePlugin, eA as deleteTableRecordsPlugin, al as descriptionFor, d9 as durableRunIdResolver, eI as eventEmissionHookPlugin, eH as eventEmissionPlugin, eG as eventEmissionPluginRef, cb as fetchPlugin, cs as findFirstConnectionPlugin, cG as findManifestEntry, ct as findUniqueConnectionPlugin, c4 as formatErrorMessage, ag as formatExtensionPluginFailure, eU as generateEventId, cj as getActionInputFieldsSchemaPlugin, cq as getActionPlugin, cy as getActionRunPlugin, ak as getAgent, cp as getAppPlugin, dT as getBaseUrlFromCredentials, a1 as getCallerContext, e_ as getCiPlatform, dU as getClientIdFromCredentials, cr as getConnectionPlugin, f0 as getCpuTime, eV as getCurrentTimestamp, e$ as getMemoryUsage, aq as getOrCreateApiClient, eX as getOsInfo, eY as getPlatformVersions, cF as getPreferredManifestEntryKey, cP as getProfilePlugin, eW as getReleaseId, er as getTablePlugin, ex as getTableRecordPlugin, dw as getTokenFromCliLogin, f1 as getTtyContext, el as getZapierApprovalMode, eb as getZapierCausationId, ea as getZapierCorrelationId, en as getZapierDefaultApprovalMode, em as getZapierOpenAutoModeApprovalsInBrowser, e9 as getZapierSdkService, du as injectCliLogin, d3 as inputFieldKeyResolver, d2 as inputsAllOptionalResolver, d1 as inputsResolver, dt as invalidateCachedToken, dz as invalidateCredentialsToken, eZ as isCi, dv as isCliLoginAvailable, dM as isClientCredentials, dP as isCredentialsFunction, dO as isCredentialsObject, am as isInternalField, ar as isPermanentHttpError, dN as isPkceCredentials, q as isZapierAbortDrainSignal, c1 as isZapierActionError, bX as isZapierAppNotFoundError, c3 as isZapierApprovalError, bW as isZapierAuthenticationError, c0 as isZapierBundleError, b_ as isZapierConflictError, bU as isZapierError, bY as isZapierNotFoundError, c2 as isZapierRateLimitError, r as isZapierReleaseTriggerMessageSignal, bZ as isZapierResourceNotFoundError, c6 as isZapierSignal, b$ as isZapierTimeoutError, bV as isZapierValidationError, ci as listActionInputFieldChoicesPlugin, cg as listActionInputFieldsPlugin, ce as listActionsPlugin, cc as listAppsPlugin, cm as listClientCredentialsPlugin, ck as listConnectionsPlugin, eu as listTableFieldsPlugin, ey as listTableRecordsPlugin, eq as listTablesPlugin, a7 as logDeprecation, cJ as manifestPlugin, cI as manifestPluginRef, eT as operationAnnotatorPlugin, ej as parseConcurrencyEnvVar, cE as readManifestFromFile, cC as requestPlugin, a8 as resetDeprecationWarnings, dx as resolveAuth, dy as resolveAuthToken, dS as resolveCredentials, dR as resolveCredentialsFromEnv, cX as resolveCredentialsPlugin, cW as resolveCredentialsPluginRef, cA as runActionPlugin, a2 as runWithCallerContext, $ as sdkOptionsPluginRef, dh as tableFieldIdsResolver, dj as tableFieldsResolver, dm as tableFiltersResolver, d6 as tableIdResolver, di as tableNameResolver, df as tableRecordIdResolver, dg as tableRecordIdsResolver, dk as tableRecordsResolver, dn as tableSortResolver, dl as tableUpdateRecordsResolver, af as taxonomy, d7 as triggerInboxResolver, de as triggerMessagesResolver, eB as updateTableRecordsPlugin, db as workflowDraftIdResolver, dc as workflowDraftRevisionResolver, d8 as workflowIdResolver, dd as workflowRunIdResolver, da as workflowVersionIdResolver, bF as zapierAdaptError, ac as zapierCoreOptions, Y as zapierSdkPlugin } from './index-DR_2xqqX.mjs';
1
+ import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider, a as Manifest, E as EventCallback, b as EventEmissionConfig, Z as ZapierCache, C as ConnectionsProvider, c as CapabilitiesContext, F as FieldsetItem, d as ZapierFetchInitOptions, e as ActionProxy, f as ZapierSdkApps, D as DeleteTriggerInboxResult, g as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, j as ApiClientDurationOptions, k as EventTransport, l as BaseEvent, R as ResolveCredentialsFn } from './index-CThNTXl2.mjs';
2
+ export { ef as ACTION_RUNS_PATH, cS as API_ID, z as Action, cO as ActionEntry, c8 as ActionExecutionOptions, K as ActionExecutionResult, O as ActionField, P as ActionFieldChoice, aU as ActionIdempotencyKeyPropertySchema, ay as ActionItem, b9 as ActionKeyProperty, aG as ActionKeyPropertySchema, ba as ActionProperty, aH as ActionPropertySchema, ah as ActionResolverItem, bm as ActionTimeoutMillisecondsProperty, aT as ActionTimeoutMillisecondsPropertySchema, bl as ActionTimeoutSecondsProperty, aS as ActionTimeoutSecondsPropertySchema, ai as ActionTypeItem, b8 as ActionTypeProperty, aF as ActionTypePropertySchema, dF as ApiEvent, cR as ApiPluginOptions, H as App, c9 as AppFactoryInput, aw as AppItem, b6 as AppKeyProperty, aD as AppKeyPropertySchema, b7 as AppProperty, aE as AppPropertySchema, eK as ApplicationLifecycleEventData, bR as ApprovalStatus, br as AppsProperty, aZ as AppsPropertySchema, dE as AuthEvent, dq as AuthMechanism, be as AuthenticationIdProperty, aK as AuthenticationIdPropertySchema, ad as BaseSdkOptionsSchema, a5 as BatchOptions, a0 as CALLER_CONTEXT_HEADERS_SUPPORTED, e5 as CONNECTIONS_ID, cv as CONTEXT_CACHE_MAX_SIZE, cu as CONTEXT_CACHE_TTL_MILLISECONDS, a3 as CallerContext, J as Choice, dK as ClientCredentialsObject, dV as ClientCredentialsObjectSchema, U as Connection, e1 as ConnectionEntry, e0 as ConnectionEntrySchema, bc as ConnectionIdProperty, aJ as ConnectionIdPropertySchema, ax as ConnectionItem, bd as ConnectionProperty, aL as ConnectionPropertySchema, e3 as ConnectionsMap, e2 as ConnectionsMapSchema, bt as ConnectionsProperty, a$ as ConnectionsPropertySchema, V as ConnectionsResponse, cx as CreateActionRunPluginProvides, dH as Credentials, d_ as CredentialsFunction, dZ as CredentialsFunctionSchema, dJ as CredentialsObject, dX as CredentialsObjectSchema, d$ as CredentialsSchema, ee as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, eo as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cM as DEFAULT_CONFIG_PATH, ep as DEFAULT_MAX_APPROVAL_RETRIES, ed as DEFAULT_PAGE_SIZE, au as DEPRECATION_NOTICE_EVENT, bj as DebugProperty, aQ as DebugPropertySchema, av as DeprecationNoticePayload, s as DrainTriggerInboxCallback, t as DrainTriggerInboxErrorObserver, eF as EVENT_EMISSION_ID, eL as EnhancedErrorEventData, bA as ErrorOptions, eJ as EventContext, eD as EventEmissionContext, eE as EventEmitter, ca as FetchPluginProvides, I as Field, bq as FieldsProperty, aY as FieldsPropertySchema, x as FindFirstAuthenticationPluginProvides, y as FindUniqueAuthenticationPluginProvides, cz as GetActionRunPluginProvides, w as GetAuthenticationPluginProvides, cQ as GetProfilePluginProvides, aA as InfoFieldItem, az as InputFieldItem, bb as InputFieldProperty, aI as InputFieldPropertySchema, bf as InputsProperty, aM as InputsPropertySchema, at as JsonSseMessage, bz as LeaseLimitProperty, b5 as LeaseLimitPropertySchema, bx as LeaseProperty, b3 as LeasePropertySchema, by as LeaseSecondsProperty, b4 as LeaseSecondsPropertySchema, u as LeasedTriggerMessageItem, bg as LimitProperty, aN as LimitPropertySchema, ch as ListActionInputFieldsPluginProvides, cf as ListActionsPluginProvides, cd as ListAppsPluginProvides, v as ListAuthenticationsPluginProvides, cl as ListConnectionsPluginProvides, dG as LoadingEvent, cH as MANIFEST_ID, ei as MAX_CONCURRENCY_LIMIT, ec as MAX_PAGE_LIMIT, cN as ManifestEntry, cD as ManifestPluginOptions, eS as MethodCalledEvent, eM as MethodCalledEventData, N as Need, Q as NeedsRequest, S as NeedsResponse, bh as OffsetProperty, aO as OffsetPropertySchema, bi as OutputProperty, aP as OutputPropertySchema, bk as ParamsProperty, aR as ParamsPropertySchema, dL as PkceCredentialsObject, dW as PkceCredentialsObjectSchema, ao as PollOptions, cV as RESOLVE_CREDENTIALS_ID, bP as RateLimitInfo, bo as RecordProperty, aW as RecordPropertySchema, bp as RecordsProperty, aX as RecordsPropertySchema, aa as RelayFetchSchema, a9 as RelayRequestSchema, an as RequestOptions, dp as ResolveAuthTokenOptions, e4 as ResolveConnection, dQ as ResolveCredentialsOptions, aj as ResolvedAppLocator, dr as ResolvedAuth, dI as ResolvedCredentials, dY as ResolvedCredentialsSchema, aB as RootFieldItem, cB as RunActionPluginProvides, _ as SDK_OPTIONS_ID, ae as STABILITY_DEFINITIONS, dD as SdkEvent, as as SseMessage, bn as TableProperty, aV as TablePropertySchema, bs as TablesProperty, a_ as TablesPropertySchema, bv as TriggerInboxKeyProperty, b1 as TriggerInboxKeyPropertySchema, bw as TriggerInboxNameProperty, b2 as TriggerInboxNamePropertySchema, bu as TriggerInboxProperty, b0 as TriggerInboxPropertySchema, T as TriggerMessageStatus, cK as UpdateManifestEntryOptions, cL as UpdateManifestEntryResult, X as UserProfile, aC as UserProfileItem, e8 as ZAPIER_BASE_URL, ek as ZAPIER_MAX_CONCURRENT_REQUESTS, eg as ZAPIER_MAX_NETWORK_RETRIES, eh as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, o as ZapierAbortDrainSignal, bN as ZapierActionError, bG as ZapierApiError, bH as ZapierAppNotFoundError, bS as ZapierApprovalError, bE as ZapierAuthenticationError, bL as ZapierBundleError, dA as ZapierCacheEntry, dB as ZapierCacheSetOptions, bK as ZapierConfigurationError, bO as ZapierConflictError, bB as ZapierError, bI as ZapierNotFoundError, bQ as ZapierRateLimitError, bT as ZapierRelayError, p as ZapierReleaseTriggerMessageSignal, bJ as ZapierResourceNotFoundError, c5 as ZapierSignal, bM as ZapierTimeoutError, bD as ZapierUnknownError, bC as ZapierValidationError, c_ as actionKeyResolver, cZ as actionTypeResolver, cU as apiPlugin, cT as apiPluginRef, cY as appKeyResolver, c7 as appsPlugin, a4 as batch, eN as buildApplicationLifecycleEvent, a6 as buildCapabilityMessage, eP as buildErrorEvent, eO as buildErrorEventWithContext, eR as buildMethodCalledEvent, eC as cleanupEventListeners, ds as clearTokenCache, d4 as clientCredentialsNameResolver, d5 as clientIdResolver, d0 as connectionIdGenericResolver, c$ as connectionIdResolver, e7 as connectionsPlugin, e6 as connectionsPluginRef, cw as createActionRunPlugin, eQ as createBaseEvent, cn as createClientCredentialsPlugin, dC as createMemoryCache, ev as createTableFieldsPlugin, es as createTablePlugin, ez as createTableRecordsPlugin, ap as createZapierApi, ab as createZapierSdkWithoutRegistry, co as deleteClientCredentialsPlugin, ew as deleteTableFieldsPlugin, et as deleteTablePlugin, eA as deleteTableRecordsPlugin, al as descriptionFor, d9 as durableRunIdResolver, eI as eventEmissionHookPlugin, eH as eventEmissionPlugin, eG as eventEmissionPluginRef, cb as fetchPlugin, cs as findFirstConnectionPlugin, cG as findManifestEntry, ct as findUniqueConnectionPlugin, c4 as formatErrorMessage, ag as formatExtensionPluginFailure, eU as generateEventId, cj as getActionInputFieldsSchemaPlugin, cq as getActionPlugin, cy as getActionRunPlugin, ak as getAgent, cp as getAppPlugin, dT as getBaseUrlFromCredentials, a1 as getCallerContext, e_ as getCiPlatform, dU as getClientIdFromCredentials, cr as getConnectionPlugin, f0 as getCpuTime, eV as getCurrentTimestamp, e$ as getMemoryUsage, aq as getOrCreateApiClient, eX as getOsInfo, eY as getPlatformVersions, cF as getPreferredManifestEntryKey, cP as getProfilePlugin, eW as getReleaseId, er as getTablePlugin, ex as getTableRecordPlugin, dw as getTokenFromCliLogin, f1 as getTtyContext, el as getZapierApprovalMode, eb as getZapierCausationId, ea as getZapierCorrelationId, en as getZapierDefaultApprovalMode, em as getZapierOpenAutoModeApprovalsInBrowser, e9 as getZapierSdkService, du as injectCliLogin, d3 as inputFieldKeyResolver, d2 as inputsAllOptionalResolver, d1 as inputsResolver, dt as invalidateCachedToken, dz as invalidateCredentialsToken, eZ as isCi, dv as isCliLoginAvailable, dM as isClientCredentials, dP as isCredentialsFunction, dO as isCredentialsObject, am as isInternalField, ar as isPermanentHttpError, dN as isPkceCredentials, q as isZapierAbortDrainSignal, c1 as isZapierActionError, bX as isZapierAppNotFoundError, c3 as isZapierApprovalError, bW as isZapierAuthenticationError, c0 as isZapierBundleError, b_ as isZapierConflictError, bU as isZapierError, bY as isZapierNotFoundError, c2 as isZapierRateLimitError, r as isZapierReleaseTriggerMessageSignal, bZ as isZapierResourceNotFoundError, c6 as isZapierSignal, b$ as isZapierTimeoutError, bV as isZapierValidationError, ci as listActionInputFieldChoicesPlugin, cg as listActionInputFieldsPlugin, ce as listActionsPlugin, cc as listAppsPlugin, cm as listClientCredentialsPlugin, ck as listConnectionsPlugin, eu as listTableFieldsPlugin, ey as listTableRecordsPlugin, eq as listTablesPlugin, a7 as logDeprecation, cJ as manifestPlugin, cI as manifestPluginRef, eT as operationAnnotatorPlugin, ej as parseConcurrencyEnvVar, cE as readManifestFromFile, cC as requestPlugin, a8 as resetDeprecationWarnings, dx as resolveAuth, dy as resolveAuthToken, dS as resolveCredentials, dR as resolveCredentialsFromEnv, cX as resolveCredentialsPlugin, cW as resolveCredentialsPluginRef, cA as runActionPlugin, a2 as runWithCallerContext, $ as sdkOptionsPluginRef, dh as tableFieldIdsResolver, dj as tableFieldsResolver, dm as tableFiltersResolver, d6 as tableIdResolver, di as tableNameResolver, df as tableRecordIdResolver, dg as tableRecordIdsResolver, dk as tableRecordsResolver, dn as tableSortResolver, dl as tableUpdateRecordsResolver, af as taxonomy, d7 as triggerInboxResolver, de as triggerMessagesResolver, eB as updateTableRecordsPlugin, db as workflowDraftIdResolver, dc as workflowDraftRevisionResolver, d8 as workflowIdResolver, dd as workflowRunIdResolver, da as workflowVersionIdResolver, bF as zapierAdaptError, ac as zapierCoreOptions, Y as zapierSdkPlugin } from './index-CThNTXl2.mjs';
3
3
  import * as zod from 'zod';
4
4
  import { z } from 'zod';
5
5
  import * as zod_v4_core from 'zod/v4/core';
@@ -5313,7 +5313,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
5313
5313
  connectionId?: string | number | undefined;
5314
5314
  authenticationId?: string | number | undefined;
5315
5315
  callbackUrl?: string | undefined;
5316
- headers?: Record<string, string> | [string, string][] | Headers | undefined;
5316
+ headers?: Record<string, string> | Headers | [string, string][] | undefined;
5317
5317
  }, Promise<Response>, readonly [], {
5318
5318
  url: string;
5319
5319
  method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
@@ -5322,7 +5322,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
5322
5322
  connectionId?: string | number | undefined;
5323
5323
  authenticationId?: string | number | undefined;
5324
5324
  callbackUrl?: string | undefined;
5325
- headers?: Record<string, string> | [string, string][] | Headers | undefined;
5325
+ headers?: Record<string, string> | Headers | [string, string][] | undefined;
5326
5326
  }> & _zapier_kitcore.LeafSummary<"", "request", readonly [_zapier_kitcore.MethodPlugin<"fetch", {
5327
5327
  url: string | URL;
5328
5328
  init?: ZapierFetchInitOptions;
@@ -5337,7 +5337,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
5337
5337
  connectionId?: string | number | undefined;
5338
5338
  authenticationId?: string | number | undefined;
5339
5339
  callbackUrl?: string | undefined;
5340
- headers?: Record<string, string> | [string, string][] | Headers | undefined;
5340
+ headers?: Record<string, string> | Headers | [string, string][] | undefined;
5341
5341
  }) => Promise<Response>>;
5342
5342
  } & {
5343
5343
  apps: _zapier_kitcore.PropertyPlugin<"apps", ActionProxy & ZapierSdkApps> & _zapier_kitcore.LeafSummary<"", "apps", readonly [_zapier_kitcore.MethodPlugin<"fetch", {
@@ -7352,7 +7352,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
7352
7352
  keyMode: "names" | "ids";
7353
7353
  filters?: {
7354
7354
  fieldKey: string;
7355
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7355
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7356
7356
  value?: unknown;
7357
7357
  }[] | undefined;
7358
7358
  sort?: {
@@ -7368,7 +7368,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
7368
7368
  keyMode: "names" | "ids";
7369
7369
  filters?: {
7370
7370
  fieldKey: string;
7371
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7371
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7372
7372
  value?: unknown;
7373
7373
  }[] | undefined;
7374
7374
  sort?: {
@@ -7397,7 +7397,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
7397
7397
  keyMode: "names" | "ids";
7398
7398
  filters?: {
7399
7399
  fieldKey: string;
7400
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7400
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7401
7401
  value?: unknown;
7402
7402
  }[] | undefined;
7403
7403
  sort?: {
@@ -7413,7 +7413,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
7413
7413
  keyMode: "names" | "ids";
7414
7414
  filters?: {
7415
7415
  fieldKey: string;
7416
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7416
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7417
7417
  value?: unknown;
7418
7418
  }[] | undefined;
7419
7419
  sort?: {
@@ -7432,7 +7432,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
7432
7432
  keyMode: "names" | "ids";
7433
7433
  filters?: {
7434
7434
  fieldKey: string;
7435
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7435
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7436
7436
  value?: unknown;
7437
7437
  }[] | undefined;
7438
7438
  sort?: {
@@ -7448,7 +7448,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
7448
7448
  keyMode: "names" | "ids";
7449
7449
  filters?: {
7450
7450
  fieldKey: string;
7451
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7451
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7452
7452
  value?: unknown;
7453
7453
  }[] | undefined;
7454
7454
  sort?: {
@@ -11427,7 +11427,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
11427
11427
  connectionId?: string | number | undefined;
11428
11428
  authenticationId?: string | number | undefined;
11429
11429
  callbackUrl?: string | undefined;
11430
- headers?: Record<string, string> | [string, string][] | Headers | undefined;
11430
+ headers?: Record<string, string> | Headers | [string, string][] | undefined;
11431
11431
  }) => Promise<Response>> | _zapier_kitcore.ContractEntry<"apps", ActionProxy & ZapierSdkApps> | _zapier_kitcore.ContractEntry<"listTriggerInboxes", (input?: ({
11432
11432
  key?: string | undefined;
11433
11433
  name?: string | undefined;
@@ -11849,7 +11849,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
11849
11849
  keyMode: "names" | "ids";
11850
11850
  filters?: {
11851
11851
  fieldKey: string;
11852
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
11852
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
11853
11853
  value?: unknown;
11854
11854
  }[] | undefined;
11855
11855
  sort?: {
@@ -11865,7 +11865,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
11865
11865
  keyMode: "names" | "ids";
11866
11866
  filters?: {
11867
11867
  fieldKey: string;
11868
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
11868
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
11869
11869
  value?: unknown;
11870
11870
  }[] | undefined;
11871
11871
  sort?: {
@@ -14082,7 +14082,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
14082
14082
  connectionId?: string | number | undefined;
14083
14083
  authenticationId?: string | number | undefined;
14084
14084
  callbackUrl?: string | undefined;
14085
- headers?: Record<string, string> | [string, string][] | Headers | undefined;
14085
+ headers?: Record<string, string> | Headers | [string, string][] | undefined;
14086
14086
  }) => Promise<Response>;
14087
14087
  apps: ActionProxy & ZapierSdkApps;
14088
14088
  listTriggerInboxes: (input?: ({
@@ -14609,7 +14609,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
14609
14609
  keyMode: "names" | "ids";
14610
14610
  filters?: {
14611
14611
  fieldKey: string;
14612
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
14612
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
14613
14613
  value?: unknown;
14614
14614
  }[] | undefined;
14615
14615
  sort?: {
@@ -14632,7 +14632,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
14632
14632
  keyMode: "names" | "ids";
14633
14633
  filters?: {
14634
14634
  fieldKey: string;
14635
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
14635
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
14636
14636
  value?: unknown;
14637
14637
  }[] | undefined;
14638
14638
  sort?: {
package/dist/beta.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider, a as Manifest, E as EventCallback, b as EventEmissionConfig, Z as ZapierCache, C as ConnectionsProvider, c as CapabilitiesContext, F as FieldsetItem, d as ZapierFetchInitOptions, e as ActionProxy, f as ZapierSdkApps, D as DeleteTriggerInboxResult, g as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, j as ApiClientDurationOptions, k as EventTransport, l as BaseEvent, R as ResolveCredentialsFn } from './index-DR_2xqqX.js';
2
- export { ef as ACTION_RUNS_PATH, cS as API_ID, z as Action, cO as ActionEntry, c8 as ActionExecutionOptions, K as ActionExecutionResult, O as ActionField, P as ActionFieldChoice, aU as ActionIdempotencyKeyPropertySchema, ay as ActionItem, b9 as ActionKeyProperty, aG as ActionKeyPropertySchema, ba as ActionProperty, aH as ActionPropertySchema, ah as ActionResolverItem, bm as ActionTimeoutMillisecondsProperty, aT as ActionTimeoutMillisecondsPropertySchema, bl as ActionTimeoutSecondsProperty, aS as ActionTimeoutSecondsPropertySchema, ai as ActionTypeItem, b8 as ActionTypeProperty, aF as ActionTypePropertySchema, dF as ApiEvent, cR as ApiPluginOptions, H as App, c9 as AppFactoryInput, aw as AppItem, b6 as AppKeyProperty, aD as AppKeyPropertySchema, b7 as AppProperty, aE as AppPropertySchema, eK as ApplicationLifecycleEventData, bR as ApprovalStatus, br as AppsProperty, aZ as AppsPropertySchema, dE as AuthEvent, dq as AuthMechanism, be as AuthenticationIdProperty, aK as AuthenticationIdPropertySchema, ad as BaseSdkOptionsSchema, a5 as BatchOptions, a0 as CALLER_CONTEXT_HEADERS_SUPPORTED, e5 as CONNECTIONS_ID, cv as CONTEXT_CACHE_MAX_SIZE, cu as CONTEXT_CACHE_TTL_MILLISECONDS, a3 as CallerContext, J as Choice, dK as ClientCredentialsObject, dV as ClientCredentialsObjectSchema, U as Connection, e1 as ConnectionEntry, e0 as ConnectionEntrySchema, bc as ConnectionIdProperty, aJ as ConnectionIdPropertySchema, ax as ConnectionItem, bd as ConnectionProperty, aL as ConnectionPropertySchema, e3 as ConnectionsMap, e2 as ConnectionsMapSchema, bt as ConnectionsProperty, a$ as ConnectionsPropertySchema, V as ConnectionsResponse, cx as CreateActionRunPluginProvides, dH as Credentials, d_ as CredentialsFunction, dZ as CredentialsFunctionSchema, dJ as CredentialsObject, dX as CredentialsObjectSchema, d$ as CredentialsSchema, ee as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, eo as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cM as DEFAULT_CONFIG_PATH, ep as DEFAULT_MAX_APPROVAL_RETRIES, ed as DEFAULT_PAGE_SIZE, au as DEPRECATION_NOTICE_EVENT, bj as DebugProperty, aQ as DebugPropertySchema, av as DeprecationNoticePayload, s as DrainTriggerInboxCallback, t as DrainTriggerInboxErrorObserver, eF as EVENT_EMISSION_ID, eL as EnhancedErrorEventData, bA as ErrorOptions, eJ as EventContext, eD as EventEmissionContext, eE as EventEmitter, ca as FetchPluginProvides, I as Field, bq as FieldsProperty, aY as FieldsPropertySchema, x as FindFirstAuthenticationPluginProvides, y as FindUniqueAuthenticationPluginProvides, cz as GetActionRunPluginProvides, w as GetAuthenticationPluginProvides, cQ as GetProfilePluginProvides, aA as InfoFieldItem, az as InputFieldItem, bb as InputFieldProperty, aI as InputFieldPropertySchema, bf as InputsProperty, aM as InputsPropertySchema, at as JsonSseMessage, bz as LeaseLimitProperty, b5 as LeaseLimitPropertySchema, bx as LeaseProperty, b3 as LeasePropertySchema, by as LeaseSecondsProperty, b4 as LeaseSecondsPropertySchema, u as LeasedTriggerMessageItem, bg as LimitProperty, aN as LimitPropertySchema, ch as ListActionInputFieldsPluginProvides, cf as ListActionsPluginProvides, cd as ListAppsPluginProvides, v as ListAuthenticationsPluginProvides, cl as ListConnectionsPluginProvides, dG as LoadingEvent, cH as MANIFEST_ID, ei as MAX_CONCURRENCY_LIMIT, ec as MAX_PAGE_LIMIT, cN as ManifestEntry, cD as ManifestPluginOptions, eS as MethodCalledEvent, eM as MethodCalledEventData, N as Need, Q as NeedsRequest, S as NeedsResponse, bh as OffsetProperty, aO as OffsetPropertySchema, bi as OutputProperty, aP as OutputPropertySchema, bk as ParamsProperty, aR as ParamsPropertySchema, dL as PkceCredentialsObject, dW as PkceCredentialsObjectSchema, ao as PollOptions, cV as RESOLVE_CREDENTIALS_ID, bP as RateLimitInfo, bo as RecordProperty, aW as RecordPropertySchema, bp as RecordsProperty, aX as RecordsPropertySchema, aa as RelayFetchSchema, a9 as RelayRequestSchema, an as RequestOptions, dp as ResolveAuthTokenOptions, e4 as ResolveConnection, dQ as ResolveCredentialsOptions, aj as ResolvedAppLocator, dr as ResolvedAuth, dI as ResolvedCredentials, dY as ResolvedCredentialsSchema, aB as RootFieldItem, cB as RunActionPluginProvides, _ as SDK_OPTIONS_ID, ae as STABILITY_DEFINITIONS, dD as SdkEvent, as as SseMessage, bn as TableProperty, aV as TablePropertySchema, bs as TablesProperty, a_ as TablesPropertySchema, bv as TriggerInboxKeyProperty, b1 as TriggerInboxKeyPropertySchema, bw as TriggerInboxNameProperty, b2 as TriggerInboxNamePropertySchema, bu as TriggerInboxProperty, b0 as TriggerInboxPropertySchema, T as TriggerMessageStatus, cK as UpdateManifestEntryOptions, cL as UpdateManifestEntryResult, X as UserProfile, aC as UserProfileItem, e8 as ZAPIER_BASE_URL, ek as ZAPIER_MAX_CONCURRENT_REQUESTS, eg as ZAPIER_MAX_NETWORK_RETRIES, eh as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, o as ZapierAbortDrainSignal, bN as ZapierActionError, bG as ZapierApiError, bH as ZapierAppNotFoundError, bS as ZapierApprovalError, bE as ZapierAuthenticationError, bL as ZapierBundleError, dA as ZapierCacheEntry, dB as ZapierCacheSetOptions, bK as ZapierConfigurationError, bO as ZapierConflictError, bB as ZapierError, bI as ZapierNotFoundError, bQ as ZapierRateLimitError, bT as ZapierRelayError, p as ZapierReleaseTriggerMessageSignal, bJ as ZapierResourceNotFoundError, c5 as ZapierSignal, bM as ZapierTimeoutError, bD as ZapierUnknownError, bC as ZapierValidationError, c_ as actionKeyResolver, cZ as actionTypeResolver, cU as apiPlugin, cT as apiPluginRef, cY as appKeyResolver, c7 as appsPlugin, a4 as batch, eN as buildApplicationLifecycleEvent, a6 as buildCapabilityMessage, eP as buildErrorEvent, eO as buildErrorEventWithContext, eR as buildMethodCalledEvent, eC as cleanupEventListeners, ds as clearTokenCache, d4 as clientCredentialsNameResolver, d5 as clientIdResolver, d0 as connectionIdGenericResolver, c$ as connectionIdResolver, e7 as connectionsPlugin, e6 as connectionsPluginRef, cw as createActionRunPlugin, eQ as createBaseEvent, cn as createClientCredentialsPlugin, dC as createMemoryCache, ev as createTableFieldsPlugin, es as createTablePlugin, ez as createTableRecordsPlugin, ap as createZapierApi, ab as createZapierSdkWithoutRegistry, co as deleteClientCredentialsPlugin, ew as deleteTableFieldsPlugin, et as deleteTablePlugin, eA as deleteTableRecordsPlugin, al as descriptionFor, d9 as durableRunIdResolver, eI as eventEmissionHookPlugin, eH as eventEmissionPlugin, eG as eventEmissionPluginRef, cb as fetchPlugin, cs as findFirstConnectionPlugin, cG as findManifestEntry, ct as findUniqueConnectionPlugin, c4 as formatErrorMessage, ag as formatExtensionPluginFailure, eU as generateEventId, cj as getActionInputFieldsSchemaPlugin, cq as getActionPlugin, cy as getActionRunPlugin, ak as getAgent, cp as getAppPlugin, dT as getBaseUrlFromCredentials, a1 as getCallerContext, e_ as getCiPlatform, dU as getClientIdFromCredentials, cr as getConnectionPlugin, f0 as getCpuTime, eV as getCurrentTimestamp, e$ as getMemoryUsage, aq as getOrCreateApiClient, eX as getOsInfo, eY as getPlatformVersions, cF as getPreferredManifestEntryKey, cP as getProfilePlugin, eW as getReleaseId, er as getTablePlugin, ex as getTableRecordPlugin, dw as getTokenFromCliLogin, f1 as getTtyContext, el as getZapierApprovalMode, eb as getZapierCausationId, ea as getZapierCorrelationId, en as getZapierDefaultApprovalMode, em as getZapierOpenAutoModeApprovalsInBrowser, e9 as getZapierSdkService, du as injectCliLogin, d3 as inputFieldKeyResolver, d2 as inputsAllOptionalResolver, d1 as inputsResolver, dt as invalidateCachedToken, dz as invalidateCredentialsToken, eZ as isCi, dv as isCliLoginAvailable, dM as isClientCredentials, dP as isCredentialsFunction, dO as isCredentialsObject, am as isInternalField, ar as isPermanentHttpError, dN as isPkceCredentials, q as isZapierAbortDrainSignal, c1 as isZapierActionError, bX as isZapierAppNotFoundError, c3 as isZapierApprovalError, bW as isZapierAuthenticationError, c0 as isZapierBundleError, b_ as isZapierConflictError, bU as isZapierError, bY as isZapierNotFoundError, c2 as isZapierRateLimitError, r as isZapierReleaseTriggerMessageSignal, bZ as isZapierResourceNotFoundError, c6 as isZapierSignal, b$ as isZapierTimeoutError, bV as isZapierValidationError, ci as listActionInputFieldChoicesPlugin, cg as listActionInputFieldsPlugin, ce as listActionsPlugin, cc as listAppsPlugin, cm as listClientCredentialsPlugin, ck as listConnectionsPlugin, eu as listTableFieldsPlugin, ey as listTableRecordsPlugin, eq as listTablesPlugin, a7 as logDeprecation, cJ as manifestPlugin, cI as manifestPluginRef, eT as operationAnnotatorPlugin, ej as parseConcurrencyEnvVar, cE as readManifestFromFile, cC as requestPlugin, a8 as resetDeprecationWarnings, dx as resolveAuth, dy as resolveAuthToken, dS as resolveCredentials, dR as resolveCredentialsFromEnv, cX as resolveCredentialsPlugin, cW as resolveCredentialsPluginRef, cA as runActionPlugin, a2 as runWithCallerContext, $ as sdkOptionsPluginRef, dh as tableFieldIdsResolver, dj as tableFieldsResolver, dm as tableFiltersResolver, d6 as tableIdResolver, di as tableNameResolver, df as tableRecordIdResolver, dg as tableRecordIdsResolver, dk as tableRecordsResolver, dn as tableSortResolver, dl as tableUpdateRecordsResolver, af as taxonomy, d7 as triggerInboxResolver, de as triggerMessagesResolver, eB as updateTableRecordsPlugin, db as workflowDraftIdResolver, dc as workflowDraftRevisionResolver, d8 as workflowIdResolver, dd as workflowRunIdResolver, da as workflowVersionIdResolver, bF as zapierAdaptError, ac as zapierCoreOptions, Y as zapierSdkPlugin } from './index-DR_2xqqX.js';
1
+ import { B as BaseSdkOptions, A as ApiClient, M as ManifestProvider, a as Manifest, E as EventCallback, b as EventEmissionConfig, Z as ZapierCache, C as ConnectionsProvider, c as CapabilitiesContext, F as FieldsetItem, d as ZapierFetchInitOptions, e as ActionProxy, f as ZapierSdkApps, D as DeleteTriggerInboxResult, g as DrainTriggerInboxOptions, W as WatchTriggerInboxOptions, L as ListActionsOptions, h as ListActionInputFieldsOptions, i as ListActionInputFieldChoicesOptions, G as GetActionInputFieldsSchemaOptions, j as ApiClientDurationOptions, k as EventTransport, l as BaseEvent, R as ResolveCredentialsFn } from './index-CThNTXl2.js';
2
+ export { ef as ACTION_RUNS_PATH, cS as API_ID, z as Action, cO as ActionEntry, c8 as ActionExecutionOptions, K as ActionExecutionResult, O as ActionField, P as ActionFieldChoice, aU as ActionIdempotencyKeyPropertySchema, ay as ActionItem, b9 as ActionKeyProperty, aG as ActionKeyPropertySchema, ba as ActionProperty, aH as ActionPropertySchema, ah as ActionResolverItem, bm as ActionTimeoutMillisecondsProperty, aT as ActionTimeoutMillisecondsPropertySchema, bl as ActionTimeoutSecondsProperty, aS as ActionTimeoutSecondsPropertySchema, ai as ActionTypeItem, b8 as ActionTypeProperty, aF as ActionTypePropertySchema, dF as ApiEvent, cR as ApiPluginOptions, H as App, c9 as AppFactoryInput, aw as AppItem, b6 as AppKeyProperty, aD as AppKeyPropertySchema, b7 as AppProperty, aE as AppPropertySchema, eK as ApplicationLifecycleEventData, bR as ApprovalStatus, br as AppsProperty, aZ as AppsPropertySchema, dE as AuthEvent, dq as AuthMechanism, be as AuthenticationIdProperty, aK as AuthenticationIdPropertySchema, ad as BaseSdkOptionsSchema, a5 as BatchOptions, a0 as CALLER_CONTEXT_HEADERS_SUPPORTED, e5 as CONNECTIONS_ID, cv as CONTEXT_CACHE_MAX_SIZE, cu as CONTEXT_CACHE_TTL_MILLISECONDS, a3 as CallerContext, J as Choice, dK as ClientCredentialsObject, dV as ClientCredentialsObjectSchema, U as Connection, e1 as ConnectionEntry, e0 as ConnectionEntrySchema, bc as ConnectionIdProperty, aJ as ConnectionIdPropertySchema, ax as ConnectionItem, bd as ConnectionProperty, aL as ConnectionPropertySchema, e3 as ConnectionsMap, e2 as ConnectionsMapSchema, bt as ConnectionsProperty, a$ as ConnectionsPropertySchema, V as ConnectionsResponse, cx as CreateActionRunPluginProvides, dH as Credentials, d_ as CredentialsFunction, dZ as CredentialsFunctionSchema, dJ as CredentialsObject, dX as CredentialsObjectSchema, d$ as CredentialsSchema, ee as DEFAULT_ACTION_TIMEOUT_MILLISECONDS, eo as DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, cM as DEFAULT_CONFIG_PATH, ep as DEFAULT_MAX_APPROVAL_RETRIES, ed as DEFAULT_PAGE_SIZE, au as DEPRECATION_NOTICE_EVENT, bj as DebugProperty, aQ as DebugPropertySchema, av as DeprecationNoticePayload, s as DrainTriggerInboxCallback, t as DrainTriggerInboxErrorObserver, eF as EVENT_EMISSION_ID, eL as EnhancedErrorEventData, bA as ErrorOptions, eJ as EventContext, eD as EventEmissionContext, eE as EventEmitter, ca as FetchPluginProvides, I as Field, bq as FieldsProperty, aY as FieldsPropertySchema, x as FindFirstAuthenticationPluginProvides, y as FindUniqueAuthenticationPluginProvides, cz as GetActionRunPluginProvides, w as GetAuthenticationPluginProvides, cQ as GetProfilePluginProvides, aA as InfoFieldItem, az as InputFieldItem, bb as InputFieldProperty, aI as InputFieldPropertySchema, bf as InputsProperty, aM as InputsPropertySchema, at as JsonSseMessage, bz as LeaseLimitProperty, b5 as LeaseLimitPropertySchema, bx as LeaseProperty, b3 as LeasePropertySchema, by as LeaseSecondsProperty, b4 as LeaseSecondsPropertySchema, u as LeasedTriggerMessageItem, bg as LimitProperty, aN as LimitPropertySchema, ch as ListActionInputFieldsPluginProvides, cf as ListActionsPluginProvides, cd as ListAppsPluginProvides, v as ListAuthenticationsPluginProvides, cl as ListConnectionsPluginProvides, dG as LoadingEvent, cH as MANIFEST_ID, ei as MAX_CONCURRENCY_LIMIT, ec as MAX_PAGE_LIMIT, cN as ManifestEntry, cD as ManifestPluginOptions, eS as MethodCalledEvent, eM as MethodCalledEventData, N as Need, Q as NeedsRequest, S as NeedsResponse, bh as OffsetProperty, aO as OffsetPropertySchema, bi as OutputProperty, aP as OutputPropertySchema, bk as ParamsProperty, aR as ParamsPropertySchema, dL as PkceCredentialsObject, dW as PkceCredentialsObjectSchema, ao as PollOptions, cV as RESOLVE_CREDENTIALS_ID, bP as RateLimitInfo, bo as RecordProperty, aW as RecordPropertySchema, bp as RecordsProperty, aX as RecordsPropertySchema, aa as RelayFetchSchema, a9 as RelayRequestSchema, an as RequestOptions, dp as ResolveAuthTokenOptions, e4 as ResolveConnection, dQ as ResolveCredentialsOptions, aj as ResolvedAppLocator, dr as ResolvedAuth, dI as ResolvedCredentials, dY as ResolvedCredentialsSchema, aB as RootFieldItem, cB as RunActionPluginProvides, _ as SDK_OPTIONS_ID, ae as STABILITY_DEFINITIONS, dD as SdkEvent, as as SseMessage, bn as TableProperty, aV as TablePropertySchema, bs as TablesProperty, a_ as TablesPropertySchema, bv as TriggerInboxKeyProperty, b1 as TriggerInboxKeyPropertySchema, bw as TriggerInboxNameProperty, b2 as TriggerInboxNamePropertySchema, bu as TriggerInboxProperty, b0 as TriggerInboxPropertySchema, T as TriggerMessageStatus, cK as UpdateManifestEntryOptions, cL as UpdateManifestEntryResult, X as UserProfile, aC as UserProfileItem, e8 as ZAPIER_BASE_URL, ek as ZAPIER_MAX_CONCURRENT_REQUESTS, eg as ZAPIER_MAX_NETWORK_RETRIES, eh as ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, o as ZapierAbortDrainSignal, bN as ZapierActionError, bG as ZapierApiError, bH as ZapierAppNotFoundError, bS as ZapierApprovalError, bE as ZapierAuthenticationError, bL as ZapierBundleError, dA as ZapierCacheEntry, dB as ZapierCacheSetOptions, bK as ZapierConfigurationError, bO as ZapierConflictError, bB as ZapierError, bI as ZapierNotFoundError, bQ as ZapierRateLimitError, bT as ZapierRelayError, p as ZapierReleaseTriggerMessageSignal, bJ as ZapierResourceNotFoundError, c5 as ZapierSignal, bM as ZapierTimeoutError, bD as ZapierUnknownError, bC as ZapierValidationError, c_ as actionKeyResolver, cZ as actionTypeResolver, cU as apiPlugin, cT as apiPluginRef, cY as appKeyResolver, c7 as appsPlugin, a4 as batch, eN as buildApplicationLifecycleEvent, a6 as buildCapabilityMessage, eP as buildErrorEvent, eO as buildErrorEventWithContext, eR as buildMethodCalledEvent, eC as cleanupEventListeners, ds as clearTokenCache, d4 as clientCredentialsNameResolver, d5 as clientIdResolver, d0 as connectionIdGenericResolver, c$ as connectionIdResolver, e7 as connectionsPlugin, e6 as connectionsPluginRef, cw as createActionRunPlugin, eQ as createBaseEvent, cn as createClientCredentialsPlugin, dC as createMemoryCache, ev as createTableFieldsPlugin, es as createTablePlugin, ez as createTableRecordsPlugin, ap as createZapierApi, ab as createZapierSdkWithoutRegistry, co as deleteClientCredentialsPlugin, ew as deleteTableFieldsPlugin, et as deleteTablePlugin, eA as deleteTableRecordsPlugin, al as descriptionFor, d9 as durableRunIdResolver, eI as eventEmissionHookPlugin, eH as eventEmissionPlugin, eG as eventEmissionPluginRef, cb as fetchPlugin, cs as findFirstConnectionPlugin, cG as findManifestEntry, ct as findUniqueConnectionPlugin, c4 as formatErrorMessage, ag as formatExtensionPluginFailure, eU as generateEventId, cj as getActionInputFieldsSchemaPlugin, cq as getActionPlugin, cy as getActionRunPlugin, ak as getAgent, cp as getAppPlugin, dT as getBaseUrlFromCredentials, a1 as getCallerContext, e_ as getCiPlatform, dU as getClientIdFromCredentials, cr as getConnectionPlugin, f0 as getCpuTime, eV as getCurrentTimestamp, e$ as getMemoryUsage, aq as getOrCreateApiClient, eX as getOsInfo, eY as getPlatformVersions, cF as getPreferredManifestEntryKey, cP as getProfilePlugin, eW as getReleaseId, er as getTablePlugin, ex as getTableRecordPlugin, dw as getTokenFromCliLogin, f1 as getTtyContext, el as getZapierApprovalMode, eb as getZapierCausationId, ea as getZapierCorrelationId, en as getZapierDefaultApprovalMode, em as getZapierOpenAutoModeApprovalsInBrowser, e9 as getZapierSdkService, du as injectCliLogin, d3 as inputFieldKeyResolver, d2 as inputsAllOptionalResolver, d1 as inputsResolver, dt as invalidateCachedToken, dz as invalidateCredentialsToken, eZ as isCi, dv as isCliLoginAvailable, dM as isClientCredentials, dP as isCredentialsFunction, dO as isCredentialsObject, am as isInternalField, ar as isPermanentHttpError, dN as isPkceCredentials, q as isZapierAbortDrainSignal, c1 as isZapierActionError, bX as isZapierAppNotFoundError, c3 as isZapierApprovalError, bW as isZapierAuthenticationError, c0 as isZapierBundleError, b_ as isZapierConflictError, bU as isZapierError, bY as isZapierNotFoundError, c2 as isZapierRateLimitError, r as isZapierReleaseTriggerMessageSignal, bZ as isZapierResourceNotFoundError, c6 as isZapierSignal, b$ as isZapierTimeoutError, bV as isZapierValidationError, ci as listActionInputFieldChoicesPlugin, cg as listActionInputFieldsPlugin, ce as listActionsPlugin, cc as listAppsPlugin, cm as listClientCredentialsPlugin, ck as listConnectionsPlugin, eu as listTableFieldsPlugin, ey as listTableRecordsPlugin, eq as listTablesPlugin, a7 as logDeprecation, cJ as manifestPlugin, cI as manifestPluginRef, eT as operationAnnotatorPlugin, ej as parseConcurrencyEnvVar, cE as readManifestFromFile, cC as requestPlugin, a8 as resetDeprecationWarnings, dx as resolveAuth, dy as resolveAuthToken, dS as resolveCredentials, dR as resolveCredentialsFromEnv, cX as resolveCredentialsPlugin, cW as resolveCredentialsPluginRef, cA as runActionPlugin, a2 as runWithCallerContext, $ as sdkOptionsPluginRef, dh as tableFieldIdsResolver, dj as tableFieldsResolver, dm as tableFiltersResolver, d6 as tableIdResolver, di as tableNameResolver, df as tableRecordIdResolver, dg as tableRecordIdsResolver, dk as tableRecordsResolver, dn as tableSortResolver, dl as tableUpdateRecordsResolver, af as taxonomy, d7 as triggerInboxResolver, de as triggerMessagesResolver, eB as updateTableRecordsPlugin, db as workflowDraftIdResolver, dc as workflowDraftRevisionResolver, d8 as workflowIdResolver, dd as workflowRunIdResolver, da as workflowVersionIdResolver, bF as zapierAdaptError, ac as zapierCoreOptions, Y as zapierSdkPlugin } from './index-CThNTXl2.js';
3
3
  import * as zod from 'zod';
4
4
  import { z } from 'zod';
5
5
  import * as zod_v4_core from 'zod/v4/core';
@@ -5313,7 +5313,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
5313
5313
  connectionId?: string | number | undefined;
5314
5314
  authenticationId?: string | number | undefined;
5315
5315
  callbackUrl?: string | undefined;
5316
- headers?: Record<string, string> | [string, string][] | Headers | undefined;
5316
+ headers?: Record<string, string> | Headers | [string, string][] | undefined;
5317
5317
  }, Promise<Response>, readonly [], {
5318
5318
  url: string;
5319
5319
  method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
@@ -5322,7 +5322,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
5322
5322
  connectionId?: string | number | undefined;
5323
5323
  authenticationId?: string | number | undefined;
5324
5324
  callbackUrl?: string | undefined;
5325
- headers?: Record<string, string> | [string, string][] | Headers | undefined;
5325
+ headers?: Record<string, string> | Headers | [string, string][] | undefined;
5326
5326
  }> & _zapier_kitcore.LeafSummary<"", "request", readonly [_zapier_kitcore.MethodPlugin<"fetch", {
5327
5327
  url: string | URL;
5328
5328
  init?: ZapierFetchInitOptions;
@@ -5337,7 +5337,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
5337
5337
  connectionId?: string | number | undefined;
5338
5338
  authenticationId?: string | number | undefined;
5339
5339
  callbackUrl?: string | undefined;
5340
- headers?: Record<string, string> | [string, string][] | Headers | undefined;
5340
+ headers?: Record<string, string> | Headers | [string, string][] | undefined;
5341
5341
  }) => Promise<Response>>;
5342
5342
  } & {
5343
5343
  apps: _zapier_kitcore.PropertyPlugin<"apps", ActionProxy & ZapierSdkApps> & _zapier_kitcore.LeafSummary<"", "apps", readonly [_zapier_kitcore.MethodPlugin<"fetch", {
@@ -7352,7 +7352,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
7352
7352
  keyMode: "names" | "ids";
7353
7353
  filters?: {
7354
7354
  fieldKey: string;
7355
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7355
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7356
7356
  value?: unknown;
7357
7357
  }[] | undefined;
7358
7358
  sort?: {
@@ -7368,7 +7368,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
7368
7368
  keyMode: "names" | "ids";
7369
7369
  filters?: {
7370
7370
  fieldKey: string;
7371
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7371
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7372
7372
  value?: unknown;
7373
7373
  }[] | undefined;
7374
7374
  sort?: {
@@ -7397,7 +7397,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
7397
7397
  keyMode: "names" | "ids";
7398
7398
  filters?: {
7399
7399
  fieldKey: string;
7400
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7400
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7401
7401
  value?: unknown;
7402
7402
  }[] | undefined;
7403
7403
  sort?: {
@@ -7413,7 +7413,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
7413
7413
  keyMode: "names" | "ids";
7414
7414
  filters?: {
7415
7415
  fieldKey: string;
7416
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7416
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7417
7417
  value?: unknown;
7418
7418
  }[] | undefined;
7419
7419
  sort?: {
@@ -7432,7 +7432,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
7432
7432
  keyMode: "names" | "ids";
7433
7433
  filters?: {
7434
7434
  fieldKey: string;
7435
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7435
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7436
7436
  value?: unknown;
7437
7437
  }[] | undefined;
7438
7438
  sort?: {
@@ -7448,7 +7448,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
7448
7448
  keyMode: "names" | "ids";
7449
7449
  filters?: {
7450
7450
  fieldKey: string;
7451
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7451
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
7452
7452
  value?: unknown;
7453
7453
  }[] | undefined;
7454
7454
  sort?: {
@@ -11427,7 +11427,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
11427
11427
  connectionId?: string | number | undefined;
11428
11428
  authenticationId?: string | number | undefined;
11429
11429
  callbackUrl?: string | undefined;
11430
- headers?: Record<string, string> | [string, string][] | Headers | undefined;
11430
+ headers?: Record<string, string> | Headers | [string, string][] | undefined;
11431
11431
  }) => Promise<Response>> | _zapier_kitcore.ContractEntry<"apps", ActionProxy & ZapierSdkApps> | _zapier_kitcore.ContractEntry<"listTriggerInboxes", (input?: ({
11432
11432
  key?: string | undefined;
11433
11433
  name?: string | undefined;
@@ -11849,7 +11849,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
11849
11849
  keyMode: "names" | "ids";
11850
11850
  filters?: {
11851
11851
  fieldKey: string;
11852
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
11852
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
11853
11853
  value?: unknown;
11854
11854
  }[] | undefined;
11855
11855
  sort?: {
@@ -11865,7 +11865,7 @@ declare const zapierBetaSdkPlugin: _zapier_kitcore.AggregatePlugin<"beta-sdk", {
11865
11865
  keyMode: "names" | "ids";
11866
11866
  filters?: {
11867
11867
  fieldKey: string;
11868
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
11868
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
11869
11869
  value?: unknown;
11870
11870
  }[] | undefined;
11871
11871
  sort?: {
@@ -14082,7 +14082,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
14082
14082
  connectionId?: string | number | undefined;
14083
14083
  authenticationId?: string | number | undefined;
14084
14084
  callbackUrl?: string | undefined;
14085
- headers?: Record<string, string> | [string, string][] | Headers | undefined;
14085
+ headers?: Record<string, string> | Headers | [string, string][] | undefined;
14086
14086
  }) => Promise<Response>;
14087
14087
  apps: ActionProxy & ZapierSdkApps;
14088
14088
  listTriggerInboxes: (input?: ({
@@ -14609,7 +14609,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
14609
14609
  keyMode: "names" | "ids";
14610
14610
  filters?: {
14611
14611
  fieldKey: string;
14612
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
14612
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
14613
14613
  value?: unknown;
14614
14614
  }[] | undefined;
14615
14615
  sort?: {
@@ -14632,7 +14632,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
14632
14632
  keyMode: "names" | "ids";
14633
14633
  filters?: {
14634
14634
  fieldKey: string;
14635
- operator: "in" | "exact" | "search" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
14635
+ operator: "in" | "exact" | "search" | "contains" | "different" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within";
14636
14636
  value?: unknown;
14637
14637
  }[] | undefined;
14638
14638
  sort?: {
package/dist/beta.mjs CHANGED
@@ -1,3 +1,3 @@
1
- export { CreateWorkflowOptionsSchema, CreateWorkflowResponseSchema, ImportWorkflowOptionsSchema, ImportWorkflowResponseSchema, createZapierSdk, zapierBetaSdkPlugin } from './chunk-FYONS27B.mjs';
2
- export { ACTION_RUNS_PATH, API_ID, ActionIdempotencyKeyPropertySchema, ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMillisecondsPropertySchema, ActionTimeoutSecondsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthMechanism, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CALLER_CONTEXT_HEADERS_SUPPORTED, 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, 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, STABILITY_DEFINITIONS, STABILITY_LEVELS, STABILITY_TITLES, TablePropertySchema, TablesPropertySchema, TriggerInboxKeyPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, 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, applyStabilityLabel, appsPlugin, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, cleanupEventListeners, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, connectionsPluginRef, createActionRunPlugin, createBaseEvent, createClientCredentialsPlugin, createController, createMemoryCache, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdkWithoutRegistry, declareMethod, declareOptionalProperty, declarePlugin, declareProperty, defineFormatter, defineMethod, defineMethodOverride, defineOverride, definePlugin, defineProperty, defineResolver, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, descriptionFor, disposeSdk, durableRunIdResolver, eventEmissionHookPlugin, eventEmissionPlugin, eventEmissionPluginRef, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, formatExtensionPluginFailure, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getActionRunPlugin, getAgent, getAppPlugin, getBaseUrlFromCredentials, getCallerContext, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getContext, getCoreErrorCause, getCoreErrorCode, getCpuTime, getCurrentTimestamp, getMemoryUsage, getNegatable, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getRegistry, getRegistryPlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getTtyContext, getZapierApprovalMode, getZapierCausationId, getZapierCorrelationId, getZapierDefaultApprovalMode, getZapierOpenAutoModeApprovalsInBrowser, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCoreCancelledSignal, isCoreError, isCoreSignal, isCredentialsFunction, isCredentialsObject, isInternalField, 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, 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, taxonomy, toSnakeCase, toTitleCase, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin, workflowDraftIdResolver, workflowDraftRevisionResolver, workflowIdResolver, workflowRunIdResolver, workflowVersionIdResolver, zapierAdaptError, zapierCoreOptions, zapierSdkPlugin } from './chunk-56RRYPYW.mjs';
1
+ export { CreateWorkflowOptionsSchema, CreateWorkflowResponseSchema, ImportWorkflowOptionsSchema, ImportWorkflowResponseSchema, createZapierSdk, zapierBetaSdkPlugin } from './chunk-2XVA36IO.mjs';
2
+ export { ACTION_RUNS_PATH, API_ID, ActionIdempotencyKeyPropertySchema, ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMillisecondsPropertySchema, ActionTimeoutSecondsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthMechanism, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CALLER_CONTEXT_HEADERS_SUPPORTED, 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, 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, STABILITY_DEFINITIONS, STABILITY_LEVELS, STABILITY_TITLES, TablePropertySchema, TablesPropertySchema, TriggerInboxKeyPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, 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, applyStabilityLabel, appsPlugin, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, cleanupEventListeners, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, connectionsPluginRef, createActionRunPlugin, createBaseEvent, createClientCredentialsPlugin, createController, createMemoryCache, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdkWithoutRegistry, declareMethod, declareOptionalProperty, declarePlugin, declareProperty, defineFormatter, defineMethod, defineMethodOverride, defineOverride, definePlugin, defineProperty, defineResolver, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, descriptionFor, disposeSdk, durableRunIdResolver, eventEmissionHookPlugin, eventEmissionPlugin, eventEmissionPluginRef, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, formatExtensionPluginFailure, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getActionRunPlugin, getAgent, getAppPlugin, getBaseUrlFromCredentials, getCallerContext, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getContext, getCoreErrorCause, getCoreErrorCode, getCpuTime, getCurrentTimestamp, getMemoryUsage, getNegatable, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getRegistry, getRegistryPlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getTtyContext, getZapierApprovalMode, getZapierCausationId, getZapierCorrelationId, getZapierDefaultApprovalMode, getZapierOpenAutoModeApprovalsInBrowser, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCoreCancelledSignal, isCoreError, isCoreSignal, isCredentialsFunction, isCredentialsObject, isInternalField, 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, 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, taxonomy, toSnakeCase, toTitleCase, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin, workflowDraftIdResolver, workflowDraftRevisionResolver, workflowIdResolver, workflowRunIdResolver, workflowVersionIdResolver, zapierAdaptError, zapierCoreOptions, zapierSdkPlugin } from './chunk-CQ3C7UWQ.mjs';
3
3
  import './chunk-Y6FXYEAI.mjs';
@@ -1,4 +1,4 @@
1
- import { taxonomy, DEFAULT_PAGE_SIZE, apiPluginRef, workflowIdResolver, extractErrorDetail, ZapierApiError, durableRunIdResolver, ZapierConflictError, workflowVersionIdResolver, workflowDraftIdResolver, workflowRunIdResolver, workflowDraftRevisionResolver, isZapierNotFoundError, ZapierTimeoutError, zapierSdkPlugin, SDK_VERSION, ZapierValidationError, sleep, zapierCoreOptions, SDK_OPTIONS_ID } from './chunk-56RRYPYW.mjs';
1
+ import { taxonomy, DEFAULT_PAGE_SIZE, apiPluginRef, workflowIdResolver, extractErrorDetail, ZapierApiError, durableRunIdResolver, ZapierConflictError, workflowVersionIdResolver, workflowDraftIdResolver, workflowRunIdResolver, workflowDraftRevisionResolver, isZapierNotFoundError, ZapierTimeoutError, zapierSdkPlugin, SDK_VERSION, ZapierValidationError, sleep, zapierCoreOptions, SDK_OPTIONS_ID } from './chunk-CQ3C7UWQ.mjs';
2
2
  import { defineMethod, openEnum, defineResolver, definePlugin, createSdk, CORE_OPTIONS_ID } from '@zapier/kitcore';
3
3
  import { z } from 'zod';
4
4
 
@@ -489,7 +489,7 @@ var createWorkflowPlugin = defineMethod({
489
489
  });
490
490
  var ImportWorkflowOptionsSchema = z.object({
491
491
  zap: z.string().min(1).max(128).describe(
492
- "ID of the Zap to import. Must be owned by the requesting user. Recorded on the created workflow as source_zap_id."
492
+ "ID of the Zap to import. Recorded on the created workflow as source_zap_id."
493
493
  ),
494
494
  name: z.string().optional().describe(
495
495
  `Name for the created workflow. Defaults to a kebab-cased form of the Zap's title, or "imported-workflow" when the Zap has no title.`
@@ -580,14 +580,13 @@ var importWorkflowPlugin = defineMethod({
580
580
  body,
581
581
  {
582
582
  authRequired: true,
583
- // Import is owner-gated upstream: the endpoint refuses a Zap the
584
- // requesting user does not own. A bare 403 tells the caller nothing
585
- // about which gate they hit or what to do, so name both.
583
+ // The API owns the wording of its access rule; pass its reason through
584
+ // and add only what a caller can't infer from a bare 403.
586
585
  customErrorHandler: ({ status, data }) => {
587
586
  if (status === 403) {
588
- const detail = extractErrorDetail(data);
587
+ const detail = extractErrorDetail(data)?.replace(/[.!?]+$/, "");
589
588
  return new ZapierApiError(
590
- `${detail ?? "Zap import forbidden"} \u2014 only Zaps owned by the requesting user can be imported. Check the Zap ID belongs to this user, or ask its owner to run the import. Retrying will not help.`,
589
+ `${detail || "Zap import forbidden"}. Retrying will not help.`,
591
590
  { statusCode: status }
592
591
  );
593
592
  }