@keystrokehq/parallel 0.1.0 → 0.1.2

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 (261) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-enrichment-to-find-all-run.cjs +8 -8
  4. package/dist/actions/add-enrichment-to-find-all-run.cjs.map +1 -1
  5. package/dist/actions/add-enrichment-to-find-all-run.d.cts +50 -3
  6. package/dist/actions/add-enrichment-to-find-all-run.d.cts.map +1 -1
  7. package/dist/actions/add-enrichment-to-find-all-run.d.mts +50 -3
  8. package/dist/actions/add-enrichment-to-find-all-run.d.mts.map +1 -1
  9. package/dist/actions/add-enrichment-to-find-all-run.mjs +8 -8
  10. package/dist/actions/add-enrichment-to-find-all-run.mjs.map +1 -1
  11. package/dist/actions/add-runs-to-task-group.cjs +2 -2
  12. package/dist/actions/add-runs-to-task-group.cjs.map +1 -1
  13. package/dist/actions/add-runs-to-task-group.d.cts +54 -3
  14. package/dist/actions/add-runs-to-task-group.d.cts.map +1 -1
  15. package/dist/actions/add-runs-to-task-group.d.mts +54 -3
  16. package/dist/actions/add-runs-to-task-group.d.mts.map +1 -1
  17. package/dist/actions/add-runs-to-task-group.mjs +2 -2
  18. package/dist/actions/add-runs-to-task-group.mjs.map +1 -1
  19. package/dist/actions/cancel-find-all-run.cjs.map +1 -1
  20. package/dist/actions/cancel-find-all-run.d.cts +7 -3
  21. package/dist/actions/cancel-find-all-run.d.cts.map +1 -1
  22. package/dist/actions/cancel-find-all-run.d.mts +7 -3
  23. package/dist/actions/cancel-find-all-run.d.mts.map +1 -1
  24. package/dist/actions/cancel-find-all-run.mjs.map +1 -1
  25. package/dist/actions/create-chat-completions.cjs +10 -10
  26. package/dist/actions/create-chat-completions.cjs.map +1 -1
  27. package/dist/actions/create-chat-completions.d.cts +86 -3
  28. package/dist/actions/create-chat-completions.d.cts.map +1 -1
  29. package/dist/actions/create-chat-completions.d.mts +86 -3
  30. package/dist/actions/create-chat-completions.d.mts.map +1 -1
  31. package/dist/actions/create-chat-completions.mjs +10 -10
  32. package/dist/actions/create-chat-completions.mjs.map +1 -1
  33. package/dist/actions/create-monitor.cjs +4 -4
  34. package/dist/actions/create-monitor.cjs.map +1 -1
  35. package/dist/actions/create-monitor.d.cts +56 -3
  36. package/dist/actions/create-monitor.d.cts.map +1 -1
  37. package/dist/actions/create-monitor.d.mts +56 -3
  38. package/dist/actions/create-monitor.d.mts.map +1 -1
  39. package/dist/actions/create-monitor.mjs +4 -4
  40. package/dist/actions/create-monitor.mjs.map +1 -1
  41. package/dist/actions/create-task-group.cjs +3 -3
  42. package/dist/actions/create-task-group.cjs.map +1 -1
  43. package/dist/actions/create-task-group.d.cts +18 -3
  44. package/dist/actions/create-task-group.d.cts.map +1 -1
  45. package/dist/actions/create-task-group.d.mts +18 -3
  46. package/dist/actions/create-task-group.d.mts.map +1 -1
  47. package/dist/actions/create-task-group.mjs +3 -3
  48. package/dist/actions/create-task-group.mjs.map +1 -1
  49. package/dist/actions/create-task-run.cjs +6 -6
  50. package/dist/actions/create-task-run.cjs.map +1 -1
  51. package/dist/actions/create-task-run.d.cts +62 -3
  52. package/dist/actions/create-task-run.d.cts.map +1 -1
  53. package/dist/actions/create-task-run.d.mts +62 -3
  54. package/dist/actions/create-task-run.d.mts.map +1 -1
  55. package/dist/actions/create-task-run.mjs +6 -6
  56. package/dist/actions/create-task-run.mjs.map +1 -1
  57. package/dist/actions/delete-monitor.cjs +1 -1
  58. package/dist/actions/delete-monitor.cjs.map +1 -1
  59. package/dist/actions/delete-monitor.d.cts +31 -3
  60. package/dist/actions/delete-monitor.d.cts.map +1 -1
  61. package/dist/actions/delete-monitor.d.mts +31 -3
  62. package/dist/actions/delete-monitor.d.mts.map +1 -1
  63. package/dist/actions/delete-monitor.mjs +1 -1
  64. package/dist/actions/delete-monitor.mjs.map +1 -1
  65. package/dist/actions/extend-find-all-run.cjs +4 -4
  66. package/dist/actions/extend-find-all-run.cjs.map +1 -1
  67. package/dist/actions/extend-find-all-run.d.cts +24 -3
  68. package/dist/actions/extend-find-all-run.d.cts.map +1 -1
  69. package/dist/actions/extend-find-all-run.d.mts +24 -3
  70. package/dist/actions/extend-find-all-run.d.mts.map +1 -1
  71. package/dist/actions/extend-find-all-run.mjs +4 -4
  72. package/dist/actions/extend-find-all-run.mjs.map +1 -1
  73. package/dist/actions/extract.cjs +7 -7
  74. package/dist/actions/extract.cjs.map +1 -1
  75. package/dist/actions/extract.d.cts +63 -3
  76. package/dist/actions/extract.d.cts.map +1 -1
  77. package/dist/actions/extract.d.mts +63 -3
  78. package/dist/actions/extract.d.mts.map +1 -1
  79. package/dist/actions/extract.mjs +7 -7
  80. package/dist/actions/extract.mjs.map +1 -1
  81. package/dist/actions/fetch-task-group-runs.cjs +18 -18
  82. package/dist/actions/fetch-task-group-runs.cjs.map +1 -1
  83. package/dist/actions/fetch-task-group-runs.d.cts +91 -3
  84. package/dist/actions/fetch-task-group-runs.d.cts.map +1 -1
  85. package/dist/actions/fetch-task-group-runs.d.mts +91 -3
  86. package/dist/actions/fetch-task-group-runs.d.mts.map +1 -1
  87. package/dist/actions/fetch-task-group-runs.mjs +18 -18
  88. package/dist/actions/fetch-task-group-runs.mjs.map +1 -1
  89. package/dist/actions/find-all.cjs +6 -6
  90. package/dist/actions/find-all.cjs.map +1 -1
  91. package/dist/actions/find-all.d.cts +70 -3
  92. package/dist/actions/find-all.d.cts.map +1 -1
  93. package/dist/actions/find-all.d.mts +70 -3
  94. package/dist/actions/find-all.d.mts.map +1 -1
  95. package/dist/actions/find-all.mjs +6 -6
  96. package/dist/actions/find-all.mjs.map +1 -1
  97. package/dist/actions/get-find-all-run-result.cjs +10 -10
  98. package/dist/actions/get-find-all-run-result.cjs.map +1 -1
  99. package/dist/actions/get-find-all-run-result.d.cts +68 -3
  100. package/dist/actions/get-find-all-run-result.d.cts.map +1 -1
  101. package/dist/actions/get-find-all-run-result.d.mts +68 -3
  102. package/dist/actions/get-find-all-run-result.d.mts.map +1 -1
  103. package/dist/actions/get-find-all-run-result.mjs +10 -10
  104. package/dist/actions/get-find-all-run-result.mjs.map +1 -1
  105. package/dist/actions/get-find-all-run-schema.cjs +4 -4
  106. package/dist/actions/get-find-all-run-schema.cjs.map +1 -1
  107. package/dist/actions/get-find-all-run-schema.d.cts +22 -3
  108. package/dist/actions/get-find-all-run-schema.d.cts.map +1 -1
  109. package/dist/actions/get-find-all-run-schema.d.mts +22 -3
  110. package/dist/actions/get-find-all-run-schema.d.mts.map +1 -1
  111. package/dist/actions/get-find-all-run-schema.mjs +4 -4
  112. package/dist/actions/get-find-all-run-schema.mjs.map +1 -1
  113. package/dist/actions/ingest-find-all-run.cjs +4 -4
  114. package/dist/actions/ingest-find-all-run.cjs.map +1 -1
  115. package/dist/actions/ingest-find-all-run.d.cts +22 -3
  116. package/dist/actions/ingest-find-all-run.d.cts.map +1 -1
  117. package/dist/actions/ingest-find-all-run.d.mts +22 -3
  118. package/dist/actions/ingest-find-all-run.d.mts.map +1 -1
  119. package/dist/actions/ingest-find-all-run.mjs +4 -4
  120. package/dist/actions/ingest-find-all-run.mjs.map +1 -1
  121. package/dist/actions/list-monitor-events.cjs +6 -6
  122. package/dist/actions/list-monitor-events.cjs.map +1 -1
  123. package/dist/actions/list-monitor-events.d.cts +26 -3
  124. package/dist/actions/list-monitor-events.d.cts.map +1 -1
  125. package/dist/actions/list-monitor-events.d.mts +26 -3
  126. package/dist/actions/list-monitor-events.d.mts.map +1 -1
  127. package/dist/actions/list-monitor-events.mjs +6 -6
  128. package/dist/actions/list-monitor-events.mjs.map +1 -1
  129. package/dist/actions/list-monitors.cjs +4 -4
  130. package/dist/actions/list-monitors.cjs.map +1 -1
  131. package/dist/actions/list-monitors.d.cts +35 -3
  132. package/dist/actions/list-monitors.d.cts.map +1 -1
  133. package/dist/actions/list-monitors.d.mts +35 -3
  134. package/dist/actions/list-monitors.d.mts.map +1 -1
  135. package/dist/actions/list-monitors.mjs +4 -4
  136. package/dist/actions/list-monitors.mjs.map +1 -1
  137. package/dist/actions/retrieve-event-group.cjs +6 -6
  138. package/dist/actions/retrieve-event-group.cjs.map +1 -1
  139. package/dist/actions/retrieve-event-group.d.cts +26 -3
  140. package/dist/actions/retrieve-event-group.d.cts.map +1 -1
  141. package/dist/actions/retrieve-event-group.d.mts +26 -3
  142. package/dist/actions/retrieve-event-group.d.mts.map +1 -1
  143. package/dist/actions/retrieve-event-group.mjs +6 -6
  144. package/dist/actions/retrieve-event-group.mjs.map +1 -1
  145. package/dist/actions/retrieve-find-all-run-status.cjs +4 -4
  146. package/dist/actions/retrieve-find-all-run-status.cjs.map +1 -1
  147. package/dist/actions/retrieve-find-all-run-status.d.cts +34 -3
  148. package/dist/actions/retrieve-find-all-run-status.d.cts.map +1 -1
  149. package/dist/actions/retrieve-find-all-run-status.d.mts +34 -3
  150. package/dist/actions/retrieve-find-all-run-status.d.mts.map +1 -1
  151. package/dist/actions/retrieve-find-all-run-status.mjs +4 -4
  152. package/dist/actions/retrieve-find-all-run-status.mjs.map +1 -1
  153. package/dist/actions/retrieve-monitor.cjs +4 -4
  154. package/dist/actions/retrieve-monitor.cjs.map +1 -1
  155. package/dist/actions/retrieve-monitor.d.cts +31 -3
  156. package/dist/actions/retrieve-monitor.d.cts.map +1 -1
  157. package/dist/actions/retrieve-monitor.d.mts +31 -3
  158. package/dist/actions/retrieve-monitor.d.mts.map +1 -1
  159. package/dist/actions/retrieve-monitor.mjs +4 -4
  160. package/dist/actions/retrieve-monitor.mjs.map +1 -1
  161. package/dist/actions/retrieve-task-group-run.cjs +7 -7
  162. package/dist/actions/retrieve-task-group-run.cjs.map +1 -1
  163. package/dist/actions/retrieve-task-group-run.d.cts +33 -3
  164. package/dist/actions/retrieve-task-group-run.d.cts.map +1 -1
  165. package/dist/actions/retrieve-task-group-run.d.mts +33 -3
  166. package/dist/actions/retrieve-task-group-run.d.mts.map +1 -1
  167. package/dist/actions/retrieve-task-group-run.mjs +7 -7
  168. package/dist/actions/retrieve-task-group-run.mjs.map +1 -1
  169. package/dist/actions/retrieve-task-group.cjs +5 -5
  170. package/dist/actions/retrieve-task-group.cjs.map +1 -1
  171. package/dist/actions/retrieve-task-group.d.cts +18 -3
  172. package/dist/actions/retrieve-task-group.d.cts.map +1 -1
  173. package/dist/actions/retrieve-task-group.d.mts +18 -3
  174. package/dist/actions/retrieve-task-group.d.mts.map +1 -1
  175. package/dist/actions/retrieve-task-group.mjs +5 -5
  176. package/dist/actions/retrieve-task-group.mjs.map +1 -1
  177. package/dist/actions/retrieve-task-run-input.cjs +1 -1
  178. package/dist/actions/retrieve-task-run-input.cjs.map +1 -1
  179. package/dist/actions/retrieve-task-run-input.d.cts +21 -3
  180. package/dist/actions/retrieve-task-run-input.d.cts.map +1 -1
  181. package/dist/actions/retrieve-task-run-input.d.mts +21 -3
  182. package/dist/actions/retrieve-task-run-input.d.mts.map +1 -1
  183. package/dist/actions/retrieve-task-run-input.mjs +1 -1
  184. package/dist/actions/retrieve-task-run-input.mjs.map +1 -1
  185. package/dist/actions/retrieve-task-run-result.cjs +7 -7
  186. package/dist/actions/retrieve-task-run-result.cjs.map +1 -1
  187. package/dist/actions/retrieve-task-run-result.d.cts +29 -3
  188. package/dist/actions/retrieve-task-run-result.d.cts.map +1 -1
  189. package/dist/actions/retrieve-task-run-result.d.mts +29 -3
  190. package/dist/actions/retrieve-task-run-result.d.mts.map +1 -1
  191. package/dist/actions/retrieve-task-run-result.mjs +7 -7
  192. package/dist/actions/retrieve-task-run-result.mjs.map +1 -1
  193. package/dist/actions/retrieve-task-run.cjs +8 -8
  194. package/dist/actions/retrieve-task-run.cjs.map +1 -1
  195. package/dist/actions/retrieve-task-run.d.cts +35 -3
  196. package/dist/actions/retrieve-task-run.d.cts.map +1 -1
  197. package/dist/actions/retrieve-task-run.d.mts +35 -3
  198. package/dist/actions/retrieve-task-run.d.mts.map +1 -1
  199. package/dist/actions/retrieve-task-run.mjs +8 -8
  200. package/dist/actions/retrieve-task-run.mjs.map +1 -1
  201. package/dist/actions/search.cjs +3 -3
  202. package/dist/actions/search.cjs.map +1 -1
  203. package/dist/actions/search.d.cts +15 -3
  204. package/dist/actions/search.d.cts.map +1 -1
  205. package/dist/actions/search.d.mts +15 -3
  206. package/dist/actions/search.d.mts.map +1 -1
  207. package/dist/actions/search.mjs +3 -3
  208. package/dist/actions/search.mjs.map +1 -1
  209. package/dist/actions/simulate-event.cjs.map +1 -1
  210. package/dist/actions/simulate-event.d.cts +15 -3
  211. package/dist/actions/simulate-event.d.cts.map +1 -1
  212. package/dist/actions/simulate-event.d.mts +15 -3
  213. package/dist/actions/simulate-event.d.mts.map +1 -1
  214. package/dist/actions/simulate-event.mjs.map +1 -1
  215. package/dist/actions/stream-find-all-events.cjs +28 -28
  216. package/dist/actions/stream-find-all-events.cjs.map +1 -1
  217. package/dist/actions/stream-find-all-events.d.cts +104 -3
  218. package/dist/actions/stream-find-all-events.d.cts.map +1 -1
  219. package/dist/actions/stream-find-all-events.d.mts +104 -3
  220. package/dist/actions/stream-find-all-events.d.mts.map +1 -1
  221. package/dist/actions/stream-find-all-events.mjs +28 -28
  222. package/dist/actions/stream-find-all-events.mjs.map +1 -1
  223. package/dist/actions/stream-task-group-events.cjs +17 -17
  224. package/dist/actions/stream-task-group-events.cjs.map +1 -1
  225. package/dist/actions/stream-task-group-events.d.cts +44 -3
  226. package/dist/actions/stream-task-group-events.d.cts.map +1 -1
  227. package/dist/actions/stream-task-group-events.d.mts +44 -3
  228. package/dist/actions/stream-task-group-events.d.mts.map +1 -1
  229. package/dist/actions/stream-task-group-events.mjs +17 -17
  230. package/dist/actions/stream-task-group-events.mjs.map +1 -1
  231. package/dist/actions/stream-task-run-events.cjs +13 -13
  232. package/dist/actions/stream-task-run-events.cjs.map +1 -1
  233. package/dist/actions/stream-task-run-events.d.cts +45 -3
  234. package/dist/actions/stream-task-run-events.d.cts.map +1 -1
  235. package/dist/actions/stream-task-run-events.d.mts +45 -3
  236. package/dist/actions/stream-task-run-events.d.mts.map +1 -1
  237. package/dist/actions/stream-task-run-events.mjs +13 -13
  238. package/dist/actions/stream-task-run-events.mjs.map +1 -1
  239. package/dist/actions/suggest-task.cjs +1 -1
  240. package/dist/actions/suggest-task.cjs.map +1 -1
  241. package/dist/actions/suggest-task.d.cts +12 -3
  242. package/dist/actions/suggest-task.d.cts.map +1 -1
  243. package/dist/actions/suggest-task.d.mts +12 -3
  244. package/dist/actions/suggest-task.d.mts.map +1 -1
  245. package/dist/actions/suggest-task.mjs +1 -1
  246. package/dist/actions/suggest-task.mjs.map +1 -1
  247. package/dist/actions/update-monitor.cjs +4 -4
  248. package/dist/actions/update-monitor.cjs.map +1 -1
  249. package/dist/actions/update-monitor.d.cts +50 -3
  250. package/dist/actions/update-monitor.d.cts.map +1 -1
  251. package/dist/actions/update-monitor.d.mts +50 -3
  252. package/dist/actions/update-monitor.d.mts.map +1 -1
  253. package/dist/actions/update-monitor.mjs +4 -4
  254. package/dist/actions/update-monitor.mjs.map +1 -1
  255. package/dist/catalog.cjs +7 -1
  256. package/dist/catalog.cjs.map +1 -1
  257. package/dist/catalog.d.cts +8 -0
  258. package/dist/catalog.d.mts +8 -0
  259. package/dist/catalog.mjs +7 -1
  260. package/dist/catalog.mjs.map +1 -1
  261. package/package.json +2 -2
