@zapier/zapier-sdk 0.84.2 → 0.84.4
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 +12 -0
- package/README.md +125 -121
- package/dist/experimental.cjs +328 -180
- package/dist/experimental.d.mts +54 -4
- package/dist/experimental.d.ts +54 -4
- package/dist/experimental.mjs +328 -180
- package/dist/{index-DxgpC5hV.d.mts → index-ChZuXQDn.d.mts} +205 -28
- package/dist/{index-DxgpC5hV.d.ts → index-ChZuXQDn.d.ts} +205 -28
- package/dist/index.cjs +328 -180
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +328 -180
- package/package.json +3 -3
|
@@ -62,6 +62,7 @@ declare const ConnectionItemSchema: z.ZodObject<{
|
|
|
62
62
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
63
|
date: z.ZodString;
|
|
64
64
|
is_invite_only: z.ZodBoolean;
|
|
65
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
66
|
lastchanged: z.ZodOptional<z.ZodString>;
|
|
66
67
|
destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
68
|
is_private: z.ZodBoolean;
|
|
@@ -336,15 +337,17 @@ type ListPromptConfig = PromptConfig & {
|
|
|
336
337
|
};
|
|
337
338
|
/**
|
|
338
339
|
* The prompt config the NEW-model resolvers (`defineResolver`) return. It omits
|
|
339
|
-
*
|
|
340
|
+
* four fields the resolution controller does not honor, so authors can't
|
|
340
341
|
* supply a silent no-op:
|
|
341
|
-
* - `name`
|
|
342
|
-
* - `default
|
|
343
|
-
* - `filter`
|
|
344
|
-
*
|
|
345
|
-
*
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
* - `name` — the framework supplies the answer key (always was overwritten).
|
|
343
|
+
* - `default` — no resolver uses it; the controller has no preselect concept.
|
|
344
|
+
* - `filter` — no resolver uses it; transform values in `listItems` instead.
|
|
345
|
+
* - `validate`— validation is the resolver's top-level `validate`, which
|
|
346
|
+
* never routes through rendering (and gets `imports`).
|
|
347
|
+
* (The legacy `SchemaParameterResolver` still honors `default`/`filter`/
|
|
348
|
+
* `validate`, so the full `PromptConfig` stays for that path.)
|
|
349
|
+
*/
|
|
350
|
+
type ResolverPromptConfig = Omit<PromptConfig, "name" | "default" | "filter" | "validate">;
|
|
348
351
|
interface Resolver$1 {
|
|
349
352
|
type: string;
|
|
350
353
|
depends?: readonly string[] | string[];
|
|
@@ -755,11 +758,27 @@ interface DynamicResolver extends ResolverBase {
|
|
|
755
758
|
cursor?: string;
|
|
756
759
|
}) => ListItemsResult<unknown>;
|
|
757
760
|
prompt?: (bag: {
|
|
761
|
+
/** The CURRENT page's items only — the engine windows the listing one
|
|
762
|
+
* page at a time (an accumulating host may be showing more). Rendering
|
|
763
|
+
* input only; validation is the top-level `validate`. */
|
|
758
764
|
items: unknown[];
|
|
759
765
|
input: Record<string, unknown>;
|
|
760
766
|
/** The value `getContext` returned, if any. */
|
|
761
767
|
context?: unknown;
|
|
762
768
|
}) => ResolverPromptConfig;
|
|
769
|
+
/** Check a chosen/typed value before the engine accepts it. Async with
|
|
770
|
+
* `imports` so it can verify against the source (`tryResolveFromSearch`'s
|
|
771
|
+
* sibling for picks) — never against a loaded page: pagination means the
|
|
772
|
+
* pick can come from a page the engine no longer holds. Return true to
|
|
773
|
+
* accept or a message to re-ask with. A throw is a lookup failure (the
|
|
774
|
+
* host gets retry/cancel), not a rejection. */
|
|
775
|
+
validate?: (bag: {
|
|
776
|
+
imports: Record<string, unknown>;
|
|
777
|
+
value: unknown;
|
|
778
|
+
input: Record<string, unknown>;
|
|
779
|
+
/** The value `getContext` returned, if any. */
|
|
780
|
+
context?: unknown;
|
|
781
|
+
}) => Promise<true | string> | true | string;
|
|
763
782
|
/** Resolve with no user input at all (e.g. a configured default), skipping the
|
|
764
783
|
* prompt. Runs before prompting; used always in non-interactive mode and as a
|
|
765
784
|
* "can we skip asking?" check otherwise. Returns null to fall through to a prompt. */
|
|
@@ -910,6 +929,11 @@ interface BoundDynamicResolver extends BoundResolverBase {
|
|
|
910
929
|
input: Record<string, unknown>;
|
|
911
930
|
context?: unknown;
|
|
912
931
|
}) => ResolverPromptConfig;
|
|
932
|
+
validate?: (bag: {
|
|
933
|
+
value: unknown;
|
|
934
|
+
input: Record<string, unknown>;
|
|
935
|
+
context?: unknown;
|
|
936
|
+
}) => Promise<true | string> | true | string;
|
|
913
937
|
tryResolveWithoutPrompt?: (bag: {
|
|
914
938
|
input: Record<string, unknown>;
|
|
915
939
|
}) => Promise<{
|
|
@@ -2275,6 +2299,18 @@ declare function defineResolver<const TImports extends ImportsInput = readonly [
|
|
|
2275
2299
|
/** The value `getContext` returned, if any. */
|
|
2276
2300
|
context?: TContext;
|
|
2277
2301
|
}) => ResolverPromptConfig;
|
|
2302
|
+
/** Check a chosen/typed value before the engine accepts it. Async with
|
|
2303
|
+
* `imports` so it can verify against the source — never against a loaded
|
|
2304
|
+
* page (the pick can come from a page the engine no longer holds). Return
|
|
2305
|
+
* true to accept or a message to re-ask with; a throw is a lookup failure
|
|
2306
|
+
* (retry/cancel), not a rejection. */
|
|
2307
|
+
validate?: (bag: {
|
|
2308
|
+
imports: ImportsOf<TImports>;
|
|
2309
|
+
value: unknown;
|
|
2310
|
+
input: TInput;
|
|
2311
|
+
/** The value `getContext` returned, if any. */
|
|
2312
|
+
context?: TContext;
|
|
2313
|
+
}) => Promise<true | string> | true | string;
|
|
2278
2314
|
/** Resolve with no user input (e.g. a configured default), skipping the prompt. */
|
|
2279
2315
|
tryResolveWithoutPrompt?: (bag: {
|
|
2280
2316
|
imports: ImportsOf<TImports>;
|
|
@@ -2802,12 +2838,14 @@ interface ControllerAffordance {
|
|
|
2802
2838
|
/** A question the host renders. Discriminated on `type`; the available moves are
|
|
2803
2839
|
* the self-describing `actions` list (single source of truth, no flags).
|
|
2804
2840
|
* `actions` is emitted in recommended presentation order — answer directly
|
|
2805
|
-
* (`choose`/`custom`/`add`), refine (`search`), paginate
|
|
2806
|
-
* (`skip`/`done`), and failure
|
|
2807
|
-
*
|
|
2808
|
-
* widgets (windowed lists,
|
|
2841
|
+
* (`choose`/`custom`/`add`), refine (`search`), paginate
|
|
2842
|
+
* (`next_page`/`previous_page`), decline (`skip`/`done`), and failure
|
|
2843
|
+
* questions offer `retry` then `cancel` — so a minimal host can render the
|
|
2844
|
+
* list verbatim, top to bottom. Hosts with richer widgets (windowed lists,
|
|
2845
|
+
* filter state) may reorder. */
|
|
2809
2846
|
type ControllerQuestion = {
|
|
2810
2847
|
type: "select";
|
|
2848
|
+
path: ControllerPath;
|
|
2811
2849
|
message: string;
|
|
2812
2850
|
/** What this field is, for an agent that lacks the schema. */
|
|
2813
2851
|
description?: string;
|
|
@@ -2830,8 +2868,18 @@ type ControllerQuestion = {
|
|
|
2830
2868
|
* in its lead-with-term prompt (e.g. "Enter or search app (e.g. 'slack')").
|
|
2831
2869
|
* Only meaningful before a search has run. */
|
|
2832
2870
|
placeholder?: string;
|
|
2871
|
+
/** Where these `choices` sit in the paginated listing. `choices` is ONE
|
|
2872
|
+
* page (payloads stay O(page); the engine never re-sends earlier pages).
|
|
2873
|
+
* A window host renders the page and pages with
|
|
2874
|
+
* `next_page`/`previous_page`; an accumulating host appends pages
|
|
2875
|
+
* client-side: same `path` + same `generation` +
|
|
2876
|
+
* advancing `index` means "extend what you showed", and a `generation`
|
|
2877
|
+
* change (a search ran) means "start over". Absent on unpaginated
|
|
2878
|
+
* selects (static enums). */
|
|
2879
|
+
page?: ControllerSelectPage;
|
|
2833
2880
|
} | {
|
|
2834
2881
|
type: "input";
|
|
2882
|
+
path: ControllerPath;
|
|
2835
2883
|
message: string;
|
|
2836
2884
|
description?: string;
|
|
2837
2885
|
inputType: "text" | "password" | "email";
|
|
@@ -2839,6 +2887,7 @@ type ControllerQuestion = {
|
|
|
2839
2887
|
actions: ControllerAffordance[];
|
|
2840
2888
|
} | {
|
|
2841
2889
|
type: "collection";
|
|
2890
|
+
path: ControllerPath;
|
|
2842
2891
|
message: string;
|
|
2843
2892
|
description?: string;
|
|
2844
2893
|
/** Which container kind this decision gates. `array` is the add-another
|
|
@@ -2867,6 +2916,15 @@ type ControllerQuestion = {
|
|
|
2867
2916
|
max?: number;
|
|
2868
2917
|
actions: ControllerAffordance[];
|
|
2869
2918
|
};
|
|
2919
|
+
/** A select question's position in its paginated listing. */
|
|
2920
|
+
interface ControllerSelectPage {
|
|
2921
|
+
/** Increments whenever the listing restarts (a `search` ran, even with the
|
|
2922
|
+
* same term). An accumulating host discards what it has on a new
|
|
2923
|
+
* generation. */
|
|
2924
|
+
generation: number;
|
|
2925
|
+
/** Zero-based page number within this generation. */
|
|
2926
|
+
index: number;
|
|
2927
|
+
}
|
|
2870
2928
|
/** The host's response to a question. The wire shape is frozen: a fuller
|
|
2871
2929
|
* HATEOAS affordance schema would still produce exactly these. */
|
|
2872
2930
|
type ControllerAction = {
|
|
@@ -2876,7 +2934,9 @@ type ControllerAction = {
|
|
|
2876
2934
|
type: "search";
|
|
2877
2935
|
term: string;
|
|
2878
2936
|
} | {
|
|
2879
|
-
type: "
|
|
2937
|
+
type: "next_page";
|
|
2938
|
+
} | {
|
|
2939
|
+
type: "previous_page";
|
|
2880
2940
|
} | {
|
|
2881
2941
|
type: "custom";
|
|
2882
2942
|
value: string;
|
|
@@ -2897,7 +2957,7 @@ type ControllerAction = {
|
|
|
2897
2957
|
type ControllerResult = {
|
|
2898
2958
|
status: "ask";
|
|
2899
2959
|
question: ControllerQuestion;
|
|
2900
|
-
/** The prior answer's validation failure (`
|
|
2960
|
+
/** The prior answer's validation failure (the resolver's `validate`), when
|
|
2901
2961
|
* this is a re-ask. About the last transition, not the question itself. */
|
|
2902
2962
|
error?: string;
|
|
2903
2963
|
} | {
|
|
@@ -2950,9 +3010,10 @@ interface ControllerState {
|
|
|
2950
3010
|
* add/done handling never infers the decision from value presence or
|
|
2951
3011
|
* resolver shape. Absent when `current` is a plain leaf question. */
|
|
2952
3012
|
gate?: "array" | "entry" | "optionals";
|
|
2953
|
-
/**
|
|
2954
|
-
* cursor, never
|
|
2955
|
-
|
|
3013
|
+
/** Where pagination stands for the current dynamic leaf: coordinates only
|
|
3014
|
+
* (cursor trail, generation), never items or live iterators — the page's
|
|
3015
|
+
* items ride the ask's question. */
|
|
3016
|
+
pagination?: ControllerPagination;
|
|
2956
3017
|
/** Whether the host will prompt. Interactive (the default) always asks;
|
|
2957
3018
|
* non-interactive runs `tryResolveWithoutPrompt` to auto-fill what it can
|
|
2958
3019
|
* (e.g. configured defaults) before asking for the rest. */
|
|
@@ -2961,14 +3022,34 @@ interface ControllerState {
|
|
|
2961
3022
|
/** A location in the input tree: top-level `["app"]`, a nested object field
|
|
2962
3023
|
* `["inputs", "channel"]`, or (later) an array item `["records", 0, "id"]`. */
|
|
2963
3024
|
type ControllerPath = (string | number)[];
|
|
2964
|
-
/**
|
|
2965
|
-
*
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
3025
|
+
/** Where a listing currently stands: the coordinates that make one page of a
|
|
3026
|
+
* dynamic parameter's candidates fetchable — and re-fetchable — with no
|
|
3027
|
+
* shared in-memory state. `previous_page` and `retry` work by re-issuing a
|
|
3028
|
+
* recorded position. */
|
|
3029
|
+
interface ControllerListingPosition {
|
|
3030
|
+
/** The active search term, when the resolver is search-mode. */
|
|
2969
3031
|
search?: string;
|
|
2970
|
-
/**
|
|
2971
|
-
|
|
3032
|
+
/** Cursor that fetched the current page; `null` is the first page. */
|
|
3033
|
+
pageCursor: string | null;
|
|
3034
|
+
/** Cursors of the pages before this one, oldest first (each entry fetches
|
|
3035
|
+
* that page; `null` is the first page). `previous_page` pops the last. */
|
|
3036
|
+
previousCursors: (string | null)[];
|
|
3037
|
+
/** Increments on every listing restart (each `search`). Surfaced to hosts
|
|
3038
|
+
* via {@link ControllerSelectPage} so accumulators know when to reset. */
|
|
3039
|
+
generation: number;
|
|
3040
|
+
}
|
|
3041
|
+
/** The enumeration in progress for the current dynamic parameter:
|
|
3042
|
+
* coordinates only. The fetched items ride the ask's `question.choices`; the
|
|
3043
|
+
* host carries back these cursors between steps, never the items it was just
|
|
3044
|
+
* shown. Anything the engine needs to redraw (a validate-rejection re-ask) it
|
|
3045
|
+
* re-fetches statelessly from `position`. */
|
|
3046
|
+
interface ControllerPagination {
|
|
3047
|
+
position: ControllerListingPosition;
|
|
3048
|
+
/** Resume point for `next_page`; absent on the last page. */
|
|
3049
|
+
nextCursor?: string;
|
|
3050
|
+
/** The position whose fetch failed, kept so `retry` replays exactly it.
|
|
3051
|
+
* Absent when the page loaded. */
|
|
3052
|
+
retryPosition?: ControllerListingPosition;
|
|
2972
3053
|
}
|
|
2973
3054
|
/**
|
|
2974
3055
|
* The one pluggable seam for the in-process `resolve` sugar. It receives the
|
|
@@ -5824,6 +5905,7 @@ declare const listConnectionsPlugin: MethodPlugin<"listConnections", {
|
|
|
5824
5905
|
id: string;
|
|
5825
5906
|
account_id: string;
|
|
5826
5907
|
title?: string | null | undefined;
|
|
5908
|
+
slug?: string | null | undefined;
|
|
5827
5909
|
lastchanged?: string | undefined;
|
|
5828
5910
|
destination_selected_api?: string | null | undefined;
|
|
5829
5911
|
is_stale?: string | undefined;
|
|
@@ -6072,6 +6154,7 @@ declare const getConnectionPlugin: MethodPlugin<"getConnection", {
|
|
|
6072
6154
|
id: string;
|
|
6073
6155
|
account_id: string;
|
|
6074
6156
|
title?: string | null | undefined;
|
|
6157
|
+
slug?: string | null | undefined;
|
|
6075
6158
|
lastchanged?: string | undefined;
|
|
6076
6159
|
destination_selected_api?: string | null | undefined;
|
|
6077
6160
|
is_stale?: string | undefined;
|
|
@@ -6115,6 +6198,7 @@ declare const findFirstConnectionPlugin: MethodPlugin<"findFirstConnection", {
|
|
|
6115
6198
|
id: string;
|
|
6116
6199
|
account_id: string;
|
|
6117
6200
|
title?: string | null | undefined;
|
|
6201
|
+
slug?: string | null | undefined;
|
|
6118
6202
|
lastchanged?: string | undefined;
|
|
6119
6203
|
destination_selected_api?: string | null | undefined;
|
|
6120
6204
|
is_stale?: string | undefined;
|
|
@@ -6166,6 +6250,7 @@ declare const findFirstConnectionPlugin: MethodPlugin<"findFirstConnection", {
|
|
|
6166
6250
|
id: string;
|
|
6167
6251
|
account_id: string;
|
|
6168
6252
|
title?: string | null | undefined;
|
|
6253
|
+
slug?: string | null | undefined;
|
|
6169
6254
|
lastchanged?: string | undefined;
|
|
6170
6255
|
destination_selected_api?: string | null | undefined;
|
|
6171
6256
|
is_stale?: string | undefined;
|
|
@@ -6208,6 +6293,7 @@ declare const findUniqueConnectionPlugin: MethodPlugin<"findUniqueConnection", {
|
|
|
6208
6293
|
id: string;
|
|
6209
6294
|
account_id: string;
|
|
6210
6295
|
title?: string | null | undefined;
|
|
6296
|
+
slug?: string | null | undefined;
|
|
6211
6297
|
lastchanged?: string | undefined;
|
|
6212
6298
|
destination_selected_api?: string | null | undefined;
|
|
6213
6299
|
is_stale?: string | undefined;
|
|
@@ -6259,6 +6345,7 @@ declare const findUniqueConnectionPlugin: MethodPlugin<"findUniqueConnection", {
|
|
|
6259
6345
|
id: string;
|
|
6260
6346
|
account_id: string;
|
|
6261
6347
|
title?: string | null | undefined;
|
|
6348
|
+
slug?: string | null | undefined;
|
|
6262
6349
|
lastchanged?: string | undefined;
|
|
6263
6350
|
destination_selected_api?: string | null | undefined;
|
|
6264
6351
|
is_stale?: string | undefined;
|
|
@@ -7477,6 +7564,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
7477
7564
|
id: string;
|
|
7478
7565
|
account_id: string;
|
|
7479
7566
|
title?: string | null | undefined;
|
|
7567
|
+
slug?: string | null | undefined;
|
|
7480
7568
|
lastchanged?: string | undefined;
|
|
7481
7569
|
destination_selected_api?: string | null | undefined;
|
|
7482
7570
|
is_stale?: string | undefined;
|
|
@@ -7513,6 +7601,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
7513
7601
|
id: string;
|
|
7514
7602
|
account_id: string;
|
|
7515
7603
|
title?: string | null | undefined;
|
|
7604
|
+
slug?: string | null | undefined;
|
|
7516
7605
|
lastchanged?: string | undefined;
|
|
7517
7606
|
destination_selected_api?: string | null | undefined;
|
|
7518
7607
|
is_stale?: string | undefined;
|
|
@@ -7555,6 +7644,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
7555
7644
|
id: string;
|
|
7556
7645
|
account_id: string;
|
|
7557
7646
|
title?: string | null | undefined;
|
|
7647
|
+
slug?: string | null | undefined;
|
|
7558
7648
|
lastchanged?: string | undefined;
|
|
7559
7649
|
destination_selected_api?: string | null | undefined;
|
|
7560
7650
|
is_stale?: string | undefined;
|
|
@@ -7597,6 +7687,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
7597
7687
|
id: string;
|
|
7598
7688
|
account_id: string;
|
|
7599
7689
|
title?: string | null | undefined;
|
|
7690
|
+
slug?: string | null | undefined;
|
|
7600
7691
|
lastchanged?: string | undefined;
|
|
7601
7692
|
destination_selected_api?: string | null | undefined;
|
|
7602
7693
|
is_stale?: string | undefined;
|
|
@@ -7649,6 +7740,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
7649
7740
|
id: string;
|
|
7650
7741
|
account_id: string;
|
|
7651
7742
|
title?: string | null | undefined;
|
|
7743
|
+
slug?: string | null | undefined;
|
|
7652
7744
|
lastchanged?: string | undefined;
|
|
7653
7745
|
destination_selected_api?: string | null | undefined;
|
|
7654
7746
|
is_stale?: string | undefined;
|
|
@@ -7685,6 +7777,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
7685
7777
|
id: string;
|
|
7686
7778
|
account_id: string;
|
|
7687
7779
|
title?: string | null | undefined;
|
|
7780
|
+
slug?: string | null | undefined;
|
|
7688
7781
|
lastchanged?: string | undefined;
|
|
7689
7782
|
destination_selected_api?: string | null | undefined;
|
|
7690
7783
|
is_stale?: string | undefined;
|
|
@@ -7727,6 +7820,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
7727
7820
|
id: string;
|
|
7728
7821
|
account_id: string;
|
|
7729
7822
|
title?: string | null | undefined;
|
|
7823
|
+
slug?: string | null | undefined;
|
|
7730
7824
|
lastchanged?: string | undefined;
|
|
7731
7825
|
destination_selected_api?: string | null | undefined;
|
|
7732
7826
|
is_stale?: string | undefined;
|
|
@@ -7769,6 +7863,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
7769
7863
|
id: string;
|
|
7770
7864
|
account_id: string;
|
|
7771
7865
|
title?: string | null | undefined;
|
|
7866
|
+
slug?: string | null | undefined;
|
|
7772
7867
|
lastchanged?: string | undefined;
|
|
7773
7868
|
destination_selected_api?: string | null | undefined;
|
|
7774
7869
|
is_stale?: string | undefined;
|
|
@@ -9012,6 +9107,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9012
9107
|
id: string;
|
|
9013
9108
|
account_id: string;
|
|
9014
9109
|
title?: string | null | undefined;
|
|
9110
|
+
slug?: string | null | undefined;
|
|
9015
9111
|
lastchanged?: string | undefined;
|
|
9016
9112
|
destination_selected_api?: string | null | undefined;
|
|
9017
9113
|
is_stale?: string | undefined;
|
|
@@ -9049,6 +9145,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9049
9145
|
id: string;
|
|
9050
9146
|
account_id: string;
|
|
9051
9147
|
title?: string | null | undefined;
|
|
9148
|
+
slug?: string | null | undefined;
|
|
9052
9149
|
lastchanged?: string | undefined;
|
|
9053
9150
|
destination_selected_api?: string | null | undefined;
|
|
9054
9151
|
is_stale?: string | undefined;
|
|
@@ -9092,6 +9189,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9092
9189
|
id: string;
|
|
9093
9190
|
account_id: string;
|
|
9094
9191
|
title?: string | null | undefined;
|
|
9192
|
+
slug?: string | null | undefined;
|
|
9095
9193
|
lastchanged?: string | undefined;
|
|
9096
9194
|
destination_selected_api?: string | null | undefined;
|
|
9097
9195
|
is_stale?: string | undefined;
|
|
@@ -9143,6 +9241,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9143
9241
|
id: string;
|
|
9144
9242
|
account_id: string;
|
|
9145
9243
|
title?: string | null | undefined;
|
|
9244
|
+
slug?: string | null | undefined;
|
|
9146
9245
|
lastchanged?: string | undefined;
|
|
9147
9246
|
destination_selected_api?: string | null | undefined;
|
|
9148
9247
|
is_stale?: string | undefined;
|
|
@@ -9185,6 +9284,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9185
9284
|
id: string;
|
|
9186
9285
|
account_id: string;
|
|
9187
9286
|
title?: string | null | undefined;
|
|
9287
|
+
slug?: string | null | undefined;
|
|
9188
9288
|
lastchanged?: string | undefined;
|
|
9189
9289
|
destination_selected_api?: string | null | undefined;
|
|
9190
9290
|
is_stale?: string | undefined;
|
|
@@ -9236,6 +9336,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9236
9336
|
id: string;
|
|
9237
9337
|
account_id: string;
|
|
9238
9338
|
title?: string | null | undefined;
|
|
9339
|
+
slug?: string | null | undefined;
|
|
9239
9340
|
lastchanged?: string | undefined;
|
|
9240
9341
|
destination_selected_api?: string | null | undefined;
|
|
9241
9342
|
is_stale?: string | undefined;
|
|
@@ -9288,6 +9389,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9288
9389
|
id: string;
|
|
9289
9390
|
account_id: string;
|
|
9290
9391
|
title?: string | null | undefined;
|
|
9392
|
+
slug?: string | null | undefined;
|
|
9291
9393
|
lastchanged?: string | undefined;
|
|
9292
9394
|
destination_selected_api?: string | null | undefined;
|
|
9293
9395
|
is_stale?: string | undefined;
|
|
@@ -9338,6 +9440,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9338
9440
|
id: string;
|
|
9339
9441
|
account_id: string;
|
|
9340
9442
|
title?: string | null | undefined;
|
|
9443
|
+
slug?: string | null | undefined;
|
|
9341
9444
|
lastchanged?: string | undefined;
|
|
9342
9445
|
destination_selected_api?: string | null | undefined;
|
|
9343
9446
|
is_stale?: string | undefined;
|
|
@@ -9375,6 +9478,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9375
9478
|
id: string;
|
|
9376
9479
|
account_id: string;
|
|
9377
9480
|
title?: string | null | undefined;
|
|
9481
|
+
slug?: string | null | undefined;
|
|
9378
9482
|
lastchanged?: string | undefined;
|
|
9379
9483
|
destination_selected_api?: string | null | undefined;
|
|
9380
9484
|
is_stale?: string | undefined;
|
|
@@ -9411,6 +9515,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9411
9515
|
id: string;
|
|
9412
9516
|
account_id: string;
|
|
9413
9517
|
title?: string | null | undefined;
|
|
9518
|
+
slug?: string | null | undefined;
|
|
9414
9519
|
lastchanged?: string | undefined;
|
|
9415
9520
|
destination_selected_api?: string | null | undefined;
|
|
9416
9521
|
is_stale?: string | undefined;
|
|
@@ -9454,6 +9559,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9454
9559
|
id: string;
|
|
9455
9560
|
account_id: string;
|
|
9456
9561
|
title?: string | null | undefined;
|
|
9562
|
+
slug?: string | null | undefined;
|
|
9457
9563
|
lastchanged?: string | undefined;
|
|
9458
9564
|
destination_selected_api?: string | null | undefined;
|
|
9459
9565
|
is_stale?: string | undefined;
|
|
@@ -9495,6 +9601,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9495
9601
|
id: string;
|
|
9496
9602
|
account_id: string;
|
|
9497
9603
|
title?: string | null | undefined;
|
|
9604
|
+
slug?: string | null | undefined;
|
|
9498
9605
|
lastchanged?: string | undefined;
|
|
9499
9606
|
destination_selected_api?: string | null | undefined;
|
|
9500
9607
|
is_stale?: string | undefined;
|
|
@@ -9546,6 +9653,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9546
9653
|
id: string;
|
|
9547
9654
|
account_id: string;
|
|
9548
9655
|
title?: string | null | undefined;
|
|
9656
|
+
slug?: string | null | undefined;
|
|
9549
9657
|
lastchanged?: string | undefined;
|
|
9550
9658
|
destination_selected_api?: string | null | undefined;
|
|
9551
9659
|
is_stale?: string | undefined;
|
|
@@ -9588,6 +9696,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9588
9696
|
id: string;
|
|
9589
9697
|
account_id: string;
|
|
9590
9698
|
title?: string | null | undefined;
|
|
9699
|
+
slug?: string | null | undefined;
|
|
9591
9700
|
lastchanged?: string | undefined;
|
|
9592
9701
|
destination_selected_api?: string | null | undefined;
|
|
9593
9702
|
is_stale?: string | undefined;
|
|
@@ -9629,6 +9738,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9629
9738
|
id: string;
|
|
9630
9739
|
account_id: string;
|
|
9631
9740
|
title?: string | null | undefined;
|
|
9741
|
+
slug?: string | null | undefined;
|
|
9632
9742
|
lastchanged?: string | undefined;
|
|
9633
9743
|
destination_selected_api?: string | null | undefined;
|
|
9634
9744
|
is_stale?: string | undefined;
|
|
@@ -9680,6 +9790,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
9680
9790
|
id: string;
|
|
9681
9791
|
account_id: string;
|
|
9682
9792
|
title?: string | null | undefined;
|
|
9793
|
+
slug?: string | null | undefined;
|
|
9683
9794
|
lastchanged?: string | undefined;
|
|
9684
9795
|
destination_selected_api?: string | null | undefined;
|
|
9685
9796
|
is_stale?: string | undefined;
|
|
@@ -11189,7 +11300,33 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
11189
11300
|
profile_id: string;
|
|
11190
11301
|
description?: string | undefined;
|
|
11191
11302
|
parent_table_id?: string | undefined;
|
|
11192
|
-
}>, readonly []> & LeafSummary<"", "listTables", readonly [
|
|
11303
|
+
}>, readonly []> & LeafSummary<"", "listTables", readonly [MethodPlugin<"listTablesInternal", {
|
|
11304
|
+
tables?: string[] | undefined;
|
|
11305
|
+
tableIds?: string[] | undefined;
|
|
11306
|
+
kind?: "table" | "virtual_table" | "both" | undefined;
|
|
11307
|
+
search?: string | undefined;
|
|
11308
|
+
owner?: string | undefined;
|
|
11309
|
+
includeShared?: boolean | undefined;
|
|
11310
|
+
pageSize?: number | undefined;
|
|
11311
|
+
maxItems?: number | undefined;
|
|
11312
|
+
cursor?: string | undefined;
|
|
11313
|
+
includePersonal?: boolean | undefined;
|
|
11314
|
+
} & {
|
|
11315
|
+
cursor?: string;
|
|
11316
|
+
pageSize?: number;
|
|
11317
|
+
} & {
|
|
11318
|
+
maxItems?: number;
|
|
11319
|
+
}, PaginatedSdkResult<{
|
|
11320
|
+
id: string;
|
|
11321
|
+
name: string;
|
|
11322
|
+
created_at: string;
|
|
11323
|
+
edited_at: string;
|
|
11324
|
+
kind: "table" | "virtual_table";
|
|
11325
|
+
account_id: string;
|
|
11326
|
+
profile_id: string;
|
|
11327
|
+
description?: string | undefined;
|
|
11328
|
+
parent_table_id?: string | undefined;
|
|
11329
|
+
}>, readonly []> & LeafSummary<"", "listTablesInternal", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, PropertyPlugin<"capabilities", CapabilitiesContext> & PluginSummary<"zapier/capabilities", never>]>]>;
|
|
11193
11330
|
} & {
|
|
11194
11331
|
getTable: MethodPlugin<"getTable", {
|
|
11195
11332
|
table: string;
|
|
@@ -11414,7 +11551,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
11414
11551
|
deleted_at?: string | null | undefined;
|
|
11415
11552
|
}[];
|
|
11416
11553
|
}>, readonly []> & LeafSummary<"", "updateTableRecords", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
11417
|
-
}> & PluginSummary<never, "fetch" | "zapier/eventEmission" | "apps" | "zapier/manifest" | "zapier/api" | "zapier/resolveCredentials" | "zapier/connections" | "getApp" | "listApps" | "listActions" | "zapier/capabilities" | "listConnections" | "listActionInputFields" | "listActionInputFieldChoices" | "listClientCredentials" | "
|
|
11554
|
+
}> & PluginSummary<never, "fetch" | "zapier/eventEmission" | "apps" | "zapier/manifest" | "zapier/api" | "zapier/resolveCredentials" | "zapier/connections" | "getApp" | "listApps" | "listActions" | "zapier/capabilities" | "listConnections" | "listActionInputFields" | "listActionInputFieldChoices" | "listClientCredentials" | "listTablesInternal" | "listTriggerInboxes" | "listTriggerInboxMessages" | "listTableRecords" | "listTableFields" | "getAction" | "runAction" | "getActionInputFieldsSchema" | "createClientCredentials" | "deleteClientCredentials" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "request" | "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">;
|
|
11418
11555
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
11419
11556
|
getRegistry: (input?: {
|
|
11420
11557
|
package?: string | undefined;
|
|
@@ -11635,6 +11772,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
11635
11772
|
id: string;
|
|
11636
11773
|
account_id: string;
|
|
11637
11774
|
title?: string | null | undefined;
|
|
11775
|
+
slug?: string | null | undefined;
|
|
11638
11776
|
lastchanged?: string | undefined;
|
|
11639
11777
|
destination_selected_api?: string | null | undefined;
|
|
11640
11778
|
is_stale?: string | undefined;
|
|
@@ -11671,6 +11809,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
11671
11809
|
id: string;
|
|
11672
11810
|
account_id: string;
|
|
11673
11811
|
title?: string | null | undefined;
|
|
11812
|
+
slug?: string | null | undefined;
|
|
11674
11813
|
lastchanged?: string | undefined;
|
|
11675
11814
|
destination_selected_api?: string | null | undefined;
|
|
11676
11815
|
is_stale?: string | undefined;
|
|
@@ -11713,6 +11852,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
11713
11852
|
id: string;
|
|
11714
11853
|
account_id: string;
|
|
11715
11854
|
title?: string | null | undefined;
|
|
11855
|
+
slug?: string | null | undefined;
|
|
11716
11856
|
lastchanged?: string | undefined;
|
|
11717
11857
|
destination_selected_api?: string | null | undefined;
|
|
11718
11858
|
is_stale?: string | undefined;
|
|
@@ -11755,6 +11895,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
11755
11895
|
id: string;
|
|
11756
11896
|
account_id: string;
|
|
11757
11897
|
title?: string | null | undefined;
|
|
11898
|
+
slug?: string | null | undefined;
|
|
11758
11899
|
lastchanged?: string | undefined;
|
|
11759
11900
|
destination_selected_api?: string | null | undefined;
|
|
11760
11901
|
is_stale?: string | undefined;
|
|
@@ -11807,6 +11948,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
11807
11948
|
id: string;
|
|
11808
11949
|
account_id: string;
|
|
11809
11950
|
title?: string | null | undefined;
|
|
11951
|
+
slug?: string | null | undefined;
|
|
11810
11952
|
lastchanged?: string | undefined;
|
|
11811
11953
|
destination_selected_api?: string | null | undefined;
|
|
11812
11954
|
is_stale?: string | undefined;
|
|
@@ -11843,6 +11985,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
11843
11985
|
id: string;
|
|
11844
11986
|
account_id: string;
|
|
11845
11987
|
title?: string | null | undefined;
|
|
11988
|
+
slug?: string | null | undefined;
|
|
11846
11989
|
lastchanged?: string | undefined;
|
|
11847
11990
|
destination_selected_api?: string | null | undefined;
|
|
11848
11991
|
is_stale?: string | undefined;
|
|
@@ -11885,6 +12028,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
11885
12028
|
id: string;
|
|
11886
12029
|
account_id: string;
|
|
11887
12030
|
title?: string | null | undefined;
|
|
12031
|
+
slug?: string | null | undefined;
|
|
11888
12032
|
lastchanged?: string | undefined;
|
|
11889
12033
|
destination_selected_api?: string | null | undefined;
|
|
11890
12034
|
is_stale?: string | undefined;
|
|
@@ -11927,6 +12071,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
11927
12071
|
id: string;
|
|
11928
12072
|
account_id: string;
|
|
11929
12073
|
title?: string | null | undefined;
|
|
12074
|
+
slug?: string | null | undefined;
|
|
11930
12075
|
lastchanged?: string | undefined;
|
|
11931
12076
|
destination_selected_api?: string | null | undefined;
|
|
11932
12077
|
is_stale?: string | undefined;
|
|
@@ -13174,6 +13319,12 @@ declare const DEFAULT_APPROVAL_TIMEOUT_MS: number;
|
|
|
13174
13319
|
*/
|
|
13175
13320
|
declare const DEFAULT_MAX_APPROVAL_RETRIES = 2;
|
|
13176
13321
|
|
|
13322
|
+
/**
|
|
13323
|
+
* Thin delegate over `listTablesInternal`, which carries the implementation
|
|
13324
|
+
* plus the off-surface `includePersonal` option. Awaiting the delegate inside
|
|
13325
|
+
* a list method's `run` yields the requested page; this method's own
|
|
13326
|
+
* paginator restores the full paginated surface.
|
|
13327
|
+
*/
|
|
13177
13328
|
declare const listTablesPlugin: MethodPlugin<"listTables", {
|
|
13178
13329
|
tables?: string[] | undefined;
|
|
13179
13330
|
tableIds?: string[] | undefined;
|
|
@@ -13199,7 +13350,33 @@ declare const listTablesPlugin: MethodPlugin<"listTables", {
|
|
|
13199
13350
|
profile_id: string;
|
|
13200
13351
|
description?: string | undefined;
|
|
13201
13352
|
parent_table_id?: string | undefined;
|
|
13202
|
-
}>, readonly []> & LeafSummary<"", "listTables", readonly [
|
|
13353
|
+
}>, readonly []> & LeafSummary<"", "listTables", readonly [MethodPlugin<"listTablesInternal", {
|
|
13354
|
+
tables?: string[] | undefined;
|
|
13355
|
+
tableIds?: string[] | undefined;
|
|
13356
|
+
kind?: "table" | "virtual_table" | "both" | undefined;
|
|
13357
|
+
search?: string | undefined;
|
|
13358
|
+
owner?: string | undefined;
|
|
13359
|
+
includeShared?: boolean | undefined;
|
|
13360
|
+
pageSize?: number | undefined;
|
|
13361
|
+
maxItems?: number | undefined;
|
|
13362
|
+
cursor?: string | undefined;
|
|
13363
|
+
includePersonal?: boolean | undefined;
|
|
13364
|
+
} & {
|
|
13365
|
+
cursor?: string;
|
|
13366
|
+
pageSize?: number;
|
|
13367
|
+
} & {
|
|
13368
|
+
maxItems?: number;
|
|
13369
|
+
}, PaginatedSdkResult<{
|
|
13370
|
+
id: string;
|
|
13371
|
+
name: string;
|
|
13372
|
+
created_at: string;
|
|
13373
|
+
edited_at: string;
|
|
13374
|
+
kind: "table" | "virtual_table";
|
|
13375
|
+
account_id: string;
|
|
13376
|
+
profile_id: string;
|
|
13377
|
+
description?: string | undefined;
|
|
13378
|
+
parent_table_id?: string | undefined;
|
|
13379
|
+
}>, readonly []> & LeafSummary<"", "listTablesInternal", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, PropertyPlugin<"capabilities", CapabilitiesContext> & PluginSummary<"zapier/capabilities", never>]>]>;
|
|
13203
13380
|
|
|
13204
13381
|
declare const getTablePlugin: MethodPlugin<"getTable", {
|
|
13205
13382
|
table: string;
|
|
@@ -13493,4 +13670,4 @@ declare function getAgent(): string | null;
|
|
|
13493
13670
|
*/
|
|
13494
13671
|
declare const registryPlugin: (_sdk: {}) => {};
|
|
13495
13672
|
|
|
13496
|
-
export { type Connection 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 FindFirstAuthenticationPluginProvides as H, type FindUniqueAuthenticationPluginProvides as I, type Action as J, type App as K, type LeafSummary as L, type MethodPlugin as M, type Need as N, type Field as O, type PropertyPlugin as P, type Choice as Q, type RegistryResult as R, type SdkContext as S, type TriggerInboxCommandSharedFields as T, type ActionExecutionResult as U, type ActionField as V, type WatchTriggerInboxOptions as W, type ActionFieldChoice as X, type NeedsRequest as Y, type ZapierFetchInitOptions as Z, type NeedsResponse as _, type ApiClient as a, buildCapabilityMessage as a$, type ConnectionsResponse as a0, type UserProfile as a1, isPositional as a2, type PositionalMetadata as a3, createFunction as a4, createPaginatedFunction as a5, createPluginStack as a6, createCorePlugin as a7, addPlugin as a8, disposeSdk as a9, type Resolver$1 as aA, type ArrayResolver$1 as aB, type ResolverMetadata as aC, type StaticResolver$1 as aD, type DynamicResolver$1 as aE, type DynamicListResolver as aF, type DynamicSearchResolver as aG, type FieldsResolver as aH, type Resolver as aI, type DynamicMember as aJ, type PluginSurface as aK, createController as aL, type ControllerQuestion as aM, type ControllerAction as aN, type ControllerAnswerFn as aO, type ControllerMethodSummary as aP, type ControllerMethodDescription as aQ, type ControllerParameterDescription as aR, runInMethodScope as aS, runWithTelemetryContext as aT, getCallerContext as aU, runWithCallerContext as aV, type CallerContext as aW, toSnakeCase as aX, toTitleCase as aY, batch as aZ, type BatchOptions as a_, CoreDisposeError as aa, createSdk as ab, CONTEXT as ac, resolvePlugin as ad, fromFunctionPlugin as ae, defineLegacyMerge as af, getContext as ag, declarePlugin as ah, defineMethod as ai, defineMethodOverride as aj, defineProperty as ak, defineResolver as al, defineFormatter as am, declareMethod as an, declareProperty as ao, declareOptionalProperty as ap, selectExports as aq, omitExports as ar, getRegistryPlugin as as, zapierSdkPlugin as at, SDK_OPTIONS_ID as au, sdkOptionsPluginRef as av, type FormattedItem as aw, type BoundFormatter as ax, type Formatter as ay, type OutputFormatter as az, type PluginSummary as b, ParamsPropertySchema as b$, logDeprecation as b0, resetDeprecationWarnings as b1, RelayRequestSchema as b2, RelayFetchSchema as b3, createZapierSdkWithoutRegistry as b4, zapierCoreOptions as b5, CORE_OPTIONS_ID as b6, type FunctionRegistryEntry as b7, type FunctionDeprecation as b8, BaseSdkOptionsSchema as b9, type SseMessage as bA, type JsonSseMessage as bB, DEPRECATION_NOTICE_EVENT as bC, type DeprecationNoticePayload as bD, type AppItem as bE, type ConnectionItem as bF, type ActionItem$1 as bG, type InputFieldItem as bH, type InfoFieldItem as bI, type RootFieldItem as bJ, type UserProfileItem as bK, type SdkPage as bL, type PaginatedSdkFunction as bM, AppKeyPropertySchema as bN, AppPropertySchema as bO, ActionTypePropertySchema as bP, ActionKeyPropertySchema as bQ, ActionPropertySchema as bR, InputFieldPropertySchema as bS, ConnectionIdPropertySchema as bT, AuthenticationIdPropertySchema as bU, ConnectionPropertySchema as bV, InputsPropertySchema as bW, LimitPropertySchema as bX, OffsetPropertySchema as bY, OutputPropertySchema as bZ, DebugPropertySchema as b_, isCoreError as ba, getCoreErrorCode as bb, getCoreErrorCause as bc, CORE_ERROR_SYMBOL as bd, CoreErrorCode as be, CoreSignal as bf, CoreCancelledSignal as bg, isCoreSignal as bh, CORE_SIGNAL_SYMBOL as bi, type Plugin as bj, type PluginProvides as bk, type MethodOverridePlugin as bl, definePlugin as bm, createPluginMethod as bn, createPaginatedPluginMethod as bo, composePlugins as bp, type ActionItem as bq, type ActionTypeItem as br, type ResolvedAppLocator as bs, getAgent as bt, registryPlugin as bu, type RequestOptions as bv, type PollOptions as bw, createZapierApi as bx, getOrCreateApiClient as by, isPermanentHttpError as bz, type PaginatedSdkResult as c, formatErrorMessage as c$, ActionTimeoutMsPropertySchema as c0, TablePropertySchema as c1, RecordPropertySchema as c2, RecordsPropertySchema as c3, FieldsPropertySchema as c4, AppsPropertySchema as c5, TablesPropertySchema as c6, ConnectionsPropertySchema as c7, TriggerInboxPropertySchema as c8, TriggerInboxKeyPropertySchema as c9, type ConnectionsProperty as cA, type TriggerInboxProperty as cB, type TriggerInboxKeyProperty as cC, type TriggerInboxNameProperty as cD, type LeaseProperty as cE, type LeaseSecondsProperty as cF, type LeaseLimitProperty as cG, type ErrorOptions as cH, ZapierError as cI, ZapierValidationError as cJ, ZapierUnknownError as cK, ZapierAuthenticationError as cL, zapierAdaptError as cM, ZapierApiError as cN, ZapierAppNotFoundError as cO, ZapierNotFoundError as cP, ZapierResourceNotFoundError as cQ, ZapierConfigurationError as cR, ZapierBundleError as cS, ZapierTimeoutError as cT, ZapierActionError as cU, ZapierConflictError as cV, type RateLimitInfo as cW, ZapierRateLimitError as cX, type ApprovalStatus as cY, ZapierApprovalError as cZ, ZapierRelayError as c_, TriggerInboxNamePropertySchema as ca, LeasePropertySchema as cb, LeaseSecondsPropertySchema as cc, LeaseLimitPropertySchema as cd, type AppKeyProperty as ce, type AppProperty as cf, type ActionTypeProperty as cg, type ActionKeyProperty as ch, type ActionProperty as ci, type InputFieldProperty as cj, type ConnectionIdProperty as ck, type ConnectionProperty as cl, type AuthenticationIdProperty as cm, type InputsProperty as cn, type LimitProperty as co, type OffsetProperty as cp, type OutputProperty as cq, type DebugProperty as cr, type ParamsProperty as cs, type ActionTimeoutMsProperty as ct, type TableProperty as cu, type RecordProperty as cv, type RecordsProperty as cw, type FieldsProperty as cx, type AppsProperty as cy, type TablesProperty as cz, type ManifestProvider as d, triggerInboxResolver as d$, type CoreApiError as d0, ZapierSignal as d1, appsPlugin as d2, type ActionExecutionOptions as d3, type AppFactoryInput as d4, type FetchPluginProvides as d5, fetchPlugin as d6, listAppsPlugin as d7, type ListAppsPluginProvides as d8, listActionsPlugin as d9, manifestPluginRef as dA, manifestPlugin as dB, type UpdateManifestEntryOptions as dC, type UpdateManifestEntryResult as dD, DEFAULT_CONFIG_PATH as dE, type ManifestEntry as dF, type ActionEntry as dG, getProfilePlugin as dH, type ApiPluginOptions as dI, type ResolveCredentialsFn as dJ, API_ID as dK, apiPluginRef as dL, apiPlugin as dM, RESOLVE_CREDENTIALS_ID as dN, resolveCredentialsPluginRef as dO, resolveCredentialsPlugin as dP, appKeyResolver as dQ, actionTypeResolver as dR, actionKeyResolver as dS, connectionIdResolver as dT, connectionIdGenericResolver as dU, inputsResolver as dV, inputsAllOptionalResolver as dW, inputFieldKeyResolver as dX, clientCredentialsNameResolver as dY, clientIdResolver as dZ, tableIdResolver as d_, type ListActionsPluginProvides as da, listActionInputFieldsPlugin as db, type ListActionInputFieldsPluginProvides as dc, listActionInputFieldChoicesPlugin as dd, getActionInputFieldsSchemaPlugin as de, listConnectionsPlugin as df, type ListConnectionsPluginProvides as dg, listClientCredentialsPlugin as dh, createClientCredentialsPlugin as di, deleteClientCredentialsPlugin as dj, getAppPlugin as dk, getActionPlugin as dl, getConnectionPlugin as dm, findFirstConnectionPlugin as dn, findUniqueConnectionPlugin as dp, CONTEXT_CACHE_TTL_MS as dq, CONTEXT_CACHE_MAX_SIZE as dr, runActionPlugin as ds, type RunActionPluginProvides as dt, requestPlugin as du, type ManifestPluginOptions as dv, readManifestFromFile as dw, getPreferredManifestEntryKey as dx, findManifestEntry as dy, MANIFEST_ID as dz, type CapabilitiesContext as e, MAX_PAGE_LIMIT as e$, workflowIdResolver as e0, durableRunIdResolver as e1, workflowVersionIdResolver as e2, workflowRunIdResolver as e3, triggerMessagesResolver as e4, tableRecordIdResolver as e5, tableRecordIdsResolver as e6, tableFieldIdsResolver as e7, tableNameResolver as e8, tableFieldsResolver as e9, type PkceCredentialsObject as eA, isClientCredentials as eB, isPkceCredentials as eC, isCredentialsObject as eD, isCredentialsFunction as eE, type ResolveCredentialsOptions as eF, resolveCredentialsFromEnv as eG, resolveCredentials as eH, getBaseUrlFromCredentials as eI, getClientIdFromCredentials as eJ, ClientCredentialsObjectSchema as eK, PkceCredentialsObjectSchema as eL, CredentialsObjectSchema as eM, ResolvedCredentialsSchema as eN, CredentialsFunctionSchema as eO, type CredentialsFunction as eP, CredentialsSchema as eQ, ConnectionEntrySchema as eR, type ConnectionEntry as eS, ConnectionsMapSchema as eT, type ConnectionsMap as eU, type ResolveConnection as eV, CONNECTIONS_ID as eW, connectionsPluginRef as eX, connectionsPlugin as eY, ZAPIER_BASE_URL as eZ, getZapierSdkService as e_, tableRecordsResolver as ea, tableUpdateRecordsResolver as eb, tableFiltersResolver as ec, tableSortResolver as ed, type ResolveAuthTokenOptions as ee, AuthMechanism as ef, type ResolvedAuth as eg, clearTokenCache as eh, invalidateCachedToken as ei, injectCliLogin as ej, isCliLoginAvailable as ek, getTokenFromCliLogin as el, resolveAuth as em, resolveAuthToken as en, invalidateCredentialsToken as eo, type ZapierCacheEntry as ep, type ZapierCacheSetOptions as eq, createMemoryCache as er, type SdkEvent as es, type AuthEvent as et, type ApiEvent as eu, type LoadingEvent as ev, type Credentials as ew, type ResolvedCredentials as ex, type CredentialsObject as ey, type ClientCredentialsObject as ez, type CoreOptions as f, DEFAULT_PAGE_SIZE as f0, DEFAULT_ACTION_TIMEOUT_MS as f1, ZAPIER_MAX_NETWORK_RETRIES as f2, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS as f3, MAX_CONCURRENCY_LIMIT as f4, parseConcurrencyEnvVar as f5, ZAPIER_MAX_CONCURRENT_REQUESTS as f6, getZapierApprovalMode as f7, getZapierOpenAutoModeApprovalsInBrowser as f8, getZapierDefaultApprovalMode as f9, buildApplicationLifecycleEvent as fA, buildErrorEventWithContext as fB, buildErrorEvent as fC, createBaseEvent as fD, buildMethodCalledEvent as fE, type BaseEvent as fF, type MethodCalledEvent as fG, generateEventId as fH, getCurrentTimestamp as fI, getReleaseId as fJ, getOsInfo as fK, getPlatformVersions as fL, isCi as fM, getCiPlatform as fN, getMemoryUsage as fO, getCpuTime as fP, getTtyContext as fQ, createZapierSdk as fR, type ZapierSdkOptions as fS, type ZapierSdk as fT, DEFAULT_APPROVAL_TIMEOUT_MS as fa, DEFAULT_MAX_APPROVAL_RETRIES as fb, listTablesPlugin as fc, getTablePlugin as fd, createTablePlugin as fe, deleteTablePlugin as ff, listTableFieldsPlugin as fg, createTableFieldsPlugin as fh, deleteTableFieldsPlugin as fi, getTableRecordPlugin as fj, listTableRecordsPlugin as fk, createTableRecordsPlugin as fl, deleteTableRecordsPlugin as fm, updateTableRecordsPlugin as fn, cleanupEventListeners as fo, type EventEmissionContext as fp, type EventEmitter as fq, EVENT_EMISSION_ID as fr, eventEmissionPluginRef as fs, eventEmissionPlugin as ft, eventEmissionHookPlugin as fu, type EventTransport as fv, type EventContext as fw, type ApplicationLifecycleEventData as fx, type EnhancedErrorEventData as fy, type MethodCalledEventData as fz, type ActionProxy as g, 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, type DrainTriggerInboxCallback as u, type DrainTriggerInboxErrorObserver as v, type LeasedTriggerMessageItem as w, type TriggerMessageStatus as x, type ListAuthenticationsPluginProvides as y, type GetAuthenticationPluginProvides as z };
|
|
13673
|
+
export { type Connection 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 FindFirstAuthenticationPluginProvides as H, type FindUniqueAuthenticationPluginProvides as I, type Action as J, type App as K, type LeafSummary as L, type MethodPlugin as M, type Need as N, type Field as O, type PropertyPlugin as P, type Choice as Q, type RegistryResult as R, type SdkContext as S, type TriggerInboxCommandSharedFields as T, type ActionExecutionResult as U, type ActionField as V, type WatchTriggerInboxOptions as W, type ActionFieldChoice as X, type NeedsRequest as Y, type ZapierFetchInitOptions as Z, type NeedsResponse as _, type ApiClient as a, type BatchOptions as a$, type ConnectionsResponse as a0, type UserProfile as a1, isPositional as a2, type PositionalMetadata as a3, createFunction as a4, createPaginatedFunction as a5, createPluginStack as a6, createCorePlugin as a7, addPlugin as a8, disposeSdk as a9, type Resolver$1 as aA, type ArrayResolver$1 as aB, type ResolverMetadata as aC, type StaticResolver$1 as aD, type DynamicResolver$1 as aE, type DynamicListResolver as aF, type DynamicSearchResolver as aG, type FieldsResolver as aH, type Resolver as aI, type DynamicMember as aJ, type PluginSurface as aK, createController as aL, type ControllerQuestion as aM, type ControllerAction as aN, type ControllerAnswerFn as aO, type ControllerChoice as aP, type ControllerMethodSummary as aQ, type ControllerMethodDescription as aR, type ControllerParameterDescription as aS, runInMethodScope as aT, runWithTelemetryContext as aU, getCallerContext as aV, runWithCallerContext as aW, type CallerContext as aX, toSnakeCase as aY, toTitleCase as aZ, batch as a_, CoreDisposeError as aa, createSdk as ab, CONTEXT as ac, resolvePlugin as ad, fromFunctionPlugin as ae, defineLegacyMerge as af, getContext as ag, declarePlugin as ah, defineMethod as ai, defineMethodOverride as aj, defineProperty as ak, defineResolver as al, defineFormatter as am, declareMethod as an, declareProperty as ao, declareOptionalProperty as ap, selectExports as aq, omitExports as ar, getRegistryPlugin as as, zapierSdkPlugin as at, SDK_OPTIONS_ID as au, sdkOptionsPluginRef as av, type FormattedItem as aw, type BoundFormatter as ax, type Formatter as ay, type OutputFormatter as az, type PluginSummary as b, DebugPropertySchema as b$, buildCapabilityMessage as b0, logDeprecation as b1, resetDeprecationWarnings as b2, RelayRequestSchema as b3, RelayFetchSchema as b4, createZapierSdkWithoutRegistry as b5, zapierCoreOptions as b6, CORE_OPTIONS_ID as b7, type FunctionRegistryEntry as b8, type FunctionDeprecation as b9, isPermanentHttpError as bA, type SseMessage as bB, type JsonSseMessage as bC, DEPRECATION_NOTICE_EVENT as bD, type DeprecationNoticePayload as bE, type AppItem as bF, type ConnectionItem as bG, type ActionItem$1 as bH, type InputFieldItem as bI, type InfoFieldItem as bJ, type RootFieldItem as bK, type UserProfileItem as bL, type SdkPage as bM, type PaginatedSdkFunction as bN, AppKeyPropertySchema as bO, AppPropertySchema as bP, ActionTypePropertySchema as bQ, ActionKeyPropertySchema as bR, ActionPropertySchema as bS, InputFieldPropertySchema as bT, ConnectionIdPropertySchema as bU, AuthenticationIdPropertySchema as bV, ConnectionPropertySchema as bW, InputsPropertySchema as bX, LimitPropertySchema as bY, OffsetPropertySchema as bZ, OutputPropertySchema as b_, BaseSdkOptionsSchema as ba, isCoreError as bb, getCoreErrorCode as bc, getCoreErrorCause as bd, CORE_ERROR_SYMBOL as be, CoreErrorCode as bf, CoreSignal as bg, CoreCancelledSignal as bh, isCoreSignal as bi, CORE_SIGNAL_SYMBOL as bj, type Plugin as bk, type PluginProvides as bl, type MethodOverridePlugin as bm, definePlugin as bn, createPluginMethod as bo, createPaginatedPluginMethod as bp, composePlugins as bq, type ActionItem as br, type ActionTypeItem as bs, type ResolvedAppLocator as bt, getAgent as bu, registryPlugin as bv, type RequestOptions as bw, type PollOptions as bx, createZapierApi as by, getOrCreateApiClient as bz, type PaginatedSdkResult as c, ZapierRelayError as c$, ParamsPropertySchema as c0, ActionTimeoutMsPropertySchema as c1, TablePropertySchema as c2, RecordPropertySchema as c3, RecordsPropertySchema as c4, FieldsPropertySchema as c5, AppsPropertySchema as c6, TablesPropertySchema as c7, ConnectionsPropertySchema as c8, TriggerInboxPropertySchema as c9, type TablesProperty as cA, type ConnectionsProperty as cB, type TriggerInboxProperty as cC, type TriggerInboxKeyProperty as cD, type TriggerInboxNameProperty as cE, type LeaseProperty as cF, type LeaseSecondsProperty as cG, type LeaseLimitProperty as cH, type ErrorOptions as cI, ZapierError as cJ, ZapierValidationError as cK, ZapierUnknownError as cL, ZapierAuthenticationError as cM, zapierAdaptError as cN, ZapierApiError as cO, ZapierAppNotFoundError as cP, ZapierNotFoundError as cQ, ZapierResourceNotFoundError as cR, ZapierConfigurationError as cS, ZapierBundleError as cT, ZapierTimeoutError as cU, ZapierActionError as cV, ZapierConflictError as cW, type RateLimitInfo as cX, ZapierRateLimitError as cY, type ApprovalStatus as cZ, ZapierApprovalError as c_, TriggerInboxKeyPropertySchema as ca, TriggerInboxNamePropertySchema as cb, LeasePropertySchema as cc, LeaseSecondsPropertySchema as cd, LeaseLimitPropertySchema as ce, type AppKeyProperty as cf, type AppProperty as cg, type ActionTypeProperty as ch, type ActionKeyProperty as ci, type ActionProperty as cj, type InputFieldProperty as ck, type ConnectionIdProperty as cl, type ConnectionProperty as cm, type AuthenticationIdProperty as cn, type InputsProperty as co, type LimitProperty as cp, type OffsetProperty as cq, type OutputProperty as cr, type DebugProperty as cs, type ParamsProperty as ct, type ActionTimeoutMsProperty as cu, type TableProperty as cv, type RecordProperty as cw, type RecordsProperty as cx, type FieldsProperty as cy, type AppsProperty as cz, type ManifestProvider as d, tableIdResolver as d$, formatErrorMessage as d0, type CoreApiError as d1, ZapierSignal as d2, appsPlugin as d3, type ActionExecutionOptions as d4, type AppFactoryInput as d5, type FetchPluginProvides as d6, fetchPlugin as d7, listAppsPlugin as d8, type ListAppsPluginProvides as d9, MANIFEST_ID as dA, manifestPluginRef as dB, manifestPlugin as dC, type UpdateManifestEntryOptions as dD, type UpdateManifestEntryResult as dE, DEFAULT_CONFIG_PATH as dF, type ManifestEntry as dG, type ActionEntry as dH, getProfilePlugin as dI, type ApiPluginOptions as dJ, type ResolveCredentialsFn as dK, API_ID as dL, apiPluginRef as dM, apiPlugin as dN, RESOLVE_CREDENTIALS_ID as dO, resolveCredentialsPluginRef as dP, resolveCredentialsPlugin as dQ, appKeyResolver as dR, actionTypeResolver as dS, actionKeyResolver as dT, connectionIdResolver as dU, connectionIdGenericResolver as dV, inputsResolver as dW, inputsAllOptionalResolver as dX, inputFieldKeyResolver as dY, clientCredentialsNameResolver as dZ, clientIdResolver as d_, listActionsPlugin as da, type ListActionsPluginProvides as db, listActionInputFieldsPlugin as dc, type ListActionInputFieldsPluginProvides as dd, listActionInputFieldChoicesPlugin as de, getActionInputFieldsSchemaPlugin as df, listConnectionsPlugin as dg, type ListConnectionsPluginProvides as dh, listClientCredentialsPlugin as di, createClientCredentialsPlugin as dj, deleteClientCredentialsPlugin as dk, getAppPlugin as dl, getActionPlugin as dm, getConnectionPlugin as dn, findFirstConnectionPlugin as dp, findUniqueConnectionPlugin as dq, CONTEXT_CACHE_TTL_MS as dr, CONTEXT_CACHE_MAX_SIZE as ds, runActionPlugin as dt, type RunActionPluginProvides as du, requestPlugin as dv, type ManifestPluginOptions as dw, readManifestFromFile as dx, getPreferredManifestEntryKey as dy, findManifestEntry as dz, type CapabilitiesContext as e, getZapierSdkService as e$, triggerInboxResolver as e0, workflowIdResolver as e1, durableRunIdResolver as e2, workflowVersionIdResolver as e3, workflowRunIdResolver as e4, triggerMessagesResolver as e5, tableRecordIdResolver as e6, tableRecordIdsResolver as e7, tableFieldIdsResolver as e8, tableNameResolver as e9, type ClientCredentialsObject as eA, type PkceCredentialsObject as eB, isClientCredentials as eC, isPkceCredentials as eD, isCredentialsObject as eE, isCredentialsFunction as eF, type ResolveCredentialsOptions as eG, resolveCredentialsFromEnv as eH, resolveCredentials as eI, getBaseUrlFromCredentials as eJ, getClientIdFromCredentials as eK, ClientCredentialsObjectSchema as eL, PkceCredentialsObjectSchema as eM, CredentialsObjectSchema as eN, ResolvedCredentialsSchema as eO, CredentialsFunctionSchema as eP, type CredentialsFunction as eQ, CredentialsSchema as eR, ConnectionEntrySchema as eS, type ConnectionEntry as eT, ConnectionsMapSchema as eU, type ConnectionsMap as eV, type ResolveConnection as eW, CONNECTIONS_ID as eX, connectionsPluginRef as eY, connectionsPlugin as eZ, ZAPIER_BASE_URL as e_, tableFieldsResolver as ea, tableRecordsResolver as eb, tableUpdateRecordsResolver as ec, tableFiltersResolver as ed, tableSortResolver as ee, type ResolveAuthTokenOptions as ef, AuthMechanism as eg, type ResolvedAuth as eh, clearTokenCache as ei, invalidateCachedToken as ej, injectCliLogin as ek, isCliLoginAvailable as el, getTokenFromCliLogin as em, resolveAuth as en, resolveAuthToken as eo, invalidateCredentialsToken as ep, type ZapierCacheEntry as eq, type ZapierCacheSetOptions as er, createMemoryCache as es, type SdkEvent as et, type AuthEvent as eu, type ApiEvent as ev, type LoadingEvent as ew, type Credentials as ex, type ResolvedCredentials as ey, type CredentialsObject as ez, type CoreOptions as f, MAX_PAGE_LIMIT as f0, DEFAULT_PAGE_SIZE as f1, DEFAULT_ACTION_TIMEOUT_MS as f2, ZAPIER_MAX_NETWORK_RETRIES as f3, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS as f4, MAX_CONCURRENCY_LIMIT as f5, parseConcurrencyEnvVar as f6, ZAPIER_MAX_CONCURRENT_REQUESTS as f7, getZapierApprovalMode as f8, getZapierOpenAutoModeApprovalsInBrowser as f9, type MethodCalledEventData as fA, buildApplicationLifecycleEvent as fB, buildErrorEventWithContext as fC, buildErrorEvent as fD, createBaseEvent as fE, buildMethodCalledEvent as fF, type BaseEvent as fG, type MethodCalledEvent as fH, generateEventId as fI, getCurrentTimestamp as fJ, getReleaseId as fK, getOsInfo as fL, getPlatformVersions as fM, isCi as fN, getCiPlatform as fO, getMemoryUsage as fP, getCpuTime as fQ, getTtyContext as fR, createZapierSdk as fS, type ZapierSdkOptions as fT, type ZapierSdk as fU, getZapierDefaultApprovalMode as fa, DEFAULT_APPROVAL_TIMEOUT_MS as fb, DEFAULT_MAX_APPROVAL_RETRIES as fc, listTablesPlugin as fd, getTablePlugin as fe, createTablePlugin as ff, deleteTablePlugin as fg, listTableFieldsPlugin as fh, createTableFieldsPlugin as fi, deleteTableFieldsPlugin as fj, getTableRecordPlugin as fk, listTableRecordsPlugin as fl, createTableRecordsPlugin as fm, deleteTableRecordsPlugin as fn, updateTableRecordsPlugin as fo, cleanupEventListeners as fp, type EventEmissionContext as fq, type EventEmitter as fr, EVENT_EMISSION_ID as fs, eventEmissionPluginRef as ft, eventEmissionPlugin as fu, eventEmissionHookPlugin as fv, type EventTransport as fw, type EventContext as fx, type ApplicationLifecycleEventData as fy, type EnhancedErrorEventData as fz, type ActionProxy as g, 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, type DrainTriggerInboxCallback as u, type DrainTriggerInboxErrorObserver as v, type LeasedTriggerMessageItem as w, type TriggerMessageStatus as x, type ListAuthenticationsPluginProvides as y, type GetAuthenticationPluginProvides as z };
|