/** * Experimental SDK subpath. * * Importing from `@zapier/zapier-sdk/experimental` returns an SDK that * includes plugins marked with `meta.experimental: true`. The stable * subpath (`@zapier/zapier-sdk`) excludes experimental plugins entirely * from the typed surface, so editors only autocomplete experimental * methods when callers explicitly opt in by import path. * * The plugin chain in this file is intentionally a full literal copy of * the stable factory's chain, with experimental plugins inserted at the * right positions (so dependency-ordering invariants hold). Both * factories are kept in sync by `experimental-shape.test.ts` — set * membership + key-order parity over the shared subset. * * Public re-exports: this file re-exports `*` from the stable index so * callers using `import { ... } from "@zapier/zapier-sdk/experimental"` * get the full API (types, helpers, errors, etc.) without juggling two * import paths. Only the `createZapierSdk` factory and the `ZapierSdk` * type are *replaced* by this subpath. */ import type { BaseSdkOptions } from "./types/sdk"; import type { PluginMeta } from "./types/plugin"; export * from "./index"; export interface ZapierSdkOptions extends BaseSdkOptions { } export declare function createZapierSdk(options?: ZapierSdkOptions): import("./index").WithAddPlugin<{ context: { meta: Record; }; } & { context: { options: import("./sdk").ZapierSdkOptions; }; } & { context: import("./index").EventEmissionContext; } & { context: { api: import("./api").ApiClient; resolveCredentials: () => Promise; }; } & { context: { getResolvedManifest: () => Promise; getVersionedImplementationId: (appKey: string) => Promise; resolveAppKeys: ({ appKeys }: { appKeys: string[]; }) => Promise; updateManifestEntry: (options: import("./index").UpdateManifestEntryOptions) => Promise; addActionEntry: (options: import("./index").AddActionEntryOptions) => Promise; findActionEntry: ({ name, manifest, }: { name: string; manifest: import("./index").Manifest; }) => import("./index").ActionEntry | null; listActionEntries: ({ configPath, }?: { configPath?: string; }) => Promise>; deleteActionEntry: ({ name, configPath, skipWrite, }: { name: string; configPath?: string; skipWrite?: boolean; }) => Promise; hasActionEntry: ({ name, manifest, }: { name: string; manifest: import("./index").Manifest; }) => boolean; findManifestEntry: typeof import("./index").findManifestEntry; readManifestFromFile: typeof import("./index").readManifestFromFile; getManifestConnections: () => Promise | null>; }; } & { context: import("./plugins/capabilities").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) => import("./index").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" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } | { appKey: string; actionType?: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined; pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; }) & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => import("./index").PaginatedSdkResult<{ description: string; key: string; app_key: string; action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; title: string; type: "action"; id?: string | undefined; is_important?: boolean | undefined; is_hidden?: boolean | undefined; app_version?: string | undefined; }>; } & { context: { meta: { listActions: PluginMeta; }; }; } & { getAction: (options?: { app: string; actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; action: string; } | { appKey: string; actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; actionKey: string; } | undefined) => Promise<{ data: { description: string; key: string; app_key: string; action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; title: string; type: "action"; id?: string | undefined; is_important?: boolean | undefined; is_hidden?: boolean | undefined; app_version?: string | undefined; }; }>; } & { context: { meta: { getAction: PluginMeta; }; }; } & { listActionInputFields: (options?: (({ app: string; actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; 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" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; 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) => import("./index").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; } | import("./index").FieldsetItem>; } & { context: { meta: { listActionInputFields: PluginMeta; }; }; } & { getActionInputFieldsSchema: (options?: { app: string; actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; action: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; } | { appKey: string; actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; 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" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; 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" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; 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) => import("./index").PaginatedSdkResult<{ key?: string | undefined; label?: string | undefined; sample?: string | undefined; value?: string | undefined; }>; } & { context: { meta: { listActionInputFieldChoices: PluginMeta; }; }; } & { listInputFields: (options?: (({ app: string; actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; 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" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; 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) => import("./index").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; } | import("./index").FieldsetItem>; context: { meta: { listInputFields: { categories: string[]; type: "list"; itemType: string; inputSchema: import("zod").ZodUnion; action: import("zod").ZodString & { _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata; }; connection: import("zod").ZodOptional>; connectionId: import("zod").ZodOptional>>; authenticationId: import("zod").ZodOptional>>; inputs: import("zod").ZodOptional>; pageSize: import("zod").ZodOptional; maxItems: import("zod").ZodOptional; cursor: import("zod").ZodOptional; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ appKey: import("zod").ZodString & { _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata; }; actionType: import("zod").ZodEnum<{ filter: "filter"; write: "write"; read: "read"; read_bulk: "read_bulk"; run: "run"; search: "search"; search_and_write: "search_and_write"; search_or_write: "search_or_write"; }>; actionKey: import("zod").ZodString; connection: import("zod").ZodOptional>; connectionId: import("zod").ZodOptional>>; authenticationId: import("zod").ZodOptional>>; inputs: import("zod").ZodOptional>; pageSize: import("zod").ZodOptional; maxItems: import("zod").ZodOptional; cursor: import("zod").ZodOptional; }, import("zod/v4/core").$strip>]>; outputSchema: import("zod").ZodUnion; default_value: import("zod").ZodString; depends_on: import("zod").ZodArray; description: import("zod").ZodString; invalidates_input_fields: import("zod").ZodBoolean; is_required: import("zod").ZodBoolean; placeholder: import("zod").ZodString; title: import("zod").ZodString; value_type: import("zod").ZodString; format: import("zod").ZodOptional; items: import("zod").ZodOptional>; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ key: import("zod").ZodString; type: import("zod").ZodLiteral<"info_field">; description: import("zod").ZodString; title: import("zod").ZodOptional; }, import("zod/v4/core").$strip>, import("zod").ZodType>]>; defaultPageSize: number; }; }; }; } & { getInputFieldsSchema: (options?: { app: string; actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; action: string; connection?: string | number | undefined; connectionId?: string | number | null | undefined; authenticationId?: string | number | null | undefined; inputs?: Record | undefined; } | { appKey: string; actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; 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: import("zod").ZodUnion; action: import("zod").ZodString & { _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata; }; connection: import("zod").ZodOptional>; connectionId: import("zod").ZodOptional>>; authenticationId: import("zod").ZodOptional>>; inputs: import("zod").ZodOptional>; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ appKey: import("zod").ZodString & { _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata; }; actionType: import("zod").ZodEnum<{ filter: "filter"; write: "write"; read: "read"; read_bulk: "read_bulk"; run: "run"; search: "search"; search_and_write: "search_and_write"; search_or_write: "search_or_write"; }>; actionKey: import("zod").ZodString; connection: import("zod").ZodOptional>; connectionId: import("zod").ZodOptional>>; authenticationId: import("zod").ZodOptional>>; inputs: import("zod").ZodOptional>; }, import("zod/v4/core").$strip>]>; }; }; }; } & { listInputFieldChoices: (options?: (({ app: string; actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; 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" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; 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) => import("./index").PaginatedSdkResult<{ key?: string | undefined; label?: string | undefined; sample?: string | undefined; value?: string | undefined; }>; context: { meta: { listInputFieldChoices: { categories: string[]; type: "list"; itemType: string; inputSchema: import("zod").ZodUnion; action: import("zod").ZodString & { _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata; }; inputField: import("zod").ZodString & { _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata; }; connection: import("zod").ZodOptional>; connectionId: import("zod").ZodOptional>>; authenticationId: import("zod").ZodOptional>>; inputs: import("zod").ZodOptional>; page: import("zod").ZodOptional; pageSize: import("zod").ZodOptional; maxItems: import("zod").ZodOptional; cursor: import("zod").ZodOptional; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ appKey: import("zod").ZodString & { _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata; }; actionType: import("zod").ZodEnum<{ filter: "filter"; write: "write"; read: "read"; read_bulk: "read_bulk"; run: "run"; search: "search"; search_and_write: "search_and_write"; search_or_write: "search_or_write"; }>; actionKey: import("zod").ZodString; inputFieldKey: import("zod").ZodString; connection: import("zod").ZodOptional>; connectionId: import("zod").ZodOptional>>; authenticationId: import("zod").ZodOptional>>; inputs: import("zod").ZodOptional>; page: import("zod").ZodOptional; pageSize: import("zod").ZodOptional; maxItems: import("zod").ZodOptional; cursor: import("zod").ZodOptional; }, import("zod/v4/core").$strip>]>; outputSchema: import("zod").ZodObject<{ key: import("zod").ZodOptional; label: import("zod").ZodOptional; sample: import("zod").ZodOptional; value: import("zod").ZodOptional; }, import("zod/v4/core").$strip>; defaultPageSize: number; }; }; }; } & { runAction: (options?: (({ app: string; actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; 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" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; 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) => import("./index").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) => import("./index").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; search?: string | undefined; appKey?: string | undefined; app?: 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; search?: string | undefined; appKey?: string | undefined; app?: 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) => import("./index").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: import("zod").ZodObject<{ title: import("zod").ZodOptional; search: import("zod").ZodOptional; owner: import("zod").ZodOptional; app: import("zod").ZodOptional; appKey: import("zod").ZodOptional; connections: import("zod").ZodOptional>; connectionIds: import("zod").ZodOptional>; authenticationIds: import("zod").ZodOptional>; account: import("zod").ZodOptional; accountId: import("zod").ZodOptional; includeShared: import("zod").ZodOptional; isExpired: import("zod").ZodOptional; expired: import("zod").ZodOptional; pageSize: import("zod").ZodOptional; maxItems: import("zod").ZodOptional; cursor: import("zod").ZodOptional; }, import("zod/v4/core").$strip>; outputSchema: import("zod").ZodObject<{ title: import("zod").ZodOptional>; date: import("zod").ZodString; is_invite_only: import("zod").ZodBoolean; lastchanged: import("zod").ZodOptional; destination_selected_api: import("zod").ZodOptional>; is_private: import("zod").ZodBoolean; shared_with_all: import("zod").ZodBoolean; is_stale: import("zod").ZodOptional; is_shared: import("zod").ZodOptional; marked_stale_at: import("zod").ZodOptional>; label: import("zod").ZodOptional>; identifier: import("zod").ZodOptional>; url: import("zod").ZodOptional; groups: import("zod").ZodOptional>>; members: import("zod").ZodOptional; permissions: import("zod").ZodOptional>; public_id: import("zod").ZodOptional; account_public_id: import("zod").ZodOptional; customuser_public_id: import("zod").ZodOptional; id: import("zod").ZodString; account_id: import("zod").ZodString; implementation_id: import("zod").ZodOptional; profile_id: import("zod").ZodOptional; is_expired: import("zod").ZodOptional; expired_at: import("zod").ZodOptional>; app_key: import("zod").ZodOptional; app_version: import("zod").ZodOptional; }, import("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: import("zod").ZodObject<{ connection: import("zod").ZodOptional>; connectionId: import("zod").ZodOptional>; authenticationId: import("zod").ZodOptional>; }, import("zod/v4/core").$strip>; outputSchema: import("zod").ZodObject<{ title: import("zod").ZodOptional>; date: import("zod").ZodString; is_invite_only: import("zod").ZodBoolean; lastchanged: import("zod").ZodOptional; destination_selected_api: import("zod").ZodOptional>; is_private: import("zod").ZodBoolean; shared_with_all: import("zod").ZodBoolean; is_stale: import("zod").ZodOptional; is_shared: import("zod").ZodOptional; marked_stale_at: import("zod").ZodOptional>; label: import("zod").ZodOptional>; identifier: import("zod").ZodOptional>; url: import("zod").ZodOptional; groups: import("zod").ZodOptional>>; members: import("zod").ZodOptional; permissions: import("zod").ZodOptional>; public_id: import("zod").ZodOptional; account_public_id: import("zod").ZodOptional; customuser_public_id: import("zod").ZodOptional; id: import("zod").ZodString; account_id: import("zod").ZodString; implementation_id: import("zod").ZodOptional; profile_id: import("zod").ZodOptional; is_expired: import("zod").ZodOptional; expired_at: import("zod").ZodOptional>; app_key: import("zod").ZodOptional; app_version: import("zod").ZodOptional; }, import("zod/v4/core").$strip>; }; }; }; } & { findFirstAuthentication: (options?: { title?: string | undefined; search?: string | undefined; appKey?: string | undefined; app?: 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: import("zod").ZodObject<{ title: import("zod").ZodOptional; search: import("zod").ZodOptional; appKey: import("zod").ZodOptional; app: import("zod").ZodOptional; owner: import("zod").ZodOptional; account: import("zod").ZodOptional; accountId: import("zod").ZodOptional; includeShared: import("zod").ZodOptional; isExpired: import("zod").ZodOptional; expired: import("zod").ZodOptional; }, import("zod/v4/core").$strip>; outputSchema: import("zod").ZodObject<{ title: import("zod").ZodOptional>; date: import("zod").ZodString; is_invite_only: import("zod").ZodBoolean; lastchanged: import("zod").ZodOptional; destination_selected_api: import("zod").ZodOptional>; is_private: import("zod").ZodBoolean; shared_with_all: import("zod").ZodBoolean; is_stale: import("zod").ZodOptional; is_shared: import("zod").ZodOptional; marked_stale_at: import("zod").ZodOptional>; label: import("zod").ZodOptional>; identifier: import("zod").ZodOptional>; url: import("zod").ZodOptional; groups: import("zod").ZodOptional>>; members: import("zod").ZodOptional; permissions: import("zod").ZodOptional>; public_id: import("zod").ZodOptional; account_public_id: import("zod").ZodOptional; customuser_public_id: import("zod").ZodOptional; id: import("zod").ZodString; account_id: import("zod").ZodString; implementation_id: import("zod").ZodOptional; profile_id: import("zod").ZodOptional; is_expired: import("zod").ZodOptional; expired_at: import("zod").ZodOptional>; app_key: import("zod").ZodOptional; app_version: import("zod").ZodOptional; }, import("zod/v4/core").$strip>; }; }; }; } & { findUniqueAuthentication: (options?: { title?: string | undefined; search?: string | undefined; appKey?: string | undefined; app?: 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: import("zod").ZodObject<{ title: import("zod").ZodOptional; search: import("zod").ZodOptional; appKey: import("zod").ZodOptional; app: import("zod").ZodOptional; owner: import("zod").ZodOptional; account: import("zod").ZodOptional; accountId: import("zod").ZodOptional; includeShared: import("zod").ZodOptional; isExpired: import("zod").ZodOptional; expired: import("zod").ZodOptional; }, import("zod/v4/core").$strip>; outputSchema: import("zod").ZodObject<{ title: import("zod").ZodOptional>; date: import("zod").ZodString; is_invite_only: import("zod").ZodBoolean; lastchanged: import("zod").ZodOptional; destination_selected_api: import("zod").ZodOptional>; is_private: import("zod").ZodBoolean; shared_with_all: import("zod").ZodBoolean; is_stale: import("zod").ZodOptional; is_shared: import("zod").ZodOptional; marked_stale_at: import("zod").ZodOptional>; label: import("zod").ZodOptional>; identifier: import("zod").ZodOptional>; url: import("zod").ZodOptional; groups: import("zod").ZodOptional>>; members: import("zod").ZodOptional; permissions: import("zod").ZodOptional>; public_id: import("zod").ZodOptional; account_public_id: import("zod").ZodOptional; customuser_public_id: import("zod").ZodOptional; id: import("zod").ZodString; account_id: import("zod").ZodString; implementation_id: import("zod").ZodOptional; profile_id: import("zod").ZodOptional; is_expired: import("zod").ZodOptional; expired_at: import("zod").ZodOptional>; app_key: import("zod").ZodOptional; app_version: import("zod").ZodOptional; }, import("zod/v4/core").$strip>; }; }; }; } & { listClientCredentials: (options?: ({ pageSize?: number | undefined; maxItems?: number | undefined; cursor?: string | undefined; } & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => import("./index").PaginatedSdkResult<{ client_id: string; name: string; allowed_scopes: ("external" | "credentials")[]; created_at?: string | null | undefined; updated_at?: string | undefined; }>; } & { context: { meta: { listClientCredentials: PluginMeta; }; }; } & { createClientCredentials: (options?: { name: string; allowedScopes: ("external" | "credentials")[]; 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?: import("./index").ZapierFetchInitOptions) => Promise; context: { meta: { fetch: { description: string; packages: string[]; categories: string[]; returnType: string; inputParameters: ({ name: string; schema: import("zod").ZodUnion]>; } | { name: string; schema: import("zod").ZodOptional>; headers: import("zod").ZodOptional>; body: import("zod").ZodOptional, import("zod").ZodCustom, import("zod").ZodRecord]>>; connectionId: import("zod").ZodOptional>; connection: import("zod").ZodOptional>; authenticationId: import("zod").ZodOptional>; callbackUrl: import("zod").ZodOptional; maxTime: import("zod").ZodOptional; }, import("zod/v4/core").$strip>>; })[]; }; }; }; } & { request: (options?: { url: string; method?: "POST" | "GET" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | undefined; body?: any; connection?: string | number | undefined; connectionId?: string | number | undefined; authenticationId?: string | number | undefined; callbackUrl?: string | undefined; headers?: [string, string][] | Record | 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) => import("./index").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) => import("./index").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: import("./index").DrainTriggerInboxOptions) => Promise; context: { meta: { drainTriggerInbox: { type: "create"; description: string; itemType: string; returnType: string; inputSchema: import("zod").ZodObject<{ inbox: import("zod").ZodString & { _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata; }; onMessage: import("zod").ZodOptional>; concurrency: import("zod").ZodOptional; leaseLimit: import("zod").ZodOptional; leaseSeconds: import("zod").ZodOptional; releaseOnError: import("zod").ZodOptional; continueOnError: import("zod").ZodOptional; onError: import("zod").ZodOptional>; signal: import("zod").ZodOptional>; maxMessages: import("zod").ZodOptional; }, import("zod/v4/core").$strip>; resolvers: { inbox: import("./index").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: import("./index").WatchTriggerInboxOptions) => Promise; context: { meta: { watchTriggerInbox: { type: "create"; description: string; itemType: string; returnType: string; inputSchema: import("zod").ZodObject<{ inbox: import("zod").ZodString & { _def: import("zod/v4/core").$ZodStringDef & import("./index").PositionalMetadata; }; onMessage: import("zod").ZodOptional>; concurrency: import("zod").ZodOptional; leaseLimit: import("zod").ZodOptional; leaseSeconds: import("zod").ZodOptional; releaseOnError: import("zod").ZodOptional; continueOnError: import("zod").ZodOptional; onError: import("zod").ZodOptional>; signal: import("zod").ZodOptional>; maxDrainIntervalSeconds: import("zod").ZodOptional; }, import("zod/v4/core").$strip>; resolvers: { inbox: import("./index").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) => import("./index").PaginatedSdkResult<{ description: string; key: string; app_key: string; action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"; title: string; type: "action"; id?: string | undefined; is_important?: boolean | undefined; is_hidden?: 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) => import("./index").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; } | import("./index").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) => import("./index").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) => import("./index").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?: "only" | "include" | "exclude" | undefined; } | { tableId: string; fields?: (string | number)[] | undefined; fieldKeys?: (string | number)[] | undefined; trash?: "only" | "include" | "exclude" | undefined; } | undefined) => Promise<{ data: { id: string; type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "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" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "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" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "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" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "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" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "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?: "only" | "include" | "exclude" | undefined; } | { tableId: string; keyMode: "names" | "ids"; filters?: { fieldKey: string; operator: "in" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "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?: "only" | "include" | "exclude" | undefined; }) & { cursor?: string; pageSize?: number; maxItems?: number; }) | undefined) => import("./index").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) => import("./index").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) => import("./index").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" | "waiting" | "completed" | "running"; 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: "pending" | "failed" | "exhausted" | "completed"; 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) => import("./index").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) => import("./index").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: import("./plugins/apps/schemas").ActionProxy & import("./index").ZapierSdkApps; context: { meta: { "apps.{appKey}": { categories: string[]; packages: string[]; type: "function"; inputSchema: import("zod").ZodObject<{ connectionId: import("zod").ZodOptional>; connection: import("zod").ZodOptional>; authenticationId: import("zod").ZodOptional>; }, import("zod/v4/core").$strip>; returnType: string; }; "apps.{appKey}.{actionType}.{actionKey}": { categories: string[]; packages: string[]; type: "list"; inputSchema: import("zod").ZodObject<{ inputs: import("zod").ZodOptional>; connectionId: import("zod").ZodOptional>; connection: import("zod").ZodOptional>; authenticationId: import("zod").ZodOptional>; timeoutMs: import("zod").ZodOptional; }, import("zod/v4/core").$strip>; itemType: string; outputSchema: import("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; }; }; }>; export type ZapierSdk = ReturnType; export type { PluginMeta }; //# sourceMappingURL=experimental.d.ts.map