@zapier/zapier-sdk 0.87.1 → 0.88.1
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 +22 -0
- package/README.md +44 -44
- package/dist/{chunk-WVAZCBUJ.mjs → chunk-BLFXMYSW.mjs} +467 -215
- package/dist/{chunk-S6IN256D.cjs → chunk-KQTYZL5Y.cjs} +473 -219
- package/dist/define.d.mts +2 -2
- package/dist/define.d.ts +2 -2
- package/dist/experimental.cjs +354 -346
- package/dist/experimental.d.mts +20 -2
- package/dist/experimental.d.ts +20 -2
- package/dist/experimental.mjs +2 -2
- package/dist/{index-CBvczsOD.d.mts → index-DeefnmJr.d.mts} +221 -28
- package/dist/{index-CBvczsOD.d.ts → index-DeefnmJr.d.ts} +221 -28
- package/dist/index.cjs +282 -274
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
|
@@ -256,26 +256,67 @@ type PaginatedSdkFunction<TOptions, TItem> = (options: TOptions) => PaginatedSdk
|
|
|
256
256
|
* unforgeability the `INTERNAL_CALL` sentinel relies on.
|
|
257
257
|
*/
|
|
258
258
|
declare const CALL_CONTEXT_BRAND: unique symbol;
|
|
259
|
+
/**
|
|
260
|
+
* The per-invocation annotation bag: an open string-keyed map a head fills with
|
|
261
|
+
* telemetry-shaping fields (via the boundary annotator, a method's pre-run
|
|
262
|
+
* `annotator`, or the run bag's mid-`run` `annotate`) and reads back on the
|
|
263
|
+
* method-lifecycle hook context. Framework-neutral: kitcore does not know or
|
|
264
|
+
* constrain the keys.
|
|
265
|
+
*/
|
|
266
|
+
type Annotations = Record<string, unknown>;
|
|
267
|
+
/**
|
|
268
|
+
* Origin of a call's root. `"surface"` = entered through the SDK surface, or a
|
|
269
|
+
* parent-less runtime delegation that still represents real user work;
|
|
270
|
+
* `"internal"` = a framework-internal root minted by kitcore's own machinery,
|
|
271
|
+
* which a head can suppress from telemetry.
|
|
272
|
+
*/
|
|
273
|
+
type CallOrigin = "surface" | "internal";
|
|
259
274
|
interface CallContext {
|
|
260
|
-
/**
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
275
|
+
/**
|
|
276
|
+
* Minted once at the root call; copied verbatim to every nested (child) call.
|
|
277
|
+
* `readonly`: method code owns only the `annotations` bag. A child copies this
|
|
278
|
+
* off the live parent when the delegated call fires, so mutating it mid-run
|
|
279
|
+
* would corrupt the child's correlation id.
|
|
280
|
+
*/
|
|
281
|
+
readonly callId: string | null;
|
|
282
|
+
/**
|
|
283
|
+
* 0 at the outermost call; `parent.depth + 1` for a delegated call. `readonly`
|
|
284
|
+
* for the same reason as `callId` — a mutated depth would mis-nest children
|
|
285
|
+
* and, where ALS can't correct it (browsers), duplicate telemetry.
|
|
286
|
+
*/
|
|
287
|
+
readonly depth: number;
|
|
264
288
|
/**
|
|
265
289
|
* Per-invocation scratch space. Never forwarded to callees — a child call
|
|
266
290
|
* gets a fresh bag — so annotations describe one method's own invocation.
|
|
291
|
+
* Method `run` code contributes through the run bag's `annotate` function
|
|
292
|
+
* rather than writing here directly; the bag reference is fixed, only its
|
|
293
|
+
* contents change.
|
|
267
294
|
*/
|
|
268
|
-
annotations:
|
|
295
|
+
readonly annotations: Annotations;
|
|
296
|
+
/**
|
|
297
|
+
* Origin of the call's root, copied verbatim to every child. `"surface"`
|
|
298
|
+
* (the default) marks a surface-origin root — a call that entered through the
|
|
299
|
+
* SDK surface, or a parent-less runtime delegation that still represents real
|
|
300
|
+
* user work (e.g. a delegation proxy reaching another method). `"internal"`
|
|
301
|
+
* marks a framework-internal root minted by kitcore's own build-time machinery
|
|
302
|
+
* (resolver/formatter/dispose/observer twins, `resolvePlugin`), which a head
|
|
303
|
+
* can suppress from telemetry. Orthogonal to `depth`: an internal root is
|
|
304
|
+
* still `depth 0`. `readonly` so a child can't inherit a mutated origin.
|
|
305
|
+
*/
|
|
306
|
+
readonly callOrigin: CallOrigin;
|
|
269
307
|
readonly [CALL_CONTEXT_BRAND]: true;
|
|
270
308
|
}
|
|
271
309
|
|
|
272
310
|
/**
|
|
273
311
|
* Method-call lifecycle hooks. Plugins contribute `onMethodStart` and/or
|
|
274
|
-
* `onMethodEnd`
|
|
275
|
-
*
|
|
276
|
-
*
|
|
277
|
-
*
|
|
312
|
+
* `onMethodEnd` observers, plus an optional pre-run `annotator` that returns
|
|
313
|
+
* fields merged into the call's annotation bag; `buildHooks` composes each
|
|
314
|
+
* across plugins so multiple contributors coexist. Composition is right-additive
|
|
315
|
+
* (newer plugins fire — and `annotator` fields win — after earlier ones); only
|
|
316
|
+
* opt-in methods built through `createPluginMethod` /
|
|
317
|
+
* `createPaginatedPluginMethod` trigger the hooks.
|
|
278
318
|
*/
|
|
319
|
+
|
|
279
320
|
interface OnMethodStartContext {
|
|
280
321
|
methodName: string;
|
|
281
322
|
args: unknown[];
|
|
@@ -287,20 +328,48 @@ interface OnMethodStartContext {
|
|
|
287
328
|
* top-level events.
|
|
288
329
|
*/
|
|
289
330
|
depth: number;
|
|
331
|
+
/** The call's correlation id, copied from the per-call context; `null` where
|
|
332
|
+
* id minting was unavailable. */
|
|
333
|
+
callId: string | null;
|
|
334
|
+
/**
|
|
335
|
+
* Origin of the call's root, copied from the per-call context. `"surface"` =
|
|
336
|
+
* surface-origin (an SDK-surface call or a runtime delegation — real user
|
|
337
|
+
* work); `"internal"` = a framework-internal call minted by kitcore's own
|
|
338
|
+
* machinery (resolver/formatter/dispose/observer twins, `resolvePlugin`).
|
|
339
|
+
* Orthogonal to `depth` (an internal call is still `depth 0`); a head can drop
|
|
340
|
+
* internal-origin calls from telemetry.
|
|
341
|
+
*/
|
|
342
|
+
callOrigin: CallOrigin;
|
|
343
|
+
/**
|
|
344
|
+
* The call's annotation bag, carried live from the per-call context. At
|
|
345
|
+
* `onMethodStart` it holds the early-knowable fields (boundary annotator +
|
|
346
|
+
* a method's pre-run `annotator`); by `onMethodEnd` any mid-`run` writes
|
|
347
|
+
* are visible too (same object reference throughout the call).
|
|
348
|
+
*/
|
|
349
|
+
annotations: Annotations;
|
|
290
350
|
}
|
|
291
351
|
type OnMethodStart = (ctx: OnMethodStartContext) => void;
|
|
292
|
-
interface OnMethodEndContext {
|
|
293
|
-
methodName: string;
|
|
294
|
-
args: unknown[];
|
|
295
|
-
isPaginated: boolean;
|
|
296
|
-
depth: number;
|
|
352
|
+
interface OnMethodEndContext extends OnMethodStartContext {
|
|
297
353
|
durationMs: number;
|
|
298
354
|
error?: Error;
|
|
299
355
|
}
|
|
300
356
|
type OnMethodEnd = (ctx: OnMethodEndContext) => void;
|
|
357
|
+
/**
|
|
358
|
+
* A composed pre-run annotator: given a call's method name and (normalized,
|
|
359
|
+
* pre-validation) input, it returns {@link Annotations} the boundary merges into
|
|
360
|
+
* the call's bag before `onMethodStart`. Unlike the `void` lifecycle observers,
|
|
361
|
+
* this one returns a value; composition merges the returned bags rather than
|
|
362
|
+
* chaining side effects. A contributor with nothing to add returns an empty bag,
|
|
363
|
+
* so absence is modelled by no annotator rather than an `undefined` return.
|
|
364
|
+
*/
|
|
365
|
+
type ComposedAnnotator = (ctx: {
|
|
366
|
+
methodName: string;
|
|
367
|
+
input: unknown;
|
|
368
|
+
}) => Annotations;
|
|
301
369
|
interface MethodHooks {
|
|
302
370
|
onMethodStart?: OnMethodStart;
|
|
303
371
|
onMethodEnd?: OnMethodEnd;
|
|
372
|
+
annotator?: ComposedAnnotator;
|
|
304
373
|
}
|
|
305
374
|
interface FormattedItem {
|
|
306
375
|
title: string;
|
|
@@ -684,13 +753,42 @@ type ImportsOf<TImports extends ImportsInput> = TImports extends readonly [] ? R
|
|
|
684
753
|
/**
|
|
685
754
|
* The bag a method body receives. `imports` is the dependency-narrowed reach;
|
|
686
755
|
* `state` is the plugin's private constructor result (undefined when none);
|
|
687
|
-
* `input` is the canonical call argument
|
|
756
|
+
* `input` is the canonical call argument; `callContext` is the live per-call
|
|
757
|
+
* context (call identity plus the annotation bag the boundary reads back on the
|
|
758
|
+
* lifecycle hooks); `annotate` merges mid-run-derived telemetry fields into that
|
|
759
|
+
* bag. Prefer `annotate` over writing `callContext.annotations` directly.
|
|
688
760
|
*/
|
|
689
761
|
interface MethodRunBag<TImports, TInput, TState = unknown> {
|
|
690
762
|
imports: TImports;
|
|
691
763
|
state: TState;
|
|
692
764
|
input: TInput;
|
|
765
|
+
callContext: CallContext;
|
|
766
|
+
/** Merge mid-run-derived telemetry fields into the call's annotation bag. The
|
|
767
|
+
* declarative pre-run sibling is the method's `annotator` config; both add
|
|
768
|
+
* to the same bag, one during `run`, one before it. */
|
|
769
|
+
annotate: (metadata: Annotations) => void;
|
|
693
770
|
}
|
|
771
|
+
/**
|
|
772
|
+
* A method's declarative pre-`run` annotator: given the method's raw,
|
|
773
|
+
* pre-validation `input`, it returns {@link Annotations} the boundary merges
|
|
774
|
+
* into the call's bag before `onMethodStart`. The input is `unknown` because
|
|
775
|
+
* schema coercion/transformation has not run; an annotator must narrow it before
|
|
776
|
+
* reading fields. A provider with nothing to add returns an empty bag, so absence
|
|
777
|
+
* is modelled by no provider rather than an `undefined` return.
|
|
778
|
+
*/
|
|
779
|
+
type MethodAnnotator = (bag: {
|
|
780
|
+
input: unknown;
|
|
781
|
+
}) => Annotations;
|
|
782
|
+
/**
|
|
783
|
+
* A hook's declarative pre-`run` annotator: like {@link MethodAnnotator} but
|
|
784
|
+
* cross-cutting, so it also receives the `methodName` and the hook's `state`.
|
|
785
|
+
* Many hooks' annotators coexist; the boundary composes them.
|
|
786
|
+
*/
|
|
787
|
+
type HookAnnotator<TState = unknown> = (bag: {
|
|
788
|
+
methodName: string;
|
|
789
|
+
input: unknown;
|
|
790
|
+
state: TState;
|
|
791
|
+
}) => Annotations;
|
|
694
792
|
/** Shared plumbing for the method attachments: each declares its own
|
|
695
793
|
* dependencies. Resolvers and formatters are otherwise separate concepts. */
|
|
696
794
|
interface MethodAttachment {
|
|
@@ -1083,6 +1181,14 @@ interface MethodPlugin<TName extends string = string, TInput = unknown, TOutput
|
|
|
1083
1181
|
resolvers?: Record<string, Resolver>;
|
|
1084
1182
|
/** Output formatter (method attachment). Bound into the entry at createSdk. */
|
|
1085
1183
|
formatter?: Formatter;
|
|
1184
|
+
/** Declarative pre-`run` annotator: the boundary invokes it before
|
|
1185
|
+
* `onMethodStart` with the (pre-validation) `input`, and merges its returned
|
|
1186
|
+
* `Annotations` into the call's bag. Runs synchronously and receives only
|
|
1187
|
+
* `input` — the per-method sibling of the run bag's mid-`run` `annotate`,
|
|
1188
|
+
* which is where fields needing imports or async work are written. For
|
|
1189
|
+
* telemetry fields knowable before the method's own work; never passed to
|
|
1190
|
+
* `run`. */
|
|
1191
|
+
annotator?: MethodAnnotator;
|
|
1086
1192
|
run: (bag: MethodRunBag<any, TInput, any>) => TOutput;
|
|
1087
1193
|
/** How `run`'s result is shaped into the public surface (see Output in the
|
|
1088
1194
|
* design doc). Omitted is "raw". Stored loosely; the precise per-mode typing
|
|
@@ -1341,6 +1447,9 @@ interface HookPlugin<TName extends string = string> {
|
|
|
1341
1447
|
state: unknown;
|
|
1342
1448
|
}) => void;
|
|
1343
1449
|
};
|
|
1450
|
+
/** Composable pre-run annotator: returns `Annotations` merged into the call's
|
|
1451
|
+
* bag before `onMethodStart`. Coexists with other hooks' annotators. */
|
|
1452
|
+
annotator?: HookAnnotator;
|
|
1344
1453
|
}
|
|
1345
1454
|
type AnyPlugin = AnyLeafPlugin | AnyAggregatePlugin | AnyLegacyPlugin | HookPlugin | MethodOverridePlugin;
|
|
1346
1455
|
/**
|
|
@@ -1386,10 +1495,16 @@ interface MethodEntry {
|
|
|
1386
1495
|
* on legacy graph entries (they bind `value`). */
|
|
1387
1496
|
internalValue?: (input: any) => any;
|
|
1388
1497
|
/** Produce the import-facing twin for a given call context: with a context,
|
|
1389
|
-
* the twin mints a fresh child per invocation (callee inherits `callId`,
|
|
1390
|
-
* one level deeper); without one it is
|
|
1391
|
-
* `
|
|
1392
|
-
|
|
1498
|
+
* the twin mints a fresh child per invocation (callee inherits `callId`, its
|
|
1499
|
+
* origin, and sits one level deeper); without one it is parent-less — the
|
|
1500
|
+
* surface-origin `internalValue` by default, or a framework-internal root when
|
|
1501
|
+
* `frameworkOrigin` is set (kitcore's own build-time passes request it, so
|
|
1502
|
+
* their delegated calls can be dropped from telemetry). `buildImports` binds
|
|
1503
|
+
* this. Absent on legacy graph entries. */
|
|
1504
|
+
bindInternal?: (opts: {
|
|
1505
|
+
ctx?: CallContext;
|
|
1506
|
+
frameworkOrigin?: boolean;
|
|
1507
|
+
}) => (...args: any[]) => any;
|
|
1393
1508
|
chain: MiddlewareWrap[];
|
|
1394
1509
|
/** Carried from the descriptor for the registry / CLI / MCP / docs. */
|
|
1395
1510
|
inputSchema?: z.ZodType;
|
|
@@ -2200,6 +2315,7 @@ declare function defineMethod<const TName extends string, TInput, TOutput, const
|
|
|
2200
2315
|
skipInputValidation?: boolean;
|
|
2201
2316
|
resolvers?: Record<string, Resolver>;
|
|
2202
2317
|
formatter?: Formatter;
|
|
2318
|
+
annotator?: MethodAnnotator;
|
|
2203
2319
|
output?: "raw" | {
|
|
2204
2320
|
type: "raw";
|
|
2205
2321
|
};
|
|
@@ -2221,6 +2337,7 @@ declare function defineMethod<const TName extends string, TInput, TResponse exte
|
|
|
2221
2337
|
inputSchema?: z.ZodType<TInput>;
|
|
2222
2338
|
resolvers?: Record<string, Resolver>;
|
|
2223
2339
|
formatter?: Formatter;
|
|
2340
|
+
annotator?: MethodAnnotator;
|
|
2224
2341
|
output: "item" | {
|
|
2225
2342
|
type: "item";
|
|
2226
2343
|
};
|
|
@@ -2243,6 +2360,7 @@ declare function defineMethod<const TName extends string, TInput, TResponse exte
|
|
|
2243
2360
|
inputSchema?: z.ZodType<TInput>;
|
|
2244
2361
|
resolvers?: Record<string, Resolver>;
|
|
2245
2362
|
formatter?: Formatter;
|
|
2363
|
+
annotator?: MethodAnnotator;
|
|
2246
2364
|
output: "list" | {
|
|
2247
2365
|
type: "list";
|
|
2248
2366
|
adaptPage?: undefined;
|
|
@@ -2265,6 +2383,7 @@ declare function defineMethod<const TName extends string, TInput, TResponse, TIt
|
|
|
2265
2383
|
inputSchema?: z.ZodType<TInput>;
|
|
2266
2384
|
resolvers?: Record<string, Resolver>;
|
|
2267
2385
|
formatter?: Formatter;
|
|
2386
|
+
annotator?: MethodAnnotator;
|
|
2268
2387
|
output: {
|
|
2269
2388
|
type: "list";
|
|
2270
2389
|
adaptPage: (response: TResponse) => SdkPage<TItem>;
|
|
@@ -3289,6 +3408,10 @@ declare function createFunction<TOptions, TResult, TSchemaOptions extends TOptio
|
|
|
3289
3408
|
sdk: FunctionSdk;
|
|
3290
3409
|
schema?: z.ZodSchema<TSchemaOptions>;
|
|
3291
3410
|
name?: string;
|
|
3411
|
+
/** Pre-run per-method annotator (see applyAnnotations): invoked before
|
|
3412
|
+
* onMethodStart with the normalized input, its result merged into the
|
|
3413
|
+
* call's annotation bag. */
|
|
3414
|
+
annotator?: (input: unknown) => Annotations;
|
|
3292
3415
|
/** Live read of the method's deprecation meta (see signalDeprecation). */
|
|
3293
3416
|
getDeprecation?: () => FunctionDeprecation | undefined;
|
|
3294
3417
|
}): (callOptions?: TOptions) => Promise<TResult>;
|
|
@@ -3325,6 +3448,8 @@ declare function createPaginatedFunction<TUserOptions, TResponse, TItem = ItemTy
|
|
|
3325
3448
|
* would collapse `TItem` to `unknown`.
|
|
3326
3449
|
*/
|
|
3327
3450
|
adaptPage?: (response: TResponse) => SdkPage<NoInfer<TItem>>;
|
|
3451
|
+
/** Pre-run per-method annotator (see applyAnnotations). */
|
|
3452
|
+
annotator?: (input: unknown) => Annotations;
|
|
3328
3453
|
/** Live read of the method's deprecation meta (see signalDeprecation). */
|
|
3329
3454
|
getDeprecation?: () => FunctionDeprecation | undefined;
|
|
3330
3455
|
}): (options?: TUserOptions & {
|
|
@@ -3465,7 +3590,9 @@ declare const OffsetPropertySchema: z.ZodDefault<z.ZodNumber>;
|
|
|
3465
3590
|
declare const OutputPropertySchema: z.ZodString;
|
|
3466
3591
|
declare const DebugPropertySchema: z.ZodDefault<z.ZodBoolean>;
|
|
3467
3592
|
declare const ParamsPropertySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3468
|
-
declare const
|
|
3593
|
+
declare const ActionTimeoutSecondsPropertySchema: z.ZodOptional<z.ZodNumber>;
|
|
3594
|
+
/** @deprecated Backs the deprecated `timeoutMs` alias; use seconds. */
|
|
3595
|
+
declare const ActionTimeoutMillisecondsPropertySchema: z.ZodOptional<z.ZodNumber>;
|
|
3469
3596
|
declare const TablePropertySchema: z.ZodString & {
|
|
3470
3597
|
_def: z.core.$ZodStringDef & PositionalMetadata;
|
|
3471
3598
|
};
|
|
@@ -3502,7 +3629,8 @@ type OffsetProperty = z.infer<typeof OffsetPropertySchema>;
|
|
|
3502
3629
|
type OutputProperty = z.infer<typeof OutputPropertySchema>;
|
|
3503
3630
|
type DebugProperty = z.infer<typeof DebugPropertySchema>;
|
|
3504
3631
|
type ParamsProperty = z.infer<typeof ParamsPropertySchema>;
|
|
3505
|
-
type
|
|
3632
|
+
type ActionTimeoutSecondsProperty = z.infer<typeof ActionTimeoutSecondsPropertySchema>;
|
|
3633
|
+
type ActionTimeoutMillisecondsProperty = z.infer<typeof ActionTimeoutMillisecondsPropertySchema>;
|
|
3506
3634
|
type TableProperty = z.infer<typeof TablePropertySchema>;
|
|
3507
3635
|
type RecordProperty = z.infer<typeof RecordPropertySchema>;
|
|
3508
3636
|
type RecordsProperty = z.infer<typeof RecordsPropertySchema>;
|
|
@@ -3727,8 +3855,8 @@ declare class ZapierRateLimitError extends ZapierError {
|
|
|
3727
3855
|
* - `failed`: The approval reached a terminal processing failure after it was
|
|
3728
3856
|
* created, such as the approved policy being rejected by the permissions
|
|
3729
3857
|
* service.
|
|
3730
|
-
* - `timeout`: Poll mode exceeded `
|
|
3731
|
-
* being resolved.
|
|
3858
|
+
* - `timeout`: Poll mode exceeded `approvalTimeoutSeconds` without the
|
|
3859
|
+
* approval being resolved.
|
|
3732
3860
|
* - `max_retries_exceeded`: A single request triggered more sequential approval
|
|
3733
3861
|
* rounds than `maxApprovalRetries` allows (runaway-loop safeguard).
|
|
3734
3862
|
*/
|
|
@@ -4182,6 +4310,14 @@ declare function buildApplicationLifecycleEvent(data: ApplicationLifecycleEventD
|
|
|
4182
4310
|
declare function buildErrorEventWithContext(data: EnhancedErrorEventData, context?: EventContext): ErrorOccurredEvent;
|
|
4183
4311
|
declare function buildMethodCalledEvent(data: MethodCalledEventData, context?: EventContext): MethodCalledEvent;
|
|
4184
4312
|
|
|
4313
|
+
/**
|
|
4314
|
+
* Registers {@link zapierAnnotate} as a composable annotator on the hook
|
|
4315
|
+
* channel. Contributed through the plugin graph rather than a singleton core
|
|
4316
|
+
* option, so other plugins can add their own annotators alongside it. Pure
|
|
4317
|
+
* input→Annotations, so it needs no imports or state.
|
|
4318
|
+
*/
|
|
4319
|
+
declare const operationAnnotatorPlugin: HookPlugin<string>;
|
|
4320
|
+
|
|
4185
4321
|
/**
|
|
4186
4322
|
* Simple utility functions for event emission
|
|
4187
4323
|
* These are pure functions that can be used to populate common event fields
|
|
@@ -4337,8 +4473,10 @@ declare const eventEmissionPlugin: PropertyPlugin<"eventEmission", {
|
|
|
4337
4473
|
baseUrl?: string | undefined;
|
|
4338
4474
|
trackingBaseUrl?: string | undefined;
|
|
4339
4475
|
maxNetworkRetries?: number | undefined;
|
|
4476
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
4340
4477
|
maxNetworkRetryDelayMs?: number | undefined;
|
|
4341
4478
|
maxConcurrentRequests?: number | undefined;
|
|
4479
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
4342
4480
|
approvalTimeoutMs?: number | undefined;
|
|
4343
4481
|
maxApprovalRetries?: number | undefined;
|
|
4344
4482
|
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
@@ -4952,6 +5090,10 @@ interface ApiClientOptions {
|
|
|
4952
5090
|
* If the server requests a longer delay, the request fails immediately.
|
|
4953
5091
|
* Default is 60000 (60 seconds).
|
|
4954
5092
|
*/
|
|
5093
|
+
maxNetworkRetryDelayMilliseconds?: number;
|
|
5094
|
+
/**
|
|
5095
|
+
* @deprecated Use `maxNetworkRetryDelayMilliseconds` instead.
|
|
5096
|
+
*/
|
|
4955
5097
|
maxNetworkRetryDelayMs?: number;
|
|
4956
5098
|
/**
|
|
4957
5099
|
* Maximum number of concurrent in-flight HTTP requests per client.
|
|
@@ -4984,6 +5126,10 @@ interface ApiClientOptions {
|
|
|
4984
5126
|
/**
|
|
4985
5127
|
* Timeout in ms for approval polling. Default: 600000 (10 minutes).
|
|
4986
5128
|
*/
|
|
5129
|
+
approvalTimeoutMilliseconds?: number;
|
|
5130
|
+
/**
|
|
5131
|
+
* @deprecated Use `approvalTimeoutMilliseconds` instead.
|
|
5132
|
+
*/
|
|
4987
5133
|
approvalTimeoutMs?: number;
|
|
4988
5134
|
/**
|
|
4989
5135
|
* Maximum number of sequential approval rounds for a single request before
|
|
@@ -5087,7 +5233,13 @@ interface RequestOptions {
|
|
|
5087
5233
|
signal?: AbortSignal;
|
|
5088
5234
|
}
|
|
5089
5235
|
interface PollOptions extends RequestOptions {
|
|
5236
|
+
/** Delay in milliseconds before the first poll request. */
|
|
5237
|
+
initialDelayMilliseconds?: number;
|
|
5238
|
+
/** @deprecated Use `initialDelayMilliseconds` instead. */
|
|
5090
5239
|
initialDelay?: number;
|
|
5240
|
+
/** Overall poll timeout in milliseconds. */
|
|
5241
|
+
timeoutMilliseconds?: number;
|
|
5242
|
+
/** @deprecated Use `timeoutMilliseconds` instead. */
|
|
5091
5243
|
timeoutMs?: number;
|
|
5092
5244
|
successStatus?: number;
|
|
5093
5245
|
pendingStatus?: number;
|
|
@@ -5409,8 +5561,10 @@ declare const manifestPlugin: PropertyPlugin<"manifest", ManifestProvider> & Lea
|
|
|
5409
5561
|
baseUrl?: string | undefined;
|
|
5410
5562
|
trackingBaseUrl?: string | undefined;
|
|
5411
5563
|
maxNetworkRetries?: number | undefined;
|
|
5564
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
5412
5565
|
maxNetworkRetryDelayMs?: number | undefined;
|
|
5413
5566
|
maxConcurrentRequests?: number | undefined;
|
|
5567
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
5414
5568
|
approvalTimeoutMs?: number | undefined;
|
|
5415
5569
|
maxApprovalRetries?: number | undefined;
|
|
5416
5570
|
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
@@ -5456,6 +5610,7 @@ declare const ActionExecutionInputSchema: z.ZodObject<{
|
|
|
5456
5610
|
connectionId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
5457
5611
|
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
5458
5612
|
authenticationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
5613
|
+
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
5459
5614
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
5460
5615
|
}, z.core.$strip>;
|
|
5461
5616
|
type ActionExecutionOptions = z.infer<typeof ActionExecutionInputSchema>;
|
|
@@ -5517,6 +5672,7 @@ declare const appsPlugin: PropertyPlugin<"apps", ActionProxy & ZapierSdkApps> &
|
|
|
5517
5672
|
connectionId?: string | number | null | undefined;
|
|
5518
5673
|
authenticationId?: string | number | null | undefined;
|
|
5519
5674
|
inputs?: Record<string, unknown> | undefined;
|
|
5675
|
+
timeoutSeconds?: number | undefined;
|
|
5520
5676
|
timeoutMs?: number | undefined;
|
|
5521
5677
|
pageSize?: number | undefined;
|
|
5522
5678
|
maxItems?: number | undefined;
|
|
@@ -5529,6 +5685,7 @@ declare const appsPlugin: PropertyPlugin<"apps", ActionProxy & ZapierSdkApps> &
|
|
|
5529
5685
|
connectionId?: string | number | null | undefined;
|
|
5530
5686
|
authenticationId?: string | number | null | undefined;
|
|
5531
5687
|
inputs?: Record<string, unknown> | undefined;
|
|
5688
|
+
timeoutSeconds?: number | undefined;
|
|
5532
5689
|
timeoutMs?: number | undefined;
|
|
5533
5690
|
pageSize?: number | undefined;
|
|
5534
5691
|
maxItems?: number | undefined;
|
|
@@ -5600,6 +5757,8 @@ interface ZapierFetchInitOptions extends RequestInit {
|
|
|
5600
5757
|
authenticationId?: string | number;
|
|
5601
5758
|
callbackUrl?: string;
|
|
5602
5759
|
/** Maximum seconds to wait for a response, subject to a server-side limit. */
|
|
5760
|
+
maxTimeSeconds?: number;
|
|
5761
|
+
/** @deprecated Use `maxTimeSeconds` instead. */
|
|
5603
5762
|
maxTime?: number;
|
|
5604
5763
|
}
|
|
5605
5764
|
type FetchPluginProvides = PluginSurface<typeof fetchPlugin>;
|
|
@@ -6581,7 +6740,7 @@ interface FindUniqueAuthenticationPluginProvides {
|
|
|
6581
6740
|
findUniqueAuthentication: FindUniqueConnectionSdkFunction["findUniqueConnection"];
|
|
6582
6741
|
}
|
|
6583
6742
|
|
|
6584
|
-
declare const
|
|
6743
|
+
declare const CONTEXT_CACHE_TTL_MILLISECONDS = 60000;
|
|
6585
6744
|
declare const CONTEXT_CACHE_MAX_SIZE = 500;
|
|
6586
6745
|
declare const runActionPlugin: MethodPlugin<"runAction", ({
|
|
6587
6746
|
app: string;
|
|
@@ -6591,6 +6750,7 @@ declare const runActionPlugin: MethodPlugin<"runAction", ({
|
|
|
6591
6750
|
connectionId?: string | number | null | undefined;
|
|
6592
6751
|
authenticationId?: string | number | null | undefined;
|
|
6593
6752
|
inputs?: Record<string, unknown> | undefined;
|
|
6753
|
+
timeoutSeconds?: number | undefined;
|
|
6594
6754
|
timeoutMs?: number | undefined;
|
|
6595
6755
|
pageSize?: number | undefined;
|
|
6596
6756
|
maxItems?: number | undefined;
|
|
@@ -6603,6 +6763,7 @@ declare const runActionPlugin: MethodPlugin<"runAction", ({
|
|
|
6603
6763
|
connectionId?: string | number | null | undefined;
|
|
6604
6764
|
authenticationId?: string | number | null | undefined;
|
|
6605
6765
|
inputs?: Record<string, unknown> | undefined;
|
|
6766
|
+
timeoutSeconds?: number | undefined;
|
|
6606
6767
|
timeoutMs?: number | undefined;
|
|
6607
6768
|
pageSize?: number | undefined;
|
|
6608
6769
|
maxItems?: number | undefined;
|
|
@@ -6850,8 +7011,10 @@ declare const BaseSdkOptionsSchema: z.ZodObject<{
|
|
|
6850
7011
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
6851
7012
|
trackingBaseUrl: z.ZodOptional<z.ZodString>;
|
|
6852
7013
|
maxNetworkRetries: z.ZodOptional<z.ZodNumber>;
|
|
7014
|
+
maxNetworkRetryDelaySeconds: z.ZodOptional<z.ZodNumber>;
|
|
6853
7015
|
maxNetworkRetryDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
6854
7016
|
maxConcurrentRequests: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<number>]>>;
|
|
7017
|
+
approvalTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
6855
7018
|
approvalTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
6856
7019
|
maxApprovalRetries: z.ZodOptional<z.ZodNumber>;
|
|
6857
7020
|
approvalMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -6998,8 +7161,10 @@ declare const apiPlugin: PropertyPlugin<"api", ApiClient> & LeafSummary<"zapier"
|
|
|
6998
7161
|
baseUrl?: string | undefined;
|
|
6999
7162
|
trackingBaseUrl?: string | undefined;
|
|
7000
7163
|
maxNetworkRetries?: number | undefined;
|
|
7164
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
7001
7165
|
maxNetworkRetryDelayMs?: number | undefined;
|
|
7002
7166
|
maxConcurrentRequests?: number | undefined;
|
|
7167
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
7003
7168
|
approvalTimeoutMs?: number | undefined;
|
|
7004
7169
|
maxApprovalRetries?: number | undefined;
|
|
7005
7170
|
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
@@ -7077,8 +7242,10 @@ declare const resolveCredentialsPlugin: PropertyPlugin<"resolveCredentials", Res
|
|
|
7077
7242
|
baseUrl?: string | undefined;
|
|
7078
7243
|
trackingBaseUrl?: string | undefined;
|
|
7079
7244
|
maxNetworkRetries?: number | undefined;
|
|
7245
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
7080
7246
|
maxNetworkRetryDelayMs?: number | undefined;
|
|
7081
7247
|
maxConcurrentRequests?: number | undefined;
|
|
7248
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
7082
7249
|
approvalTimeoutMs?: number | undefined;
|
|
7083
7250
|
maxApprovalRetries?: number | undefined;
|
|
7084
7251
|
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
@@ -8037,7 +8204,9 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
8037
8204
|
waitForNewConnection: (input: {
|
|
8038
8205
|
app: string;
|
|
8039
8206
|
startedAt: number;
|
|
8207
|
+
timeoutSeconds?: number | undefined;
|
|
8040
8208
|
timeoutMs?: number | undefined;
|
|
8209
|
+
pollIntervalMilliseconds?: number | undefined;
|
|
8041
8210
|
pollIntervalMs?: number | undefined;
|
|
8042
8211
|
}) => Promise<{
|
|
8043
8212
|
data: {
|
|
@@ -8049,7 +8218,9 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
8049
8218
|
createConnection: (input: {
|
|
8050
8219
|
app: string;
|
|
8051
8220
|
browser: "never" | "auto" | "always";
|
|
8221
|
+
timeoutSeconds?: number | undefined;
|
|
8052
8222
|
timeoutMs?: number | undefined;
|
|
8223
|
+
pollIntervalMilliseconds?: number | undefined;
|
|
8053
8224
|
pollIntervalMs?: number | undefined;
|
|
8054
8225
|
}) => Promise<{
|
|
8055
8226
|
data: {
|
|
@@ -8274,6 +8445,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
8274
8445
|
connectionId?: string | number | null | undefined;
|
|
8275
8446
|
authenticationId?: string | number | null | undefined;
|
|
8276
8447
|
inputs?: Record<string, unknown> | undefined;
|
|
8448
|
+
timeoutSeconds?: number | undefined;
|
|
8277
8449
|
timeoutMs?: number | undefined;
|
|
8278
8450
|
pageSize?: number | undefined;
|
|
8279
8451
|
maxItems?: number | undefined;
|
|
@@ -8286,6 +8458,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
8286
8458
|
connectionId?: string | number | null | undefined;
|
|
8287
8459
|
authenticationId?: string | number | null | undefined;
|
|
8288
8460
|
inputs?: Record<string, unknown> | undefined;
|
|
8461
|
+
timeoutSeconds?: number | undefined;
|
|
8289
8462
|
timeoutMs?: number | undefined;
|
|
8290
8463
|
pageSize?: number | undefined;
|
|
8291
8464
|
maxItems?: number | undefined;
|
|
@@ -9968,7 +10141,9 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9968
10141
|
waitForNewConnection: MethodPlugin<"waitForNewConnection", {
|
|
9969
10142
|
app: string;
|
|
9970
10143
|
startedAt: number;
|
|
10144
|
+
timeoutSeconds?: number | undefined;
|
|
9971
10145
|
timeoutMs?: number | undefined;
|
|
10146
|
+
pollIntervalMilliseconds?: number | undefined;
|
|
9972
10147
|
pollIntervalMs?: number | undefined;
|
|
9973
10148
|
}, Promise<{
|
|
9974
10149
|
data: {
|
|
@@ -9981,7 +10156,9 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9981
10156
|
createConnection: MethodPlugin<"createConnection", {
|
|
9982
10157
|
app: string;
|
|
9983
10158
|
browser: "never" | "auto" | "always";
|
|
10159
|
+
timeoutSeconds?: number | undefined;
|
|
9984
10160
|
timeoutMs?: number | undefined;
|
|
10161
|
+
pollIntervalMilliseconds?: number | undefined;
|
|
9985
10162
|
pollIntervalMs?: number | undefined;
|
|
9986
10163
|
}, Promise<{
|
|
9987
10164
|
data: {
|
|
@@ -10001,7 +10178,9 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
10001
10178
|
}>, readonly []> & LeafSummary<"", "getConnectionStartUrl", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>, MethodPlugin<"waitForNewConnection", {
|
|
10002
10179
|
app: string;
|
|
10003
10180
|
startedAt: number;
|
|
10181
|
+
timeoutSeconds?: number | undefined;
|
|
10004
10182
|
timeoutMs?: number | undefined;
|
|
10183
|
+
pollIntervalMilliseconds?: number | undefined;
|
|
10005
10184
|
pollIntervalMs?: number | undefined;
|
|
10006
10185
|
}, Promise<{
|
|
10007
10186
|
data: {
|
|
@@ -10628,6 +10807,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
10628
10807
|
connectionId?: string | number | null | undefined;
|
|
10629
10808
|
authenticationId?: string | number | null | undefined;
|
|
10630
10809
|
inputs?: Record<string, unknown> | undefined;
|
|
10810
|
+
timeoutSeconds?: number | undefined;
|
|
10631
10811
|
timeoutMs?: number | undefined;
|
|
10632
10812
|
pageSize?: number | undefined;
|
|
10633
10813
|
maxItems?: number | undefined;
|
|
@@ -10640,6 +10820,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
10640
10820
|
connectionId?: string | number | null | undefined;
|
|
10641
10821
|
authenticationId?: string | number | null | undefined;
|
|
10642
10822
|
inputs?: Record<string, unknown> | undefined;
|
|
10823
|
+
timeoutSeconds?: number | undefined;
|
|
10643
10824
|
timeoutMs?: number | undefined;
|
|
10644
10825
|
pageSize?: number | undefined;
|
|
10645
10826
|
maxItems?: number | undefined;
|
|
@@ -10730,6 +10911,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
10730
10911
|
connectionId?: string | number | null | undefined;
|
|
10731
10912
|
authenticationId?: string | number | null | undefined;
|
|
10732
10913
|
inputs?: Record<string, unknown> | undefined;
|
|
10914
|
+
timeoutSeconds?: number | undefined;
|
|
10733
10915
|
timeoutMs?: number | undefined;
|
|
10734
10916
|
pageSize?: number | undefined;
|
|
10735
10917
|
maxItems?: number | undefined;
|
|
@@ -10742,6 +10924,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
10742
10924
|
connectionId?: string | number | null | undefined;
|
|
10743
10925
|
authenticationId?: string | number | null | undefined;
|
|
10744
10926
|
inputs?: Record<string, unknown> | undefined;
|
|
10927
|
+
timeoutSeconds?: number | undefined;
|
|
10745
10928
|
timeoutMs?: number | undefined;
|
|
10746
10929
|
pageSize?: number | undefined;
|
|
10747
10930
|
maxItems?: number | undefined;
|
|
@@ -11171,8 +11354,10 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
11171
11354
|
baseUrl?: string | undefined;
|
|
11172
11355
|
trackingBaseUrl?: string | undefined;
|
|
11173
11356
|
maxNetworkRetries?: number | undefined;
|
|
11357
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
11174
11358
|
maxNetworkRetryDelayMs?: number | undefined;
|
|
11175
11359
|
maxConcurrentRequests?: number | undefined;
|
|
11360
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
11176
11361
|
approvalTimeoutMs?: number | undefined;
|
|
11177
11362
|
maxApprovalRetries?: number | undefined;
|
|
11178
11363
|
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
@@ -12245,7 +12430,9 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
12245
12430
|
waitForNewConnection: (input: {
|
|
12246
12431
|
app: string;
|
|
12247
12432
|
startedAt: number;
|
|
12433
|
+
timeoutSeconds?: number | undefined;
|
|
12248
12434
|
timeoutMs?: number | undefined;
|
|
12435
|
+
pollIntervalMilliseconds?: number | undefined;
|
|
12249
12436
|
pollIntervalMs?: number | undefined;
|
|
12250
12437
|
}) => Promise<{
|
|
12251
12438
|
data: {
|
|
@@ -12257,7 +12444,9 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
12257
12444
|
createConnection: (input: {
|
|
12258
12445
|
app: string;
|
|
12259
12446
|
browser: "never" | "auto" | "always";
|
|
12447
|
+
timeoutSeconds?: number | undefined;
|
|
12260
12448
|
timeoutMs?: number | undefined;
|
|
12449
|
+
pollIntervalMilliseconds?: number | undefined;
|
|
12261
12450
|
pollIntervalMs?: number | undefined;
|
|
12262
12451
|
}) => Promise<{
|
|
12263
12452
|
data: {
|
|
@@ -12482,6 +12671,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
12482
12671
|
connectionId?: string | number | null | undefined;
|
|
12483
12672
|
authenticationId?: string | number | null | undefined;
|
|
12484
12673
|
inputs?: Record<string, unknown> | undefined;
|
|
12674
|
+
timeoutSeconds?: number | undefined;
|
|
12485
12675
|
timeoutMs?: number | undefined;
|
|
12486
12676
|
pageSize?: number | undefined;
|
|
12487
12677
|
maxItems?: number | undefined;
|
|
@@ -12494,6 +12684,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
12494
12684
|
connectionId?: string | number | null | undefined;
|
|
12495
12685
|
authenticationId?: string | number | null | undefined;
|
|
12496
12686
|
inputs?: Record<string, unknown> | undefined;
|
|
12687
|
+
timeoutSeconds?: number | undefined;
|
|
12497
12688
|
timeoutMs?: number | undefined;
|
|
12498
12689
|
pageSize?: number | undefined;
|
|
12499
12690
|
maxItems?: number | undefined;
|
|
@@ -13163,8 +13354,10 @@ declare const sdkOptionsPluginRef: PropertyPlugin<"sdkOptions", {
|
|
|
13163
13354
|
baseUrl?: string | undefined;
|
|
13164
13355
|
trackingBaseUrl?: string | undefined;
|
|
13165
13356
|
maxNetworkRetries?: number | undefined;
|
|
13357
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
13166
13358
|
maxNetworkRetryDelayMs?: number | undefined;
|
|
13167
13359
|
maxConcurrentRequests?: number | undefined;
|
|
13360
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
13168
13361
|
approvalTimeoutMs?: number | undefined;
|
|
13169
13362
|
maxApprovalRetries?: number | undefined;
|
|
13170
13363
|
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
@@ -13367,12 +13560,12 @@ declare const DEFAULT_PAGE_SIZE = 100;
|
|
|
13367
13560
|
/**
|
|
13368
13561
|
* Default timeout for action execution (in milliseconds)
|
|
13369
13562
|
*/
|
|
13370
|
-
declare const
|
|
13563
|
+
declare const DEFAULT_ACTION_TIMEOUT_MILLISECONDS = 180000;
|
|
13371
13564
|
/**
|
|
13372
13565
|
* Network retry configuration from environment variables
|
|
13373
13566
|
*/
|
|
13374
13567
|
declare const ZAPIER_MAX_NETWORK_RETRIES: number;
|
|
13375
|
-
declare const
|
|
13568
|
+
declare const ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS: number;
|
|
13376
13569
|
/**
|
|
13377
13570
|
* Upper bound on the concurrency cap. Anything beyond this is almost
|
|
13378
13571
|
* certainly a configuration mistake and would also bypass IEEE 754 safe
|
|
@@ -13416,7 +13609,7 @@ declare function getZapierDefaultApprovalMode(): "poll" | "throw";
|
|
|
13416
13609
|
/**
|
|
13417
13610
|
* Default timeout for approval polling (10 minutes)
|
|
13418
13611
|
*/
|
|
13419
|
-
declare const
|
|
13612
|
+
declare const DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS: number;
|
|
13420
13613
|
/**
|
|
13421
13614
|
* Default cap on chained approval retries for a single request. Multiple
|
|
13422
13615
|
* sequential approvals can occur when more than one policy gates the same
|
|
@@ -13776,4 +13969,4 @@ declare function getAgent(): string | null;
|
|
|
13776
13969
|
*/
|
|
13777
13970
|
declare const registryPlugin: (_sdk: {}) => {};
|
|
13778
13971
|
|
|
13779
|
-
export { type NeedsRequest as $, type AggregatePlugin 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 ListAuthenticationsPluginProvides as H, type GetAuthenticationPluginProvides as I, type FindFirstAuthenticationPluginProvides as J, type FindUniqueAuthenticationPluginProvides as K, type LeafSummary as L, type MethodPlugin as M, type Action as N, type App as O, type PropertyPlugin as P, type Need as Q, type RegistryResult as R, type SdkContext as S, type TriggerInboxCommandSharedFields as T, type Field as U, type Choice as V, type WatchTriggerInboxOptions as W, type ActionExecutionResult as X, type ActionField as Y, type ZapierFetchInitOptions as Z, type ActionFieldChoice as _, type ApiClient as a, toTitleCase as a$, type NeedsResponse as a0, type Connection as a1, type ConnectionsResponse as a2, type UserProfile as a3, isPositional as a4, type PositionalMetadata as a5, createFunction as a6, createPaginatedFunction as a7, createPluginStack as a8, createCorePlugin as a9, type Formatter as aA, type OutputFormatter as aB, type Resolver$1 as aC, type ArrayResolver$1 as aD, type ResolverMetadata as aE, type StaticResolver$1 as aF, type DynamicResolver$1 as aG, type DynamicListResolver as aH, type DynamicSearchResolver as aI, type FieldsResolver as aJ, type Resolver as aK, type DynamicMember as aL, type PluginSurface as aM, createController as aN, type ControllerQuestion as aO, type ControllerAction as aP, type ControllerAnswerFn as aQ, type ControllerChoice as aR, type ControllerMethodSummary as aS, type ControllerMethodDescription as aT, type ControllerParameterDescription as aU, runInMethodScope as aV, runWithTelemetryContext as aW, getCallerContext as aX, runWithCallerContext as aY, type CallerContext as aZ, toSnakeCase as a_, addPlugin as aa, disposeSdk as ab, CoreDisposeError as ac, createSdk as ad, CONTEXT as ae, resolvePlugin as af, fromFunctionPlugin as ag, defineLegacyMerge as ah, getContext as ai, declarePlugin as aj, defineMethod as ak, defineMethodOverride as al, defineProperty as am, defineResolver as an, defineFormatter as ao, declareMethod as ap, declareProperty as aq, declareOptionalProperty as ar, selectExports as as, omitExports as at, getRegistryPlugin as au, zapierSdkPlugin as av, SDK_OPTIONS_ID as aw, sdkOptionsPluginRef as ax, type FormattedItem as ay, type BoundFormatter as az, type PluginSummary as b, LimitPropertySchema as b$, batch as b0, type BatchOptions as b1, buildCapabilityMessage as b2, logDeprecation as b3, resetDeprecationWarnings as b4, RelayRequestSchema as b5, RelayFetchSchema as b6, createZapierSdkWithoutRegistry as b7, zapierCoreOptions as b8, CORE_OPTIONS_ID as b9, type PollOptions as bA, createZapierApi as bB, getOrCreateApiClient as bC, isPermanentHttpError as bD, type SseMessage as bE, type JsonSseMessage as bF, DEPRECATION_NOTICE_EVENT as bG, type DeprecationNoticePayload as bH, type AppItem as bI, type ConnectionItem as bJ, type ActionItem$1 as bK, type InputFieldItem as bL, type InfoFieldItem as bM, type RootFieldItem as bN, type UserProfileItem as bO, type SdkPage as bP, type PaginatedSdkFunction as bQ, AppKeyPropertySchema as bR, AppPropertySchema as bS, ActionTypePropertySchema as bT, ActionKeyPropertySchema as bU, ActionPropertySchema as bV, InputFieldPropertySchema as bW, ConnectionIdPropertySchema as bX, AuthenticationIdPropertySchema as bY, ConnectionPropertySchema as bZ, InputsPropertySchema as b_, type FunctionRegistryEntry as ba, type FunctionDeprecation as bb, BaseSdkOptionsSchema as bc, isCoreError as bd, getCoreErrorCode as be, getCoreErrorCause as bf, CORE_ERROR_SYMBOL as bg, CoreErrorCode as bh, CoreSignal as bi, CoreCancelledSignal as bj, isCoreSignal as bk, isCoreCancelledSignal as bl, CORE_SIGNAL_SYMBOL as bm, type Plugin as bn, type PluginProvides as bo, type MethodOverridePlugin as bp, definePlugin as bq, createPluginMethod as br, createPaginatedPluginMethod as bs, composePlugins as bt, type ActionItem as bu, type ActionTypeItem as bv, type ResolvedAppLocator as bw, getAgent as bx, registryPlugin as by, type RequestOptions as bz, type PaginatedSdkResult as c, ZapierRateLimitError as c$, OffsetPropertySchema as c0, OutputPropertySchema as c1, DebugPropertySchema as c2, ParamsPropertySchema as c3, ActionTimeoutMsPropertySchema as c4, TablePropertySchema as c5, RecordPropertySchema as c6, RecordsPropertySchema as c7, FieldsPropertySchema as c8, AppsPropertySchema as c9, type RecordsProperty as cA, type FieldsProperty as cB, type AppsProperty as cC, type TablesProperty as cD, type ConnectionsProperty as cE, type TriggerInboxProperty as cF, type TriggerInboxKeyProperty as cG, type TriggerInboxNameProperty as cH, type LeaseProperty as cI, type LeaseSecondsProperty as cJ, type LeaseLimitProperty as cK, type ErrorOptions as cL, ZapierError as cM, ZapierValidationError as cN, ZapierUnknownError as cO, ZapierAuthenticationError as cP, zapierAdaptError as cQ, ZapierApiError as cR, ZapierAppNotFoundError as cS, ZapierNotFoundError as cT, ZapierResourceNotFoundError as cU, ZapierConfigurationError as cV, ZapierBundleError as cW, ZapierTimeoutError as cX, ZapierActionError as cY, ZapierConflictError as cZ, type RateLimitInfo as c_, TablesPropertySchema as ca, ConnectionsPropertySchema as cb, TriggerInboxPropertySchema as cc, TriggerInboxKeyPropertySchema as cd, TriggerInboxNamePropertySchema as ce, LeasePropertySchema as cf, LeaseSecondsPropertySchema as cg, LeaseLimitPropertySchema as ch, type AppKeyProperty as ci, type AppProperty as cj, type ActionTypeProperty as ck, type ActionKeyProperty as cl, type ActionProperty as cm, type InputFieldProperty as cn, type ConnectionIdProperty as co, type ConnectionProperty as cp, type AuthenticationIdProperty as cq, type InputsProperty as cr, type LimitProperty as cs, type OffsetProperty as ct, type OutputProperty as cu, type DebugProperty as cv, type ParamsProperty as cw, type ActionTimeoutMsProperty as cx, type TableProperty as cy, type RecordProperty as cz, type ManifestProvider as d, API_ID as d$, type ApprovalStatus as d0, ZapierApprovalError as d1, ZapierRelayError as d2, isZapierError as d3, isZapierValidationError as d4, isZapierAuthenticationError as d5, isZapierAppNotFoundError as d6, isZapierNotFoundError as d7, isZapierResourceNotFoundError as d8, isZapierConflictError as d9, createClientCredentialsPlugin as dA, deleteClientCredentialsPlugin as dB, getAppPlugin as dC, getActionPlugin as dD, getConnectionPlugin as dE, findFirstConnectionPlugin as dF, findUniqueConnectionPlugin as dG, CONTEXT_CACHE_TTL_MS as dH, CONTEXT_CACHE_MAX_SIZE as dI, runActionPlugin as dJ, type RunActionPluginProvides as dK, requestPlugin as dL, type ManifestPluginOptions as dM, readManifestFromFile as dN, getPreferredManifestEntryKey as dO, findManifestEntry as dP, MANIFEST_ID as dQ, manifestPluginRef as dR, manifestPlugin as dS, type UpdateManifestEntryOptions as dT, type UpdateManifestEntryResult as dU, DEFAULT_CONFIG_PATH as dV, type ManifestEntry as dW, type ActionEntry as dX, getProfilePlugin as dY, type ApiPluginOptions as dZ, type ResolveCredentialsFn as d_, isZapierTimeoutError as da, isZapierBundleError as db, isZapierActionError as dc, isZapierRateLimitError as dd, isZapierApprovalError as de, formatErrorMessage as df, type CoreApiError as dg, ZapierSignal as dh, isZapierSignal as di, appsPlugin as dj, type ActionExecutionOptions as dk, type AppFactoryInput as dl, type FetchPluginProvides as dm, fetchPlugin as dn, listAppsPlugin as dp, type ListAppsPluginProvides as dq, listActionsPlugin as dr, type ListActionsPluginProvides as ds, listActionInputFieldsPlugin as dt, type ListActionInputFieldsPluginProvides as du, listActionInputFieldChoicesPlugin as dv, getActionInputFieldsSchemaPlugin as dw, listConnectionsPlugin as dx, type ListConnectionsPluginProvides as dy, listClientCredentialsPlugin as dz, type CapabilitiesContext as e, ClientCredentialsObjectSchema as e$, apiPluginRef as e0, apiPlugin as e1, RESOLVE_CREDENTIALS_ID as e2, resolveCredentialsPluginRef as e3, resolveCredentialsPlugin as e4, appKeyResolver as e5, actionTypeResolver as e6, actionKeyResolver as e7, connectionIdResolver as e8, connectionIdGenericResolver as e9, injectCliLogin as eA, isCliLoginAvailable as eB, getTokenFromCliLogin as eC, resolveAuth as eD, resolveAuthToken as eE, invalidateCredentialsToken as eF, type ZapierCacheEntry as eG, type ZapierCacheSetOptions as eH, createMemoryCache as eI, type SdkEvent as eJ, type AuthEvent as eK, type ApiEvent as eL, type LoadingEvent as eM, type Credentials as eN, type ResolvedCredentials as eO, type CredentialsObject as eP, type ClientCredentialsObject as eQ, type PkceCredentialsObject as eR, isClientCredentials as eS, isPkceCredentials as eT, isCredentialsObject as eU, isCredentialsFunction as eV, type ResolveCredentialsOptions as eW, resolveCredentialsFromEnv as eX, resolveCredentials as eY, getBaseUrlFromCredentials as eZ, getClientIdFromCredentials as e_, inputsResolver as ea, inputsAllOptionalResolver as eb, inputFieldKeyResolver as ec, clientCredentialsNameResolver as ed, clientIdResolver as ee, tableIdResolver as ef, triggerInboxResolver as eg, workflowIdResolver as eh, durableRunIdResolver as ei, workflowVersionIdResolver as ej, workflowRunIdResolver as ek, triggerMessagesResolver as el, tableRecordIdResolver as em, tableRecordIdsResolver as en, tableFieldIdsResolver as eo, tableNameResolver as ep, tableFieldsResolver as eq, tableRecordsResolver as er, tableUpdateRecordsResolver as es, tableFiltersResolver as et, tableSortResolver as eu, type ResolveAuthTokenOptions as ev, AuthMechanism as ew, type ResolvedAuth as ex, clearTokenCache as ey, invalidateCachedToken as ez, type CoreOptions as f, getOsInfo as f$, PkceCredentialsObjectSchema as f0, CredentialsObjectSchema as f1, ResolvedCredentialsSchema as f2, CredentialsFunctionSchema as f3, type CredentialsFunction as f4, CredentialsSchema as f5, ConnectionEntrySchema as f6, type ConnectionEntry as f7, ConnectionsMapSchema as f8, type ConnectionsMap as f9, getTableRecordPlugin as fA, listTableRecordsPlugin as fB, createTableRecordsPlugin as fC, deleteTableRecordsPlugin as fD, updateTableRecordsPlugin as fE, cleanupEventListeners as fF, type EventEmissionContext as fG, type EventEmitter as fH, EVENT_EMISSION_ID as fI, eventEmissionPluginRef as fJ, eventEmissionPlugin as fK, eventEmissionHookPlugin as fL, type EventTransport as fM, type EventContext as fN, type ApplicationLifecycleEventData as fO, type EnhancedErrorEventData as fP, type MethodCalledEventData as fQ, buildApplicationLifecycleEvent as fR, buildErrorEventWithContext as fS, buildErrorEvent as fT, createBaseEvent as fU, buildMethodCalledEvent as fV, type BaseEvent as fW, type MethodCalledEvent as fX, generateEventId as fY, getCurrentTimestamp as fZ, getReleaseId as f_, type ResolveConnection as fa, CONNECTIONS_ID as fb, connectionsPluginRef as fc, connectionsPlugin as fd, ZAPIER_BASE_URL as fe, getZapierSdkService as ff, MAX_PAGE_LIMIT as fg, DEFAULT_PAGE_SIZE as fh, DEFAULT_ACTION_TIMEOUT_MS as fi, ZAPIER_MAX_NETWORK_RETRIES as fj, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS as fk, MAX_CONCURRENCY_LIMIT as fl, parseConcurrencyEnvVar as fm, ZAPIER_MAX_CONCURRENT_REQUESTS as fn, getZapierApprovalMode as fo, getZapierOpenAutoModeApprovalsInBrowser as fp, getZapierDefaultApprovalMode as fq, DEFAULT_APPROVAL_TIMEOUT_MS as fr, DEFAULT_MAX_APPROVAL_RETRIES as fs, listTablesPlugin as ft, getTablePlugin as fu, createTablePlugin as fv, deleteTablePlugin as fw, listTableFieldsPlugin as fx, createTableFieldsPlugin as fy, deleteTableFieldsPlugin as fz, type ActionProxy as g, getPlatformVersions as g0, isCi as g1, getCiPlatform as g2, getMemoryUsage as g3, getCpuTime as g4, getTtyContext as g5, createZapierSdk as g6, type ZapierSdkOptions as g7, type ZapierSdk as g8, type ZapierSdkApps as h, type DrainTriggerInboxOptions as i, type Manifest as j, type EventEmissionConfig as k, type ZapierCache as l, type ListActionsOptions as m, type ListActionInputFieldsOptions as n, type ListActionInputFieldChoicesOptions as o, type PluginMeta as p, DrainTriggerInboxSchema as q, WatchTriggerInboxSchema as r, ZapierAbortDrainSignal as s, ZapierReleaseTriggerMessageSignal as t, isZapierAbortDrainSignal as u, isZapierReleaseTriggerMessageSignal as v, type DrainTriggerInboxCallback as w, type DrainTriggerInboxErrorObserver as x, type LeasedTriggerMessageItem as y, type TriggerMessageStatus as z };
|
|
13972
|
+
export { type NeedsRequest as $, type AggregatePlugin 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 ListAuthenticationsPluginProvides as H, type GetAuthenticationPluginProvides as I, type FindFirstAuthenticationPluginProvides as J, type FindUniqueAuthenticationPluginProvides as K, type LeafSummary as L, type MethodPlugin as M, type Action as N, type App as O, type PropertyPlugin as P, type Need as Q, type RegistryResult as R, type SdkContext as S, type TriggerInboxCommandSharedFields as T, type Field as U, type Choice as V, type WatchTriggerInboxOptions as W, type ActionExecutionResult as X, type ActionField as Y, type ZapierFetchInitOptions as Z, type ActionFieldChoice as _, type ApiClient as a, toTitleCase as a$, type NeedsResponse as a0, type Connection as a1, type ConnectionsResponse as a2, type UserProfile as a3, isPositional as a4, type PositionalMetadata as a5, createFunction as a6, createPaginatedFunction as a7, createPluginStack as a8, createCorePlugin as a9, type Formatter as aA, type OutputFormatter as aB, type Resolver$1 as aC, type ArrayResolver$1 as aD, type ResolverMetadata as aE, type StaticResolver$1 as aF, type DynamicResolver$1 as aG, type DynamicListResolver as aH, type DynamicSearchResolver as aI, type FieldsResolver as aJ, type Resolver as aK, type DynamicMember as aL, type PluginSurface as aM, createController as aN, type ControllerQuestion as aO, type ControllerAction as aP, type ControllerAnswerFn as aQ, type ControllerChoice as aR, type ControllerMethodSummary as aS, type ControllerMethodDescription as aT, type ControllerParameterDescription as aU, runInMethodScope as aV, runWithTelemetryContext as aW, getCallerContext as aX, runWithCallerContext as aY, type CallerContext as aZ, toSnakeCase as a_, addPlugin as aa, disposeSdk as ab, CoreDisposeError as ac, createSdk as ad, CONTEXT as ae, resolvePlugin as af, fromFunctionPlugin as ag, defineLegacyMerge as ah, getContext as ai, declarePlugin as aj, defineMethod as ak, defineMethodOverride as al, defineProperty as am, defineResolver as an, defineFormatter as ao, declareMethod as ap, declareProperty as aq, declareOptionalProperty as ar, selectExports as as, omitExports as at, getRegistryPlugin as au, zapierSdkPlugin as av, SDK_OPTIONS_ID as aw, sdkOptionsPluginRef as ax, type FormattedItem as ay, type BoundFormatter as az, type PluginSummary as b, LimitPropertySchema as b$, batch as b0, type BatchOptions as b1, buildCapabilityMessage as b2, logDeprecation as b3, resetDeprecationWarnings as b4, RelayRequestSchema as b5, RelayFetchSchema as b6, createZapierSdkWithoutRegistry as b7, zapierCoreOptions as b8, CORE_OPTIONS_ID as b9, type PollOptions as bA, createZapierApi as bB, getOrCreateApiClient as bC, isPermanentHttpError as bD, type SseMessage as bE, type JsonSseMessage as bF, DEPRECATION_NOTICE_EVENT as bG, type DeprecationNoticePayload as bH, type AppItem as bI, type ConnectionItem as bJ, type ActionItem$1 as bK, type InputFieldItem as bL, type InfoFieldItem as bM, type RootFieldItem as bN, type UserProfileItem as bO, type SdkPage as bP, type PaginatedSdkFunction as bQ, AppKeyPropertySchema as bR, AppPropertySchema as bS, ActionTypePropertySchema as bT, ActionKeyPropertySchema as bU, ActionPropertySchema as bV, InputFieldPropertySchema as bW, ConnectionIdPropertySchema as bX, AuthenticationIdPropertySchema as bY, ConnectionPropertySchema as bZ, InputsPropertySchema as b_, type FunctionRegistryEntry as ba, type FunctionDeprecation as bb, BaseSdkOptionsSchema as bc, isCoreError as bd, getCoreErrorCode as be, getCoreErrorCause as bf, CORE_ERROR_SYMBOL as bg, CoreErrorCode as bh, CoreSignal as bi, CoreCancelledSignal as bj, isCoreSignal as bk, isCoreCancelledSignal as bl, CORE_SIGNAL_SYMBOL as bm, type Plugin as bn, type PluginProvides as bo, type MethodOverridePlugin as bp, definePlugin as bq, createPluginMethod as br, createPaginatedPluginMethod as bs, composePlugins as bt, type ActionItem as bu, type ActionTypeItem as bv, type ResolvedAppLocator as bw, getAgent as bx, registryPlugin as by, type RequestOptions as bz, type PaginatedSdkResult as c, ZapierConflictError as c$, OffsetPropertySchema as c0, OutputPropertySchema as c1, DebugPropertySchema as c2, ParamsPropertySchema as c3, ActionTimeoutSecondsPropertySchema as c4, ActionTimeoutMillisecondsPropertySchema as c5, TablePropertySchema as c6, RecordPropertySchema as c7, RecordsPropertySchema as c8, FieldsPropertySchema as c9, type TableProperty as cA, type RecordProperty as cB, type RecordsProperty as cC, type FieldsProperty as cD, type AppsProperty as cE, type TablesProperty as cF, type ConnectionsProperty as cG, type TriggerInboxProperty as cH, type TriggerInboxKeyProperty as cI, type TriggerInboxNameProperty as cJ, type LeaseProperty as cK, type LeaseSecondsProperty as cL, type LeaseLimitProperty as cM, type ErrorOptions as cN, ZapierError as cO, ZapierValidationError as cP, ZapierUnknownError as cQ, ZapierAuthenticationError as cR, zapierAdaptError as cS, ZapierApiError as cT, ZapierAppNotFoundError as cU, ZapierNotFoundError as cV, ZapierResourceNotFoundError as cW, ZapierConfigurationError as cX, ZapierBundleError as cY, ZapierTimeoutError as cZ, ZapierActionError as c_, AppsPropertySchema as ca, TablesPropertySchema as cb, ConnectionsPropertySchema as cc, TriggerInboxPropertySchema as cd, TriggerInboxKeyPropertySchema as ce, TriggerInboxNamePropertySchema as cf, LeasePropertySchema as cg, LeaseSecondsPropertySchema as ch, LeaseLimitPropertySchema as ci, type AppKeyProperty as cj, type AppProperty as ck, type ActionTypeProperty as cl, type ActionKeyProperty as cm, type ActionProperty as cn, type InputFieldProperty as co, type ConnectionIdProperty as cp, type ConnectionProperty as cq, type AuthenticationIdProperty as cr, type InputsProperty as cs, type LimitProperty as ct, type OffsetProperty as cu, type OutputProperty as cv, type DebugProperty as cw, type ParamsProperty as cx, type ActionTimeoutSecondsProperty as cy, type ActionTimeoutMillisecondsProperty as cz, type ManifestProvider as d, type ApiPluginOptions as d$, type RateLimitInfo as d0, ZapierRateLimitError as d1, type ApprovalStatus as d2, ZapierApprovalError as d3, ZapierRelayError as d4, isZapierError as d5, isZapierValidationError as d6, isZapierAuthenticationError as d7, isZapierAppNotFoundError as d8, isZapierNotFoundError as d9, type ListConnectionsPluginProvides as dA, listClientCredentialsPlugin as dB, createClientCredentialsPlugin as dC, deleteClientCredentialsPlugin as dD, getAppPlugin as dE, getActionPlugin as dF, getConnectionPlugin as dG, findFirstConnectionPlugin as dH, findUniqueConnectionPlugin as dI, CONTEXT_CACHE_TTL_MILLISECONDS as dJ, CONTEXT_CACHE_MAX_SIZE as dK, runActionPlugin as dL, type RunActionPluginProvides as dM, requestPlugin as dN, type ManifestPluginOptions as dO, readManifestFromFile as dP, getPreferredManifestEntryKey as dQ, findManifestEntry as dR, MANIFEST_ID as dS, manifestPluginRef as dT, manifestPlugin as dU, type UpdateManifestEntryOptions as dV, type UpdateManifestEntryResult as dW, DEFAULT_CONFIG_PATH as dX, type ManifestEntry as dY, type ActionEntry as dZ, getProfilePlugin as d_, isZapierResourceNotFoundError as da, isZapierConflictError as db, isZapierTimeoutError as dc, isZapierBundleError as dd, isZapierActionError as de, isZapierRateLimitError as df, isZapierApprovalError as dg, formatErrorMessage as dh, type CoreApiError as di, ZapierSignal as dj, isZapierSignal as dk, appsPlugin as dl, type ActionExecutionOptions as dm, type AppFactoryInput as dn, type FetchPluginProvides as dp, fetchPlugin as dq, listAppsPlugin as dr, type ListAppsPluginProvides as ds, listActionsPlugin as dt, type ListActionsPluginProvides as du, listActionInputFieldsPlugin as dv, type ListActionInputFieldsPluginProvides as dw, listActionInputFieldChoicesPlugin as dx, getActionInputFieldsSchemaPlugin as dy, listConnectionsPlugin as dz, type CapabilitiesContext as e, getBaseUrlFromCredentials as e$, type ResolveCredentialsFn as e0, API_ID as e1, apiPluginRef as e2, apiPlugin as e3, RESOLVE_CREDENTIALS_ID as e4, resolveCredentialsPluginRef as e5, resolveCredentialsPlugin as e6, appKeyResolver as e7, actionTypeResolver as e8, actionKeyResolver as e9, clearTokenCache as eA, invalidateCachedToken as eB, injectCliLogin as eC, isCliLoginAvailable as eD, getTokenFromCliLogin as eE, resolveAuth as eF, resolveAuthToken as eG, invalidateCredentialsToken as eH, type ZapierCacheEntry as eI, type ZapierCacheSetOptions as eJ, createMemoryCache as eK, type SdkEvent as eL, type AuthEvent as eM, type ApiEvent as eN, type LoadingEvent as eO, type Credentials as eP, type ResolvedCredentials as eQ, type CredentialsObject as eR, type ClientCredentialsObject as eS, type PkceCredentialsObject as eT, isClientCredentials as eU, isPkceCredentials as eV, isCredentialsObject as eW, isCredentialsFunction as eX, type ResolveCredentialsOptions as eY, resolveCredentialsFromEnv as eZ, resolveCredentials as e_, connectionIdResolver as ea, connectionIdGenericResolver as eb, inputsResolver as ec, inputsAllOptionalResolver as ed, inputFieldKeyResolver as ee, clientCredentialsNameResolver as ef, clientIdResolver as eg, tableIdResolver as eh, triggerInboxResolver as ei, workflowIdResolver as ej, durableRunIdResolver as ek, workflowVersionIdResolver as el, workflowRunIdResolver as em, triggerMessagesResolver as en, tableRecordIdResolver as eo, tableRecordIdsResolver as ep, tableFieldIdsResolver as eq, tableNameResolver as er, tableFieldsResolver as es, tableRecordsResolver as et, tableUpdateRecordsResolver as eu, tableFiltersResolver as ev, tableSortResolver as ew, type ResolveAuthTokenOptions as ex, AuthMechanism as ey, type ResolvedAuth as ez, type CoreOptions as f, generateEventId as f$, getClientIdFromCredentials as f0, ClientCredentialsObjectSchema as f1, PkceCredentialsObjectSchema as f2, CredentialsObjectSchema as f3, ResolvedCredentialsSchema as f4, CredentialsFunctionSchema as f5, type CredentialsFunction as f6, CredentialsSchema as f7, ConnectionEntrySchema as f8, type ConnectionEntry as f9, createTableFieldsPlugin as fA, deleteTableFieldsPlugin as fB, getTableRecordPlugin as fC, listTableRecordsPlugin as fD, createTableRecordsPlugin as fE, deleteTableRecordsPlugin as fF, updateTableRecordsPlugin as fG, cleanupEventListeners as fH, type EventEmissionContext as fI, type EventEmitter as fJ, EVENT_EMISSION_ID as fK, eventEmissionPluginRef as fL, eventEmissionPlugin as fM, eventEmissionHookPlugin as fN, type EventTransport as fO, type EventContext as fP, type ApplicationLifecycleEventData as fQ, type EnhancedErrorEventData as fR, type MethodCalledEventData as fS, buildApplicationLifecycleEvent as fT, buildErrorEventWithContext as fU, buildErrorEvent as fV, createBaseEvent as fW, buildMethodCalledEvent as fX, type BaseEvent as fY, type MethodCalledEvent as fZ, operationAnnotatorPlugin as f_, ConnectionsMapSchema as fa, type ConnectionsMap as fb, type ResolveConnection as fc, CONNECTIONS_ID as fd, connectionsPluginRef as fe, connectionsPlugin as ff, ZAPIER_BASE_URL as fg, getZapierSdkService as fh, MAX_PAGE_LIMIT as fi, DEFAULT_PAGE_SIZE as fj, DEFAULT_ACTION_TIMEOUT_MILLISECONDS as fk, ZAPIER_MAX_NETWORK_RETRIES as fl, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS as fm, MAX_CONCURRENCY_LIMIT as fn, parseConcurrencyEnvVar as fo, ZAPIER_MAX_CONCURRENT_REQUESTS as fp, getZapierApprovalMode as fq, getZapierOpenAutoModeApprovalsInBrowser as fr, getZapierDefaultApprovalMode as fs, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS as ft, DEFAULT_MAX_APPROVAL_RETRIES as fu, listTablesPlugin as fv, getTablePlugin as fw, createTablePlugin as fx, deleteTablePlugin as fy, listTableFieldsPlugin as fz, type ActionProxy as g, getCurrentTimestamp as g0, getReleaseId as g1, getOsInfo as g2, getPlatformVersions as g3, isCi as g4, getCiPlatform as g5, getMemoryUsage as g6, getCpuTime as g7, getTtyContext as g8, createZapierSdk as g9, type ZapierSdkOptions as ga, type ZapierSdk as gb, type ZapierSdkApps as h, type DrainTriggerInboxOptions as i, type Manifest as j, type EventEmissionConfig as k, type ZapierCache as l, type ListActionsOptions as m, type ListActionInputFieldsOptions as n, type ListActionInputFieldChoicesOptions as o, type PluginMeta as p, DrainTriggerInboxSchema as q, WatchTriggerInboxSchema as r, ZapierAbortDrainSignal as s, ZapierReleaseTriggerMessageSignal as t, isZapierAbortDrainSignal as u, isZapierReleaseTriggerMessageSignal as v, type DrainTriggerInboxCallback as w, type DrainTriggerInboxErrorObserver as x, type LeasedTriggerMessageItem as y, type TriggerMessageStatus as z };
|