import { B as BaseSdkOptions, W as WithAddPlugin, P as PluginMeta, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, M as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, a as UpdateManifestEntryResult, b as AddActionEntryOptions, c as AddActionEntryResult, d as ActionEntry, f as findManifestEntry, r as readManifestFromFile, C as CapabilitiesContext, e as PaginatedSdkResult, F as FieldsetItem, g as PositionalMetadata, h as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, i as DynamicResolver, j as WatchTriggerInboxOptions, k as ActionProxy, l as ZapierSdkApps } from './index-JhNxS_mq.mjs'; export { u as Action, bZ as ActionExecutionOptions, y as ActionExecutionResult, z as ActionField, H as ActionFieldChoice, aB as ActionItem, bc as ActionKeyProperty, aM as ActionKeyPropertySchema, bd as ActionProperty, aN as ActionPropertySchema, as as ActionResolverItem, bo as ActionTimeoutMsProperty, aY as ActionTimeoutMsPropertySchema, at as ActionTypeItem, bb as ActionTypeProperty, aL as ActionTypePropertySchema, bB as ApiError, dm as ApiEvent, cH as ApiPluginOptions, cJ as ApiPluginProvides, v as App, b_ as AppFactoryInput, az as AppItem, b9 as AppKeyProperty, aJ as AppKeyPropertySchema, ba as AppProperty, aK as AppPropertySchema, ew as ApplicationLifecycleEventData, bS as ApprovalStatus, bY as AppsPluginProvides, bt as AppsProperty, b1 as AppsPropertySchema, a0 as ArrayResolver, dl as AuthEvent, bh as AuthenticationIdProperty, aQ as AuthenticationIdPropertySchema, eE as BaseEvent, al as BaseSdkOptionsSchema, aa as BatchOptions, cu as CONTEXT_CACHE_MAX_SIZE, ct as CONTEXT_CACHE_TTL_MS, x as Choice, dt as ClientCredentialsObject, dE as ClientCredentialsObjectSchema, K as Connection, dM as ConnectionEntry, dL as ConnectionEntrySchema, bf as ConnectionIdProperty, aP as ConnectionIdPropertySchema, aA as ConnectionItem, bg as ConnectionProperty, aR as ConnectionPropertySchema, dO as ConnectionsMap, dN as ConnectionsMapSchema, dQ as ConnectionsPluginProvides, bv as ConnectionsProperty, b3 as ConnectionsPropertySchema, O as ConnectionsResponse, cg as CreateClientCredentialsPluginProvides, ee as CreateTableFieldsPluginProvides, e8 as CreateTablePluginProvides, em as CreateTableRecordsPluginProvides, dq as Credentials, dJ as CredentialsFunction, dI as CredentialsFunctionSchema, ds as CredentialsObject, dG as CredentialsObjectSchema, dK as CredentialsSchema, dV as DEFAULT_ACTION_TIMEOUT_MS, e1 as DEFAULT_APPROVAL_TIMEOUT_MS, cD as DEFAULT_CONFIG_PATH, e2 as DEFAULT_MAX_APPROVAL_RETRIES, dU as DEFAULT_PAGE_SIZE, bm as DebugProperty, aW as DebugPropertySchema, ci as DeleteClientCredentialsPluginProvides, eg as DeleteTableFieldsPluginProvides, ea as DeleteTablePluginProvides, eo as DeleteTableRecordsPluginProvides, o as DrainTriggerInboxCallback, p as DrainTriggerInboxErrorObserver, a3 as DynamicListResolver, a4 as DynamicSearchResolver, ex as EnhancedErrorEventData, bC as ErrorOptions, dp as EventCallback, ev as EventContext, es as EventEmissionConfig, eu as EventEmissionProvides, c0 as FetchPluginProvides, w as Field, bs as FieldsProperty, b0 as FieldsPropertySchema, a5 as FieldsResolver, s as FindFirstAuthenticationPluginProvides, cq as FindFirstConnectionPluginProvides, t as FindUniqueAuthenticationPluginProvides, cs as FindUniqueConnectionPluginProvides, Y as FormatMetadata, X as FormattedItem, ak as FunctionDeprecation, aG as FunctionOptions, aj as FunctionRegistryEntry, ca as GetActionInputFieldsSchemaPluginProvides, cm as GetActionPluginProvides, ck as GetAppPluginProvides, G as GetAuthenticationPluginProvides, co as GetConnectionPluginProvides, cG as GetProfilePluginProvides, e6 as GetTablePluginProvides, ei as GetTableRecordPluginProvides, aD as InfoFieldItem, aC as InputFieldItem, be as InputFieldProperty, aO as InputFieldPropertySchema, bi as InputsProperty, aS as InputsPropertySchema, bA as LeaseLimitProperty, b8 as LeaseLimitPropertySchema, by as LeaseProperty, b6 as LeasePropertySchema, bz as LeaseSecondsProperty, b7 as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bj as LimitProperty, aT as LimitPropertySchema, c8 as ListActionInputFieldChoicesPluginProvides, c6 as ListActionInputFieldsPluginProvides, c4 as ListActionsPluginProvides, c2 as ListAppsPluginProvides, q as ListAuthenticationsPluginProvides, ce as ListClientCredentialsPluginProvides, cc as ListConnectionsPluginProvides, ec as ListTableFieldsPluginProvides, ek as ListTableRecordsPluginProvides, e4 as ListTablesPluginProvides, dn as LoadingEvent, dY as MAX_CONCURRENCY_LIMIT, dT as MAX_PAGE_LIMIT, cE as ManifestEntry, cz as ManifestPluginOptions, cC as ManifestPluginProvides, eF as MethodCalledEvent, ey as MethodCalledEventData, N as Need, I as NeedsRequest, J as NeedsResponse, bk as OffsetProperty, aU as OffsetPropertySchema, _ as OutputFormatter, bl as OutputProperty, aV as OutputPropertySchema, aI as PaginatedSdkFunction, bn as ParamsProperty, aX as ParamsPropertySchema, du as PkceCredentialsObject, dF as PkceCredentialsObjectSchema, am as Plugin, an as PluginProvides, aw as PollOptions, bQ as RateLimitInfo, bq as RecordProperty, a_ as RecordPropertySchema, br as RecordsProperty, a$ as RecordsPropertySchema, af as RelayFetchSchema, ae as RelayRequestSchema, av as RequestOptions, cy as RequestPluginProvides, d8 as ResolveAuthTokenOptions, dz as ResolveCredentialsOptions, dr as ResolvedCredentials, dH as ResolvedCredentialsSchema, $ as Resolver, a1 as ResolverMetadata, aE as RootFieldItem, cw as RunActionPluginProvides, dk as SdkEvent, aH as SdkPage, a2 as StaticResolver, bp as TableProperty, aZ as TablePropertySchema, bu as TablesProperty, b2 as TablesPropertySchema, bx as TriggerInboxNameProperty, b5 as TriggerInboxNamePropertySchema, bw as TriggerInboxProperty, b4 as TriggerInboxPropertySchema, T as TriggerMessageStatus, eq as UpdateTableRecordsPluginProvides, Q as UserProfile, aF as UserProfileItem, dR as ZAPIER_BASE_URL, d_ as ZAPIER_MAX_CONCURRENT_REQUESTS, dW as ZAPIER_MAX_NETWORK_RETRIES, dX as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, m as ZapierAbortDrainSignal, bO as ZapierActionError, bE as ZapierApiError, bF as ZapierAppNotFoundError, bT as ZapierApprovalError, bI as ZapierAuthenticationError, bM as ZapierBundleError, dg as ZapierCache, dh as ZapierCacheEntry, di as ZapierCacheSetOptions, bL as ZapierConfigurationError, bP as ZapierConflictError, bD as ZapierError, bJ as ZapierNotFoundError, bR as ZapierRateLimitError, bU as ZapierRelayError, n as ZapierReleaseTriggerMessageSignal, bK as ZapierResourceNotFoundError, bW as ZapierSignal, bN as ZapierTimeoutError, bH as ZapierUnknownError, bG as ZapierValidationError, cM as actionKeyResolver, cL as actionTypeResolver, cI as apiPlugin, cK as appKeyResolver, bX as appsPlugin, cO as authenticationIdGenericResolver, cN as authenticationIdResolver, a9 as batch, ez as buildApplicationLifecycleEvent, ab as buildCapabilityMessage, eB as buildErrorEvent, eA as buildErrorEventWithContext, eD as buildMethodCalledEvent, er as cleanupEventListeners, d9 as clearTokenCache, cS as clientCredentialsNameResolver, cT as clientIdResolver, ar as composePlugins, cO as connectionIdGenericResolver, cN as connectionIdResolver, dP as connectionsPlugin, eC as createBaseEvent, cf as createClientCredentialsPlugin, V as createFunction, dj as createMemoryCache, ai as createOptionsPlugin, aq as createPaginatedPluginMethod, ap as createPluginMethod, ah as createSdk, ed as createTableFieldsPlugin, e7 as createTablePlugin, el as createTableRecordsPlugin, ax as createZapierApi, ag as createZapierSdkWithoutRegistry, ao as definePlugin, ch as deleteClientCredentialsPlugin, ef as deleteTableFieldsPlugin, e9 as deleteTablePlugin, en as deleteTableRecordsPlugin, cX as durableRunIdResolver, et as eventEmissionPlugin, b$ as fetchPlugin, cp as findFirstConnectionPlugin, cr as findUniqueConnectionPlugin, bV as formatErrorMessage, eG as generateEventId, c9 as getActionInputFieldsSchemaPlugin, cl as getActionPlugin, cj as getAppPlugin, dC as getBaseUrlFromCredentials, eM as getCiPlatform, dD as getClientIdFromCredentials, cn as getConnectionPlugin, eO as getCpuTime, eH as getCurrentTimestamp, eN as getMemoryUsage, ay as getOrCreateApiClient, eJ as getOsInfo, eK as getPlatformVersions, cA as getPreferredManifestEntryKey, cF as getProfilePlugin, eI as getReleaseId, e5 as getTablePlugin, eh as getTableRecordPlugin, dd as getTokenFromCliLogin, d$ as getZapierApprovalMode, e0 as getZapierDefaultApprovalMode, dS as getZapierSdkService, db as injectCliLogin, cR as inputFieldKeyResolver, cQ as inputsAllOptionalResolver, cP as inputsResolver, da as invalidateCachedToken, df as invalidateCredentialsToken, eL as isCi, dc as isCliLoginAvailable, dv as isClientCredentials, dy as isCredentialsFunction, dx as isCredentialsObject, dw as isPkceCredentials, S as isPositional, c7 as listActionInputFieldChoicesPlugin, c5 as listActionInputFieldsPlugin, c3 as listActionsPlugin, c1 as listAppsPlugin, cd as listClientCredentialsPlugin, cb as listConnectionsPlugin, eb as listTableFieldsPlugin, ej as listTableRecordsPlugin, e3 as listTablesPlugin, ac as logDeprecation, cB as manifestPlugin, dZ as parseConcurrencyEnvVar, au as registryPlugin, cx as requestPlugin, ad as resetDeprecationWarnings, de as resolveAuthToken, dB as resolveCredentials, dA as resolveCredentialsFromEnv, cv as runActionPlugin, a6 as runWithTelemetryContext, d1 as tableFieldIdsResolver, d3 as tableFieldsResolver, d6 as tableFiltersResolver, cU as tableIdResolver, d2 as tableNameResolver, c$ as tableRecordIdResolver, d0 as tableRecordIdsResolver, d4 as tableRecordsResolver, d7 as tableSortResolver, d5 as tableUpdateRecordsResolver, a7 as toSnakeCase, a8 as toTitleCase, cV as triggerInboxResolver, c_ as triggerMessagesResolver, ep as updateTableRecordsPlugin, cW as workflowIdResolver, cZ as workflowRunIdResolver, cY as workflowVersionIdResolver } from './index-JhNxS_mq.mjs'; import * as zod_v4_core from 'zod/v4/core'; import * as zod from 'zod'; import '@zapier/zapier-sdk-core/v0/schemas/connections'; import '@zapier/policy-context'; import '@zapier/zapier-sdk-core/v0/schemas/apps'; import '@zapier/zapier-sdk-cli/login'; interface ZapierSdkOptions extends BaseSdkOptions { } declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{ context: { meta: Record; }; } & { context: { options: ZapierSdkOptions$1; }; } & { context: EventEmissionContext; } & { context: { api: ApiClient; resolveCredentials: () => Promise; }; } & { context: { getResolvedManifest: () => Promise; getVersionedImplementationId: (appKey: string) => Promise; resolveAppKeys: ({ appKeys }: { appKeys: string[]; }) => Promise; updateManifestEntry: (options: UpdateManifestEntryOptions) => Promise; addActionEntry: (options: AddActionEntryOptions) => Promise; findActionEntry: ({ name, manifest, }: { name: string; manifest: Manifest; }) => ActionEntry | null; listActionEntries: ({ configPath, }?: { configPath?: string; }) => Promise>; deleteActionEntry: ({ name, configPath, skipWrite, }: { name: string; configPath?: string; skipWrite?: boolean; }) => Promise; hasActionEntry: ({ name, manifest, }: { name: string; manifest: Manifest; }) => boolean; findManifestEntry: typeof findManifestEntry; readManifestFromFile: typeof readManifestFromFile; getManifestConnections: () => Promise | null>; }; } & { context: CapabilitiesContext; } & { context: { resolveConnection: (name: string) => Promise<{ connectionId: string | number; } | undefined>; getConnectionsMap: () => Promise | null>; }; } & { listApps: (options?: ({ search?: string | undefined; apps?: string[] | undefined; appKeys?: string[] | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ slug: string; title: string; key: string; implementation_id: string; description?: string | undefined; is_hidden?: boolean | undefined; auth_type?: string | undefined; actions?: { read?: number | undefined; read_bulk?: number | undefined; write?: number | undefined; search?: number | undefined; search_or_write?: number | undefined; search_and_write?: number | undefined; filter?: number | undefined; } | undefined; is_deprecated?: boolean | undefined; is_beta?: boolean | undefined; is_premium?: boolean | undefined; age_in_days?: number | undefined; banner?: string | undefined; categories?: { id: number; name: string; slug: string; }[] | undefined; images?: { url_16x16?: string | undefined; url_32x32?: string | undefined; url_64x64?: string | undefined; url_128x128?: string | undefined; } | undefined; popularity?: number | undefined; has_filters?: boolean | undefined; has_reads?: boolean | undefined; has_searches?: boolean | undefined; has_searches_or_writes?: boolean | undefined; has_upfront_fields?: boolean | undefined; has_writes?: boolean | undefined; is_built_in?: boolean | undefined; is_featured?: boolean | undefined; is_invite?: boolean | undefined; is_public?: boolean | undefined; is_upcoming?: boolean | undefined; visibility?: string | undefined; primary_color?: string | undefined; secondary_color?: string | undefined; classification?: string | undefined; api_docs_url?: string | undefined; image?: string | undefined; version?: string | undefined; }>; } & { context: { meta: { listApps: PluginMeta; }; }; } & { getApp: (options?: { app: string; } | { appKey: string; } | undefined) => Promise<{ data: { slug: string; title: string; key: string; implementation_id: string; description?: string | undefined; is_hidden?: boolean | undefined; auth_type?: string | undefined; actions?: { read?: number | undefined; read_bulk?: number | undefined; write?: number | undefined; search?: number | undefined; search_or_write?: number | undefined; search_and_write?: number | undefined; filter?: number | undefined; } | undefined; is_deprecated?: boolean | undefined; is_beta?: boolean | undefined; is_premium?: boolean | undefined; age_in_days?: number | undefined; banner?: string | undefined; categories?: { id: number; name: string; slug: string; }[] | undefined; images?: { url_16x16?: string | undefined; url_32x32?: string | undefined; url_64x64?: string | undefined; url_128x128?: string | undefined; } | undefined; popularity?: number | undefined; has_filters?: boolean | undefined; has_reads?: boolean | undefined; has_searches?: boolean | undefined; has_searches_or_writes?: boolean | undefined; has_upfront_fields?: boolean | undefined; has_writes?: boolean | undefined; is_built_in?: boolean | undefined; is_featured?: boolean | undefined; is_invite?: boolean | undefined; is_public?: boolean | undefined; is_upcoming?: boolean | undefined; visibility?: string | undefined; primary_color?: string | undefined; secondary_color?: string | undefined; classification?: string | undefined; api_docs_url?: string | undefined; image?: string | undefined; version?: string | undefined; }; }>; } & { context: { meta: { getApp: PluginMeta; }; }; } & { listActions: (options?: (({ app: string; actionType?: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run" | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } | { appKey: string; actionType?: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run" | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; }) & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ description: string; key: string; app_key: string; action_type: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; title: string; type: "action"; id?: string | undefined; is_hidden?: boolean | undefined; is_important?: boolean | undefined; app_version?: string | undefined; }>; } & { context: { meta: { listActions: PluginMeta; }; }; } & { getAction: (options?: { app: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; action: string; } | { appKey: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; actionKey: string; } | undefined) => Promise<{ data: { description: string; key: string; app_key: string; action_type: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; title: string; type: "action"; id?: string | undefined; is_hidden?: boolean | undefined; is_important?: boolean | undefined; app_version?: string | undefined; }; }>; } & { context: { meta: { getAction: PluginMeta; }; }; } & { listActionInputFields: (options?: (({ app: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; action: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } | { appKey: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; actionKey: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; }) & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ key: string; type: "input_field"; default_value: string; depends_on: string[]; description: string; invalidates_input_fields: boolean; is_required: boolean; placeholder: string; title: string; value_type: string; format?: string | undefined; items?: { type: string; } | undefined; } | { key: string; type: "info_field"; description: string; title?: string | undefined; } | FieldsetItem>; } & { context: { meta: { listActionInputFields: PluginMeta; }; }; } & { getActionInputFieldsSchema: (options?: { app: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; action: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; } | { appKey: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; actionKey: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; } | undefined) => Promise<{ data: Record; }>; } & { context: { meta: { getActionInputFieldsSchema: PluginMeta; }; }; } & { listActionInputFieldChoices: (options?: (({ app: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; action: string; inputField: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; page?: number | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } | { appKey: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; actionKey: string; inputFieldKey: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; page?: number | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; }) & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ key?: string | undefined; label?: string | undefined; sample?: string | undefined; value?: string | undefined; }>; } & { context: { meta: { listActionInputFieldChoices: PluginMeta; }; }; } & { listInputFields: (options?: (({ app: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; action: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } | { appKey: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; actionKey: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; }) & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ key: string; type: "input_field"; default_value: string; depends_on: string[]; description: string; invalidates_input_fields: boolean; is_required: boolean; placeholder: string; title: string; value_type: string; format?: string | undefined; items?: { type: string; } | undefined; } | { key: string; type: "info_field"; description: string; title?: string | undefined; } | FieldsetItem>; context: { meta: { listInputFields: { categories: string[]; type: "list"; itemType: string; inputSchema: zod.ZodUnion; action: zod.ZodString & { _def: zod_v4_core.$ZodStringDef & PositionalMetadata; }; connection: zod.ZodOptional>; connectionId: zod.ZodOptional>>; authenticationId: zod.ZodOptional>>; inputs: zod.ZodOptional>; pageSize: zod.ZodOptional; maxItems: zod.ZodOptional; cursor: zod.ZodOptional; }, zod_v4_core.$strip>, zod.ZodObject<{ appKey: zod.ZodString & { _def: zod_v4_core.$ZodStringDef & PositionalMetadata; }; actionType: zod.ZodEnum<{ filter: "filter"; search: "search"; read: "read"; read_bulk: "read_bulk"; write: "write"; search_or_write: "search_or_write"; search_and_write: "search_and_write"; run: "run"; }>; actionKey: zod.ZodString; connection: zod.ZodOptional>; connectionId: zod.ZodOptional>>; authenticationId: zod.ZodOptional>>; inputs: zod.ZodOptional>; pageSize: zod.ZodOptional; maxItems: zod.ZodOptional; cursor: zod.ZodOptional; }, zod_v4_core.$strip>]>; outputSchema: zod.ZodUnion; default_value: zod.ZodString; depends_on: zod.ZodArray; description: zod.ZodString; invalidates_input_fields: zod.ZodBoolean; is_required: zod.ZodBoolean; placeholder: zod.ZodString; title: zod.ZodString; value_type: zod.ZodString; format: zod.ZodOptional; items: zod.ZodOptional>; }, zod_v4_core.$strip>, zod.ZodObject<{ key: zod.ZodString; type: zod.ZodLiteral<"info_field">; description: zod.ZodString; title: zod.ZodOptional; }, zod_v4_core.$strip>, zod.ZodType>]>; defaultPageSize: number; }; }; }; } & { getInputFieldsSchema: (options?: { app: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; action: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; } | { appKey: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; actionKey: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; } | undefined) => Promise<{ data: Record; }>; context: { meta: { getInputFieldsSchema: { categories: string[]; type: "function"; inputSchema: zod.ZodUnion; action: zod.ZodString & { _def: zod_v4_core.$ZodStringDef & PositionalMetadata; }; connection: zod.ZodOptional>; connectionId: zod.ZodOptional>>; authenticationId: zod.ZodOptional>>; inputs: zod.ZodOptional>; }, zod_v4_core.$strip>, zod.ZodObject<{ appKey: zod.ZodString & { _def: zod_v4_core.$ZodStringDef & PositionalMetadata; }; actionType: zod.ZodEnum<{ filter: "filter"; search: "search"; read: "read"; read_bulk: "read_bulk"; write: "write"; search_or_write: "search_or_write"; search_and_write: "search_and_write"; run: "run"; }>; actionKey: zod.ZodString; connection: zod.ZodOptional>; connectionId: zod.ZodOptional>>; authenticationId: zod.ZodOptional>>; inputs: zod.ZodOptional>; }, zod_v4_core.$strip>]>; }; }; }; } & { listInputFieldChoices: (options?: (({ app: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; action: string; inputField: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; page?: number | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } | { appKey: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; actionKey: string; inputFieldKey: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; page?: number | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; }) & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ key?: string | undefined; label?: string | undefined; sample?: string | undefined; value?: string | undefined; }>; context: { meta: { listInputFieldChoices: { categories: string[]; type: "list"; itemType: string; inputSchema: zod.ZodUnion; action: zod.ZodString & { _def: zod_v4_core.$ZodStringDef & PositionalMetadata; }; inputField: zod.ZodString & { _def: zod_v4_core.$ZodStringDef & PositionalMetadata; }; connection: zod.ZodOptional>; connectionId: zod.ZodOptional>>; authenticationId: zod.ZodOptional>>; inputs: zod.ZodOptional>; page: zod.ZodOptional; pageSize: zod.ZodOptional; maxItems: zod.ZodOptional; cursor: zod.ZodOptional; }, zod_v4_core.$strip>, zod.ZodObject<{ appKey: zod.ZodString & { _def: zod_v4_core.$ZodStringDef & PositionalMetadata; }; actionType: zod.ZodEnum<{ filter: "filter"; search: "search"; read: "read"; read_bulk: "read_bulk"; write: "write"; search_or_write: "search_or_write"; search_and_write: "search_and_write"; run: "run"; }>; actionKey: zod.ZodString; inputFieldKey: zod.ZodString; connection: zod.ZodOptional>; connectionId: zod.ZodOptional>>; authenticationId: zod.ZodOptional>>; inputs: zod.ZodOptional>; page: zod.ZodOptional; pageSize: zod.ZodOptional; maxItems: zod.ZodOptional; cursor: zod.ZodOptional; }, zod_v4_core.$strip>]>; outputSchema: zod.ZodObject<{ key: zod.ZodOptional; label: zod.ZodOptional; sample: zod.ZodOptional; value: zod.ZodOptional; }, zod_v4_core.$strip>; defaultPageSize: number; }; }; }; } & { runAction: (options?: (({ app: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; action: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; timeoutMs?: number | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } | { appKey: string; actionType: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; actionKey: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; timeoutMs?: number | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; }) & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult; } & { context: { meta: { runAction: PluginMeta; }; }; } & { listConnections: (options?: ({ title?: string | undefined; search?: string | undefined; owner?: string | undefined; app?: string | undefined; appKey?: string | undefined; connections?: string[] | undefined; connectionIds?: string[] | undefined; authenticationIds?: string[] | undefined; account?: string | undefined; accountId?: string | undefined; includeShared?: boolean | undefined; isExpired?: boolean | undefined; expired?: boolean | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ date: string; is_invite_only: boolean; is_private: boolean; shared_with_all: boolean; id: string; account_id: string; title?: string | null | undefined; lastchanged?: string | undefined; destination_selected_api?: string | null | undefined; is_stale?: string | undefined; is_shared?: string | undefined; marked_stale_at?: string | null | undefined; label?: string | null | undefined; identifier?: string | null | undefined; url?: string | undefined; groups?: Record[] | undefined; members?: string | undefined; permissions?: Record | undefined; public_id?: string | undefined; account_public_id?: string | undefined; customuser_public_id?: string | undefined; implementation_id?: string | undefined; profile_id?: string | undefined; is_expired?: string | undefined; expired_at?: string | null | undefined; app_key?: string | undefined; app_version?: string | undefined; }>; } & { context: { meta: { listConnections: PluginMeta; }; }; } & { getConnection: (options?: { connection?: string | number | undefined; connectionId?: string | number | undefined; authenticationId?: string | number | undefined; } | undefined) => Promise<{ data: { date: string; is_invite_only: boolean; is_private: boolean; shared_with_all: boolean; id: string; account_id: string; title?: string | null | undefined; lastchanged?: string | undefined; destination_selected_api?: string | null | undefined; is_stale?: string | undefined; is_shared?: string | undefined; marked_stale_at?: string | null | undefined; label?: string | null | undefined; identifier?: string | null | undefined; url?: string | undefined; groups?: Record[] | undefined; members?: string | undefined; permissions?: Record | undefined; public_id?: string | undefined; account_public_id?: string | undefined; customuser_public_id?: string | undefined; implementation_id?: string | undefined; profile_id?: string | undefined; is_expired?: string | undefined; expired_at?: string | null | undefined; app_key?: string | undefined; app_version?: string | undefined; }; }>; } & { context: { meta: { getConnection: PluginMeta; }; }; } & { findFirstConnection: (options?: { title?: string | undefined; appKey?: string | undefined; app?: string | undefined; search?: string | undefined; owner?: string | undefined; account?: string | undefined; accountId?: string | undefined; includeShared?: boolean | undefined; isExpired?: boolean | undefined; expired?: boolean | undefined; } | undefined) => Promise<{ data: { date: string; is_invite_only: boolean; is_private: boolean; shared_with_all: boolean; id: string; account_id: string; title?: string | null | undefined; lastchanged?: string | undefined; destination_selected_api?: string | null | undefined; is_stale?: string | undefined; is_shared?: string | undefined; marked_stale_at?: string | null | undefined; label?: string | null | undefined; identifier?: string | null | undefined; url?: string | undefined; groups?: Record[] | undefined; members?: string | undefined; permissions?: Record | undefined; public_id?: string | undefined; account_public_id?: string | undefined; customuser_public_id?: string | undefined; implementation_id?: string | undefined; profile_id?: string | undefined; is_expired?: string | undefined; expired_at?: string | null | undefined; app_key?: string | undefined; app_version?: string | undefined; }; }>; } & { context: { meta: { findFirstConnection: PluginMeta; }; }; } & { findUniqueConnection: (options?: { title?: string | undefined; appKey?: string | undefined; app?: string | undefined; search?: string | undefined; owner?: string | undefined; account?: string | undefined; accountId?: string | undefined; includeShared?: boolean | undefined; isExpired?: boolean | undefined; expired?: boolean | undefined; } | undefined) => Promise<{ data: { date: string; is_invite_only: boolean; is_private: boolean; shared_with_all: boolean; id: string; account_id: string; title?: string | null | undefined; lastchanged?: string | undefined; destination_selected_api?: string | null | undefined; is_stale?: string | undefined; is_shared?: string | undefined; marked_stale_at?: string | null | undefined; label?: string | null | undefined; identifier?: string | null | undefined; url?: string | undefined; groups?: Record[] | undefined; members?: string | undefined; permissions?: Record | undefined; public_id?: string | undefined; account_public_id?: string | undefined; customuser_public_id?: string | undefined; implementation_id?: string | undefined; profile_id?: string | undefined; is_expired?: string | undefined; expired_at?: string | null | undefined; app_key?: string | undefined; app_version?: string | undefined; }; }>; } & { context: { meta: { findUniqueConnection: PluginMeta; }; }; } & { listAuthentications: (options?: ({ title?: string | undefined; search?: string | undefined; owner?: string | undefined; app?: string | undefined; appKey?: string | undefined; connections?: string[] | undefined; connectionIds?: string[] | undefined; authenticationIds?: string[] | undefined; account?: string | undefined; accountId?: string | undefined; includeShared?: boolean | undefined; isExpired?: boolean | undefined; expired?: boolean | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ date: string; is_invite_only: boolean; is_private: boolean; shared_with_all: boolean; id: string; account_id: string; title?: string | null | undefined; lastchanged?: string | undefined; destination_selected_api?: string | null | undefined; is_stale?: string | undefined; is_shared?: string | undefined; marked_stale_at?: string | null | undefined; label?: string | null | undefined; identifier?: string | null | undefined; url?: string | undefined; groups?: Record[] | undefined; members?: string | undefined; permissions?: Record | undefined; public_id?: string | undefined; account_public_id?: string | undefined; customuser_public_id?: string | undefined; implementation_id?: string | undefined; profile_id?: string | undefined; is_expired?: string | undefined; expired_at?: string | null | undefined; app_key?: string | undefined; app_version?: string | undefined; }>; context: { meta: { listAuthentications: { packages: string[]; categories: string[]; type: "list"; itemType: string; inputSchema: zod.ZodObject<{ title: zod.ZodOptional; search: zod.ZodOptional; owner: zod.ZodOptional; app: zod.ZodOptional; appKey: zod.ZodOptional; connections: zod.ZodOptional>; connectionIds: zod.ZodOptional>; authenticationIds: zod.ZodOptional>; account: zod.ZodOptional; accountId: zod.ZodOptional; includeShared: zod.ZodOptional; isExpired: zod.ZodOptional; expired: zod.ZodOptional; pageSize: zod.ZodOptional; maxItems: zod.ZodOptional; cursor: zod.ZodOptional; }, zod_v4_core.$strip>; outputSchema: zod.ZodObject<{ title: zod.ZodOptional>; date: zod.ZodString; is_invite_only: zod.ZodBoolean; lastchanged: zod.ZodOptional; destination_selected_api: zod.ZodOptional>; is_private: zod.ZodBoolean; shared_with_all: zod.ZodBoolean; is_stale: zod.ZodOptional; is_shared: zod.ZodOptional; marked_stale_at: zod.ZodOptional>; label: zod.ZodOptional>; identifier: zod.ZodOptional>; url: zod.ZodOptional; groups: zod.ZodOptional>>; members: zod.ZodOptional; permissions: zod.ZodOptional>; public_id: zod.ZodOptional; account_public_id: zod.ZodOptional; customuser_public_id: zod.ZodOptional; id: zod.ZodString; account_id: zod.ZodString; implementation_id: zod.ZodOptional; profile_id: zod.ZodOptional; is_expired: zod.ZodOptional; expired_at: zod.ZodOptional>; app_key: zod.ZodOptional; app_version: zod.ZodOptional; }, zod_v4_core.$strip>; }; }; }; } & { getAuthentication: (options?: { connection?: string | number | undefined; connectionId?: string | number | undefined; authenticationId?: string | number | undefined; } | undefined) => Promise<{ data: { date: string; is_invite_only: boolean; is_private: boolean; shared_with_all: boolean; id: string; account_id: string; title?: string | null | undefined; lastchanged?: string | undefined; destination_selected_api?: string | null | undefined; is_stale?: string | undefined; is_shared?: string | undefined; marked_stale_at?: string | null | undefined; label?: string | null | undefined; identifier?: string | null | undefined; url?: string | undefined; groups?: Record[] | undefined; members?: string | undefined; permissions?: Record | undefined; public_id?: string | undefined; account_public_id?: string | undefined; customuser_public_id?: string | undefined; implementation_id?: string | undefined; profile_id?: string | undefined; is_expired?: string | undefined; expired_at?: string | null | undefined; app_key?: string | undefined; app_version?: string | undefined; }; }>; context: { meta: { getAuthentication: { packages: string[]; categories: string[]; type: "item"; itemType: string; inputSchema: zod.ZodObject<{ connection: zod.ZodOptional>; connectionId: zod.ZodOptional>; authenticationId: zod.ZodOptional>; }, zod_v4_core.$strip>; outputSchema: zod.ZodObject<{ title: zod.ZodOptional>; date: zod.ZodString; is_invite_only: zod.ZodBoolean; lastchanged: zod.ZodOptional; destination_selected_api: zod.ZodOptional>; is_private: zod.ZodBoolean; shared_with_all: zod.ZodBoolean; is_stale: zod.ZodOptional; is_shared: zod.ZodOptional; marked_stale_at: zod.ZodOptional>; label: zod.ZodOptional>; identifier: zod.ZodOptional>; url: zod.ZodOptional; groups: zod.ZodOptional>>; members: zod.ZodOptional; permissions: zod.ZodOptional>; public_id: zod.ZodOptional; account_public_id: zod.ZodOptional; customuser_public_id: zod.ZodOptional; id: zod.ZodString; account_id: zod.ZodString; implementation_id: zod.ZodOptional; profile_id: zod.ZodOptional; is_expired: zod.ZodOptional; expired_at: zod.ZodOptional>; app_key: zod.ZodOptional; app_version: zod.ZodOptional; }, zod_v4_core.$strip>; }; }; }; } & { findFirstAuthentication: (options?: { title?: string | undefined; appKey?: string | undefined; app?: string | undefined; search?: string | undefined; owner?: string | undefined; account?: string | undefined; accountId?: string | undefined; includeShared?: boolean | undefined; isExpired?: boolean | undefined; expired?: boolean | undefined; } | undefined) => Promise<{ data: { date: string; is_invite_only: boolean; is_private: boolean; shared_with_all: boolean; id: string; account_id: string; title?: string | null | undefined; lastchanged?: string | undefined; destination_selected_api?: string | null | undefined; is_stale?: string | undefined; is_shared?: string | undefined; marked_stale_at?: string | null | undefined; label?: string | null | undefined; identifier?: string | null | undefined; url?: string | undefined; groups?: Record[] | undefined; members?: string | undefined; permissions?: Record | undefined; public_id?: string | undefined; account_public_id?: string | undefined; customuser_public_id?: string | undefined; implementation_id?: string | undefined; profile_id?: string | undefined; is_expired?: string | undefined; expired_at?: string | null | undefined; app_key?: string | undefined; app_version?: string | undefined; }; }>; context: { meta: { findFirstAuthentication: { packages: string[]; categories: string[]; type: "item"; itemType: string; inputSchema: zod.ZodObject<{ title: zod.ZodOptional; appKey: zod.ZodOptional; app: zod.ZodOptional; search: zod.ZodOptional; owner: zod.ZodOptional; account: zod.ZodOptional; accountId: zod.ZodOptional; includeShared: zod.ZodOptional; isExpired: zod.ZodOptional; expired: zod.ZodOptional; }, zod_v4_core.$strip>; outputSchema: zod.ZodObject<{ title: zod.ZodOptional>; date: zod.ZodString; is_invite_only: zod.ZodBoolean; lastchanged: zod.ZodOptional; destination_selected_api: zod.ZodOptional>; is_private: zod.ZodBoolean; shared_with_all: zod.ZodBoolean; is_stale: zod.ZodOptional; is_shared: zod.ZodOptional; marked_stale_at: zod.ZodOptional>; label: zod.ZodOptional>; identifier: zod.ZodOptional>; url: zod.ZodOptional; groups: zod.ZodOptional>>; members: zod.ZodOptional; permissions: zod.ZodOptional>; public_id: zod.ZodOptional; account_public_id: zod.ZodOptional; customuser_public_id: zod.ZodOptional; id: zod.ZodString; account_id: zod.ZodString; implementation_id: zod.ZodOptional; profile_id: zod.ZodOptional; is_expired: zod.ZodOptional; expired_at: zod.ZodOptional>; app_key: zod.ZodOptional; app_version: zod.ZodOptional; }, zod_v4_core.$strip>; }; }; }; } & { findUniqueAuthentication: (options?: { title?: string | undefined; appKey?: string | undefined; app?: string | undefined; search?: string | undefined; owner?: string | undefined; account?: string | undefined; accountId?: string | undefined; includeShared?: boolean | undefined; isExpired?: boolean | undefined; expired?: boolean | undefined; } | undefined) => Promise<{ data: { date: string; is_invite_only: boolean; is_private: boolean; shared_with_all: boolean; id: string; account_id: string; title?: string | null | undefined; lastchanged?: string | undefined; destination_selected_api?: string | null | undefined; is_stale?: string | undefined; is_shared?: string | undefined; marked_stale_at?: string | null | undefined; label?: string | null | undefined; identifier?: string | null | undefined; url?: string | undefined; groups?: Record[] | undefined; members?: string | undefined; permissions?: Record | undefined; public_id?: string | undefined; account_public_id?: string | undefined; customuser_public_id?: string | undefined; implementation_id?: string | undefined; profile_id?: string | undefined; is_expired?: string | undefined; expired_at?: string | null | undefined; app_key?: string | undefined; app_version?: string | undefined; }; }>; context: { meta: { findUniqueAuthentication: { packages: string[]; categories: string[]; type: "item"; itemType: string; inputSchema: zod.ZodObject<{ title: zod.ZodOptional; appKey: zod.ZodOptional; app: zod.ZodOptional; search: zod.ZodOptional; owner: zod.ZodOptional; account: zod.ZodOptional; accountId: zod.ZodOptional; includeShared: zod.ZodOptional; isExpired: zod.ZodOptional; expired: zod.ZodOptional; }, zod_v4_core.$strip>; outputSchema: zod.ZodObject<{ title: zod.ZodOptional>; date: zod.ZodString; is_invite_only: zod.ZodBoolean; lastchanged: zod.ZodOptional; destination_selected_api: zod.ZodOptional>; is_private: zod.ZodBoolean; shared_with_all: zod.ZodBoolean; is_stale: zod.ZodOptional; is_shared: zod.ZodOptional; marked_stale_at: zod.ZodOptional>; label: zod.ZodOptional>; identifier: zod.ZodOptional>; url: zod.ZodOptional; groups: zod.ZodOptional>>; members: zod.ZodOptional; permissions: zod.ZodOptional>; public_id: zod.ZodOptional; account_public_id: zod.ZodOptional; customuser_public_id: zod.ZodOptional; id: zod.ZodString; account_id: zod.ZodString; implementation_id: zod.ZodOptional; profile_id: zod.ZodOptional; is_expired: zod.ZodOptional; expired_at: zod.ZodOptional>; app_key: zod.ZodOptional; app_version: zod.ZodOptional; }, zod_v4_core.$strip>; }; }; }; } & { listClientCredentials: (options?: ({ pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ client_id: string; name: string; allowed_scopes: ("credentials" | "external")[]; created_at?: string | null | undefined; updated_at?: string | undefined; }>; } & { context: { meta: { listClientCredentials: PluginMeta; }; }; } & { createClientCredentials: (options?: { name: string; allowedScopes: ("credentials" | "external")[]; policy?: Record | undefined; } | undefined) => Promise<{ data: { client_id: string; name: string; client_secret: string; }; }>; } & { context: { meta: { createClientCredentials: PluginMeta; }; }; } & { deleteClientCredentials: (options?: { clientId: string; } | undefined) => Promise<{ success: boolean; }>; } & { context: { meta: { deleteClientCredentials: PluginMeta; }; }; } & { fetch: (url: string | URL, init?: ZapierFetchInitOptions) => Promise; context: { meta: { fetch: { description: string; packages: string[]; categories: string[]; returnType: string; inputParameters: ({ name: string; schema: zod.ZodUnion]>; } | { name: string; schema: zod.ZodOptional>; headers: zod.ZodOptional>; body: zod.ZodOptional, zod.ZodCustom, zod.ZodRecord]>>; connectionId: zod.ZodOptional>; connection: zod.ZodOptional>; authenticationId: zod.ZodOptional>; callbackUrl: zod.ZodOptional; maxTime: zod.ZodOptional; }, zod_v4_core.$strip>>; })[]; }; }; }; } & { request: (options?: { url: string; method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined; body?: any; connection?: string | number | undefined; connectionId?: string | number | undefined; authenticationId?: string | number | undefined; callbackUrl?: string | undefined; headers?: Record | [string, string][] | Headers | undefined; } | undefined) => Promise; } & { context: { meta: { request: PluginMeta; }; }; } & { createTriggerInbox: (options?: { app: string; action: string; name?: string | undefined; connection?: string | number | null | undefined; inputs?: Record | undefined; notificationUrl?: string | undefined; } | undefined) => Promise<{ data: { id: string; created_at: string; name: string | null; status: string; paused_reason: string | null; notification_url: string | null; subscription: { connection_id: string | number | null; app_key: string; action_key: string; inputs: Record; }; }; }>; } & { context: { meta: { createTriggerInbox: PluginMeta; }; }; } & { ensureTriggerInbox: (options?: { name: string; app: string; action: string; connection?: string | number | null | undefined; inputs?: Record | undefined; notificationUrl?: string | undefined; } | undefined) => Promise<{ data: { id: string; created_at: string; name: string | null; status: string; paused_reason: string | null; notification_url: string | null; subscription: { connection_id: string | number | null; app_key: string; action_key: string; inputs: Record; }; }; }>; } & { context: { meta: { ensureTriggerInbox: PluginMeta; }; }; } & { listTriggerInboxes: (options?: ({ name?: string | undefined; status?: string | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ id: string; created_at: string; name: string | null; status: string; paused_reason: string | null; notification_url: string | null; subscription: { connection_id: string | number | null; app_key: string; action_key: string; inputs: Record; }; }>; } & { context: { meta: { listTriggerInboxes: PluginMeta; }; }; } & { getTriggerInbox: (options?: { inbox: string; } | undefined) => Promise<{ data: { id: string; created_at: string; name: string | null; status: string; paused_reason: string | null; notification_url: string | null; subscription: { connection_id: string | number | null; app_key: string; action_key: string; inputs: Record; }; }; }>; } & { context: { meta: { getTriggerInbox: PluginMeta; }; }; } & { updateTriggerInbox: (options?: { inbox: string; notificationUrl?: string | null | undefined; } | undefined) => Promise<{ data: { id: string; created_at: string; name: string | null; status: string; paused_reason: string | null; notification_url: string | null; subscription: { connection_id: string | number | null; app_key: string; action_key: string; inputs: Record; }; }; }>; } & { context: { meta: { updateTriggerInbox: PluginMeta; }; }; } & { deleteTriggerInbox: (options?: { inbox: string; } | undefined) => Promise<{ data: { id: string; created_at: string; name: string | null; status: string; paused_reason: string | null; notification_url: string | null; subscription: { connection_id: string | number | null; app_key: string; action_key: string; inputs: Record; }; }; }>; } & { context: { meta: { deleteTriggerInbox: PluginMeta; }; }; } & { pauseTriggerInbox: (options?: { inbox: string; } | undefined) => Promise<{ data: { id: string; created_at: string; name: string | null; status: string; paused_reason: string | null; notification_url: string | null; subscription: { connection_id: string | number | null; app_key: string; action_key: string; inputs: Record; }; }; }>; } & { context: { meta: { pauseTriggerInbox: PluginMeta; }; }; } & { resumeTriggerInbox: (options?: { inbox: string; } | undefined) => Promise<{ data: { id: string; created_at: string; name: string | null; status: string; paused_reason: string | null; notification_url: string | null; subscription: { connection_id: string | number | null; app_key: string; action_key: string; inputs: Record; }; }; }>; } & { context: { meta: { resumeTriggerInbox: PluginMeta; }; }; } & { listTriggerInboxMessages: (options?: ({ inbox: string; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ id: string; created_at: string; status: string; message_attributes: { lease_count: number; error_message: string | null; possible_duplicate_data: boolean; }; }>; } & { context: { meta: { listTriggerInboxMessages: PluginMeta; }; }; } & { leaseTriggerInboxMessages: (options?: { inbox: string; leaseLimit?: number | undefined; leaseSeconds?: number | undefined; signal?: AbortSignal | undefined; } | undefined) => Promise<{ data: { lease_id: string | null; leased_until: string | null; results: { id: string; created_at: string; status: string; message_attributes: { lease_count: number; error_message: string | null; possible_duplicate_data: boolean; }; payload: Record; }[]; inbox_attributes: { status: string; paused_reason: string | null; }; }; }>; } & { context: { meta: { leaseTriggerInboxMessages: PluginMeta; }; }; } & { ackTriggerInboxMessages: (options?: { inbox: string; lease: string; messages?: string[] | undefined; } | undefined) => Promise<{ data: { acked_id: string | null; results: { id: string; created_at: string; status: string; message_attributes: { lease_count: number; error_message: string | null; possible_duplicate_data: boolean; }; }[]; }; }>; } & { context: { meta: { ackTriggerInboxMessages: PluginMeta; }; }; } & { releaseTriggerInboxMessages: (options?: { inbox: string; lease: string; messages?: string[] | undefined; } | undefined) => Promise<{ data: { released_id: string | null; results: { id: string; created_at: string; status: string; message_attributes: { lease_count: number; error_message: string | null; possible_duplicate_data: boolean; }; }[]; }; }>; } & { context: { meta: { releaseTriggerInboxMessages: PluginMeta; }; }; } & { drainTriggerInbox: (options: DrainTriggerInboxOptions) => Promise; context: { meta: { drainTriggerInbox: { type: "create"; description: string; itemType: string; returnType: string; inputSchema: zod.ZodObject<{ inbox: zod.ZodString & { _def: zod_v4_core.$ZodStringDef & PositionalMetadata; }; onMessage: zod.ZodOptional>; concurrency: zod.ZodOptional; leaseLimit: zod.ZodOptional; leaseSeconds: zod.ZodOptional; releaseOnError: zod.ZodOptional; continueOnError: zod.ZodOptional; onError: zod.ZodOptional>; signal: zod.ZodOptional>; maxMessages: zod.ZodOptional; }, zod_v4_core.$strip>; resolvers: { inbox: DynamicResolver<{ id: string; created_at: string; name: string | null; status: string; paused_reason: string | null; notification_url: string | null; subscription: { connection_id: string | number | null; app_key: string; action_key: string; inputs: Record; }; }, {}>; }; packages: readonly ["sdk"]; categories: string[]; experimental: true; }; }; }; } & { watchTriggerInbox: (options: WatchTriggerInboxOptions) => Promise; context: { meta: { watchTriggerInbox: { type: "create"; description: string; itemType: string; returnType: string; inputSchema: zod.ZodObject<{ inbox: zod.ZodString & { _def: zod_v4_core.$ZodStringDef & PositionalMetadata; }; onMessage: zod.ZodOptional>; concurrency: zod.ZodOptional; leaseLimit: zod.ZodOptional; leaseSeconds: zod.ZodOptional; releaseOnError: zod.ZodOptional; continueOnError: zod.ZodOptional; onError: zod.ZodOptional>; signal: zod.ZodOptional>; maxDrainIntervalSeconds: zod.ZodOptional; }, zod_v4_core.$strip>; resolvers: { inbox: DynamicResolver<{ id: string; created_at: string; name: string | null; status: string; paused_reason: string | null; notification_url: string | null; subscription: { connection_id: string | number | null; app_key: string; action_key: string; inputs: Record; }; }, {}>; }; packages: readonly ["sdk"]; categories: string[]; experimental: true; }; }; }; } & { listTriggers: (options?: ({ app: string; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ description: string; key: string; app_key: string; action_type: "filter" | "search" | "read" | "read_bulk" | "write" | "search_or_write" | "search_and_write" | "run"; title: string; type: "action"; id?: string | undefined; is_hidden?: boolean | undefined; is_important?: boolean | undefined; app_version?: string | undefined; }>; } & { context: { meta: { listTriggers: PluginMeta; }; }; } & { listTriggerInputFields: (options?: ({ app: string; action: string; connection?: string | number | undefined; inputs?: Record | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ key: string; type: "input_field"; default_value: string; depends_on: string[]; description: string; invalidates_input_fields: boolean; is_required: boolean; placeholder: string; title: string; value_type: string; format?: string | undefined; items?: { type: string; } | undefined; } | { key: string; type: "info_field"; description: string; title?: string | undefined; } | FieldsetItem>; } & { context: { meta: { listTriggerInputFields: PluginMeta; }; }; } & { listTriggerInputFieldChoices: (options?: ({ app: string; action: string; inputField: string; connection?: string | number | undefined; inputs?: Record | undefined; page?: number | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ key?: string | undefined; label?: string | undefined; sample?: string | undefined; value?: string | undefined; }>; } & { context: { meta: { listTriggerInputFieldChoices: PluginMeta; }; }; } & { getTriggerInputFieldsSchema: (options?: { app: string; action: string; connection?: string | number | undefined; inputs?: Record | undefined; } | undefined) => Promise<{ data: Record; }>; } & { context: { meta: { getTriggerInputFieldsSchema: PluginMeta; }; }; } & { listTables: (options?: ({ tables?: string[] | undefined; tableIds?: string[] | undefined; kind?: "table" | "virtual_table" | "both" | undefined; search?: string | undefined; owner?: string | undefined; includeShared?: boolean | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ id: string; name: string; created_at: string; edited_at: string; kind: "table" | "virtual_table"; account_id: string; profile_id: string; description?: string | undefined; parent_table_id?: string | undefined; }>; } & { context: { meta: { listTables: PluginMeta; }; }; } & { getTable: (options?: { table: string; } | { tableId: string; } | undefined) => Promise<{ data: { id: string; name: string; created_at: string; edited_at: string; kind: "table" | "virtual_table"; account_id: string; profile_id: string; description?: string | undefined; parent_table_id?: string | undefined; }; }>; } & { context: { meta: { getTable: PluginMeta; }; }; } & { deleteTable: (options?: { table: string; } | { tableId: string; } | undefined) => Promise<{ success: boolean; }>; } & { context: { meta: { deleteTable: PluginMeta; }; }; } & { createTable: (options?: { name: string; description?: string | undefined; } | undefined) => Promise<{ data: { id: string; name: string; created_at: string; edited_at: string; kind: "table" | "virtual_table"; account_id: string; profile_id: string; description?: string | undefined; parent_table_id?: string | undefined; }; }>; } & { context: { meta: { createTable: PluginMeta; }; }; } & { listTableFields: (options?: { table: string; fields?: (string | number)[] | undefined; fieldKeys?: (string | number)[] | undefined; trash?: "exclude" | "include" | "only" | undefined; } | { tableId: string; fields?: (string | number)[] | undefined; fieldKeys?: (string | number)[] | undefined; trash?: "exclude" | "include" | "only" | undefined; } | undefined) => Promise<{ data: { id: string; type: "string" | "number" | "boolean" | "link" | "text" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "decimal" | "multiple_decimal" | "datetime" | "multiple_datetime" | "uuid" | "multiple_uuid" | "json" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "email" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record"; name: string; created_at?: string | undefined; edited_at?: string | undefined; options?: Record | undefined; config?: Record | undefined; deleted_at?: string | null | undefined; }[]; }>; } & { context: { meta: { listTableFields: PluginMeta; }; }; } & { createTableFields: (options?: { table: string; fields: { type: "string" | "number" | "boolean" | "link" | "text" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "decimal" | "multiple_decimal" | "datetime" | "multiple_datetime" | "uuid" | "multiple_uuid" | "json" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "email" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record"; name: string; options?: Record | undefined; config?: Record | undefined; }[]; } | { tableId: string; fields: { type: "string" | "number" | "boolean" | "link" | "text" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "decimal" | "multiple_decimal" | "datetime" | "multiple_datetime" | "uuid" | "multiple_uuid" | "json" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "email" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record"; name: string; options?: Record | undefined; config?: Record | undefined; }[]; } | undefined) => Promise<{ data: { id: string; type: "string" | "number" | "boolean" | "link" | "text" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "decimal" | "multiple_decimal" | "datetime" | "multiple_datetime" | "uuid" | "multiple_uuid" | "json" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "email" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record"; name: string; created_at?: string | undefined; edited_at?: string | undefined; options?: Record | undefined; config?: Record | undefined; deleted_at?: string | null | undefined; }[]; }>; } & { context: { meta: { createTableFields: PluginMeta; }; }; } & { deleteTableFields: (options?: { table: string; fields: (string | number)[]; } | { tableId: string; fieldKeys: (string | number)[]; } | undefined) => Promise<{ success: boolean; }>; } & { context: { meta: { deleteTableFields: PluginMeta; }; }; } & { getTableRecord: (options?: { table: string; record: string; keyMode: "names" | "ids"; } | { tableId: string; recordId: string; keyMode: "names" | "ids"; } | undefined) => Promise<{ data: { data: Record; id: string; created_at: string; edited_at: string; deleted_at?: string | null | undefined; }; }>; } & { context: { meta: { getTableRecord: PluginMeta; }; }; } & { listTableRecords: (options?: (({ table: string; keyMode: "names" | "ids"; filters?: { fieldKey: string; operator: "in" | "search" | "exact" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within"; value?: unknown; }[] | undefined; sort?: { fieldKey: string; direction: "asc" | "desc"; } | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; trash?: "exclude" | "include" | "only" | undefined; } | { tableId: string; keyMode: "names" | "ids"; filters?: { fieldKey: string; operator: "in" | "search" | "exact" | "different" | "contains" | "icontains" | "gte" | "gt" | "lt" | "lte" | "range" | "isnull" | "startswith" | "is_within"; value?: unknown; }[] | undefined; sort?: { fieldKey: string; direction: "asc" | "desc"; } | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; trash?: "exclude" | "include" | "only" | undefined; }) & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ id: string; data: Record; created_at: string; edited_at: string; deleted_at?: string | null | undefined; }>; } & { context: { meta: { listTableRecords: PluginMeta; }; }; } & { createTableRecords: (options?: { table: string; records: { data: Record; }[]; keyMode: "names" | "ids"; } | { tableId: string; records: { data: Record; }[]; keyMode: "names" | "ids"; } | undefined) => Promise<{ data: { data: Record; id: string; created_at: string; edited_at: string; deleted_at?: string | null | undefined; }[]; }>; } & { context: { meta: { createTableRecords: PluginMeta; }; }; } & { deleteTableRecords: (options?: { table: string; records: string[]; } | { tableId: string; recordIds: string[]; } | undefined) => Promise<{ success: boolean; }>; } & { context: { meta: { deleteTableRecords: PluginMeta; }; }; } & { updateTableRecords: (options?: { table: string; records: { id: string; data: Record; }[]; keyMode: "names" | "ids"; } | { tableId: string; records: { id: string; data: Record; }[]; keyMode: "names" | "ids"; } | undefined) => Promise<{ data: { data: Record; id: string; created_at: string; edited_at: string; deleted_at?: string | null | undefined; }[]; }>; } & { context: { meta: { updateTableRecords: PluginMeta; }; }; } & { listWorkflows: (options?: ({ pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ id: string; name: string; description: string | null; trigger_url: string; enabled: boolean; current_version_id: string | null; created_at: string; updated_at: string; }>; } & { context: { meta: { listWorkflows: PluginMeta; }; }; } & { getWorkflow: (options?: { workflow: string; } | undefined) => Promise<{ data: { id: string; name: string; description: string | null; trigger_url: string; enabled: boolean; created_at: string; updated_at: string; current_version?: { id: string; workflow_id: string; source_files: Record; zapier_durable_version: string; dependencies: Record | null; created_by_user_id: string; created_at: string; } | undefined; }; }>; } & { context: { meta: { getWorkflow: PluginMeta; }; }; } & { createWorkflow: (options?: { name: string; description?: string | undefined; } | undefined) => Promise<{ data: { id: string; name: string; description: string | null; trigger_url: string; enabled: boolean; created_at: string; }; }>; } & { context: { meta: { createWorkflow: PluginMeta; }; }; } & { updateWorkflow: (options?: { workflow: string; name?: string | undefined; description?: string | null | undefined; } | undefined) => Promise<{ data: { id: string; name: string; description: string | null; trigger_url: string; enabled: boolean; created_at: string; updated_at: string; }; }>; } & { context: { meta: { updateWorkflow: PluginMeta; }; }; } & { enableWorkflow: (options?: { workflow: string; } | undefined) => Promise<{ data: { id: string; enabled: boolean; }; }>; } & { context: { meta: { enableWorkflow: PluginMeta; }; }; } & { disableWorkflow: (options?: { workflow: string; } | undefined) => Promise<{ data: { id: string; enabled: boolean; }; }>; } & { context: { meta: { disableWorkflow: PluginMeta; }; }; } & { deleteWorkflow: (options?: { workflow: string; } | undefined) => Promise<{ data: { id: string; }; }>; } & { context: { meta: { deleteWorkflow: PluginMeta; }; }; } & { listDurableRuns: (options?: ({ pageSize?: number | undefined; cursor?: string | undefined; maxItems?: number | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ id: string; status: "initialized" | "started" | "finished" | "failed" | "cancelled"; input: unknown; output: unknown; error: { [x: string]: unknown; code: string; message: string; } | null; execution_id: string | null; is_private: boolean; created_at: string; updated_at: string; }>; } & { context: { meta: { listDurableRuns: PluginMeta; }; }; } & { getDurableRun: (options?: { run: string; } | undefined) => Promise<{ data: { id: string; status: "initialized" | "started" | "finished" | "failed" | "cancelled"; input: unknown; output: unknown; error: { [x: string]: unknown; code: string; message: string; } | null; execution: { id: string; name: string; status: "failed" | "running" | "waiting" | "completed"; input: unknown; created_at: string; output?: unknown; error?: unknown; metadata?: Record | undefined; summary?: { [x: string]: unknown; total_attempts: number; last_error?: { [x: string]: unknown; code: string; title: string; detail?: string | null | undefined; } | undefined; } | null | undefined; operations?: { id: string; execution_id: string; name: string; type: "step" | "wait" | "callback"; status: "failed" | "completed" | "pending" | "exhausted"; retry_count: number; created_at: string; result?: unknown; error?: unknown; max_attempts?: number | undefined; next_retry_at?: string | undefined; resume_at?: string | undefined; callback_token?: string | null | undefined; payload_schema?: unknown; payload?: unknown; expires_at?: string | undefined; completed_at?: string | undefined; }[] | undefined; } | null; is_private: boolean; created_at: string; updated_at: string; }; }>; } & { context: { meta: { getDurableRun: PluginMeta; }; }; } & { runDurable: (options?: { source_files: Record; input?: unknown; dependencies?: Record | undefined; zapier_durable_version?: string | undefined; connections?: Record | undefined; app_versions?: Record | undefined; private?: boolean | undefined; } | undefined) => Promise<{ data: { id: string; status: "initialized"; is_private: boolean; created_at: string; }; }>; } & { context: { meta: { runDurable: PluginMeta; }; }; } & { cancelDurableRun: (options?: { run: string; } | undefined) => Promise<{ data: { id: string; status: "cancelled"; }; }>; } & { context: { meta: { cancelDurableRun: PluginMeta; }; }; } & { publishWorkflowVersion: (options?: { workflow: string; source_files: Record; dependencies?: Record | undefined; zapier_durable_version?: string | undefined; enabled?: boolean | undefined; } | undefined) => Promise<{ data: { id: string; workflow_id: string; source_files: Record; zapier_durable_version: string; dependencies: Record | null; created_by_user_id: string; created_at: string; }; }>; } & { context: { meta: { publishWorkflowVersion: PluginMeta; }; }; } & { listWorkflowVersions: (options?: ({ workflow: string; pageSize?: number | undefined; cursor?: string | undefined; maxItems?: number | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ id: string; workflow_id: string; zapier_durable_version: string; dependencies: Record | null; created_by_user_id: string; created_at: string; }>; } & { context: { meta: { listWorkflowVersions: PluginMeta; }; }; } & { getWorkflowVersion: (options?: { workflow: string; version: string; } | undefined) => Promise<{ data: { id: string; workflow_id: string; source_files: Record; zapier_durable_version: string; dependencies: Record | null; created_by_user_id: string; created_at: string; }; }>; } & { context: { meta: { getWorkflowVersion: PluginMeta; }; }; } & { listWorkflowRuns: (options?: ({ workflow: string; pageSize?: number | undefined; cursor?: string | undefined; maxItems?: number | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => PaginatedSdkResult<{ id: string; trigger_id: string | null; durable_run_id: string | null; workflow_version_id: string | null; status: string; input: unknown; output: unknown; error: unknown; created_at: string; updated_at: string; }>; } & { context: { meta: { listWorkflowRuns: PluginMeta; }; }; } & { getWorkflowRun: (options?: { run: string; workflow?: string | undefined; } | undefined) => Promise<{ data: { id: string; trigger_id: string | null; durable_run_id: string | null; workflow_version_id: string | null; status: string; input: unknown; output: unknown; error: unknown; created_at: string; updated_at: string; }; }>; } & { context: { meta: { getWorkflowRun: PluginMeta; }; }; } & { getTriggerRun: (options?: { trigger: string; } | undefined) => Promise<{ data: { id: string; durable_run_id: string | null; workflow_version_id: string | null; status: string; input: unknown; output: unknown; error: unknown; created_at: string; updated_at: string; }; }>; } & { context: { meta: { getTriggerRun: PluginMeta; }; }; } & { apps: ActionProxy & ZapierSdkApps; context: { meta: { "apps.{appKey}": { categories: string[]; packages: string[]; type: "function"; inputSchema: zod.ZodObject<{ connectionId: zod.ZodOptional>; connection: zod.ZodOptional>; authenticationId: zod.ZodOptional>; }, zod_v4_core.$strip>; returnType: string; }; "apps.{appKey}.{actionType}.{actionKey}": { categories: string[]; packages: string[]; type: "list"; inputSchema: zod.ZodObject<{ inputs: zod.ZodOptional>; connectionId: zod.ZodOptional>; connection: zod.ZodOptional>; authenticationId: zod.ZodOptional>; timeoutMs: zod.ZodOptional; }, zod_v4_core.$strip>; itemType: string; outputSchema: zod.ZodUnknown; }; }; }; } & { getProfile: (options?: Record | undefined) => Promise<{ data: { id: string; first_name: string; last_name: string; full_name: string; email: string; email_confirmed: boolean; timezone: string; }; }>; } & { context: { meta: { getProfile: PluginMeta; }; }; }>; type ZapierSdk = ReturnType; export { ActionEntry, AddActionEntryOptions, AddActionEntryResult, ApiClient, DrainTriggerInboxOptions, DynamicResolver, EventEmissionContext, FieldsetItem, Manifest, PaginatedSdkResult, PluginMeta, PositionalMetadata, ResolvedAppLocator, UpdateManifestEntryOptions, UpdateManifestEntryResult, WatchTriggerInboxOptions, WithAddPlugin, ZapierFetchInitOptions, type ZapierSdk, ZapierSdkApps, type ZapierSdkOptions, createZapierSdk, findManifestEntry, readManifestFromFile };