@zapier/zapier-sdk 0.86.0 → 0.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
- import { ConnectionSchema, ConnectionsResponseSchema, GetConnectionResponse } from '@zapier/zapier-sdk-core/v0/schemas/connections';
3
+ import { ConnectionItemSchema, ConnectionSchema, ConnectionsResponseSchema, GetConnectionResponse } from '@zapier/zapier-sdk-core/v0/schemas/connections';
4
4
  import { RequestContext } from '@zapier/policy-context';
5
5
  import * as zod_v4_core from 'zod/v4/core';
6
6
 
@@ -58,37 +58,6 @@ declare const AppItemSchema: z.ZodObject<{
58
58
  version: z.ZodOptional<z.ZodString>;
59
59
  }, z.core.$strip>;
60
60
 
61
- declare const ConnectionItemSchema: z.ZodObject<{
62
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- date: z.ZodString;
64
- is_invite_only: z.ZodBoolean;
65
- slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
- lastchanged: z.ZodOptional<z.ZodString>;
67
- destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
- is_private: z.ZodBoolean;
69
- shared_with_all: z.ZodBoolean;
70
- is_stale: z.ZodOptional<z.ZodString>;
71
- is_shared: z.ZodOptional<z.ZodString>;
72
- marked_stale_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
- label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
- identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
- url: z.ZodOptional<z.ZodString>;
76
- groups: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
77
- members: z.ZodOptional<z.ZodString>;
78
- permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
79
- public_id: z.ZodOptional<z.ZodString>;
80
- account_public_id: z.ZodOptional<z.ZodString>;
81
- customuser_public_id: z.ZodOptional<z.ZodString>;
82
- id: z.ZodString;
83
- account_id: z.ZodString;
84
- implementation_id: z.ZodOptional<z.ZodString>;
85
- profile_id: z.ZodOptional<z.ZodString>;
86
- is_expired: z.ZodOptional<z.ZodString>;
87
- expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
- app_key: z.ZodOptional<z.ZodString>;
89
- app_version: z.ZodOptional<z.ZodString>;
90
- }, z.core.$strip>;
91
-
92
61
  declare const ActionItemSchema: z.ZodObject<{
93
62
  description: z.ZodString;
94
63
  is_hidden: z.ZodOptional<z.ZodBoolean>;
@@ -3442,7 +3411,7 @@ declare abstract class CoreSignal extends Error {
3442
3411
  * control-flow throw), as opposed to a real error. Survives the
3443
3412
  * bundled/standalone kitcore split, where `instanceof CoreSignal` may not.
3444
3413
  */
3445
- declare function isCoreSignal(value: unknown): boolean;
3414
+ declare function isCoreSignal(value: unknown): value is CoreSignal;
3446
3415
  /**
3447
3416
  * Thrown by `Controller.resolve` when the host cancels resolution (the answer
3448
3417
  * callback returned `{ type: "cancel" }`). The lower-level `start`/`step`
@@ -3455,6 +3424,13 @@ declare class CoreCancelledSignal extends CoreSignal {
3455
3424
  readonly code: "CANCELLED";
3456
3425
  constructor(message?: string);
3457
3426
  }
3427
+ /**
3428
+ * Cross-package-safe check for {@link CoreCancelledSignal}. Keys on the
3429
+ * signal brand + `code` rather than `instanceof`, so it recognizes a
3430
+ * cancel signal raised by a different copy of kitcore (e.g. one bundled
3431
+ * into a head vs. one installed standalone).
3432
+ */
3433
+ declare function isCoreCancelledSignal(value: unknown): value is CoreCancelledSignal;
3458
3434
 
3459
3435
  declare const AppKeyPropertySchema: z.ZodString & {
3460
3436
  _def: z.core.$ZodStringDef & PositionalMetadata;
@@ -3556,7 +3532,6 @@ interface ErrorOptions {
3556
3532
  * the existing `Zapier*` / `ZAPIER_*` convention.
3557
3533
  */
3558
3534
  declare class ZapierError extends Error {
3559
- readonly [CORE_ERROR_SYMBOL] = true;
3560
3535
  readonly name: string;
3561
3536
  readonly code: string;
3562
3537
  statusCode?: number;
@@ -3632,8 +3607,8 @@ declare class ZapierNotFoundError extends ZapierError {
3632
3607
  /**
3633
3608
  * Error thrown when a requested resource is not found and the caller
3634
3609
  * provided a `resource` hint on the request, populating `resourceType`
3635
- * and (optionally) `resourceId`. Subclass of `ZapierNotFoundError` so
3636
- * `instanceof ZapierNotFoundError` checks continue to work.
3610
+ * and (optionally) `resourceId`. Subclass of `ZapierNotFoundError`, so it
3611
+ * inherits the not-found brand and `isZapierNotFoundError` matches it.
3637
3612
  */
3638
3613
  declare class ZapierResourceNotFoundError extends ZapierNotFoundError {
3639
3614
  readonly name = "ZapierResourceNotFoundError";
@@ -3789,6 +3764,30 @@ declare class ZapierRelayError extends ZapierError {
3789
3764
  readonly code: "ZAPIER_RELAY_ERROR";
3790
3765
  constructor(message: string, options?: ErrorOptions);
3791
3766
  }
3767
+ /**
3768
+ * Any Zapier-thrown error (the cross-package-safe equivalent of
3769
+ * `instanceof ZapierError`). Matches every subclass — including the
3770
+ * CLI's `ZapierCliError` — since the brand is inherited.
3771
+ */
3772
+ declare function isZapierError(value: unknown): value is ZapierError;
3773
+ declare function isZapierValidationError(value: unknown): value is ZapierValidationError;
3774
+ declare function isZapierAuthenticationError(value: unknown): value is ZapierAuthenticationError;
3775
+ declare function isZapierAppNotFoundError(value: unknown): value is ZapierAppNotFoundError;
3776
+ /**
3777
+ * Matches `ZapierNotFoundError` and any subclass (e.g.
3778
+ * `ZapierResourceNotFoundError`), preserving the subclass semantics of
3779
+ * `instanceof ZapierNotFoundError`. Keys on the not-found brand inherited
3780
+ * from the base constructor, so new subclasses are matched automatically
3781
+ * with no change here.
3782
+ */
3783
+ declare function isZapierNotFoundError(value: unknown): value is ZapierNotFoundError;
3784
+ declare function isZapierResourceNotFoundError(value: unknown): value is ZapierResourceNotFoundError;
3785
+ declare function isZapierConflictError(value: unknown): value is ZapierConflictError;
3786
+ declare function isZapierTimeoutError(value: unknown): value is ZapierTimeoutError;
3787
+ declare function isZapierBundleError(value: unknown): value is ZapierBundleError;
3788
+ declare function isZapierActionError(value: unknown): value is ZapierActionError;
3789
+ declare function isZapierRateLimitError(value: unknown): value is ZapierRateLimitError;
3790
+ declare function isZapierApprovalError(value: unknown): value is ZapierApprovalError;
3792
3791
  /**
3793
3792
  * Utility function to format error messages for display
3794
3793
  */
@@ -3804,15 +3803,23 @@ declare function formatErrorMessage(error: ZapierError): string;
3804
3803
  * leave it leased.
3805
3804
  *
3806
3805
  * Distinct from `ZapierError` (failures): signals are not errors and
3807
- * shouldn't be caught by error-handling code via `instanceof
3808
- * ZapierError`. Use `instanceof ZapierSignal` to discriminate intent
3809
- * throws from real failures.
3806
+ * shouldn't be caught by error-handling code. Use `isZapierSignal` to
3807
+ * discriminate intent throws from real failures — it recognizes any
3808
+ * `Zapier*` signal via the `CORE_SIGNAL_SYMBOL` brand stamped below,
3809
+ * which survives across bundle copies where `instanceof` would not.
3810
3810
  */
3811
3811
  declare abstract class ZapierSignal extends Error {
3812
3812
  abstract readonly name: string;
3813
3813
  abstract readonly code: string;
3814
3814
  constructor(message?: string);
3815
3815
  }
3816
+ /**
3817
+ * Cross-package-safe check that `value` is a `Zapier*` (or kitcore)
3818
+ * signal. Prefer this over `instanceof ZapierSignal`, which breaks when
3819
+ * the SDK is loaded as more than one copy (index vs experimental entry,
3820
+ * `.cjs` vs `.mjs`, or two installed versions).
3821
+ */
3822
+ declare function isZapierSignal(value: unknown): value is ZapierSignal;
3816
3823
 
3817
3824
  declare const TriggerMessageStatusSchema: z.ZodUnion<readonly [z.ZodEnum<{
3818
3825
  available: "available";
@@ -3865,6 +3872,17 @@ declare class ZapierAbortDrainSignal extends ZapierSignal {
3865
3872
  readonly name = "ZapierAbortDrainSignal";
3866
3873
  readonly code: "ZAPIER_ABORT_DRAIN_SIGNAL";
3867
3874
  }
3875
+ /**
3876
+ * Cross-package-safe check for `ZapierReleaseTriggerMessageSignal`.
3877
+ * Keys on the signal brand + `code` rather than `instanceof`, so it
3878
+ * recognizes a signal thrown by a different copy of the SDK.
3879
+ */
3880
+ declare function isZapierReleaseTriggerMessageSignal(value: unknown): value is ZapierReleaseTriggerMessageSignal;
3881
+ /**
3882
+ * Cross-package-safe check for `ZapierAbortDrainSignal`. See
3883
+ * `isZapierReleaseTriggerMessageSignal` for why this beats `instanceof`.
3884
+ */
3885
+ declare function isZapierAbortDrainSignal(value: unknown): value is ZapierAbortDrainSignal;
3868
3886
  /**
3869
3887
  * Per-message handler. Resolves to ack the message; rejects to
3870
3888
  * release-or-leave per `releaseOnError`. Throw a
@@ -13758,4 +13776,4 @@ declare function getAgent(): string | null;
13758
13776
  */
13759
13777
  declare const registryPlugin: (_sdk: {}) => {};
13760
13778
 
13761
- export { type Connection as $, type AggregatePlugin as A, type BaseSdkOptions as B, type ConnectionsProvider as C, type DeleteTriggerInboxResult as D, type EventCallback as E, type FieldsetItem as F, type GetActionInputFieldsSchemaOptions as G, type FindFirstAuthenticationPluginProvides as H, type FindUniqueAuthenticationPluginProvides as I, type Action as J, type App as K, type LeafSummary as L, type MethodPlugin as M, type Need as N, type Field as O, type PropertyPlugin as P, type Choice as Q, type RegistryResult as R, type SdkContext as S, type TriggerInboxCommandSharedFields as T, type ActionExecutionResult as U, type ActionField as V, type WatchTriggerInboxOptions as W, type ActionFieldChoice as X, type NeedsRequest as Y, type ZapierFetchInitOptions as Z, type NeedsResponse as _, type ApiClient as a, type BatchOptions as a$, type ConnectionsResponse as a0, type UserProfile as a1, isPositional as a2, type PositionalMetadata as a3, createFunction as a4, createPaginatedFunction as a5, createPluginStack as a6, createCorePlugin as a7, addPlugin as a8, disposeSdk as a9, type Resolver$1 as aA, type ArrayResolver$1 as aB, type ResolverMetadata as aC, type StaticResolver$1 as aD, type DynamicResolver$1 as aE, type DynamicListResolver as aF, type DynamicSearchResolver as aG, type FieldsResolver as aH, type Resolver as aI, type DynamicMember as aJ, type PluginSurface as aK, createController as aL, type ControllerQuestion as aM, type ControllerAction as aN, type ControllerAnswerFn as aO, type ControllerChoice as aP, type ControllerMethodSummary as aQ, type ControllerMethodDescription as aR, type ControllerParameterDescription as aS, runInMethodScope as aT, runWithTelemetryContext as aU, getCallerContext as aV, runWithCallerContext as aW, type CallerContext as aX, toSnakeCase as aY, toTitleCase as aZ, batch as a_, CoreDisposeError as aa, createSdk as ab, CONTEXT as ac, resolvePlugin as ad, fromFunctionPlugin as ae, defineLegacyMerge as af, getContext as ag, declarePlugin as ah, defineMethod as ai, defineMethodOverride as aj, defineProperty as ak, defineResolver as al, defineFormatter as am, declareMethod as an, declareProperty as ao, declareOptionalProperty as ap, selectExports as aq, omitExports as ar, getRegistryPlugin as as, zapierSdkPlugin as at, SDK_OPTIONS_ID as au, sdkOptionsPluginRef as av, type FormattedItem as aw, type BoundFormatter as ax, type Formatter as ay, type OutputFormatter as az, type PluginSummary as b, DebugPropertySchema as b$, buildCapabilityMessage as b0, logDeprecation as b1, resetDeprecationWarnings as b2, RelayRequestSchema as b3, RelayFetchSchema as b4, createZapierSdkWithoutRegistry as b5, zapierCoreOptions as b6, CORE_OPTIONS_ID as b7, type FunctionRegistryEntry as b8, type FunctionDeprecation as b9, isPermanentHttpError as bA, type SseMessage as bB, type JsonSseMessage as bC, DEPRECATION_NOTICE_EVENT as bD, type DeprecationNoticePayload as bE, type AppItem as bF, type ConnectionItem as bG, type ActionItem$1 as bH, type InputFieldItem as bI, type InfoFieldItem as bJ, type RootFieldItem as bK, type UserProfileItem as bL, type SdkPage as bM, type PaginatedSdkFunction as bN, AppKeyPropertySchema as bO, AppPropertySchema as bP, ActionTypePropertySchema as bQ, ActionKeyPropertySchema as bR, ActionPropertySchema as bS, InputFieldPropertySchema as bT, ConnectionIdPropertySchema as bU, AuthenticationIdPropertySchema as bV, ConnectionPropertySchema as bW, InputsPropertySchema as bX, LimitPropertySchema as bY, OffsetPropertySchema as bZ, OutputPropertySchema as b_, BaseSdkOptionsSchema as ba, isCoreError as bb, getCoreErrorCode as bc, getCoreErrorCause as bd, CORE_ERROR_SYMBOL as be, CoreErrorCode as bf, CoreSignal as bg, CoreCancelledSignal as bh, isCoreSignal as bi, CORE_SIGNAL_SYMBOL as bj, type Plugin as bk, type PluginProvides as bl, type MethodOverridePlugin as bm, definePlugin as bn, createPluginMethod as bo, createPaginatedPluginMethod as bp, composePlugins as bq, type ActionItem as br, type ActionTypeItem as bs, type ResolvedAppLocator as bt, getAgent as bu, registryPlugin as bv, type RequestOptions as bw, type PollOptions as bx, createZapierApi as by, getOrCreateApiClient as bz, type PaginatedSdkResult as c, ZapierRelayError as c$, ParamsPropertySchema as c0, ActionTimeoutMsPropertySchema as c1, TablePropertySchema as c2, RecordPropertySchema as c3, RecordsPropertySchema as c4, FieldsPropertySchema as c5, AppsPropertySchema as c6, TablesPropertySchema as c7, ConnectionsPropertySchema as c8, TriggerInboxPropertySchema as c9, type TablesProperty as cA, type ConnectionsProperty as cB, type TriggerInboxProperty as cC, type TriggerInboxKeyProperty as cD, type TriggerInboxNameProperty as cE, type LeaseProperty as cF, type LeaseSecondsProperty as cG, type LeaseLimitProperty as cH, type ErrorOptions as cI, ZapierError as cJ, ZapierValidationError as cK, ZapierUnknownError as cL, ZapierAuthenticationError as cM, zapierAdaptError as cN, ZapierApiError as cO, ZapierAppNotFoundError as cP, ZapierNotFoundError as cQ, ZapierResourceNotFoundError as cR, ZapierConfigurationError as cS, ZapierBundleError as cT, ZapierTimeoutError as cU, ZapierActionError as cV, ZapierConflictError as cW, type RateLimitInfo as cX, ZapierRateLimitError as cY, type ApprovalStatus as cZ, ZapierApprovalError as c_, TriggerInboxKeyPropertySchema as ca, TriggerInboxNamePropertySchema as cb, LeasePropertySchema as cc, LeaseSecondsPropertySchema as cd, LeaseLimitPropertySchema as ce, type AppKeyProperty as cf, type AppProperty as cg, type ActionTypeProperty as ch, type ActionKeyProperty as ci, type ActionProperty as cj, type InputFieldProperty as ck, type ConnectionIdProperty as cl, type ConnectionProperty as cm, type AuthenticationIdProperty as cn, type InputsProperty as co, type LimitProperty as cp, type OffsetProperty as cq, type OutputProperty as cr, type DebugProperty as cs, type ParamsProperty as ct, type ActionTimeoutMsProperty as cu, type TableProperty as cv, type RecordProperty as cw, type RecordsProperty as cx, type FieldsProperty as cy, type AppsProperty as cz, type ManifestProvider as d, tableIdResolver as d$, formatErrorMessage as d0, type CoreApiError as d1, ZapierSignal as d2, appsPlugin as d3, type ActionExecutionOptions as d4, type AppFactoryInput as d5, type FetchPluginProvides as d6, fetchPlugin as d7, listAppsPlugin as d8, type ListAppsPluginProvides as d9, MANIFEST_ID as dA, manifestPluginRef as dB, manifestPlugin as dC, type UpdateManifestEntryOptions as dD, type UpdateManifestEntryResult as dE, DEFAULT_CONFIG_PATH as dF, type ManifestEntry as dG, type ActionEntry as dH, getProfilePlugin as dI, type ApiPluginOptions as dJ, type ResolveCredentialsFn as dK, API_ID as dL, apiPluginRef as dM, apiPlugin as dN, RESOLVE_CREDENTIALS_ID as dO, resolveCredentialsPluginRef as dP, resolveCredentialsPlugin as dQ, appKeyResolver as dR, actionTypeResolver as dS, actionKeyResolver as dT, connectionIdResolver as dU, connectionIdGenericResolver as dV, inputsResolver as dW, inputsAllOptionalResolver as dX, inputFieldKeyResolver as dY, clientCredentialsNameResolver as dZ, clientIdResolver as d_, listActionsPlugin as da, type ListActionsPluginProvides as db, listActionInputFieldsPlugin as dc, type ListActionInputFieldsPluginProvides as dd, listActionInputFieldChoicesPlugin as de, getActionInputFieldsSchemaPlugin as df, listConnectionsPlugin as dg, type ListConnectionsPluginProvides as dh, listClientCredentialsPlugin as di, createClientCredentialsPlugin as dj, deleteClientCredentialsPlugin as dk, getAppPlugin as dl, getActionPlugin as dm, getConnectionPlugin as dn, findFirstConnectionPlugin as dp, findUniqueConnectionPlugin as dq, CONTEXT_CACHE_TTL_MS as dr, CONTEXT_CACHE_MAX_SIZE as ds, runActionPlugin as dt, type RunActionPluginProvides as du, requestPlugin as dv, type ManifestPluginOptions as dw, readManifestFromFile as dx, getPreferredManifestEntryKey as dy, findManifestEntry as dz, type CapabilitiesContext as e, getZapierSdkService as e$, triggerInboxResolver as e0, workflowIdResolver as e1, durableRunIdResolver as e2, workflowVersionIdResolver as e3, workflowRunIdResolver as e4, triggerMessagesResolver as e5, tableRecordIdResolver as e6, tableRecordIdsResolver as e7, tableFieldIdsResolver as e8, tableNameResolver as e9, type ClientCredentialsObject as eA, type PkceCredentialsObject as eB, isClientCredentials as eC, isPkceCredentials as eD, isCredentialsObject as eE, isCredentialsFunction as eF, type ResolveCredentialsOptions as eG, resolveCredentialsFromEnv as eH, resolveCredentials as eI, getBaseUrlFromCredentials as eJ, getClientIdFromCredentials as eK, ClientCredentialsObjectSchema as eL, PkceCredentialsObjectSchema as eM, CredentialsObjectSchema as eN, ResolvedCredentialsSchema as eO, CredentialsFunctionSchema as eP, type CredentialsFunction as eQ, CredentialsSchema as eR, ConnectionEntrySchema as eS, type ConnectionEntry as eT, ConnectionsMapSchema as eU, type ConnectionsMap as eV, type ResolveConnection as eW, CONNECTIONS_ID as eX, connectionsPluginRef as eY, connectionsPlugin as eZ, ZAPIER_BASE_URL as e_, tableFieldsResolver as ea, tableRecordsResolver as eb, tableUpdateRecordsResolver as ec, tableFiltersResolver as ed, tableSortResolver as ee, type ResolveAuthTokenOptions as ef, AuthMechanism as eg, type ResolvedAuth as eh, clearTokenCache as ei, invalidateCachedToken as ej, injectCliLogin as ek, isCliLoginAvailable as el, getTokenFromCliLogin as em, resolveAuth as en, resolveAuthToken as eo, invalidateCredentialsToken as ep, type ZapierCacheEntry as eq, type ZapierCacheSetOptions as er, createMemoryCache as es, type SdkEvent as et, type AuthEvent as eu, type ApiEvent as ev, type LoadingEvent as ew, type Credentials as ex, type ResolvedCredentials as ey, type CredentialsObject as ez, type CoreOptions as f, MAX_PAGE_LIMIT as f0, DEFAULT_PAGE_SIZE as f1, DEFAULT_ACTION_TIMEOUT_MS as f2, ZAPIER_MAX_NETWORK_RETRIES as f3, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS as f4, MAX_CONCURRENCY_LIMIT as f5, parseConcurrencyEnvVar as f6, ZAPIER_MAX_CONCURRENT_REQUESTS as f7, getZapierApprovalMode as f8, getZapierOpenAutoModeApprovalsInBrowser as f9, type MethodCalledEventData as fA, buildApplicationLifecycleEvent as fB, buildErrorEventWithContext as fC, buildErrorEvent as fD, createBaseEvent as fE, buildMethodCalledEvent as fF, type BaseEvent as fG, type MethodCalledEvent as fH, generateEventId as fI, getCurrentTimestamp as fJ, getReleaseId as fK, getOsInfo as fL, getPlatformVersions as fM, isCi as fN, getCiPlatform as fO, getMemoryUsage as fP, getCpuTime as fQ, getTtyContext as fR, createZapierSdk as fS, type ZapierSdkOptions as fT, type ZapierSdk as fU, getZapierDefaultApprovalMode as fa, DEFAULT_APPROVAL_TIMEOUT_MS as fb, DEFAULT_MAX_APPROVAL_RETRIES as fc, listTablesPlugin as fd, getTablePlugin as fe, createTablePlugin as ff, deleteTablePlugin as fg, listTableFieldsPlugin as fh, createTableFieldsPlugin as fi, deleteTableFieldsPlugin as fj, getTableRecordPlugin as fk, listTableRecordsPlugin as fl, createTableRecordsPlugin as fm, deleteTableRecordsPlugin as fn, updateTableRecordsPlugin as fo, cleanupEventListeners as fp, type EventEmissionContext as fq, type EventEmitter as fr, EVENT_EMISSION_ID as fs, eventEmissionPluginRef as ft, eventEmissionPlugin as fu, eventEmissionHookPlugin as fv, type EventTransport as fw, type EventContext as fx, type ApplicationLifecycleEventData as fy, type EnhancedErrorEventData as fz, type ActionProxy as g, type ZapierSdkApps as h, type DrainTriggerInboxOptions as i, type Manifest as j, type EventEmissionConfig as k, type ZapierCache as l, type ListActionsOptions as m, type ListActionInputFieldsOptions as n, type ListActionInputFieldChoicesOptions as o, type PluginMeta as p, DrainTriggerInboxSchema as q, WatchTriggerInboxSchema as r, ZapierAbortDrainSignal as s, ZapierReleaseTriggerMessageSignal as t, type DrainTriggerInboxCallback as u, type DrainTriggerInboxErrorObserver as v, type LeasedTriggerMessageItem as w, type TriggerMessageStatus as x, type ListAuthenticationsPluginProvides as y, type GetAuthenticationPluginProvides as z };
13779
+ export { type NeedsRequest as $, type AggregatePlugin as A, type BaseSdkOptions as B, type ConnectionsProvider as C, type DeleteTriggerInboxResult as D, type EventCallback as E, type FieldsetItem as F, type GetActionInputFieldsSchemaOptions as G, type ListAuthenticationsPluginProvides as H, type GetAuthenticationPluginProvides as I, type FindFirstAuthenticationPluginProvides as J, type FindUniqueAuthenticationPluginProvides as K, type LeafSummary as L, type MethodPlugin as M, type Action as N, type App as O, type PropertyPlugin as P, type Need as Q, type RegistryResult as R, type SdkContext as S, type TriggerInboxCommandSharedFields as T, type Field as U, type Choice as V, type WatchTriggerInboxOptions as W, type ActionExecutionResult as X, type ActionField as Y, type ZapierFetchInitOptions as Z, type ActionFieldChoice as _, type ApiClient as a, toTitleCase as a$, type NeedsResponse as a0, type Connection as a1, type ConnectionsResponse as a2, type UserProfile as a3, isPositional as a4, type PositionalMetadata as a5, createFunction as a6, createPaginatedFunction as a7, createPluginStack as a8, createCorePlugin as a9, type Formatter as aA, type OutputFormatter as aB, type Resolver$1 as aC, type ArrayResolver$1 as aD, type ResolverMetadata as aE, type StaticResolver$1 as aF, type DynamicResolver$1 as aG, type DynamicListResolver as aH, type DynamicSearchResolver as aI, type FieldsResolver as aJ, type Resolver as aK, type DynamicMember as aL, type PluginSurface as aM, createController as aN, type ControllerQuestion as aO, type ControllerAction as aP, type ControllerAnswerFn as aQ, type ControllerChoice as aR, type ControllerMethodSummary as aS, type ControllerMethodDescription as aT, type ControllerParameterDescription as aU, runInMethodScope as aV, runWithTelemetryContext as aW, getCallerContext as aX, runWithCallerContext as aY, type CallerContext as aZ, toSnakeCase as a_, addPlugin as aa, disposeSdk as ab, CoreDisposeError as ac, createSdk as ad, CONTEXT as ae, resolvePlugin as af, fromFunctionPlugin as ag, defineLegacyMerge as ah, getContext as ai, declarePlugin as aj, defineMethod as ak, defineMethodOverride as al, defineProperty as am, defineResolver as an, defineFormatter as ao, declareMethod as ap, declareProperty as aq, declareOptionalProperty as ar, selectExports as as, omitExports as at, getRegistryPlugin as au, zapierSdkPlugin as av, SDK_OPTIONS_ID as aw, sdkOptionsPluginRef as ax, type FormattedItem as ay, type BoundFormatter as az, type PluginSummary as b, LimitPropertySchema as b$, batch as b0, type BatchOptions as b1, buildCapabilityMessage as b2, logDeprecation as b3, resetDeprecationWarnings as b4, RelayRequestSchema as b5, RelayFetchSchema as b6, createZapierSdkWithoutRegistry as b7, zapierCoreOptions as b8, CORE_OPTIONS_ID as b9, type PollOptions as bA, createZapierApi as bB, getOrCreateApiClient as bC, isPermanentHttpError as bD, type SseMessage as bE, type JsonSseMessage as bF, DEPRECATION_NOTICE_EVENT as bG, type DeprecationNoticePayload as bH, type AppItem as bI, type ConnectionItem as bJ, type ActionItem$1 as bK, type InputFieldItem as bL, type InfoFieldItem as bM, type RootFieldItem as bN, type UserProfileItem as bO, type SdkPage as bP, type PaginatedSdkFunction as bQ, AppKeyPropertySchema as bR, AppPropertySchema as bS, ActionTypePropertySchema as bT, ActionKeyPropertySchema as bU, ActionPropertySchema as bV, InputFieldPropertySchema as bW, ConnectionIdPropertySchema as bX, AuthenticationIdPropertySchema as bY, ConnectionPropertySchema as bZ, InputsPropertySchema as b_, type FunctionRegistryEntry as ba, type FunctionDeprecation as bb, BaseSdkOptionsSchema as bc, isCoreError as bd, getCoreErrorCode as be, getCoreErrorCause as bf, CORE_ERROR_SYMBOL as bg, CoreErrorCode as bh, CoreSignal as bi, CoreCancelledSignal as bj, isCoreSignal as bk, isCoreCancelledSignal as bl, CORE_SIGNAL_SYMBOL as bm, type Plugin as bn, type PluginProvides as bo, type MethodOverridePlugin as bp, definePlugin as bq, createPluginMethod as br, createPaginatedPluginMethod as bs, composePlugins as bt, type ActionItem as bu, type ActionTypeItem as bv, type ResolvedAppLocator as bw, getAgent as bx, registryPlugin as by, type RequestOptions as bz, type PaginatedSdkResult as c, ZapierRateLimitError as c$, OffsetPropertySchema as c0, OutputPropertySchema as c1, DebugPropertySchema as c2, ParamsPropertySchema as c3, ActionTimeoutMsPropertySchema as c4, TablePropertySchema as c5, RecordPropertySchema as c6, RecordsPropertySchema as c7, FieldsPropertySchema as c8, AppsPropertySchema as c9, type RecordsProperty as cA, type FieldsProperty as cB, type AppsProperty as cC, type TablesProperty as cD, type ConnectionsProperty as cE, type TriggerInboxProperty as cF, type TriggerInboxKeyProperty as cG, type TriggerInboxNameProperty as cH, type LeaseProperty as cI, type LeaseSecondsProperty as cJ, type LeaseLimitProperty as cK, type ErrorOptions as cL, ZapierError as cM, ZapierValidationError as cN, ZapierUnknownError as cO, ZapierAuthenticationError as cP, zapierAdaptError as cQ, ZapierApiError as cR, ZapierAppNotFoundError as cS, ZapierNotFoundError as cT, ZapierResourceNotFoundError as cU, ZapierConfigurationError as cV, ZapierBundleError as cW, ZapierTimeoutError as cX, ZapierActionError as cY, ZapierConflictError as cZ, type RateLimitInfo as c_, TablesPropertySchema as ca, ConnectionsPropertySchema as cb, TriggerInboxPropertySchema as cc, TriggerInboxKeyPropertySchema as cd, TriggerInboxNamePropertySchema as ce, LeasePropertySchema as cf, LeaseSecondsPropertySchema as cg, LeaseLimitPropertySchema as ch, type AppKeyProperty as ci, type AppProperty as cj, type ActionTypeProperty as ck, type ActionKeyProperty as cl, type ActionProperty as cm, type InputFieldProperty as cn, type ConnectionIdProperty as co, type ConnectionProperty as cp, type AuthenticationIdProperty as cq, type InputsProperty as cr, type LimitProperty as cs, type OffsetProperty as ct, type OutputProperty as cu, type DebugProperty as cv, type ParamsProperty as cw, type ActionTimeoutMsProperty as cx, type TableProperty as cy, type RecordProperty as cz, type ManifestProvider as d, API_ID as d$, type ApprovalStatus as d0, ZapierApprovalError as d1, ZapierRelayError as d2, isZapierError as d3, isZapierValidationError as d4, isZapierAuthenticationError as d5, isZapierAppNotFoundError as d6, isZapierNotFoundError as d7, isZapierResourceNotFoundError as d8, isZapierConflictError as d9, createClientCredentialsPlugin as dA, deleteClientCredentialsPlugin as dB, getAppPlugin as dC, getActionPlugin as dD, getConnectionPlugin as dE, findFirstConnectionPlugin as dF, findUniqueConnectionPlugin as dG, CONTEXT_CACHE_TTL_MS as dH, CONTEXT_CACHE_MAX_SIZE as dI, runActionPlugin as dJ, type RunActionPluginProvides as dK, requestPlugin as dL, type ManifestPluginOptions as dM, readManifestFromFile as dN, getPreferredManifestEntryKey as dO, findManifestEntry as dP, MANIFEST_ID as dQ, manifestPluginRef as dR, manifestPlugin as dS, type UpdateManifestEntryOptions as dT, type UpdateManifestEntryResult as dU, DEFAULT_CONFIG_PATH as dV, type ManifestEntry as dW, type ActionEntry as dX, getProfilePlugin as dY, type ApiPluginOptions as dZ, type ResolveCredentialsFn as d_, isZapierTimeoutError as da, isZapierBundleError as db, isZapierActionError as dc, isZapierRateLimitError as dd, isZapierApprovalError as de, formatErrorMessage as df, type CoreApiError as dg, ZapierSignal as dh, isZapierSignal as di, appsPlugin as dj, type ActionExecutionOptions as dk, type AppFactoryInput as dl, type FetchPluginProvides as dm, fetchPlugin as dn, listAppsPlugin as dp, type ListAppsPluginProvides as dq, listActionsPlugin as dr, type ListActionsPluginProvides as ds, listActionInputFieldsPlugin as dt, type ListActionInputFieldsPluginProvides as du, listActionInputFieldChoicesPlugin as dv, getActionInputFieldsSchemaPlugin as dw, listConnectionsPlugin as dx, type ListConnectionsPluginProvides as dy, listClientCredentialsPlugin as dz, type CapabilitiesContext as e, ClientCredentialsObjectSchema as e$, apiPluginRef as e0, apiPlugin as e1, RESOLVE_CREDENTIALS_ID as e2, resolveCredentialsPluginRef as e3, resolveCredentialsPlugin as e4, appKeyResolver as e5, actionTypeResolver as e6, actionKeyResolver as e7, connectionIdResolver as e8, connectionIdGenericResolver as e9, injectCliLogin as eA, isCliLoginAvailable as eB, getTokenFromCliLogin as eC, resolveAuth as eD, resolveAuthToken as eE, invalidateCredentialsToken as eF, type ZapierCacheEntry as eG, type ZapierCacheSetOptions as eH, createMemoryCache as eI, type SdkEvent as eJ, type AuthEvent as eK, type ApiEvent as eL, type LoadingEvent as eM, type Credentials as eN, type ResolvedCredentials as eO, type CredentialsObject as eP, type ClientCredentialsObject as eQ, type PkceCredentialsObject as eR, isClientCredentials as eS, isPkceCredentials as eT, isCredentialsObject as eU, isCredentialsFunction as eV, type ResolveCredentialsOptions as eW, resolveCredentialsFromEnv as eX, resolveCredentials as eY, getBaseUrlFromCredentials as eZ, getClientIdFromCredentials as e_, inputsResolver as ea, inputsAllOptionalResolver as eb, inputFieldKeyResolver as ec, clientCredentialsNameResolver as ed, clientIdResolver as ee, tableIdResolver as ef, triggerInboxResolver as eg, workflowIdResolver as eh, durableRunIdResolver as ei, workflowVersionIdResolver as ej, workflowRunIdResolver as ek, triggerMessagesResolver as el, tableRecordIdResolver as em, tableRecordIdsResolver as en, tableFieldIdsResolver as eo, tableNameResolver as ep, tableFieldsResolver as eq, tableRecordsResolver as er, tableUpdateRecordsResolver as es, tableFiltersResolver as et, tableSortResolver as eu, type ResolveAuthTokenOptions as ev, AuthMechanism as ew, type ResolvedAuth as ex, clearTokenCache as ey, invalidateCachedToken as ez, type CoreOptions as f, getOsInfo as f$, PkceCredentialsObjectSchema as f0, CredentialsObjectSchema as f1, ResolvedCredentialsSchema as f2, CredentialsFunctionSchema as f3, type CredentialsFunction as f4, CredentialsSchema as f5, ConnectionEntrySchema as f6, type ConnectionEntry as f7, ConnectionsMapSchema as f8, type ConnectionsMap as f9, getTableRecordPlugin as fA, listTableRecordsPlugin as fB, createTableRecordsPlugin as fC, deleteTableRecordsPlugin as fD, updateTableRecordsPlugin as fE, cleanupEventListeners as fF, type EventEmissionContext as fG, type EventEmitter as fH, EVENT_EMISSION_ID as fI, eventEmissionPluginRef as fJ, eventEmissionPlugin as fK, eventEmissionHookPlugin as fL, type EventTransport as fM, type EventContext as fN, type ApplicationLifecycleEventData as fO, type EnhancedErrorEventData as fP, type MethodCalledEventData as fQ, buildApplicationLifecycleEvent as fR, buildErrorEventWithContext as fS, buildErrorEvent as fT, createBaseEvent as fU, buildMethodCalledEvent as fV, type BaseEvent as fW, type MethodCalledEvent as fX, generateEventId as fY, getCurrentTimestamp as fZ, getReleaseId as f_, type ResolveConnection as fa, CONNECTIONS_ID as fb, connectionsPluginRef as fc, connectionsPlugin as fd, ZAPIER_BASE_URL as fe, getZapierSdkService as ff, MAX_PAGE_LIMIT as fg, DEFAULT_PAGE_SIZE as fh, DEFAULT_ACTION_TIMEOUT_MS as fi, ZAPIER_MAX_NETWORK_RETRIES as fj, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS as fk, MAX_CONCURRENCY_LIMIT as fl, parseConcurrencyEnvVar as fm, ZAPIER_MAX_CONCURRENT_REQUESTS as fn, getZapierApprovalMode as fo, getZapierOpenAutoModeApprovalsInBrowser as fp, getZapierDefaultApprovalMode as fq, DEFAULT_APPROVAL_TIMEOUT_MS as fr, DEFAULT_MAX_APPROVAL_RETRIES as fs, listTablesPlugin as ft, getTablePlugin as fu, createTablePlugin as fv, deleteTablePlugin as fw, listTableFieldsPlugin as fx, createTableFieldsPlugin as fy, deleteTableFieldsPlugin as fz, type ActionProxy as g, getPlatformVersions as g0, isCi as g1, getCiPlatform as g2, getMemoryUsage as g3, getCpuTime as g4, getTtyContext as g5, createZapierSdk as g6, type ZapierSdkOptions as g7, type ZapierSdk as g8, type ZapierSdkApps as h, type DrainTriggerInboxOptions as i, type Manifest as j, type EventEmissionConfig as k, type ZapierCache as l, type ListActionsOptions as m, type ListActionInputFieldsOptions as n, type ListActionInputFieldChoicesOptions as o, type PluginMeta as p, DrainTriggerInboxSchema as q, WatchTriggerInboxSchema as r, ZapierAbortDrainSignal as s, ZapierReleaseTriggerMessageSignal as t, isZapierAbortDrainSignal as u, isZapierReleaseTriggerMessageSignal as v, type DrainTriggerInboxCallback as w, type DrainTriggerInboxErrorObserver as x, type LeasedTriggerMessageItem as y, type TriggerMessageStatus as z };
@@ -1,6 +1,6 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
- import { ConnectionSchema, ConnectionsResponseSchema, GetConnectionResponse } from '@zapier/zapier-sdk-core/v0/schemas/connections';
3
+ import { ConnectionItemSchema, ConnectionSchema, ConnectionsResponseSchema, GetConnectionResponse } from '@zapier/zapier-sdk-core/v0/schemas/connections';
4
4
  import { RequestContext } from '@zapier/policy-context';
5
5
  import * as zod_v4_core from 'zod/v4/core';
6
6
 
@@ -58,37 +58,6 @@ declare const AppItemSchema: z.ZodObject<{
58
58
  version: z.ZodOptional<z.ZodString>;
59
59
  }, z.core.$strip>;
60
60
 
61
- declare const ConnectionItemSchema: z.ZodObject<{
62
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- date: z.ZodString;
64
- is_invite_only: z.ZodBoolean;
65
- slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
- lastchanged: z.ZodOptional<z.ZodString>;
67
- destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
- is_private: z.ZodBoolean;
69
- shared_with_all: z.ZodBoolean;
70
- is_stale: z.ZodOptional<z.ZodString>;
71
- is_shared: z.ZodOptional<z.ZodString>;
72
- marked_stale_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
- label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
- identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
- url: z.ZodOptional<z.ZodString>;
76
- groups: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
77
- members: z.ZodOptional<z.ZodString>;
78
- permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
79
- public_id: z.ZodOptional<z.ZodString>;
80
- account_public_id: z.ZodOptional<z.ZodString>;
81
- customuser_public_id: z.ZodOptional<z.ZodString>;
82
- id: z.ZodString;
83
- account_id: z.ZodString;
84
- implementation_id: z.ZodOptional<z.ZodString>;
85
- profile_id: z.ZodOptional<z.ZodString>;
86
- is_expired: z.ZodOptional<z.ZodString>;
87
- expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
- app_key: z.ZodOptional<z.ZodString>;
89
- app_version: z.ZodOptional<z.ZodString>;
90
- }, z.core.$strip>;
91
-
92
61
  declare const ActionItemSchema: z.ZodObject<{
93
62
  description: z.ZodString;
94
63
  is_hidden: z.ZodOptional<z.ZodBoolean>;
@@ -3442,7 +3411,7 @@ declare abstract class CoreSignal extends Error {
3442
3411
  * control-flow throw), as opposed to a real error. Survives the
3443
3412
  * bundled/standalone kitcore split, where `instanceof CoreSignal` may not.
3444
3413
  */
3445
- declare function isCoreSignal(value: unknown): boolean;
3414
+ declare function isCoreSignal(value: unknown): value is CoreSignal;
3446
3415
  /**
3447
3416
  * Thrown by `Controller.resolve` when the host cancels resolution (the answer
3448
3417
  * callback returned `{ type: "cancel" }`). The lower-level `start`/`step`
@@ -3455,6 +3424,13 @@ declare class CoreCancelledSignal extends CoreSignal {
3455
3424
  readonly code: "CANCELLED";
3456
3425
  constructor(message?: string);
3457
3426
  }
3427
+ /**
3428
+ * Cross-package-safe check for {@link CoreCancelledSignal}. Keys on the
3429
+ * signal brand + `code` rather than `instanceof`, so it recognizes a
3430
+ * cancel signal raised by a different copy of kitcore (e.g. one bundled
3431
+ * into a head vs. one installed standalone).
3432
+ */
3433
+ declare function isCoreCancelledSignal(value: unknown): value is CoreCancelledSignal;
3458
3434
 
3459
3435
  declare const AppKeyPropertySchema: z.ZodString & {
3460
3436
  _def: z.core.$ZodStringDef & PositionalMetadata;
@@ -3556,7 +3532,6 @@ interface ErrorOptions {
3556
3532
  * the existing `Zapier*` / `ZAPIER_*` convention.
3557
3533
  */
3558
3534
  declare class ZapierError extends Error {
3559
- readonly [CORE_ERROR_SYMBOL] = true;
3560
3535
  readonly name: string;
3561
3536
  readonly code: string;
3562
3537
  statusCode?: number;
@@ -3632,8 +3607,8 @@ declare class ZapierNotFoundError extends ZapierError {
3632
3607
  /**
3633
3608
  * Error thrown when a requested resource is not found and the caller
3634
3609
  * provided a `resource` hint on the request, populating `resourceType`
3635
- * and (optionally) `resourceId`. Subclass of `ZapierNotFoundError` so
3636
- * `instanceof ZapierNotFoundError` checks continue to work.
3610
+ * and (optionally) `resourceId`. Subclass of `ZapierNotFoundError`, so it
3611
+ * inherits the not-found brand and `isZapierNotFoundError` matches it.
3637
3612
  */
3638
3613
  declare class ZapierResourceNotFoundError extends ZapierNotFoundError {
3639
3614
  readonly name = "ZapierResourceNotFoundError";
@@ -3789,6 +3764,30 @@ declare class ZapierRelayError extends ZapierError {
3789
3764
  readonly code: "ZAPIER_RELAY_ERROR";
3790
3765
  constructor(message: string, options?: ErrorOptions);
3791
3766
  }
3767
+ /**
3768
+ * Any Zapier-thrown error (the cross-package-safe equivalent of
3769
+ * `instanceof ZapierError`). Matches every subclass — including the
3770
+ * CLI's `ZapierCliError` — since the brand is inherited.
3771
+ */
3772
+ declare function isZapierError(value: unknown): value is ZapierError;
3773
+ declare function isZapierValidationError(value: unknown): value is ZapierValidationError;
3774
+ declare function isZapierAuthenticationError(value: unknown): value is ZapierAuthenticationError;
3775
+ declare function isZapierAppNotFoundError(value: unknown): value is ZapierAppNotFoundError;
3776
+ /**
3777
+ * Matches `ZapierNotFoundError` and any subclass (e.g.
3778
+ * `ZapierResourceNotFoundError`), preserving the subclass semantics of
3779
+ * `instanceof ZapierNotFoundError`. Keys on the not-found brand inherited
3780
+ * from the base constructor, so new subclasses are matched automatically
3781
+ * with no change here.
3782
+ */
3783
+ declare function isZapierNotFoundError(value: unknown): value is ZapierNotFoundError;
3784
+ declare function isZapierResourceNotFoundError(value: unknown): value is ZapierResourceNotFoundError;
3785
+ declare function isZapierConflictError(value: unknown): value is ZapierConflictError;
3786
+ declare function isZapierTimeoutError(value: unknown): value is ZapierTimeoutError;
3787
+ declare function isZapierBundleError(value: unknown): value is ZapierBundleError;
3788
+ declare function isZapierActionError(value: unknown): value is ZapierActionError;
3789
+ declare function isZapierRateLimitError(value: unknown): value is ZapierRateLimitError;
3790
+ declare function isZapierApprovalError(value: unknown): value is ZapierApprovalError;
3792
3791
  /**
3793
3792
  * Utility function to format error messages for display
3794
3793
  */
@@ -3804,15 +3803,23 @@ declare function formatErrorMessage(error: ZapierError): string;
3804
3803
  * leave it leased.
3805
3804
  *
3806
3805
  * Distinct from `ZapierError` (failures): signals are not errors and
3807
- * shouldn't be caught by error-handling code via `instanceof
3808
- * ZapierError`. Use `instanceof ZapierSignal` to discriminate intent
3809
- * throws from real failures.
3806
+ * shouldn't be caught by error-handling code. Use `isZapierSignal` to
3807
+ * discriminate intent throws from real failures — it recognizes any
3808
+ * `Zapier*` signal via the `CORE_SIGNAL_SYMBOL` brand stamped below,
3809
+ * which survives across bundle copies where `instanceof` would not.
3810
3810
  */
3811
3811
  declare abstract class ZapierSignal extends Error {
3812
3812
  abstract readonly name: string;
3813
3813
  abstract readonly code: string;
3814
3814
  constructor(message?: string);
3815
3815
  }
3816
+ /**
3817
+ * Cross-package-safe check that `value` is a `Zapier*` (or kitcore)
3818
+ * signal. Prefer this over `instanceof ZapierSignal`, which breaks when
3819
+ * the SDK is loaded as more than one copy (index vs experimental entry,
3820
+ * `.cjs` vs `.mjs`, or two installed versions).
3821
+ */
3822
+ declare function isZapierSignal(value: unknown): value is ZapierSignal;
3816
3823
 
3817
3824
  declare const TriggerMessageStatusSchema: z.ZodUnion<readonly [z.ZodEnum<{
3818
3825
  available: "available";
@@ -3865,6 +3872,17 @@ declare class ZapierAbortDrainSignal extends ZapierSignal {
3865
3872
  readonly name = "ZapierAbortDrainSignal";
3866
3873
  readonly code: "ZAPIER_ABORT_DRAIN_SIGNAL";
3867
3874
  }
3875
+ /**
3876
+ * Cross-package-safe check for `ZapierReleaseTriggerMessageSignal`.
3877
+ * Keys on the signal brand + `code` rather than `instanceof`, so it
3878
+ * recognizes a signal thrown by a different copy of the SDK.
3879
+ */
3880
+ declare function isZapierReleaseTriggerMessageSignal(value: unknown): value is ZapierReleaseTriggerMessageSignal;
3881
+ /**
3882
+ * Cross-package-safe check for `ZapierAbortDrainSignal`. See
3883
+ * `isZapierReleaseTriggerMessageSignal` for why this beats `instanceof`.
3884
+ */
3885
+ declare function isZapierAbortDrainSignal(value: unknown): value is ZapierAbortDrainSignal;
3868
3886
  /**
3869
3887
  * Per-message handler. Resolves to ack the message; rejects to
3870
3888
  * release-or-leave per `releaseOnError`. Throw a
@@ -13758,4 +13776,4 @@ declare function getAgent(): string | null;
13758
13776
  */
13759
13777
  declare const registryPlugin: (_sdk: {}) => {};
13760
13778
 
13761
- export { type Connection as $, type AggregatePlugin as A, type BaseSdkOptions as B, type ConnectionsProvider as C, type DeleteTriggerInboxResult as D, type EventCallback as E, type FieldsetItem as F, type GetActionInputFieldsSchemaOptions as G, type FindFirstAuthenticationPluginProvides as H, type FindUniqueAuthenticationPluginProvides as I, type Action as J, type App as K, type LeafSummary as L, type MethodPlugin as M, type Need as N, type Field as O, type PropertyPlugin as P, type Choice as Q, type RegistryResult as R, type SdkContext as S, type TriggerInboxCommandSharedFields as T, type ActionExecutionResult as U, type ActionField as V, type WatchTriggerInboxOptions as W, type ActionFieldChoice as X, type NeedsRequest as Y, type ZapierFetchInitOptions as Z, type NeedsResponse as _, type ApiClient as a, type BatchOptions as a$, type ConnectionsResponse as a0, type UserProfile as a1, isPositional as a2, type PositionalMetadata as a3, createFunction as a4, createPaginatedFunction as a5, createPluginStack as a6, createCorePlugin as a7, addPlugin as a8, disposeSdk as a9, type Resolver$1 as aA, type ArrayResolver$1 as aB, type ResolverMetadata as aC, type StaticResolver$1 as aD, type DynamicResolver$1 as aE, type DynamicListResolver as aF, type DynamicSearchResolver as aG, type FieldsResolver as aH, type Resolver as aI, type DynamicMember as aJ, type PluginSurface as aK, createController as aL, type ControllerQuestion as aM, type ControllerAction as aN, type ControllerAnswerFn as aO, type ControllerChoice as aP, type ControllerMethodSummary as aQ, type ControllerMethodDescription as aR, type ControllerParameterDescription as aS, runInMethodScope as aT, runWithTelemetryContext as aU, getCallerContext as aV, runWithCallerContext as aW, type CallerContext as aX, toSnakeCase as aY, toTitleCase as aZ, batch as a_, CoreDisposeError as aa, createSdk as ab, CONTEXT as ac, resolvePlugin as ad, fromFunctionPlugin as ae, defineLegacyMerge as af, getContext as ag, declarePlugin as ah, defineMethod as ai, defineMethodOverride as aj, defineProperty as ak, defineResolver as al, defineFormatter as am, declareMethod as an, declareProperty as ao, declareOptionalProperty as ap, selectExports as aq, omitExports as ar, getRegistryPlugin as as, zapierSdkPlugin as at, SDK_OPTIONS_ID as au, sdkOptionsPluginRef as av, type FormattedItem as aw, type BoundFormatter as ax, type Formatter as ay, type OutputFormatter as az, type PluginSummary as b, DebugPropertySchema as b$, buildCapabilityMessage as b0, logDeprecation as b1, resetDeprecationWarnings as b2, RelayRequestSchema as b3, RelayFetchSchema as b4, createZapierSdkWithoutRegistry as b5, zapierCoreOptions as b6, CORE_OPTIONS_ID as b7, type FunctionRegistryEntry as b8, type FunctionDeprecation as b9, isPermanentHttpError as bA, type SseMessage as bB, type JsonSseMessage as bC, DEPRECATION_NOTICE_EVENT as bD, type DeprecationNoticePayload as bE, type AppItem as bF, type ConnectionItem as bG, type ActionItem$1 as bH, type InputFieldItem as bI, type InfoFieldItem as bJ, type RootFieldItem as bK, type UserProfileItem as bL, type SdkPage as bM, type PaginatedSdkFunction as bN, AppKeyPropertySchema as bO, AppPropertySchema as bP, ActionTypePropertySchema as bQ, ActionKeyPropertySchema as bR, ActionPropertySchema as bS, InputFieldPropertySchema as bT, ConnectionIdPropertySchema as bU, AuthenticationIdPropertySchema as bV, ConnectionPropertySchema as bW, InputsPropertySchema as bX, LimitPropertySchema as bY, OffsetPropertySchema as bZ, OutputPropertySchema as b_, BaseSdkOptionsSchema as ba, isCoreError as bb, getCoreErrorCode as bc, getCoreErrorCause as bd, CORE_ERROR_SYMBOL as be, CoreErrorCode as bf, CoreSignal as bg, CoreCancelledSignal as bh, isCoreSignal as bi, CORE_SIGNAL_SYMBOL as bj, type Plugin as bk, type PluginProvides as bl, type MethodOverridePlugin as bm, definePlugin as bn, createPluginMethod as bo, createPaginatedPluginMethod as bp, composePlugins as bq, type ActionItem as br, type ActionTypeItem as bs, type ResolvedAppLocator as bt, getAgent as bu, registryPlugin as bv, type RequestOptions as bw, type PollOptions as bx, createZapierApi as by, getOrCreateApiClient as bz, type PaginatedSdkResult as c, ZapierRelayError as c$, ParamsPropertySchema as c0, ActionTimeoutMsPropertySchema as c1, TablePropertySchema as c2, RecordPropertySchema as c3, RecordsPropertySchema as c4, FieldsPropertySchema as c5, AppsPropertySchema as c6, TablesPropertySchema as c7, ConnectionsPropertySchema as c8, TriggerInboxPropertySchema as c9, type TablesProperty as cA, type ConnectionsProperty as cB, type TriggerInboxProperty as cC, type TriggerInboxKeyProperty as cD, type TriggerInboxNameProperty as cE, type LeaseProperty as cF, type LeaseSecondsProperty as cG, type LeaseLimitProperty as cH, type ErrorOptions as cI, ZapierError as cJ, ZapierValidationError as cK, ZapierUnknownError as cL, ZapierAuthenticationError as cM, zapierAdaptError as cN, ZapierApiError as cO, ZapierAppNotFoundError as cP, ZapierNotFoundError as cQ, ZapierResourceNotFoundError as cR, ZapierConfigurationError as cS, ZapierBundleError as cT, ZapierTimeoutError as cU, ZapierActionError as cV, ZapierConflictError as cW, type RateLimitInfo as cX, ZapierRateLimitError as cY, type ApprovalStatus as cZ, ZapierApprovalError as c_, TriggerInboxKeyPropertySchema as ca, TriggerInboxNamePropertySchema as cb, LeasePropertySchema as cc, LeaseSecondsPropertySchema as cd, LeaseLimitPropertySchema as ce, type AppKeyProperty as cf, type AppProperty as cg, type ActionTypeProperty as ch, type ActionKeyProperty as ci, type ActionProperty as cj, type InputFieldProperty as ck, type ConnectionIdProperty as cl, type ConnectionProperty as cm, type AuthenticationIdProperty as cn, type InputsProperty as co, type LimitProperty as cp, type OffsetProperty as cq, type OutputProperty as cr, type DebugProperty as cs, type ParamsProperty as ct, type ActionTimeoutMsProperty as cu, type TableProperty as cv, type RecordProperty as cw, type RecordsProperty as cx, type FieldsProperty as cy, type AppsProperty as cz, type ManifestProvider as d, tableIdResolver as d$, formatErrorMessage as d0, type CoreApiError as d1, ZapierSignal as d2, appsPlugin as d3, type ActionExecutionOptions as d4, type AppFactoryInput as d5, type FetchPluginProvides as d6, fetchPlugin as d7, listAppsPlugin as d8, type ListAppsPluginProvides as d9, MANIFEST_ID as dA, manifestPluginRef as dB, manifestPlugin as dC, type UpdateManifestEntryOptions as dD, type UpdateManifestEntryResult as dE, DEFAULT_CONFIG_PATH as dF, type ManifestEntry as dG, type ActionEntry as dH, getProfilePlugin as dI, type ApiPluginOptions as dJ, type ResolveCredentialsFn as dK, API_ID as dL, apiPluginRef as dM, apiPlugin as dN, RESOLVE_CREDENTIALS_ID as dO, resolveCredentialsPluginRef as dP, resolveCredentialsPlugin as dQ, appKeyResolver as dR, actionTypeResolver as dS, actionKeyResolver as dT, connectionIdResolver as dU, connectionIdGenericResolver as dV, inputsResolver as dW, inputsAllOptionalResolver as dX, inputFieldKeyResolver as dY, clientCredentialsNameResolver as dZ, clientIdResolver as d_, listActionsPlugin as da, type ListActionsPluginProvides as db, listActionInputFieldsPlugin as dc, type ListActionInputFieldsPluginProvides as dd, listActionInputFieldChoicesPlugin as de, getActionInputFieldsSchemaPlugin as df, listConnectionsPlugin as dg, type ListConnectionsPluginProvides as dh, listClientCredentialsPlugin as di, createClientCredentialsPlugin as dj, deleteClientCredentialsPlugin as dk, getAppPlugin as dl, getActionPlugin as dm, getConnectionPlugin as dn, findFirstConnectionPlugin as dp, findUniqueConnectionPlugin as dq, CONTEXT_CACHE_TTL_MS as dr, CONTEXT_CACHE_MAX_SIZE as ds, runActionPlugin as dt, type RunActionPluginProvides as du, requestPlugin as dv, type ManifestPluginOptions as dw, readManifestFromFile as dx, getPreferredManifestEntryKey as dy, findManifestEntry as dz, type CapabilitiesContext as e, getZapierSdkService as e$, triggerInboxResolver as e0, workflowIdResolver as e1, durableRunIdResolver as e2, workflowVersionIdResolver as e3, workflowRunIdResolver as e4, triggerMessagesResolver as e5, tableRecordIdResolver as e6, tableRecordIdsResolver as e7, tableFieldIdsResolver as e8, tableNameResolver as e9, type ClientCredentialsObject as eA, type PkceCredentialsObject as eB, isClientCredentials as eC, isPkceCredentials as eD, isCredentialsObject as eE, isCredentialsFunction as eF, type ResolveCredentialsOptions as eG, resolveCredentialsFromEnv as eH, resolveCredentials as eI, getBaseUrlFromCredentials as eJ, getClientIdFromCredentials as eK, ClientCredentialsObjectSchema as eL, PkceCredentialsObjectSchema as eM, CredentialsObjectSchema as eN, ResolvedCredentialsSchema as eO, CredentialsFunctionSchema as eP, type CredentialsFunction as eQ, CredentialsSchema as eR, ConnectionEntrySchema as eS, type ConnectionEntry as eT, ConnectionsMapSchema as eU, type ConnectionsMap as eV, type ResolveConnection as eW, CONNECTIONS_ID as eX, connectionsPluginRef as eY, connectionsPlugin as eZ, ZAPIER_BASE_URL as e_, tableFieldsResolver as ea, tableRecordsResolver as eb, tableUpdateRecordsResolver as ec, tableFiltersResolver as ed, tableSortResolver as ee, type ResolveAuthTokenOptions as ef, AuthMechanism as eg, type ResolvedAuth as eh, clearTokenCache as ei, invalidateCachedToken as ej, injectCliLogin as ek, isCliLoginAvailable as el, getTokenFromCliLogin as em, resolveAuth as en, resolveAuthToken as eo, invalidateCredentialsToken as ep, type ZapierCacheEntry as eq, type ZapierCacheSetOptions as er, createMemoryCache as es, type SdkEvent as et, type AuthEvent as eu, type ApiEvent as ev, type LoadingEvent as ew, type Credentials as ex, type ResolvedCredentials as ey, type CredentialsObject as ez, type CoreOptions as f, MAX_PAGE_LIMIT as f0, DEFAULT_PAGE_SIZE as f1, DEFAULT_ACTION_TIMEOUT_MS as f2, ZAPIER_MAX_NETWORK_RETRIES as f3, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS as f4, MAX_CONCURRENCY_LIMIT as f5, parseConcurrencyEnvVar as f6, ZAPIER_MAX_CONCURRENT_REQUESTS as f7, getZapierApprovalMode as f8, getZapierOpenAutoModeApprovalsInBrowser as f9, type MethodCalledEventData as fA, buildApplicationLifecycleEvent as fB, buildErrorEventWithContext as fC, buildErrorEvent as fD, createBaseEvent as fE, buildMethodCalledEvent as fF, type BaseEvent as fG, type MethodCalledEvent as fH, generateEventId as fI, getCurrentTimestamp as fJ, getReleaseId as fK, getOsInfo as fL, getPlatformVersions as fM, isCi as fN, getCiPlatform as fO, getMemoryUsage as fP, getCpuTime as fQ, getTtyContext as fR, createZapierSdk as fS, type ZapierSdkOptions as fT, type ZapierSdk as fU, getZapierDefaultApprovalMode as fa, DEFAULT_APPROVAL_TIMEOUT_MS as fb, DEFAULT_MAX_APPROVAL_RETRIES as fc, listTablesPlugin as fd, getTablePlugin as fe, createTablePlugin as ff, deleteTablePlugin as fg, listTableFieldsPlugin as fh, createTableFieldsPlugin as fi, deleteTableFieldsPlugin as fj, getTableRecordPlugin as fk, listTableRecordsPlugin as fl, createTableRecordsPlugin as fm, deleteTableRecordsPlugin as fn, updateTableRecordsPlugin as fo, cleanupEventListeners as fp, type EventEmissionContext as fq, type EventEmitter as fr, EVENT_EMISSION_ID as fs, eventEmissionPluginRef as ft, eventEmissionPlugin as fu, eventEmissionHookPlugin as fv, type EventTransport as fw, type EventContext as fx, type ApplicationLifecycleEventData as fy, type EnhancedErrorEventData as fz, type ActionProxy as g, type ZapierSdkApps as h, type DrainTriggerInboxOptions as i, type Manifest as j, type EventEmissionConfig as k, type ZapierCache as l, type ListActionsOptions as m, type ListActionInputFieldsOptions as n, type ListActionInputFieldChoicesOptions as o, type PluginMeta as p, DrainTriggerInboxSchema as q, WatchTriggerInboxSchema as r, ZapierAbortDrainSignal as s, ZapierReleaseTriggerMessageSignal as t, type DrainTriggerInboxCallback as u, type DrainTriggerInboxErrorObserver as v, type LeasedTriggerMessageItem as w, type TriggerMessageStatus as x, type ListAuthenticationsPluginProvides as y, type GetAuthenticationPluginProvides as z };
13779
+ export { type NeedsRequest as $, type AggregatePlugin as A, type BaseSdkOptions as B, type ConnectionsProvider as C, type DeleteTriggerInboxResult as D, type EventCallback as E, type FieldsetItem as F, type GetActionInputFieldsSchemaOptions as G, type ListAuthenticationsPluginProvides as H, type GetAuthenticationPluginProvides as I, type FindFirstAuthenticationPluginProvides as J, type FindUniqueAuthenticationPluginProvides as K, type LeafSummary as L, type MethodPlugin as M, type Action as N, type App as O, type PropertyPlugin as P, type Need as Q, type RegistryResult as R, type SdkContext as S, type TriggerInboxCommandSharedFields as T, type Field as U, type Choice as V, type WatchTriggerInboxOptions as W, type ActionExecutionResult as X, type ActionField as Y, type ZapierFetchInitOptions as Z, type ActionFieldChoice as _, type ApiClient as a, toTitleCase as a$, type NeedsResponse as a0, type Connection as a1, type ConnectionsResponse as a2, type UserProfile as a3, isPositional as a4, type PositionalMetadata as a5, createFunction as a6, createPaginatedFunction as a7, createPluginStack as a8, createCorePlugin as a9, type Formatter as aA, type OutputFormatter as aB, type Resolver$1 as aC, type ArrayResolver$1 as aD, type ResolverMetadata as aE, type StaticResolver$1 as aF, type DynamicResolver$1 as aG, type DynamicListResolver as aH, type DynamicSearchResolver as aI, type FieldsResolver as aJ, type Resolver as aK, type DynamicMember as aL, type PluginSurface as aM, createController as aN, type ControllerQuestion as aO, type ControllerAction as aP, type ControllerAnswerFn as aQ, type ControllerChoice as aR, type ControllerMethodSummary as aS, type ControllerMethodDescription as aT, type ControllerParameterDescription as aU, runInMethodScope as aV, runWithTelemetryContext as aW, getCallerContext as aX, runWithCallerContext as aY, type CallerContext as aZ, toSnakeCase as a_, addPlugin as aa, disposeSdk as ab, CoreDisposeError as ac, createSdk as ad, CONTEXT as ae, resolvePlugin as af, fromFunctionPlugin as ag, defineLegacyMerge as ah, getContext as ai, declarePlugin as aj, defineMethod as ak, defineMethodOverride as al, defineProperty as am, defineResolver as an, defineFormatter as ao, declareMethod as ap, declareProperty as aq, declareOptionalProperty as ar, selectExports as as, omitExports as at, getRegistryPlugin as au, zapierSdkPlugin as av, SDK_OPTIONS_ID as aw, sdkOptionsPluginRef as ax, type FormattedItem as ay, type BoundFormatter as az, type PluginSummary as b, LimitPropertySchema as b$, batch as b0, type BatchOptions as b1, buildCapabilityMessage as b2, logDeprecation as b3, resetDeprecationWarnings as b4, RelayRequestSchema as b5, RelayFetchSchema as b6, createZapierSdkWithoutRegistry as b7, zapierCoreOptions as b8, CORE_OPTIONS_ID as b9, type PollOptions as bA, createZapierApi as bB, getOrCreateApiClient as bC, isPermanentHttpError as bD, type SseMessage as bE, type JsonSseMessage as bF, DEPRECATION_NOTICE_EVENT as bG, type DeprecationNoticePayload as bH, type AppItem as bI, type ConnectionItem as bJ, type ActionItem$1 as bK, type InputFieldItem as bL, type InfoFieldItem as bM, type RootFieldItem as bN, type UserProfileItem as bO, type SdkPage as bP, type PaginatedSdkFunction as bQ, AppKeyPropertySchema as bR, AppPropertySchema as bS, ActionTypePropertySchema as bT, ActionKeyPropertySchema as bU, ActionPropertySchema as bV, InputFieldPropertySchema as bW, ConnectionIdPropertySchema as bX, AuthenticationIdPropertySchema as bY, ConnectionPropertySchema as bZ, InputsPropertySchema as b_, type FunctionRegistryEntry as ba, type FunctionDeprecation as bb, BaseSdkOptionsSchema as bc, isCoreError as bd, getCoreErrorCode as be, getCoreErrorCause as bf, CORE_ERROR_SYMBOL as bg, CoreErrorCode as bh, CoreSignal as bi, CoreCancelledSignal as bj, isCoreSignal as bk, isCoreCancelledSignal as bl, CORE_SIGNAL_SYMBOL as bm, type Plugin as bn, type PluginProvides as bo, type MethodOverridePlugin as bp, definePlugin as bq, createPluginMethod as br, createPaginatedPluginMethod as bs, composePlugins as bt, type ActionItem as bu, type ActionTypeItem as bv, type ResolvedAppLocator as bw, getAgent as bx, registryPlugin as by, type RequestOptions as bz, type PaginatedSdkResult as c, ZapierRateLimitError as c$, OffsetPropertySchema as c0, OutputPropertySchema as c1, DebugPropertySchema as c2, ParamsPropertySchema as c3, ActionTimeoutMsPropertySchema as c4, TablePropertySchema as c5, RecordPropertySchema as c6, RecordsPropertySchema as c7, FieldsPropertySchema as c8, AppsPropertySchema as c9, type RecordsProperty as cA, type FieldsProperty as cB, type AppsProperty as cC, type TablesProperty as cD, type ConnectionsProperty as cE, type TriggerInboxProperty as cF, type TriggerInboxKeyProperty as cG, type TriggerInboxNameProperty as cH, type LeaseProperty as cI, type LeaseSecondsProperty as cJ, type LeaseLimitProperty as cK, type ErrorOptions as cL, ZapierError as cM, ZapierValidationError as cN, ZapierUnknownError as cO, ZapierAuthenticationError as cP, zapierAdaptError as cQ, ZapierApiError as cR, ZapierAppNotFoundError as cS, ZapierNotFoundError as cT, ZapierResourceNotFoundError as cU, ZapierConfigurationError as cV, ZapierBundleError as cW, ZapierTimeoutError as cX, ZapierActionError as cY, ZapierConflictError as cZ, type RateLimitInfo as c_, TablesPropertySchema as ca, ConnectionsPropertySchema as cb, TriggerInboxPropertySchema as cc, TriggerInboxKeyPropertySchema as cd, TriggerInboxNamePropertySchema as ce, LeasePropertySchema as cf, LeaseSecondsPropertySchema as cg, LeaseLimitPropertySchema as ch, type AppKeyProperty as ci, type AppProperty as cj, type ActionTypeProperty as ck, type ActionKeyProperty as cl, type ActionProperty as cm, type InputFieldProperty as cn, type ConnectionIdProperty as co, type ConnectionProperty as cp, type AuthenticationIdProperty as cq, type InputsProperty as cr, type LimitProperty as cs, type OffsetProperty as ct, type OutputProperty as cu, type DebugProperty as cv, type ParamsProperty as cw, type ActionTimeoutMsProperty as cx, type TableProperty as cy, type RecordProperty as cz, type ManifestProvider as d, API_ID as d$, type ApprovalStatus as d0, ZapierApprovalError as d1, ZapierRelayError as d2, isZapierError as d3, isZapierValidationError as d4, isZapierAuthenticationError as d5, isZapierAppNotFoundError as d6, isZapierNotFoundError as d7, isZapierResourceNotFoundError as d8, isZapierConflictError as d9, createClientCredentialsPlugin as dA, deleteClientCredentialsPlugin as dB, getAppPlugin as dC, getActionPlugin as dD, getConnectionPlugin as dE, findFirstConnectionPlugin as dF, findUniqueConnectionPlugin as dG, CONTEXT_CACHE_TTL_MS as dH, CONTEXT_CACHE_MAX_SIZE as dI, runActionPlugin as dJ, type RunActionPluginProvides as dK, requestPlugin as dL, type ManifestPluginOptions as dM, readManifestFromFile as dN, getPreferredManifestEntryKey as dO, findManifestEntry as dP, MANIFEST_ID as dQ, manifestPluginRef as dR, manifestPlugin as dS, type UpdateManifestEntryOptions as dT, type UpdateManifestEntryResult as dU, DEFAULT_CONFIG_PATH as dV, type ManifestEntry as dW, type ActionEntry as dX, getProfilePlugin as dY, type ApiPluginOptions as dZ, type ResolveCredentialsFn as d_, isZapierTimeoutError as da, isZapierBundleError as db, isZapierActionError as dc, isZapierRateLimitError as dd, isZapierApprovalError as de, formatErrorMessage as df, type CoreApiError as dg, ZapierSignal as dh, isZapierSignal as di, appsPlugin as dj, type ActionExecutionOptions as dk, type AppFactoryInput as dl, type FetchPluginProvides as dm, fetchPlugin as dn, listAppsPlugin as dp, type ListAppsPluginProvides as dq, listActionsPlugin as dr, type ListActionsPluginProvides as ds, listActionInputFieldsPlugin as dt, type ListActionInputFieldsPluginProvides as du, listActionInputFieldChoicesPlugin as dv, getActionInputFieldsSchemaPlugin as dw, listConnectionsPlugin as dx, type ListConnectionsPluginProvides as dy, listClientCredentialsPlugin as dz, type CapabilitiesContext as e, ClientCredentialsObjectSchema as e$, apiPluginRef as e0, apiPlugin as e1, RESOLVE_CREDENTIALS_ID as e2, resolveCredentialsPluginRef as e3, resolveCredentialsPlugin as e4, appKeyResolver as e5, actionTypeResolver as e6, actionKeyResolver as e7, connectionIdResolver as e8, connectionIdGenericResolver as e9, injectCliLogin as eA, isCliLoginAvailable as eB, getTokenFromCliLogin as eC, resolveAuth as eD, resolveAuthToken as eE, invalidateCredentialsToken as eF, type ZapierCacheEntry as eG, type ZapierCacheSetOptions as eH, createMemoryCache as eI, type SdkEvent as eJ, type AuthEvent as eK, type ApiEvent as eL, type LoadingEvent as eM, type Credentials as eN, type ResolvedCredentials as eO, type CredentialsObject as eP, type ClientCredentialsObject as eQ, type PkceCredentialsObject as eR, isClientCredentials as eS, isPkceCredentials as eT, isCredentialsObject as eU, isCredentialsFunction as eV, type ResolveCredentialsOptions as eW, resolveCredentialsFromEnv as eX, resolveCredentials as eY, getBaseUrlFromCredentials as eZ, getClientIdFromCredentials as e_, inputsResolver as ea, inputsAllOptionalResolver as eb, inputFieldKeyResolver as ec, clientCredentialsNameResolver as ed, clientIdResolver as ee, tableIdResolver as ef, triggerInboxResolver as eg, workflowIdResolver as eh, durableRunIdResolver as ei, workflowVersionIdResolver as ej, workflowRunIdResolver as ek, triggerMessagesResolver as el, tableRecordIdResolver as em, tableRecordIdsResolver as en, tableFieldIdsResolver as eo, tableNameResolver as ep, tableFieldsResolver as eq, tableRecordsResolver as er, tableUpdateRecordsResolver as es, tableFiltersResolver as et, tableSortResolver as eu, type ResolveAuthTokenOptions as ev, AuthMechanism as ew, type ResolvedAuth as ex, clearTokenCache as ey, invalidateCachedToken as ez, type CoreOptions as f, getOsInfo as f$, PkceCredentialsObjectSchema as f0, CredentialsObjectSchema as f1, ResolvedCredentialsSchema as f2, CredentialsFunctionSchema as f3, type CredentialsFunction as f4, CredentialsSchema as f5, ConnectionEntrySchema as f6, type ConnectionEntry as f7, ConnectionsMapSchema as f8, type ConnectionsMap as f9, getTableRecordPlugin as fA, listTableRecordsPlugin as fB, createTableRecordsPlugin as fC, deleteTableRecordsPlugin as fD, updateTableRecordsPlugin as fE, cleanupEventListeners as fF, type EventEmissionContext as fG, type EventEmitter as fH, EVENT_EMISSION_ID as fI, eventEmissionPluginRef as fJ, eventEmissionPlugin as fK, eventEmissionHookPlugin as fL, type EventTransport as fM, type EventContext as fN, type ApplicationLifecycleEventData as fO, type EnhancedErrorEventData as fP, type MethodCalledEventData as fQ, buildApplicationLifecycleEvent as fR, buildErrorEventWithContext as fS, buildErrorEvent as fT, createBaseEvent as fU, buildMethodCalledEvent as fV, type BaseEvent as fW, type MethodCalledEvent as fX, generateEventId as fY, getCurrentTimestamp as fZ, getReleaseId as f_, type ResolveConnection as fa, CONNECTIONS_ID as fb, connectionsPluginRef as fc, connectionsPlugin as fd, ZAPIER_BASE_URL as fe, getZapierSdkService as ff, MAX_PAGE_LIMIT as fg, DEFAULT_PAGE_SIZE as fh, DEFAULT_ACTION_TIMEOUT_MS as fi, ZAPIER_MAX_NETWORK_RETRIES as fj, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS as fk, MAX_CONCURRENCY_LIMIT as fl, parseConcurrencyEnvVar as fm, ZAPIER_MAX_CONCURRENT_REQUESTS as fn, getZapierApprovalMode as fo, getZapierOpenAutoModeApprovalsInBrowser as fp, getZapierDefaultApprovalMode as fq, DEFAULT_APPROVAL_TIMEOUT_MS as fr, DEFAULT_MAX_APPROVAL_RETRIES as fs, listTablesPlugin as ft, getTablePlugin as fu, createTablePlugin as fv, deleteTablePlugin as fw, listTableFieldsPlugin as fx, createTableFieldsPlugin as fy, deleteTableFieldsPlugin as fz, type ActionProxy as g, getPlatformVersions as g0, isCi as g1, getCiPlatform as g2, getMemoryUsage as g3, getCpuTime as g4, getTtyContext as g5, createZapierSdk as g6, type ZapierSdkOptions as g7, type ZapierSdk as g8, type ZapierSdkApps as h, type DrainTriggerInboxOptions as i, type Manifest as j, type EventEmissionConfig as k, type ZapierCache as l, type ListActionsOptions as m, type ListActionInputFieldsOptions as n, type ListActionInputFieldChoicesOptions as o, type PluginMeta as p, DrainTriggerInboxSchema as q, WatchTriggerInboxSchema as r, ZapierAbortDrainSignal as s, ZapierReleaseTriggerMessageSignal as t, isZapierAbortDrainSignal as u, isZapierReleaseTriggerMessageSignal as v, type DrainTriggerInboxCallback as w, type DrainTriggerInboxErrorObserver as x, type LeasedTriggerMessageItem as y, type TriggerMessageStatus as z };