@@ -1,9 +1,76 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/find-all.d.ts
4
- declare const ParallelFindAllInput: z.ZodTypeAny;
5
- declare const ParallelFindAllOutput: z.ZodTypeAny;
6
- declare const parallelFindAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParallelFindAllInput: z.ZodObject<{
5
+ webhook: z.ZodOptional<z.ZodObject<{
6
+ url: z.ZodString;
7
+ event_types: z.ZodArray<z.ZodString>;
8
+ }, z.core.$strip>>;
9
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ generator: z.ZodEnum<{
11
+ base: "base";
12
+ core: "core";
13
+ pro: "pro";
14
+ preview: "preview";
15
+ }>;
16
+ objective: z.ZodString;
17
+ entity_type: z.ZodString;
18
+ match_limit: z.ZodNumber;
19
+ exclude_list: z.ZodOptional<z.ZodArray<z.ZodObject<{
20
+ url: z.ZodString;
21
+ name: z.ZodString;
22
+ }, z.core.$strip>>>;
23
+ match_conditions: z.ZodArray<z.ZodObject<{
24
+ name: z.ZodString;
25
+ description: z.ZodString;
26
+ }, z.core.$strip>>;
27
+ }, z.core.$strip>;
28
+ declare const ParallelFindAllOutput: z.ZodObject<{
29
+ status: z.ZodNullable<z.ZodObject<{
30
+ status: z.ZodNullable<z.ZodEnum<{
31
+ queued: "queued";
32
+ running: "running";
33
+ completed: "completed";
34
+ failed: "failed";
35
+ cancelled: "cancelled";
36
+ }>>;
37
+ metrics: z.ZodNullable<z.ZodObject<{
38
+ matched_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
39
+ generated_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
40
+ }, z.core.$strip>>;
41
+ is_active: z.ZodNullable<z.ZodBoolean>;
42
+ termination_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ }, z.core.$strip>>;
44
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
45
+ generator: z.ZodNullable<z.ZodEnum<{
46
+ base: "base";
47
+ core: "core";
48
+ pro: "pro";
49
+ preview: "preview";
50
+ }>>;
51
+ created_at: z.ZodNullable<z.ZodString>;
52
+ findall_id: z.ZodNullable<z.ZodString>;
53
+ modified_at: z.ZodNullable<z.ZodString>;
54
+ }, z.core.$strip>;
55
+ declare const parallelFindAll: import("@keystrokehq/action").WorkflowActionDefinition<{
56
+ generator: "base" | "core" | "pro" | "preview";
57
+ objective: string;
58
+ entity_type: string;
59
+ match_limit: number;
60
+ match_conditions: {
61
+ name: string;
62
+ description: string;
63
+ }[];
64
+ webhook?: {
65
+ url: string;
66
+ event_types: string[];
67
+ } | undefined;
68
+ metadata?: Record<string, unknown> | undefined;
69
+ exclude_list?: {
70
+ url: string;
71
+ name: string;
72
+ }[] | undefined;
73
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
74
  //#endregion
8
75
  export { parallelFindAll };
9
76
  //# sourceMappingURL=find-all.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"find-all.d.cts","names":[],"sources":["../../src/actions/find-all.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAkBnC;AAAA,cAWW,qBAAA,EAAuB,CAAA,CAAE,UAOpC;AAAA,cAEW,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"find-all.d.cts","names":[],"sources":["../../src/actions/find-all.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA6BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrB,eAAA,gCAAe,wBAAA;;;;;;;;;;;;;aAM1B,MAAA"}
@@ -1,9 +1,76 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/find-all.d.ts
4
- declare const ParallelFindAllInput: z.ZodTypeAny;
5
- declare const ParallelFindAllOutput: z.ZodTypeAny;
6
- declare const parallelFindAll: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParallelFindAllInput: z.ZodObject<{
5
+ webhook: z.ZodOptional<z.ZodObject<{
6
+ url: z.ZodString;
7
+ event_types: z.ZodArray<z.ZodString>;
8
+ }, z.core.$strip>>;
9
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ generator: z.ZodEnum<{
11
+ base: "base";
12
+ core: "core";
13
+ pro: "pro";
14
+ preview: "preview";
15
+ }>;
16
+ objective: z.ZodString;
17
+ entity_type: z.ZodString;
18
+ match_limit: z.ZodNumber;
19
+ exclude_list: z.ZodOptional<z.ZodArray<z.ZodObject<{
20
+ url: z.ZodString;
21
+ name: z.ZodString;
22
+ }, z.core.$strip>>>;
23
+ match_conditions: z.ZodArray<z.ZodObject<{
24
+ name: z.ZodString;
25
+ description: z.ZodString;
26
+ }, z.core.$strip>>;
27
+ }, z.core.$strip>;
28
+ declare const ParallelFindAllOutput: z.ZodObject<{
29
+ status: z.ZodNullable<z.ZodObject<{
30
+ status: z.ZodNullable<z.ZodEnum<{
31
+ queued: "queued";
32
+ running: "running";
33
+ completed: "completed";
34
+ failed: "failed";
35
+ cancelled: "cancelled";
36
+ }>>;
37
+ metrics: z.ZodNullable<z.ZodObject<{
38
+ matched_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
39
+ generated_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
40
+ }, z.core.$strip>>;
41
+ is_active: z.ZodNullable<z.ZodBoolean>;
42
+ termination_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ }, z.core.$strip>>;
44
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
45
+ generator: z.ZodNullable<z.ZodEnum<{
46
+ base: "base";
47
+ core: "core";
48
+ pro: "pro";
49
+ preview: "preview";
50
+ }>>;
51
+ created_at: z.ZodNullable<z.ZodString>;
52
+ findall_id: z.ZodNullable<z.ZodString>;
53
+ modified_at: z.ZodNullable<z.ZodString>;
54
+ }, z.core.$strip>;
55
+ declare const parallelFindAll: import("@keystrokehq/action").WorkflowActionDefinition<{
56
+ generator: "base" | "core" | "pro" | "preview";
57
+ objective: string;
58
+ entity_type: string;
59
+ match_limit: number;
60
+ match_conditions: {
61
+ name: string;
62
+ description: string;
63
+ }[];
64
+ webhook?: {
65
+ url: string;
66
+ event_types: string[];
67
+ } | undefined;
68
+ metadata?: Record<string, unknown> | undefined;
69
+ exclude_list?: {
70
+ url: string;
71
+ name: string;
72
+ }[] | undefined;
73
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
74
  //#endregion
8
75
  export { parallelFindAll };
9
76
  //# sourceMappingURL=find-all.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"find-all.d.mts","names":[],"sources":["../../src/actions/find-all.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAkBnC;AAAA,cAWW,qBAAA,EAAuB,CAAA,CAAE,UAOpC;AAAA,cAEW,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"find-all.d.mts","names":[],"sources":["../../src/actions/find-all.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA6BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrB,eAAA,gCAAe,wBAAA;;;;;;;;;;;;;aAM1B,MAAA"}
@@ -36,9 +36,9 @@ const ParallelFindAll_RunStatusSchema = z.object({
36
36
  "completed",
37
37
  "failed",
38
38
  "cancelled"
39
- ]).describe("Current status of the run."),
39
+ ]).describe("Current status of the run.").nullable(),
40
40
  metrics: ParallelFindAll_RunMetricsSchema.nullable(),
