@zapier/zapier-sdk 0.12.1 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +172 -84
  3. package/dist/api/schemas.d.ts +10 -865
  4. package/dist/api/schemas.d.ts.map +1 -1
  5. package/dist/api/schemas.js +0 -6
  6. package/dist/index.cjs +58 -41
  7. package/dist/index.d.mts +69 -427
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.mjs +58 -41
  11. package/dist/plugins/apps/schemas.d.ts +9 -1
  12. package/dist/plugins/apps/schemas.d.ts.map +1 -1
  13. package/dist/plugins/findFirstAuthentication/schemas.js +1 -1
  14. package/dist/plugins/findUniqueAuthentication/schemas.js +1 -1
  15. package/dist/plugins/getApp/index.test.js +58 -6
  16. package/dist/plugins/getApp/schemas.js +1 -1
  17. package/dist/plugins/getAuthentication/index.test.js +1 -1
  18. package/dist/plugins/listActions/index.d.ts +1 -0
  19. package/dist/plugins/listActions/index.d.ts.map +1 -1
  20. package/dist/plugins/listActions/schemas.d.ts +3 -0
  21. package/dist/plugins/listActions/schemas.d.ts.map +1 -1
  22. package/dist/plugins/listActions/schemas.js +2 -1
  23. package/dist/plugins/listApps/index.d.ts +1 -0
  24. package/dist/plugins/listApps/index.d.ts.map +1 -1
  25. package/dist/plugins/listApps/index.js +18 -10
  26. package/dist/plugins/listApps/schemas.d.ts +3 -0
  27. package/dist/plugins/listApps/schemas.d.ts.map +1 -1
  28. package/dist/plugins/listApps/schemas.js +1 -0
  29. package/dist/plugins/listAuthentications/index.d.ts +1 -0
  30. package/dist/plugins/listAuthentications/index.d.ts.map +1 -1
  31. package/dist/plugins/listAuthentications/schemas.d.ts +3 -0
  32. package/dist/plugins/listAuthentications/schemas.d.ts.map +1 -1
  33. package/dist/plugins/listAuthentications/schemas.js +2 -1
  34. package/dist/plugins/listInputFieldChoices/index.d.ts +1 -0
  35. package/dist/plugins/listInputFieldChoices/index.d.ts.map +1 -1
  36. package/dist/plugins/listInputFieldChoices/schemas.d.ts +3 -0
  37. package/dist/plugins/listInputFieldChoices/schemas.d.ts.map +1 -1
  38. package/dist/plugins/listInputFieldChoices/schemas.js +1 -0
  39. package/dist/plugins/listInputFields/index.d.ts +1 -0
  40. package/dist/plugins/listInputFields/index.d.ts.map +1 -1
  41. package/dist/plugins/listInputFields/schemas.d.ts +3 -0
  42. package/dist/plugins/listInputFields/schemas.d.ts.map +1 -1
  43. package/dist/plugins/listInputFields/schemas.js +1 -0
  44. package/dist/plugins/runAction/index.d.ts +1 -0
  45. package/dist/plugins/runAction/index.d.ts.map +1 -1
  46. package/dist/plugins/runAction/schemas.d.ts +3 -0
  47. package/dist/plugins/runAction/schemas.d.ts.map +1 -1
  48. package/dist/plugins/runAction/schemas.js +1 -0
  49. package/dist/schemas/Action.d.ts +4 -206
  50. package/dist/schemas/Action.d.ts.map +1 -1
  51. package/dist/schemas/Action.js +3 -2
  52. package/dist/schemas/App.d.ts.map +1 -1
  53. package/dist/schemas/App.js +1 -0
  54. package/dist/schemas/Auth.d.ts +10 -10
  55. package/dist/schemas/Auth.js +1 -1
  56. package/dist/types/properties.d.ts.map +1 -1
  57. package/dist/types/properties.js +4 -1
  58. package/dist/utils/domain-utils.d.ts +2 -2
  59. package/dist/utils/domain-utils.d.ts.map +1 -1
  60. package/dist/utils/domain-utils.js +19 -8
  61. package/dist/utils/schema-utils.d.ts +1 -0
  62. package/dist/utils/schema-utils.d.ts.map +1 -1
  63. package/package.json +1 -1
  64. package/src/api/schemas.ts +0 -6
  65. package/src/index.ts +1 -0
  66. package/src/plugins/apps/schemas.ts +7 -1
  67. package/src/plugins/findFirstAuthentication/schemas.ts +1 -1
  68. package/src/plugins/findUniqueAuthentication/schemas.ts +1 -1
  69. package/src/plugins/getApp/index.test.ts +83 -31
  70. package/src/plugins/getApp/schemas.ts +1 -1
  71. package/src/plugins/getAuthentication/index.test.ts +1 -1
  72. package/src/plugins/listActions/index.ts +1 -0
  73. package/src/plugins/listActions/schemas.ts +2 -1
  74. package/src/plugins/listApps/index.ts +23 -11
  75. package/src/plugins/listApps/schemas.ts +1 -0
  76. package/src/plugins/listAuthentications/index.ts +1 -0
  77. package/src/plugins/listAuthentications/schemas.ts +2 -1
  78. package/src/plugins/listInputFieldChoices/index.ts +1 -0
  79. package/src/plugins/listInputFieldChoices/schemas.ts +1 -0
  80. package/src/plugins/listInputFields/index.ts +1 -0
  81. package/src/plugins/listInputFields/schemas.ts +1 -0
  82. package/src/plugins/runAction/index.ts +4 -1
  83. package/src/plugins/runAction/schemas.ts +1 -0
  84. package/src/schemas/Action.ts +3 -2
  85. package/src/schemas/App.ts +1 -0
  86. package/src/schemas/Auth.ts +1 -1
  87. package/src/types/properties.ts +4 -1
  88. package/src/utils/domain-utils.ts +22 -9
  89. package/src/utils/schema-utils.ts +1 -0
  90. package/tsconfig.tsbuildinfo +1 -1
