@zapier/zapier-sdk 0.122.2 → 0.124.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist/beta.cjs +291 -287
- package/dist/beta.d.mts +6 -6
- package/dist/beta.d.ts +6 -6
- package/dist/beta.mjs +2 -2
- package/dist/{chunk-YVMXEARO.cjs → chunk-AXVD22XH.cjs} +245 -196
- package/dist/{chunk-7NTLOQZI.mjs → chunk-DQALS345.mjs} +3 -6
- package/dist/{chunk-3WRZWB3X.mjs → chunk-EWFUUFGE.mjs} +243 -198
- package/dist/{chunk-W7TKBIW6.cjs → chunk-NRDB2MRP.cjs} +87 -90
- package/dist/experimental.cjs +321 -320
- package/dist/experimental.d.mts +47 -47
- package/dist/experimental.d.ts +47 -47
- package/dist/experimental.mjs +6 -9
- package/dist/{index-BnMxdUcw.d.mts → index-CJ0cHgVT.d.mts} +38 -54
- package/dist/{index-BnMxdUcw.d.ts → index-CJ0cHgVT.d.ts} +38 -54
- package/dist/index.cjs +285 -281
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as zod from 'zod';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import * as _zapier_kitcore from '@zapier/kitcore';
|
|
4
|
-
import { CoreApiError, AdaptError,
|
|
4
|
+
import { CoreApiError, AdaptError, PluginSurface, PaginatedSdkFunction, ModelResolver, CoreOptions, CategoryDefinition } from '@zapier/kitcore';
|
|
5
5
|
import { ConnectionSchema, ConnectionsResponseSchema, GetConnectionResponse } from '@zapier/zapier-sdk-core/v0/schemas/connections';
|
|
6
6
|
import { RequestContext } from '@zapier/policy-context';
|
|
7
7
|
import * as zod_v4_core from 'zod/v4/core';
|
|
@@ -362,8 +362,8 @@ declare class ZapierAuthenticationError extends ZapierError {
|
|
|
362
362
|
}
|
|
363
363
|
/**
|
|
364
364
|
* Maps kitcore's abstract `CoreErrorCode` values onto Zapier's
|
|
365
|
-
* branded error classes. Wired into `createZapierSdk`
|
|
366
|
-
* `
|
|
365
|
+
* branded error classes. Wired into `createZapierSdk` through
|
|
366
|
+
* `zapierSdkPlugin`'s default `coreOptionsPluginRef` provider, so
|
|
367
367
|
* every error kitcore constructs internally surfaces as the
|
|
368
368
|
* appropriate `Zapier*` subclass instead of a neutral `CoreError`.
|
|
369
369
|
*/
|
|
@@ -1085,7 +1085,6 @@ interface EventEmissionContext {
|
|
|
1085
1085
|
/** The emitter surface: what `imports.eventEmission` and `resolvePlugin`
|
|
1086
1086
|
* callers see. Internal; deliberately NOT public SDK API. */
|
|
1087
1087
|
type EventEmitter = EventEmissionContext["eventEmission"];
|
|
1088
|
-
declare const EVENT_EMISSION_ID = "zapier/eventEmission";
|
|
1089
1088
|
/**
|
|
1090
1089
|
* The typed stand-in for the emitter, imported by plugins that emit custom
|
|
1091
1090
|
* events (`imports: [eventEmissionPluginRef]` then `imports.eventEmission`).
|
|
@@ -1105,6 +1104,8 @@ declare const eventEmissionPluginRef: _zapier_kitcore.PropertyPlugin<"eventEmiss
|
|
|
1105
1104
|
flush(): Promise<void>;
|
|
1106
1105
|
close(exitCode?: number): Promise<void>;
|
|
1107
1106
|
}> & _zapier_kitcore.StandInId<"zapier/eventEmission">;
|
|
1107
|
+
/** @deprecated Use `eventEmissionPluginRef.id`. */
|
|
1108
|
+
declare const EVENT_EMISSION_ID: "zapier/eventEmission";
|
|
1108
1109
|
/**
|
|
1109
1110
|
* The module-model emitter provider: builds the emitter once at
|
|
1110
1111
|
* materialization from the injected SDK options (startup event, process
|
|
@@ -1891,18 +1892,12 @@ interface ApiClientOptions {
|
|
|
1891
1892
|
* Maximum number of retries for rate-limited requests (429 responses) and,
|
|
1892
1893
|
* on idempotent methods, retryable server errors (500, 502, 503, 504).
|
|
1893
1894
|
* Set to 0 to disable retries. Default is 3.
|
|
1894
|
-
*
|
|
1895
|
-
* Configures the graph-provided transport, so it is ignored when
|
|
1896
|
-
* `sendHttpRequest` replaces that transport.
|
|
1897
1895
|
*/
|
|
1898
1896
|
maxNetworkRetries?: number;
|
|
1899
1897
|
/**
|
|
1900
1898
|
* Maximum delay in milliseconds to wait between network retries.
|
|
1901
1899
|
* If the server requests a longer delay, the request fails immediately.
|
|
1902
1900
|
* Default is 60000 (60 seconds).
|
|
1903
|
-
*
|
|
1904
|
-
* Ignored when `sendHttpRequest` supplies a transport, like
|
|
1905
|
-
* `maxNetworkRetries`.
|
|
1906
1901
|
*/
|
|
1907
1902
|
maxNetworkRetryDelayMilliseconds?: number;
|
|
1908
1903
|
/**
|
|
@@ -1979,22 +1974,6 @@ interface ApiClientOptions {
|
|
|
1979
1974
|
* invocations. See ZapierCache in ../cache.ts.
|
|
1980
1975
|
*/
|
|
1981
1976
|
cache?: ZapierCache;
|
|
1982
|
-
/**
|
|
1983
|
-
* Transport used for API requests. `apiPlugin` supplies the graph-composed
|
|
1984
|
-
* transport so host wraps, including a `dispatchHttpRequest` replacement,
|
|
1985
|
-
* apply. The deprecated `createZapierApi` compatibility factory accepts an
|
|
1986
|
-
* override here by installing it into its scoped SDK graph.
|
|
1987
|
-
*
|
|
1988
|
-
* `fetch` remains the credential-exchange transport because token resolution
|
|
1989
|
-
* runs outside the request pipeline.
|
|
1990
|
-
*
|
|
1991
|
-
* A transport supplied here owns its retry policy. The SDK does not add
|
|
1992
|
-
* another retry loop, so `maxNetworkRetries` and
|
|
1993
|
-
* `maxNetworkRetryDelayMilliseconds` are ignored. A terminal 429 reports
|
|
1994
|
-
* `retries: 0` because the SDK cannot observe retries performed inside a
|
|
1995
|
-
* custom transport.
|
|
1996
|
-
*/
|
|
1997
|
-
sendHttpRequest?: SendHttpRequest;
|
|
1998
1977
|
}
|
|
1999
1978
|
interface FetchStreamInit extends RequestInit, CorrelationIdCarrier {
|
|
2000
1979
|
searchParams?: Record<string, string>;
|
|
@@ -2344,12 +2323,13 @@ declare function findManifestEntry({ appKey, manifest, }: {
|
|
|
2344
2323
|
manifest: Manifest;
|
|
2345
2324
|
}): [string, ManifestEntry] | null;
|
|
2346
2325
|
|
|
2347
|
-
declare const MANIFEST_ID = "zapier/manifest";
|
|
2348
2326
|
/**
|
|
2349
2327
|
* The typed stand-in plugins import to read the manifest's
|
|
2350
2328
|
* version-locking API (`imports: [manifestPluginRef]` then `imports.manifest`).
|
|
2351
2329
|
*/
|
|
2352
2330
|
declare const manifestPluginRef: _zapier_kitcore.PropertyPlugin<"manifest", ManifestProvider> & _zapier_kitcore.DeclarationSummary<"zapier/manifest", ManifestProvider> & _zapier_kitcore.StandInId<"zapier/manifest">;
|
|
2331
|
+
/** @deprecated Use `manifestPluginRef.id`. */
|
|
2332
|
+
declare const MANIFEST_ID: "zapier/manifest";
|
|
2353
2333
|
/**
|
|
2354
2334
|
* The module-model manifest provider (version-locking API) built once from the
|
|
2355
2335
|
* injected SDK options (`manifest` object or `manifestPath` file) plus, per read,
|
|
@@ -2510,12 +2490,13 @@ type ResolveConnection = (name: string) => Promise<ConnectionsMap[string] | unde
|
|
|
2510
2490
|
interface ConnectionsProvider {
|
|
2511
2491
|
resolveConnection: ResolveConnection;
|
|
2512
2492
|
}
|
|
2513
|
-
declare const CONNECTIONS_ID = "zapier/connections";
|
|
2514
2493
|
/**
|
|
2515
2494
|
* The typed stand-in plugins import to resolve a named connection
|
|
2516
2495
|
* (`imports: [connectionsPluginRef]` then `imports.connections`).
|
|
2517
2496
|
*/
|
|
2518
2497
|
declare const connectionsPluginRef: _zapier_kitcore.PropertyPlugin<"connections", ConnectionsProvider> & _zapier_kitcore.DeclarationSummary<"zapier/connections", ConnectionsProvider> & _zapier_kitcore.StandInId<"zapier/connections">;
|
|
2498
|
+
/** @deprecated Use `connectionsPluginRef.id`. */
|
|
2499
|
+
declare const CONNECTIONS_ID: "zapier/connections";
|
|
2519
2500
|
/**
|
|
2520
2501
|
* The module-model connections provider: resolves named connections from the
|
|
2521
2502
|
* manifest's connections map, loaded once and cached.
|
|
@@ -6207,12 +6188,13 @@ declare function getClientIdFromCredentials(credentials: ResolvedCredentials | u
|
|
|
6207
6188
|
interface ApiPluginOptions extends BaseSdkOptions {
|
|
6208
6189
|
}
|
|
6209
6190
|
type ResolveCredentialsFn = () => ReturnType<typeof resolveCredentials>;
|
|
6210
|
-
declare const API_ID = "zapier/api";
|
|
6211
6191
|
/**
|
|
6212
6192
|
* The typed stand-in plugins import to read the API client
|
|
6213
6193
|
* (`imports: [apiPluginRef]` then `imports.api`).
|
|
6214
6194
|
*/
|
|
6215
6195
|
declare const apiPluginRef: _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">;
|
|
6196
|
+
/** @deprecated Use `apiPluginRef.id`. */
|
|
6197
|
+
declare const API_ID: "zapier/api";
|
|
6216
6198
|
/**
|
|
6217
6199
|
* The module-model API provider: builds the client once at materialization
|
|
6218
6200
|
* (`setup`, dependencies-first) from the injected SDK options. The client
|
|
@@ -6438,12 +6420,13 @@ declare const apiPlugin: _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zap
|
|
|
6438
6420
|
canDeleteTables?: boolean | undefined;
|
|
6439
6421
|
token?: string | undefined;
|
|
6440
6422
|
} | undefined> | _zapier_kitcore.ContractEntry<"zapier/apiClientDurations", ApiClientDurationOptions | undefined> | _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch | undefined>, _zapier_kitcore.ContractEntry<"kitcore/prepareHttpRequest", (input: _zapier_kitcore.PrepareHttpRequestInput) => Promise<_zapier_kitcore.HttpRequest>> | _zapier_kitcore.ContractEntry<"kitcore/authorizeHttpRequest", (input: _zapier_kitcore.AuthorizeHttpRequestInput) => Promise<_zapier_kitcore.HttpRequest>> | _zapier_kitcore.ContractEntry<"kitcore/dispatchHttpRequest", (input: _zapier_kitcore.DispatchHttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/receiveHttpResponse", (input: _zapier_kitcore.ReceiveHttpResponseInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/initializeHttpRequest", (input: _zapier_kitcore.InitializeHttpRequestInput) => Promise<_zapier_kitcore.HttpOperationContext>> | _zapier_kitcore.ContractEntry<"kitcore/attemptHttpRequest", (input: _zapier_kitcore.AttemptHttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/sendHttpRequest", (input: _zapier_kitcore.HttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/retryHttpRequestOptions", _zapier_kitcore.RetryHttpRequestOptions> | _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch>>], ApiClient>;
|
|
6441
|
-
declare const RESOLVE_CREDENTIALS_ID = "zapier/resolveCredentials";
|
|
6442
6423
|
/**
|
|
6443
6424
|
* The typed stand-in for the credentials resolver
|
|
6444
6425
|
* (`imports: [resolveCredentialsPluginRef]` then `imports.resolveCredentials`).
|
|
6445
6426
|
*/
|
|
6446
6427
|
declare const resolveCredentialsPluginRef: _zapier_kitcore.PropertyPlugin<"resolveCredentials", ResolveCredentialsFn> & _zapier_kitcore.DeclarationSummary<"zapier/resolveCredentials", ResolveCredentialsFn> & _zapier_kitcore.StandInId<"zapier/resolveCredentials">;
|
|
6428
|
+
/** @deprecated Use `resolveCredentialsPluginRef.id`. */
|
|
6429
|
+
declare const RESOLVE_CREDENTIALS_ID: "zapier/resolveCredentials";
|
|
6447
6430
|
/**
|
|
6448
6431
|
* Resolves the caller's credentials from the injected SDK options. Internal:
|
|
6449
6432
|
* consumed by the CLI's auth plugins (login/logout/signup) via
|
|
@@ -8635,10 +8618,10 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
8635
8618
|
} & _zapier_kitcore.SdkContextCarrier;
|
|
8636
8619
|
/**
|
|
8637
8620
|
* The root plugin of the Zapier SDK: every plugin authored with
|
|
8638
|
-
* `defineMethod` / `defineProperty` / `definePlugin`.
|
|
8639
|
-
* `createSdk(zapierSdkPlugin, {
|
|
8640
|
-
* aggregate, as the CLI does), so adding a
|
|
8641
|
-
* `exports`, not the
|
|
8621
|
+
* `defineMethod` / `defineProperty` / `definePlugin`. Factories build on it
|
|
8622
|
+
* with `createSdk(zapierSdkPlugin, { imports })`, passing their options as
|
|
8623
|
+
* providers (or wrap it in their own aggregate, as the CLI does), so adding a
|
|
8624
|
+
* plugin only edits this aggregate's `exports`, not the factories.
|
|
8642
8625
|
*/
|
|
8643
8626
|
declare const zapierSdkPlugin: _zapier_kitcore.AggregatePlugin<"sdk", {
|
|
8644
8627
|
getRegistry: _zapier_kitcore.MethodPlugin<"getRegistry", {
|
|
@@ -16116,7 +16099,7 @@ declare const zapierSdkPlugin: _zapier_kitcore.AggregatePlugin<"sdk", {
|
|
|
16116
16099
|
}[];
|
|
16117
16100
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
16118
16101
|
}>>;
|
|
16119
|
-
}> & _zapier_kitcore.PluginSummary<never, "request" | "fetch" | "zapier/eventEmission" | "apps" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/httpFetch" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "kitcore/retryHttpRequestOptions" | "zapier/httpTransport" | "zapier/api" | "zapier/manifest" | "zapier/resolveCredentials" | "zapier/connections" | "getApp" | "listApps" | "listActions" | "zapier/capabilities" | "listConnections" | "listActionInputFields" | "listActionInputFieldChoices" | "listClientCredentials" | "listTablesInternal" | "listTriggerInboxes" | "listTriggerInboxMessages" | "listTableRecords" | "listTableFields" | "getAction" | "createActionRun" | "runAction" | "getActionInputFieldsSchema" | "createClientCredentials" | "deleteClientCredentials" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "getActionRun" | "getProfile" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listInputFields" | "listInputFieldChoices" | "getInputFieldsSchema" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "getTable" | "deleteTable" | "createTable" | "createTableFields" | "deleteTableFields" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "zapier/sdk", _zapier_kitcore.ContractEntry<"zapier/sdkOptions", {
|
|
16102
|
+
}> & _zapier_kitcore.PluginSummary<never, "request" | "fetch" | "zapier/eventEmission" | "apps" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/httpFetch" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "kitcore/retryHttpRequestOptions" | "zapier/httpTransport" | "zapier/api" | "zapier/manifest" | "zapier/resolveCredentials" | "zapier/connections" | "kitcore/coreOptions" | "getApp" | "listApps" | "listActions" | "zapier/capabilities" | "listConnections" | "listActionInputFields" | "listActionInputFieldChoices" | "listClientCredentials" | "listTablesInternal" | "listTriggerInboxes" | "listTriggerInboxMessages" | "listTableRecords" | "listTableFields" | "getAction" | "createActionRun" | "runAction" | "getActionInputFieldsSchema" | "createClientCredentials" | "deleteClientCredentials" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "getActionRun" | "getProfile" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listInputFields" | "listInputFieldChoices" | "getInputFieldsSchema" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "getTable" | "deleteTable" | "createTable" | "createTableFields" | "deleteTableFields" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "zapier/sdk", _zapier_kitcore.ContractEntry<"zapier/sdkOptions", {
|
|
16120
16103
|
credentials?: string | {
|
|
16121
16104
|
clientId: string;
|
|
16122
16105
|
clientSecret: string;
|
|
@@ -16298,7 +16281,7 @@ declare const zapierSdkPlugin: _zapier_kitcore.AggregatePlugin<"sdk", {
|
|
|
16298
16281
|
createBaseEvent(): Promise<BaseEvent>;
|
|
16299
16282
|
flush(): Promise<void>;
|
|
16300
16283
|
close(exitCode?: number): Promise<void>;
|
|
16301
|
-
}> | _zapier_kitcore.ContractEntry<"kitcore/prepareHttpRequest", (input: _zapier_kitcore.PrepareHttpRequestInput) => Promise<_zapier_kitcore.HttpRequest>> | _zapier_kitcore.ContractEntry<"kitcore/authorizeHttpRequest", (input: _zapier_kitcore.AuthorizeHttpRequestInput) => Promise<_zapier_kitcore.HttpRequest>> | _zapier_kitcore.ContractEntry<"kitcore/dispatchHttpRequest", (input: _zapier_kitcore.DispatchHttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/receiveHttpResponse", (input: _zapier_kitcore.ReceiveHttpResponseInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/initializeHttpRequest", (input: _zapier_kitcore.InitializeHttpRequestInput) => Promise<_zapier_kitcore.HttpOperationContext>> | _zapier_kitcore.ContractEntry<"kitcore/attemptHttpRequest", (input: _zapier_kitcore.AttemptHttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/sendHttpRequest", (input: _zapier_kitcore.HttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/retryHttpRequestOptions", _zapier_kitcore.RetryHttpRequestOptions> | _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch> | _zapier_kitcore.ContractEntry<"zapier/api", ApiClient> | _zapier_kitcore.ContractEntry<"zapier/manifest", ManifestProvider> | _zapier_kitcore.ContractEntry<"zapier/resolveCredentials", ResolveCredentialsFn> | _zapier_kitcore.ContractEntry<"zapier/connections", ConnectionsProvider> | _zapier_kitcore.ContractEntry<"fetch", (arg: string | URL, arg_1?: ZapierFetchInitOptions | undefined) => Promise<Response>> | _zapier_kitcore.ContractEntry<"zapier/capabilities", CapabilitiesContext> | _zapier_kitcore.ContractEntry<"listActions", (input: (({
|
|
16284
|
+
}> | _zapier_kitcore.ContractEntry<"kitcore/prepareHttpRequest", (input: _zapier_kitcore.PrepareHttpRequestInput) => Promise<_zapier_kitcore.HttpRequest>> | _zapier_kitcore.ContractEntry<"kitcore/authorizeHttpRequest", (input: _zapier_kitcore.AuthorizeHttpRequestInput) => Promise<_zapier_kitcore.HttpRequest>> | _zapier_kitcore.ContractEntry<"kitcore/dispatchHttpRequest", (input: _zapier_kitcore.DispatchHttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/receiveHttpResponse", (input: _zapier_kitcore.ReceiveHttpResponseInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/initializeHttpRequest", (input: _zapier_kitcore.InitializeHttpRequestInput) => Promise<_zapier_kitcore.HttpOperationContext>> | _zapier_kitcore.ContractEntry<"kitcore/attemptHttpRequest", (input: _zapier_kitcore.AttemptHttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/sendHttpRequest", (input: _zapier_kitcore.HttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/retryHttpRequestOptions", _zapier_kitcore.RetryHttpRequestOptions> | _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch> | _zapier_kitcore.ContractEntry<"zapier/api", ApiClient> | _zapier_kitcore.ContractEntry<"zapier/manifest", ManifestProvider> | _zapier_kitcore.ContractEntry<"zapier/resolveCredentials", ResolveCredentialsFn> | _zapier_kitcore.ContractEntry<"zapier/connections", ConnectionsProvider> | _zapier_kitcore.ContractEntry<"kitcore/coreOptions", _zapier_kitcore.CoreOptions | undefined> | _zapier_kitcore.ContractEntry<"fetch", (arg: string | URL, arg_1?: ZapierFetchInitOptions | undefined) => Promise<Response>> | _zapier_kitcore.ContractEntry<"zapier/capabilities", CapabilitiesContext> | _zapier_kitcore.ContractEntry<"listActions", (input: (({
|
|
16302
16285
|
app: string;
|
|
16303
16286
|
actionType?: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run" | undefined;
|
|
16304
16287
|
pageSize?: number | undefined;
|
|
@@ -19566,21 +19549,17 @@ interface ZapierSdk extends ReturnType<typeof createZapierSdk> {
|
|
|
19566
19549
|
}
|
|
19567
19550
|
|
|
19568
19551
|
/**
|
|
19569
|
-
* The SDK's
|
|
19570
|
-
* merging, valued as `BaseSdkOptions` (the same shape
|
|
19571
|
-
* accepts), so a consumer reads exactly the fields it needs.
|
|
19552
|
+
* The optional stand-in for the SDK's options: a single, top-level snapshot
|
|
19553
|
+
* with no merging, valued as `BaseSdkOptions` (the same shape
|
|
19554
|
+
* `createZapierSdk` accepts), so a consumer reads exactly the fields it needs.
|
|
19555
|
+
* It is `declareOptionalProperty` (not `declareProperty`) so a plugin builds
|
|
19556
|
+
* standalone in its own unit tests without wiring the options value: the
|
|
19557
|
+
* binding is `BaseSdkOptions | undefined` and the consumer falls back to its
|
|
19558
|
+
* own defaults (`{ ...DEFAULTS, ...imports.sdkOptions }`).
|
|
19572
19559
|
*
|
|
19573
|
-
* There is no provider plugin under this id
|
|
19574
|
-
* options at build time
|
|
19575
|
-
*
|
|
19576
|
-
* provider would.
|
|
19577
|
-
*/
|
|
19578
|
-
declare const SDK_OPTIONS_ID = "zapier/sdkOptions";
|
|
19579
|
-
/**
|
|
19580
|
-
* The optional stand-in an options-consuming plugin imports. It is `declareOptionalProperty`
|
|
19581
|
-
* (not `declareProperty`) so a plugin builds standalone in its own unit tests
|
|
19582
|
-
* without wiring the options value: the binding is `BaseSdkOptions | undefined`
|
|
19583
|
-
* and the consumer falls back to its own defaults (`{ ...DEFAULTS, ...imports.sdkOptions }`).
|
|
19560
|
+
* There is no provider plugin under this id in `zapierSdkPlugin`: each factory
|
|
19561
|
+
* provides the caller's options at build time with
|
|
19562
|
+
* `defineProperty(sdkOptionsPluginRef, { value: options })`.
|
|
19584
19563
|
*/
|
|
19585
19564
|
declare const sdkOptionsPluginRef: _zapier_kitcore.PropertyPlugin<"sdkOptions", {
|
|
19586
19565
|
credentials?: string | {
|
|
@@ -19727,6 +19706,11 @@ declare const sdkOptionsPluginRef: _zapier_kitcore.PropertyPlugin<"sdkOptions",
|
|
|
19727
19706
|
canDeleteTables?: boolean | undefined;
|
|
19728
19707
|
token?: string | undefined;
|
|
19729
19708
|
} | undefined> & _zapier_kitcore.StandInId<"zapier/sdkOptions">;
|
|
19709
|
+
/**
|
|
19710
|
+
* @deprecated Use `sdkOptionsPluginRef.id`, or provide options with
|
|
19711
|
+
* `defineProperty(sdkOptionsPluginRef, { value })` in `createSdk`'s `imports`.
|
|
19712
|
+
*/
|
|
19713
|
+
declare const SDK_OPTIONS_ID: "zapier/sdkOptions";
|
|
19730
19714
|
|
|
19731
19715
|
declare const CALLER_CONTEXT_HEADERS_SUPPORTED = true;
|
|
19732
19716
|
interface CallerContext {
|
|
@@ -20691,9 +20675,9 @@ declare const updateTableRecordsPlugin: _zapier_kitcore.MethodPlugin<"updateTabl
|
|
|
20691
20675
|
/**
|
|
20692
20676
|
* Zapier's framework options: `adaptError` produces `Zapier*` branded errors
|
|
20693
20677
|
* from kitcore's internal throw sites (validation, non-Error normalization)
|
|
20694
|
-
* so consumers never see a neutral `CoreError`.
|
|
20695
|
-
* bag
|
|
20696
|
-
*
|
|
20678
|
+
* so consumers never see a neutral `CoreError`. `zapierSdkPlugin` provides
|
|
20679
|
+
* this bag by default (`zapierCoreOptionsPlugin` below); the method boundary
|
|
20680
|
+
* and `coreOptionsPluginRef` importers resolve it by that ref's id.
|
|
20697
20681
|
*
|
|
20698
20682
|
* Pagination shaping is intentionally NOT wired here: each paginated method
|
|
20699
20683
|
* declares its own `adaptPage` (e.g. `adaptPage: adaptZapierPage`), so the adapter
|
|
@@ -20842,4 +20826,4 @@ declare function descriptionFor(schema: unknown): string | undefined;
|
|
|
20842
20826
|
*/
|
|
20843
20827
|
declare function isInternalField(schema: z.ZodType): boolean;
|
|
20844
20828
|
|
|
20845
|
-
export { sdkOptionsPluginRef as $, type ApiClient as A, type BaseSdkOptions as B, type ConnectionsProvider as C, type DeleteTriggerInboxResult as D, type EventCallback as E, type FieldsetItem as F, type GetActionInputFieldsSchemaOptions as G, type App as H, type Field as I, type Choice as J, type ActionExecutionResult as K, type ListActionsOptions as L, type ManifestProvider as M, type Need as N, type ActionField as O, type ActionFieldChoice as P, type NeedsRequest as Q, type ResolveCredentialsFn as R, type NeedsResponse as S, type TriggerMessageStatus as T, type Connection as U, type ConnectionsResponse as V, type WatchTriggerInboxOptions as W, type UserProfile as X, zapierSdkPlugin as Y, type ZapierCache as Z, SDK_OPTIONS_ID as _, type Manifest as a, ConnectionsPropertySchema as a$, CALLER_CONTEXT_HEADERS_SUPPORTED as a0, getCallerContext as a1, runWithCallerContext as a2, type CallerContext as a3, batch as a4, type BatchOptions as a5, buildCapabilityMessage as a6, logDeprecation as a7, resetDeprecationWarnings as a8, RelayRequestSchema as a9, type InfoFieldItem as aA, type RootFieldItem as aB, type UserProfileItem as aC, AppKeyPropertySchema as aD, AppPropertySchema as aE, ActionTypePropertySchema as aF, ActionKeyPropertySchema as aG, ActionPropertySchema as aH, InputFieldPropertySchema as aI, ConnectionIdPropertySchema as aJ, AuthenticationIdPropertySchema as aK, ConnectionPropertySchema as aL, InputsPropertySchema as aM, LimitPropertySchema as aN, OffsetPropertySchema as aO, OutputPropertySchema as aP, DebugPropertySchema as aQ, ParamsPropertySchema as aR, ActionTimeoutSecondsPropertySchema as aS, ActionTimeoutMillisecondsPropertySchema as aT, ActionIdempotencyKeyPropertySchema as aU, TablePropertySchema as aV, RecordPropertySchema as aW, RecordsPropertySchema as aX, FieldsPropertySchema as aY, AppsPropertySchema as aZ, TablesPropertySchema as a_, RelayFetchSchema as aa, createZapierSdkWithoutRegistry as ab, zapierCoreOptions as ac, BaseSdkOptionsSchema as ad, STABILITY_DEFINITIONS as ae, taxonomy as af, formatExtensionPluginFailure as ag, type ActionItem as ah, type ActionTypeItem as ai, type ResolvedAppLocator as aj, getAgent as ak, descriptionFor as al, isInternalField as am, type RequestOptions as an, type PollOptions as ao, createZapierApi as ap, getOrCreateApiClient as aq, isPermanentHttpError as ar, type SseMessage as as, type JsonSseMessage as at, DEPRECATION_NOTICE_EVENT as au, type DeprecationNoticePayload as av, type AppItem as aw, type ConnectionItem as ax, type ActionItem$1 as ay, type InputFieldItem as az, type EventEmissionConfig as b, isZapierTimeoutError as b$, TriggerInboxPropertySchema as b0, TriggerInboxKeyPropertySchema as b1, TriggerInboxNamePropertySchema as b2, LeasePropertySchema as b3, LeaseSecondsPropertySchema as b4, LeaseLimitPropertySchema as b5, type AppKeyProperty as b6, type AppProperty as b7, type ActionTypeProperty as b8, type ActionKeyProperty as b9, type ErrorOptions as bA, ZapierError as bB, ZapierValidationError as bC, ZapierUnknownError as bD, ZapierAuthenticationError as bE, zapierAdaptError as bF, ZapierApiError as bG, ZapierAppNotFoundError as bH, ZapierNotFoundError as bI, ZapierResourceNotFoundError as bJ, ZapierConfigurationError as bK, ZapierBundleError as bL, ZapierTimeoutError as bM, ZapierActionError as bN, ZapierConflictError as bO, type RateLimitInfo as bP, ZapierRateLimitError as bQ, type ApprovalStatus as bR, ZapierApprovalError as bS, ZapierRelayError as bT, isZapierError as bU, isZapierValidationError as bV, isZapierAuthenticationError as bW, isZapierAppNotFoundError as bX, isZapierNotFoundError as bY, isZapierResourceNotFoundError as bZ, isZapierConflictError as b_, type ActionProperty as ba, type InputFieldProperty as bb, type ConnectionIdProperty as bc, type ConnectionProperty as bd, type AuthenticationIdProperty as be, type InputsProperty as bf, type LimitProperty as bg, type OffsetProperty as bh, type OutputProperty as bi, type DebugProperty as bj, type ParamsProperty as bk, type ActionTimeoutSecondsProperty as bl, type ActionTimeoutMillisecondsProperty as bm, type TableProperty as bn, type RecordProperty as bo, type RecordsProperty as bp, type FieldsProperty as bq, type AppsProperty as br, type TablesProperty as bs, type ConnectionsProperty as bt, type TriggerInboxProperty as bu, type TriggerInboxKeyProperty as bv, type TriggerInboxNameProperty as bw, type LeaseProperty as bx, type LeaseSecondsProperty as by, type LeaseLimitProperty as bz, type CapabilitiesContext as c, connectionIdResolver as c$, isZapierBundleError as c0, isZapierActionError as c1, isZapierRateLimitError as c2, isZapierApprovalError as c3, formatErrorMessage as c4, ZapierSignal as c5, isZapierSignal as c6, appsPlugin as c7, type ActionExecutionOptions as c8, type AppFactoryInput as c9, runActionPlugin as cA, type RunActionPluginProvides as cB, requestPlugin as cC, type ManifestPluginOptions as cD, readManifestFromFile as cE, getPreferredManifestEntryKey as cF, findManifestEntry as cG, MANIFEST_ID as cH, manifestPluginRef as cI, manifestPlugin as cJ, type UpdateManifestEntryOptions as cK, type UpdateManifestEntryResult as cL, DEFAULT_CONFIG_PATH as cM, type ManifestEntry as cN, type ActionEntry as cO, getProfilePlugin as cP, type GetProfilePluginProvides as cQ, type ApiPluginOptions as cR, API_ID as cS, apiPluginRef as cT, apiPlugin as cU, RESOLVE_CREDENTIALS_ID as cV, resolveCredentialsPluginRef as cW, resolveCredentialsPlugin as cX, appKeyResolver as cY, actionTypeResolver as cZ, actionKeyResolver as c_, type FetchPluginProvides as ca, fetchPlugin as cb, listAppsPlugin as cc, type ListAppsPluginProvides as cd, listActionsPlugin as ce, type ListActionsPluginProvides as cf, listActionInputFieldsPlugin as cg, type ListActionInputFieldsPluginProvides as ch, listActionInputFieldChoicesPlugin as ci, getActionInputFieldsSchemaPlugin as cj, listConnectionsPlugin as ck, type ListConnectionsPluginProvides as cl, listClientCredentialsPlugin as cm, createClientCredentialsPlugin as cn, deleteClientCredentialsPlugin as co, getAppPlugin as cp, getActionPlugin as cq, getConnectionPlugin as cr, findFirstConnectionPlugin as cs, findUniqueConnectionPlugin as ct, CONTEXT_CACHE_TTL_MILLISECONDS as cu, CONTEXT_CACHE_MAX_SIZE as cv, createActionRunPlugin as cw, type CreateActionRunPluginProvides as cx, getActionRunPlugin as cy, type GetActionRunPluginProvides as cz, type ZapierFetchInitOptions as d, CredentialsSchema as d$, connectionIdGenericResolver as d0, inputsResolver as d1, inputsAllOptionalResolver as d2, inputFieldKeyResolver as d3, clientCredentialsNameResolver as d4, clientIdResolver as d5, tableIdResolver as d6, triggerInboxResolver as d7, workflowIdResolver as d8, durableRunIdResolver as d9, type ZapierCacheEntry as dA, type ZapierCacheSetOptions as dB, createMemoryCache as dC, type SdkEvent as dD, type AuthEvent as dE, type ApiEvent as dF, type LoadingEvent as dG, type Credentials as dH, type ResolvedCredentials as dI, type CredentialsObject as dJ, type ClientCredentialsObject as dK, type PkceCredentialsObject as dL, isClientCredentials as dM, isPkceCredentials as dN, isCredentialsObject as dO, isCredentialsFunction as dP, type ResolveCredentialsOptions as dQ, resolveCredentialsFromEnv as dR, resolveCredentials as dS, getBaseUrlFromCredentials as dT, getClientIdFromCredentials as dU, ClientCredentialsObjectSchema as dV, PkceCredentialsObjectSchema as dW, CredentialsObjectSchema as dX, ResolvedCredentialsSchema as dY, CredentialsFunctionSchema as dZ, type CredentialsFunction as d_, workflowVersionIdResolver as da, workflowDraftIdResolver as db, workflowDraftRevisionResolver as dc, workflowRunIdResolver as dd, triggerMessagesResolver as de, tableRecordIdResolver as df, tableRecordIdsResolver as dg, tableFieldIdsResolver as dh, tableNameResolver as di, tableFieldsResolver as dj, tableRecordsResolver as dk, tableUpdateRecordsResolver as dl, tableFiltersResolver as dm, tableSortResolver as dn, type ResolveAuthTokenOptions as dp, AuthMechanism as dq, type ResolvedAuth as dr, clearTokenCache as ds, invalidateCachedToken as dt, injectCliLogin as du, isCliLoginAvailable as dv, getTokenFromCliLogin as dw, resolveAuth as dx, resolveAuthToken as dy, invalidateCredentialsToken as dz, type ActionProxy as e, getMemoryUsage as e$, ConnectionEntrySchema as e0, type ConnectionEntry as e1, ConnectionsMapSchema as e2, type ConnectionsMap as e3, type ResolveConnection as e4, CONNECTIONS_ID as e5, connectionsPluginRef as e6, connectionsPlugin as e7, ZAPIER_BASE_URL as e8, getZapierSdkService as e9, deleteTableRecordsPlugin as eA, updateTableRecordsPlugin as eB, cleanupEventListeners as eC, type EventEmissionContext as eD, type EventEmitter as eE, EVENT_EMISSION_ID as eF, eventEmissionPluginRef as eG, eventEmissionPlugin as eH, eventEmissionHookPlugin as eI, type EventContext as eJ, type ApplicationLifecycleEventData as eK, type EnhancedErrorEventData as eL, type MethodCalledEventData as eM, buildApplicationLifecycleEvent as eN, buildErrorEventWithContext as eO, buildErrorEvent as eP, createBaseEvent as eQ, buildMethodCalledEvent as eR, type MethodCalledEvent as eS, operationAnnotatorPlugin as eT, generateEventId as eU, getCurrentTimestamp as eV, getReleaseId as eW, getOsInfo as eX, getPlatformVersions as eY, isCi as eZ, getCiPlatform as e_, getZapierCorrelationId as ea, getZapierCausationId as eb, MAX_PAGE_LIMIT as ec, DEFAULT_PAGE_SIZE as ed, DEFAULT_ACTION_TIMEOUT_MILLISECONDS as ee, ACTION_RUNS_PATH as ef, ZAPIER_MAX_NETWORK_RETRIES as eg, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS as eh, MAX_CONCURRENCY_LIMIT as ei, parseConcurrencyEnvVar as ej, ZAPIER_MAX_CONCURRENT_REQUESTS as ek, getZapierApprovalMode as el, getZapierOpenAutoModeApprovalsInBrowser as em, getZapierDefaultApprovalMode as en, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS as eo, DEFAULT_MAX_APPROVAL_RETRIES as ep, listTablesPlugin as eq, getTablePlugin as er, createTablePlugin as es, deleteTablePlugin as et, listTableFieldsPlugin as eu, createTableFieldsPlugin as ev, deleteTableFieldsPlugin as ew, getTableRecordPlugin as ex, listTableRecordsPlugin as ey, createTableRecordsPlugin as ez, type ZapierSdkApps as f, getCpuTime as f0, getTtyContext as f1, createZapierSdk as f2, type ZapierSdkOptions as f3, type ZapierSdk as f4, type DrainTriggerInboxOptions as g, type ListActionInputFieldsOptions as h, type ListActionInputFieldChoicesOptions as i, type ApiClientDurationOptions as j, type EventTransport as k, type BaseEvent as l, DrainTriggerInboxSchema as m, WatchTriggerInboxSchema as n, ZapierAbortDrainSignal as o, ZapierReleaseTriggerMessageSignal as p, isZapierAbortDrainSignal as q, isZapierReleaseTriggerMessageSignal as r, type DrainTriggerInboxCallback as s, type DrainTriggerInboxErrorObserver as t, type LeasedTriggerMessageItem as u, type ListAuthenticationsPluginProvides as v, type GetAuthenticationPluginProvides as w, type FindFirstAuthenticationPluginProvides as x, type FindUniqueAuthenticationPluginProvides as y, type Action as z };
|
|
20829
|
+
export { sdkOptionsPluginRef as $, type ApiClient as A, type BaseSdkOptions as B, type ConnectionsProvider as C, type DeleteTriggerInboxResult as D, type EventCallback as E, type FieldsetItem as F, type GetActionInputFieldsSchemaOptions as G, type App as H, type Field as I, type Choice as J, type ActionExecutionResult as K, type ListActionsOptions as L, type ManifestProvider as M, type Need as N, type ActionField as O, type ActionFieldChoice as P, type NeedsRequest as Q, type ResolveCredentialsFn as R, type NeedsResponse as S, type TriggerMessageStatus as T, type Connection as U, type ConnectionsResponse as V, type WatchTriggerInboxOptions as W, type UserProfile as X, zapierSdkPlugin as Y, type ZapierCache as Z, SDK_OPTIONS_ID as _, type Manifest as a, ConnectionsPropertySchema as a$, CALLER_CONTEXT_HEADERS_SUPPORTED as a0, getCallerContext as a1, runWithCallerContext as a2, type CallerContext as a3, batch as a4, type BatchOptions as a5, buildCapabilityMessage as a6, logDeprecation as a7, resetDeprecationWarnings as a8, RelayRequestSchema as a9, type InfoFieldItem as aA, type RootFieldItem as aB, type UserProfileItem as aC, AppKeyPropertySchema as aD, AppPropertySchema as aE, ActionTypePropertySchema as aF, ActionKeyPropertySchema as aG, ActionPropertySchema as aH, InputFieldPropertySchema as aI, ConnectionIdPropertySchema as aJ, AuthenticationIdPropertySchema as aK, ConnectionPropertySchema as aL, InputsPropertySchema as aM, LimitPropertySchema as aN, OffsetPropertySchema as aO, OutputPropertySchema as aP, DebugPropertySchema as aQ, ParamsPropertySchema as aR, ActionTimeoutSecondsPropertySchema as aS, ActionTimeoutMillisecondsPropertySchema as aT, ActionIdempotencyKeyPropertySchema as aU, TablePropertySchema as aV, RecordPropertySchema as aW, RecordsPropertySchema as aX, FieldsPropertySchema as aY, AppsPropertySchema as aZ, TablesPropertySchema as a_, RelayFetchSchema as aa, createZapierSdkWithoutRegistry as ab, zapierCoreOptions as ac, BaseSdkOptionsSchema as ad, STABILITY_DEFINITIONS as ae, taxonomy as af, formatExtensionPluginFailure as ag, type ActionItem as ah, type ActionTypeItem as ai, type ResolvedAppLocator as aj, getAgent as ak, descriptionFor as al, isInternalField as am, type RequestOptions as an, type PollOptions as ao, createZapierApi as ap, getOrCreateApiClient as aq, isPermanentHttpError as ar, type SseMessage as as, type JsonSseMessage as at, DEPRECATION_NOTICE_EVENT as au, type DeprecationNoticePayload as av, type AppItem as aw, type ConnectionItem as ax, type ActionItem$1 as ay, type InputFieldItem as az, type EventEmissionConfig as b, isZapierTimeoutError as b$, TriggerInboxPropertySchema as b0, TriggerInboxKeyPropertySchema as b1, TriggerInboxNamePropertySchema as b2, LeasePropertySchema as b3, LeaseSecondsPropertySchema as b4, LeaseLimitPropertySchema as b5, type AppKeyProperty as b6, type AppProperty as b7, type ActionTypeProperty as b8, type ActionKeyProperty as b9, type ErrorOptions as bA, ZapierError as bB, ZapierValidationError as bC, ZapierUnknownError as bD, ZapierAuthenticationError as bE, zapierAdaptError as bF, ZapierApiError as bG, ZapierAppNotFoundError as bH, ZapierNotFoundError as bI, ZapierResourceNotFoundError as bJ, ZapierConfigurationError as bK, ZapierBundleError as bL, ZapierTimeoutError as bM, ZapierActionError as bN, ZapierConflictError as bO, type RateLimitInfo as bP, ZapierRateLimitError as bQ, type ApprovalStatus as bR, ZapierApprovalError as bS, ZapierRelayError as bT, isZapierError as bU, isZapierValidationError as bV, isZapierAuthenticationError as bW, isZapierAppNotFoundError as bX, isZapierNotFoundError as bY, isZapierResourceNotFoundError as bZ, isZapierConflictError as b_, type ActionProperty as ba, type InputFieldProperty as bb, type ConnectionIdProperty as bc, type ConnectionProperty as bd, type AuthenticationIdProperty as be, type InputsProperty as bf, type LimitProperty as bg, type OffsetProperty as bh, type OutputProperty as bi, type DebugProperty as bj, type ParamsProperty as bk, type ActionTimeoutSecondsProperty as bl, type ActionTimeoutMillisecondsProperty as bm, type TableProperty as bn, type RecordProperty as bo, type RecordsProperty as bp, type FieldsProperty as bq, type AppsProperty as br, type TablesProperty as bs, type ConnectionsProperty as bt, type TriggerInboxProperty as bu, type TriggerInboxKeyProperty as bv, type TriggerInboxNameProperty as bw, type LeaseProperty as bx, type LeaseSecondsProperty as by, type LeaseLimitProperty as bz, type CapabilitiesContext as c, connectionIdResolver as c$, isZapierBundleError as c0, isZapierActionError as c1, isZapierRateLimitError as c2, isZapierApprovalError as c3, formatErrorMessage as c4, ZapierSignal as c5, isZapierSignal as c6, appsPlugin as c7, type ActionExecutionOptions as c8, type AppFactoryInput as c9, runActionPlugin as cA, type RunActionPluginProvides as cB, requestPlugin as cC, type ManifestPluginOptions as cD, readManifestFromFile as cE, getPreferredManifestEntryKey as cF, findManifestEntry as cG, manifestPluginRef as cH, MANIFEST_ID as cI, manifestPlugin as cJ, type UpdateManifestEntryOptions as cK, type UpdateManifestEntryResult as cL, DEFAULT_CONFIG_PATH as cM, type ManifestEntry as cN, type ActionEntry as cO, getProfilePlugin as cP, type GetProfilePluginProvides as cQ, type ApiPluginOptions as cR, apiPluginRef as cS, API_ID as cT, apiPlugin as cU, resolveCredentialsPluginRef as cV, RESOLVE_CREDENTIALS_ID as cW, resolveCredentialsPlugin as cX, appKeyResolver as cY, actionTypeResolver as cZ, actionKeyResolver as c_, type FetchPluginProvides as ca, fetchPlugin as cb, listAppsPlugin as cc, type ListAppsPluginProvides as cd, listActionsPlugin as ce, type ListActionsPluginProvides as cf, listActionInputFieldsPlugin as cg, type ListActionInputFieldsPluginProvides as ch, listActionInputFieldChoicesPlugin as ci, getActionInputFieldsSchemaPlugin as cj, listConnectionsPlugin as ck, type ListConnectionsPluginProvides as cl, listClientCredentialsPlugin as cm, createClientCredentialsPlugin as cn, deleteClientCredentialsPlugin as co, getAppPlugin as cp, getActionPlugin as cq, getConnectionPlugin as cr, findFirstConnectionPlugin as cs, findUniqueConnectionPlugin as ct, CONTEXT_CACHE_TTL_MILLISECONDS as cu, CONTEXT_CACHE_MAX_SIZE as cv, createActionRunPlugin as cw, type CreateActionRunPluginProvides as cx, getActionRunPlugin as cy, type GetActionRunPluginProvides as cz, type ZapierFetchInitOptions as d, CredentialsSchema as d$, connectionIdGenericResolver as d0, inputsResolver as d1, inputsAllOptionalResolver as d2, inputFieldKeyResolver as d3, clientCredentialsNameResolver as d4, clientIdResolver as d5, tableIdResolver as d6, triggerInboxResolver as d7, workflowIdResolver as d8, durableRunIdResolver as d9, type ZapierCacheEntry as dA, type ZapierCacheSetOptions as dB, createMemoryCache as dC, type SdkEvent as dD, type AuthEvent as dE, type ApiEvent as dF, type LoadingEvent as dG, type Credentials as dH, type ResolvedCredentials as dI, type CredentialsObject as dJ, type ClientCredentialsObject as dK, type PkceCredentialsObject as dL, isClientCredentials as dM, isPkceCredentials as dN, isCredentialsObject as dO, isCredentialsFunction as dP, type ResolveCredentialsOptions as dQ, resolveCredentialsFromEnv as dR, resolveCredentials as dS, getBaseUrlFromCredentials as dT, getClientIdFromCredentials as dU, ClientCredentialsObjectSchema as dV, PkceCredentialsObjectSchema as dW, CredentialsObjectSchema as dX, ResolvedCredentialsSchema as dY, CredentialsFunctionSchema as dZ, type CredentialsFunction as d_, workflowVersionIdResolver as da, workflowDraftIdResolver as db, workflowDraftRevisionResolver as dc, workflowRunIdResolver as dd, triggerMessagesResolver as de, tableRecordIdResolver as df, tableRecordIdsResolver as dg, tableFieldIdsResolver as dh, tableNameResolver as di, tableFieldsResolver as dj, tableRecordsResolver as dk, tableUpdateRecordsResolver as dl, tableFiltersResolver as dm, tableSortResolver as dn, type ResolveAuthTokenOptions as dp, AuthMechanism as dq, type ResolvedAuth as dr, clearTokenCache as ds, invalidateCachedToken as dt, injectCliLogin as du, isCliLoginAvailable as dv, getTokenFromCliLogin as dw, resolveAuth as dx, resolveAuthToken as dy, invalidateCredentialsToken as dz, type ActionProxy as e, getMemoryUsage as e$, ConnectionEntrySchema as e0, type ConnectionEntry as e1, ConnectionsMapSchema as e2, type ConnectionsMap as e3, type ResolveConnection as e4, connectionsPluginRef as e5, CONNECTIONS_ID as e6, connectionsPlugin as e7, ZAPIER_BASE_URL as e8, getZapierSdkService as e9, deleteTableRecordsPlugin as eA, updateTableRecordsPlugin as eB, cleanupEventListeners as eC, type EventEmissionContext as eD, type EventEmitter as eE, eventEmissionPluginRef as eF, EVENT_EMISSION_ID as eG, eventEmissionPlugin as eH, eventEmissionHookPlugin as eI, type EventContext as eJ, type ApplicationLifecycleEventData as eK, type EnhancedErrorEventData as eL, type MethodCalledEventData as eM, buildApplicationLifecycleEvent as eN, buildErrorEventWithContext as eO, buildErrorEvent as eP, createBaseEvent as eQ, buildMethodCalledEvent as eR, type MethodCalledEvent as eS, operationAnnotatorPlugin as eT, generateEventId as eU, getCurrentTimestamp as eV, getReleaseId as eW, getOsInfo as eX, getPlatformVersions as eY, isCi as eZ, getCiPlatform as e_, getZapierCorrelationId as ea, getZapierCausationId as eb, MAX_PAGE_LIMIT as ec, DEFAULT_PAGE_SIZE as ed, DEFAULT_ACTION_TIMEOUT_MILLISECONDS as ee, ACTION_RUNS_PATH as ef, ZAPIER_MAX_NETWORK_RETRIES as eg, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS as eh, MAX_CONCURRENCY_LIMIT as ei, parseConcurrencyEnvVar as ej, ZAPIER_MAX_CONCURRENT_REQUESTS as ek, getZapierApprovalMode as el, getZapierOpenAutoModeApprovalsInBrowser as em, getZapierDefaultApprovalMode as en, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS as eo, DEFAULT_MAX_APPROVAL_RETRIES as ep, listTablesPlugin as eq, getTablePlugin as er, createTablePlugin as es, deleteTablePlugin as et, listTableFieldsPlugin as eu, createTableFieldsPlugin as ev, deleteTableFieldsPlugin as ew, getTableRecordPlugin as ex, listTableRecordsPlugin as ey, createTableRecordsPlugin as ez, type ZapierSdkApps as f, getCpuTime as f0, getTtyContext as f1, createZapierSdk as f2, type ZapierSdkOptions as f3, type ZapierSdk as f4, type DrainTriggerInboxOptions as g, type ListActionInputFieldsOptions as h, type ListActionInputFieldChoicesOptions as i, type ApiClientDurationOptions as j, type EventTransport as k, type BaseEvent as l, DrainTriggerInboxSchema as m, WatchTriggerInboxSchema as n, ZapierAbortDrainSignal as o, ZapierReleaseTriggerMessageSignal as p, isZapierAbortDrainSignal as q, isZapierReleaseTriggerMessageSignal as r, type DrainTriggerInboxCallback as s, type DrainTriggerInboxErrorObserver as t, type LeasedTriggerMessageItem as u, type ListAuthenticationsPluginProvides as v, type GetAuthenticationPluginProvides as w, type FindFirstAuthenticationPluginProvides as x, type FindUniqueAuthenticationPluginProvides as y, type Action as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as zod from 'zod';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import * as _zapier_kitcore from '@zapier/kitcore';
|
|
4
|
-
import { CoreApiError, AdaptError,
|
|
4
|
+
import { CoreApiError, AdaptError, PluginSurface, PaginatedSdkFunction, ModelResolver, CoreOptions, CategoryDefinition } from '@zapier/kitcore';
|
|
5
5
|
import { ConnectionSchema, ConnectionsResponseSchema, GetConnectionResponse } from '@zapier/zapier-sdk-core/v0/schemas/connections';
|
|
6
6
|
import { RequestContext } from '@zapier/policy-context';
|
|
7
7
|
import * as zod_v4_core from 'zod/v4/core';
|
|
@@ -362,8 +362,8 @@ declare class ZapierAuthenticationError extends ZapierError {
|
|
|
362
362
|
}
|
|
363
363
|
/**
|
|
364
364
|
* Maps kitcore's abstract `CoreErrorCode` values onto Zapier's
|
|
365
|
-
* branded error classes. Wired into `createZapierSdk`
|
|
366
|
-
* `
|
|
365
|
+
* branded error classes. Wired into `createZapierSdk` through
|
|
366
|
+
* `zapierSdkPlugin`'s default `coreOptionsPluginRef` provider, so
|
|
367
367
|
* every error kitcore constructs internally surfaces as the
|
|
368
368
|
* appropriate `Zapier*` subclass instead of a neutral `CoreError`.
|
|
369
369
|
*/
|
|
@@ -1085,7 +1085,6 @@ interface EventEmissionContext {
|
|
|
1085
1085
|
/** The emitter surface: what `imports.eventEmission` and `resolvePlugin`
|
|
1086
1086
|
* callers see. Internal; deliberately NOT public SDK API. */
|
|
1087
1087
|
type EventEmitter = EventEmissionContext["eventEmission"];
|
|
1088
|
-
declare const EVENT_EMISSION_ID = "zapier/eventEmission";
|
|
1089
1088
|
/**
|
|
1090
1089
|
* The typed stand-in for the emitter, imported by plugins that emit custom
|
|
1091
1090
|
* events (`imports: [eventEmissionPluginRef]` then `imports.eventEmission`).
|
|
@@ -1105,6 +1104,8 @@ declare const eventEmissionPluginRef: _zapier_kitcore.PropertyPlugin<"eventEmiss
|
|
|
1105
1104
|
flush(): Promise<void>;
|
|
1106
1105
|
close(exitCode?: number): Promise<void>;
|
|
1107
1106
|
}> & _zapier_kitcore.StandInId<"zapier/eventEmission">;
|
|
1107
|
+
/** @deprecated Use `eventEmissionPluginRef.id`. */
|
|
1108
|
+
declare const EVENT_EMISSION_ID: "zapier/eventEmission";
|
|
1108
1109
|
/**
|
|
1109
1110
|
* The module-model emitter provider: builds the emitter once at
|
|
1110
1111
|
* materialization from the injected SDK options (startup event, process
|
|
@@ -1891,18 +1892,12 @@ interface ApiClientOptions {
|
|
|
1891
1892
|
* Maximum number of retries for rate-limited requests (429 responses) and,
|
|
1892
1893
|
* on idempotent methods, retryable server errors (500, 502, 503, 504).
|
|
1893
1894
|
* Set to 0 to disable retries. Default is 3.
|
|
1894
|
-
*
|
|
1895
|
-
* Configures the graph-provided transport, so it is ignored when
|
|
1896
|
-
* `sendHttpRequest` replaces that transport.
|
|
1897
1895
|
*/
|
|
1898
1896
|
maxNetworkRetries?: number;
|
|
1899
1897
|
/**
|
|
1900
1898
|
* Maximum delay in milliseconds to wait between network retries.
|
|
1901
1899
|
* If the server requests a longer delay, the request fails immediately.
|
|
1902
1900
|
* Default is 60000 (60 seconds).
|
|
1903
|
-
*
|
|
1904
|
-
* Ignored when `sendHttpRequest` supplies a transport, like
|
|
1905
|
-
* `maxNetworkRetries`.
|
|
1906
1901
|
*/
|
|
1907
1902
|
maxNetworkRetryDelayMilliseconds?: number;
|
|
1908
1903
|
/**
|
|
@@ -1979,22 +1974,6 @@ interface ApiClientOptions {
|
|
|
1979
1974
|
* invocations. See ZapierCache in ../cache.ts.
|
|
1980
1975
|
*/
|
|
1981
1976
|
cache?: ZapierCache;
|
|
1982
|
-
/**
|
|
1983
|
-
* Transport used for API requests. `apiPlugin` supplies the graph-composed
|
|
1984
|
-
* transport so host wraps, including a `dispatchHttpRequest` replacement,
|
|
1985
|
-
* apply. The deprecated `createZapierApi` compatibility factory accepts an
|
|
1986
|
-
* override here by installing it into its scoped SDK graph.
|
|
1987
|
-
*
|
|
1988
|
-
* `fetch` remains the credential-exchange transport because token resolution
|
|
1989
|
-
* runs outside the request pipeline.
|
|
1990
|
-
*
|
|
1991
|
-
* A transport supplied here owns its retry policy. The SDK does not add
|
|
1992
|
-
* another retry loop, so `maxNetworkRetries` and
|
|
1993
|
-
* `maxNetworkRetryDelayMilliseconds` are ignored. A terminal 429 reports
|
|
1994
|
-
* `retries: 0` because the SDK cannot observe retries performed inside a
|
|
1995
|
-
* custom transport.
|
|
1996
|
-
*/
|
|
1997
|
-
sendHttpRequest?: SendHttpRequest;
|
|
1998
1977
|
}
|
|
1999
1978
|
interface FetchStreamInit extends RequestInit, CorrelationIdCarrier {
|
|
2000
1979
|
searchParams?: Record<string, string>;
|
|
@@ -2344,12 +2323,13 @@ declare function findManifestEntry({ appKey, manifest, }: {
|
|
|
2344
2323
|
manifest: Manifest;
|
|
2345
2324
|
}): [string, ManifestEntry] | null;
|
|
2346
2325
|
|
|
2347
|
-
declare const MANIFEST_ID = "zapier/manifest";
|
|
2348
2326
|
/**
|
|
2349
2327
|
* The typed stand-in plugins import to read the manifest's
|
|
2350
2328
|
* version-locking API (`imports: [manifestPluginRef]` then `imports.manifest`).
|
|
2351
2329
|
*/
|
|
2352
2330
|
declare const manifestPluginRef: _zapier_kitcore.PropertyPlugin<"manifest", ManifestProvider> & _zapier_kitcore.DeclarationSummary<"zapier/manifest", ManifestProvider> & _zapier_kitcore.StandInId<"zapier/manifest">;
|
|
2331
|
+
/** @deprecated Use `manifestPluginRef.id`. */
|
|
2332
|
+
declare const MANIFEST_ID: "zapier/manifest";
|
|
2353
2333
|
/**
|
|
2354
2334
|
* The module-model manifest provider (version-locking API) built once from the
|
|
2355
2335
|
* injected SDK options (`manifest` object or `manifestPath` file) plus, per read,
|
|
@@ -2510,12 +2490,13 @@ type ResolveConnection = (name: string) => Promise<ConnectionsMap[string] | unde
|
|
|
2510
2490
|
interface ConnectionsProvider {
|
|
2511
2491
|
resolveConnection: ResolveConnection;
|
|
2512
2492
|
}
|
|
2513
|
-
declare const CONNECTIONS_ID = "zapier/connections";
|
|
2514
2493
|
/**
|
|
2515
2494
|
* The typed stand-in plugins import to resolve a named connection
|
|
2516
2495
|
* (`imports: [connectionsPluginRef]` then `imports.connections`).
|
|
2517
2496
|
*/
|
|
2518
2497
|
declare const connectionsPluginRef: _zapier_kitcore.PropertyPlugin<"connections", ConnectionsProvider> & _zapier_kitcore.DeclarationSummary<"zapier/connections", ConnectionsProvider> & _zapier_kitcore.StandInId<"zapier/connections">;
|
|
2498
|
+
/** @deprecated Use `connectionsPluginRef.id`. */
|
|
2499
|
+
declare const CONNECTIONS_ID: "zapier/connections";
|
|
2519
2500
|
/**
|
|
2520
2501
|
* The module-model connections provider: resolves named connections from the
|
|
2521
2502
|
* manifest's connections map, loaded once and cached.
|
|
@@ -6207,12 +6188,13 @@ declare function getClientIdFromCredentials(credentials: ResolvedCredentials | u
|
|
|
6207
6188
|
interface ApiPluginOptions extends BaseSdkOptions {
|
|
6208
6189
|
}
|
|
6209
6190
|
type ResolveCredentialsFn = () => ReturnType<typeof resolveCredentials>;
|
|
6210
|
-
declare const API_ID = "zapier/api";
|
|
6211
6191
|
/**
|
|
6212
6192
|
* The typed stand-in plugins import to read the API client
|
|
6213
6193
|
* (`imports: [apiPluginRef]` then `imports.api`).
|
|
6214
6194
|
*/
|
|
6215
6195
|
declare const apiPluginRef: _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">;
|
|
6196
|
+
/** @deprecated Use `apiPluginRef.id`. */
|
|
6197
|
+
declare const API_ID: "zapier/api";
|
|
6216
6198
|
/**
|
|
6217
6199
|
* The module-model API provider: builds the client once at materialization
|
|
6218
6200
|
* (`setup`, dependencies-first) from the injected SDK options. The client
|
|
@@ -6438,12 +6420,13 @@ declare const apiPlugin: _zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zap
|
|
|
6438
6420
|
canDeleteTables?: boolean | undefined;
|
|
6439
6421
|
token?: string | undefined;
|
|
6440
6422
|
} | undefined> | _zapier_kitcore.ContractEntry<"zapier/apiClientDurations", ApiClientDurationOptions | undefined> | _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch | undefined>, _zapier_kitcore.ContractEntry<"kitcore/prepareHttpRequest", (input: _zapier_kitcore.PrepareHttpRequestInput) => Promise<_zapier_kitcore.HttpRequest>> | _zapier_kitcore.ContractEntry<"kitcore/authorizeHttpRequest", (input: _zapier_kitcore.AuthorizeHttpRequestInput) => Promise<_zapier_kitcore.HttpRequest>> | _zapier_kitcore.ContractEntry<"kitcore/dispatchHttpRequest", (input: _zapier_kitcore.DispatchHttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/receiveHttpResponse", (input: _zapier_kitcore.ReceiveHttpResponseInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/initializeHttpRequest", (input: _zapier_kitcore.InitializeHttpRequestInput) => Promise<_zapier_kitcore.HttpOperationContext>> | _zapier_kitcore.ContractEntry<"kitcore/attemptHttpRequest", (input: _zapier_kitcore.AttemptHttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/sendHttpRequest", (input: _zapier_kitcore.HttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/retryHttpRequestOptions", _zapier_kitcore.RetryHttpRequestOptions> | _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch>>], ApiClient>;
|
|
6441
|
-
declare const RESOLVE_CREDENTIALS_ID = "zapier/resolveCredentials";
|
|
6442
6423
|
/**
|
|
6443
6424
|
* The typed stand-in for the credentials resolver
|
|
6444
6425
|
* (`imports: [resolveCredentialsPluginRef]` then `imports.resolveCredentials`).
|
|
6445
6426
|
*/
|
|
6446
6427
|
declare const resolveCredentialsPluginRef: _zapier_kitcore.PropertyPlugin<"resolveCredentials", ResolveCredentialsFn> & _zapier_kitcore.DeclarationSummary<"zapier/resolveCredentials", ResolveCredentialsFn> & _zapier_kitcore.StandInId<"zapier/resolveCredentials">;
|
|
6428
|
+
/** @deprecated Use `resolveCredentialsPluginRef.id`. */
|
|
6429
|
+
declare const RESOLVE_CREDENTIALS_ID: "zapier/resolveCredentials";
|
|
6447
6430
|
/**
|
|
6448
6431
|
* Resolves the caller's credentials from the injected SDK options. Internal:
|
|
6449
6432
|
* consumed by the CLI's auth plugins (login/logout/signup) via
|
|
@@ -8635,10 +8618,10 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
8635
8618
|
} & _zapier_kitcore.SdkContextCarrier;
|
|
8636
8619
|
/**
|
|
8637
8620
|
* The root plugin of the Zapier SDK: every plugin authored with
|
|
8638
|
-
* `defineMethod` / `defineProperty` / `definePlugin`.
|
|
8639
|
-
* `createSdk(zapierSdkPlugin, {
|
|
8640
|
-
* aggregate, as the CLI does), so adding a
|
|
8641
|
-
* `exports`, not the
|
|
8621
|
+
* `defineMethod` / `defineProperty` / `definePlugin`. Factories build on it
|
|
8622
|
+
* with `createSdk(zapierSdkPlugin, { imports })`, passing their options as
|
|
8623
|
+
* providers (or wrap it in their own aggregate, as the CLI does), so adding a
|
|
8624
|
+
* plugin only edits this aggregate's `exports`, not the factories.
|
|
8642
8625
|
*/
|
|
8643
8626
|
declare const zapierSdkPlugin: _zapier_kitcore.AggregatePlugin<"sdk", {
|
|
8644
8627
|
getRegistry: _zapier_kitcore.MethodPlugin<"getRegistry", {
|
|
@@ -16116,7 +16099,7 @@ declare const zapierSdkPlugin: _zapier_kitcore.AggregatePlugin<"sdk", {
|
|
|
16116
16099
|
}[];
|
|
16117
16100
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
16118
16101
|
}>>;
|
|
16119
|
-
}> & _zapier_kitcore.PluginSummary<never, "request" | "fetch" | "zapier/eventEmission" | "apps" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/httpFetch" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "kitcore/retryHttpRequestOptions" | "zapier/httpTransport" | "zapier/api" | "zapier/manifest" | "zapier/resolveCredentials" | "zapier/connections" | "getApp" | "listApps" | "listActions" | "zapier/capabilities" | "listConnections" | "listActionInputFields" | "listActionInputFieldChoices" | "listClientCredentials" | "listTablesInternal" | "listTriggerInboxes" | "listTriggerInboxMessages" | "listTableRecords" | "listTableFields" | "getAction" | "createActionRun" | "runAction" | "getActionInputFieldsSchema" | "createClientCredentials" | "deleteClientCredentials" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "getActionRun" | "getProfile" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listInputFields" | "listInputFieldChoices" | "getInputFieldsSchema" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "getTable" | "deleteTable" | "createTable" | "createTableFields" | "deleteTableFields" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "zapier/sdk", _zapier_kitcore.ContractEntry<"zapier/sdkOptions", {
|
|
16102
|
+
}> & _zapier_kitcore.PluginSummary<never, "request" | "fetch" | "zapier/eventEmission" | "apps" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/httpFetch" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "kitcore/retryHttpRequestOptions" | "zapier/httpTransport" | "zapier/api" | "zapier/manifest" | "zapier/resolveCredentials" | "zapier/connections" | "kitcore/coreOptions" | "getApp" | "listApps" | "listActions" | "zapier/capabilities" | "listConnections" | "listActionInputFields" | "listActionInputFieldChoices" | "listClientCredentials" | "listTablesInternal" | "listTriggerInboxes" | "listTriggerInboxMessages" | "listTableRecords" | "listTableFields" | "getAction" | "createActionRun" | "runAction" | "getActionInputFieldsSchema" | "createClientCredentials" | "deleteClientCredentials" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "getActionRun" | "getProfile" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listInputFields" | "listInputFieldChoices" | "getInputFieldsSchema" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "getTable" | "deleteTable" | "createTable" | "createTableFields" | "deleteTableFields" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "kitcore/getRegistry" | "zapier/sdk", _zapier_kitcore.ContractEntry<"zapier/sdkOptions", {
|
|
16120
16103
|
credentials?: string | {
|
|
16121
16104
|
clientId: string;
|
|
16122
16105
|
clientSecret: string;
|
|
@@ -16298,7 +16281,7 @@ declare const zapierSdkPlugin: _zapier_kitcore.AggregatePlugin<"sdk", {
|
|
|
16298
16281
|
createBaseEvent(): Promise<BaseEvent>;
|
|
16299
16282
|
flush(): Promise<void>;
|
|
16300
16283
|
close(exitCode?: number): Promise<void>;
|
|
16301
|
-
}> | _zapier_kitcore.ContractEntry<"kitcore/prepareHttpRequest", (input: _zapier_kitcore.PrepareHttpRequestInput) => Promise<_zapier_kitcore.HttpRequest>> | _zapier_kitcore.ContractEntry<"kitcore/authorizeHttpRequest", (input: _zapier_kitcore.AuthorizeHttpRequestInput) => Promise<_zapier_kitcore.HttpRequest>> | _zapier_kitcore.ContractEntry<"kitcore/dispatchHttpRequest", (input: _zapier_kitcore.DispatchHttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/receiveHttpResponse", (input: _zapier_kitcore.ReceiveHttpResponseInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/initializeHttpRequest", (input: _zapier_kitcore.InitializeHttpRequestInput) => Promise<_zapier_kitcore.HttpOperationContext>> | _zapier_kitcore.ContractEntry<"kitcore/attemptHttpRequest", (input: _zapier_kitcore.AttemptHttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/sendHttpRequest", (input: _zapier_kitcore.HttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/retryHttpRequestOptions", _zapier_kitcore.RetryHttpRequestOptions> | _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch> | _zapier_kitcore.ContractEntry<"zapier/api", ApiClient> | _zapier_kitcore.ContractEntry<"zapier/manifest", ManifestProvider> | _zapier_kitcore.ContractEntry<"zapier/resolveCredentials", ResolveCredentialsFn> | _zapier_kitcore.ContractEntry<"zapier/connections", ConnectionsProvider> | _zapier_kitcore.ContractEntry<"fetch", (arg: string | URL, arg_1?: ZapierFetchInitOptions | undefined) => Promise<Response>> | _zapier_kitcore.ContractEntry<"zapier/capabilities", CapabilitiesContext> | _zapier_kitcore.ContractEntry<"listActions", (input: (({
|
|
16284
|
+
}> | _zapier_kitcore.ContractEntry<"kitcore/prepareHttpRequest", (input: _zapier_kitcore.PrepareHttpRequestInput) => Promise<_zapier_kitcore.HttpRequest>> | _zapier_kitcore.ContractEntry<"kitcore/authorizeHttpRequest", (input: _zapier_kitcore.AuthorizeHttpRequestInput) => Promise<_zapier_kitcore.HttpRequest>> | _zapier_kitcore.ContractEntry<"kitcore/dispatchHttpRequest", (input: _zapier_kitcore.DispatchHttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/receiveHttpResponse", (input: _zapier_kitcore.ReceiveHttpResponseInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/initializeHttpRequest", (input: _zapier_kitcore.InitializeHttpRequestInput) => Promise<_zapier_kitcore.HttpOperationContext>> | _zapier_kitcore.ContractEntry<"kitcore/attemptHttpRequest", (input: _zapier_kitcore.AttemptHttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/sendHttpRequest", (input: _zapier_kitcore.HttpRequestInput) => Promise<Response>> | _zapier_kitcore.ContractEntry<"kitcore/retryHttpRequestOptions", _zapier_kitcore.RetryHttpRequestOptions> | _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch> | _zapier_kitcore.ContractEntry<"zapier/api", ApiClient> | _zapier_kitcore.ContractEntry<"zapier/manifest", ManifestProvider> | _zapier_kitcore.ContractEntry<"zapier/resolveCredentials", ResolveCredentialsFn> | _zapier_kitcore.ContractEntry<"zapier/connections", ConnectionsProvider> | _zapier_kitcore.ContractEntry<"kitcore/coreOptions", _zapier_kitcore.CoreOptions | undefined> | _zapier_kitcore.ContractEntry<"fetch", (arg: string | URL, arg_1?: ZapierFetchInitOptions | undefined) => Promise<Response>> | _zapier_kitcore.ContractEntry<"zapier/capabilities", CapabilitiesContext> | _zapier_kitcore.ContractEntry<"listActions", (input: (({
|
|
16302
16285
|
app: string;
|
|
16303
16286
|
actionType?: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run" | undefined;
|
|
16304
16287
|
pageSize?: number | undefined;
|
|
@@ -19566,21 +19549,17 @@ interface ZapierSdk extends ReturnType<typeof createZapierSdk> {
|
|
|
19566
19549
|
}
|
|
19567
19550
|
|
|
19568
19551
|
/**
|
|
19569
|
-
* The SDK's
|
|
19570
|
-
* merging, valued as `BaseSdkOptions` (the same shape
|
|
19571
|
-
* accepts), so a consumer reads exactly the fields it needs.
|
|
19552
|
+
* The optional stand-in for the SDK's options: a single, top-level snapshot
|
|
19553
|
+
* with no merging, valued as `BaseSdkOptions` (the same shape
|
|
19554
|
+
* `createZapierSdk` accepts), so a consumer reads exactly the fields it needs.
|
|
19555
|
+
* It is `declareOptionalProperty` (not `declareProperty`) so a plugin builds
|
|
19556
|
+
* standalone in its own unit tests without wiring the options value: the
|
|
19557
|
+
* binding is `BaseSdkOptions | undefined` and the consumer falls back to its
|
|
19558
|
+
* own defaults (`{ ...DEFAULTS, ...imports.sdkOptions }`).
|
|
19572
19559
|
*
|
|
19573
|
-
* There is no provider plugin under this id
|
|
19574
|
-
* options at build time
|
|
19575
|
-
*
|
|
19576
|
-
* provider would.
|
|
19577
|
-
*/
|
|
19578
|
-
declare const SDK_OPTIONS_ID = "zapier/sdkOptions";
|
|
19579
|
-
/**
|
|
19580
|
-
* The optional stand-in an options-consuming plugin imports. It is `declareOptionalProperty`
|
|
19581
|
-
* (not `declareProperty`) so a plugin builds standalone in its own unit tests
|
|
19582
|
-
* without wiring the options value: the binding is `BaseSdkOptions | undefined`
|
|
19583
|
-
* and the consumer falls back to its own defaults (`{ ...DEFAULTS, ...imports.sdkOptions }`).
|
|
19560
|
+
* There is no provider plugin under this id in `zapierSdkPlugin`: each factory
|
|
19561
|
+
* provides the caller's options at build time with
|
|
19562
|
+
* `defineProperty(sdkOptionsPluginRef, { value: options })`.
|
|
19584
19563
|
*/
|
|
19585
19564
|
declare const sdkOptionsPluginRef: _zapier_kitcore.PropertyPlugin<"sdkOptions", {
|
|
19586
19565
|
credentials?: string | {
|
|
@@ -19727,6 +19706,11 @@ declare const sdkOptionsPluginRef: _zapier_kitcore.PropertyPlugin<"sdkOptions",
|
|
|
19727
19706
|
canDeleteTables?: boolean | undefined;
|
|
19728
19707
|
token?: string | undefined;
|
|
19729
19708
|
} | undefined> & _zapier_kitcore.StandInId<"zapier/sdkOptions">;
|
|
19709
|
+
/**
|
|
19710
|
+
* @deprecated Use `sdkOptionsPluginRef.id`, or provide options with
|
|
19711
|
+
* `defineProperty(sdkOptionsPluginRef, { value })` in `createSdk`'s `imports`.
|
|
19712
|
+
*/
|
|
19713
|
+
declare const SDK_OPTIONS_ID: "zapier/sdkOptions";
|
|
19730
19714
|
|
|
19731
19715
|
declare const CALLER_CONTEXT_HEADERS_SUPPORTED = true;
|
|
19732
19716
|
interface CallerContext {
|
|
@@ -20691,9 +20675,9 @@ declare const updateTableRecordsPlugin: _zapier_kitcore.MethodPlugin<"updateTabl
|
|
|
20691
20675
|
/**
|
|
20692
20676
|
* Zapier's framework options: `adaptError` produces `Zapier*` branded errors
|
|
20693
20677
|
* from kitcore's internal throw sites (validation, non-Error normalization)
|
|
20694
|
-
* so consumers never see a neutral `CoreError`.
|
|
20695
|
-
* bag
|
|
20696
|
-
*
|
|
20678
|
+
* so consumers never see a neutral `CoreError`. `zapierSdkPlugin` provides
|
|
20679
|
+
* this bag by default (`zapierCoreOptionsPlugin` below); the method boundary
|
|
20680
|
+
* and `coreOptionsPluginRef` importers resolve it by that ref's id.
|
|
20697
20681
|
*
|
|
20698
20682
|
* Pagination shaping is intentionally NOT wired here: each paginated method
|
|
20699
20683
|
* declares its own `adaptPage` (e.g. `adaptPage: adaptZapierPage`), so the adapter
|
|
@@ -20842,4 +20826,4 @@ declare function descriptionFor(schema: unknown): string | undefined;
|
|
|
20842
20826
|
*/
|
|
20843
20827
|
declare function isInternalField(schema: z.ZodType): boolean;
|
|
20844
20828
|
|
|
20845
|
-
export { sdkOptionsPluginRef as $, type ApiClient as A, type BaseSdkOptions as B, type ConnectionsProvider as C, type DeleteTriggerInboxResult as D, type EventCallback as E, type FieldsetItem as F, type GetActionInputFieldsSchemaOptions as G, type App as H, type Field as I, type Choice as J, type ActionExecutionResult as K, type ListActionsOptions as L, type ManifestProvider as M, type Need as N, type ActionField as O, type ActionFieldChoice as P, type NeedsRequest as Q, type ResolveCredentialsFn as R, type NeedsResponse as S, type TriggerMessageStatus as T, type Connection as U, type ConnectionsResponse as V, type WatchTriggerInboxOptions as W, type UserProfile as X, zapierSdkPlugin as Y, type ZapierCache as Z, SDK_OPTIONS_ID as _, type Manifest as a, ConnectionsPropertySchema as a$, CALLER_CONTEXT_HEADERS_SUPPORTED as a0, getCallerContext as a1, runWithCallerContext as a2, type CallerContext as a3, batch as a4, type BatchOptions as a5, buildCapabilityMessage as a6, logDeprecation as a7, resetDeprecationWarnings as a8, RelayRequestSchema as a9, type InfoFieldItem as aA, type RootFieldItem as aB, type UserProfileItem as aC, AppKeyPropertySchema as aD, AppPropertySchema as aE, ActionTypePropertySchema as aF, ActionKeyPropertySchema as aG, ActionPropertySchema as aH, InputFieldPropertySchema as aI, ConnectionIdPropertySchema as aJ, AuthenticationIdPropertySchema as aK, ConnectionPropertySchema as aL, InputsPropertySchema as aM, LimitPropertySchema as aN, OffsetPropertySchema as aO, OutputPropertySchema as aP, DebugPropertySchema as aQ, ParamsPropertySchema as aR, ActionTimeoutSecondsPropertySchema as aS, ActionTimeoutMillisecondsPropertySchema as aT, ActionIdempotencyKeyPropertySchema as aU, TablePropertySchema as aV, RecordPropertySchema as aW, RecordsPropertySchema as aX, FieldsPropertySchema as aY, AppsPropertySchema as aZ, TablesPropertySchema as a_, RelayFetchSchema as aa, createZapierSdkWithoutRegistry as ab, zapierCoreOptions as ac, BaseSdkOptionsSchema as ad, STABILITY_DEFINITIONS as ae, taxonomy as af, formatExtensionPluginFailure as ag, type ActionItem as ah, type ActionTypeItem as ai, type ResolvedAppLocator as aj, getAgent as ak, descriptionFor as al, isInternalField as am, type RequestOptions as an, type PollOptions as ao, createZapierApi as ap, getOrCreateApiClient as aq, isPermanentHttpError as ar, type SseMessage as as, type JsonSseMessage as at, DEPRECATION_NOTICE_EVENT as au, type DeprecationNoticePayload as av, type AppItem as aw, type ConnectionItem as ax, type ActionItem$1 as ay, type InputFieldItem as az, type EventEmissionConfig as b, isZapierTimeoutError as b$, TriggerInboxPropertySchema as b0, TriggerInboxKeyPropertySchema as b1, TriggerInboxNamePropertySchema as b2, LeasePropertySchema as b3, LeaseSecondsPropertySchema as b4, LeaseLimitPropertySchema as b5, type AppKeyProperty as b6, type AppProperty as b7, type ActionTypeProperty as b8, type ActionKeyProperty as b9, type ErrorOptions as bA, ZapierError as bB, ZapierValidationError as bC, ZapierUnknownError as bD, ZapierAuthenticationError as bE, zapierAdaptError as bF, ZapierApiError as bG, ZapierAppNotFoundError as bH, ZapierNotFoundError as bI, ZapierResourceNotFoundError as bJ, ZapierConfigurationError as bK, ZapierBundleError as bL, ZapierTimeoutError as bM, ZapierActionError as bN, ZapierConflictError as bO, type RateLimitInfo as bP, ZapierRateLimitError as bQ, type ApprovalStatus as bR, ZapierApprovalError as bS, ZapierRelayError as bT, isZapierError as bU, isZapierValidationError as bV, isZapierAuthenticationError as bW, isZapierAppNotFoundError as bX, isZapierNotFoundError as bY, isZapierResourceNotFoundError as bZ, isZapierConflictError as b_, type ActionProperty as ba, type InputFieldProperty as bb, type ConnectionIdProperty as bc, type ConnectionProperty as bd, type AuthenticationIdProperty as be, type InputsProperty as bf, type LimitProperty as bg, type OffsetProperty as bh, type OutputProperty as bi, type DebugProperty as bj, type ParamsProperty as bk, type ActionTimeoutSecondsProperty as bl, type ActionTimeoutMillisecondsProperty as bm, type TableProperty as bn, type RecordProperty as bo, type RecordsProperty as bp, type FieldsProperty as bq, type AppsProperty as br, type TablesProperty as bs, type ConnectionsProperty as bt, type TriggerInboxProperty as bu, type TriggerInboxKeyProperty as bv, type TriggerInboxNameProperty as bw, type LeaseProperty as bx, type LeaseSecondsProperty as by, type LeaseLimitProperty as bz, type CapabilitiesContext as c, connectionIdResolver as c$, isZapierBundleError as c0, isZapierActionError as c1, isZapierRateLimitError as c2, isZapierApprovalError as c3, formatErrorMessage as c4, ZapierSignal as c5, isZapierSignal as c6, appsPlugin as c7, type ActionExecutionOptions as c8, type AppFactoryInput as c9, runActionPlugin as cA, type RunActionPluginProvides as cB, requestPlugin as cC, type ManifestPluginOptions as cD, readManifestFromFile as cE, getPreferredManifestEntryKey as cF, findManifestEntry as cG, MANIFEST_ID as cH, manifestPluginRef as cI, manifestPlugin as cJ, type UpdateManifestEntryOptions as cK, type UpdateManifestEntryResult as cL, DEFAULT_CONFIG_PATH as cM, type ManifestEntry as cN, type ActionEntry as cO, getProfilePlugin as cP, type GetProfilePluginProvides as cQ, type ApiPluginOptions as cR, API_ID as cS, apiPluginRef as cT, apiPlugin as cU, RESOLVE_CREDENTIALS_ID as cV, resolveCredentialsPluginRef as cW, resolveCredentialsPlugin as cX, appKeyResolver as cY, actionTypeResolver as cZ, actionKeyResolver as c_, type FetchPluginProvides as ca, fetchPlugin as cb, listAppsPlugin as cc, type ListAppsPluginProvides as cd, listActionsPlugin as ce, type ListActionsPluginProvides as cf, listActionInputFieldsPlugin as cg, type ListActionInputFieldsPluginProvides as ch, listActionInputFieldChoicesPlugin as ci, getActionInputFieldsSchemaPlugin as cj, listConnectionsPlugin as ck, type ListConnectionsPluginProvides as cl, listClientCredentialsPlugin as cm, createClientCredentialsPlugin as cn, deleteClientCredentialsPlugin as co, getAppPlugin as cp, getActionPlugin as cq, getConnectionPlugin as cr, findFirstConnectionPlugin as cs, findUniqueConnectionPlugin as ct, CONTEXT_CACHE_TTL_MILLISECONDS as cu, CONTEXT_CACHE_MAX_SIZE as cv, createActionRunPlugin as cw, type CreateActionRunPluginProvides as cx, getActionRunPlugin as cy, type GetActionRunPluginProvides as cz, type ZapierFetchInitOptions as d, CredentialsSchema as d$, connectionIdGenericResolver as d0, inputsResolver as d1, inputsAllOptionalResolver as d2, inputFieldKeyResolver as d3, clientCredentialsNameResolver as d4, clientIdResolver as d5, tableIdResolver as d6, triggerInboxResolver as d7, workflowIdResolver as d8, durableRunIdResolver as d9, type ZapierCacheEntry as dA, type ZapierCacheSetOptions as dB, createMemoryCache as dC, type SdkEvent as dD, type AuthEvent as dE, type ApiEvent as dF, type LoadingEvent as dG, type Credentials as dH, type ResolvedCredentials as dI, type CredentialsObject as dJ, type ClientCredentialsObject as dK, type PkceCredentialsObject as dL, isClientCredentials as dM, isPkceCredentials as dN, isCredentialsObject as dO, isCredentialsFunction as dP, type ResolveCredentialsOptions as dQ, resolveCredentialsFromEnv as dR, resolveCredentials as dS, getBaseUrlFromCredentials as dT, getClientIdFromCredentials as dU, ClientCredentialsObjectSchema as dV, PkceCredentialsObjectSchema as dW, CredentialsObjectSchema as dX, ResolvedCredentialsSchema as dY, CredentialsFunctionSchema as dZ, type CredentialsFunction as d_, workflowVersionIdResolver as da, workflowDraftIdResolver as db, workflowDraftRevisionResolver as dc, workflowRunIdResolver as dd, triggerMessagesResolver as de, tableRecordIdResolver as df, tableRecordIdsResolver as dg, tableFieldIdsResolver as dh, tableNameResolver as di, tableFieldsResolver as dj, tableRecordsResolver as dk, tableUpdateRecordsResolver as dl, tableFiltersResolver as dm, tableSortResolver as dn, type ResolveAuthTokenOptions as dp, AuthMechanism as dq, type ResolvedAuth as dr, clearTokenCache as ds, invalidateCachedToken as dt, injectCliLogin as du, isCliLoginAvailable as dv, getTokenFromCliLogin as dw, resolveAuth as dx, resolveAuthToken as dy, invalidateCredentialsToken as dz, type ActionProxy as e, getMemoryUsage as e$, ConnectionEntrySchema as e0, type ConnectionEntry as e1, ConnectionsMapSchema as e2, type ConnectionsMap as e3, type ResolveConnection as e4, CONNECTIONS_ID as e5, connectionsPluginRef as e6, connectionsPlugin as e7, ZAPIER_BASE_URL as e8, getZapierSdkService as e9, deleteTableRecordsPlugin as eA, updateTableRecordsPlugin as eB, cleanupEventListeners as eC, type EventEmissionContext as eD, type EventEmitter as eE, EVENT_EMISSION_ID as eF, eventEmissionPluginRef as eG, eventEmissionPlugin as eH, eventEmissionHookPlugin as eI, type EventContext as eJ, type ApplicationLifecycleEventData as eK, type EnhancedErrorEventData as eL, type MethodCalledEventData as eM, buildApplicationLifecycleEvent as eN, buildErrorEventWithContext as eO, buildErrorEvent as eP, createBaseEvent as eQ, buildMethodCalledEvent as eR, type MethodCalledEvent as eS, operationAnnotatorPlugin as eT, generateEventId as eU, getCurrentTimestamp as eV, getReleaseId as eW, getOsInfo as eX, getPlatformVersions as eY, isCi as eZ, getCiPlatform as e_, getZapierCorrelationId as ea, getZapierCausationId as eb, MAX_PAGE_LIMIT as ec, DEFAULT_PAGE_SIZE as ed, DEFAULT_ACTION_TIMEOUT_MILLISECONDS as ee, ACTION_RUNS_PATH as ef, ZAPIER_MAX_NETWORK_RETRIES as eg, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS as eh, MAX_CONCURRENCY_LIMIT as ei, parseConcurrencyEnvVar as ej, ZAPIER_MAX_CONCURRENT_REQUESTS as ek, getZapierApprovalMode as el, getZapierOpenAutoModeApprovalsInBrowser as em, getZapierDefaultApprovalMode as en, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS as eo, DEFAULT_MAX_APPROVAL_RETRIES as ep, listTablesPlugin as eq, getTablePlugin as er, createTablePlugin as es, deleteTablePlugin as et, listTableFieldsPlugin as eu, createTableFieldsPlugin as ev, deleteTableFieldsPlugin as ew, getTableRecordPlugin as ex, listTableRecordsPlugin as ey, createTableRecordsPlugin as ez, type ZapierSdkApps as f, getCpuTime as f0, getTtyContext as f1, createZapierSdk as f2, type ZapierSdkOptions as f3, type ZapierSdk as f4, type DrainTriggerInboxOptions as g, type ListActionInputFieldsOptions as h, type ListActionInputFieldChoicesOptions as i, type ApiClientDurationOptions as j, type EventTransport as k, type BaseEvent as l, DrainTriggerInboxSchema as m, WatchTriggerInboxSchema as n, ZapierAbortDrainSignal as o, ZapierReleaseTriggerMessageSignal as p, isZapierAbortDrainSignal as q, isZapierReleaseTriggerMessageSignal as r, type DrainTriggerInboxCallback as s, type DrainTriggerInboxErrorObserver as t, type LeasedTriggerMessageItem as u, type ListAuthenticationsPluginProvides as v, type GetAuthenticationPluginProvides as w, type FindFirstAuthenticationPluginProvides as x, type FindUniqueAuthenticationPluginProvides as y, type Action as z };
|
|
20829
|
+
export { sdkOptionsPluginRef as $, type ApiClient as A, type BaseSdkOptions as B, type ConnectionsProvider as C, type DeleteTriggerInboxResult as D, type EventCallback as E, type FieldsetItem as F, type GetActionInputFieldsSchemaOptions as G, type App as H, type Field as I, type Choice as J, type ActionExecutionResult as K, type ListActionsOptions as L, type ManifestProvider as M, type Need as N, type ActionField as O, type ActionFieldChoice as P, type NeedsRequest as Q, type ResolveCredentialsFn as R, type NeedsResponse as S, type TriggerMessageStatus as T, type Connection as U, type ConnectionsResponse as V, type WatchTriggerInboxOptions as W, type UserProfile as X, zapierSdkPlugin as Y, type ZapierCache as Z, SDK_OPTIONS_ID as _, type Manifest as a, ConnectionsPropertySchema as a$, CALLER_CONTEXT_HEADERS_SUPPORTED as a0, getCallerContext as a1, runWithCallerContext as a2, type CallerContext as a3, batch as a4, type BatchOptions as a5, buildCapabilityMessage as a6, logDeprecation as a7, resetDeprecationWarnings as a8, RelayRequestSchema as a9, type InfoFieldItem as aA, type RootFieldItem as aB, type UserProfileItem as aC, AppKeyPropertySchema as aD, AppPropertySchema as aE, ActionTypePropertySchema as aF, ActionKeyPropertySchema as aG, ActionPropertySchema as aH, InputFieldPropertySchema as aI, ConnectionIdPropertySchema as aJ, AuthenticationIdPropertySchema as aK, ConnectionPropertySchema as aL, InputsPropertySchema as aM, LimitPropertySchema as aN, OffsetPropertySchema as aO, OutputPropertySchema as aP, DebugPropertySchema as aQ, ParamsPropertySchema as aR, ActionTimeoutSecondsPropertySchema as aS, ActionTimeoutMillisecondsPropertySchema as aT, ActionIdempotencyKeyPropertySchema as aU, TablePropertySchema as aV, RecordPropertySchema as aW, RecordsPropertySchema as aX, FieldsPropertySchema as aY, AppsPropertySchema as aZ, TablesPropertySchema as a_, RelayFetchSchema as aa, createZapierSdkWithoutRegistry as ab, zapierCoreOptions as ac, BaseSdkOptionsSchema as ad, STABILITY_DEFINITIONS as ae, taxonomy as af, formatExtensionPluginFailure as ag, type ActionItem as ah, type ActionTypeItem as ai, type ResolvedAppLocator as aj, getAgent as ak, descriptionFor as al, isInternalField as am, type RequestOptions as an, type PollOptions as ao, createZapierApi as ap, getOrCreateApiClient as aq, isPermanentHttpError as ar, type SseMessage as as, type JsonSseMessage as at, DEPRECATION_NOTICE_EVENT as au, type DeprecationNoticePayload as av, type AppItem as aw, type ConnectionItem as ax, type ActionItem$1 as ay, type InputFieldItem as az, type EventEmissionConfig as b, isZapierTimeoutError as b$, TriggerInboxPropertySchema as b0, TriggerInboxKeyPropertySchema as b1, TriggerInboxNamePropertySchema as b2, LeasePropertySchema as b3, LeaseSecondsPropertySchema as b4, LeaseLimitPropertySchema as b5, type AppKeyProperty as b6, type AppProperty as b7, type ActionTypeProperty as b8, type ActionKeyProperty as b9, type ErrorOptions as bA, ZapierError as bB, ZapierValidationError as bC, ZapierUnknownError as bD, ZapierAuthenticationError as bE, zapierAdaptError as bF, ZapierApiError as bG, ZapierAppNotFoundError as bH, ZapierNotFoundError as bI, ZapierResourceNotFoundError as bJ, ZapierConfigurationError as bK, ZapierBundleError as bL, ZapierTimeoutError as bM, ZapierActionError as bN, ZapierConflictError as bO, type RateLimitInfo as bP, ZapierRateLimitError as bQ, type ApprovalStatus as bR, ZapierApprovalError as bS, ZapierRelayError as bT, isZapierError as bU, isZapierValidationError as bV, isZapierAuthenticationError as bW, isZapierAppNotFoundError as bX, isZapierNotFoundError as bY, isZapierResourceNotFoundError as bZ, isZapierConflictError as b_, type ActionProperty as ba, type InputFieldProperty as bb, type ConnectionIdProperty as bc, type ConnectionProperty as bd, type AuthenticationIdProperty as be, type InputsProperty as bf, type LimitProperty as bg, type OffsetProperty as bh, type OutputProperty as bi, type DebugProperty as bj, type ParamsProperty as bk, type ActionTimeoutSecondsProperty as bl, type ActionTimeoutMillisecondsProperty as bm, type TableProperty as bn, type RecordProperty as bo, type RecordsProperty as bp, type FieldsProperty as bq, type AppsProperty as br, type TablesProperty as bs, type ConnectionsProperty as bt, type TriggerInboxProperty as bu, type TriggerInboxKeyProperty as bv, type TriggerInboxNameProperty as bw, type LeaseProperty as bx, type LeaseSecondsProperty as by, type LeaseLimitProperty as bz, type CapabilitiesContext as c, connectionIdResolver as c$, isZapierBundleError as c0, isZapierActionError as c1, isZapierRateLimitError as c2, isZapierApprovalError as c3, formatErrorMessage as c4, ZapierSignal as c5, isZapierSignal as c6, appsPlugin as c7, type ActionExecutionOptions as c8, type AppFactoryInput as c9, runActionPlugin as cA, type RunActionPluginProvides as cB, requestPlugin as cC, type ManifestPluginOptions as cD, readManifestFromFile as cE, getPreferredManifestEntryKey as cF, findManifestEntry as cG, manifestPluginRef as cH, MANIFEST_ID as cI, manifestPlugin as cJ, type UpdateManifestEntryOptions as cK, type UpdateManifestEntryResult as cL, DEFAULT_CONFIG_PATH as cM, type ManifestEntry as cN, type ActionEntry as cO, getProfilePlugin as cP, type GetProfilePluginProvides as cQ, type ApiPluginOptions as cR, apiPluginRef as cS, API_ID as cT, apiPlugin as cU, resolveCredentialsPluginRef as cV, RESOLVE_CREDENTIALS_ID as cW, resolveCredentialsPlugin as cX, appKeyResolver as cY, actionTypeResolver as cZ, actionKeyResolver as c_, type FetchPluginProvides as ca, fetchPlugin as cb, listAppsPlugin as cc, type ListAppsPluginProvides as cd, listActionsPlugin as ce, type ListActionsPluginProvides as cf, listActionInputFieldsPlugin as cg, type ListActionInputFieldsPluginProvides as ch, listActionInputFieldChoicesPlugin as ci, getActionInputFieldsSchemaPlugin as cj, listConnectionsPlugin as ck, type ListConnectionsPluginProvides as cl, listClientCredentialsPlugin as cm, createClientCredentialsPlugin as cn, deleteClientCredentialsPlugin as co, getAppPlugin as cp, getActionPlugin as cq, getConnectionPlugin as cr, findFirstConnectionPlugin as cs, findUniqueConnectionPlugin as ct, CONTEXT_CACHE_TTL_MILLISECONDS as cu, CONTEXT_CACHE_MAX_SIZE as cv, createActionRunPlugin as cw, type CreateActionRunPluginProvides as cx, getActionRunPlugin as cy, type GetActionRunPluginProvides as cz, type ZapierFetchInitOptions as d, CredentialsSchema as d$, connectionIdGenericResolver as d0, inputsResolver as d1, inputsAllOptionalResolver as d2, inputFieldKeyResolver as d3, clientCredentialsNameResolver as d4, clientIdResolver as d5, tableIdResolver as d6, triggerInboxResolver as d7, workflowIdResolver as d8, durableRunIdResolver as d9, type ZapierCacheEntry as dA, type ZapierCacheSetOptions as dB, createMemoryCache as dC, type SdkEvent as dD, type AuthEvent as dE, type ApiEvent as dF, type LoadingEvent as dG, type Credentials as dH, type ResolvedCredentials as dI, type CredentialsObject as dJ, type ClientCredentialsObject as dK, type PkceCredentialsObject as dL, isClientCredentials as dM, isPkceCredentials as dN, isCredentialsObject as dO, isCredentialsFunction as dP, type ResolveCredentialsOptions as dQ, resolveCredentialsFromEnv as dR, resolveCredentials as dS, getBaseUrlFromCredentials as dT, getClientIdFromCredentials as dU, ClientCredentialsObjectSchema as dV, PkceCredentialsObjectSchema as dW, CredentialsObjectSchema as dX, ResolvedCredentialsSchema as dY, CredentialsFunctionSchema as dZ, type CredentialsFunction as d_, workflowVersionIdResolver as da, workflowDraftIdResolver as db, workflowDraftRevisionResolver as dc, workflowRunIdResolver as dd, triggerMessagesResolver as de, tableRecordIdResolver as df, tableRecordIdsResolver as dg, tableFieldIdsResolver as dh, tableNameResolver as di, tableFieldsResolver as dj, tableRecordsResolver as dk, tableUpdateRecordsResolver as dl, tableFiltersResolver as dm, tableSortResolver as dn, type ResolveAuthTokenOptions as dp, AuthMechanism as dq, type ResolvedAuth as dr, clearTokenCache as ds, invalidateCachedToken as dt, injectCliLogin as du, isCliLoginAvailable as dv, getTokenFromCliLogin as dw, resolveAuth as dx, resolveAuthToken as dy, invalidateCredentialsToken as dz, type ActionProxy as e, getMemoryUsage as e$, ConnectionEntrySchema as e0, type ConnectionEntry as e1, ConnectionsMapSchema as e2, type ConnectionsMap as e3, type ResolveConnection as e4, connectionsPluginRef as e5, CONNECTIONS_ID as e6, connectionsPlugin as e7, ZAPIER_BASE_URL as e8, getZapierSdkService as e9, deleteTableRecordsPlugin as eA, updateTableRecordsPlugin as eB, cleanupEventListeners as eC, type EventEmissionContext as eD, type EventEmitter as eE, eventEmissionPluginRef as eF, EVENT_EMISSION_ID as eG, eventEmissionPlugin as eH, eventEmissionHookPlugin as eI, type EventContext as eJ, type ApplicationLifecycleEventData as eK, type EnhancedErrorEventData as eL, type MethodCalledEventData as eM, buildApplicationLifecycleEvent as eN, buildErrorEventWithContext as eO, buildErrorEvent as eP, createBaseEvent as eQ, buildMethodCalledEvent as eR, type MethodCalledEvent as eS, operationAnnotatorPlugin as eT, generateEventId as eU, getCurrentTimestamp as eV, getReleaseId as eW, getOsInfo as eX, getPlatformVersions as eY, isCi as eZ, getCiPlatform as e_, getZapierCorrelationId as ea, getZapierCausationId as eb, MAX_PAGE_LIMIT as ec, DEFAULT_PAGE_SIZE as ed, DEFAULT_ACTION_TIMEOUT_MILLISECONDS as ee, ACTION_RUNS_PATH as ef, ZAPIER_MAX_NETWORK_RETRIES as eg, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS as eh, MAX_CONCURRENCY_LIMIT as ei, parseConcurrencyEnvVar as ej, ZAPIER_MAX_CONCURRENT_REQUESTS as ek, getZapierApprovalMode as el, getZapierOpenAutoModeApprovalsInBrowser as em, getZapierDefaultApprovalMode as en, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS as eo, DEFAULT_MAX_APPROVAL_RETRIES as ep, listTablesPlugin as eq, getTablePlugin as er, createTablePlugin as es, deleteTablePlugin as et, listTableFieldsPlugin as eu, createTableFieldsPlugin as ev, deleteTableFieldsPlugin as ew, getTableRecordPlugin as ex, listTableRecordsPlugin as ey, createTableRecordsPlugin as ez, type ZapierSdkApps as f, getCpuTime as f0, getTtyContext as f1, createZapierSdk as f2, type ZapierSdkOptions as f3, type ZapierSdk as f4, type DrainTriggerInboxOptions as g, type ListActionInputFieldsOptions as h, type ListActionInputFieldChoicesOptions as i, type ApiClientDurationOptions as j, type EventTransport as k, type BaseEvent as l, DrainTriggerInboxSchema as m, WatchTriggerInboxSchema as n, ZapierAbortDrainSignal as o, ZapierReleaseTriggerMessageSignal as p, isZapierAbortDrainSignal as q, isZapierReleaseTriggerMessageSignal as r, type DrainTriggerInboxCallback as s, type DrainTriggerInboxErrorObserver as t, type LeasedTriggerMessageItem as u, type ListAuthenticationsPluginProvides as v, type GetAuthenticationPluginProvides as w, type FindFirstAuthenticationPluginProvides as x, type FindUniqueAuthenticationPluginProvides as y, type Action as z };
|