@zapier/zapier-sdk 0.77.2 → 0.79.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,5 +1,5 @@
1
- import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as WithAddPlugin } from './index-kC0bJpsG.mjs';
2
- export { H as Action, cj as ActionExecutionOptions, Q as ActionExecutionResult, S as ActionField, V as ActionFieldChoice, aX as ActionItem, bx as ActionKeyProperty, b5 as ActionKeyPropertySchema, by as ActionProperty, b6 as ActionPropertySchema, aK as ActionResolverItem, bJ as ActionTimeoutMsProperty, bh as ActionTimeoutMsPropertySchema, aL as ActionTypeItem, bw as ActionTypeProperty, b4 as ActionTypePropertySchema, cf as ApiError, dM as ApiEvent, d1 as ApiPluginOptions, d3 as ApiPluginProvides, I as App, ck as AppFactoryInput, aV as AppItem, bu as AppKeyProperty, b2 as AppKeyPropertySchema, bv as AppProperty, b3 as AppPropertySchema, eW as ApplicationLifecycleEventData, cb as ApprovalStatus, ci as AppsPluginProvides, bO as AppsProperty, bm as AppsPropertySchema, a8 as ArrayResolver, dL as AuthEvent, dw as AuthMechanism, bC as AuthenticationIdProperty, b9 as AuthenticationIdPropertySchema, f2 as BaseEvent, ay as BaseSdkOptionsSchema, am as BatchOptions, cQ as CONTEXT_CACHE_MAX_SIZE, cP as CONTEXT_CACHE_TTL_MS, aC as CORE_ERROR_SYMBOL, ai as CallerContext, K as Choice, dS as ClientCredentialsObject, e1 as ClientCredentialsObjectSchema, _ as Connection, e9 as ConnectionEntry, e8 as ConnectionEntrySchema, bA as ConnectionIdProperty, b8 as ConnectionIdPropertySchema, aW as ConnectionItem, bB as ConnectionProperty, ba as ConnectionPropertySchema, eb as ConnectionsMap, ea as ConnectionsMapSchema, ed as ConnectionsPluginProvides, bQ as ConnectionsProperty, bo as ConnectionsPropertySchema, $ as ConnectionsResponse, aD as CoreErrorCode, cC as CreateClientCredentialsPluginProvides, eE as CreateTableFieldsPluginProvides, ey as CreateTablePluginProvides, eM as CreateTableRecordsPluginProvides, dP as Credentials, e6 as CredentialsFunction, e5 as CredentialsFunctionSchema, dR as CredentialsObject, e3 as CredentialsObjectSchema, e7 as CredentialsSchema, ei as DEFAULT_ACTION_TIMEOUT_MS, er as DEFAULT_APPROVAL_TIMEOUT_MS, cZ as DEFAULT_CONFIG_PATH, es as DEFAULT_MAX_APPROVAL_RETRIES, eh as DEFAULT_PAGE_SIZE, bH as DebugProperty, bf as DebugPropertySchema, cE as DeleteClientCredentialsPluginProvides, eG as DeleteTableFieldsPluginProvides, eA as DeleteTablePluginProvides, eO as DeleteTableRecordsPluginProvides, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ab as DynamicListResolver, ac as DynamicSearchResolver, eX as EnhancedErrorEventData, bW as ErrorOptions, dO as EventCallback, eV as EventContext, eS as EventEmissionConfig, eU as EventEmissionProvides, cm as FetchPluginProvides, J as Field, bN as FieldsProperty, bl as FieldsPropertySchema, ad as FieldsResolver, y as FindFirstAuthenticationPluginProvides, cM as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, cO as FindUniqueConnectionPluginProvides, a6 as FormattedItem, ax as FunctionDeprecation, aw as FunctionRegistryEntry, cw as GetActionInputFieldsSchemaPluginProvides, cI as GetActionPluginProvides, cG as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cK as GetConnectionPluginProvides, d0 as GetProfilePluginProvides, ew as GetTablePluginProvides, eI as GetTableRecordPluginProvides, aZ as InfoFieldItem, aY as InputFieldItem, bz as InputFieldProperty, b7 as InputFieldPropertySchema, bD as InputsProperty, bb as InputsPropertySchema, aU as JsonSseMessage, bV as LeaseLimitProperty, bt as LeaseLimitPropertySchema, bT as LeaseProperty, br as LeasePropertySchema, bU as LeaseSecondsProperty, bs as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bE as LimitProperty, bc as LimitPropertySchema, cu as ListActionInputFieldChoicesPluginProvides, cs as ListActionInputFieldsPluginProvides, cq as ListActionsPluginProvides, co as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cA as ListClientCredentialsPluginProvides, cy as ListConnectionsPluginProvides, eC as ListTableFieldsPluginProvides, eK as ListTableRecordsPluginProvides, eu as ListTablesPluginProvides, dN as LoadingEvent, el as MAX_CONCURRENCY_LIMIT, eg as MAX_PAGE_LIMIT, c_ as ManifestEntry, cV as ManifestPluginOptions, cY as ManifestPluginProvides, f3 as MethodCalledEvent, eY as MethodCalledEventData, N as Need, X as NeedsRequest, Y as NeedsResponse, bF as OffsetProperty, bd as OffsetPropertySchema, bG as OutputProperty, be as OutputPropertySchema, b1 as PaginatedSdkFunction, bI as ParamsProperty, bg as ParamsPropertySchema, dT as PkceCredentialsObject, e2 as PkceCredentialsObjectSchema, aE as Plugin, aF as PluginProvides, aP as PollOptions, c9 as RateLimitInfo, bL as RecordProperty, bj as RecordPropertySchema, bM as RecordsProperty, bk as RecordsPropertySchema, ar as RelayFetchSchema, aq as RelayRequestSchema, aO as RequestOptions, cU as RequestPluginProvides, dv as ResolveAuthTokenOptions, dY as ResolveCredentialsOptions, dx as ResolvedAuth, dQ as ResolvedCredentials, e4 as ResolvedCredentialsSchema, a7 as Resolver, a9 as ResolverMetadata, a_ as RootFieldItem, cS as RunActionPluginProvides, dK as SdkEvent, b0 as SdkPage, aT as SseMessage, aa as StaticResolver, bK as TableProperty, bi as TablePropertySchema, bP as TablesProperty, bn as TablesPropertySchema, bS as TriggerInboxNameProperty, bq as TriggerInboxNamePropertySchema, bR as TriggerInboxProperty, bp as TriggerInboxPropertySchema, T as TriggerMessageStatus, eQ as UpdateTableRecordsPluginProvides, a0 as UserProfile, a$ as UserProfileItem, ee as ZAPIER_BASE_URL, en as ZAPIER_MAX_CONCURRENT_REQUESTS, ej as ZAPIER_MAX_NETWORK_RETRIES, ek as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, c7 as ZapierActionError, c0 as ZapierApiError, c1 as ZapierAppNotFoundError, cc as ZapierApprovalError, b_ as ZapierAuthenticationError, c5 as ZapierBundleError, dG as ZapierCache, dH as ZapierCacheEntry, dI as ZapierCacheSetOptions, c4 as ZapierConfigurationError, c8 as ZapierConflictError, bX as ZapierError, c2 as ZapierNotFoundError, ca as ZapierRateLimitError, cd as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, c3 as ZapierResourceNotFoundError, cg as ZapierSignal, c6 as ZapierTimeoutError, bZ as ZapierUnknownError, bY as ZapierValidationError, d6 as actionKeyResolver, d5 as actionTypeResolver, a5 as addPlugin, d2 as apiPlugin, d4 as appKeyResolver, ch as appsPlugin, d8 as authenticationIdGenericResolver, d7 as authenticationIdResolver, al as batch, eZ as buildApplicationLifecycleEvent, an as buildCapabilityMessage, e$ as buildErrorEvent, e_ as buildErrorEventWithContext, f1 as buildMethodCalledEvent, eR as cleanupEventListeners, dy as clearTokenCache, dc as clientCredentialsNameResolver, dd as clientIdResolver, aJ as composePlugins, d8 as connectionIdGenericResolver, d7 as connectionIdResolver, ec as connectionsPlugin, f0 as createBaseEvent, cB as createClientCredentialsPlugin, a4 as createCorePlugin, a2 as createFunction, dJ as createMemoryCache, au as createOptionsPlugin, aI as createPaginatedPluginMethod, aH as createPluginMethod, a3 as createPluginStack, at as createSdk, eD as createTableFieldsPlugin, ex as createTablePlugin, eL as createTableRecordsPlugin, aQ as createZapierApi, av as createZapierCoreStack, as as createZapierSdkWithoutRegistry, aG as definePlugin, cD as deleteClientCredentialsPlugin, eF as deleteTableFieldsPlugin, ez as deleteTablePlugin, eN as deleteTableRecordsPlugin, dh as durableRunIdResolver, eT as eventEmissionPlugin, cl as fetchPlugin, cL as findFirstConnectionPlugin, cN as findUniqueConnectionPlugin, ce as formatErrorMessage, f4 as generateEventId, cv as getActionInputFieldsSchemaPlugin, cH as getActionPlugin, aM as getAgent, cF as getAppPlugin, d$ as getBaseUrlFromCredentials, ag as getCallerContext, fa as getCiPlatform, e0 as getClientIdFromCredentials, cJ as getConnectionPlugin, aB as getCoreErrorCause, aA as getCoreErrorCode, fc as getCpuTime, f5 as getCurrentTimestamp, fb as getMemoryUsage, aR as getOrCreateApiClient, f7 as getOsInfo, f8 as getPlatformVersions, cW as getPreferredManifestEntryKey, c$ as getProfilePlugin, f6 as getReleaseId, ev as getTablePlugin, eH as getTableRecordPlugin, dC as getTokenFromCliLogin, fd as getTtyContext, eo as getZapierApprovalMode, eq as getZapierDefaultApprovalMode, ep as getZapierOpenAutoModeApprovalsInBrowser, ef as getZapierSdkService, dA as injectCliLogin, db as inputFieldKeyResolver, da as inputsAllOptionalResolver, d9 as inputsResolver, dz as invalidateCachedToken, dF as invalidateCredentialsToken, f9 as isCi, dB as isCliLoginAvailable, dU as isClientCredentials, az as isCoreError, dX as isCredentialsFunction, dW as isCredentialsObject, aS as isPermanentHttpError, dV as isPkceCredentials, a1 as isPositional, ct as listActionInputFieldChoicesPlugin, cr as listActionInputFieldsPlugin, cp as listActionsPlugin, cn as listAppsPlugin, cz as listClientCredentialsPlugin, cx as listConnectionsPlugin, eB as listTableFieldsPlugin, eJ as listTableRecordsPlugin, et as listTablesPlugin, ao as logDeprecation, cX as manifestPlugin, em as parseConcurrencyEnvVar, aN as registryPlugin, cT as requestPlugin, ap as resetDeprecationWarnings, dD as resolveAuth, dE as resolveAuthToken, d_ as resolveCredentials, dZ as resolveCredentialsFromEnv, cR as runActionPlugin, ae as runInMethodScope, ah as runWithCallerContext, af as runWithTelemetryContext, dn as tableFieldIdsResolver, dq as tableFieldsResolver, dt as tableFiltersResolver, de as tableIdResolver, dp as tableNameResolver, dl as tableRecordIdResolver, dm as tableRecordIdsResolver, dr as tableRecordsResolver, du as tableSortResolver, ds as tableUpdateRecordsResolver, aj as toSnakeCase, ak as toTitleCase, df as triggerInboxResolver, dk as triggerMessagesResolver, eP as updateTableRecordsPlugin, dg as workflowIdResolver, dj as workflowRunIdResolver, di as workflowVersionIdResolver, b$ as zapierAdaptError } from './index-kC0bJpsG.mjs';
1
+ import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver$1, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as RegistryResult, S as SdkContext } from './index-DgX1b0Sv.mjs';
2
+ export { H as Action, cx as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, b9 as ActionItem, bL as ActionKeyProperty, bj as ActionKeyPropertySchema, bM as ActionProperty, bk as ActionPropertySchema, aW as ActionResolverItem, bX as ActionTimeoutMsProperty, bv as ActionTimeoutMsPropertySchema, aX as ActionTypeItem, bK as ActionTypeProperty, bi as ActionTypePropertySchema, ct as ApiError, dZ as ApiEvent, de as ApiPluginOptions, dg as ApiPluginProvides, I as App, cy as AppFactoryInput, b7 as AppItem, bI as AppKeyProperty, bg as AppKeyPropertySchema, bJ as AppProperty, bh as AppPropertySchema, f7 as ApplicationLifecycleEventData, cp as ApprovalStatus, cw as AppsPluginProvides, c0 as AppsProperty, bA as AppsPropertySchema, al as ArrayResolver, dY as AuthEvent, dJ as AuthMechanism, bQ as AuthenticationIdProperty, bn as AuthenticationIdPropertySchema, ff as BaseEvent, aK as BaseSdkOptionsSchema, az as BatchOptions, ai as BoundFormatter, d2 as CONTEXT_CACHE_MAX_SIZE, d1 as CONTEXT_CACHE_TTL_MS, aO as CORE_ERROR_SYMBOL, av as CallerContext, K as Choice, e3 as ClientCredentialsObject, ee as ClientCredentialsObjectSchema, $ as Connection, em as ConnectionEntry, el as ConnectionEntrySchema, bO as ConnectionIdProperty, bm as ConnectionIdPropertySchema, b8 as ConnectionItem, bP as ConnectionProperty, bo as ConnectionPropertySchema, eo as ConnectionsMap, en as ConnectionsMapSchema, eq as ConnectionsPluginProvides, c2 as ConnectionsProperty, bC as ConnectionsPropertySchema, a0 as ConnectionsResponse, aP as CoreErrorCode, cQ as CreateClientCredentialsPluginProvides, eR as CreateTableFieldsPluginProvides, eL as CreateTablePluginProvides, eZ as CreateTableRecordsPluginProvides, e0 as Credentials, ej as CredentialsFunction, ei as CredentialsFunctionSchema, e2 as CredentialsObject, eg as CredentialsObjectSchema, ek as CredentialsSchema, ev as DEFAULT_ACTION_TIMEOUT_MS, eE as DEFAULT_APPROVAL_TIMEOUT_MS, db as DEFAULT_CONFIG_PATH, eF as DEFAULT_MAX_APPROVAL_RETRIES, eu as DEFAULT_PAGE_SIZE, b5 as DEPRECATION_NOTICE_EVENT, bV as DebugProperty, bt as DebugPropertySchema, cS as DeleteClientCredentialsPluginProvides, eT as DeleteTableFieldsPluginProvides, eN as DeleteTablePluginProvides, e$ as DeleteTableRecordsPluginProvides, b6 as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ao as DynamicListResolver, ap as DynamicSearchResolver, f8 as EnhancedErrorEventData, c8 as ErrorOptions, d$ as EventCallback, f6 as EventContext, f3 as EventEmissionConfig, f5 as EventEmissionProvides, cA as FetchPluginProvides, J as Field, b$ as FieldsProperty, bz as FieldsPropertySchema, aq as FieldsResolver, y as FindFirstAuthenticationPluginProvides, c_ as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, d0 as FindUniqueConnectionPluginProvides, ah as FormattedItem, aj as Formatter, aJ as FunctionDeprecation, aI as FunctionRegistryEntry, cK as GetActionInputFieldsSchemaPluginProvides, cW as GetActionPluginProvides, cU as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cY as GetConnectionPluginProvides, eJ as GetTablePluginProvides, eV as GetTableRecordPluginProvides, bb as InfoFieldItem, ba as InputFieldItem, bN as InputFieldProperty, bl as InputFieldPropertySchema, bR as InputsProperty, bp as InputsPropertySchema, b4 as JsonSseMessage, c7 as LeaseLimitProperty, bH as LeaseLimitPropertySchema, c5 as LeaseProperty, bF as LeasePropertySchema, c6 as LeaseSecondsProperty, bG as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bS as LimitProperty, bq as LimitPropertySchema, cI as ListActionInputFieldChoicesPluginProvides, cG as ListActionInputFieldsPluginProvides, cE as ListActionsPluginProvides, cC as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cO as ListClientCredentialsPluginProvides, cM as ListConnectionsPluginProvides, eP as ListTableFieldsPluginProvides, eX as ListTableRecordsPluginProvides, eH as ListTablesPluginProvides, d_ as LoadingEvent, ey as MAX_CONCURRENCY_LIMIT, et as MAX_PAGE_LIMIT, dc as ManifestEntry, d7 as ManifestPluginOptions, da as ManifestPluginProvides, fg as MethodCalledEvent, f9 as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, bT as OffsetProperty, br as OffsetPropertySchema, bU as OutputProperty, bs as OutputPropertySchema, bf as PaginatedSdkFunction, bW as ParamsProperty, bu as ParamsPropertySchema, e4 as PkceCredentialsObject, ef as PkceCredentialsObjectSchema, aQ as Plugin, aR as PluginProvides, a$ as PollOptions, cn as RateLimitInfo, bZ as RecordProperty, bx as RecordPropertySchema, b_ as RecordsProperty, by as RecordsPropertySchema, aE as RelayFetchSchema, aD as RelayRequestSchema, a_ as RequestOptions, d6 as RequestPluginProvides, dI as ResolveAuthTokenOptions, e9 as ResolveCredentialsOptions, dK as ResolvedAuth, e1 as ResolvedCredentials, eh as ResolvedCredentialsSchema, ak as Resolver, am as ResolverMetadata, bc as RootFieldItem, d4 as RunActionPluginProvides, dX as SdkEvent, be as SdkPage, b3 as SseMessage, an as StaticResolver, bY as TableProperty, bw as TablePropertySchema, c1 as TablesProperty, bB as TablesPropertySchema, c4 as TriggerInboxNameProperty, bE as TriggerInboxNamePropertySchema, c3 as TriggerInboxProperty, bD as TriggerInboxPropertySchema, T as TriggerMessageStatus, f1 as UpdateTableRecordsPluginProvides, a1 as UserProfile, bd as UserProfileItem, er as ZAPIER_BASE_URL, eA as ZAPIER_MAX_CONCURRENT_REQUESTS, ew as ZAPIER_MAX_NETWORK_RETRIES, ex as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cl as ZapierActionError, ce as ZapierApiError, cf as ZapierAppNotFoundError, cq as ZapierApprovalError, cc as ZapierAuthenticationError, cj as ZapierBundleError, dT as ZapierCache, dU as ZapierCacheEntry, dV as ZapierCacheSetOptions, ci as ZapierConfigurationError, cm as ZapierConflictError, c9 as ZapierError, cg as ZapierNotFoundError, co as ZapierRateLimitError, cr as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, ch as ZapierResourceNotFoundError, cu as ZapierSignal, ck as ZapierTimeoutError, cb as ZapierUnknownError, ca as ZapierValidationError, dj as actionKeyResolver, di as actionTypeResolver, a6 as addPlugin, df as apiPlugin, dh as appKeyResolver, cv as appsPlugin, dl as authenticationIdGenericResolver, dk as authenticationIdResolver, ay as batch, fa as buildApplicationLifecycleEvent, aA as buildCapabilityMessage, fc as buildErrorEvent, fb as buildErrorEventWithContext, fe as buildMethodCalledEvent, f2 as cleanupEventListeners, dL as clearTokenCache, dq as clientCredentialsNameResolver, dr as clientIdResolver, aV as composePlugins, dl as connectionIdGenericResolver, dk as connectionIdResolver, ep as connectionsPlugin, fd as createBaseEvent, cP as createClientCredentialsPlugin, a5 as createCorePlugin, a3 as createFunction, dW as createMemoryCache, aG as createOptionsPlugin, aU as createPaginatedPluginMethod, aT as createPluginMethod, a4 as createPluginStack, a7 as createSdk, eQ as createTableFieldsPlugin, eK as createTablePlugin, eY as createTableRecordsPlugin, b0 as createZapierApi, aH as createZapierCoreStack, aF as createZapierSdkWithoutRegistry, aa as dangerousContextPlugin, ae as declareMethod, af as declareProperty, a9 as defineLegacyMerge, ac as defineMethod, aS as definePlugin, ad as defineProperty, cR as deleteClientCredentialsPlugin, eS as deleteTableFieldsPlugin, eM as deleteTablePlugin, e_ as deleteTableRecordsPlugin, dv as durableRunIdResolver, f4 as eventEmissionPlugin, cz as fetchPlugin, cZ as findFirstConnectionPlugin, c$ as findUniqueConnectionPlugin, cs as formatErrorMessage, a8 as fromFunctionPlugin, fh as generateEventId, cJ as getActionInputFieldsSchemaPlugin, cV as getActionPlugin, aY as getAgent, cT as getAppPlugin, ec as getBaseUrlFromCredentials, at as getCallerContext, fn as getCiPlatform, ed as getClientIdFromCredentials, cX as getConnectionPlugin, ab as getContext, aN as getCoreErrorCause, aM as getCoreErrorCode, fp as getCpuTime, fi as getCurrentTimestamp, fo as getMemoryUsage, b1 as getOrCreateApiClient, fk as getOsInfo, fl as getPlatformVersions, d8 as getPreferredManifestEntryKey, dd as getProfilePlugin, fj as getReleaseId, eI as getTablePlugin, eU as getTableRecordPlugin, dP as getTokenFromCliLogin, fq as getTtyContext, eB as getZapierApprovalMode, eD as getZapierDefaultApprovalMode, eC as getZapierOpenAutoModeApprovalsInBrowser, es as getZapierSdkService, dN as injectCliLogin, dp as inputFieldKeyResolver, dn as inputsAllOptionalResolver, dm as inputsResolver, dM as invalidateCachedToken, dS as invalidateCredentialsToken, fm as isCi, dO as isCliLoginAvailable, e5 as isClientCredentials, aL as isCoreError, e8 as isCredentialsFunction, e7 as isCredentialsObject, b2 as isPermanentHttpError, e6 as isPkceCredentials, a2 as isPositional, cH as listActionInputFieldChoicesPlugin, cF as listActionInputFieldsPlugin, cD as listActionsPlugin, cB as listAppsPlugin, cN as listClientCredentialsPlugin, cL as listConnectionsPlugin, eO as listTableFieldsPlugin, eW as listTableRecordsPlugin, eG as listTablesPlugin, aB as logDeprecation, d9 as manifestPlugin, ez as parseConcurrencyEnvVar, aZ as registryPlugin, d5 as requestPlugin, aC as resetDeprecationWarnings, dQ as resolveAuth, dR as resolveAuthToken, eb as resolveCredentials, ea as resolveCredentialsFromEnv, d3 as runActionPlugin, ar as runInMethodScope, au as runWithCallerContext, as as runWithTelemetryContext, dB as tableFieldIdsResolver, dD as tableFieldsResolver, dG as tableFiltersResolver, ds as tableIdResolver, dC as tableNameResolver, dz as tableRecordIdResolver, dA as tableRecordIdsResolver, dE as tableRecordsResolver, dH as tableSortResolver, dF as tableUpdateRecordsResolver, aw as toSnakeCase, ax as toTitleCase, dt as triggerInboxResolver, dy as triggerMessagesResolver, f0 as updateTableRecordsPlugin, du as workflowIdResolver, dx as workflowRunIdResolver, dw as workflowVersionIdResolver, cd as zapierAdaptError, ag as zapierSdkPlugin } from './index-DgX1b0Sv.mjs';
3
3
  import * as zod_v4_core from 'zod/v4/core';