package/dist/index.d.mts CHANGED
@@ -148,231 +148,28 @@ declare const ActionSchema: z.ZodObject<{
148
148
  type: z.ZodEnum<["filter", "read", "read_bulk", "run", "search", "search_and_write", "search_or_write", "write"]>;
149
149
  key: z.ZodString;
150
150
  name: z.ZodString;
151
- noun: z.ZodOptional<z.ZodString>;
152
151
  description: z.ZodString;
153
- description_html: z.ZodOptional<z.ZodString>;
154
152
  is_important: z.ZodOptional<z.ZodBoolean>;
155
153
  is_hidden: z.ZodOptional<z.ZodBoolean>;
156
- needs: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
- key: z.ZodString;
158
- alters_custom_fields: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
159
- capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
160
- choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
161
- key: z.ZodOptional<z.ZodString>;
162
- label: z.ZodOptional<z.ZodString>;
163
- sample: z.ZodOptional<z.ZodString>;
164
- value: z.ZodOptional<z.ZodString>;
165
- }, "strip", z.ZodTypeAny, {
166
- value?: string | undefined;
167
- key?: string | undefined;
168
- label?: string | undefined;
169
- sample?: string | undefined;
170
- }, {
171
- value?: string | undefined;
172
- key?: string | undefined;
173
- label?: string | undefined;
174
- sample?: string | undefined;
175
- }>, "many">>;
176
- computed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
177
- custom_field: z.ZodOptional<z.ZodBoolean>;
178
- default: z.ZodOptional<z.ZodString>;
179
- depends_on: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
180
- format: z.ZodOptional<z.ZodLiteral<"SELECT">>;
181
- from_search: z.ZodOptional<z.ZodBoolean>;
182
- from_write: z.ZodOptional<z.ZodBoolean>;
183
- help_text: z.ZodOptional<z.ZodString>;
184
- help_text_html: z.ZodOptional<z.ZodString>;
185
- input_format: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
186
- label: z.ZodOptional<z.ZodString>;
187
- language: z.ZodOptional<z.ZodString>;
188
- parent_key: z.ZodOptional<z.ZodString>;
189
- placeholder: z.ZodOptional<z.ZodString>;
190
- prefill: z.ZodOptional<z.ZodString>;
191
- required: z.ZodOptional<z.ZodBoolean>;
192
- searchfill: z.ZodOptional<z.ZodString>;
193
- send_in_json: z.ZodOptional<z.ZodBoolean>;
194
- regex: z.ZodOptional<z.ZodString>;
195
- type: z.ZodOptional<z.ZodEnum<["integer", "string", "text", "datetime", "boolean", "file", "decimal", "copy", "password", "dict", "code", "filter", "json"]>>;
196
- list: z.ZodOptional<z.ZodBoolean>;
197
- }, "strip", z.ZodTypeAny, {
198
- key: string;
199
- type?: "string" | "boolean" | "filter" | "code" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
200
- label?: string | undefined;
201
- alters_custom_fields?: boolean | null | undefined;
202
- capabilities?: string[] | undefined;
203
- choices?: {
204
- value?: string | undefined;
205
- key?: string | undefined;
206
- label?: string | undefined;
207
- sample?: string | undefined;
208
- }[] | undefined;
209
- computed?: boolean | null | undefined;
210
- custom_field?: boolean | undefined;
211
- default?: string | undefined;
212
- depends_on?: string[] | undefined;
213
- format?: "SELECT" | undefined;
214
- from_search?: boolean | undefined;
215
- from_write?: boolean | undefined;
216
- help_text?: string | undefined;
217
- help_text_html?: string | undefined;
218
- input_format?: string[] | undefined;
219
- language?: string | undefined;
220
- parent_key?: string | undefined;
221
- placeholder?: string | undefined;
222
- prefill?: string | undefined;
223
- required?: boolean | undefined;
224
- searchfill?: string | undefined;
225
- send_in_json?: boolean | undefined;
226
- regex?: string | undefined;
227
- list?: boolean | undefined;
228
- }, {
229
- key: string;
230
- type?: "string" | "boolean" | "filter" | "code" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
231
- label?: string | undefined;
232
- alters_custom_fields?: boolean | null | undefined;
233
- capabilities?: string[] | undefined;
234
- choices?: {
235
- value?: string | undefined;
236
- key?: string | undefined;
237
- label?: string | undefined;
238
- sample?: string | undefined;
239
- }[] | undefined;
240
- computed?: boolean | null | undefined;
241
- custom_field?: boolean | undefined;
242
- default?: string | undefined;
243
- depends_on?: string[] | undefined;
244
- format?: "SELECT" | undefined;
245
- from_search?: boolean | undefined;
246
- from_write?: boolean | undefined;
247
- help_text?: string | undefined;
248
- help_text_html?: string | undefined;
249
- input_format?: string[] | undefined;
250
- language?: string | undefined;
251
- parent_key?: string | undefined;
252
- placeholder?: string | undefined;
253
- prefill?: string | undefined;
254
- required?: boolean | undefined;
255
- searchfill?: string | undefined;
256
- send_in_json?: boolean | undefined;
257
- regex?: string | undefined;
258
- list?: boolean | undefined;
259
- }>, "many">>;
260
- meta: z.ZodOptional<z.ZodString>;
261
154
  selected_api: z.ZodOptional<z.ZodString>;
262
- links: z.ZodOptional<z.ZodObject<{
263
- action_url: z.ZodOptional<z.ZodString>;
264
- }, "strip", z.ZodTypeAny, {
265
- action_url?: string | undefined;
266
- }, {
267
- action_url?: string | undefined;
268
- }>>;
269
- permissions: z.ZodOptional<z.ZodObject<{
270
- can_use: z.ZodOptional<z.ZodBoolean>;
271
- }, "strip", z.ZodTypeAny, {
272
- can_use?: boolean | undefined;
273
- }, {
274
- can_use?: boolean | undefined;
275
- }>>;
276
155
  }, "strip", z.ZodTypeAny, {
277
156
  type: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
278
157
  key: string;
279
158
  name: string;
280
159
  description: string;
281
160
  id?: string | undefined;
282
- noun?: string | undefined;
283
- description_html?: string | undefined;
284
161
  is_important?: boolean | undefined;
285
162
  is_hidden?: boolean | undefined;
286
- needs?: {
287
- key: string;
288
- type?: "string" | "boolean" | "filter" | "code" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
289
- label?: string | undefined;
290
- alters_custom_fields?: boolean | null | undefined;
291
- capabilities?: string[] | undefined;
292
- choices?: {
293
- value?: string | undefined;
294
- key?: string | undefined;
295
- label?: string | undefined;
296
- sample?: string | undefined;
297
- }[] | undefined;
298
- computed?: boolean | null | undefined;
299
- custom_field?: boolean | undefined;
300
- default?: string | undefined;
301
- depends_on?: string[] | undefined;
302
- format?: "SELECT" | undefined;
303
- from_search?: boolean | undefined;
304
- from_write?: boolean | undefined;
305
- help_text?: string | undefined;
306
- help_text_html?: string | undefined;
307
- input_format?: string[] | undefined;
308
- language?: string | undefined;
309
- parent_key?: string | undefined;
310
- placeholder?: string | undefined;
311
- prefill?: string | undefined;
312
- required?: boolean | undefined;
313
- searchfill?: string | undefined;
314
- send_in_json?: boolean | undefined;
315
- regex?: string | undefined;
316
- list?: boolean | undefined;
317
- }[] | undefined;
318
- meta?: string | undefined;
319
163
  selected_api?: string | undefined;
320
- links?: {
321
- action_url?: string | undefined;
322
- } | undefined;
323
- permissions?: {
324
- can_use?: boolean | undefined;
325
- } | undefined;
326
164
  }, {
327
165
  type: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
328
166
  key: string;
329
167
  name: string;
330
168
  description: string;
331
169
  id?: string | undefined;
332
- noun?: string | undefined;
333
- description_html?: string | undefined;
334
170
  is_important?: boolean | undefined;
335
171
  is_hidden?: boolean | undefined;
336
- needs?: {
337
- key: string;
338
- type?: "string" | "boolean" | "filter" | "code" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
339
- label?: string | undefined;
340
- alters_custom_fields?: boolean | null | undefined;
341
- capabilities?: string[] | undefined;
342
- choices?: {
343
- value?: string | undefined;
344
- key?: string | undefined;
345
- label?: string | undefined;
346
- sample?: string | undefined;
347
- }[] | undefined;
348
- computed?: boolean | null | undefined;
349
- custom_field?: boolean | undefined;
350
- default?: string | undefined;
351
- depends_on?: string[] | undefined;
352
- format?: "SELECT" | undefined;
353
- from_search?: boolean | undefined;
354
- from_write?: boolean | undefined;
355
- help_text?: string | undefined;
356
- help_text_html?: string | undefined;
357
- input_format?: string[] | undefined;
358
- language?: string | undefined;
359
- parent_key?: string | undefined;
360
- placeholder?: string | undefined;
361
- prefill?: string | undefined;
362
- required?: boolean | undefined;
363
- searchfill?: string | undefined;
364
- send_in_json?: boolean | undefined;
365
- regex?: string | undefined;
366
- list?: boolean | undefined;
367
- }[] | undefined;
368
- meta?: string | undefined;
369
172
  selected_api?: string | undefined;
370
- links?: {
371
- action_url?: string | undefined;
372
- } | undefined;
373
- permissions?: {
374
- can_use?: boolean | undefined;
375
- } | undefined;
376
173
  }>;
