@zapier/zapier-sdk 0.77.2 → 0.78.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-BgbftweS.mjs';
2
+ export { H as Action, cv as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, b7 as ActionItem, bJ as ActionKeyProperty, bh as ActionKeyPropertySchema, bK as ActionProperty, bi as ActionPropertySchema, aW as ActionResolverItem, bV as ActionTimeoutMsProperty, bt as ActionTimeoutMsPropertySchema, aX as ActionTypeItem, bI as ActionTypeProperty, bg as ActionTypePropertySchema, cr as ApiError, dX as ApiEvent, dc as ApiPluginOptions, de as ApiPluginProvides, I as App, cw as AppFactoryInput, b5 as AppItem, bG as AppKeyProperty, be as AppKeyPropertySchema, bH as AppProperty, bf as AppPropertySchema, f5 as ApplicationLifecycleEventData, cn as ApprovalStatus, cu as AppsPluginProvides, b_ as AppsProperty, by as AppsPropertySchema, al as ArrayResolver, dW as AuthEvent, dH as AuthMechanism, bO as AuthenticationIdProperty, bl as AuthenticationIdPropertySchema, fd as BaseEvent, aK as BaseSdkOptionsSchema, az as BatchOptions, ai as BoundFormatter, d0 as CONTEXT_CACHE_MAX_SIZE, c$ as CONTEXT_CACHE_TTL_MS, aO as CORE_ERROR_SYMBOL, av as CallerContext, K as Choice, e1 as ClientCredentialsObject, ec as ClientCredentialsObjectSchema, $ as Connection, ek as ConnectionEntry, ej as ConnectionEntrySchema, bM as ConnectionIdProperty, bk as ConnectionIdPropertySchema, b6 as ConnectionItem, bN as ConnectionProperty, bm as ConnectionPropertySchema, em as ConnectionsMap, el as ConnectionsMapSchema, eo as ConnectionsPluginProvides, c0 as ConnectionsProperty, bA as ConnectionsPropertySchema, a0 as ConnectionsResponse, aP as CoreErrorCode, cO as CreateClientCredentialsPluginProvides, eP as CreateTableFieldsPluginProvides, eJ as CreateTablePluginProvides, eX as CreateTableRecordsPluginProvides, d_ as Credentials, eh as CredentialsFunction, eg as CredentialsFunctionSchema, e0 as CredentialsObject, ee as CredentialsObjectSchema, ei as CredentialsSchema, et as DEFAULT_ACTION_TIMEOUT_MS, eC as DEFAULT_APPROVAL_TIMEOUT_MS, d9 as DEFAULT_CONFIG_PATH, eD as DEFAULT_MAX_APPROVAL_RETRIES, es as DEFAULT_PAGE_SIZE, bT as DebugProperty, br as DebugPropertySchema, cQ as DeleteClientCredentialsPluginProvides, eR as DeleteTableFieldsPluginProvides, eL as DeleteTablePluginProvides, eZ as DeleteTableRecordsPluginProvides, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ao as DynamicListResolver, ap as DynamicSearchResolver, f6 as EnhancedErrorEventData, c6 as ErrorOptions, dZ as EventCallback, f4 as EventContext, f1 as EventEmissionConfig, f3 as EventEmissionProvides, cy as FetchPluginProvides, J as Field, bZ as FieldsProperty, bx as FieldsPropertySchema, aq as FieldsResolver, y as FindFirstAuthenticationPluginProvides, cY as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, c_ as FindUniqueConnectionPluginProvides, ah as FormattedItem, aj as Formatter, aJ as FunctionDeprecation, aI as FunctionRegistryEntry, cI as GetActionInputFieldsSchemaPluginProvides, cU as GetActionPluginProvides, cS as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cW as GetConnectionPluginProvides, eH as GetTablePluginProvides, eT as GetTableRecordPluginProvides, b9 as InfoFieldItem, b8 as InputFieldItem, bL as InputFieldProperty, bj as InputFieldPropertySchema, bP as InputsProperty, bn as InputsPropertySchema, b4 as JsonSseMessage, c5 as LeaseLimitProperty, bF as LeaseLimitPropertySchema, c3 as LeaseProperty, bD as LeasePropertySchema, c4 as LeaseSecondsProperty, bE as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bQ as LimitProperty, bo as LimitPropertySchema, cG as ListActionInputFieldChoicesPluginProvides, cE as ListActionInputFieldsPluginProvides, cC as ListActionsPluginProvides, cA as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cM as ListClientCredentialsPluginProvides, cK as ListConnectionsPluginProvides, eN as ListTableFieldsPluginProvides, eV as ListTableRecordsPluginProvides, eF as ListTablesPluginProvides, dY as LoadingEvent, ew as MAX_CONCURRENCY_LIMIT, er as MAX_PAGE_LIMIT, da as ManifestEntry, d5 as ManifestPluginOptions, d8 as ManifestPluginProvides, fe as MethodCalledEvent, f7 as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, bR as OffsetProperty, bp as OffsetPropertySchema, bS as OutputProperty, bq as OutputPropertySchema, bd as PaginatedSdkFunction, bU as ParamsProperty, bs as ParamsPropertySchema, e2 as PkceCredentialsObject, ed as PkceCredentialsObjectSchema, aQ as Plugin, aR as PluginProvides, a$ as PollOptions, cl as RateLimitInfo, bX as RecordProperty, bv as RecordPropertySchema, bY as RecordsProperty, bw as RecordsPropertySchema, aE as RelayFetchSchema, aD as RelayRequestSchema, a_ as RequestOptions, d4 as RequestPluginProvides, dG as ResolveAuthTokenOptions, e7 as ResolveCredentialsOptions, dI as ResolvedAuth, d$ as ResolvedCredentials, ef as ResolvedCredentialsSchema, ak as Resolver, am as ResolverMetadata, ba as RootFieldItem, d2 as RunActionPluginProvides, dV as SdkEvent, bc as SdkPage, b3 as SseMessage, an as StaticResolver, bW as TableProperty, bu as TablePropertySchema, b$ as TablesProperty, bz as TablesPropertySchema, c2 as TriggerInboxNameProperty, bC as TriggerInboxNamePropertySchema, c1 as TriggerInboxProperty, bB as TriggerInboxPropertySchema, T as TriggerMessageStatus, e$ as UpdateTableRecordsPluginProvides, a1 as UserProfile, bb as UserProfileItem, ep as ZAPIER_BASE_URL, ey as ZAPIER_MAX_CONCURRENT_REQUESTS, eu as ZAPIER_MAX_NETWORK_RETRIES, ev as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cj as ZapierActionError, cc as ZapierApiError, cd as ZapierAppNotFoundError, co as ZapierApprovalError, ca as ZapierAuthenticationError, ch as ZapierBundleError, dR as ZapierCache, dS as ZapierCacheEntry, dT as ZapierCacheSetOptions, cg as ZapierConfigurationError, ck as ZapierConflictError, c7 as ZapierError, ce as ZapierNotFoundError, cm as ZapierRateLimitError, cp as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, cf as ZapierResourceNotFoundError, cs as ZapierSignal, ci as ZapierTimeoutError, c9 as ZapierUnknownError, c8 as ZapierValidationError, dh as actionKeyResolver, dg as actionTypeResolver, a6 as addPlugin, dd as apiPlugin, df as appKeyResolver, ct as appsPlugin, dj as authenticationIdGenericResolver, di as authenticationIdResolver, ay as batch, f8 as buildApplicationLifecycleEvent, aA as buildCapabilityMessage, fa as buildErrorEvent, f9 as buildErrorEventWithContext, fc as buildMethodCalledEvent, f0 as cleanupEventListeners, dJ as clearTokenCache, dn as clientCredentialsNameResolver, dp as clientIdResolver, aV as composePlugins, dj as connectionIdGenericResolver, di as connectionIdResolver, en as connectionsPlugin, fb as createBaseEvent, cN as createClientCredentialsPlugin, a5 as createCorePlugin, a3 as createFunction, dU as createMemoryCache, aG as createOptionsPlugin, aU as createPaginatedPluginMethod, aT as createPluginMethod, a4 as createPluginStack, a7 as createSdk, eO as createTableFieldsPlugin, eI as createTablePlugin, eW 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, cP as deleteClientCredentialsPlugin, eQ as deleteTableFieldsPlugin, eK as deleteTablePlugin, eY as deleteTableRecordsPlugin, dt as durableRunIdResolver, f2 as eventEmissionPlugin, cx as fetchPlugin, cX as findFirstConnectionPlugin, cZ as findUniqueConnectionPlugin, cq as formatErrorMessage, a8 as fromFunctionPlugin, ff as generateEventId, cH as getActionInputFieldsSchemaPlugin, cT as getActionPlugin, aY as getAgent, cR as getAppPlugin, ea as getBaseUrlFromCredentials, at as getCallerContext, fl as getCiPlatform, eb as getClientIdFromCredentials, cV as getConnectionPlugin, ab as getContext, aN as getCoreErrorCause, aM as getCoreErrorCode, fn as getCpuTime, fg as getCurrentTimestamp, fm as getMemoryUsage, b1 as getOrCreateApiClient, fi as getOsInfo, fj as getPlatformVersions, d6 as getPreferredManifestEntryKey, db as getProfilePlugin, fh as getReleaseId, eG as getTablePlugin, eS as getTableRecordPlugin, dN as getTokenFromCliLogin, fo as getTtyContext, ez as getZapierApprovalMode, eB as getZapierDefaultApprovalMode, eA as getZapierOpenAutoModeApprovalsInBrowser, eq as getZapierSdkService, dL as injectCliLogin, dm as inputFieldKeyResolver, dl as inputsAllOptionalResolver, dk as inputsResolver, dK as invalidateCachedToken, dQ as invalidateCredentialsToken, fk as isCi, dM as isCliLoginAvailable, e3 as isClientCredentials, aL as isCoreError, e6 as isCredentialsFunction, e5 as isCredentialsObject, b2 as isPermanentHttpError, e4 as isPkceCredentials, a2 as isPositional, cF as listActionInputFieldChoicesPlugin, cD as listActionInputFieldsPlugin, cB as listActionsPlugin, cz as listAppsPlugin, cL as listClientCredentialsPlugin, cJ as listConnectionsPlugin, eM as listTableFieldsPlugin, eU as listTableRecordsPlugin, eE as listTablesPlugin, aB as logDeprecation, d7 as manifestPlugin, ex as parseConcurrencyEnvVar, aZ as registryPlugin, d3 as requestPlugin, aC as resetDeprecationWarnings, dO as resolveAuth, dP as resolveAuthToken, e9 as resolveCredentials, e8 as resolveCredentialsFromEnv, d1 as runActionPlugin, ar as runInMethodScope, au as runWithCallerContext, as as runWithTelemetryContext, dz as tableFieldIdsResolver, dB as tableFieldsResolver, dE as tableFiltersResolver, dq as tableIdResolver, dA as tableNameResolver, dx as tableRecordIdResolver, dy as tableRecordIdsResolver, dC as tableRecordsResolver, dF as tableSortResolver, dD as tableUpdateRecordsResolver, aw as toSnakeCase, ax as toTitleCase, dr as triggerInboxResolver, dw as triggerMessagesResolver, e_ as updateTableRecordsPlugin, ds as workflowIdResolver, dv as workflowRunIdResolver, du as workflowVersionIdResolver, cb as zapierAdaptError, ag as zapierSdkPlugin } from './index-BgbftweS.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-BgbftweS.js';
2
+ export { H as Action, cv as ActionExecutionOptions, Q as ActionExecutionResult, V as ActionField, X as ActionFieldChoice, b7 as ActionItem, bJ as ActionKeyProperty, bh as ActionKeyPropertySchema, bK as ActionProperty, bi as ActionPropertySchema, aW as ActionResolverItem, bV as ActionTimeoutMsProperty, bt as ActionTimeoutMsPropertySchema, aX as ActionTypeItem, bI as ActionTypeProperty, bg as ActionTypePropertySchema, cr as ApiError, dX as ApiEvent, dc as ApiPluginOptions, de as ApiPluginProvides, I as App, cw as AppFactoryInput, b5 as AppItem, bG as AppKeyProperty, be as AppKeyPropertySchema, bH as AppProperty, bf as AppPropertySchema, f5 as ApplicationLifecycleEventData, cn as ApprovalStatus, cu as AppsPluginProvides, b_ as AppsProperty, by as AppsPropertySchema, al as ArrayResolver, dW as AuthEvent, dH as AuthMechanism, bO as AuthenticationIdProperty, bl as AuthenticationIdPropertySchema, fd as BaseEvent, aK as BaseSdkOptionsSchema, az as BatchOptions, ai as BoundFormatter, d0 as CONTEXT_CACHE_MAX_SIZE, c$ as CONTEXT_CACHE_TTL_MS, aO as CORE_ERROR_SYMBOL, av as CallerContext, K as Choice, e1 as ClientCredentialsObject, ec as ClientCredentialsObjectSchema, $ as Connection, ek as ConnectionEntry, ej as ConnectionEntrySchema, bM as ConnectionIdProperty, bk as ConnectionIdPropertySchema, b6 as ConnectionItem, bN as ConnectionProperty, bm as ConnectionPropertySchema, em as ConnectionsMap, el as ConnectionsMapSchema, eo as ConnectionsPluginProvides, c0 as ConnectionsProperty, bA as ConnectionsPropertySchema, a0 as ConnectionsResponse, aP as CoreErrorCode, cO as CreateClientCredentialsPluginProvides, eP as CreateTableFieldsPluginProvides, eJ as CreateTablePluginProvides, eX as CreateTableRecordsPluginProvides, d_ as Credentials, eh as CredentialsFunction, eg as CredentialsFunctionSchema, e0 as CredentialsObject, ee as CredentialsObjectSchema, ei as CredentialsSchema, et as DEFAULT_ACTION_TIMEOUT_MS, eC as DEFAULT_APPROVAL_TIMEOUT_MS, d9 as DEFAULT_CONFIG_PATH, eD as DEFAULT_MAX_APPROVAL_RETRIES, es as DEFAULT_PAGE_SIZE, bT as DebugProperty, br as DebugPropertySchema, cQ as DeleteClientCredentialsPluginProvides, eR as DeleteTableFieldsPluginProvides, eL as DeleteTablePluginProvides, eZ as DeleteTableRecordsPluginProvides, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ao as DynamicListResolver, ap as DynamicSearchResolver, f6 as EnhancedErrorEventData, c6 as ErrorOptions, dZ as EventCallback, f4 as EventContext, f1 as EventEmissionConfig, f3 as EventEmissionProvides, cy as FetchPluginProvides, J as Field, bZ as FieldsProperty, bx as FieldsPropertySchema, aq as FieldsResolver, y as FindFirstAuthenticationPluginProvides, cY as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, c_ as FindUniqueConnectionPluginProvides, ah as FormattedItem, aj as Formatter, aJ as FunctionDeprecation, aI as FunctionRegistryEntry, cI as GetActionInputFieldsSchemaPluginProvides, cU as GetActionPluginProvides, cS as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cW as GetConnectionPluginProvides, eH as GetTablePluginProvides, eT as GetTableRecordPluginProvides, b9 as InfoFieldItem, b8 as InputFieldItem, bL as InputFieldProperty, bj as InputFieldPropertySchema, bP as InputsProperty, bn as InputsPropertySchema, b4 as JsonSseMessage, c5 as LeaseLimitProperty, bF as LeaseLimitPropertySchema, c3 as LeaseProperty, bD as LeasePropertySchema, c4 as LeaseSecondsProperty, bE as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bQ as LimitProperty, bo as LimitPropertySchema, cG as ListActionInputFieldChoicesPluginProvides, cE as ListActionInputFieldsPluginProvides, cC as ListActionsPluginProvides, cA as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cM as ListClientCredentialsPluginProvides, cK as ListConnectionsPluginProvides, eN as ListTableFieldsPluginProvides, eV as ListTableRecordsPluginProvides, eF as ListTablesPluginProvides, dY as LoadingEvent, ew as MAX_CONCURRENCY_LIMIT, er as MAX_PAGE_LIMIT, da as ManifestEntry, d5 as ManifestPluginOptions, d8 as ManifestPluginProvides, fe as MethodCalledEvent, f7 as MethodCalledEventData, N as Need, Y as NeedsRequest, _ as NeedsResponse, bR as OffsetProperty, bp as OffsetPropertySchema, bS as OutputProperty, bq as OutputPropertySchema, bd as PaginatedSdkFunction, bU as ParamsProperty, bs as ParamsPropertySchema, e2 as PkceCredentialsObject, ed as PkceCredentialsObjectSchema, aQ as Plugin, aR as PluginProvides, a$ as PollOptions, cl as RateLimitInfo, bX as RecordProperty, bv as RecordPropertySchema, bY as RecordsProperty, bw as RecordsPropertySchema, aE as RelayFetchSchema, aD as RelayRequestSchema, a_ as RequestOptions, d4 as RequestPluginProvides, dG as ResolveAuthTokenOptions, e7 as ResolveCredentialsOptions, dI as ResolvedAuth, d$ as ResolvedCredentials, ef as ResolvedCredentialsSchema, ak as Resolver, am as ResolverMetadata, ba as RootFieldItem, d2 as RunActionPluginProvides, dV as SdkEvent, bc as SdkPage, b3 as SseMessage, an as StaticResolver, bW as TableProperty, bu as TablePropertySchema, b$ as TablesProperty, bz as TablesPropertySchema, c2 as TriggerInboxNameProperty, bC as TriggerInboxNamePropertySchema, c1 as TriggerInboxProperty, bB as TriggerInboxPropertySchema, T as TriggerMessageStatus, e$ as UpdateTableRecordsPluginProvides, a1 as UserProfile, bb as UserProfileItem, ep as ZAPIER_BASE_URL, ey as ZAPIER_MAX_CONCURRENT_REQUESTS, eu as ZAPIER_MAX_NETWORK_RETRIES, ev as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, cj as ZapierActionError, cc as ZapierApiError, cd as ZapierAppNotFoundError, co as ZapierApprovalError, ca as ZapierAuthenticationError, ch as ZapierBundleError, dR as ZapierCache, dS as ZapierCacheEntry, dT as ZapierCacheSetOptions, cg as ZapierConfigurationError, ck as ZapierConflictError, c7 as ZapierError, ce as ZapierNotFoundError, cm as ZapierRateLimitError, cp as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, cf as ZapierResourceNotFoundError, cs as ZapierSignal, ci as ZapierTimeoutError, c9 as ZapierUnknownError, c8 as ZapierValidationError, dh as actionKeyResolver, dg as actionTypeResolver, a6 as addPlugin, dd as apiPlugin, df as appKeyResolver, ct as appsPlugin, dj as authenticationIdGenericResolver, di as authenticationIdResolver, ay as batch, f8 as buildApplicationLifecycleEvent, aA as buildCapabilityMessage, fa as buildErrorEvent, f9 as buildErrorEventWithContext, fc as buildMethodCalledEvent, f0 as cleanupEventListeners, dJ as clearTokenCache, dn as clientCredentialsNameResolver, dp as clientIdResolver, aV as composePlugins, dj as connectionIdGenericResolver, di as connectionIdResolver, en as connectionsPlugin, fb as createBaseEvent, cN as createClientCredentialsPlugin, a5 as createCorePlugin, a3 as createFunction, dU as createMemoryCache, aG as createOptionsPlugin, aU as createPaginatedPluginMethod, aT as createPluginMethod, a4 as createPluginStack, a7 as createSdk, eO as createTableFieldsPlugin, eI as createTablePlugin, eW 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, cP as deleteClientCredentialsPlugin, eQ as deleteTableFieldsPlugin, eK as deleteTablePlugin, eY as deleteTableRecordsPlugin, dt as durableRunIdResolver, f2 as eventEmissionPlugin, cx as fetchPlugin, cX as findFirstConnectionPlugin, cZ as findUniqueConnectionPlugin, cq as formatErrorMessage, a8 as fromFunctionPlugin, ff as generateEventId, cH as getActionInputFieldsSchemaPlugin, cT as getActionPlugin, aY as getAgent, cR as getAppPlugin, ea as getBaseUrlFromCredentials, at as getCallerContext, fl as getCiPlatform, eb as getClientIdFromCredentials, cV as getConnectionPlugin, ab as getContext, aN as getCoreErrorCause, aM as getCoreErrorCode, fn as getCpuTime, fg as getCurrentTimestamp, fm as getMemoryUsage, b1 as getOrCreateApiClient, fi as getOsInfo, fj as getPlatformVersions, d6 as getPreferredManifestEntryKey, db as getProfilePlugin, fh as getReleaseId, eG as getTablePlugin, eS as getTableRecordPlugin, dN as getTokenFromCliLogin, fo as getTtyContext, ez as getZapierApprovalMode, eB as getZapierDefaultApprovalMode, eA as getZapierOpenAutoModeApprovalsInBrowser, eq as getZapierSdkService, dL as injectCliLogin, dm as inputFieldKeyResolver, dl as inputsAllOptionalResolver, dk as inputsResolver, dK as invalidateCachedToken, dQ as invalidateCredentialsToken, fk as isCi, dM as isCliLoginAvailable, e3 as isClientCredentials, aL as isCoreError, e6 as isCredentialsFunction, e5 as isCredentialsObject, b2 as isPermanentHttpError, e4 as isPkceCredentials, a2 as isPositional, cF as listActionInputFieldChoicesPlugin, cD as listActionInputFieldsPlugin, cB as listActionsPlugin, cz as listAppsPlugin, cL as listClientCredentialsPlugin, cJ as listConnectionsPlugin, eM as listTableFieldsPlugin, eU as listTableRecordsPlugin, eE as listTablesPlugin, aB as logDeprecation, d7 as manifestPlugin, ex as parseConcurrencyEnvVar, aZ as registryPlugin, d3 as requestPlugin, aC as resetDeprecationWarnings, dO as resolveAuth, dP as resolveAuthToken, e9 as resolveCredentials, e8 as resolveCredentialsFromEnv, d1 as runActionPlugin, ar as runInMethodScope, au as runWithCallerContext, as as runWithTelemetryContext, dz as tableFieldIdsResolver, dB as tableFieldsResolver, dE as tableFiltersResolver, dq as tableIdResolver, dA as tableNameResolver, dx as tableRecordIdResolver, dy as tableRecordIdsResolver, dC as tableRecordsResolver, dF as tableSortResolver, dD as tableUpdateRecordsResolver, aw as toSnakeCase, ax as toTitleCase, dr as triggerInboxResolver, dw as triggerMessagesResolver, e_ as updateTableRecordsPlugin, ds as workflowIdResolver, dv as workflowRunIdResolver, du as workflowVersionIdResolver, cb as zapierAdaptError, ag as zapierSdkPlugin } from './index-BgbftweS.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 };