41
- is_active: z.boolean().describe("Whether the run is currently active."),
41
+ is_active: z.boolean().describe("Whether the run is currently active.").nullable(),
42
42
  termination_reason: z.string().describe("Reason for run completion, if any.").nullable().optional()
43
43
  });
44
44
  const parallelFindAll = action("PARALLEL_FIND_ALL", {
@@ -54,10 +54,10 @@ const parallelFindAll = action("PARALLEL_FIND_ALL", {
54
54
  "core",
55
55
  "pro",
56
56
  "preview"
57
- ]).describe("Selected generator tier for the run."),
58
- created_at: z.string().describe("Creation timestamp (RFC 3339)."),
59
- findall_id: z.string().describe("ID of the created FindAll run."),
60
- modified_at: z.string().describe("Last modification timestamp (RFC 3339).")
57
+ ]).describe("Selected generator tier for the run.").nullable(),
58
+ created_at: z.string().describe("Creation timestamp (RFC 3339).").nullable(),
59
+ findall_id: z.string().describe("ID of the created FindAll run.").nullable(),
60
+ modified_at: z.string().describe("Last modification timestamp (RFC 3339).").nullable()
61
61
  })
62
62
  });
63
63
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"find-all.mjs","names":[],"sources":["../../src/actions/find-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelFindAllInput: z.ZodTypeAny = z.object({\n webhook: z.object({\n url: z.string().describe(\"Webhook endpoint URL.\"),\n event_types: z.array(z.string()).describe(\"Event types to subscribe to (e.g., findall.candidate.matched).\"),\n}).describe(\"Optional webhook configuration for run events.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional user metadata to store with the run. Values must be primitive types (string, int, float, or bool).\").optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Quality/cost tier for the run.\"),\n objective: z.string().describe(\"Natural-language objective for the FindAll run.\"),\n entity_type: z.string().describe(\"Type of entity to find (e.g., companies, people).\"),\n match_limit: z.number().int().describe(\"Maximum number of matches to return (between 5 and 1000 inclusive).\"),\n exclude_list: z.array(z.object({\n url: z.string().describe(\"Canonical URL of the entity to exclude.\"),\n name: z.string().describe(\"Name of the entity to exclude.\"),\n})).describe(\"Optional list of entities to exclude from matching.\").optional(),\n match_conditions: z.array(z.object({\n name: z.string().describe(\"Identifier for the match condition.\"),\n description: z.string().describe(\"Description of what must be satisfied for the match.\"),\n})).describe(\"List of conditions that a candidate must satisfy.\"),\n});\nconst ParallelFindAll_RunMetricsSchema: z.ZodTypeAny = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched so far.\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated so far.\").nullable().optional(),\n});\nconst ParallelFindAll_RunStatusSchema: z.ZodTypeAny = z.object({\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the run.\"),\n metrics: ParallelFindAll_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\"),\n termination_reason: z.string().describe(\"Reason for run completion, if any.\").nullable().optional(),\n});\nexport const ParallelFindAllOutput: z.ZodTypeAny = z.object({\n status: ParallelFindAll_RunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Selected generator tier for the run.\"),\n created_at: z.string().describe(\"Creation timestamp (RFC 3339).\"),\n findall_id: z.string().describe(\"ID of the created FindAll run.\"),\n modified_at: z.string().describe(\"Last modification timestamp (RFC 3339).\"),\n});\n\nexport const parallelFindAll = action(\"PARALLEL_FIND_ALL\", {\n slug: \"parallel-find-all\",\n name: \"Start FindAll Run\",\n description: \"Tool to start a FindAll run. Use when you need to discover and match entities based on natural-language objectives. Supports custom conditions, exclusion lists, and webhook callbacks.\",\n input: ParallelFindAllInput,\n output: ParallelFindAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO;CACzD,SAAS,EAAE,OAAO;EAClB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAChD,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE;CAC5G,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC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ACnD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;CACtE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC;AAUD,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdiD,EAAE,OAAO;EAC1D,QAAQ,gCAAgC,SAAS;EACjD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;EAAS,CAAC,CAAC,CAAC,SAAS,sCAAsC;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAChE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAC5E,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"find-all.mjs","names":[],"sources":["../../src/actions/find-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelFindAllInput = z.object({\n webhook: z.object({\n url: z.string().describe(\"Webhook endpoint URL.\"),\n event_types: z.array(z.string()).describe(\"Event types to subscribe to (e.g., findall.candidate.matched).\"),\n}).describe(\"Optional webhook configuration for run events.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional user metadata to store with the run. Values must be primitive types (string, int, float, or bool).\").optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Quality/cost tier for the run.\"),\n objective: z.string().describe(\"Natural-language objective for the FindAll run.\"),\n entity_type: z.string().describe(\"Type of entity to find (e.g., companies, people).\"),\n match_limit: z.number().int().describe(\"Maximum number of matches to return (between 5 and 1000 inclusive).\"),\n exclude_list: z.array(z.object({\n url: z.string().describe(\"Canonical URL of the entity to exclude.\"),\n name: z.string().describe(\"Name of the entity to exclude.\"),\n})).describe(\"Optional list of entities to exclude from matching.\").optional(),\n match_conditions: z.array(z.object({\n name: z.string().describe(\"Identifier for the match condition.\"),\n description: z.string().describe(\"Description of what must be satisfied for the match.\"),\n})).describe(\"List of conditions that a candidate must satisfy.\"),\n});\nconst ParallelFindAll_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched so far.\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated so far.\").nullable().optional(),\n});\nconst ParallelFindAll_RunStatusSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the run.\").nullable(),\n metrics: ParallelFindAll_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for run completion, if any.\").nullable().optional(),\n});\nexport const ParallelFindAllOutput = z.object({\n status: ParallelFindAll_RunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Selected generator tier for the run.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp (RFC 3339).\").nullable(),\n findall_id: z.string().describe(\"ID of the created FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Last modification timestamp (RFC 3339).\").nullable(),\n});\n\nexport const parallelFindAll = action(\"PARALLEL_FIND_ALL\", {\n slug: \"parallel-find-all\",\n name: \"Start FindAll Run\",\n description: \"Tool to start a FindAll run. Use when you need to discover and match entities based on natural-language objectives. Supports custom conditions, exclusion lists, and webhook callbacks.\",\n input: ParallelFindAllInput,\n output: ParallelFindAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,SAAS,EAAE,OAAO;EAClB,KAAK,EAAE,OAA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;AACD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAW;EAAa;EAAU;CAAW,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1H,SAAS,iCAAiC,SAAS;CACnD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC;AAUD,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmC,EAAE,OAAO;EAC5C,QAAQ,gCAAgC,SAAS;EACjD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;EAAS,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,CAOU;AACV,CAAC"}
@@ -15,9 +15,9 @@ const ParallelGetFindAllRunResult_FindAllRunStatusSchema = zod.z.object({
15
15
  "failed",
16
16
  "cancelling",
17
17
  "cancelled"
18
- ]).describe("Current state of the run"),
18
+ ]).describe("Current state of the run").nullable(),
19
19
  metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),
20
- is_active: zod.z.boolean().describe("Whether the run is actively processing"),
20
+ is_active: zod.z.boolean().describe("Whether the run is actively processing").nullable(),
21
21
  termination_reason: zod.z.enum([
22
22
  "low_match_rate",
23
23
  "match_limit_met",
@@ -35,9 +35,9 @@ const ParallelGetFindAllRunResult_FindAllRunSchema = zod.z.object({
35
35
  "core",
36
36
  "pro",
37
37
  "preview"
38
- ]).describe("Generator type"),
38
+ ]).describe("Generator type").nullable(),
39
39
  created_at: zod.z.string().describe("RFC 3339 timestamp of creation").nullable().optional(),
40
- findall_id: zod.z.string().describe("ID of the FindAll run"),
40
+ findall_id: zod.z.string().describe("ID of the FindAll run").nullable(),
41
41
  modified_at: zod.z.string().describe("RFC 3339 timestamp of last modification").nullable().optional()
42
42
  }).describe("FindAll run metadata object.");
