@zapier/zapier-sdk 0.6.3 → 0.8.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 +18 -0
- package/README.md +73 -41
- package/dist/api/schemas.d.ts +114 -0
- package/dist/api/schemas.d.ts.map +1 -1
- package/dist/api/schemas.js +45 -0
- package/dist/api/types.d.ts +5 -1
- package/dist/api/types.d.ts.map +1 -1
- package/dist/index.cjs +2208 -2022
- package/dist/index.d.mts +327 -10
- package/dist/index.d.ts +18 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -1
- package/dist/index.mjs +2191 -2024
- package/dist/plugins/findFirstAuthentication/index.test.js +3 -3
- package/dist/plugins/findFirstAuthentication/schemas.d.ts +3 -3
- package/dist/plugins/findFirstAuthentication/schemas.js +1 -1
- package/dist/plugins/findUniqueAuthentication/index.test.js +3 -3
- package/dist/plugins/findUniqueAuthentication/schemas.d.ts +3 -3
- package/dist/plugins/findUniqueAuthentication/schemas.js +1 -1
- package/dist/plugins/getProfile/index.js +1 -1
- package/dist/plugins/listAuthentications/index.d.ts.map +1 -1
- package/dist/plugins/listAuthentications/index.js +2 -3
- package/dist/plugins/listAuthentications/index.test.js +5 -5
- package/dist/plugins/listAuthentications/schemas.d.ts +3 -3
- package/dist/plugins/listAuthentications/schemas.js +1 -1
- package/dist/plugins/listInputFieldChoices/index.d.ts +28 -0
- package/dist/plugins/listInputFieldChoices/index.d.ts.map +1 -0
- package/dist/plugins/listInputFieldChoices/index.js +78 -0
- package/dist/plugins/listInputFieldChoices/index.test.d.ts +2 -0
- package/dist/plugins/listInputFieldChoices/index.test.d.ts.map +1 -0
- package/dist/plugins/listInputFieldChoices/index.test.js +537 -0
- package/dist/plugins/listInputFieldChoices/schemas.d.ts +61 -0
- package/dist/plugins/listInputFieldChoices/schemas.d.ts.map +1 -0
- package/dist/plugins/listInputFieldChoices/schemas.js +73 -0
- package/dist/plugins/registry/index.js +3 -3
- package/dist/sdk.d.ts +93 -0
- package/dist/sdk.d.ts.map +1 -1
- package/dist/sdk.js +7 -2
- package/package.json +1 -1
- package/src/api/schemas.ts +62 -0
- package/src/api/types.ts +14 -0
- package/src/index.ts +25 -1
- package/src/plugins/findFirstAuthentication/index.test.ts +3 -3
- package/src/plugins/findFirstAuthentication/schemas.ts +1 -1
- package/src/plugins/findUniqueAuthentication/index.test.ts +3 -3
- package/src/plugins/findUniqueAuthentication/schemas.ts +1 -1
- package/src/plugins/getProfile/index.ts +1 -1
- package/src/plugins/listAuthentications/index.test.ts +5 -5
- package/src/plugins/listAuthentications/index.ts +2 -3
- package/src/plugins/listAuthentications/schemas.ts +1 -1
- package/src/plugins/listInputFieldChoices/index.test.ts +653 -0
- package/src/plugins/listInputFieldChoices/index.ts +152 -0
- package/src/plugins/listInputFieldChoices/schemas.ts +139 -0
- package/src/plugins/registry/index.ts +3 -3
- package/src/sdk.ts +8 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @zapier/zapier-sdk
|
|
2
2
|
|
|
3
|
+
## 0.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 3a39eee: Add listInputFieldChoices method
|
|
8
|
+
|
|
9
|
+
## 0.7.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 096d674: Changed incorrect account_id parameter to accountId. Also made sure all CLI parameters are documented as kebab-case.
|
|
14
|
+
|
|
15
|
+
## 0.6.4
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 4315531: All CLI commands are now just local plugins used to build a CLI specific SDK, and that CLI specific SDK is used to generate the CLI docs.
|
|
20
|
+
|
|
3
21
|
## 0.6.3
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -7,9 +7,12 @@
|
|
|
7
7
|
- [Installation](#installation)
|
|
8
8
|
- [Quick Start](#quick-start)
|
|
9
9
|
- [Available Functions](#available-functions)
|
|
10
|
+
- [Accounts](#accounts)
|
|
11
|
+
- [`getProfile`](#getprofile)
|
|
10
12
|
- [Actions](#actions)
|
|
11
13
|
- [`getAction`](#getaction)
|
|
12
14
|
- [`listActions`](#listactions)
|
|
15
|
+
- [`listInputFieldChoices`](#listinputfieldchoices)
|
|
13
16
|
- [`listInputFields`](#listinputfields)
|
|
14
17
|
- [`runAction`](#runaction)
|
|
15
18
|
- [Apps](#apps)
|
|
@@ -22,8 +25,6 @@
|
|
|
22
25
|
- [`listAuthentications`](#listauthentications)
|
|
23
26
|
- [HTTP Requests](#http-requests)
|
|
24
27
|
- [`request`](#request)
|
|
25
|
-
- [Users](#users)
|
|
26
|
-
- [`getProfile`](#getprofile)
|
|
27
28
|
- [Utilities](#utilities)
|
|
28
29
|
- [`lockVersion`](#lockversion)
|
|
29
30
|
|
|
@@ -59,6 +60,22 @@ const result = await sdk.runAction({
|
|
|
59
60
|
|
|
60
61
|
## Available Functions
|
|
61
62
|
|
|
63
|
+
### Accounts
|
|
64
|
+
|
|
65
|
+
#### `getProfile`
|
|
66
|
+
|
|
67
|
+
Get current user's profile information
|
|
68
|
+
|
|
69
|
+
**Parameters:** None
|
|
70
|
+
|
|
71
|
+
**Returns:** `Promise<UserProfile>`
|
|
72
|
+
|
|
73
|
+
**Example:**
|
|
74
|
+
|
|
75
|
+
```typescript
|
|
76
|
+
const result = await sdk.getProfile();
|
|
77
|
+
```
|
|
78
|
+
|
|
62
79
|
### Actions
|
|
63
80
|
|
|
64
81
|
#### `getAction`
|
|
@@ -108,6 +125,37 @@ const result = await sdk.listActions({
|
|
|
108
125
|
});
|
|
109
126
|
```
|
|
110
127
|
|
|
128
|
+
#### `listInputFieldChoices`
|
|
129
|
+
|
|
130
|
+
Get the available choices for a dynamic dropdown input field
|
|
131
|
+
|
|
132
|
+
**Parameters:**
|
|
133
|
+
|
|
134
|
+
| Name | Type | Required | Default | Possible Values | Description |
|
|
135
|
+
| ------------------ | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
|
|
136
|
+
| `appKey` | `string` | ✅ | — | — | App key (e.g., 'SlackCLIAPI') |
|
|
137
|
+
| `actionType` | `string` | ✅ | — | `read`, `read_bulk`, `write`, `run`, `search`, `search_or_write`, `search_and_write`, `filter` | Action type that matches the action's defined type |
|
|
138
|
+
| `actionKey` | `string` | ✅ | — | — | Action key to execute |
|
|
139
|
+
| `inputFieldKey` | `string` | ✅ | — | — | Input field key to get choices for. |
|
|
140
|
+
| `authenticationId` | `string` | ❌ | — | — | Authentication ID to use for this action |
|
|
141
|
+
| `inputs` | `object` | ❌ | — | — | Current input values that may affect available choices |
|
|
142
|
+
| `page` | `number` | ❌ | — | — | Page number for paginated results |
|
|
143
|
+
| `pageSize` | `number` | ❌ | — | — | Number of choices per page |
|
|
144
|
+
| `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
|
|
145
|
+
|
|
146
|
+
**Returns:** `Promise<PaginatedResult<InputFieldChoiceItem>>`
|
|
147
|
+
|
|
148
|
+
**Example:**
|
|
149
|
+
|
|
150
|
+
```typescript
|
|
151
|
+
const result = await sdk.listInputFieldChoices({
|
|
152
|
+
appKey: "example-key",
|
|
153
|
+
actionType: "read",
|
|
154
|
+
actionKey: "example-key",
|
|
155
|
+
inputFieldKey: "example-key",
|
|
156
|
+
});
|
|
157
|
+
```
|
|
158
|
+
|
|
111
159
|
#### `listInputFields`
|
|
112
160
|
|
|
113
161
|
Get the input fields required for a specific action
|
|
@@ -215,13 +263,13 @@ Find the first authentication matching the criteria
|
|
|
215
263
|
|
|
216
264
|
**Parameters:**
|
|
217
265
|
|
|
218
|
-
| Name
|
|
219
|
-
|
|
|
220
|
-
| `appKey`
|
|
221
|
-
| `search`
|
|
222
|
-
| `title`
|
|
223
|
-
| `
|
|
224
|
-
| `owner`
|
|
266
|
+
| Name | Type | Required | Default | Possible Values | Description |
|
|
267
|
+
| ----------- | -------- | -------- | ------- | --------------- | ------------------------------------------------------- |
|
|
268
|
+
| `appKey` | `string` | ❌ | — | — | App key of authentication to find (e.g., 'SlackCLIAPI') |
|
|
269
|
+
| `search` | `string` | ❌ | — | — | Search term to filter authentications by title |
|
|
270
|
+
| `title` | `string` | ❌ | — | — | Filter authentications by exact title match |
|
|
271
|
+
| `accountId` | `string` | ❌ | — | — | Filter by account ID |
|
|
272
|
+
| `owner` | `string` | ❌ | — | — | Filter by owner |
|
|
225
273
|
|
|
226
274
|
**Returns:** `Promise<Authentication | null>`
|
|
227
275
|
|
|
@@ -237,13 +285,13 @@ Find a unique authentication matching the criteria
|
|
|
237
285
|
|
|
238
286
|
**Parameters:**
|
|
239
287
|
|
|
240
|
-
| Name
|
|
241
|
-
|
|
|
242
|
-
| `appKey`
|
|
243
|
-
| `search`
|
|
244
|
-
| `title`
|
|
245
|
-
| `
|
|
246
|
-
| `owner`
|
|
288
|
+
| Name | Type | Required | Default | Possible Values | Description |
|
|
289
|
+
| ----------- | -------- | -------- | ------- | --------------- | ------------------------------------------------------- |
|
|
290
|
+
| `appKey` | `string` | ❌ | — | — | App key of authentication to find (e.g., 'SlackCLIAPI') |
|
|
291
|
+
| `search` | `string` | ❌ | — | — | Search term to filter authentications by title |
|
|
292
|
+
| `title` | `string` | ❌ | — | — | Filter authentications by exact title match |
|
|
293
|
+
| `accountId` | `string` | ❌ | — | — | Filter by account ID |
|
|
294
|
+
| `owner` | `string` | ❌ | — | — | Filter by owner |
|
|
247
295
|
|
|
248
296
|
**Returns:** `Promise<Authentication | null>`
|
|
249
297
|
|
|
@@ -279,15 +327,15 @@ List available authentications with optional filtering
|
|
|
279
327
|
|
|
280
328
|
**Parameters:**
|
|
281
329
|
|
|
282
|
-
| Name
|
|
283
|
-
|
|
|
284
|
-
| `appKey`
|
|
285
|
-
| `search`
|
|
286
|
-
| `title`
|
|
287
|
-
| `
|
|
288
|
-
| `owner`
|
|
289
|
-
| `pageSize`
|
|
290
|
-
| `maxItems`
|
|
330
|
+
| Name | Type | Required | Default | Possible Values | Description |
|
|
331
|
+
| ----------- | -------- | -------- | ------- | --------------- | -------------------------------------------------------- |
|
|
332
|
+
| `appKey` | `string` | ❌ | — | — | App key of authentications to list (e.g., 'SlackCLIAPI') |
|
|
333
|
+
| `search` | `string` | ❌ | — | — | Search term to filter authentications by title |
|
|
334
|
+
| `title` | `string` | ❌ | — | — | Filter authentications by exact title match |
|
|
335
|
+
| `accountId` | `string` | ❌ | — | — | Filter by account ID |
|
|
336
|
+
| `owner` | `string` | ❌ | — | — | Filter by owner |
|
|
337
|
+
| `pageSize` | `number` | ❌ | — | — | Number of authentications per page |
|
|
338
|
+
| `maxItems` | `number` | ❌ | — | — | Maximum total items to return across all pages |
|
|
291
339
|
|
|
292
340
|
**Returns:** `Promise<PaginatedResult<Authentication>>`
|
|
293
341
|
|
|
@@ -326,22 +374,6 @@ const result = await sdk.request({
|
|
|
326
374
|
});
|
|
327
375
|
```
|
|
328
376
|
|
|
329
|
-
### Users
|
|
330
|
-
|
|
331
|
-
#### `getProfile`
|
|
332
|
-
|
|
333
|
-
Get current user's profile information
|
|
334
|
-
|
|
335
|
-
**Parameters:** None
|
|
336
|
-
|
|
337
|
-
**Returns:** `Promise<UserProfile>`
|
|
338
|
-
|
|
339
|
-
**Example:**
|
|
340
|
-
|
|
341
|
-
```typescript
|
|
342
|
-
const result = await sdk.getProfile();
|
|
343
|
-
```
|
|
344
|
-
|
|
345
377
|
### Utilities
|
|
346
378
|
|
|
347
379
|
#### `lockVersion`
|
package/dist/api/schemas.d.ts
CHANGED
|
@@ -2470,4 +2470,118 @@ export declare const ImplementationsMetaResponseSchema: z.ZodObject<{
|
|
|
2470
2470
|
next?: string | null | undefined;
|
|
2471
2471
|
previous?: string | null | undefined;
|
|
2472
2472
|
}>;
|
|
2473
|
+
export declare const NeedChoicesResponseMetaSchema: z.ZodObject<{
|
|
2474
|
+
page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2475
|
+
}, "strip", z.ZodTypeAny, {
|
|
2476
|
+
page?: string | null | undefined;
|
|
2477
|
+
}, {
|
|
2478
|
+
page?: string | null | undefined;
|
|
2479
|
+
}>;
|
|
2480
|
+
export declare const NeedChoicesResponseLinksSchema: z.ZodObject<{
|
|
2481
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2482
|
+
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2483
|
+
}, "strip", z.ZodTypeAny, {
|
|
2484
|
+
next?: string | null | undefined;
|
|
2485
|
+
prev?: string | null | undefined;
|
|
2486
|
+
}, {
|
|
2487
|
+
next?: string | null | undefined;
|
|
2488
|
+
prev?: string | null | undefined;
|
|
2489
|
+
}>;
|
|
2490
|
+
export declare const NeedChoicesRequestSchema: z.ZodObject<{
|
|
2491
|
+
selected_api: z.ZodOptional<z.ZodString>;
|
|
2492
|
+
authentication_id: z.ZodOptional<z.ZodNumber>;
|
|
2493
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2494
|
+
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
2495
|
+
prefill: z.ZodOptional<z.ZodString>;
|
|
2496
|
+
action_id: z.ZodOptional<z.ZodString>;
|
|
2497
|
+
input_field_id: z.ZodOptional<z.ZodString>;
|
|
2498
|
+
}, "strip", z.ZodTypeAny, {
|
|
2499
|
+
page: number;
|
|
2500
|
+
params?: Record<string, any> | undefined;
|
|
2501
|
+
prefill?: string | undefined;
|
|
2502
|
+
selected_api?: string | undefined;
|
|
2503
|
+
authentication_id?: number | undefined;
|
|
2504
|
+
action_id?: string | undefined;
|
|
2505
|
+
input_field_id?: string | undefined;
|
|
2506
|
+
}, {
|
|
2507
|
+
params?: Record<string, any> | undefined;
|
|
2508
|
+
prefill?: string | undefined;
|
|
2509
|
+
selected_api?: string | undefined;
|
|
2510
|
+
authentication_id?: number | undefined;
|
|
2511
|
+
page?: number | undefined;
|
|
2512
|
+
action_id?: string | undefined;
|
|
2513
|
+
input_field_id?: string | undefined;
|
|
2514
|
+
}>;
|
|
2515
|
+
export declare const NeedChoicesResponseSchema: z.ZodObject<{
|
|
2516
|
+
success: z.ZodBoolean;
|
|
2517
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2518
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2519
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2520
|
+
sample: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
value: z.ZodOptional<z.ZodString>;
|
|
2522
|
+
}, "strip", z.ZodTypeAny, {
|
|
2523
|
+
value?: string | undefined;
|
|
2524
|
+
key?: string | undefined;
|
|
2525
|
+
label?: string | undefined;
|
|
2526
|
+
sample?: string | undefined;
|
|
2527
|
+
}, {
|
|
2528
|
+
value?: string | undefined;
|
|
2529
|
+
key?: string | undefined;
|
|
2530
|
+
label?: string | undefined;
|
|
2531
|
+
sample?: string | undefined;
|
|
2532
|
+
}>, "many">>;
|
|
2533
|
+
next_page: z.ZodOptional<z.ZodNumber>;
|
|
2534
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2535
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2536
|
+
page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2537
|
+
}, "strip", z.ZodTypeAny, {
|
|
2538
|
+
page?: string | null | undefined;
|
|
2539
|
+
}, {
|
|
2540
|
+
page?: string | null | undefined;
|
|
2541
|
+
}>>;
|
|
2542
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
2543
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2544
|
+
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2545
|
+
}, "strip", z.ZodTypeAny, {
|
|
2546
|
+
next?: string | null | undefined;
|
|
2547
|
+
prev?: string | null | undefined;
|
|
2548
|
+
}, {
|
|
2549
|
+
next?: string | null | undefined;
|
|
2550
|
+
prev?: string | null | undefined;
|
|
2551
|
+
}>>;
|
|
2552
|
+
}, "strip", z.ZodTypeAny, {
|
|
2553
|
+
success: boolean;
|
|
2554
|
+
choices?: {
|
|
2555
|
+
value?: string | undefined;
|
|
2556
|
+
key?: string | undefined;
|
|
2557
|
+
label?: string | undefined;
|
|
2558
|
+
sample?: string | undefined;
|
|
2559
|
+
}[] | undefined;
|
|
2560
|
+
meta?: {
|
|
2561
|
+
page?: string | null | undefined;
|
|
2562
|
+
} | undefined;
|
|
2563
|
+
links?: {
|
|
2564
|
+
next?: string | null | undefined;
|
|
2565
|
+
prev?: string | null | undefined;
|
|
2566
|
+
} | undefined;
|
|
2567
|
+
errors?: string[] | undefined;
|
|
2568
|
+
next_page?: number | undefined;
|
|
2569
|
+
}, {
|
|
2570
|
+
success: boolean;
|
|
2571
|
+
choices?: {
|
|
2572
|
+
value?: string | undefined;
|
|
2573
|
+
key?: string | undefined;
|
|
2574
|
+
label?: string | undefined;
|
|
2575
|
+
sample?: string | undefined;
|
|
2576
|
+
}[] | undefined;
|
|
2577
|
+
meta?: {
|
|
2578
|
+
page?: string | null | undefined;
|
|
2579
|
+
} | undefined;
|
|
2580
|
+
links?: {
|
|
2581
|
+
next?: string | null | undefined;
|
|
2582
|
+
prev?: string | null | undefined;
|
|
2583
|
+
} | undefined;
|
|
2584
|
+
errors?: string[] | undefined;
|
|
2585
|
+
next_page?: number | undefined;
|
|
2586
|
+
}>;
|
|
2473
2587
|
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/api/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AAMH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;EAK5B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK5C,CAAC;AAMH,eAAO,MAAM,6BAA6B;;;;;;EAExC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;EAGzC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;EAsCnC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAC"}
|
package/dist/api/schemas.js
CHANGED
|
@@ -353,3 +353,48 @@ export const ImplementationsMetaResponseSchema = z.object({
|
|
|
353
353
|
previous: z.string().nullable().optional(),
|
|
354
354
|
results: z.array(ImplementationMetaSchema),
|
|
355
355
|
});
|
|
356
|
+
// ============================================================================
|
|
357
|
+
// Need Choices Schemas (for listInputFieldChoices functionality)
|
|
358
|
+
// ============================================================================
|
|
359
|
+
export const NeedChoicesResponseMetaSchema = z.object({
|
|
360
|
+
page: z.string().nullable().optional(),
|
|
361
|
+
});
|
|
362
|
+
export const NeedChoicesResponseLinksSchema = z.object({
|
|
363
|
+
next: z.string().nullable().optional(),
|
|
364
|
+
prev: z.string().nullable().optional(),
|
|
365
|
+
});
|
|
366
|
+
export const NeedChoicesRequestSchema = z.object({
|
|
367
|
+
selected_api: z
|
|
368
|
+
.string()
|
|
369
|
+
.optional()
|
|
370
|
+
.describe("Something like `SlackAPI` (for Python apps) or `SplitwiseCLIAPI@1.0.0` (for CLI apps). Non-public apps are fine as long as the authed user can access them."),
|
|
371
|
+
authentication_id: z
|
|
372
|
+
.number()
|
|
373
|
+
.optional()
|
|
374
|
+
.describe("If the app needs auth, provide an `authentication_id` that has the `selected_api` of the app you want to run. Can be any auth visible to the user (including shared)."),
|
|
375
|
+
params: z
|
|
376
|
+
.record(z.any())
|
|
377
|
+
.optional()
|
|
378
|
+
.describe("Object that matches the input the node would normally get. Has all the same keys/types as the `needs` of the action."),
|
|
379
|
+
page: z.number().optional().default(0),
|
|
380
|
+
prefill: z
|
|
381
|
+
.string()
|
|
382
|
+
.optional()
|
|
383
|
+
.describe("The prefill string to indicate what we're fetching choices for. Likely something like `spreadsheet.id.title`. Must be provided alongside `selected_api` if both `action_id` and `input_field_id` are not."),
|
|
384
|
+
action_id: z
|
|
385
|
+
.string()
|
|
386
|
+
.optional()
|
|
387
|
+
.describe("The id that will be used to lookup the Action for prefill lookup. If provided, `input_field_id` is required, else `prefill` must be provided."),
|
|
388
|
+
input_field_id: z
|
|
389
|
+
.string()
|
|
390
|
+
.optional()
|
|
391
|
+
.describe("The id (key) of the input field (Need) that dynamic choices are being retrieved for. If provided, `action_id` is required, else `prefill` must be provided."),
|
|
392
|
+
});
|
|
393
|
+
export const NeedChoicesResponseSchema = z.object({
|
|
394
|
+
success: z.boolean(),
|
|
395
|
+
choices: z.array(NeedChoicesSchema).optional(),
|
|
396
|
+
next_page: z.number().optional(),
|
|
397
|
+
errors: z.array(z.string()).optional(),
|
|
398
|
+
meta: NeedChoicesResponseMetaSchema.optional(),
|
|
399
|
+
links: NeedChoicesResponseLinksSchema.optional(),
|
|
400
|
+
});
|
package/dist/api/types.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* to ensure a single source of truth and eliminate duplication.
|
|
10
10
|
*/
|
|
11
11
|
import { z } from "zod";
|
|
12
|
-
import { NeedChoicesSchema, NeedSchema, ActionLinksSchema, ActionPermissionsSchema, ActionSchema, ChoiceSchema, FieldSchema, ActionExecutionResultSchema, ActionFieldChoiceSchema, ActionFieldSchema, AuthenticationSchema, AuthenticationsResponseSchema, UserProfileSchema, AppSchema, NeedsRequestSchema, NeedsResponseSchema, ImplementationSchema, ImplementationsResponseSchema, ImplementationMetaSchema, ImplementationsMetaResponseSchema, ServiceSchema, ServicesResponseSchema } from "./schemas";
|
|
12
|
+
import { NeedChoicesSchema, NeedSchema, ActionLinksSchema, ActionPermissionsSchema, ActionSchema, ChoiceSchema, FieldSchema, ActionExecutionResultSchema, ActionFieldChoiceSchema, ActionFieldSchema, AuthenticationSchema, AuthenticationsResponseSchema, UserProfileSchema, AppSchema, NeedsRequestSchema, NeedsResponseSchema, ImplementationSchema, ImplementationsResponseSchema, ImplementationMetaSchema, ImplementationsMetaResponseSchema, ServiceSchema, ServicesResponseSchema, NeedChoicesRequestSchema, NeedChoicesResponseSchema, NeedChoicesResponseMetaSchema, NeedChoicesResponseLinksSchema } from "./schemas";
|
|
13
13
|
export interface ApiClientOptions {
|
|
14
14
|
baseUrl: string;
|
|
15
15
|
token?: string;
|
|
@@ -72,4 +72,8 @@ export type Implementation = z.infer<typeof ImplementationSchema>;
|
|
|
72
72
|
export type ImplementationsResponse = z.infer<typeof ImplementationsResponseSchema>;
|
|
73
73
|
export type ImplementationMeta = z.infer<typeof ImplementationMetaSchema>;
|
|
74
74
|
export type ImplementationsMetaResponse = z.infer<typeof ImplementationsMetaResponseSchema>;
|
|
75
|
+
export type NeedChoicesRequest = z.infer<typeof NeedChoicesRequestSchema>;
|
|
76
|
+
export type NeedChoicesResponse = z.infer<typeof NeedChoicesResponseSchema>;
|
|
77
|
+
export type NeedChoicesResponseMeta = z.infer<typeof NeedChoicesResponseMetaSchema>;
|
|
78
|
+
export type NeedChoicesResponseLinks = z.infer<typeof NeedChoicesResponseLinksSchema>;
|
|
75
79
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/api/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,UAAU,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