@zapier/zapier-sdk 0.92.1 → 0.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/README.md +71 -1
- package/dist/{chunk-WFWTHI2N.cjs → chunk-TQT6EGZU.cjs} +1148 -1005
- package/dist/{chunk-6B4QZVQM.mjs → chunk-XUVZWY2D.mjs} +1145 -1006
- package/dist/experimental.cjs +395 -379
- package/dist/experimental.d.mts +149 -7
- package/dist/experimental.d.ts +149 -7
- package/dist/experimental.mjs +5 -5
- package/dist/{index-CBwO7l3J.d.mts → index-D6jpmIVn.d.mts} +322 -10
- package/dist/{index-CBwO7l3J.d.ts → index-D6jpmIVn.d.ts} +322 -10
- package/dist/index.cjs +288 -272
- 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
|
@@ -657,6 +657,28 @@ interface PositionalMetadata {
|
|
|
657
657
|
};
|
|
658
658
|
}
|
|
659
659
|
declare function isPositional(schema: z.ZodType): boolean;
|
|
660
|
+
/**
|
|
661
|
+
* Marks an optional boolean schema for which omission is distinct from false:
|
|
662
|
+
* omitting the value means "use the server default" or "preserve the current
|
|
663
|
+
* value", so an explicit false needs its own affordance. A string supplies
|
|
664
|
+
* the domain antonym — "disabled" for `enabled` — which each surface renders
|
|
665
|
+
* in its own vocabulary (a CLI as a flag spelling, a tool description as
|
|
666
|
+
* prose). `true` requests generic negation when the domain has no antonym.
|
|
667
|
+
*
|
|
668
|
+
* Declare it via `.meta({ negatable: "disabled" } satisfies NegatableMetadata)`.
|
|
669
|
+
* The `satisfies` matters: zod's metadata type permits arbitrary keys, so it
|
|
670
|
+
* is the only compile-time check against a misspelled key.
|
|
671
|
+
*/
|
|
672
|
+
interface NegatableMetadata {
|
|
673
|
+
negatable: true | string;
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* Read a schema's `negatable` metadata: `true`, the domain antonym, or
|
|
677
|
+
* undefined when the schema doesn't declare one. Unwraps optional/default
|
|
678
|
+
* wrappers like `isPositional`, so the `.meta()` call may sit on any layer
|
|
679
|
+
* of the chain.
|
|
680
|
+
*/
|
|
681
|
+
declare function getNegatable(schema: z.ZodType): NegatableMetadata["negatable"] | undefined;
|
|
660
682
|
|
|
661
683
|
/**
|
|
662
684
|
* Descriptive metadata a leaf carries for the registry / CLI / MCP / docs:
|
|
@@ -5769,7 +5791,21 @@ declare const appsPlugin: PropertyPlugin<"apps", ActionProxy & ZapierSdkApps> &
|
|
|
5769
5791
|
pageSize?: number;
|
|
5770
5792
|
} & {
|
|
5771
5793
|
maxItems?: number;
|
|
5772
|
-
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"
|
|
5794
|
+
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, MethodPlugin<"createActionRun", {
|
|
5795
|
+
app: string;
|
|
5796
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
5797
|
+
action: string;
|
|
5798
|
+
connection?: string | number | undefined;
|
|
5799
|
+
inputs?: Record<string, unknown> | undefined;
|
|
5800
|
+
page?: string | undefined;
|
|
5801
|
+
callbackUrl?: string | undefined;
|
|
5802
|
+
}, Promise<{
|
|
5803
|
+
data: {
|
|
5804
|
+
id: string;
|
|
5805
|
+
implementation_id: string;
|
|
5806
|
+
};
|
|
5807
|
+
meta?: ResponseMeta;
|
|
5808
|
+
}>, readonly []> & LeafSummary<"", "createActionRun", readonly [PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, MethodPlugin<"getAction", {
|
|
5773
5809
|
app: string;
|
|
5774
5810
|
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
5775
5811
|
action: string;
|
|
@@ -5819,7 +5855,7 @@ declare const appsPlugin: PropertyPlugin<"apps", ActionProxy & ZapierSdkApps> &
|
|
|
5819
5855
|
id?: string | undefined;
|
|
5820
5856
|
is_important?: boolean | undefined;
|
|
5821
5857
|
app_version?: string | undefined;
|
|
5822
|
-
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>;
|
|
5858
|
+
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>]>;
|
|
5823
5859
|
|
|
5824
5860
|
interface ZapierSdkApps {
|
|
5825
5861
|
}
|
|
@@ -6827,6 +6863,91 @@ interface FindUniqueAuthenticationPluginProvides {
|
|
|
6827
6863
|
|
|
6828
6864
|
declare const CONTEXT_CACHE_TTL_MILLISECONDS = 60000;
|
|
6829
6865
|
declare const CONTEXT_CACHE_MAX_SIZE = 500;
|
|
6866
|
+
declare const createActionRunPlugin: MethodPlugin<"createActionRun", {
|
|
6867
|
+
app: string;
|
|
6868
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
6869
|
+
action: string;
|
|
6870
|
+
connection?: string | number | undefined;
|
|
6871
|
+
inputs?: Record<string, unknown> | undefined;
|
|
6872
|
+
page?: string | undefined;
|
|
6873
|
+
callbackUrl?: string | undefined;
|
|
6874
|
+
}, Promise<{
|
|
6875
|
+
data: {
|
|
6876
|
+
id: string;
|
|
6877
|
+
implementation_id: string;
|
|
6878
|
+
};
|
|
6879
|
+
meta?: ResponseMeta;
|
|
6880
|
+
}>, readonly []> & LeafSummary<"", "createActionRun", readonly [PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, MethodPlugin<"getAction", {
|
|
6881
|
+
app: string;
|
|
6882
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
6883
|
+
action: string;
|
|
6884
|
+
} | {
|
|
6885
|
+
appKey: string;
|
|
6886
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
6887
|
+
actionKey: string;
|
|
6888
|
+
}, Promise<{
|
|
6889
|
+
data: {
|
|
6890
|
+
description: string;
|
|
6891
|
+
key: string;
|
|
6892
|
+
app_key: string;
|
|
6893
|
+
action_type: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
6894
|
+
title: string;
|
|
6895
|
+
type: "action";
|
|
6896
|
+
is_hidden?: boolean | undefined;
|
|
6897
|
+
id?: string | undefined;
|
|
6898
|
+
is_important?: boolean | undefined;
|
|
6899
|
+
app_version?: string | undefined;
|
|
6900
|
+
};
|
|
6901
|
+
meta?: ResponseMeta;
|
|
6902
|
+
}>, readonly []> & LeafSummary<"", "getAction", readonly [MethodPlugin<"listActions", ({
|
|
6903
|
+
app: string;
|
|
6904
|
+
actionType?: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run" | undefined;
|
|
6905
|
+
pageSize?: number | undefined;
|
|
6906
|
+
maxItems?: number | undefined;
|
|
6907
|
+
cursor?: string | undefined;
|
|
6908
|
+
} | {
|
|
6909
|
+
appKey: string;
|
|
6910
|
+
actionType?: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run" | undefined;
|
|
6911
|
+
pageSize?: number | undefined;
|
|
6912
|
+
maxItems?: number | undefined;
|
|
6913
|
+
cursor?: string | undefined;
|
|
6914
|
+
}) & {
|
|
6915
|
+
cursor?: string;
|
|
6916
|
+
pageSize?: number;
|
|
6917
|
+
} & {
|
|
6918
|
+
maxItems?: number;
|
|
6919
|
+
}, PaginatedSdkResult<{
|
|
6920
|
+
description: string;
|
|
6921
|
+
key: string;
|
|
6922
|
+
app_key: string;
|
|
6923
|
+
action_type: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
6924
|
+
title: string;
|
|
6925
|
+
type: "action";
|
|
6926
|
+
is_hidden?: boolean | undefined;
|
|
6927
|
+
id?: string | undefined;
|
|
6928
|
+
is_important?: boolean | undefined;
|
|
6929
|
+
app_version?: string | undefined;
|
|
6930
|
+
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>;
|
|
6931
|
+
type CreateActionRunPluginProvides = PluginSurface<typeof createActionRunPlugin>;
|
|
6932
|
+
|
|
6933
|
+
declare const getActionRunPlugin: MethodPlugin<"getActionRun", {
|
|
6934
|
+
run: string;
|
|
6935
|
+
}, Promise<{
|
|
6936
|
+
data: {
|
|
6937
|
+
id: string;
|
|
6938
|
+
status: string;
|
|
6939
|
+
results: unknown[];
|
|
6940
|
+
errors: {
|
|
6941
|
+
code?: string | undefined;
|
|
6942
|
+
title?: string | null | undefined;
|
|
6943
|
+
detail?: string | undefined;
|
|
6944
|
+
}[];
|
|
6945
|
+
next_page?: string | undefined;
|
|
6946
|
+
};
|
|
6947
|
+
meta?: ResponseMeta;
|
|
6948
|
+
}>, readonly []> & LeafSummary<"", "getActionRun", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
6949
|
+
type GetActionRunPluginProvides = PluginSurface<typeof getActionRunPlugin>;
|
|
6950
|
+
|
|
6830
6951
|
declare const runActionPlugin: MethodPlugin<"runAction", ({
|
|
6831
6952
|
app: string;
|
|
6832
6953
|
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
@@ -6858,7 +6979,21 @@ declare const runActionPlugin: MethodPlugin<"runAction", ({
|
|
|
6858
6979
|
pageSize?: number;
|
|
6859
6980
|
} & {
|
|
6860
6981
|
maxItems?: number;
|
|
6861
|
-
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"
|
|
6982
|
+
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, MethodPlugin<"createActionRun", {
|
|
6983
|
+
app: string;
|
|
6984
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
6985
|
+
action: string;
|
|
6986
|
+
connection?: string | number | undefined;
|
|
6987
|
+
inputs?: Record<string, unknown> | undefined;
|
|
6988
|
+
page?: string | undefined;
|
|
6989
|
+
callbackUrl?: string | undefined;
|
|
6990
|
+
}, Promise<{
|
|
6991
|
+
data: {
|
|
6992
|
+
id: string;
|
|
6993
|
+
implementation_id: string;
|
|
6994
|
+
};
|
|
6995
|
+
meta?: ResponseMeta;
|
|
6996
|
+
}>, readonly []> & LeafSummary<"", "createActionRun", readonly [PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, MethodPlugin<"getAction", {
|
|
6862
6997
|
app: string;
|
|
6863
6998
|
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
6864
6999
|
action: string;
|
|
@@ -6908,7 +7043,7 @@ declare const runActionPlugin: MethodPlugin<"runAction", ({
|
|
|
6908
7043
|
id?: string | undefined;
|
|
6909
7044
|
is_important?: boolean | undefined;
|
|
6910
7045
|
app_version?: string | undefined;
|
|
6911
|
-
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>;
|
|
7046
|
+
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>;
|
|
6912
7047
|
type RunActionPluginProvides = PluginSurface<typeof runActionPlugin>;
|
|
6913
7048
|
|
|
6914
7049
|
/**
|
|
@@ -8540,6 +8675,37 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): {
|
|
|
8540
8675
|
sample?: string | undefined;
|
|
8541
8676
|
value?: string | undefined;
|
|
8542
8677
|
}>;
|
|
8678
|
+
createActionRun: (input: {
|
|
8679
|
+
app: string;
|
|
8680
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
8681
|
+
action: string;
|
|
8682
|
+
connection?: string | number | undefined;
|
|
8683
|
+
inputs?: Record<string, unknown> | undefined;
|
|
8684
|
+
page?: string | undefined;
|
|
8685
|
+
callbackUrl?: string | undefined;
|
|
8686
|
+
}) => Promise<{
|
|
8687
|
+
data: {
|
|
8688
|
+
id: string;
|
|
8689
|
+
implementation_id: string;
|
|
8690
|
+
};
|
|
8691
|
+
meta?: ResponseMeta;
|
|
8692
|
+
}>;
|
|
8693
|
+
getActionRun: (input: {
|
|
8694
|
+
run: string;
|
|
8695
|
+
}) => Promise<{
|
|
8696
|
+
data: {
|
|
8697
|
+
id: string;
|
|
8698
|
+
status: string;
|
|
8699
|
+
results: unknown[];
|
|
8700
|
+
errors: {
|
|
8701
|
+
code?: string | undefined;
|
|
8702
|
+
title?: string | null | undefined;
|
|
8703
|
+
detail?: string | undefined;
|
|
8704
|
+
}[];
|
|
8705
|
+
next_page?: string | undefined;
|
|
8706
|
+
};
|
|
8707
|
+
meta?: ResponseMeta;
|
|
8708
|
+
}>;
|
|
8543
8709
|
runAction: (input: ({
|
|
8544
8710
|
app: string;
|
|
8545
8711
|
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
@@ -10944,6 +11110,89 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
10944
11110
|
is_important?: boolean | undefined;
|
|
10945
11111
|
app_version?: string | undefined;
|
|
10946
11112
|
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>;
|
|
11113
|
+
} & {
|
|
11114
|
+
createActionRun: MethodPlugin<"createActionRun", {
|
|
11115
|
+
app: string;
|
|
11116
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
11117
|
+
action: string;
|
|
11118
|
+
connection?: string | number | undefined;
|
|
11119
|
+
inputs?: Record<string, unknown> | undefined;
|
|
11120
|
+
page?: string | undefined;
|
|
11121
|
+
callbackUrl?: string | undefined;
|
|
11122
|
+
}, Promise<{
|
|
11123
|
+
data: {
|
|
11124
|
+
id: string;
|
|
11125
|
+
implementation_id: string;
|
|
11126
|
+
};
|
|
11127
|
+
meta?: ResponseMeta;
|
|
11128
|
+
}>, readonly []> & LeafSummary<"", "createActionRun", readonly [PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, MethodPlugin<"getAction", {
|
|
11129
|
+
app: string;
|
|
11130
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
11131
|
+
action: string;
|
|
11132
|
+
} | {
|
|
11133
|
+
appKey: string;
|
|
11134
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
11135
|
+
actionKey: string;
|
|
11136
|
+
}, Promise<{
|
|
11137
|
+
data: {
|
|
11138
|
+
description: string;
|
|
11139
|
+
key: string;
|
|
11140
|
+
app_key: string;
|
|
11141
|
+
action_type: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
11142
|
+
title: string;
|
|
11143
|
+
type: "action";
|
|
11144
|
+
is_hidden?: boolean | undefined;
|
|
11145
|
+
id?: string | undefined;
|
|
11146
|
+
is_important?: boolean | undefined;
|
|
11147
|
+
app_version?: string | undefined;
|
|
11148
|
+
};
|
|
11149
|
+
meta?: ResponseMeta;
|
|
11150
|
+
}>, readonly []> & LeafSummary<"", "getAction", readonly [MethodPlugin<"listActions", ({
|
|
11151
|
+
app: string;
|
|
11152
|
+
actionType?: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run" | undefined;
|
|
11153
|
+
pageSize?: number | undefined;
|
|
11154
|
+
maxItems?: number | undefined;
|
|
11155
|
+
cursor?: string | undefined;
|
|
11156
|
+
} | {
|
|
11157
|
+
appKey: string;
|
|
11158
|
+
actionType?: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run" | undefined;
|
|
11159
|
+
pageSize?: number | undefined;
|
|
11160
|
+
maxItems?: number | undefined;
|
|
11161
|
+
cursor?: string | undefined;
|
|
11162
|
+
}) & {
|
|
11163
|
+
cursor?: string;
|
|
11164
|
+
pageSize?: number;
|
|
11165
|
+
} & {
|
|
11166
|
+
maxItems?: number;
|
|
11167
|
+
}, PaginatedSdkResult<{
|
|
11168
|
+
description: string;
|
|
11169
|
+
key: string;
|
|
11170
|
+
app_key: string;
|
|
11171
|
+
action_type: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
11172
|
+
title: string;
|
|
11173
|
+
type: "action";
|
|
11174
|
+
is_hidden?: boolean | undefined;
|
|
11175
|
+
id?: string | undefined;
|
|
11176
|
+
is_important?: boolean | undefined;
|
|
11177
|
+
app_version?: string | undefined;
|
|
11178
|
+
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>;
|
|
11179
|
+
} & {
|
|
11180
|
+
getActionRun: MethodPlugin<"getActionRun", {
|
|
11181
|
+
run: string;
|
|
11182
|
+
}, Promise<{
|
|
11183
|
+
data: {
|
|
11184
|
+
id: string;
|
|
11185
|
+
status: string;
|
|
11186
|
+
results: unknown[];
|
|
11187
|
+
errors: {
|
|
11188
|
+
code?: string | undefined;
|
|
11189
|
+
title?: string | null | undefined;
|
|
11190
|
+
detail?: string | undefined;
|
|
11191
|
+
}[];
|
|
11192
|
+
next_page?: string | undefined;
|
|
11193
|
+
};
|
|
11194
|
+
meta?: ResponseMeta;
|
|
11195
|
+
}>, readonly []> & LeafSummary<"", "getActionRun", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
10947
11196
|
} & {
|
|
10948
11197
|
runAction: MethodPlugin<"runAction", ({
|
|
10949
11198
|
app: string;
|
|
@@ -10976,7 +11225,21 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
10976
11225
|
pageSize?: number;
|
|
10977
11226
|
} & {
|
|
10978
11227
|
maxItems?: number;
|
|
10979
|
-
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"
|
|
11228
|
+
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, MethodPlugin<"createActionRun", {
|
|
11229
|
+
app: string;
|
|
11230
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
11231
|
+
action: string;
|
|
11232
|
+
connection?: string | number | undefined;
|
|
11233
|
+
inputs?: Record<string, unknown> | undefined;
|
|
11234
|
+
page?: string | undefined;
|
|
11235
|
+
callbackUrl?: string | undefined;
|
|
11236
|
+
}, Promise<{
|
|
11237
|
+
data: {
|
|
11238
|
+
id: string;
|
|
11239
|
+
implementation_id: string;
|
|
11240
|
+
};
|
|
11241
|
+
meta?: ResponseMeta;
|
|
11242
|
+
}>, readonly []> & LeafSummary<"", "createActionRun", readonly [PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, MethodPlugin<"getAction", {
|
|
10980
11243
|
app: string;
|
|
10981
11244
|
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
10982
11245
|
action: string;
|
|
@@ -11026,7 +11289,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
11026
11289
|
id?: string | undefined;
|
|
11027
11290
|
is_important?: boolean | undefined;
|
|
11028
11291
|
app_version?: string | undefined;
|
|
11029
|
-
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>;
|
|
11292
|
+
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>;
|
|
11030
11293
|
} & {
|
|
11031
11294
|
fetch: MethodPlugin<"fetch", {
|
|
11032
11295
|
url: string | URL;
|
|
@@ -11081,7 +11344,21 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
11081
11344
|
pageSize?: number;
|
|
11082
11345
|
} & {
|
|
11083
11346
|
maxItems?: number;
|
|
11084
|
-
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"
|
|
11347
|
+
}, PaginatedSdkResult<unknown>, readonly []> & LeafSummary<"", "runAction", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, MethodPlugin<"createActionRun", {
|
|
11348
|
+
app: string;
|
|
11349
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
11350
|
+
action: string;
|
|
11351
|
+
connection?: string | number | undefined;
|
|
11352
|
+
inputs?: Record<string, unknown> | undefined;
|
|
11353
|
+
page?: string | undefined;
|
|
11354
|
+
callbackUrl?: string | undefined;
|
|
11355
|
+
}, Promise<{
|
|
11356
|
+
data: {
|
|
11357
|
+
id: string;
|
|
11358
|
+
implementation_id: string;
|
|
11359
|
+
};
|
|
11360
|
+
meta?: ResponseMeta;
|
|
11361
|
+
}>, readonly []> & LeafSummary<"", "createActionRun", readonly [PropertyPlugin<"connections", ConnectionsProvider> & PluginSummary<"zapier/connections", never>, PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>, MethodPlugin<"getAction", {
|
|
11085
11362
|
app: string;
|
|
11086
11363
|
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
11087
11364
|
action: string;
|
|
@@ -11131,7 +11408,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
11131
11408
|
id?: string | undefined;
|
|
11132
11409
|
is_important?: boolean | undefined;
|
|
11133
11410
|
app_version?: string | undefined;
|
|
11134
|
-
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>;
|
|
11411
|
+
}>, readonly []> & LeafSummary<"", "listActions", readonly [PropertyPlugin<"manifest", ManifestProvider> & PluginSummary<"zapier/manifest", never>, PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>]>]>]>]>;
|
|
11135
11412
|
} & {
|
|
11136
11413
|
listTriggerInboxes: MethodPlugin<"listTriggerInboxes", {
|
|
11137
11414
|
key?: string | undefined;
|
|
@@ -12012,7 +12289,7 @@ declare const zapierSdkPlugin: AggregatePlugin<"sdk", {
|
|
|
12012
12289
|
}[];
|
|
12013
12290
|
meta?: ResponseMeta;
|
|
12014
12291
|
}>, readonly []> & LeafSummary<"", "updateTableRecords", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
12015
|
-
}> & 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">;
|
|
12292
|
+
}> & 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" | "createActionRun" | "runAction" | "getActionInputFieldsSchema" | "createClientCredentials" | "deleteClientCredentials" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "getActionRun" | "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">;
|
|
12016
12293
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
12017
12294
|
getRegistry: (input?: {
|
|
12018
12295
|
package?: string | undefined;
|
|
@@ -12848,6 +13125,37 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
12848
13125
|
sample?: string | undefined;
|
|
12849
13126
|
value?: string | undefined;
|
|
12850
13127
|
}>;
|
|
13128
|
+
createActionRun: (input: {
|
|
13129
|
+
app: string;
|
|
13130
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
13131
|
+
action: string;
|
|
13132
|
+
connection?: string | number | undefined;
|
|
13133
|
+
inputs?: Record<string, unknown> | undefined;
|
|
13134
|
+
page?: string | undefined;
|
|
13135
|
+
callbackUrl?: string | undefined;
|
|
13136
|
+
}) => Promise<{
|
|
13137
|
+
data: {
|
|
13138
|
+
id: string;
|
|
13139
|
+
implementation_id: string;
|
|
13140
|
+
};
|
|
13141
|
+
meta?: ResponseMeta;
|
|
13142
|
+
}>;
|
|
13143
|
+
getActionRun: (input: {
|
|
13144
|
+
run: string;
|
|
13145
|
+
}) => Promise<{
|
|
13146
|
+
data: {
|
|
13147
|
+
id: string;
|
|
13148
|
+
status: string;
|
|
13149
|
+
results: unknown[];
|
|
13150
|
+
errors: {
|
|
13151
|
+
code?: string | undefined;
|
|
13152
|
+
title?: string | null | undefined;
|
|
13153
|
+
detail?: string | undefined;
|
|
13154
|
+
}[];
|
|
13155
|
+
next_page?: string | undefined;
|
|
13156
|
+
};
|
|
13157
|
+
meta?: ResponseMeta;
|
|
13158
|
+
}>;
|
|
12851
13159
|
runAction: (input: ({
|
|
12852
13160
|
app: string;
|
|
12853
13161
|
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
@@ -13764,6 +14072,10 @@ declare const DEFAULT_PAGE_SIZE = 100;
|
|
|
13764
14072
|
* Default timeout for action execution (in milliseconds)
|
|
13765
14073
|
*/
|
|
13766
14074
|
declare const DEFAULT_ACTION_TIMEOUT_MILLISECONDS = 180000;
|
|
14075
|
+
/**
|
|
14076
|
+
* Actions API collection that action runs are created in and fetched from.
|
|
14077
|
+
*/
|
|
14078
|
+
declare const ACTION_RUNS_PATH = "/zapier/api/actions/v1/runs";
|
|
13767
14079
|
/**
|
|
13768
14080
|
* Network retry configuration from environment variables
|
|
13769
14081
|
*/
|
|
@@ -14179,4 +14491,4 @@ declare function getAgent(): string | null;
|
|
|
14179
14491
|
*/
|
|
14180
14492
|
declare const registryPlugin: (_sdk: {}) => {};
|
|
14181
14493
|
|
|
14182
|
-
export { type ActionFieldChoice 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 TriggerMessageStatus as H, type ListAuthenticationsPluginProvides as I, type GetAuthenticationPluginProvides as J, type FindFirstAuthenticationPluginProvides as K, type LeafSummary as L, type MethodPlugin as M, type FindUniqueAuthenticationPluginProvides as N, type Action as O, type PropertyPlugin as P, type App as Q, type RegistryResult as R, type SdkContext as S, type TriggerInboxCommandSharedFields as T, type Need as U, type Field as V, type WatchTriggerInboxOptions as W, type Choice as X, type ActionExecutionResult as Y, type ZapierFetchInitOptions as Z, type ActionField as _, type ResponseMeta as a, toSnakeCase as a$, type NeedsRequest as a0, type NeedsResponse as a1, type Connection as a2, type ConnectionsResponse as a3, type UserProfile as a4, isPositional as a5, type PositionalMetadata as a6, createFunction as a7, createPaginatedFunction as a8, createPluginStack as a9, type BoundFormatter as aA, type Formatter as aB, type OutputFormatter as aC, type Resolver$1 as aD, type ArrayResolver$1 as aE, type ResolverMetadata as aF, type StaticResolver$1 as aG, type DynamicResolver$1 as aH, type DynamicListResolver as aI, type DynamicSearchResolver as aJ, type FieldsResolver as aK, type Resolver as aL, type DynamicMember as aM, type PluginSurface as aN, createController as aO, type ControllerQuestion as aP, type ControllerAction as aQ, type ControllerAnswerFn as aR, type ControllerChoice as aS, type ControllerMethodSummary as aT, type ControllerMethodDescription as aU, type ControllerParameterDescription as aV, runInMethodScope as aW, runWithTelemetryContext as aX, getCallerContext as aY, runWithCallerContext as aZ, type CallerContext as a_, createCorePlugin as aa, addPlugin as ab, disposeSdk as ac, CoreDisposeError as ad, createSdk as ae, CONTEXT as af, resolvePlugin as ag, fromFunctionPlugin as ah, defineLegacyMerge as ai, getContext as aj, declarePlugin as ak, defineMethod as al, defineMethodOverride as am, defineProperty as an, defineResolver as ao, defineFormatter as ap, declareMethod as aq, declareProperty as ar, declareOptionalProperty as as, selectExports as at, omitExports as au, getRegistryPlugin as av, zapierSdkPlugin as aw, SDK_OPTIONS_ID as ax, sdkOptionsPluginRef as ay, type FormattedItem as az, type ApiClient as b, InputsPropertySchema as b$, toTitleCase as b0, batch as b1, type BatchOptions as b2, buildCapabilityMessage as b3, logDeprecation as b4, resetDeprecationWarnings as b5, RelayRequestSchema as b6, RelayFetchSchema as b7, createZapierSdkWithoutRegistry as b8, zapierCoreOptions as b9, type RequestOptions as bA, type PollOptions as bB, createZapierApi as bC, getOrCreateApiClient as bD, isPermanentHttpError as bE, type SseMessage as bF, type JsonSseMessage as bG, DEPRECATION_NOTICE_EVENT as bH, type DeprecationNoticePayload as bI, type AppItem as bJ, type ConnectionItem as bK, type ActionItem$1 as bL, type InputFieldItem as bM, type InfoFieldItem as bN, type RootFieldItem as bO, type UserProfileItem as bP, type SdkPage as bQ, type PaginatedSdkFunction as bR, AppKeyPropertySchema as bS, AppPropertySchema as bT, ActionTypePropertySchema as bU, ActionKeyPropertySchema as bV, ActionPropertySchema as bW, InputFieldPropertySchema as bX, ConnectionIdPropertySchema as bY, AuthenticationIdPropertySchema as bZ, ConnectionPropertySchema as b_, CORE_OPTIONS_ID as ba, type FunctionRegistryEntry as bb, type FunctionDeprecation as bc, BaseSdkOptionsSchema as bd, isCoreError as be, getCoreErrorCode as bf, getCoreErrorCause as bg, CORE_ERROR_SYMBOL as bh, CoreErrorCode as bi, CoreSignal as bj, CoreCancelledSignal as bk, isCoreSignal as bl, isCoreCancelledSignal as bm, CORE_SIGNAL_SYMBOL as bn, type Plugin as bo, type PluginProvides as bp, type MethodOverridePlugin as bq, definePlugin as br, createPluginMethod as bs, createPaginatedPluginMethod as bt, composePlugins as bu, type ActionItem as bv, type ActionTypeItem as bw, type ResolvedAppLocator as bx, getAgent as by, registryPlugin as bz, type PluginSummary as c, ZapierActionError as c$, LimitPropertySchema as c0, OffsetPropertySchema as c1, OutputPropertySchema as c2, DebugPropertySchema as c3, ParamsPropertySchema as c4, ActionTimeoutSecondsPropertySchema as c5, ActionTimeoutMillisecondsPropertySchema as c6, TablePropertySchema as c7, RecordPropertySchema as c8, RecordsPropertySchema as c9, type ActionTimeoutMillisecondsProperty as cA, type TableProperty as cB, type RecordProperty as cC, type RecordsProperty as cD, type FieldsProperty as cE, type AppsProperty as cF, type TablesProperty as cG, type ConnectionsProperty as cH, type TriggerInboxProperty as cI, type TriggerInboxKeyProperty as cJ, type TriggerInboxNameProperty as cK, type LeaseProperty as cL, type LeaseSecondsProperty as cM, type LeaseLimitProperty as cN, type ErrorOptions as cO, ZapierError as cP, ZapierValidationError as cQ, ZapierUnknownError as cR, ZapierAuthenticationError as cS, zapierAdaptError as cT, ZapierApiError as cU, ZapierAppNotFoundError as cV, ZapierNotFoundError as cW, ZapierResourceNotFoundError as cX, ZapierConfigurationError as cY, ZapierBundleError as cZ, ZapierTimeoutError as c_, FieldsPropertySchema as ca, AppsPropertySchema as cb, TablesPropertySchema as cc, ConnectionsPropertySchema as cd, TriggerInboxPropertySchema as ce, TriggerInboxKeyPropertySchema as cf, TriggerInboxNamePropertySchema as cg, LeasePropertySchema as ch, LeaseSecondsPropertySchema as ci, LeaseLimitPropertySchema as cj, type AppKeyProperty as ck, type AppProperty as cl, type ActionTypeProperty as cm, type ActionKeyProperty as cn, type ActionProperty as co, type InputFieldProperty as cp, type ConnectionIdProperty as cq, type ConnectionProperty as cr, type AuthenticationIdProperty as cs, type InputsProperty as ct, type LimitProperty as cu, type OffsetProperty as cv, type OutputProperty as cw, type DebugProperty as cx, type ParamsProperty as cy, type ActionTimeoutSecondsProperty as cz, type PaginatedSdkResult as d, getProfilePlugin as d$, ZapierConflictError as d0, type RateLimitInfo as d1, ZapierRateLimitError as d2, type ApprovalStatus as d3, ZapierApprovalError as d4, ZapierRelayError as d5, isZapierError as d6, isZapierValidationError as d7, isZapierAuthenticationError as d8, isZapierAppNotFoundError as d9, listConnectionsPlugin as dA, type ListConnectionsPluginProvides as dB, listClientCredentialsPlugin as dC, createClientCredentialsPlugin as dD, deleteClientCredentialsPlugin as dE, getAppPlugin as dF, getActionPlugin as dG, getConnectionPlugin as dH, findFirstConnectionPlugin as dI, findUniqueConnectionPlugin as dJ, CONTEXT_CACHE_TTL_MILLISECONDS as dK, CONTEXT_CACHE_MAX_SIZE as dL, runActionPlugin as dM, type RunActionPluginProvides as dN, requestPlugin as dO, type ManifestPluginOptions as dP, readManifestFromFile as dQ, getPreferredManifestEntryKey as dR, findManifestEntry as dS, MANIFEST_ID as dT, manifestPluginRef as dU, manifestPlugin as dV, type UpdateManifestEntryOptions as dW, type UpdateManifestEntryResult as dX, DEFAULT_CONFIG_PATH as dY, type ManifestEntry as dZ, type ActionEntry as d_, isZapierNotFoundError as da, isZapierResourceNotFoundError as db, isZapierConflictError as dc, isZapierTimeoutError as dd, isZapierBundleError as de, isZapierActionError as df, isZapierRateLimitError as dg, isZapierApprovalError as dh, formatErrorMessage as di, type CoreApiError as dj, ZapierSignal as dk, isZapierSignal as dl, appsPlugin as dm, type ActionExecutionOptions as dn, type AppFactoryInput as dp, type FetchPluginProvides as dq, fetchPlugin as dr, listAppsPlugin as ds, type ListAppsPluginProvides as dt, listActionsPlugin as du, type ListActionsPluginProvides as dv, listActionInputFieldsPlugin as dw, type ListActionInputFieldsPluginProvides as dx, listActionInputFieldChoicesPlugin as dy, getActionInputFieldsSchemaPlugin as dz, type ManifestProvider as e, type ResolveCredentialsOptions as e$, type GetProfilePluginProvides as e0, type ApiPluginOptions as e1, type ResolveCredentialsFn as e2, API_ID as e3, apiPluginRef as e4, apiPlugin as e5, RESOLVE_CREDENTIALS_ID as e6, resolveCredentialsPluginRef as e7, resolveCredentialsPlugin as e8, appKeyResolver as e9, type ResolveAuthTokenOptions as eA, AuthMechanism as eB, type ResolvedAuth as eC, clearTokenCache as eD, invalidateCachedToken as eE, injectCliLogin as eF, isCliLoginAvailable as eG, getTokenFromCliLogin as eH, resolveAuth as eI, resolveAuthToken as eJ, invalidateCredentialsToken as eK, type ZapierCacheEntry as eL, type ZapierCacheSetOptions as eM, createMemoryCache as eN, type SdkEvent as eO, type AuthEvent as eP, type ApiEvent as eQ, type LoadingEvent as eR, type Credentials as eS, type ResolvedCredentials as eT, type CredentialsObject as eU, type ClientCredentialsObject as eV, type PkceCredentialsObject as eW, isClientCredentials as eX, isPkceCredentials as eY, isCredentialsObject as eZ, isCredentialsFunction as e_, actionTypeResolver as ea, actionKeyResolver as eb, connectionIdResolver as ec, connectionIdGenericResolver as ed, inputsResolver as ee, inputsAllOptionalResolver as ef, inputFieldKeyResolver as eg, clientCredentialsNameResolver as eh, clientIdResolver as ei, tableIdResolver as ej, triggerInboxResolver as ek, workflowIdResolver as el, durableRunIdResolver as em, workflowVersionIdResolver as en, workflowDraftIdResolver as eo, workflowRunIdResolver as ep, triggerMessagesResolver as eq, tableRecordIdResolver as er, tableRecordIdsResolver as es, tableFieldIdsResolver as et, tableNameResolver as eu, tableFieldsResolver as ev, tableRecordsResolver as ew, tableUpdateRecordsResolver as ex, tableFiltersResolver as ey, tableSortResolver as ez, type CapabilitiesContext as f, type BaseEvent as f$, resolveCredentialsFromEnv as f0, resolveCredentials as f1, getBaseUrlFromCredentials as f2, getClientIdFromCredentials as f3, ClientCredentialsObjectSchema as f4, PkceCredentialsObjectSchema as f5, CredentialsObjectSchema as f6, ResolvedCredentialsSchema as f7, CredentialsFunctionSchema as f8, type CredentialsFunction as f9, createTablePlugin as fA, deleteTablePlugin as fB, listTableFieldsPlugin as fC, createTableFieldsPlugin as fD, deleteTableFieldsPlugin as fE, getTableRecordPlugin as fF, listTableRecordsPlugin as fG, createTableRecordsPlugin as fH, deleteTableRecordsPlugin as fI, updateTableRecordsPlugin as fJ, cleanupEventListeners as fK, type EventEmissionContext as fL, type EventEmitter as fM, EVENT_EMISSION_ID as fN, eventEmissionPluginRef as fO, eventEmissionPlugin as fP, eventEmissionHookPlugin as fQ, type EventTransport as fR, type EventContext as fS, type ApplicationLifecycleEventData as fT, type EnhancedErrorEventData as fU, type MethodCalledEventData as fV, buildApplicationLifecycleEvent as fW, buildErrorEventWithContext as fX, buildErrorEvent as fY, createBaseEvent as fZ, buildMethodCalledEvent as f_, CredentialsSchema as fa, ConnectionEntrySchema as fb, type ConnectionEntry as fc, ConnectionsMapSchema as fd, type ConnectionsMap as fe, type ResolveConnection as ff, CONNECTIONS_ID as fg, connectionsPluginRef as fh, connectionsPlugin as fi, ZAPIER_BASE_URL as fj, getZapierSdkService as fk, MAX_PAGE_LIMIT as fl, DEFAULT_PAGE_SIZE as fm, DEFAULT_ACTION_TIMEOUT_MILLISECONDS as fn, ZAPIER_MAX_NETWORK_RETRIES as fo, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS as fp, MAX_CONCURRENCY_LIMIT as fq, parseConcurrencyEnvVar as fr, ZAPIER_MAX_CONCURRENT_REQUESTS as fs, getZapierApprovalMode as ft, getZapierOpenAutoModeApprovalsInBrowser as fu, getZapierDefaultApprovalMode as fv, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS as fw, DEFAULT_MAX_APPROVAL_RETRIES as fx, listTablesPlugin as fy, getTablePlugin as fz, type CoreOptions as g, type MethodCalledEvent as g0, operationAnnotatorPlugin as g1, generateEventId as g2, getCurrentTimestamp as g3, getReleaseId as g4, getOsInfo as g5, getPlatformVersions as g6, isCi as g7, getCiPlatform as g8, getMemoryUsage as g9, getCpuTime as ga, getTtyContext as gb, createZapierSdk as gc, type ZapierSdkOptions as gd, type ZapierSdk as ge, type ActionProxy as h, type ZapierSdkApps as i, type DrainTriggerInboxOptions as j, type Manifest as k, type EventEmissionConfig as l, type ZapierCache as m, type ListActionsOptions as n, type ListActionInputFieldsOptions as o, type ListActionInputFieldChoicesOptions as p, type PluginMeta as q, DrainTriggerInboxSchema as r, WatchTriggerInboxSchema as s, ZapierAbortDrainSignal as t, ZapierReleaseTriggerMessageSignal as u, isZapierAbortDrainSignal as v, isZapierReleaseTriggerMessageSignal as w, type DrainTriggerInboxCallback as x, type DrainTriggerInboxErrorObserver as y, type LeasedTriggerMessageItem as z };
|
|
14494
|
+
export { type ActionFieldChoice 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 TriggerMessageStatus as H, type ListAuthenticationsPluginProvides as I, type GetAuthenticationPluginProvides as J, type FindFirstAuthenticationPluginProvides as K, type LeafSummary as L, type MethodPlugin as M, type FindUniqueAuthenticationPluginProvides as N, type Action as O, type PropertyPlugin as P, type App as Q, type RegistryResult as R, type SdkContext as S, type TriggerInboxCommandSharedFields as T, type Need as U, type Field as V, type WatchTriggerInboxOptions as W, type Choice as X, type ActionExecutionResult as Y, type ZapierFetchInitOptions as Z, type ActionField as _, type ResponseMeta as a, runWithCallerContext as a$, type NeedsRequest as a0, type NeedsResponse as a1, type Connection as a2, type ConnectionsResponse as a3, type UserProfile as a4, isPositional as a5, type PositionalMetadata as a6, getNegatable as a7, type NegatableMetadata as a8, createFunction as a9, sdkOptionsPluginRef as aA, type FormattedItem as aB, type BoundFormatter as aC, type Formatter as aD, type OutputFormatter as aE, type Resolver$1 as aF, type ArrayResolver$1 as aG, type ResolverMetadata as aH, type StaticResolver$1 as aI, type DynamicResolver$1 as aJ, type DynamicListResolver as aK, type DynamicSearchResolver as aL, type FieldsResolver as aM, type Resolver as aN, type DynamicMember as aO, type PluginSurface as aP, createController as aQ, type ControllerQuestion as aR, type ControllerAction as aS, type ControllerAnswerFn as aT, type ControllerChoice as aU, type ControllerMethodSummary as aV, type ControllerMethodDescription as aW, type ControllerParameterDescription as aX, runInMethodScope as aY, runWithTelemetryContext as aZ, getCallerContext as a_, createPaginatedFunction as aa, createPluginStack as ab, createCorePlugin as ac, addPlugin as ad, disposeSdk as ae, CoreDisposeError as af, createSdk as ag, CONTEXT as ah, resolvePlugin as ai, fromFunctionPlugin as aj, defineLegacyMerge as ak, getContext as al, declarePlugin as am, defineMethod as an, defineMethodOverride as ao, defineProperty as ap, defineResolver as aq, defineFormatter as ar, declareMethod as as, declareProperty as at, declareOptionalProperty as au, selectExports as av, omitExports as aw, getRegistryPlugin as ax, zapierSdkPlugin as ay, SDK_OPTIONS_ID as az, type ApiClient as b, AuthenticationIdPropertySchema as b$, type CallerContext as b0, toSnakeCase as b1, toTitleCase as b2, batch as b3, type BatchOptions as b4, buildCapabilityMessage as b5, logDeprecation as b6, resetDeprecationWarnings as b7, RelayRequestSchema as b8, RelayFetchSchema as b9, getAgent as bA, registryPlugin as bB, type RequestOptions as bC, type PollOptions as bD, createZapierApi as bE, getOrCreateApiClient as bF, isPermanentHttpError as bG, type SseMessage as bH, type JsonSseMessage as bI, DEPRECATION_NOTICE_EVENT as bJ, type DeprecationNoticePayload as bK, type AppItem as bL, type ConnectionItem as bM, type ActionItem$1 as bN, type InputFieldItem as bO, type InfoFieldItem as bP, type RootFieldItem as bQ, type UserProfileItem as bR, type SdkPage as bS, type PaginatedSdkFunction as bT, AppKeyPropertySchema as bU, AppPropertySchema as bV, ActionTypePropertySchema as bW, ActionKeyPropertySchema as bX, ActionPropertySchema as bY, InputFieldPropertySchema as bZ, ConnectionIdPropertySchema as b_, createZapierSdkWithoutRegistry as ba, zapierCoreOptions as bb, CORE_OPTIONS_ID as bc, type FunctionRegistryEntry as bd, type FunctionDeprecation as be, BaseSdkOptionsSchema as bf, isCoreError as bg, getCoreErrorCode as bh, getCoreErrorCause as bi, CORE_ERROR_SYMBOL as bj, CoreErrorCode as bk, CoreSignal as bl, CoreCancelledSignal as bm, isCoreSignal as bn, isCoreCancelledSignal as bo, CORE_SIGNAL_SYMBOL as bp, type Plugin as bq, type PluginProvides as br, type MethodOverridePlugin as bs, definePlugin as bt, createPluginMethod as bu, createPaginatedPluginMethod as bv, composePlugins as bw, type ActionItem as bx, type ActionTypeItem as by, type ResolvedAppLocator as bz, type PluginSummary as c, ZapierBundleError as c$, ConnectionPropertySchema as c0, InputsPropertySchema as c1, LimitPropertySchema as c2, OffsetPropertySchema as c3, OutputPropertySchema as c4, DebugPropertySchema as c5, ParamsPropertySchema as c6, ActionTimeoutSecondsPropertySchema as c7, ActionTimeoutMillisecondsPropertySchema as c8, TablePropertySchema as c9, type ParamsProperty as cA, type ActionTimeoutSecondsProperty as cB, type ActionTimeoutMillisecondsProperty as cC, type TableProperty as cD, type RecordProperty as cE, type RecordsProperty as cF, type FieldsProperty as cG, type AppsProperty as cH, type TablesProperty as cI, type ConnectionsProperty as cJ, type TriggerInboxProperty as cK, type TriggerInboxKeyProperty as cL, type TriggerInboxNameProperty as cM, type LeaseProperty as cN, type LeaseSecondsProperty as cO, type LeaseLimitProperty as cP, type ErrorOptions as cQ, ZapierError as cR, ZapierValidationError as cS, ZapierUnknownError as cT, ZapierAuthenticationError as cU, zapierAdaptError as cV, ZapierApiError as cW, ZapierAppNotFoundError as cX, ZapierNotFoundError as cY, ZapierResourceNotFoundError as cZ, ZapierConfigurationError as c_, RecordPropertySchema as ca, RecordsPropertySchema as cb, FieldsPropertySchema as cc, AppsPropertySchema as cd, TablesPropertySchema as ce, ConnectionsPropertySchema as cf, TriggerInboxPropertySchema as cg, TriggerInboxKeyPropertySchema as ch, TriggerInboxNamePropertySchema as ci, LeasePropertySchema as cj, LeaseSecondsPropertySchema as ck, LeaseLimitPropertySchema as cl, type AppKeyProperty as cm, type AppProperty as cn, type ActionTypeProperty as co, type ActionKeyProperty as cp, type ActionProperty as cq, type InputFieldProperty as cr, type ConnectionIdProperty as cs, type ConnectionProperty as ct, type AuthenticationIdProperty as cu, type InputsProperty as cv, type LimitProperty as cw, type OffsetProperty as cx, type OutputProperty as cy, type DebugProperty as cz, type PaginatedSdkResult as d, manifestPlugin as d$, ZapierTimeoutError as d0, ZapierActionError as d1, ZapierConflictError as d2, type RateLimitInfo as d3, ZapierRateLimitError as d4, type ApprovalStatus as d5, ZapierApprovalError as d6, ZapierRelayError as d7, isZapierError as d8, isZapierValidationError as d9, listActionInputFieldChoicesPlugin as dA, getActionInputFieldsSchemaPlugin as dB, listConnectionsPlugin as dC, type ListConnectionsPluginProvides as dD, listClientCredentialsPlugin as dE, createClientCredentialsPlugin as dF, deleteClientCredentialsPlugin as dG, getAppPlugin as dH, getActionPlugin as dI, getConnectionPlugin as dJ, findFirstConnectionPlugin as dK, findUniqueConnectionPlugin as dL, CONTEXT_CACHE_TTL_MILLISECONDS as dM, CONTEXT_CACHE_MAX_SIZE as dN, createActionRunPlugin as dO, type CreateActionRunPluginProvides as dP, getActionRunPlugin as dQ, type GetActionRunPluginProvides 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, manifestPluginRef as d_, isZapierAuthenticationError as da, isZapierAppNotFoundError as db, isZapierNotFoundError as dc, isZapierResourceNotFoundError as dd, isZapierConflictError as de, isZapierTimeoutError as df, isZapierBundleError as dg, isZapierActionError as dh, isZapierRateLimitError as di, isZapierApprovalError as dj, formatErrorMessage as dk, type CoreApiError as dl, ZapierSignal as dm, isZapierSignal as dn, appsPlugin as dp, type ActionExecutionOptions as dq, type AppFactoryInput as dr, type FetchPluginProvides as ds, fetchPlugin as dt, listAppsPlugin as du, type ListAppsPluginProvides as dv, listActionsPlugin as dw, type ListActionsPluginProvides as dx, listActionInputFieldsPlugin as dy, type ListActionInputFieldsPluginProvides as dz, type ManifestProvider as e, type ClientCredentialsObject as e$, type UpdateManifestEntryOptions as e0, type UpdateManifestEntryResult as e1, DEFAULT_CONFIG_PATH as e2, type ManifestEntry as e3, type ActionEntry as e4, getProfilePlugin as e5, type GetProfilePluginProvides as e6, type ApiPluginOptions as e7, type ResolveCredentialsFn as e8, API_ID as e9, tableNameResolver as eA, tableFieldsResolver as eB, tableRecordsResolver as eC, tableUpdateRecordsResolver as eD, tableFiltersResolver as eE, tableSortResolver as eF, type ResolveAuthTokenOptions as eG, AuthMechanism as eH, type ResolvedAuth as eI, clearTokenCache as eJ, invalidateCachedToken as eK, injectCliLogin as eL, isCliLoginAvailable as eM, getTokenFromCliLogin as eN, resolveAuth as eO, resolveAuthToken as eP, invalidateCredentialsToken as eQ, type ZapierCacheEntry as eR, type ZapierCacheSetOptions as eS, createMemoryCache as eT, type SdkEvent as eU, type AuthEvent as eV, type ApiEvent as eW, type LoadingEvent as eX, type Credentials as eY, type ResolvedCredentials as eZ, type CredentialsObject as e_, apiPluginRef as ea, apiPlugin as eb, RESOLVE_CREDENTIALS_ID as ec, resolveCredentialsPluginRef as ed, resolveCredentialsPlugin as ee, appKeyResolver as ef, actionTypeResolver as eg, actionKeyResolver as eh, connectionIdResolver as ei, connectionIdGenericResolver as ej, inputsResolver as ek, inputsAllOptionalResolver as el, inputFieldKeyResolver as em, clientCredentialsNameResolver as en, clientIdResolver as eo, tableIdResolver as ep, triggerInboxResolver as eq, workflowIdResolver as er, durableRunIdResolver as es, workflowVersionIdResolver as et, workflowDraftIdResolver as eu, workflowRunIdResolver as ev, triggerMessagesResolver as ew, tableRecordIdResolver as ex, tableRecordIdsResolver as ey, tableFieldIdsResolver as ez, type CapabilitiesContext as f, type EnhancedErrorEventData as f$, type PkceCredentialsObject as f0, isClientCredentials as f1, isPkceCredentials as f2, isCredentialsObject as f3, isCredentialsFunction as f4, type ResolveCredentialsOptions as f5, resolveCredentialsFromEnv as f6, resolveCredentials as f7, getBaseUrlFromCredentials as f8, getClientIdFromCredentials as f9, getZapierApprovalMode as fA, getZapierOpenAutoModeApprovalsInBrowser as fB, getZapierDefaultApprovalMode as fC, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS as fD, DEFAULT_MAX_APPROVAL_RETRIES as fE, listTablesPlugin as fF, getTablePlugin as fG, createTablePlugin as fH, deleteTablePlugin as fI, listTableFieldsPlugin as fJ, createTableFieldsPlugin as fK, deleteTableFieldsPlugin as fL, getTableRecordPlugin as fM, listTableRecordsPlugin as fN, createTableRecordsPlugin as fO, deleteTableRecordsPlugin as fP, updateTableRecordsPlugin as fQ, cleanupEventListeners as fR, type EventEmissionContext as fS, type EventEmitter as fT, EVENT_EMISSION_ID as fU, eventEmissionPluginRef as fV, eventEmissionPlugin as fW, eventEmissionHookPlugin as fX, type EventTransport as fY, type EventContext as fZ, type ApplicationLifecycleEventData as f_, ClientCredentialsObjectSchema as fa, PkceCredentialsObjectSchema as fb, CredentialsObjectSchema as fc, ResolvedCredentialsSchema as fd, CredentialsFunctionSchema as fe, type CredentialsFunction as ff, CredentialsSchema as fg, ConnectionEntrySchema as fh, type ConnectionEntry as fi, ConnectionsMapSchema as fj, type ConnectionsMap as fk, type ResolveConnection as fl, CONNECTIONS_ID as fm, connectionsPluginRef as fn, connectionsPlugin as fo, ZAPIER_BASE_URL as fp, getZapierSdkService as fq, MAX_PAGE_LIMIT as fr, DEFAULT_PAGE_SIZE as fs, DEFAULT_ACTION_TIMEOUT_MILLISECONDS as ft, ACTION_RUNS_PATH as fu, ZAPIER_MAX_NETWORK_RETRIES as fv, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS as fw, MAX_CONCURRENCY_LIMIT as fx, parseConcurrencyEnvVar as fy, ZAPIER_MAX_CONCURRENT_REQUESTS as fz, type CoreOptions as g, type MethodCalledEventData as g0, buildApplicationLifecycleEvent as g1, buildErrorEventWithContext as g2, buildErrorEvent as g3, createBaseEvent as g4, buildMethodCalledEvent as g5, type BaseEvent as g6, type MethodCalledEvent as g7, operationAnnotatorPlugin as g8, generateEventId as g9, getCurrentTimestamp as ga, getReleaseId as gb, getOsInfo as gc, getPlatformVersions as gd, isCi as ge, getCiPlatform as gf, getMemoryUsage as gg, getCpuTime as gh, getTtyContext as gi, createZapierSdk as gj, type ZapierSdkOptions as gk, type ZapierSdk as gl, type ActionProxy as h, type ZapierSdkApps as i, type DrainTriggerInboxOptions as j, type Manifest as k, type EventEmissionConfig as l, type ZapierCache as m, type ListActionsOptions as n, type ListActionInputFieldsOptions as o, type ListActionInputFieldChoicesOptions as p, type PluginMeta as q, DrainTriggerInboxSchema as r, WatchTriggerInboxSchema as s, ZapierAbortDrainSignal as t, ZapierReleaseTriggerMessageSignal as u, isZapierAbortDrainSignal as v, isZapierReleaseTriggerMessageSignal as w, type DrainTriggerInboxCallback as x, type DrainTriggerInboxErrorObserver as y, type LeasedTriggerMessageItem as z };
|