43
43
  const ParallelGetFindAllRunResult_CitationSchema = zod.z.object({
@@ -46,24 +46,24 @@ const ParallelGetFindAllRunResult_CitationSchema = zod.z.object({
46
46
  excerpt: zod.z.string().describe("Excerpt from the cited source").nullable().optional()
47
47
  }).describe("Supporting citation for a field value.");
48
48
  const ParallelGetFindAllRunResult_FieldBasisSchema = zod.z.object({
49
- field: zod.z.string().describe("Output field name"),
49
+ field: zod.z.string().describe("Output field name").nullable(),
50
50
  citations: zod.z.array(ParallelGetFindAllRunResult_CitationSchema).describe("Supporting sources").nullable().optional(),
51
- reasoning: zod.z.string().describe("Explanation for the field value"),
51
+ reasoning: zod.z.string().describe("Explanation for the field value").nullable(),
52
52
  confidence: zod.z.string().describe("Confidence level (if available from processor)").nullable().optional()
53
53
  }).describe("Supporting citations and reasoning for an output field.");
54
54
  const ParallelGetFindAllRunResult_FindAllCandidateSchema = zod.z.object({
55
- url: zod.z.string().describe("Disambiguation URL for the entity"),
56
- name: zod.z.string().describe("Candidate entity name"),
55
+ url: zod.z.string().describe("Disambiguation URL for the entity").nullable(),
56
+ name: zod.z.string().describe("Candidate entity name").nullable(),
57
57
  basis: zod.z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe("Supporting citations and reasoning per output field").nullable().optional(),
58
58
  output: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Structured results of match condition evaluations").nullable().optional(),
59
59
  description: zod.z.string().describe("Brief entity description").nullable().optional(),
60
- candidate_id: zod.z.string().describe("Unique candidate identifier"),
60
+ candidate_id: zod.z.string().describe("Unique candidate identifier").nullable(),
61
61
  match_status: zod.z.enum([
62
62
  "generated",
63
63
  "matched",
64
64
  "unmatched",
65
65
  "discarded"
66
- ]).describe("Status of the candidate")
66
+ ]).describe("Status of the candidate").nullable()
67
67
  }).describe("A candidate entity from the FindAll run.");
