@zapier/zapier-sdk 0.50.0 → 0.52.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 +16 -0
- package/README.md +2 -1
- package/dist/api/auth.d.ts +1 -6
- package/dist/api/auth.d.ts.map +1 -1
- package/dist/api/auth.js +34 -27
- package/dist/api/client.d.ts.map +1 -1
- package/dist/api/client.js +87 -9
- package/dist/api/concurrency.d.ts +28 -0
- package/dist/api/concurrency.d.ts.map +1 -0
- package/dist/api/concurrency.js +90 -0
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +1 -1
- package/dist/api/schemas.d.ts +3 -3
- package/dist/api/types.d.ts +6 -0
- package/dist/api/types.d.ts.map +1 -1
- package/dist/auth.d.ts +13 -2
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +95 -11
- package/dist/constants.d.ts +16 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +29 -0
- package/dist/experimental.cjs +357 -34
- package/dist/experimental.d.mts +28 -28
- package/dist/experimental.d.ts +26 -26
- package/dist/experimental.mjs +353 -35
- package/dist/{index-BQ2ii0Bs.d.mts → index-DcdtPei-.d.mts} +132 -2
- package/dist/{index-BQ2ii0Bs.d.ts → index-DcdtPei-.d.ts} +132 -2
- package/dist/index.cjs +357 -34
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.mjs +353 -35
- package/dist/plugins/api/index.d.ts.map +1 -1
- package/dist/plugins/api/index.js +3 -2
- package/dist/plugins/apps/index.d.ts +2 -2
- package/dist/plugins/deprecated/inputFields.d.ts +18 -18
- package/dist/plugins/getAction/index.d.ts +6 -6
- package/dist/plugins/getAction/schemas.d.ts +4 -4
- package/dist/plugins/getActionInputFieldsSchema/index.d.ts +5 -5
- package/dist/plugins/getActionInputFieldsSchema/schemas.d.ts +4 -4
- package/dist/plugins/listActionInputFieldChoices/index.d.ts +5 -5
- package/dist/plugins/listActionInputFieldChoices/schemas.d.ts +4 -4
- package/dist/plugins/listActionInputFields/index.d.ts +5 -5
- package/dist/plugins/listActionInputFields/schemas.d.ts +4 -4
- package/dist/plugins/listActions/index.d.ts +3 -3
- package/dist/plugins/listActions/schemas.d.ts +4 -4
- package/dist/plugins/runAction/index.d.ts +5 -5
- package/dist/plugins/runAction/schemas.d.ts +4 -4
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts +2 -2
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts +2 -2
- package/dist/plugins/triggers/listTriggerInputFields/index.d.ts +2 -2
- package/dist/schemas/Action.d.ts +1 -1
- package/dist/sdk.d.ts +52 -52
- package/dist/types/properties.d.ts +1 -1
- package/dist/types/sdk.d.ts +1 -0
- package/dist/types/sdk.d.ts.map +1 -1
- package/dist/types/sdk.js +25 -0
- package/dist/utils/telemetry.d.ts +11 -0
- package/dist/utils/telemetry.d.ts.map +1 -0
- package/dist/utils/telemetry.js +19 -0
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
export declare const listInputFieldsDeprecatedPlugin: (sdk: {
|
|
21
21
|
listActionInputFields: (options?: (({
|
|
22
22
|
app: string;
|
|
23
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
23
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
24
24
|
action: string;
|
|
25
25
|
connection?: string | number | undefined;
|
|
26
26
|
connectionId?: string | number | null | undefined;
|
|
@@ -31,7 +31,7 @@ export declare const listInputFieldsDeprecatedPlugin: (sdk: {
|
|
|
31
31
|
cursor?: string | undefined;
|
|
32
32
|
} | {
|
|
33
33
|
appKey: string;
|
|
34
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
34
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
35
35
|
actionKey: string;
|
|
36
36
|
connection?: string | number | undefined;
|
|
37
37
|
connectionId?: string | number | null | undefined;
|
|
@@ -78,7 +78,7 @@ export declare const listInputFieldsDeprecatedPlugin: (sdk: {
|
|
|
78
78
|
}) => {
|
|
79
79
|
listInputFields: (options?: (({
|
|
80
80
|
app: string;
|
|
81
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
81
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
82
82
|
action: string;
|
|
83
83
|
connection?: string | number | undefined;
|
|
84
84
|
connectionId?: string | number | null | undefined;
|
|
@@ -89,7 +89,7 @@ export declare const listInputFieldsDeprecatedPlugin: (sdk: {
|
|
|
89
89
|
cursor?: string | undefined;
|
|
90
90
|
} | {
|
|
91
91
|
appKey: string;
|
|
92
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
92
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
93
93
|
actionKey: string;
|
|
94
94
|
connection?: string | number | undefined;
|
|
95
95
|
connectionId?: string | number | null | undefined;
|
|
@@ -135,13 +135,13 @@ export declare const listInputFieldsDeprecatedPlugin: (sdk: {
|
|
|
135
135
|
};
|
|
136
136
|
actionType: import("zod").ZodEnum<{
|
|
137
137
|
filter: "filter";
|
|
138
|
+
write: "write";
|
|
138
139
|
read: "read";
|
|
139
140
|
read_bulk: "read_bulk";
|
|
140
141
|
run: "run";
|
|
141
142
|
search: "search";
|
|
142
143
|
search_and_write: "search_and_write";
|
|
143
144
|
search_or_write: "search_or_write";
|
|
144
|
-
write: "write";
|
|
145
145
|
}>;
|
|
146
146
|
action: import("zod").ZodString & {
|
|
147
147
|
_def: import("zod/v4/core").$ZodStringDef & import("../..").PositionalMetadata;
|
|
@@ -159,13 +159,13 @@ export declare const listInputFieldsDeprecatedPlugin: (sdk: {
|
|
|
159
159
|
};
|
|
160
160
|
actionType: import("zod").ZodEnum<{
|
|
161
161
|
filter: "filter";
|
|
162
|
+
write: "write";
|
|
162
163
|
read: "read";
|
|
163
164
|
read_bulk: "read_bulk";
|
|
164
165
|
run: "run";
|
|
165
166
|
search: "search";
|
|
166
167
|
search_and_write: "search_and_write";
|
|
167
168
|
search_or_write: "search_or_write";
|
|
168
|
-
write: "write";
|
|
169
169
|
}>;
|
|
170
170
|
actionKey: import("zod").ZodString;
|
|
171
171
|
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
@@ -209,7 +209,7 @@ export type ListInputFieldsDeprecatedPluginProvides = ReturnType<typeof listInpu
|
|
|
209
209
|
export declare const listInputFieldChoicesDeprecatedPlugin: (sdk: {
|
|
210
210
|
listActionInputFieldChoices: (options?: (({
|
|
211
211
|
app: string;
|
|
212
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
212
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
213
213
|
action: string;
|
|
214
214
|
inputField: string;
|
|
215
215
|
connection?: string | number | undefined;
|
|
@@ -222,7 +222,7 @@ export declare const listInputFieldChoicesDeprecatedPlugin: (sdk: {
|
|
|
222
222
|
cursor?: string | undefined;
|
|
223
223
|
} | {
|
|
224
224
|
appKey: string;
|
|
225
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
225
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
226
226
|
actionKey: string;
|
|
227
227
|
inputFieldKey: string;
|
|
228
228
|
connection?: string | number | undefined;
|
|
@@ -256,7 +256,7 @@ export declare const listInputFieldChoicesDeprecatedPlugin: (sdk: {
|
|
|
256
256
|
}) => {
|
|
257
257
|
listInputFieldChoices: (options?: (({
|
|
258
258
|
app: string;
|
|
259
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
259
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
260
260
|
action: string;
|
|
261
261
|
inputField: string;
|
|
262
262
|
connection?: string | number | undefined;
|
|
@@ -269,7 +269,7 @@ export declare const listInputFieldChoicesDeprecatedPlugin: (sdk: {
|
|
|
269
269
|
cursor?: string | undefined;
|
|
270
270
|
} | {
|
|
271
271
|
appKey: string;
|
|
272
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
272
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
273
273
|
actionKey: string;
|
|
274
274
|
inputFieldKey: string;
|
|
275
275
|
connection?: string | number | undefined;
|
|
@@ -302,13 +302,13 @@ export declare const listInputFieldChoicesDeprecatedPlugin: (sdk: {
|
|
|
302
302
|
};
|
|
303
303
|
actionType: import("zod").ZodEnum<{
|
|
304
304
|
filter: "filter";
|
|
305
|
+
write: "write";
|
|
305
306
|
read: "read";
|
|
306
307
|
read_bulk: "read_bulk";
|
|
307
308
|
run: "run";
|
|
308
309
|
search: "search";
|
|
309
310
|
search_and_write: "search_and_write";
|
|
310
311
|
search_or_write: "search_or_write";
|
|
311
|
-
write: "write";
|
|
312
312
|
}>;
|
|
313
313
|
action: import("zod").ZodString & {
|
|
314
314
|
_def: import("zod/v4/core").$ZodStringDef & import("../..").PositionalMetadata;
|
|
@@ -330,13 +330,13 @@ export declare const listInputFieldChoicesDeprecatedPlugin: (sdk: {
|
|
|
330
330
|
};
|
|
331
331
|
actionType: import("zod").ZodEnum<{
|
|
332
332
|
filter: "filter";
|
|
333
|
+
write: "write";
|
|
333
334
|
read: "read";
|
|
334
335
|
read_bulk: "read_bulk";
|
|
335
336
|
run: "run";
|
|
336
337
|
search: "search";
|
|
337
338
|
search_and_write: "search_and_write";
|
|
338
339
|
search_or_write: "search_or_write";
|
|
339
|
-
write: "write";
|
|
340
340
|
}>;
|
|
341
341
|
actionKey: import("zod").ZodString;
|
|
342
342
|
inputFieldKey: import("zod").ZodString;
|
|
@@ -367,7 +367,7 @@ export type ListInputFieldChoicesDeprecatedPluginProvides = ReturnType<typeof li
|
|
|
367
367
|
export declare const getInputFieldsSchemaDeprecatedPlugin: (sdk: {
|
|
368
368
|
getActionInputFieldsSchema: (options?: {
|
|
369
369
|
app: string;
|
|
370
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
370
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
371
371
|
action: string;
|
|
372
372
|
connection?: string | number | undefined;
|
|
373
373
|
connectionId?: string | number | null | undefined;
|
|
@@ -375,7 +375,7 @@ export declare const getInputFieldsSchemaDeprecatedPlugin: (sdk: {
|
|
|
375
375
|
inputs?: Record<string, unknown> | undefined;
|
|
376
376
|
} | {
|
|
377
377
|
appKey: string;
|
|
378
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
378
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
379
379
|
actionKey: string;
|
|
380
380
|
connection?: string | number | undefined;
|
|
381
381
|
connectionId?: string | number | null | undefined;
|
|
@@ -397,7 +397,7 @@ export declare const getInputFieldsSchemaDeprecatedPlugin: (sdk: {
|
|
|
397
397
|
}) => {
|
|
398
398
|
getInputFieldsSchema: (options?: {
|
|
399
399
|
app: string;
|
|
400
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
400
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
401
401
|
action: string;
|
|
402
402
|
connection?: string | number | undefined;
|
|
403
403
|
connectionId?: string | number | null | undefined;
|
|
@@ -405,7 +405,7 @@ export declare const getInputFieldsSchemaDeprecatedPlugin: (sdk: {
|
|
|
405
405
|
inputs?: Record<string, unknown> | undefined;
|
|
406
406
|
} | {
|
|
407
407
|
appKey: string;
|
|
408
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
408
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
409
409
|
actionKey: string;
|
|
410
410
|
connection?: string | number | undefined;
|
|
411
411
|
connectionId?: string | number | null | undefined;
|
|
@@ -425,13 +425,13 @@ export declare const getInputFieldsSchemaDeprecatedPlugin: (sdk: {
|
|
|
425
425
|
};
|
|
426
426
|
actionType: import("zod").ZodEnum<{
|
|
427
427
|
filter: "filter";
|
|
428
|
+
write: "write";
|
|
428
429
|
read: "read";
|
|
429
430
|
read_bulk: "read_bulk";
|
|
430
431
|
run: "run";
|
|
431
432
|
search: "search";
|
|
432
433
|
search_and_write: "search_and_write";
|
|
433
434
|
search_or_write: "search_or_write";
|
|
434
|
-
write: "write";
|
|
435
435
|
}>;
|
|
436
436
|
action: import("zod").ZodString & {
|
|
437
437
|
_def: import("zod/v4/core").$ZodStringDef & import("../..").PositionalMetadata;
|
|
@@ -446,13 +446,13 @@ export declare const getInputFieldsSchemaDeprecatedPlugin: (sdk: {
|
|
|
446
446
|
};
|
|
447
447
|
actionType: import("zod").ZodEnum<{
|
|
448
448
|
filter: "filter";
|
|
449
|
+
write: "write";
|
|
449
450
|
read: "read";
|
|
450
451
|
read_bulk: "read_bulk";
|
|
451
452
|
run: "run";
|
|
452
453
|
search: "search";
|
|
453
454
|
search_and_write: "search_and_write";
|
|
454
455
|
search_or_write: "search_or_write";
|
|
455
|
-
write: "write";
|
|
456
456
|
}>;
|
|
457
457
|
actionKey: import("zod").ZodString;
|
|
458
458
|
connection: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
@@ -2,13 +2,13 @@ import type { ApiClient } from "../../api";
|
|
|
2
2
|
export declare const getActionPlugin: (sdk: {
|
|
3
3
|
listActions: (options?: (({
|
|
4
4
|
app: string;
|
|
5
|
-
actionType?: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" |
|
|
5
|
+
actionType?: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined;
|
|
6
6
|
pageSize?: number | undefined;
|
|
7
7
|
maxItems?: number | undefined;
|
|
8
8
|
cursor?: string | undefined;
|
|
9
9
|
} | {
|
|
10
10
|
appKey: string;
|
|
11
|
-
actionType?: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" |
|
|
11
|
+
actionType?: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined;
|
|
12
12
|
pageSize?: number | undefined;
|
|
13
13
|
maxItems?: number | undefined;
|
|
14
14
|
cursor?: string | undefined;
|
|
@@ -20,7 +20,7 @@ export declare const getActionPlugin: (sdk: {
|
|
|
20
20
|
description: string;
|
|
21
21
|
key: string;
|
|
22
22
|
app_key: string;
|
|
23
|
-
action_type: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
23
|
+
action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
24
24
|
title: string;
|
|
25
25
|
type: "action";
|
|
26
26
|
id?: string | undefined;
|
|
@@ -47,18 +47,18 @@ export declare const getActionPlugin: (sdk: {
|
|
|
47
47
|
}) => {
|
|
48
48
|
getAction: (options?: {
|
|
49
49
|
app: string;
|
|
50
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
50
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
51
51
|
action: string;
|
|
52
52
|
} | {
|
|
53
53
|
appKey: string;
|
|
54
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
54
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
55
55
|
actionKey: string;
|
|
56
56
|
} | undefined) => Promise<{
|
|
57
57
|
data: {
|
|
58
58
|
description: string;
|
|
59
59
|
key: string;
|
|
60
60
|
app_key: string;
|
|
61
|
-
action_type: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
61
|
+
action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
62
62
|
title: string;
|
|
63
63
|
type: "action";
|
|
64
64
|
id?: string | undefined;
|
|
@@ -6,13 +6,13 @@ export declare const GetActionSchema: z.ZodObject<{
|
|
|
6
6
|
};
|
|
7
7
|
actionType: z.ZodEnum<{
|
|
8
8
|
filter: "filter";
|
|
9
|
+
write: "write";
|
|
9
10
|
read: "read";
|
|
10
11
|
read_bulk: "read_bulk";
|
|
11
12
|
run: "run";
|
|
12
13
|
search: "search";
|
|
13
14
|
search_and_write: "search_and_write";
|
|
14
15
|
search_or_write: "search_or_write";
|
|
15
|
-
write: "write";
|
|
16
16
|
}>;
|
|
17
17
|
action: z.ZodString & {
|
|
18
18
|
_def: z.core.$ZodStringDef & import("../..").PositionalMetadata;
|
|
@@ -24,13 +24,13 @@ declare const GetActionSchemaDeprecated: z.ZodObject<{
|
|
|
24
24
|
};
|
|
25
25
|
actionType: z.ZodEnum<{
|
|
26
26
|
filter: "filter";
|
|
27
|
+
write: "write";
|
|
27
28
|
read: "read";
|
|
28
29
|
read_bulk: "read_bulk";
|
|
29
30
|
run: "run";
|
|
30
31
|
search: "search";
|
|
31
32
|
search_and_write: "search_and_write";
|
|
32
33
|
search_or_write: "search_or_write";
|
|
33
|
-
write: "write";
|
|
34
34
|
}>;
|
|
35
35
|
actionKey: z.ZodString;
|
|
36
36
|
}, z.core.$strip>;
|
|
@@ -40,13 +40,13 @@ export declare const GetActionInputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
40
40
|
};
|
|
41
41
|
actionType: z.ZodEnum<{
|
|
42
42
|
filter: "filter";
|
|
43
|
+
write: "write";
|
|
43
44
|
read: "read";
|
|
44
45
|
read_bulk: "read_bulk";
|
|
45
46
|
run: "run";
|
|
46
47
|
search: "search";
|
|
47
48
|
search_and_write: "search_and_write";
|
|
48
49
|
search_or_write: "search_or_write";
|
|
49
|
-
write: "write";
|
|
50
50
|
}>;
|
|
51
51
|
action: z.ZodString & {
|
|
52
52
|
_def: z.core.$ZodStringDef & import("../..").PositionalMetadata;
|
|
@@ -57,13 +57,13 @@ export declare const GetActionInputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
57
57
|
};
|
|
58
58
|
actionType: z.ZodEnum<{
|
|
59
59
|
filter: "filter";
|
|
60
|
+
write: "write";
|
|
60
61
|
read: "read";
|
|
61
62
|
read_bulk: "read_bulk";
|
|
62
63
|
run: "run";
|
|
63
64
|
search: "search";
|
|
64
65
|
search_and_write: "search_and_write";
|
|
65
66
|
search_or_write: "search_or_write";
|
|
66
|
-
write: "write";
|
|
67
67
|
}>;
|
|
68
68
|
actionKey: z.ZodString;
|
|
69
69
|
}, z.core.$strip>]>;
|
|
@@ -4,18 +4,18 @@ import type { ConnectionsPluginProvides } from "../connections";
|
|
|
4
4
|
export declare const getActionInputFieldsSchemaPlugin: (sdk: {
|
|
5
5
|
getAction: (options?: {
|
|
6
6
|
app: string;
|
|
7
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
7
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
8
8
|
action: string;
|
|
9
9
|
} | {
|
|
10
10
|
appKey: string;
|
|
11
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
11
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
12
12
|
actionKey: string;
|
|
13
13
|
} | undefined) => Promise<{
|
|
14
14
|
data: {
|
|
15
15
|
description: string;
|
|
16
16
|
key: string;
|
|
17
17
|
app_key: string;
|
|
18
|
-
action_type: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
18
|
+
action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
19
19
|
title: string;
|
|
20
20
|
type: "action";
|
|
21
21
|
id?: string | undefined;
|
|
@@ -44,7 +44,7 @@ export declare const getActionInputFieldsSchemaPlugin: (sdk: {
|
|
|
44
44
|
}) => {
|
|
45
45
|
getActionInputFieldsSchema: (options?: {
|
|
46
46
|
app: string;
|
|
47
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
47
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
48
48
|
action: string;
|
|
49
49
|
connection?: string | number | undefined;
|
|
50
50
|
connectionId?: string | number | null | undefined;
|
|
@@ -52,7 +52,7 @@ export declare const getActionInputFieldsSchemaPlugin: (sdk: {
|
|
|
52
52
|
inputs?: Record<string, unknown> | undefined;
|
|
53
53
|
} | {
|
|
54
54
|
appKey: string;
|
|
55
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
55
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
56
56
|
actionKey: string;
|
|
57
57
|
connection?: string | number | undefined;
|
|
58
58
|
connectionId?: string | number | null | undefined;
|
|
@@ -5,13 +5,13 @@ export declare const GetActionInputFieldsSchemaSchema: z.ZodObject<{
|
|
|
5
5
|
};
|
|
6
6
|
actionType: z.ZodEnum<{
|
|
7
7
|
filter: "filter";
|
|
8
|
+
write: "write";
|
|
8
9
|
read: "read";
|
|
9
10
|
read_bulk: "read_bulk";
|
|
10
11
|
run: "run";
|
|
11
12
|
search: "search";
|
|
12
13
|
search_and_write: "search_and_write";
|
|
13
14
|
search_or_write: "search_or_write";
|
|
14
|
-
write: "write";
|
|
15
15
|
}>;
|
|
16
16
|
action: z.ZodString & {
|
|
17
17
|
_def: z.core.$ZodStringDef & import("../..").PositionalMetadata;
|
|
@@ -27,13 +27,13 @@ declare const GetActionInputFieldsSchemaSchemaDeprecated: z.ZodObject<{
|
|
|
27
27
|
};
|
|
28
28
|
actionType: z.ZodEnum<{
|
|
29
29
|
filter: "filter";
|
|
30
|
+
write: "write";
|
|
30
31
|
read: "read";
|
|
31
32
|
read_bulk: "read_bulk";
|
|
32
33
|
run: "run";
|
|
33
34
|
search: "search";
|
|
34
35
|
search_and_write: "search_and_write";
|
|
35
36
|
search_or_write: "search_or_write";
|
|
36
|
-
write: "write";
|
|
37
37
|
}>;
|
|
38
38
|
actionKey: z.ZodString;
|
|
39
39
|
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -47,13 +47,13 @@ export declare const GetActionInputFieldsSchemaInputSchema: z.ZodUnion<readonly
|
|
|
47
47
|
};
|
|
48
48
|
actionType: z.ZodEnum<{
|
|
49
49
|
filter: "filter";
|
|
50
|
+
write: "write";
|
|
50
51
|
read: "read";
|
|
51
52
|
read_bulk: "read_bulk";
|
|
52
53
|
run: "run";
|
|
53
54
|
search: "search";
|
|
54
55
|
search_and_write: "search_and_write";
|
|
55
56
|
search_or_write: "search_or_write";
|
|
56
|
-
write: "write";
|
|
57
57
|
}>;
|
|
58
58
|
action: z.ZodString & {
|
|
59
59
|
_def: z.core.$ZodStringDef & import("../..").PositionalMetadata;
|
|
@@ -68,13 +68,13 @@ export declare const GetActionInputFieldsSchemaInputSchema: z.ZodUnion<readonly
|
|
|
68
68
|
};
|
|
69
69
|
actionType: z.ZodEnum<{
|
|
70
70
|
filter: "filter";
|
|
71
|
+
write: "write";
|
|
71
72
|
read: "read";
|
|
72
73
|
read_bulk: "read_bulk";
|
|
73
74
|
run: "run";
|
|
74
75
|
search: "search";
|
|
75
76
|
search_and_write: "search_and_write";
|
|
76
77
|
search_or_write: "search_or_write";
|
|
77
|
-
write: "write";
|
|
78
78
|
}>;
|
|
79
79
|
actionKey: z.ZodString;
|
|
80
80
|
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -4,18 +4,18 @@ import type { ConnectionsPluginProvides } from "../connections";
|
|
|
4
4
|
export declare const listActionInputFieldChoicesPlugin: (sdk: {
|
|
5
5
|
getAction: (options?: {
|
|
6
6
|
app: string;
|
|
7
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
7
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
8
8
|
action: string;
|
|
9
9
|
} | {
|
|
10
10
|
appKey: string;
|
|
11
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
11
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
12
12
|
actionKey: string;
|
|
13
13
|
} | undefined) => Promise<{
|
|
14
14
|
data: {
|
|
15
15
|
description: string;
|
|
16
16
|
key: string;
|
|
17
17
|
app_key: string;
|
|
18
|
-
action_type: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
18
|
+
action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
19
19
|
title: string;
|
|
20
20
|
type: "action";
|
|
21
21
|
id?: string | undefined;
|
|
@@ -44,7 +44,7 @@ export declare const listActionInputFieldChoicesPlugin: (sdk: {
|
|
|
44
44
|
}) => {
|
|
45
45
|
listActionInputFieldChoices: (options?: (({
|
|
46
46
|
app: string;
|
|
47
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
47
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
48
48
|
action: string;
|
|
49
49
|
inputField: string;
|
|
50
50
|
connection?: string | number | undefined;
|
|
@@ -57,7 +57,7 @@ export declare const listActionInputFieldChoicesPlugin: (sdk: {
|
|
|
57
57
|
cursor?: string | undefined;
|
|
58
58
|
} | {
|
|
59
59
|
appKey: string;
|
|
60
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
60
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
61
61
|
actionKey: string;
|
|
62
62
|
inputFieldKey: string;
|
|
63
63
|
connection?: string | number | undefined;
|
|
@@ -13,13 +13,13 @@ export declare const ListActionInputFieldChoicesSchema: z.ZodObject<{
|
|
|
13
13
|
};
|
|
14
14
|
actionType: z.ZodEnum<{
|
|
15
15
|
filter: "filter";
|
|
16
|
+
write: "write";
|
|
16
17
|
read: "read";
|
|
17
18
|
read_bulk: "read_bulk";
|
|
18
19
|
run: "run";
|
|
19
20
|
search: "search";
|
|
20
21
|
search_and_write: "search_and_write";
|
|
21
22
|
search_or_write: "search_or_write";
|
|
22
|
-
write: "write";
|
|
23
23
|
}>;
|
|
24
24
|
action: z.ZodString & {
|
|
25
25
|
_def: z.core.$ZodStringDef & import("../..").PositionalMetadata;
|
|
@@ -42,13 +42,13 @@ declare const ListActionInputFieldChoicesSchemaDeprecated: z.ZodObject<{
|
|
|
42
42
|
};
|
|
43
43
|
actionType: z.ZodEnum<{
|
|
44
44
|
filter: "filter";
|
|
45
|
+
write: "write";
|
|
45
46
|
read: "read";
|
|
46
47
|
read_bulk: "read_bulk";
|
|
47
48
|
run: "run";
|
|
48
49
|
search: "search";
|
|
49
50
|
search_and_write: "search_and_write";
|
|
50
51
|
search_or_write: "search_or_write";
|
|
51
|
-
write: "write";
|
|
52
52
|
}>;
|
|
53
53
|
actionKey: z.ZodString;
|
|
54
54
|
inputFieldKey: z.ZodString;
|
|
@@ -67,13 +67,13 @@ export declare const ListActionInputFieldChoicesInputSchema: z.ZodUnion<readonly
|
|
|
67
67
|
};
|
|
68
68
|
actionType: z.ZodEnum<{
|
|
69
69
|
filter: "filter";
|
|
70
|
+
write: "write";
|
|
70
71
|
read: "read";
|
|
71
72
|
read_bulk: "read_bulk";
|
|
72
73
|
run: "run";
|
|
73
74
|
search: "search";
|
|
74
75
|
search_and_write: "search_and_write";
|
|
75
76
|
search_or_write: "search_or_write";
|
|
76
|
-
write: "write";
|
|
77
77
|
}>;
|
|
78
78
|
action: z.ZodString & {
|
|
79
79
|
_def: z.core.$ZodStringDef & import("../..").PositionalMetadata;
|
|
@@ -95,13 +95,13 @@ export declare const ListActionInputFieldChoicesInputSchema: z.ZodUnion<readonly
|
|
|
95
95
|
};
|
|
96
96
|
actionType: z.ZodEnum<{
|
|
97
97
|
filter: "filter";
|
|
98
|
+
write: "write";
|
|
98
99
|
read: "read";
|
|
99
100
|
read_bulk: "read_bulk";
|
|
100
101
|
run: "run";
|
|
101
102
|
search: "search";
|
|
102
103
|
search_and_write: "search_and_write";
|
|
103
104
|
search_or_write: "search_or_write";
|
|
104
|
-
write: "write";
|
|
105
105
|
}>;
|
|
106
106
|
actionKey: z.ZodString;
|
|
107
107
|
inputFieldKey: z.ZodString;
|
|
@@ -71,18 +71,18 @@ export declare const listActionInputFieldsPlugin: (sdk: {
|
|
|
71
71
|
} & {
|
|
72
72
|
getAction: (options?: {
|
|
73
73
|
app: string;
|
|
74
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
74
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
75
75
|
action: string;
|
|
76
76
|
} | {
|
|
77
77
|
appKey: string;
|
|
78
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
78
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
79
79
|
actionKey: string;
|
|
80
80
|
} | undefined) => Promise<{
|
|
81
81
|
data: {
|
|
82
82
|
description: string;
|
|
83
83
|
key: string;
|
|
84
84
|
app_key: string;
|
|
85
|
-
action_type: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
85
|
+
action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
86
86
|
title: string;
|
|
87
87
|
type: "action";
|
|
88
88
|
id?: string | undefined;
|
|
@@ -111,7 +111,7 @@ export declare const listActionInputFieldsPlugin: (sdk: {
|
|
|
111
111
|
}) => {
|
|
112
112
|
listActionInputFields: (options?: (({
|
|
113
113
|
app: string;
|
|
114
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
114
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
115
115
|
action: string;
|
|
116
116
|
connection?: string | number | undefined;
|
|
117
117
|
connectionId?: string | number | null | undefined;
|
|
@@ -122,7 +122,7 @@ export declare const listActionInputFieldsPlugin: (sdk: {
|
|
|
122
122
|
cursor?: string | undefined;
|
|
123
123
|
} | {
|
|
124
124
|
appKey: string;
|
|
125
|
-
actionType: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
125
|
+
actionType: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
126
126
|
actionKey: string;
|
|
127
127
|
connection?: string | number | undefined;
|
|
128
128
|
connectionId?: string | number | null | undefined;
|
|
@@ -7,13 +7,13 @@ export declare const ListActionInputFieldsSchema: z.ZodObject<{
|
|
|
7
7
|
};
|
|
8
8
|
actionType: z.ZodEnum<{
|
|
9
9
|
filter: "filter";
|
|
10
|
+
write: "write";
|
|
10
11
|
read: "read";
|
|
11
12
|
read_bulk: "read_bulk";
|
|
12
13
|
run: "run";
|
|
13
14
|
search: "search";
|
|
14
15
|
search_and_write: "search_and_write";
|
|
15
16
|
search_or_write: "search_or_write";
|
|
16
|
-
write: "write";
|
|
17
17
|
}>;
|
|
18
18
|
action: z.ZodString & {
|
|
19
19
|
_def: z.core.$ZodStringDef & import("../..").PositionalMetadata;
|
|
@@ -32,13 +32,13 @@ declare const ListActionInputFieldsSchemaDeprecated: z.ZodObject<{
|
|
|
32
32
|
};
|
|
33
33
|
actionType: z.ZodEnum<{
|
|
34
34
|
filter: "filter";
|
|
35
|
+
write: "write";
|
|
35
36
|
read: "read";
|
|
36
37
|
read_bulk: "read_bulk";
|
|
37
38
|
run: "run";
|
|
38
39
|
search: "search";
|
|
39
40
|
search_and_write: "search_and_write";
|
|
40
41
|
search_or_write: "search_or_write";
|
|
41
|
-
write: "write";
|
|
42
42
|
}>;
|
|
43
43
|
actionKey: z.ZodString;
|
|
44
44
|
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -55,13 +55,13 @@ export declare const ListActionInputFieldsInputSchema: z.ZodUnion<readonly [z.Zo
|
|
|
55
55
|
};
|
|
56
56
|
actionType: z.ZodEnum<{
|
|
57
57
|
filter: "filter";
|
|
58
|
+
write: "write";
|
|
58
59
|
read: "read";
|
|
59
60
|
read_bulk: "read_bulk";
|
|
60
61
|
run: "run";
|
|
61
62
|
search: "search";
|
|
62
63
|
search_and_write: "search_and_write";
|
|
63
64
|
search_or_write: "search_or_write";
|
|
64
|
-
write: "write";
|
|
65
65
|
}>;
|
|
66
66
|
action: z.ZodString & {
|
|
67
67
|
_def: z.core.$ZodStringDef & import("../..").PositionalMetadata;
|
|
@@ -79,13 +79,13 @@ export declare const ListActionInputFieldsInputSchema: z.ZodUnion<readonly [z.Zo
|
|
|
79
79
|
};
|
|
80
80
|
actionType: z.ZodEnum<{
|
|
81
81
|
filter: "filter";
|
|
82
|
+
write: "write";
|
|
82
83
|
read: "read";
|
|
83
84
|
read_bulk: "read_bulk";
|
|
84
85
|
run: "run";
|
|
85
86
|
search: "search";
|
|
86
87
|
search_and_write: "search_and_write";
|
|
87
88
|
search_or_write: "search_or_write";
|
|
88
|
-
write: "write";
|
|
89
89
|
}>;
|
|
90
90
|
actionKey: z.ZodString;
|
|
91
91
|
connection: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -45,13 +45,13 @@ export declare const listActionsPlugin: (sdk: {
|
|
|
45
45
|
}) => {
|
|
46
46
|
listActions: (options?: (({
|
|
47
47
|
app: string;
|
|
48
|
-
actionType?: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" |
|
|
48
|
+
actionType?: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined;
|
|
49
49
|
pageSize?: number | undefined;
|
|
50
50
|
maxItems?: number | undefined;
|
|
51
51
|
cursor?: string | undefined;
|
|
52
52
|
} | {
|
|
53
53
|
appKey: string;
|
|
54
|
-
actionType?: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" |
|
|
54
|
+
actionType?: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write" | undefined;
|
|
55
55
|
pageSize?: number | undefined;
|
|
56
56
|
maxItems?: number | undefined;
|
|
57
57
|
cursor?: string | undefined;
|
|
@@ -63,7 +63,7 @@ export declare const listActionsPlugin: (sdk: {
|
|
|
63
63
|
description: string;
|
|
64
64
|
key: string;
|
|
65
65
|
app_key: string;
|
|
66
|
-
action_type: "filter" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write"
|
|
66
|
+
action_type: "filter" | "write" | "read" | "read_bulk" | "run" | "search" | "search_and_write" | "search_or_write";
|
|
67
67
|
title: string;
|
|
68
68
|
type: "action";
|
|
69
69
|
id?: string | undefined;
|