377
174
  declare const ChoiceSchema: z.ZodObject<{
378
175
  value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
@@ -530,7 +327,6 @@ declare const AuthenticationSchema: z.ZodObject<{
530
327
  shared_with_all: boolean;
531
328
  url?: string | undefined;
532
329
  label?: string | null | undefined;
533
- permissions?: Record<string, boolean> | undefined;
534
330
  lastchanged?: string | undefined;
535
331
  customuser_id?: number | undefined;
536
332
  destination_selected_api?: string | null | undefined;
@@ -541,6 +337,7 @@ declare const AuthenticationSchema: z.ZodObject<{
541
337
  title?: string | null | undefined;
542
338
  groups?: string | undefined;
543
339
  members?: string | undefined;
340
+ permissions?: Record<string, boolean> | undefined;
544
341
  }, {
545
342
  id: number;
546
343
  date: string;
@@ -551,7 +348,6 @@ declare const AuthenticationSchema: z.ZodObject<{
551
348
  shared_with_all: boolean;
552
349
  url?: string | undefined;
553
350
  label?: string | null | undefined;
554
- permissions?: Record<string, boolean> | undefined;
555
351
  lastchanged?: string | undefined;
556
352
  customuser_id?: number | undefined;
557
353
  destination_selected_api?: string | null | undefined;
@@ -562,6 +358,7 @@ declare const AuthenticationSchema: z.ZodObject<{
562
358
  title?: string | null | undefined;
563
359
  groups?: string | undefined;
564
360
  members?: string | undefined;
361
+ permissions?: Record<string, boolean> | undefined;
565
362
  }>;
566
363
  declare const AuthenticationsResponseSchema: z.ZodObject<{
567
364
  count: z.ZodNumber;
@@ -598,7 +395,6 @@ declare const AuthenticationsResponseSchema: z.ZodObject<{
598
395
  shared_with_all: boolean;
599
396
  url?: string | undefined;
600
397
  label?: string | null | undefined;
601
- permissions?: Record<string, boolean> | undefined;
602
398
  lastchanged?: string | undefined;
603
399
  customuser_id?: number | undefined;
604
400
  destination_selected_api?: string | null | undefined;
@@ -609,6 +405,7 @@ declare const AuthenticationsResponseSchema: z.ZodObject<{
609
405
  title?: string | null | undefined;
610
406
  groups?: string | undefined;
611
407
  members?: string | undefined;
408
+ permissions?: Record<string, boolean> | undefined;
612
409
  }, {
613
410
  id: number;
614
411
  date: string;
@@ -619,7 +416,6 @@ declare const AuthenticationsResponseSchema: z.ZodObject<{
619
416
  shared_with_all: boolean;
620
417
  url?: string | undefined;
621
418
  label?: string | null | undefined;
622
- permissions?: Record<string, boolean> | undefined;
623
419
  lastchanged?: string | undefined;
624
420
  customuser_id?: number | undefined;
625
421
  destination_selected_api?: string | null | undefined;
@@ -630,6 +426,7 @@ declare const AuthenticationsResponseSchema: z.ZodObject<{
630
426
  title?: string | null | undefined;
631
427
  groups?: string | undefined;
632
428
  members?: string | undefined;
429
+ permissions?: Record<string, boolean> | undefined;
633
430
  }>, "many">;
634
431
  }, "strip", z.ZodTypeAny, {
635
432
  count: number;
@@ -643,7 +440,6 @@ declare const AuthenticationsResponseSchema: z.ZodObject<{
643
440
  shared_with_all: boolean;
644
441
  url?: string | undefined;
645
442
  label?: string | null | undefined;
646
- permissions?: Record<string, boolean> | undefined;
647
443
  lastchanged?: string | undefined;
648
444
  customuser_id?: number | undefined;
649
445
  destination_selected_api?: string | null | undefined;
@@ -654,6 +450,7 @@ declare const AuthenticationsResponseSchema: z.ZodObject<{
654
450
  title?: string | null | undefined;
655
451
  groups?: string | undefined;
656
452
  members?: string | undefined;
453
+ permissions?: Record<string, boolean> | undefined;
657
454
  }[];
658
455
  next?: string | null | undefined;
659
456
  previous?: string | null | undefined;
@@ -669,7 +466,6 @@ declare const AuthenticationsResponseSchema: z.ZodObject<{
669
466
  shared_with_all: boolean;
670
467
  url?: string | undefined;
671
468
  label?: string | null | undefined;
672
- permissions?: Record<string, boolean> | undefined;
673
469
  lastchanged?: string | undefined;
674
470
  customuser_id?: number | undefined;
675
471
  destination_selected_api?: string | null | undefined;
@@ -680,6 +476,7 @@ declare const AuthenticationsResponseSchema: z.ZodObject<{
680
476
  title?: string | null | undefined;
681
477
  groups?: string | undefined;
682
478
  members?: string | undefined;
479
+ permissions?: Record<string, boolean> | undefined;
683
480
  }[];
684
481
  next?: string | null | undefined;
685
482
  previous?: string | null | undefined;
@@ -1368,6 +1165,7 @@ declare const ListInputFieldsSchema: z.ZodObject<{
1368
1165
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1369
1166
  pageSize: z.ZodOptional<z.ZodNumber>;
1370
1167
  maxItems: z.ZodOptional<z.ZodNumber>;
1168
+ cursor: z.ZodOptional<z.ZodString>;
1371
1169
  }, "strip", z.ZodTypeAny, {
1372
1170
  appKey: string;
1373
1171
  actionType: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
@@ -1376,6 +1174,7 @@ declare const ListInputFieldsSchema: z.ZodObject<{
1376
1174
  inputs?: Record<string, unknown> | undefined;
1377
1175
  pageSize?: number | undefined;
1378
1176
  maxItems?: number | undefined;
1177
+ cursor?: string | undefined;
1379
1178
  }, {
1380
1179
  appKey: string;
1381
1180
  actionType: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
@@ -1384,6 +1183,7 @@ declare const ListInputFieldsSchema: z.ZodObject<{
1384
1183
  inputs?: Record<string, unknown> | undefined;
1385
1184
  pageSize?: number | undefined;
1386
1185
  maxItems?: number | undefined;
1186
+ cursor?: string | undefined;
1387
1187
  }>;
1388
1188
  type ListInputFieldsOptions = z.infer<typeof ListInputFieldsSchema>;
1389
1189
 
@@ -1633,7 +1433,15 @@ declare const AppFactoryInputSchema: z.ZodObject<{
1633
1433
  }>;
1634
1434
  type AppFactoryInput = z.infer<typeof AppFactoryInputSchema>;
1635
1435
  interface BaseActionTypeProxy {
1636
- [action: string]: (options?: ActionExecutionOptions) => unknown;
1436
+ [action: string]: (options?: ActionExecutionOptions) => Promise<{
1437
+ data: any[];
1438
+ nextCursor?: string;
1439
+ }> & AsyncIterable<{
1440
+ data: any[];
1441
+ nextCursor?: string;
1442
+ }> & {
1443
+ items(): AsyncIterable<any>;
1444
+ };
1637
1445
  }
1638
1446
  interface FetchActionType {
1639
1447
  fetch: (url: string | URL, init?: RequestInit & {
@@ -1712,6 +1520,7 @@ declare const RunActionSchema: z.ZodObject<{
1712
1520
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1713
1521
  pageSize: z.ZodOptional<z.ZodNumber>;
1714
1522
  maxItems: z.ZodOptional<z.ZodNumber>;
1523
+ cursor: z.ZodOptional<z.ZodString>;
1715
1524
  }, "strip", z.ZodTypeAny, {
1716
1525
  appKey: string;
1717
1526
  actionType: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
@@ -1720,6 +1529,7 @@ declare const RunActionSchema: z.ZodObject<{
1720
1529
  inputs?: Record<string, unknown> | undefined;
1721
1530
  pageSize?: number | undefined;
1722
1531
  maxItems?: number | undefined;
1532
+ cursor?: string | undefined;
1723
1533
  }, {
1724
1534
  appKey: string;
1725
1535
  actionType: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
@@ -1728,6 +1538,7 @@ declare const RunActionSchema: z.ZodObject<{
1728
1538
  inputs?: Record<string, unknown> | undefined;
1729
1539
  pageSize?: number | undefined;
1730
1540
  maxItems?: number | undefined;
1541
+ cursor?: string | undefined;
1731
1542
  }>;
1732
1543
  type RunActionOptions = z.infer<typeof RunActionSchema>;
1733
1544
 
@@ -1755,16 +1566,19 @@ declare const ListActionsSchema: z.ZodObject<{
1755
1566
  actionType: z.ZodOptional<z.ZodEnum<["read", "read_bulk", "write", "run", "search", "search_or_write", "search_and_write", "filter"]>>;
1756
1567
  pageSize: z.ZodOptional<z.ZodNumber>;
1757
1568
  maxItems: z.ZodOptional<z.ZodNumber>;
1569
+ cursor: z.ZodOptional<z.ZodString>;
1758
1570
  }, "strip", z.ZodTypeAny, {
1759
1571
  appKey: string;
1760
1572
  actionType?: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write" | undefined;
1761
1573
  pageSize?: number | undefined;
1762
1574
  maxItems?: number | undefined;
1575
+ cursor?: string | undefined;
1763
1576
  }, {
1764
1577
  appKey: string;
1765
1578
  actionType?: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write" | undefined;
1766
1579
  pageSize?: number | undefined;
1767
1580
  maxItems?: number | undefined;
1581
+ cursor?: string | undefined;
1768
1582
  }>;
1769
1583
  type ListActionsOptions = z.infer<typeof ListActionsSchema>;
1770
1584
 
@@ -1857,6 +1671,7 @@ declare const manifestPlugin: Plugin<{}, // no SDK dependencies
1857
1671
  interface ListActionsPluginProvides {
1858
1672
  listActions: (options?: ListActionsOptions) => Promise<{
1859
1673
  data: ActionItem$1[];
1674
+ nextCursor?: string;
1860
1675
  }> & AsyncIterable<{
1861
1676
  data: ActionItem$1[];
1862
1677
  nextCursor?: string;
@@ -1910,15 +1725,18 @@ declare const ListAppsSchema: z.ZodObject<{
1910
1725
  search: z.ZodOptional<z.ZodString>;
1911
1726
  pageSize: z.ZodOptional<z.ZodNumber>;
1912
1727
  maxItems: z.ZodOptional<z.ZodNumber>;
1728
+ cursor: z.ZodOptional<z.ZodString>;
1913
1729
  }, "strip", z.ZodTypeAny, {
1914
1730
  search?: string | undefined;
1915
1731
  pageSize?: number | undefined;
1916
1732
  maxItems?: number | undefined;
1733
+ cursor?: string | undefined;
1917
1734
  appKeys?: string[] | undefined;
1918
1735
  }, {
1919
1736
  search?: string | undefined;
1920
1737
  pageSize?: number | undefined;
1921
1738
  maxItems?: number | undefined;
1739
+ cursor?: string | undefined;
1922
1740
  appKeys?: string[] | undefined;
1923
1741
  }>;
1924
1742
  type ListAppsOptions = z.infer<typeof ListAppsSchema>;
@@ -1937,6 +1755,7 @@ ApiPluginProvides>;
1937
1755
  interface ListAppsPluginProvides {
1938
1756
  listApps: (options?: ListAppsOptions) => Promise<{
1939
1757
  data: AppItem[];
1758
+ nextCursor?: string;
1940
1759
  }> & AsyncIterable<{
1941
1760
  data: AppItem[];
1942
1761
  nextCursor?: string;
@@ -1970,6 +1789,7 @@ declare const getAppPlugin: Plugin<GetSdkType<ListAppsPluginProvides>, {}, GetAp
1970
1789
  interface RunActionPluginProvides {
1971
1790
  runAction: (options?: RunActionOptions) => Promise<{
1972
1791
  data: any[];
1792
+ nextCursor?: string;
1973
1793
  }> & AsyncIterable<{
1974
1794
  data: any[];
1975
1795
  nextCursor?: string;
@@ -2012,12 +1832,14 @@ declare const ListAuthenticationsSchema: z.ZodObject<{
2012
1832
  owner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"me">]>>;
2013
1833
  pageSize: z.ZodOptional<z.ZodNumber>;
2014
1834
  maxItems: z.ZodOptional<z.ZodNumber>;
1835
+ cursor: z.ZodOptional<z.ZodString>;
2015
1836
  }, "strip", z.ZodTypeAny, {
2016
1837
  search?: string | undefined;
2017
1838
  title?: string | undefined;
2018
1839
  appKey?: string | undefined;
2019
1840
  pageSize?: number | undefined;
2020
1841
  maxItems?: number | undefined;
1842
+ cursor?: string | undefined;
2021
1843
  accountId?: string | undefined;
2022
1844
  owner?: string | undefined;
2023
1845
  authenticationIds?: string[] | undefined;
@@ -2027,6 +1849,7 @@ declare const ListAuthenticationsSchema: z.ZodObject<{
2027
1849
  appKey?: string | undefined;
2028
1850
  pageSize?: number | undefined;
2029
1851
  maxItems?: number | undefined;
1852
+ cursor?: string | undefined;
2030
1853
  accountId?: string | undefined;
2031
1854
  owner?: string | undefined;
2032
1855
  authenticationIds?: string[] | undefined;
@@ -2036,6 +1859,7 @@ type ListAuthenticationsOptions = z.infer<typeof ListAuthenticationsSchema>;
2036
1859
  interface ListAuthenticationsPluginProvides {
2037
1860
  listAuthentications: (options?: ListAuthenticationsOptions) => Promise<{
2038
1861
  data: AuthenticationItem[];
1862
+ nextCursor?: string;
2039
1863
  }> & AsyncIterable<{
2040
1864
  data: AuthenticationItem[];
2041
1865
  nextCursor?: string;
@@ -2108,6 +1932,7 @@ FindUniqueAuthenticationPluginProvides>;
2108
1932
  interface ListInputFieldsPluginProvides {
2109
1933
  listInputFields: (options?: ListInputFieldsOptions) => Promise<{
2110
1934
  data: RootFieldItem[];
1935
+ nextCursor?: string;
2111
1936
  }> & AsyncIterable<{
2112
1937
  data: RootFieldItem[];
2113
1938
  nextCursor?: string;
@@ -2158,6 +1983,7 @@ declare const ListInputFieldChoicesSchema: z.ZodObject<{
2158
1983
  page: z.ZodOptional<z.ZodNumber>;
2159
1984
  pageSize: z.ZodOptional<z.ZodNumber>;
2160
1985
  maxItems: z.ZodOptional<z.ZodNumber>;
1986
+ cursor: z.ZodOptional<z.ZodString>;
2161
1987
  }, "strip", z.ZodTypeAny, {
2162
1988
  appKey: string;
2163
1989
  actionType: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
@@ -2168,6 +1994,7 @@ declare const ListInputFieldChoicesSchema: z.ZodObject<{
2168
1994
  inputs?: Record<string, unknown> | undefined;
2169
1995
  pageSize?: number | undefined;
2170
1996
  maxItems?: number | undefined;
1997
+ cursor?: string | undefined;
2171
1998
  }, {
2172
1999
  appKey: string;
2173
2000
  actionType: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
@@ -2178,12 +2005,14 @@ declare const ListInputFieldChoicesSchema: z.ZodObject<{
2178
2005
  inputs?: Record<string, unknown> | undefined;
2179
2006
  pageSize?: number | undefined;
2180
2007
  maxItems?: number | undefined;
2008
+ cursor?: string | undefined;
2181
2009
  }>;
2182
2010
  type ListInputFieldChoicesOptions = z.infer<typeof ListInputFieldChoicesSchema>;
2183
2011
 
2184
2012
  interface ListInputFieldChoicesPluginProvides {
2185
2013
  listInputFieldChoices: (options: ListInputFieldChoicesOptions) => Promise<{
2186
2014
  data: InputFieldChoiceItem[];
2015
+ nextCursor?: string;
2187
2016
  }> & AsyncIterable<{
2188
2017
  data: InputFieldChoiceItem[];
2189
2018
  nextCursor?: string;
@@ -2384,6 +2213,21 @@ declare const RootFieldItemSchema: z.ZodUnion<[z.ZodObject<{
2384
2213
  }>, z.ZodType<FieldsetItem, z.ZodTypeDef, FieldsetItem>]>;
2385
2214
  type InputFieldItem$1 = z.infer<typeof InputFieldItemSchema>;
2386
2215
 
2216
+ interface FormattedItem {
2217
+ title: string;
2218
+ id?: string;
2219
+ key?: string;
2220
+ keys?: string[];
2221
+ description?: string;
2222
+ data?: unknown;
2223
+ details: Array<{
2224
+ text: string;
2225
+ style: "normal" | "dim" | "accent" | "warning" | "success";
2226
+ }>;
2227
+ }
2228
+ interface FormatMetadata<TItem = unknown> {
2229
+ format: (item: TItem) => FormattedItem;
2230
+ }
2387
2231
  interface PromptConfig {
2388
2232
  type: "list";
2389
2233
  name: string;
@@ -2635,7 +2479,7 @@ declare const AuthenticationItemSchema: z.ZodObject<Omit<{
2635
2479
  is_expired: z.ZodOptional<z.ZodString>;
2636
2480
  expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2637
2481
  app_key: z.ZodOptional<z.ZodString>;
2638
- version: z.ZodOptional<z.ZodString>;
2482
+ app_version: z.ZodOptional<z.ZodString>;
2639
2483
  user_id: z.ZodOptional<z.ZodNumber>;
2640
2484
  }, "strip", z.ZodTypeAny, {
2641
2485
  id: number;
@@ -2646,7 +2490,6 @@ declare const AuthenticationItemSchema: z.ZodObject<Omit<{
2646
2490
  shared_with_all: boolean;
2647
2491
  url?: string | undefined;
2648
2492
  label?: string | null | undefined;
2649
- permissions?: Record<string, boolean> | undefined;
2650
2493
  lastchanged?: string | undefined;
2651
2494
  destination_selected_api?: string | null | undefined;
2652
2495
  is_stale?: string | undefined;
@@ -2656,12 +2499,13 @@ declare const AuthenticationItemSchema: z.ZodObject<Omit<{
2656
2499
  title?: string | null | undefined;
2657
2500
  groups?: string | undefined;
2658
2501
  members?: string | undefined;
2502
+ permissions?: Record<string, boolean> | undefined;
2659
2503
  user_id?: number | undefined;
2660
- version?: string | undefined;
2661
2504
  implementation_id?: string | undefined;
2662
2505
  is_expired?: string | undefined;
2663
2506
  expired_at?: string | null | undefined;
2664
2507
  app_key?: string | undefined;
2508
+ app_version?: string | undefined;
2665
2509
  }, {
2666
2510
  id: number;
2667
2511
  date: string;
@@ -2671,7 +2515,6 @@ declare const AuthenticationItemSchema: z.ZodObject<Omit<{
2671
2515
  shared_with_all: boolean;
2672
2516
  url?: string | undefined;
2673
2517
  label?: string | null | undefined;
2674
- permissions?: Record<string, boolean> | undefined;
2675
2518
  lastchanged?: string | undefined;
2676
2519
  destination_selected_api?: string | null | undefined;
2677
2520
  is_stale?: string | undefined;
@@ -2681,12 +2524,13 @@ declare const AuthenticationItemSchema: z.ZodObject<Omit<{
2681
2524
  title?: string | null | undefined;
2682
2525
  groups?: string | undefined;
2683
2526
  members?: string | undefined;
2527
+ permissions?: Record<string, boolean> | undefined;
2684
2528
  user_id?: number | undefined;
2685
- version?: string | undefined;
2686
2529
  implementation_id?: string | undefined;
2687
2530
  is_expired?: string | undefined;
2688
2531
  expired_at?: string | null | undefined;
2689
2532
  app_key?: string | undefined;
2533
+ app_version?: string | undefined;
2690
2534
  }>;
2691
2535
  declare const AuthItemSchema: z.ZodObject<Omit<{
2692
2536
  id: z.ZodNumber;
@@ -2714,7 +2558,7 @@ declare const AuthItemSchema: z.ZodObject<Omit<{
2714
2558
  is_expired: z.ZodOptional<z.ZodString>;
2715
2559
  expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2716
2560
  app_key: z.ZodOptional<z.ZodString>;
2717
- version: z.ZodOptional<z.ZodString>;
2561
+ app_version: z.ZodOptional<z.ZodString>;
2718
2562
  user_id: z.ZodOptional<z.ZodNumber>;
2719
2563
  }, "strip", z.ZodTypeAny, {
2720
2564
  id: number;
@@ -2725,7 +2569,6 @@ declare const AuthItemSchema: z.ZodObject<Omit<{
2725
2569
  shared_with_all: boolean;
2726
2570
  url?: string | undefined;
2727
2571
  label?: string | null | undefined;
2728
- permissions?: Record<string, boolean> | undefined;
2729
2572
  lastchanged?: string | undefined;
2730
2573
  destination_selected_api?: string | null | undefined;
2731
2574
  is_stale?: string | undefined;
@@ -2735,12 +2578,13 @@ declare const AuthItemSchema: z.ZodObject<Omit<{
2735
2578
  title?: string | null | undefined;
2736
2579
  groups?: string | undefined;
2737
2580
  members?: string | undefined;
2581
+ permissions?: Record<string, boolean> | undefined;
2738
2582
  user_id?: number | undefined;
2739
- version?: string | undefined;
2740
2583
  implementation_id?: string | undefined;
2741
2584
  is_expired?: string | undefined;
2742
2585
  expired_at?: string | null | undefined;
2743
2586
  app_key?: string | undefined;
2587
+ app_version?: string | undefined;
2744
2588
  }, {
2745
2589
  id: number;
2746
2590
  date: string;
@@ -2750,7 +2594,6 @@ declare const AuthItemSchema: z.ZodObject<Omit<{
2750
2594
  shared_with_all: boolean;
2751
2595
  url?: string | undefined;
2752
2596
  label?: string | null | undefined;
2753
- permissions?: Record<string, boolean> | undefined;
2754
2597
  lastchanged?: string | undefined;
2755
2598
  destination_selected_api?: string | null | undefined;
2756
2599
  is_stale?: string | undefined;
@@ -2760,12 +2603,13 @@ declare const AuthItemSchema: z.ZodObject<Omit<{
2760
2603
  title?: string | null | undefined;
2761
2604
  groups?: string | undefined;
2762
2605
  members?: string | undefined;
2606
+ permissions?: Record<string, boolean> | undefined;
2763
2607
  user_id?: number | undefined;
2764
- version?: string | undefined;
2765
2608
  implementation_id?: string | undefined;
2766
2609
  is_expired?: string | undefined;
2767
2610
  expired_at?: string | null | undefined;
2768
2611
  app_key?: string | undefined;
2612
+ app_version?: string | undefined;
2769
2613
  }>;
2770
2614
  type AuthItem = z.infer<typeof AuthItemSchema>;
2771
2615
 
@@ -2774,133 +2618,13 @@ declare const ActionItemSchema: z.ZodObject<Omit<{
2774
2618
  type: z.ZodEnum<["filter", "read", "read_bulk", "run", "search", "search_and_write", "search_or_write", "write"]>;
2775
2619
  key: z.ZodString;
2776
2620
  name: z.ZodString;
2777
- noun: z.ZodOptional<z.ZodString>;
2778
2621
  description: z.ZodString;
2779
- description_html: z.ZodOptional<z.ZodString>;
2780
2622
  is_important: z.ZodOptional<z.ZodBoolean>;
2781
2623
  is_hidden: z.ZodOptional<z.ZodBoolean>;
2782
- needs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2783
- key: z.ZodString;
2784
- alters_custom_fields: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2785
- capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2786
- choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
2787
- key: z.ZodOptional<z.ZodString>;
2788
- label: z.ZodOptional<z.ZodString>;
2789
- sample: z.ZodOptional<z.ZodString>;
2790
- value: z.ZodOptional<z.ZodString>;
2791
- }, "strip", z.ZodTypeAny, {
2792
- value?: string | undefined;
2793
- key?: string | undefined;
2794
- label?: string | undefined;
2795
- sample?: string | undefined;
2796
- }, {
2797
- value?: string | undefined;
2798
- key?: string | undefined;
2799
- label?: string | undefined;
2800
- sample?: string | undefined;
2801
- }>, "many">>;
2802
- computed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2803
- custom_field: z.ZodOptional<z.ZodBoolean>;
2804
- default: z.ZodOptional<z.ZodString>;
2805
- depends_on: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2806
- format: z.ZodOptional<z.ZodLiteral<"SELECT">>;
2807
- from_search: z.ZodOptional<z.ZodBoolean>;
2808
- from_write: z.ZodOptional<z.ZodBoolean>;
2809
- help_text: z.ZodOptional<z.ZodString>;
2810
- help_text_html: z.ZodOptional<z.ZodString>;
2811
- input_format: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2812
- label: z.ZodOptional<z.ZodString>;
2813
- language: z.ZodOptional<z.ZodString>;
2814
- parent_key: z.ZodOptional<z.ZodString>;
2815
- placeholder: z.ZodOptional<z.ZodString>;
2816
- prefill: z.ZodOptional<z.ZodString>;
2817
- required: z.ZodOptional<z.ZodBoolean>;
2818
- searchfill: z.ZodOptional<z.ZodString>;
2819
- send_in_json: z.ZodOptional<z.ZodBoolean>;
2820
- regex: z.ZodOptional<z.ZodString>;
2821
- type: z.ZodOptional<z.ZodEnum<["integer", "string", "text", "datetime", "boolean", "file", "decimal", "copy", "password", "dict", "code", "filter", "json"]>>;
2822
- list: z.ZodOptional<z.ZodBoolean>;
2823
- }, "strip", z.ZodTypeAny, {
2824
- key: string;
2825
- type?: "string" | "boolean" | "filter" | "code" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
2826
- label?: string | undefined;
2827
- alters_custom_fields?: boolean | null | undefined;
2828
- capabilities?: string[] | undefined;
2829
- choices?: {
2830
- value?: string | undefined;
2831
- key?: string | undefined;
2832
- label?: string | undefined;
2833
- sample?: string | undefined;
2834
- }[] | undefined;
2835
- computed?: boolean | null | undefined;
2836
- custom_field?: boolean | undefined;
2837
- default?: string | undefined;
2838
- depends_on?: string[] | undefined;
2839
- format?: "SELECT" | undefined;
2840
- from_search?: boolean | undefined;
2841
- from_write?: boolean | undefined;
2842
- help_text?: string | undefined;
2843
- help_text_html?: string | undefined;
2844
- input_format?: string[] | undefined;
2845
- language?: string | undefined;
2846
- parent_key?: string | undefined;
2847
- placeholder?: string | undefined;
2848
- prefill?: string | undefined;
2849
- required?: boolean | undefined;
2850
- searchfill?: string | undefined;
2851
- send_in_json?: boolean | undefined;
2852
- regex?: string | undefined;
2853
- list?: boolean | undefined;
2854
- }, {
2855
- key: string;
2856
- type?: "string" | "boolean" | "filter" | "code" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
2857
- label?: string | undefined;
2858
- alters_custom_fields?: boolean | null | undefined;
2859
- capabilities?: string[] | undefined;
2860
- choices?: {
2861
- value?: string | undefined;
2862
- key?: string | undefined;
2863
- label?: string | undefined;
2864
- sample?: string | undefined;
2865
- }[] | undefined;
2866
- computed?: boolean | null | undefined;
2867
- custom_field?: boolean | undefined;
2868
- default?: string | undefined;
2869
- depends_on?: string[] | undefined;
2870
- format?: "SELECT" | undefined;
2871
- from_search?: boolean | undefined;
2872
- from_write?: boolean | undefined;
2873
- help_text?: string | undefined;
2874
- help_text_html?: string | undefined;
2875
- input_format?: string[] | undefined;
2876
- language?: string | undefined;
2877
- parent_key?: string | undefined;
2878
- placeholder?: string | undefined;
2879
- prefill?: string | undefined;
2880
- required?: boolean | undefined;
2881
- searchfill?: string | undefined;
2882
- send_in_json?: boolean | undefined;
2883
- regex?: string | undefined;
2884
- list?: boolean | undefined;
2885
- }>, "many">>;
2886
- meta: z.ZodOptional<z.ZodString>;
2887
2624
  selected_api: z.ZodOptional<z.ZodString>;
2888
- links: z.ZodOptional<z.ZodObject<{
2889
- action_url: z.ZodOptional<z.ZodString>;
2890
- }, "strip", z.ZodTypeAny, {
2891
- action_url?: string | undefined;
2892
- }, {
2893
- action_url?: string | undefined;
2894
- }>>;
2895
- permissions: z.ZodOptional<z.ZodObject<{
2896
- can_use: z.ZodOptional<z.ZodBoolean>;
2897
- }, "strip", z.ZodTypeAny, {
2898
- can_use?: boolean | undefined;
2899
- }, {
2900
- can_use?: boolean | undefined;
2901
- }>>;
2902
- }, "type" | "name"> & {
2625
+ }, "type" | "name" | "selected_api"> & {
2903
2626
  app_key: z.ZodString;
2627
+ app_version: z.ZodOptional<z.ZodString>;
2904
2628
  action_type: z.ZodEnum<["filter", "read", "read_bulk", "run", "search", "search_and_write", "search_or_write", "write"]>;
2905
2629
  title: z.ZodString;
2906
2630
  type: z.ZodLiteral<"action">;
@@ -2912,50 +2636,9 @@ declare const ActionItemSchema: z.ZodObject<Omit<{
2912
2636
  app_key: string;
2913
2637
  action_type: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
2914
2638
  id?: string | undefined;
2915
- noun?: string | undefined;
2916
- description_html?: string | undefined;
2917
2639
  is_important?: boolean | undefined;
2918
2640
  is_hidden?: boolean | undefined;
2919
- needs?: {
2920
- key: string;
2921
- type?: "string" | "boolean" | "filter" | "code" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
2922
- label?: string | undefined;
2923
- alters_custom_fields?: boolean | null | undefined;
2924
- capabilities?: string[] | undefined;
2925
- choices?: {
2926
- value?: string | undefined;
2927
- key?: string | undefined;
2928
- label?: string | undefined;
2929
- sample?: string | undefined;
2930
- }[] | undefined;
2931
- computed?: boolean | null | undefined;
2932
- custom_field?: boolean | undefined;
2933
- default?: string | undefined;
2934
- depends_on?: string[] | undefined;
2935
- format?: "SELECT" | undefined;
2936
- from_search?: boolean | undefined;
2937
- from_write?: boolean | undefined;
2938
- help_text?: string | undefined;
2939
- help_text_html?: string | undefined;
2940
- input_format?: string[] | undefined;
2941
- language?: string | undefined;
2942
- parent_key?: string | undefined;
2943
- placeholder?: string | undefined;
2944
- prefill?: string | undefined;
2945
- required?: boolean | undefined;
2946
- searchfill?: string | undefined;
2947
- send_in_json?: boolean | undefined;
2948
- regex?: string | undefined;
2949
- list?: boolean | undefined;
2950
- }[] | undefined;
2951
- meta?: string | undefined;
2952
- selected_api?: string | undefined;
2953
- links?: {
2954
- action_url?: string | undefined;
2955
- } | undefined;
2956
- permissions?: {
2957
- can_use?: boolean | undefined;
2958
- } | undefined;
2641
+ app_version?: string | undefined;
2959
2642
  }, {
2960
2643
  type: "action";
2961
2644
  key: string;
@@ -2964,50 +2647,9 @@ declare const ActionItemSchema: z.ZodObject<Omit<{
2964
2647
  app_key: string;
2965
2648
  action_type: "filter" | "read" | "read_bulk" | "write" | "run" | "search" | "search_or_write" | "search_and_write";
2966
2649
  id?: string | undefined;
2967
- noun?: string | undefined;
2968
- description_html?: string | undefined;
2969
2650
  is_important?: boolean | undefined;
2970
2651
  is_hidden?: boolean | undefined;
2971
- needs?: {
2972
- key: string;
2973
- type?: "string" | "boolean" | "filter" | "code" | "integer" | "text" | "datetime" | "file" | "decimal" | "copy" | "password" | "dict" | "json" | undefined;
2974
- label?: string | undefined;
2975
- alters_custom_fields?: boolean | null | undefined;
2976
- capabilities?: string[] | undefined;
2977
- choices?: {
2978
- value?: string | undefined;
2979
- key?: string | undefined;
2980
- label?: string | undefined;
2981
- sample?: string | undefined;
2982
- }[] | undefined;
2983
- computed?: boolean | null | undefined;
2984
- custom_field?: boolean | undefined;
2985
- default?: string | undefined;
2986
- depends_on?: string[] | undefined;
2987
- format?: "SELECT" | undefined;
2988
- from_search?: boolean | undefined;
2989
- from_write?: boolean | undefined;
2990
- help_text?: string | undefined;
2991
- help_text_html?: string | undefined;
2992
- input_format?: string[] | undefined;
2993
- language?: string | undefined;
2994
- parent_key?: string | undefined;
2995
- placeholder?: string | undefined;
2996
- prefill?: string | undefined;
2997
- required?: boolean | undefined;
2998
- searchfill?: string | undefined;
2999
- send_in_json?: boolean | undefined;
3000
- regex?: string | undefined;
3001
- list?: boolean | undefined;
3002
- }[] | undefined;
3003
- meta?: string | undefined;
3004
- selected_api?: string | undefined;
3005
- links?: {
3006
- action_url?: string | undefined;
3007
- } | undefined;
3008
- permissions?: {
3009
- can_use?: boolean | undefined;
3010
- } | undefined;
2652
+ app_version?: string | undefined;
3011
2653
  }>;
3012
2654
 
3013
2655
  declare const UserProfileItemSchema: z.ZodObject<Omit<{
@@ -3439,4 +3081,4 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Sdk
3439
3081
  }>;
3440
3082
  declare function createZapierSdk(options?: ZapierSdkOptions): ZapierSdk;
3441
3083
 
3442
- export { type Action, type ActionExecutionOptions, type ActionExecutionResult, type ActionField, type ActionFieldChoice, type ActionItem$1 as ActionItem, type ActionKeyProperty, ActionKeyPropertySchema, type ActionTypeProperty, ActionTypePropertySchema, type ApiError, type ApiEvent, type ApiPluginOptions, type ApiPluginProvides, type App, type AppItem, type AppKeyProperty, AppKeyPropertySchema, type AppsPluginProvides, type AuthEvent, type AuthOptions, type Authentication, type AuthenticationIdProperty, AuthenticationIdPropertySchema, type AuthenticationItem, type AuthenticationsResponse, type Choice, DEFAULT_CONFIG_PATH, type DebugProperty, DebugPropertySchema, type ErrorOptions, type EventCallback, type FetchPluginProvides, type Field, type FieldsetItem, type FindFirstAuthenticationPluginProvides, type FindUniqueAuthenticationPluginProvides, type FunctionOptions, type FunctionRegistryEntry, type GetActionPluginProvides, type GetAppPluginProvides, type GetAuthenticationPluginProvides, type GetContextType, type GetProfilePluginProvides, type GetSdkType, type InfoFieldItem, type InputFieldItem, type InputsProperty, InputsPropertySchema, type LimitProperty, LimitPropertySchema, type ListActionsPluginProvides, type ListAppsPluginProvides, type ListAuthenticationsPluginProvides, type ListInputFieldsPluginProvides, type LoadingEvent, type ManifestPluginOptions, type ManifestPluginProvides, type Need, type NeedsRequest, type NeedsResponse, type OffsetProperty, OffsetPropertySchema, type OutputProperty, OutputPropertySchema, type PaginatedSdkFunction, type ParamsProperty, ParamsPropertySchema, type Plugin, type PluginDependencies, type PluginOptions, type PluginProvides, type PositionalMetadata, RelayFetchSchema, RelayRequestSchema, type RequestPluginProvides, type RootFieldItem, type RunActionPluginProvides, type Sdk, type SdkEvent, type UserProfile, type UserProfileItem, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierError, type ZapierFetchInitOptions, ZapierNotFoundError, ZapierResourceNotFoundError, type ZapierSdk, type ZapierSdkApps, type ZapierSdkOptions, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, apiPlugin, appKeyResolver, appsPlugin, authenticationIdGenericResolver, authenticationIdResolver, createFunction, createSdk, createZapierSdk, createZapierSdkWithoutRegistry, fetchPlugin, findFirstAuthenticationPlugin, findManifestEntry, findUniqueAuthenticationPlugin, formatErrorMessage, getActionPlugin, getAppPlugin, getAuthenticationPlugin, getPreferredManifestEntryKey, getProfilePlugin, getTokenFromCliLogin, getTokenFromEnv, getTokenFromEnvOrConfig, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, isPositional, listActionsPlugin, listAppsPlugin, listAuthenticationsPlugin, listInputFieldsPlugin, manifestPlugin, readManifestFromFile, registryPlugin, requestPlugin, runActionPlugin };
3084
+ export { type Action, type ActionExecutionOptions, type ActionExecutionResult, type ActionField, type ActionFieldChoice, type ActionItem$1 as ActionItem, type ActionKeyProperty, ActionKeyPropertySchema, type ActionTypeProperty, ActionTypePropertySchema, type ApiError, type ApiEvent, type ApiPluginOptions, type ApiPluginProvides, type App, type AppItem, type AppKeyProperty, AppKeyPropertySchema, type AppsPluginProvides, type AuthEvent, type AuthOptions, type Authentication, type AuthenticationIdProperty, AuthenticationIdPropertySchema, type AuthenticationItem, type AuthenticationsResponse, type Choice, DEFAULT_CONFIG_PATH, type DebugProperty, DebugPropertySchema, type ErrorOptions, type EventCallback, type FetchPluginProvides, type Field, type FieldsetItem, type FindFirstAuthenticationPluginProvides, type FindUniqueAuthenticationPluginProvides, type FormatMetadata, type FormattedItem, type FunctionOptions, type FunctionRegistryEntry, type GetActionPluginProvides, type GetAppPluginProvides, type GetAuthenticationPluginProvides, type GetContextType, type GetProfilePluginProvides, type GetSdkType, type InfoFieldItem, type InputFieldItem, type InputsProperty, InputsPropertySchema, type LimitProperty, LimitPropertySchema, type ListActionsPluginProvides, type ListAppsPluginProvides, type ListAuthenticationsPluginProvides, type ListInputFieldsPluginProvides, type LoadingEvent, type ManifestPluginOptions, type ManifestPluginProvides, type Need, type NeedsRequest, type NeedsResponse, type OffsetProperty, OffsetPropertySchema, type OutputProperty, OutputPropertySchema, type PaginatedSdkFunction, type ParamsProperty, ParamsPropertySchema, type Plugin, type PluginDependencies, type PluginOptions, type PluginProvides, type PositionalMetadata, RelayFetchSchema, RelayRequestSchema, type RequestPluginProvides, type RootFieldItem, type RunActionPluginProvides, type Sdk, type SdkEvent, type UserProfile, type UserProfileItem, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierError, type ZapierFetchInitOptions, ZapierNotFoundError, ZapierResourceNotFoundError, type ZapierSdk, type ZapierSdkApps, type ZapierSdkOptions, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, apiPlugin, appKeyResolver, appsPlugin, authenticationIdGenericResolver, authenticationIdResolver, createFunction, createSdk, createZapierSdk, createZapierSdkWithoutRegistry, fetchPlugin, findFirstAuthenticationPlugin, findManifestEntry, findUniqueAuthenticationPlugin, formatErrorMessage, getActionPlugin, getAppPlugin, getAuthenticationPlugin, getPreferredManifestEntryKey, getProfilePlugin, getTokenFromCliLogin, getTokenFromEnv, getTokenFromEnvOrConfig, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, isPositional, listActionsPlugin, listAppsPlugin, listAuthenticationsPlugin, listInputFieldsPlugin, manifestPlugin, readManifestFromFile, registryPlugin, requestPlugin, runActionPlugin };