68
68
  const ParallelGetFindAllRunResultOutput = zod.z.object({
69
69
  run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-find-all-run-result.cjs","names":["z","action"],"sources":["../../src/actions/get-find-all-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunResultInput: z.ZodTypeAny = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run results.\");\nconst ParallelGetFindAllRunResult_RunMetricsSchema: z.ZodTypeAny = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated\").nullable().optional(),\n}).describe(\"Metrics for the FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunStatusSchema: z.ZodTypeAny = z.object({\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Current state of the run\"),\n metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\"),\n termination_reason: z.enum([\"low_match_rate\", \"match_limit_met\", \"candidates_exhausted\", \"user_cancelled\", \"error_occurred\", \"timeout\"]).describe(\"Why the run ended\").nullable().optional(),\n}).describe(\"Status information for a FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunSchema: z.ZodTypeAny = z.object({\n status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type\"),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run\"),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable().optional(),\n}).describe(\"FindAll run metadata object.\");\nconst ParallelGetFindAllRunResult_CitationSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).describe(\"Supporting citation for a field value.\");\nconst ParallelGetFindAllRunResult_FieldBasisSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"Output field name\"),\n citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\"),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelGetFindAllRunResult_FindAllCandidateSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Disambiguation URL for the entity\"),\n name: z.string().describe(\"Candidate entity name\"),\n basis: z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe(\"Supporting citations and reasoning per output field\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Structured results of match condition evaluations\").nullable().optional(),\n description: z.string().describe(\"Brief entity description\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique candidate identifier\"),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\"]).describe(\"Status of the candidate\"),\n}).describe(\"A candidate entity from the FindAll run.\");\nexport const ParallelGetFindAllRunResultOutput: z.ZodTypeAny = z.object({\n run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),\n candidates: z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe(\"All evaluated candidates\"),\n last_event_id: z.string().describe(\"ID of the last run event; useful for resuming event streams\").nullable().optional(),\n}).describe(\"Response model for FindAll run results.\");\n\nexport const parallelGetFindAllRunResult = action(\"PARALLEL_GET_FIND_ALL_RUN_RESULT\", {\n slug: \"parallel-get-find-all-run-result\",\n name: \"Get FindAll Run Result\",\n description: \"Tool to fetch the final (or latest available) FindAll candidates and result payload for a run. Use when you need to retrieve matched/unmatched candidates after a FindAll run has progressed or completed.\",\n input: ParallelGetFindAllRunResultInput,\n output: ParallelGetFindAllRunResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAmB;EAAW;EAAa;EAAU;EAAc;CAAW,CAAC,CAAC,CAAC,SAAS,0BAA0B;CAC9I,SAAS,6CAA6C,SAAS;CAC/D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CACxE,oBAAoBA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAmB;EAAw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AS,yCAAyC;AAErD,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-find-all-run-result.cjs","names":["z","action"],"sources":["../../src/actions/get-find-all-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunResultInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run results.\");\nconst ParallelGetFindAllRunResult_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated\").nullable().optional(),\n}).describe(\"Metrics for the FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunStatusSchema = z.object({\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Current state of the run\").nullable(),\n metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n termination_reason: z.enum([\"low_match_rate\", \"match_limit_met\", \"candidates_exhausted\", \"user_cancelled\", \"error_occurred\", \"timeout\"]).describe(\"Why the run ended\").nullable().optional(),\n}).describe(\"Status information for a FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunSchema = z.object({\n status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable().optional(),\n}).describe(\"FindAll run metadata object.\");\nconst ParallelGetFindAllRunResult_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).describe(\"Supporting citation for a field value.\");\nconst ParallelGetFindAllRunResult_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelGetFindAllRunResult_FindAllCandidateSchema = z.object({\n url: z.string().describe(\"Disambiguation URL for the entity\").nullable(),\n name: z.string().describe(\"Candidate entity name\").nullable(),\n basis: z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe(\"Supporting citations and reasoning per output field\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Structured results of match condition evaluations\").nullable().optional(),\n description: z.string().describe(\"Brief entity description\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique candidate identifier\").nullable(),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\"]).describe(\"Status of the candidate\").nullable(),\n}).describe(\"A candidate entity from the FindAll run.\");\nexport const ParallelGetFindAllRunResultOutput = z.object({\n run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),\n candidates: z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe(\"All evaluated candidates\"),\n last_event_id: z.string().describe(\"ID of the last run event; useful for resuming event streams\").nullable().optional(),\n}).describe(\"Response model for FindAll run results.\");\n\nexport const parallelGetFindAllRunResult = action(\"PARALLEL_GET_FIND_ALL_RUN_RESULT\", {\n slug: \"parallel-get-find-all-run-result\",\n name: \"Get FindAll Run Result\",\n description: \"Tool to fetch the final (or latest available) FindAll candidates and result payload for a run. Use when you need to retrieve matched/unmatched candidates after a FindAll run has progressed or completed.\",\n input: ParallelGetFindAllRunResultInput,\n output: ParallelGetFindAllRunResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAmB;EAAW;EAAa;EAAU;EAAc;CAAW,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACzJ,SAAS,6CAA6C,SAAS;CAC/D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,oBAAoBA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAmB;EAAwB;EAAkB;EAAkB;CAAS,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,QAAQ,mDAAmD,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAA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@@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-find-all-run-result.d.ts
4
- declare const ParallelGetFindAllRunResultInput: z.ZodTypeAny;
5
- declare const ParallelGetFindAllRunResultOutput: z.ZodTypeAny;
6
- declare const parallelGetFindAllRunResult: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParallelGetFindAllRunResultInput: z.ZodObject<{
5
+ findall_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParallelGetFindAllRunResultOutput: z.ZodObject<{
8
+ run: z.ZodNullable<z.ZodObject<{
9
+ status: z.ZodNullable<z.ZodObject<{
10
+ status: z.ZodNullable<z.ZodEnum<{
11
+ queued: "queued";
12
+ running: "running";
13
+ completed: "completed";
14
+ failed: "failed";
15
+ cancelled: "cancelled";
16
+ action_required: "action_required";
17
+ cancelling: "cancelling";
18
+ }>>;
19
+ metrics: z.ZodNullable<z.ZodObject<{
20
+ matched_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
21
+ generated_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
22
+ }, z.core.$strip>>;
23
+ is_active: z.ZodNullable<z.ZodBoolean>;
24
+ termination_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
25
+ timeout: "timeout";
26
+ low_match_rate: "low_match_rate";
27
+ match_limit_met: "match_limit_met";
28
+ candidates_exhausted: "candidates_exhausted";
29
+ user_cancelled: "user_cancelled";
30
+ error_occurred: "error_occurred";
31
+ }>>>;
32
+ }, z.core.$strip>>;
33
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
34
+ generator: z.ZodNullable<z.ZodEnum<{
35
+ base: "base";
36
+ core: "core";
37
+ pro: "pro";
38
+ preview: "preview";
39
+ }>>;
40
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ findall_id: z.ZodNullable<z.ZodString>;
42
+ modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ }, z.core.$strip>>;
44
+ candidates: z.ZodArray<z.ZodObject<{
45
+ url: z.ZodNullable<z.ZodString>;
46
+ name: z.ZodNullable<z.ZodString>;
47
+ basis: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
48
+ field: z.ZodNullable<z.ZodString>;
49
+ citations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
50
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ excerpt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ }, z.core.$strip>>>>;
54
+ reasoning: z.ZodNullable<z.ZodString>;
55
+ confidence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ }, z.core.$strip>>>>;
57
+ output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
58
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ candidate_id: z.ZodNullable<z.ZodString>;
60
+ match_status: z.ZodNullable<z.ZodEnum<{
61
+ generated: "generated";
62
+ matched: "matched";
63
+ unmatched: "unmatched";
64
+ discarded: "discarded";
65
+ }>>;
66
+ }, z.core.$strip>>;
67
+ last_event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ }, z.core.$strip>;
69
+ declare const parallelGetFindAllRunResult: import("@keystrokehq/action").WorkflowActionDefinition<{
70
+ findall_id: string;
71
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
72
  //#endregion
8
73
  export { parallelGetFindAllRunResult };
9
74
  //# sourceMappingURL=get-find-all-run-result.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-find-all-run-result.d.cts","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEe;AAAA,cAuCnD,iCAAA,EAAmC,CAAA,CAAE,UAII;AAAA,cAEzC,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-find-all-run-result.d.cts","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAyChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,74 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-find-all-run-result.d.ts
4
- declare const ParallelGetFindAllRunResultInput: z.ZodTypeAny;
5
- declare const ParallelGetFindAllRunResultOutput: z.ZodTypeAny;
6
- declare const parallelGetFindAllRunResult: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParallelGetFindAllRunResultInput: z.ZodObject<{
5
+ findall_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParallelGetFindAllRunResultOutput: z.ZodObject<{
8
+ run: z.ZodNullable<z.ZodObject<{
9
+ status: z.ZodNullable<z.ZodObject<{
10
+ status: z.ZodNullable<z.ZodEnum<{
11
+ queued: "queued";
12
+ running: "running";
13
+ completed: "completed";
14
+ failed: "failed";
15
+ cancelled: "cancelled";
16
+ action_required: "action_required";
17
+ cancelling: "cancelling";
18
+ }>>;
19
+ metrics: z.ZodNullable<z.ZodObject<{
20
+ matched_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
21
+ generated_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
22
+ }, z.core.$strip>>;
23
+ is_active: z.ZodNullable<z.ZodBoolean>;
24
+ termination_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
25
+ timeout: "timeout";
26
+ low_match_rate: "low_match_rate";
27
+ match_limit_met: "match_limit_met";
28
+ candidates_exhausted: "candidates_exhausted";
29
+ user_cancelled: "user_cancelled";
30
+ error_occurred: "error_occurred";
31
+ }>>>;
32
+ }, z.core.$strip>>;
33
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
34
+ generator: z.ZodNullable<z.ZodEnum<{
35
+ base: "base";
36
+ core: "core";
37
+ pro: "pro";
38
+ preview: "preview";
39
+ }>>;
40
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ findall_id: z.ZodNullable<z.ZodString>;
42
+ modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ }, z.core.$strip>>;
44
+ candidates: z.ZodArray<z.ZodObject<{
45
+ url: z.ZodNullable<z.ZodString>;
46
+ name: z.ZodNullable<z.ZodString>;
47
+ basis: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
48
+ field: z.ZodNullable<z.ZodString>;
49
+ citations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
50
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ excerpt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ }, z.core.$strip>>>>;
54
+ reasoning: z.ZodNullable<z.ZodString>;
55
+ confidence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ }, z.core.$strip>>>>;
57
+ output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
58
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ candidate_id: z.ZodNullable<z.ZodString>;
60
+ match_status: z.ZodNullable<z.ZodEnum<{
61
+ generated: "generated";
62
+ matched: "matched";
63
+ unmatched: "unmatched";
64
+ discarded: "discarded";
65
+ }>>;
66
+ }, z.core.$strip>>;
67
+ last_event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ }, z.core.$strip>;
69
+ declare const parallelGetFindAllRunResult: import("@keystrokehq/action").WorkflowActionDefinition<{
70
+ findall_id: string;
71
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
72
  //#endregion
8
73
  export { parallelGetFindAllRunResult };
9
74
  //# sourceMappingURL=get-find-all-run-result.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-find-all-run-result.d.mts","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEe;AAAA,cAuCnD,iCAAA,EAAmC,CAAA,CAAE,UAII;AAAA,cAEzC,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-find-all-run-result.d.mts","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAyChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,2BAAA,gCAA2B,wBAAA"}
@@ -15,9 +15,9 @@ const ParallelGetFindAllRunResult_FindAllRunStatusSchema = z.object({
15
15
  "failed",
16
16
  "cancelling",
17
17
  "cancelled"
18
- ]).describe("Current state of the run"),
18
+ ]).describe("Current state of the run").nullable(),
19
19
  metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),