4
4
  import * as zod from 'zod';
5
5
  import '@zapier/zapier-sdk-core/v0/schemas/connections';
@@ -9,11 +9,13 @@ import '@zapier/zapier-sdk-core/v0/schemas/apps';
9
9
  interface ZapierSdkOptions extends BaseSdkOptions {
10
10
  }
11
11
  /**
12
- * Build the unsealed `PluginStack` for the experimental SDK. Mirror of
13
- * `createZapierSdkStack` from the stable entry: downstream packages
14
- * extending the experimental SDK should layer plugins via `.use(...)`
15
- * on the returned stack rather than going through `.addPlugin` on the
16
- * sealed result.
12
+ * Build the unsealed legacy `PluginStack` for the experimental SDK. Mirror of
13
+ * `createZapierSdkStack` from the stable entry: a downstream head layers its
14
+ * base plugins via `.use(...)` and then merges with `zapierSdkPlugin` via
15
+ * `defineLegacyMerge`, the way `createZapierSdk` does. As with the stable
16
+ * stack, calling `.toSdk()` here materializes the legacy surface only and
17
+ * omits module-model migrated methods (e.g. `getProfile`); for a full SDK plus
18
+ * extensions, use `createZapierSdk(options)` then `addPlugin(sdk, plugin)`.
17
19
  *
18
20
  * Shadows the re-export from `./index` so consumers of
19
21
  * `@zapier/zapier-sdk/experimental` get the experimental factory under
@@ -2004,7 +2006,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
2004
2006
  maxMessages: zod.ZodOptional<zod.ZodNumber>;
2005
2007
  }, zod_v4_core.$strip>;
2006
2008
  resolvers: {
2007
- inbox: DynamicResolver<{
2009
+ inbox: DynamicResolver$1<{
2008
2010
  listTriggerInboxes: (options?: ({
2009
2011
  name?: string | undefined;
2010
2012
  status?: string | undefined;
@@ -2080,7 +2082,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
2080
2082
  maxDrainIntervalSeconds: zod.ZodOptional<zod.ZodNumber>;
2081
2083
  }, zod_v4_core.$strip>;
2082
2084
  resolvers: {
2083
- inbox: DynamicResolver<{
2085
+ inbox: DynamicResolver$1<{
2084
2086
  listTriggerInboxes: (options?: ({
2085
2087
  name?: string | undefined;
2086
2088
  status?: string | undefined;
@@ -3203,26 +3205,8 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
3203
3205
  };
3204
3206
  };
3205
3207
  };
3206
- } & {
3207
- getProfile: (options?: Record<string, never> | undefined) => Promise<{
3208
- data: {
3209
- id: string;
3210
- first_name: string;
3211
- last_name: string;
3212
- full_name: string;
3213
- email: string;
3214
- email_confirmed: boolean;
3215
- timezone: string;
3216
- };
3217
- }>;
3218
- } & {
3219
- context: {
3220
- meta: {
3221
- getProfile: PluginMeta<unknown>;
3222
- };
3223
- };
3224
3208
  }>;
3225
- declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<object & {
3209
+ declare function createZapierSdk(options?: ZapierSdkOptions): {
3226
3210
  context: {
3227
3211
  meta: Record<string, PluginMeta>;
3228
3212
  hooks: MethodHooks;
@@ -5207,7 +5191,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
5207
5191
  maxMessages: zod.ZodOptional<zod.ZodNumber>;
5208
5192
  }, zod_v4_core.$strip>;
5209
5193
  resolvers: {
5210
- inbox: DynamicResolver<{
5194
+ inbox: DynamicResolver$1<{
5211
5195
  listTriggerInboxes: (options?: ({
5212
5196
  name?: string | undefined;
5213
5197
  status?: string | undefined;
@@ -5283,7 +5267,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
5283
5267
  maxDrainIntervalSeconds: zod.ZodOptional<zod.ZodNumber>;
5284
5268
  }, zod_v4_core.$strip>;
5285
5269
  resolvers: {
5286
- inbox: DynamicResolver<{
5270
+ inbox: DynamicResolver$1<{
5287
5271
  listTriggerInboxes: (options?: ({
5288
5272
  name?: string | undefined;
5289
5273
  status?: string | undefined;
@@ -6407,7 +6391,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
6407
6391
  };
6408
6392
  };
6409
6393
  } & {
6410
- getProfile: (options?: Record<string, never> | undefined) => Promise<{
6394
+ getRegistry: (options?: {
6395
+ package?: string;
6396
+ }) => RegistryResult;
6397
+ } & {
6398
+ getProfile: (input?: Record<string, never> | undefined) => Promise<{
6411
6399
  data: {
6412
6400
  id: string;
6413
6401
  first_name: string;
@@ -6419,13 +6407,9 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
6419
6407
  };
6420
6408
  }>;
6421
6409
  } & {
6422
- context: {
6423
- meta: {
6424
- getProfile: PluginMeta<unknown>;
6425
- };
6426
- };
6427
- }>;
6410
+ context: SdkContext;
6411
+ };
6428
6412
  interface ZapierSdk extends ReturnType<typeof createZapierSdk> {
6429
6413
  }
6430
6414
 
6431
- export { ActionEntry, AddActionEntryOptions, AddActionEntryResult, ApiClient, DrainTriggerInboxOptions, DynamicResolver, EventEmissionContext, FieldsetItem, Manifest, OutputFormatter, PaginatedSdkResult, PluginMeta, PositionalMetadata, ResolvedAppLocator, UpdateManifestEntryOptions, UpdateManifestEntryResult, WatchTriggerInboxOptions, WithAddPlugin, ZapierFetchInitOptions, type ZapierSdk, ZapierSdkApps, type ZapierSdkOptions, createZapierSdk, createZapierSdkStack, findManifestEntry, readManifestFromFile };
6415
+ export { ActionEntry, AddActionEntryOptions, AddActionEntryResult, ApiClient, DrainTriggerInboxOptions, DynamicResolver$1 as DynamicResolver, EventEmissionContext, FieldsetItem, Manifest, OutputFormatter, PaginatedSdkResult, PluginMeta, PositionalMetadata, ResolvedAppLocator, UpdateManifestEntryOptions, UpdateManifestEntryResult, WatchTriggerInboxOptions, ZapierFetchInitOptions, type ZapierSdk, ZapierSdkApps, type ZapierSdkOptions, createZapierSdk, createZapierSdkStack, findManifestEntry, readManifestFromFile };
@@ -1,5 +1,5 @@
1
- import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as WithAddPlugin } from './index-kC0bJpsG.js';
2
- export { H as Action, cj as ActionExecutionOptions, Q as ActionExecutionResult, S as ActionField, V as ActionFieldChoice, aX as ActionItem, bx as ActionKeyProperty, b5 as ActionKeyPropertySchema, by as ActionProperty, b6 as ActionPropertySchema, aK as ActionResolverItem, bJ as ActionTimeoutMsProperty, bh as ActionTimeoutMsPropertySchema, aL as ActionTypeItem, bw as ActionTypeProperty, b4 as ActionTypePropertySchema, cf as ApiError, dM as ApiEvent, d1 as ApiPluginOptions, d3 as ApiPluginProvides, I as App, ck as AppFactoryInput, aV as AppItem, bu as AppKeyProperty, b2 as AppKeyPropertySchema, bv as AppProperty, b3 as AppPropertySchema, eW as ApplicationLifecycleEventData, cb as ApprovalStatus, ci as AppsPluginProvides, bO as AppsProperty, bm as AppsPropertySchema, a8 as ArrayResolver, dL as AuthEvent, dw as AuthMechanism, bC as AuthenticationIdProperty, b9 as AuthenticationIdPropertySchema, f2 as BaseEvent, ay as BaseSdkOptionsSchema, am as BatchOptions, cQ as CONTEXT_CACHE_MAX_SIZE, cP as CONTEXT_CACHE_TTL_MS, aC as CORE_ERROR_SYMBOL, ai as CallerContext, K as Choice, dS as ClientCredentialsObject, e1 as ClientCredentialsObjectSchema, _ as Connection, e9 as ConnectionEntry, e8 as ConnectionEntrySchema, bA as ConnectionIdProperty, b8 as ConnectionIdPropertySchema, aW as ConnectionItem, bB as ConnectionProperty, ba as ConnectionPropertySchema, eb as ConnectionsMap, ea as ConnectionsMapSchema, ed as ConnectionsPluginProvides, bQ as ConnectionsProperty, bo as ConnectionsPropertySchema, $ as ConnectionsResponse, aD as CoreErrorCode, cC as CreateClientCredentialsPluginProvides, eE as CreateTableFieldsPluginProvides, ey as CreateTablePluginProvides, eM as CreateTableRecordsPluginProvides, dP as Credentials, e6 as CredentialsFunction, e5 as CredentialsFunctionSchema, dR as CredentialsObject, e3 as CredentialsObjectSchema, e7 as CredentialsSchema, ei as DEFAULT_ACTION_TIMEOUT_MS, er as DEFAULT_APPROVAL_TIMEOUT_MS, cZ as DEFAULT_CONFIG_PATH, es as DEFAULT_MAX_APPROVAL_RETRIES, eh as DEFAULT_PAGE_SIZE, bH as DebugProperty, bf as DebugPropertySchema, cE as DeleteClientCredentialsPluginProvides, eG as DeleteTableFieldsPluginProvides, eA as DeleteTablePluginProvides, eO as DeleteTableRecordsPluginProvides, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ab as DynamicListResolver, ac as DynamicSearchResolver, eX as EnhancedErrorEventData, bW as ErrorOptions, dO as EventCallback, eV as EventContext, eS as EventEmissionConfig, eU as EventEmissionProvides, cm as FetchPluginProvides, J as Field, bN as FieldsProperty, bl as FieldsPropertySchema, ad as FieldsResolver, y as FindFirstAuthenticationPluginProvides, cM as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, cO as FindUniqueConnectionPluginProvides, a6 as FormattedItem, ax as FunctionDeprecation, aw as FunctionRegistryEntry, cw as GetActionInputFieldsSchemaPluginProvides, cI as GetActionPluginProvides, cG as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cK as GetConnectionPluginProvides, d0 as GetProfilePluginProvides, ew as GetTablePluginProvides, eI as GetTableRecordPluginProvides, aZ as InfoFieldItem, aY as InputFieldItem, bz as InputFieldProperty, b7 as InputFieldPropertySchema, bD as InputsProperty, bb as InputsPropertySchema, aU as JsonSseMessage, bV as LeaseLimitProperty, bt as LeaseLimitPropertySchema, bT as LeaseProperty, br as LeasePropertySchema, bU as LeaseSecondsProperty, bs as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bE as LimitProperty, bc as LimitPropertySchema, cu as ListActionInputFieldChoicesPluginProvides, cs as ListActionInputFieldsPluginProvides, cq as ListActionsPluginProvides, co as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cA as ListClientCredentialsPluginProvides, cy as ListConnectionsPluginProvides, eC as ListTableFieldsPluginProvides, eK as ListTableRecordsPluginProvides, eu as ListTablesPluginProvides, dN as LoadingEvent, el as MAX_CONCURRENCY_LIMIT, eg as MAX_PAGE_LIMIT, c_ as ManifestEntry, cV as ManifestPluginOptions, cY as ManifestPluginProvides, f3 as MethodCalledEvent, eY as MethodCalledEventData, N as Need, X as NeedsRequest, Y as NeedsResponse, bF as OffsetProperty, bd as OffsetPropertySchema, bG as OutputProperty, be as OutputPropertySchema, b1 as PaginatedSdkFunction, bI as ParamsProperty, bg as ParamsPropertySchema, dT as PkceCredentialsObject, e2 as PkceCredentialsObjectSchema, aE as Plugin, aF as PluginProvides, aP as PollOptions, c9 as RateLimitInfo, bL as RecordProperty, bj as RecordPropertySchema, bM as RecordsProperty, bk as RecordsPropertySchema, ar as RelayFetchSchema, aq as RelayRequestSchema, aO as RequestOptions, cU as RequestPluginProvides, dv as ResolveAuthTokenOptions, dY as ResolveCredentialsOptions, dx as ResolvedAuth, dQ as ResolvedCredentials, e4 as ResolvedCredentialsSchema, a7 as Resolver, a9 as ResolverMetadata, a_ as RootFieldItem, cS as RunActionPluginProvides, dK as SdkEvent, b0 as SdkPage, aT as SseMessage, aa as StaticResolver, bK as TableProperty, bi as TablePropertySchema, bP as TablesProperty, bn as TablesPropertySchema, bS as TriggerInboxNameProperty, bq as TriggerInboxNamePropertySchema, bR as TriggerInboxProperty, bp as TriggerInboxPropertySchema, T as TriggerMessageStatus, eQ as UpdateTableRecordsPluginProvides, a0 as UserProfile, a$ as UserProfileItem, ee as ZAPIER_BASE_URL, en as ZAPIER_MAX_CONCURRENT_REQUESTS, ej as ZAPIER_MAX_NETWORK_RETRIES, ek as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, c7 as ZapierActionError, c0 as ZapierApiError, c1 as ZapierAppNotFoundError, cc as ZapierApprovalError, b_ as ZapierAuthenticationError, c5 as ZapierBundleError, dG as ZapierCache, dH as ZapierCacheEntry, dI as ZapierCacheSetOptions, c4 as ZapierConfigurationError, c8 as ZapierConflictError, bX as ZapierError, c2 as ZapierNotFoundError, ca as ZapierRateLimitError, cd as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, c3 as ZapierResourceNotFoundError, cg as ZapierSignal, c6 as ZapierTimeoutError, bZ as ZapierUnknownError, bY as ZapierValidationError, d6 as actionKeyResolver, d5 as actionTypeResolver, a5 as addPlugin, d2 as apiPlugin, d4 as appKeyResolver, ch as appsPlugin, d8 as authenticationIdGenericResolver, d7 as authenticationIdResolver, al as batch, eZ as buildApplicationLifecycleEvent, an as buildCapabilityMessage, e$ as buildErrorEvent, e_ as buildErrorEventWithContext, f1 as buildMethodCalledEvent, eR as cleanupEventListeners, dy as clearTokenCache, dc as clientCredentialsNameResolver, dd as clientIdResolver, aJ as composePlugins, d8 as connectionIdGenericResolver, d7 as connectionIdResolver, ec as connectionsPlugin, f0 as createBaseEvent, cB as createClientCredentialsPlugin, a4 as createCorePlugin, a2 as createFunction, dJ as createMemoryCache, au as createOptionsPlugin, aI as createPaginatedPluginMethod, aH as createPluginMethod, a3 as createPluginStack, at as createSdk, eD as createTableFieldsPlugin, ex as createTablePlugin, eL as createTableRecordsPlugin, aQ as createZapierApi, av as createZapierCoreStack, as as createZapierSdkWithoutRegistry, aG as definePlugin, cD as deleteClientCredentialsPlugin, eF as deleteTableFieldsPlugin, ez as deleteTablePlugin, eN as deleteTableRecordsPlugin, dh as durableRunIdResolver, eT as eventEmissionPlugin, cl as fetchPlugin, cL as findFirstConnectionPlugin, cN as findUniqueConnectionPlugin, ce as formatErrorMessage, f4 as generateEventId, cv as getActionInputFieldsSchemaPlugin, cH as getActionPlugin, aM as getAgent, cF as getAppPlugin, d$ as getBaseUrlFromCredentials, ag as getCallerContext, fa as getCiPlatform, e0 as getClientIdFromCredentials, cJ as getConnectionPlugin, aB as getCoreErrorCause, aA as getCoreErrorCode, fc as getCpuTime, f5 as getCurrentTimestamp, fb as getMemoryUsage, aR as getOrCreateApiClient, f7 as getOsInfo, f8 as getPlatformVersions, cW as getPreferredManifestEntryKey, c$ as getProfilePlugin, f6 as getReleaseId, ev as getTablePlugin, eH as getTableRecordPlugin, dC as getTokenFromCliLogin, fd as getTtyContext, eo as getZapierApprovalMode, eq as getZapierDefaultApprovalMode, ep as getZapierOpenAutoModeApprovalsInBrowser, ef as getZapierSdkService, dA as injectCliLogin, db as inputFieldKeyResolver, da as inputsAllOptionalResolver, d9 as inputsResolver, dz as invalidateCachedToken, dF as invalidateCredentialsToken, f9 as isCi, dB as isCliLoginAvailable, dU as isClientCredentials, az as isCoreError, dX as isCredentialsFunction, dW as isCredentialsObject, aS as isPermanentHttpError, dV as isPkceCredentials, a1 as isPositional, ct as listActionInputFieldChoicesPlugin, cr as listActionInputFieldsPlugin, cp as listActionsPlugin, cn as listAppsPlugin, cz as listClientCredentialsPlugin, cx as listConnectionsPlugin, eB as listTableFieldsPlugin, eJ as listTableRecordsPlugin, et as listTablesPlugin, ao as logDeprecation, cX as manifestPlugin, em as parseConcurrencyEnvVar, aN as registryPlugin, cT as requestPlugin, ap as resetDeprecationWarnings, dD as resolveAuth, dE as resolveAuthToken, d_ as resolveCredentials, dZ as resolveCredentialsFromEnv, cR as runActionPlugin, ae as runInMethodScope, ah as runWithCallerContext, af as runWithTelemetryContext, dn as tableFieldIdsResolver, dq as tableFieldsResolver, dt as tableFiltersResolver, de as tableIdResolver, dp as tableNameResolver, dl as tableRecordIdResolver, dm as tableRecordIdsResolver, dr as tableRecordsResolver, du as tableSortResolver, ds as tableUpdateRecordsResolver, aj as toSnakeCase, ak as toTitleCase, df as triggerInboxResolver, dk as triggerMessagesResolver, eP as updateTableRecordsPlugin, dg as workflowIdResolver, dj as workflowRunIdResolver, di as workflowVersionIdResolver, b$ as zapierAdaptError } from './index-kC0bJpsG.js';
1
+ import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver$1, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as RegistryResult, S as SdkContext } from './index-DgX1b0Sv.js';
2
+ export { H as Action, cx as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, b9 as ActionItem, bL as ActionKeyProperty, bj as ActionKeyPropertySchema, bM as ActionProperty, bk as ActionPropertySchema, aW as ActionResolverItem, bX as ActionTimeoutMsProperty, bv as ActionTimeoutMsPropertySchema, aX as ActionTypeItem, bK as ActionTypeProperty, bi as ActionTypePropertySchema, ct as ApiError, dZ as ApiEvent, de as ApiPluginOptions, dg as ApiPluginProvides, I as App, cy as AppFactoryInput, b7 as AppItem, bI as AppKeyProperty, bg as AppKeyPropertySchema, bJ as AppProperty, bh as AppPropertySchema, f7 as ApplicationLifecycleEventData, cp as ApprovalStatus, cw as AppsPluginProvides, c0 as AppsProperty, bA as AppsPropertySchema, al as ArrayResolver, dY as AuthEvent, dJ as AuthMechanism, bQ as AuthenticationIdProperty, bn as AuthenticationIdPropertySchema, ff as BaseEvent, aK as BaseSdkOptionsSchema, az as BatchOptions, ai as BoundFormatter, d2 as CONTEXT_CACHE_MAX_SIZE, d1 as CONTEXT_CACHE_TTL_MS, aO as CORE_ERROR_SYMBOL, av as CallerContext, K as Choice, e3 as ClientCredentialsObject, ee as ClientCredentialsObjectSchema, $ as Connection, em as ConnectionEntry, el as ConnectionEntrySchema, bO as ConnectionIdProperty, bm as ConnectionIdPropertySchema, b8 as ConnectionItem, bP as ConnectionProperty, bo as ConnectionPropertySchema, eo as ConnectionsMap, en as ConnectionsMapSchema, eq as ConnectionsPluginProvides, c2 as ConnectionsProperty, bC as ConnectionsPropertySchema, a0 as ConnectionsResponse, aP as CoreErrorCode, cQ as CreateClientCredentialsPluginProvides, eR as CreateTableFieldsPluginProvides, eL as CreateTablePluginProvides, eZ as CreateTableRecordsPluginProvides, e0 as Credentials, ej as CredentialsFunction, ei as CredentialsFunctionSchema, e2 as CredentialsObject, eg as CredentialsObjectSchema, ek as CredentialsSchema, ev as DEFAULT_ACTION_TIMEOUT_MS, eE as DEFAULT_APPROVAL_TIMEOUT_MS, db as DEFAULT_CONFIG_PATH, eF as DEFAULT_MAX_APPROVAL_RETRIES, eu as DEFAULT_PAGE_SIZE, b5 as DEPRECATION_NOTICE_EVENT, bV as DebugProperty, bt as DebugPropertySchema, cS as DeleteClientCredentialsPluginProvides, eT as DeleteTableFieldsPluginProvides, eN as DeleteTablePluginProvides, e$ as DeleteTableRecordsPluginProvides, b6 as DeprecationNoticePayload, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ao as DynamicListResolver, ap as DynamicSearchResolver, f8 as EnhancedErrorEventData, c8 as ErrorOptions, d$ as EventCallback, f6 as EventContext, f3 as EventEmissionConfig, f5 as EventEmissionProvides, cA as FetchPluginProvides, J as Field, b$ as FieldsProperty, bz as FieldsPropertySchema, aq as FieldsResolver, y as FindFirstAuthenticationPluginProvides, c_ as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, d0 as FindUniqueConnectionPluginProvides, ah as FormattedItem, aj as Formatter, aJ as FunctionDeprecation, aI as FunctionRegistryEntry, cK as GetActionInputFieldsSchemaPluginProvides, cW as GetActionPluginProvides, cU as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cY as GetConnectionPluginProvides, eJ as GetTablePluginProvides, eV as GetTableRecordPluginProvides, bb as InfoFieldItem, ba as InputFieldItem, bN as InputFieldProperty, bl as InputFieldPropertySchema, bR as InputsProperty, bp as InputsPropertySchema, b4 as JsonSseMessage, c7 as LeaseLimitProperty, bH as LeaseLimitPropertySchema, c5 as LeaseProperty, bF as LeasePropertySchema, c6 as LeaseSecondsProperty, bG as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bS as LimitProperty, bq as LimitPropertySchema, cI as ListActionInputFieldChoicesPluginProvides, cG as ListActionInputFieldsPluginProvides, cE as ListActionsPluginProvides, cC as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cO as ListClientCredentialsPluginProvides, cM as ListConnectionsPluginProvides, eP as ListTableFieldsPluginProvides, eX as ListTableRecordsPluginProvides, eH as ListTablesPluginProvides, d_ as LoadingEvent, ey as MAX_CONCURRENCY_LIMIT, et as MAX_PAGE_LIMIT, dc as ManifestEntry, d7 as ManifestPluginOptions, da as ManifestPluginProvides, fg as MethodCalledEvent, f9 as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, bT as OffsetProperty, br as OffsetPropertySchema, bU as OutputProperty, bs as OutputPropertySchema, bf as PaginatedSdkFunction, bW as ParamsProperty, bu as ParamsPropertySchema, e4 as PkceCredentialsObject, ef as PkceCredentialsObjectSchema, aQ as Plugin, aR as PluginProvides, a$ as PollOptions, cn as RateLimitInfo, bZ as RecordProperty, bx as RecordPropertySchema, b_ as RecordsProperty, by as RecordsPropertySchema, aE as RelayFetchSchema, aD as RelayRequestSchema, a_ as RequestOptions, d6 as RequestPluginProvides, dI as ResolveAuthTokenOptions, e9 as ResolveCredentialsOptions, dK as ResolvedAuth, e1 as ResolvedCredentials, eh as ResolvedCredentialsSchema, ak as Resolver, am as ResolverMetadata, bc as RootFieldItem, d4 as RunActionPluginProvides, dX as SdkEvent, be as SdkPage, b3 as SseMessage, an as StaticResolver, bY as TableProperty, bw as TablePropertySchema, c1 as TablesProperty, bB as TablesPropertySchema, c4 as TriggerInboxNameProperty, bE as TriggerInboxNamePropertySchema, c3 as TriggerInboxProperty, bD as TriggerInboxPropertySchema, T as TriggerMessageStatus, f1 as UpdateTableRecordsPluginProvides, a1 as UserProfile, bd as UserProfileItem, er as ZAPIER_BASE_URL, eA as ZAPIER_MAX_CONCURRENT_REQUESTS, ew as ZAPIER_MAX_NETWORK_RETRIES, ex as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cl as ZapierActionError, ce as ZapierApiError, cf as ZapierAppNotFoundError, cq as ZapierApprovalError, cc as ZapierAuthenticationError, cj as ZapierBundleError, dT as ZapierCache, dU as ZapierCacheEntry, dV as ZapierCacheSetOptions, ci as ZapierConfigurationError, cm as ZapierConflictError, c9 as ZapierError, cg as ZapierNotFoundError, co as ZapierRateLimitError, cr as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, ch as ZapierResourceNotFoundError, cu as ZapierSignal, ck as ZapierTimeoutError, cb as ZapierUnknownError, ca as ZapierValidationError, dj as actionKeyResolver, di as actionTypeResolver, a6 as addPlugin, df as apiPlugin, dh as appKeyResolver, cv as appsPlugin, dl as authenticationIdGenericResolver, dk as authenticationIdResolver, ay as batch, fa as buildApplicationLifecycleEvent, aA as buildCapabilityMessage, fc as buildErrorEvent, fb as buildErrorEventWithContext, fe as buildMethodCalledEvent, f2 as cleanupEventListeners, dL as clearTokenCache, dq as clientCredentialsNameResolver, dr as clientIdResolver, aV as composePlugins, dl as connectionIdGenericResolver, dk as connectionIdResolver, ep as connectionsPlugin, fd as createBaseEvent, cP as createClientCredentialsPlugin, a5 as createCorePlugin, a3 as createFunction, dW as createMemoryCache, aG as createOptionsPlugin, aU as createPaginatedPluginMethod, aT as createPluginMethod, a4 as createPluginStack, a7 as createSdk, eQ as createTableFieldsPlugin, eK as createTablePlugin, eY as createTableRecordsPlugin, b0 as createZapierApi, aH as createZapierCoreStack, aF as createZapierSdkWithoutRegistry, aa as dangerousContextPlugin, ae as declareMethod, af as declareProperty, a9 as defineLegacyMerge, ac as defineMethod, aS as definePlugin, ad as defineProperty, cR as deleteClientCredentialsPlugin, eS as deleteTableFieldsPlugin, eM as deleteTablePlugin, e_ as deleteTableRecordsPlugin, dv as durableRunIdResolver, f4 as eventEmissionPlugin, cz as fetchPlugin, cZ as findFirstConnectionPlugin, c$ as findUniqueConnectionPlugin, cs as formatErrorMessage, a8 as fromFunctionPlugin, fh as generateEventId, cJ as getActionInputFieldsSchemaPlugin, cV as getActionPlugin, aY as getAgent, cT as getAppPlugin, ec as getBaseUrlFromCredentials, at as getCallerContext, fn as getCiPlatform, ed as getClientIdFromCredentials, cX as getConnectionPlugin, ab as getContext, aN as getCoreErrorCause, aM as getCoreErrorCode, fp as getCpuTime, fi as getCurrentTimestamp, fo as getMemoryUsage, b1 as getOrCreateApiClient, fk as getOsInfo, fl as getPlatformVersions, d8 as getPreferredManifestEntryKey, dd as getProfilePlugin, fj as getReleaseId, eI as getTablePlugin, eU as getTableRecordPlugin, dP as getTokenFromCliLogin, fq as getTtyContext, eB as getZapierApprovalMode, eD as getZapierDefaultApprovalMode, eC as getZapierOpenAutoModeApprovalsInBrowser, es as getZapierSdkService, dN as injectCliLogin, dp as inputFieldKeyResolver, dn as inputsAllOptionalResolver, dm as inputsResolver, dM as invalidateCachedToken, dS as invalidateCredentialsToken, fm as isCi, dO as isCliLoginAvailable, e5 as isClientCredentials, aL as isCoreError, e8 as isCredentialsFunction, e7 as isCredentialsObject, b2 as isPermanentHttpError, e6 as isPkceCredentials, a2 as isPositional, cH as listActionInputFieldChoicesPlugin, cF as listActionInputFieldsPlugin, cD as listActionsPlugin, cB as listAppsPlugin, cN as listClientCredentialsPlugin, cL as listConnectionsPlugin, eO as listTableFieldsPlugin, eW as listTableRecordsPlugin, eG as listTablesPlugin, aB as logDeprecation, d9 as manifestPlugin, ez as parseConcurrencyEnvVar, aZ as registryPlugin, d5 as requestPlugin, aC as resetDeprecationWarnings, dQ as resolveAuth, dR as resolveAuthToken, eb as resolveCredentials, ea as resolveCredentialsFromEnv, d3 as runActionPlugin, ar as runInMethodScope, au as runWithCallerContext, as as runWithTelemetryContext, dB as tableFieldIdsResolver, dD as tableFieldsResolver, dG as tableFiltersResolver, ds as tableIdResolver, dC as tableNameResolver, dz as tableRecordIdResolver, dA as tableRecordIdsResolver, dE as tableRecordsResolver, dH as tableSortResolver, dF as tableUpdateRecordsResolver, aw as toSnakeCase, ax as toTitleCase, dt as triggerInboxResolver, dy as triggerMessagesResolver, f0 as updateTableRecordsPlugin, du as workflowIdResolver, dx as workflowRunIdResolver, dw as workflowVersionIdResolver, cd as zapierAdaptError, ag as zapierSdkPlugin } from './index-DgX1b0Sv.js';
3
3
  import * as zod_v4_core from 'zod/v4/core';
4
4
  import * as zod from 'zod';
5
5
  import '@zapier/zapier-sdk-core/v0/schemas/connections';
@@ -9,11 +9,13 @@ import '@zapier/zapier-sdk-core/v0/schemas/apps';
9
9
  interface ZapierSdkOptions extends BaseSdkOptions {
10
10
  }
11
11
  /**
12
- * Build the unsealed `PluginStack` for the experimental SDK. Mirror of
13
- * `createZapierSdkStack` from the stable entry: downstream packages
14
- * extending the experimental SDK should layer plugins via `.use(...)`
15
- * on the returned stack rather than going through `.addPlugin` on the
16
- * sealed result.
12
+ * Build the unsealed legacy `PluginStack` for the experimental SDK. Mirror of
13
+ * `createZapierSdkStack` from the stable entry: a downstream head layers its
14
+ * base plugins via `.use(...)` and then merges with `zapierSdkPlugin` via
15
+ * `defineLegacyMerge`, the way `createZapierSdk` does. As with the stable
16
+ * stack, calling `.toSdk()` here materializes the legacy surface only and
17
+ * omits module-model migrated methods (e.g. `getProfile`); for a full SDK plus
18
+ * extensions, use `createZapierSdk(options)` then `addPlugin(sdk, plugin)`.
17
19
  *
18
20
  * Shadows the re-export from `./index` so consumers of
19
21
  * `@zapier/zapier-sdk/experimental` get the experimental factory under
@@ -2004,7 +2006,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
2004
2006
  maxMessages: zod.ZodOptional<zod.ZodNumber>;
2005
2007
  }, zod_v4_core.$strip>;
2006
2008
  resolvers: {
2007
- inbox: DynamicResolver<{
2009
+ inbox: DynamicResolver$1<{
2008
2010
  listTriggerInboxes: (options?: ({
2009
2011
  name?: string | undefined;
2010
2012
  status?: string | undefined;
@@ -2080,7 +2082,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
2080
2082
  maxDrainIntervalSeconds: zod.ZodOptional<zod.ZodNumber>;
2081
2083
  }, zod_v4_core.$strip>;
2082
2084
  resolvers: {
2083
- inbox: DynamicResolver<{
2085
+ inbox: DynamicResolver$1<{
2084
2086
  listTriggerInboxes: (options?: ({
2085
2087
  name?: string | undefined;
2086
2088
  status?: string | undefined;
@@ -3203,26 +3205,8 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
3203
3205
  };
3204
3206
  };
3205
3207
  };
3206
- } & {
3207
- getProfile: (options?: Record<string, never> | undefined) => Promise<{
3208
- data: {
3209
- id: string;
3210
- first_name: string;
3211
- last_name: string;
3212
- full_name: string;
3213
- email: string;
3214
- email_confirmed: boolean;
3215
- timezone: string;
3216
- };
3217
- }>;
3218
- } & {
3219
- context: {
3220
- meta: {
3221
- getProfile: PluginMeta<unknown>;
3222
- };
3223
- };
3224
3208
  }>;
3225
- declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<object & {
3209
+ declare function createZapierSdk(options?: ZapierSdkOptions): {
3226
3210
  context: {
3227
3211
  meta: Record<string, PluginMeta>;
3228
3212
  hooks: MethodHooks;
@@ -5207,7 +5191,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
5207
5191
  maxMessages: zod.ZodOptional<zod.ZodNumber>;
5208
5192
  }, zod_v4_core.$strip>;
5209
5193
  resolvers: {
5210
- inbox: DynamicResolver<{
5194
+ inbox: DynamicResolver$1<{
5211
5195
  listTriggerInboxes: (options?: ({
5212
5196
  name?: string | undefined;
5213
5197
  status?: string | undefined;
@@ -5283,7 +5267,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
5283
5267
  maxDrainIntervalSeconds: zod.ZodOptional<zod.ZodNumber>;
5284
5268
  }, zod_v4_core.$strip>;
5285
5269
  resolvers: {
5286
- inbox: DynamicResolver<{
5270
+ inbox: DynamicResolver$1<{
5287
5271
  listTriggerInboxes: (options?: ({
5288
5272
  name?: string | undefined;
5289
5273
  status?: string | undefined;
@@ -6407,7 +6391,11 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
6407
6391
  };
6408
6392
  };
6409
6393
  } & {
6410
- getProfile: (options?: Record<string, never> | undefined) => Promise<{
6394
+ getRegistry: (options?: {
6395
+ package?: string;
6396
+ }) => RegistryResult;
6397
+ } & {
6398
+ getProfile: (input?: Record<string, never> | undefined) => Promise<{
6411
6399
  data: {
6412
6400
  id: string;
6413
6401
  first_name: string;
@@ -6419,13 +6407,9 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
6419
6407
  };
6420
6408
  }>;
6421
6409
  } & {
6422
- context: {
6423
- meta: {
6424
- getProfile: PluginMeta<unknown>;
6425
- };
6426
- };
6427
- }>;
6410
+ context: SdkContext;
6411
+ };
6428
6412
  interface ZapierSdk extends ReturnType<typeof createZapierSdk> {
6429
6413
  }
6430
6414
 
6431
- export { ActionEntry, AddActionEntryOptions, AddActionEntryResult, ApiClient, DrainTriggerInboxOptions, DynamicResolver, EventEmissionContext, FieldsetItem, Manifest, OutputFormatter, PaginatedSdkResult, PluginMeta, PositionalMetadata, ResolvedAppLocator, UpdateManifestEntryOptions, UpdateManifestEntryResult, WatchTriggerInboxOptions, WithAddPlugin, ZapierFetchInitOptions, type ZapierSdk, ZapierSdkApps, type ZapierSdkOptions, createZapierSdk, createZapierSdkStack, findManifestEntry, readManifestFromFile };
6415
+ export { ActionEntry, AddActionEntryOptions, AddActionEntryResult, ApiClient, DrainTriggerInboxOptions, DynamicResolver$1 as DynamicResolver, EventEmissionContext, FieldsetItem, Manifest, OutputFormatter, PaginatedSdkResult, PluginMeta, PositionalMetadata, ResolvedAppLocator, UpdateManifestEntryOptions, UpdateManifestEntryResult, WatchTriggerInboxOptions, ZapierFetchInitOptions, type ZapierSdk, ZapierSdkApps, type ZapierSdkOptions, createZapierSdk, createZapierSdkStack, findManifestEntry, readManifestFromFile };