20
- is_active: z.boolean().describe("Whether the run is actively processing"),
20
+ is_active: z.boolean().describe("Whether the run is actively processing").nullable(),
21
21
  termination_reason: z.enum([
22
22
  "low_match_rate",
23
23
  "match_limit_met",
@@ -35,9 +35,9 @@ const ParallelGetFindAllRunResult_FindAllRunSchema = z.object({
35
35
  "core",
36
36
  "pro",
37
37
  "preview"
38
- ]).describe("Generator type"),
38
+ ]).describe("Generator type").nullable(),
39
39
  created_at: z.string().describe("RFC 3339 timestamp of creation").nullable().optional(),
40
- findall_id: z.string().describe("ID of the FindAll run"),
40
+ findall_id: z.string().describe("ID of the FindAll run").nullable(),
41
41
  modified_at: z.string().describe("RFC 3339 timestamp of last modification").nullable().optional()
42
42
  }).describe("FindAll run metadata object.");
43
43
  const ParallelGetFindAllRunResult_CitationSchema = z.object({
@@ -46,24 +46,24 @@ const ParallelGetFindAllRunResult_CitationSchema = z.object({
46
46
  excerpt: z.string().describe("Excerpt from the cited source").nullable().optional()
47
47
  }).describe("Supporting citation for a field value.");
48
48
  const ParallelGetFindAllRunResult_FieldBasisSchema = z.object({
49
- field: z.string().describe("Output field name"),
49
+ field: z.string().describe("Output field name").nullable(),
50
50
  citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe("Supporting sources").nullable().optional(),
51
- reasoning: z.string().describe("Explanation for the field value"),
51
+ reasoning: z.string().describe("Explanation for the field value").nullable(),
52
52
  confidence: z.string().describe("Confidence level (if available from processor)").nullable().optional()
53
53
  }).describe("Supporting citations and reasoning for an output field.");
54
54
  const ParallelGetFindAllRunResult_FindAllCandidateSchema = z.object({
55
- url: z.string().describe("Disambiguation URL for the entity"),
56
- name: z.string().describe("Candidate entity name"),
55
+ url: z.string().describe("Disambiguation URL for the entity").nullable(),
56
+ name: z.string().describe("Candidate entity name").nullable(),
57
57
  basis: z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe("Supporting citations and reasoning per output field").nullable().optional(),
58
58
  output: z.record(z.string(), z.unknown()).describe("Structured results of match condition evaluations").nullable().optional(),
59
59
  description: z.string().describe("Brief entity description").nullable().optional(),
60
- candidate_id: z.string().describe("Unique candidate identifier"),
60
+ candidate_id: z.string().describe("Unique candidate identifier").nullable(),
61
61
  match_status: z.enum([
62
62
  "generated",
63
63
  "matched",
64
64
  "unmatched",
65
65
  "discarded"
66
- ]).describe("Status of the candidate")
66
+ ]).describe("Status of the candidate").nullable()
67
67
  }).describe("A candidate entity from the FindAll run.");
68
68
  const parallelGetFindAllRunResult = action("PARALLEL_GET_FIND_ALL_RUN_RESULT", {
69
69
  slug: "parallel-get-find-all-run-result",
@@ -1 +1 @@
1
- {"version":3,"file":"get-find-all-run-result.mjs","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunResultInput: z.ZodTypeAny = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run results.\");\nconst ParallelGetFindAllRunResult_RunMetricsSchema: z.ZodTypeAny = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated\").nullable().optional(),\n}).describe(\"Metrics for the FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunStatusSchema: z.ZodTypeAny = z.object({\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Current state of the run\"),\n metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\"),\n termination_reason: z.enum([\"low_match_rate\", \"match_limit_met\", \"candidates_exhausted\", \"user_cancelled\", \"error_occurred\", \"timeout\"]).describe(\"Why the run ended\").nullable().optional(),\n}).describe(\"Status information for a FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunSchema: z.ZodTypeAny = z.object({\n status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type\"),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run\"),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable().optional(),\n}).describe(\"FindAll run metadata object.\");\nconst ParallelGetFindAllRunResult_CitationSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).describe(\"Supporting citation for a field value.\");\nconst ParallelGetFindAllRunResult_FieldBasisSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"Output field name\"),\n citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\"),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelGetFindAllRunResult_FindAllCandidateSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Disambiguation URL for the entity\"),\n name: z.string().describe(\"Candidate entity name\"),\n basis: z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe(\"Supporting citations and reasoning per output field\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Structured results of match condition evaluations\").nullable().optional(),\n description: z.string().describe(\"Brief entity description\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique candidate identifier\"),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\"]).describe(\"Status of the candidate\"),\n}).describe(\"A candidate entity from the FindAll run.\");\nexport const ParallelGetFindAllRunResultOutput: z.ZodTypeAny = z.object({\n run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),\n candidates: z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe(\"All evaluated candidates\"),\n last_event_id: z.string().describe(\"ID of the last run event; useful for resuming event streams\").nullable().optional(),\n}).describe(\"Response model for FindAll run results.\");\n\nexport const parallelGetFindAllRunResult = action(\"PARALLEL_GET_FIND_ALL_RUN_RESULT\", {\n slug: \"parallel-get-find-all-run-result\",\n name: \"Get FindAll Run Result\",\n description: \"Tool to fetch the final (or latest available) FindAll candidates and result payload for a run. Use when you need to retrieve matched/unmatched candidates after a FindAll run has progressed or completed.\",\n input: ParallelGetFindAllRunResultInput,\n output: ParallelGetFindAllRunResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO,EACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,+CAA6D,EAAE,OAAO;CAC1E,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,qDAAmE,EAAE,OAAO;CAChF,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAmB;EAAW;EAAa;EAAU;EAAc;CAAW,CAAC,CAAC,CAAC,SAAS,0BAA0B;CAC9I,SAAS,6CAA6C,SAAS;CAC/D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CACxE,oBAAoB,EAAE,KAAK;EAAC;EAAkB;EAAmB;EAAwB;EAAkB;EAAkB;CAAS,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,+CAA6D,EA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AAO;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,OAAO,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC/D,cAAc,EAAE,KAAK;EAAC;EAAa;EAAW;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,yBAAyB;AAC7G,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAOtD,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX6D,EAAE,OAAO;EACtE,KAAK,6CAA6C,SAAS;EAC3D,YAAY,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,0BAA0B;EAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-find-all-run-result.mjs","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunResultInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run results.\");\nconst ParallelGetFindAllRunResult_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated\").nullable().optional(),\n}).describe(\"Metrics for the FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunStatusSchema = z.object({\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Current state of the run\").nullable(),\n metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n termination_reason: z.enum([\"low_match_rate\", \"match_limit_met\", \"candidates_exhausted\", \"user_cancelled\", \"error_occurred\", \"timeout\"]).describe(\"Why the run ended\").nullable().optional(),\n}).describe(\"Status information for a FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunSchema = z.object({\n status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable().optional(),\n}).describe(\"FindAll run metadata object.\");\nconst ParallelGetFindAllRunResult_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).describe(\"Supporting citation for a field value.\");\nconst ParallelGetFindAllRunResult_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelGetFindAllRunResult_FindAllCandidateSchema = z.object({\n url: z.string().describe(\"Disambiguation URL for the entity\").nullable(),\n name: z.string().describe(\"Candidate entity name\").nullable(),\n basis: z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe(\"Supporting citations and reasoning per output field\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Structured results of match condition evaluations\").nullable().optional(),\n description: z.string().describe(\"Brief entity description\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique candidate identifier\").nullable(),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\"]).describe(\"Status of the candidate\").nullable(),\n}).describe(\"A candidate entity from the FindAll run.\");\nexport const ParallelGetFindAllRunResultOutput = z.object({\n run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),\n candidates: z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe(\"All evaluated candidates\"),\n last_event_id: z.string().describe(\"ID of the last run event; useful for resuming event streams\").nullable().optional(),\n}).describe(\"Response model for FindAll run results.\");\n\nexport const parallelGetFindAllRunResult = action(\"PARALLEL_GET_FIND_ALL_RUN_RESULT\", {\n slug: \"parallel-get-find-all-run-result\",\n name: \"Get FindAll Run Result\",\n description: \"Tool to fetch the final (or latest available) FindAll candidates and result payload for a run. Use when you need to retrieve matched/unmatched candidates after a FindAll run has progressed or completed.\",\n input: ParallelGetFindAllRunResultInput,\n output: ParallelGetFindAllRunResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,C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CAAW,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAOtD,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+C,EAAE,OAAO;EACxD,KAAK,6CAA6C,SAAS;EAC3D,YAAY,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,0BAA0B;EAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -3,8 +3,8 @@ let zod = require("zod");
3
3
  //#region src/actions/get-find-all-run-schema.ts
4
4
  const ParallelGetFindAllRunSchemaInput = zod.z.object({ findall_id: zod.z.string().describe("The identifier for the FindAll run.") }).describe("Request model for retrieving FindAll run schema.");
5
5
  const ParallelGetFindAllRunSchema_MatchConditionSchema = zod.z.object({
6
- name: zod.z.string().describe("Name of the match condition"),
7
- description: zod.z.string().describe("Description of the match condition")
6
+ name: zod.z.string().describe("Name of the match condition").nullable(),
7
+ description: zod.z.string().describe("Description of the match condition").nullable()
8
8
  }).describe("Match condition model for FindAll ingest.");
9
9
  const ParallelGetFindAllRunSchemaOutput = zod.z.object({
10
10
  generator: zod.z.enum([
@@ -13,9 +13,9 @@ const ParallelGetFindAllRunSchemaOutput = zod.z.object({
13
13
  "pro",
14
14
  "preview"
15
15
  ]).default("core").describe("The generator of the FindAll run.").nullable().optional(),
16
- objective: zod.z.string().describe("Natural language objective of the FindAll run."),
16
+ objective: zod.z.string().describe("Natural language objective of the FindAll run.").nullable(),
17
17
  enrichments: zod.z.array(zod.z.unknown()).describe("List of enrichment inputs for the FindAll run.").nullable().optional(),
18
- entity_type: zod.z.string().describe("Type of the entity for the FindAll run."),
18
+ entity_type: zod.z.string().describe("Type of the entity for the FindAll run.").nullable(),
19
19
  match_limit: zod.z.number().int().describe("Max number of candidates to evaluate").nullable().optional(),
20
20
  match_conditions: zod.z.array(ParallelGetFindAllRunSchema_MatchConditionSchema).describe("List of match conditions for the FindAll run.")
21
21
  }).describe("Response model for FindAll ingest schema.");