@keystrokehq/parallel 0.1.5 → 0.1.6

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 (269) 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 +1 -0
  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 +3 -25
  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 +3 -25
  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 +1 -0
  10. package/dist/actions/add-enrichment-to-find-all-run.mjs.map +1 -1
  11. package/dist/actions/add-runs-to-task-group.cjs +1 -0
  12. package/dist/actions/add-runs-to-task-group.cjs.map +1 -1
  13. package/dist/actions/add-runs-to-task-group.d.cts +3 -34
  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 +3 -34
  16. package/dist/actions/add-runs-to-task-group.d.mts.map +1 -1
  17. package/dist/actions/add-runs-to-task-group.mjs +1 -0
  18. package/dist/actions/add-runs-to-task-group.mjs.map +1 -1
  19. package/dist/actions/cancel-find-all-run.cjs +1 -0
  20. package/dist/actions/cancel-find-all-run.cjs.map +1 -1
  21. package/dist/actions/cancel-find-all-run.d.cts +3 -15
  22. package/dist/actions/cancel-find-all-run.d.cts.map +1 -1
  23. package/dist/actions/cancel-find-all-run.d.mts +3 -15
  24. package/dist/actions/cancel-find-all-run.d.mts.map +1 -1
  25. package/dist/actions/cancel-find-all-run.mjs +1 -0
  26. package/dist/actions/cancel-find-all-run.mjs.map +1 -1
  27. package/dist/actions/create-chat-completions.cjs +1 -0
  28. package/dist/actions/create-chat-completions.cjs.map +1 -1
  29. package/dist/actions/create-chat-completions.d.cts +3 -32
  30. package/dist/actions/create-chat-completions.d.cts.map +1 -1
  31. package/dist/actions/create-chat-completions.d.mts +3 -32
  32. package/dist/actions/create-chat-completions.d.mts.map +1 -1
  33. package/dist/actions/create-chat-completions.mjs +1 -0
  34. package/dist/actions/create-chat-completions.mjs.map +1 -1
  35. package/dist/actions/create-monitor.cjs +1 -0
  36. package/dist/actions/create-monitor.cjs.map +1 -1
  37. package/dist/actions/create-monitor.d.cts +3 -25
  38. package/dist/actions/create-monitor.d.cts.map +1 -1
  39. package/dist/actions/create-monitor.d.mts +3 -25
  40. package/dist/actions/create-monitor.d.mts.map +1 -1
  41. package/dist/actions/create-monitor.mjs +1 -0
  42. package/dist/actions/create-monitor.mjs.map +1 -1
  43. package/dist/actions/create-task-group.cjs +1 -0
  44. package/dist/actions/create-task-group.cjs.map +1 -1
  45. package/dist/actions/create-task-group.d.cts +3 -15
  46. package/dist/actions/create-task-group.d.cts.map +1 -1
  47. package/dist/actions/create-task-group.d.mts +3 -15
  48. package/dist/actions/create-task-group.d.mts.map +1 -1
  49. package/dist/actions/create-task-group.mjs +1 -0
  50. package/dist/actions/create-task-group.mjs.map +1 -1
  51. package/dist/actions/create-task-run.cjs +1 -0
  52. package/dist/actions/create-task-run.cjs.map +1 -1
  53. package/dist/actions/create-task-run.d.cts +3 -34
  54. package/dist/actions/create-task-run.d.cts.map +1 -1
  55. package/dist/actions/create-task-run.d.mts +3 -34
  56. package/dist/actions/create-task-run.d.mts.map +1 -1
  57. package/dist/actions/create-task-run.mjs +1 -0
  58. package/dist/actions/create-task-run.mjs.map +1 -1
  59. package/dist/actions/delete-monitor.cjs +1 -0
  60. package/dist/actions/delete-monitor.cjs.map +1 -1
  61. package/dist/actions/delete-monitor.d.cts +3 -15
  62. package/dist/actions/delete-monitor.d.cts.map +1 -1
  63. package/dist/actions/delete-monitor.d.mts +3 -15
  64. package/dist/actions/delete-monitor.d.mts.map +1 -1
  65. package/dist/actions/delete-monitor.mjs +1 -0
  66. package/dist/actions/delete-monitor.mjs.map +1 -1
  67. package/dist/actions/extend-find-all-run.cjs +1 -0
  68. package/dist/actions/extend-find-all-run.cjs.map +1 -1
  69. package/dist/actions/extend-find-all-run.d.cts +3 -16
  70. package/dist/actions/extend-find-all-run.d.cts.map +1 -1
  71. package/dist/actions/extend-find-all-run.d.mts +3 -16
  72. package/dist/actions/extend-find-all-run.d.mts.map +1 -1
  73. package/dist/actions/extend-find-all-run.mjs +1 -0
  74. package/dist/actions/extend-find-all-run.mjs.map +1 -1
  75. package/dist/actions/extract.cjs +1 -0
  76. package/dist/actions/extract.cjs.map +1 -1
  77. package/dist/actions/extract.d.cts +3 -31
  78. package/dist/actions/extract.d.cts.map +1 -1
  79. package/dist/actions/extract.d.mts +3 -31
  80. package/dist/actions/extract.d.mts.map +1 -1
  81. package/dist/actions/extract.mjs +1 -0
  82. package/dist/actions/extract.mjs.map +1 -1
  83. package/dist/actions/fetch-task-group-runs.cjs +1 -0
  84. package/dist/actions/fetch-task-group-runs.cjs.map +1 -1
  85. package/dist/actions/fetch-task-group-runs.d.cts +3 -19
  86. package/dist/actions/fetch-task-group-runs.d.cts.map +1 -1
  87. package/dist/actions/fetch-task-group-runs.d.mts +3 -19
  88. package/dist/actions/fetch-task-group-runs.d.mts.map +1 -1
  89. package/dist/actions/fetch-task-group-runs.mjs +1 -0
  90. package/dist/actions/fetch-task-group-runs.mjs.map +1 -1
  91. package/dist/actions/find-all.cjs +1 -0
  92. package/dist/actions/find-all.cjs.map +1 -1
  93. package/dist/actions/find-all.d.cts +3 -33
  94. package/dist/actions/find-all.d.cts.map +1 -1
  95. package/dist/actions/find-all.d.mts +3 -33
  96. package/dist/actions/find-all.d.mts.map +1 -1
  97. package/dist/actions/find-all.mjs +1 -0
  98. package/dist/actions/find-all.mjs.map +1 -1
  99. package/dist/actions/get-find-all-run-result.cjs +1 -0
  100. package/dist/actions/get-find-all-run-result.cjs.map +1 -1
  101. package/dist/actions/get-find-all-run-result.d.cts +3 -15
  102. package/dist/actions/get-find-all-run-result.d.cts.map +1 -1
  103. package/dist/actions/get-find-all-run-result.d.mts +3 -15
  104. package/dist/actions/get-find-all-run-result.d.mts.map +1 -1
  105. package/dist/actions/get-find-all-run-result.mjs +1 -0
  106. package/dist/actions/get-find-all-run-result.mjs.map +1 -1
  107. package/dist/actions/get-find-all-run-schema.cjs +1 -0
  108. package/dist/actions/get-find-all-run-schema.cjs.map +1 -1
  109. package/dist/actions/get-find-all-run-schema.d.cts +3 -15
  110. package/dist/actions/get-find-all-run-schema.d.cts.map +1 -1
  111. package/dist/actions/get-find-all-run-schema.d.mts +3 -15
  112. package/dist/actions/get-find-all-run-schema.d.mts.map +1 -1
  113. package/dist/actions/get-find-all-run-schema.mjs +1 -0
  114. package/dist/actions/get-find-all-run-schema.mjs.map +1 -1
  115. package/dist/actions/ingest-find-all-run.cjs +1 -0
  116. package/dist/actions/ingest-find-all-run.cjs.map +1 -1
  117. package/dist/actions/ingest-find-all-run.d.cts +3 -15
  118. package/dist/actions/ingest-find-all-run.d.cts.map +1 -1
  119. package/dist/actions/ingest-find-all-run.d.mts +3 -15
  120. package/dist/actions/ingest-find-all-run.d.mts.map +1 -1
  121. package/dist/actions/ingest-find-all-run.mjs +1 -0
  122. package/dist/actions/ingest-find-all-run.mjs.map +1 -1
  123. package/dist/actions/list-monitor-events.cjs +1 -0
  124. package/dist/actions/list-monitor-events.cjs.map +1 -1
  125. package/dist/actions/list-monitor-events.d.cts +3 -16
  126. package/dist/actions/list-monitor-events.d.cts.map +1 -1
  127. package/dist/actions/list-monitor-events.d.mts +3 -16
  128. package/dist/actions/list-monitor-events.d.mts.map +1 -1
  129. package/dist/actions/list-monitor-events.mjs +1 -0
  130. package/dist/actions/list-monitor-events.mjs.map +1 -1
  131. package/dist/actions/list-monitors.cjs +1 -0
  132. package/dist/actions/list-monitors.cjs.map +1 -1
  133. package/dist/actions/list-monitors.d.cts +3 -16
  134. package/dist/actions/list-monitors.d.cts.map +1 -1
  135. package/dist/actions/list-monitors.d.mts +3 -16
  136. package/dist/actions/list-monitors.d.mts.map +1 -1
  137. package/dist/actions/list-monitors.mjs +1 -0
  138. package/dist/actions/list-monitors.mjs.map +1 -1
  139. package/dist/actions/retrieve-event-group.cjs +1 -0
  140. package/dist/actions/retrieve-event-group.cjs.map +1 -1
  141. package/dist/actions/retrieve-event-group.d.cts +3 -16
  142. package/dist/actions/retrieve-event-group.d.cts.map +1 -1
  143. package/dist/actions/retrieve-event-group.d.mts +3 -16
  144. package/dist/actions/retrieve-event-group.d.mts.map +1 -1
  145. package/dist/actions/retrieve-event-group.mjs +1 -0
  146. package/dist/actions/retrieve-event-group.mjs.map +1 -1
  147. package/dist/actions/retrieve-find-all-run-status.cjs +1 -0
  148. package/dist/actions/retrieve-find-all-run-status.cjs.map +1 -1
  149. package/dist/actions/retrieve-find-all-run-status.d.cts +3 -15
  150. package/dist/actions/retrieve-find-all-run-status.d.cts.map +1 -1
  151. package/dist/actions/retrieve-find-all-run-status.d.mts +3 -15
  152. package/dist/actions/retrieve-find-all-run-status.d.mts.map +1 -1
  153. package/dist/actions/retrieve-find-all-run-status.mjs +1 -0
  154. package/dist/actions/retrieve-find-all-run-status.mjs.map +1 -1
  155. package/dist/actions/retrieve-monitor.cjs +1 -0
  156. package/dist/actions/retrieve-monitor.cjs.map +1 -1
  157. package/dist/actions/retrieve-monitor.d.cts +3 -15
  158. package/dist/actions/retrieve-monitor.d.cts.map +1 -1
  159. package/dist/actions/retrieve-monitor.d.mts +3 -15
  160. package/dist/actions/retrieve-monitor.d.mts.map +1 -1
  161. package/dist/actions/retrieve-monitor.mjs +1 -0
  162. package/dist/actions/retrieve-monitor.mjs.map +1 -1
  163. package/dist/actions/retrieve-task-group-run.cjs +1 -0
  164. package/dist/actions/retrieve-task-group-run.cjs.map +1 -1
  165. package/dist/actions/retrieve-task-group-run.d.cts +3 -16
  166. package/dist/actions/retrieve-task-group-run.d.cts.map +1 -1
  167. package/dist/actions/retrieve-task-group-run.d.mts +3 -16
  168. package/dist/actions/retrieve-task-group-run.d.mts.map +1 -1
  169. package/dist/actions/retrieve-task-group-run.mjs +1 -0
  170. package/dist/actions/retrieve-task-group-run.mjs.map +1 -1
  171. package/dist/actions/retrieve-task-group.cjs +1 -0
  172. package/dist/actions/retrieve-task-group.cjs.map +1 -1
  173. package/dist/actions/retrieve-task-group.d.cts +3 -15
  174. package/dist/actions/retrieve-task-group.d.cts.map +1 -1
  175. package/dist/actions/retrieve-task-group.d.mts +3 -15
  176. package/dist/actions/retrieve-task-group.d.mts.map +1 -1
  177. package/dist/actions/retrieve-task-group.mjs +1 -0
  178. package/dist/actions/retrieve-task-group.mjs.map +1 -1
  179. package/dist/actions/retrieve-task-run-input.cjs +1 -0
  180. package/dist/actions/retrieve-task-run-input.cjs.map +1 -1
  181. package/dist/actions/retrieve-task-run-input.d.cts +3 -15
  182. package/dist/actions/retrieve-task-run-input.d.cts.map +1 -1
  183. package/dist/actions/retrieve-task-run-input.d.mts +3 -15
  184. package/dist/actions/retrieve-task-run-input.d.mts.map +1 -1
  185. package/dist/actions/retrieve-task-run-input.mjs +1 -0
  186. package/dist/actions/retrieve-task-run-input.mjs.map +1 -1
  187. package/dist/actions/retrieve-task-run-result.cjs +1 -0
  188. package/dist/actions/retrieve-task-run-result.cjs.map +1 -1
  189. package/dist/actions/retrieve-task-run-result.d.cts +3 -17
  190. package/dist/actions/retrieve-task-run-result.d.cts.map +1 -1
  191. package/dist/actions/retrieve-task-run-result.d.mts +3 -17
  192. package/dist/actions/retrieve-task-run-result.d.mts.map +1 -1
  193. package/dist/actions/retrieve-task-run-result.mjs +1 -0
  194. package/dist/actions/retrieve-task-run-result.mjs.map +1 -1
  195. package/dist/actions/retrieve-task-run.cjs +1 -0
  196. package/dist/actions/retrieve-task-run.cjs.map +1 -1
  197. package/dist/actions/retrieve-task-run.d.cts +3 -15
  198. package/dist/actions/retrieve-task-run.d.cts.map +1 -1
  199. package/dist/actions/retrieve-task-run.d.mts +3 -15
  200. package/dist/actions/retrieve-task-run.d.mts.map +1 -1
  201. package/dist/actions/retrieve-task-run.mjs +1 -0
  202. package/dist/actions/retrieve-task-run.mjs.map +1 -1
  203. package/dist/actions/search.cjs +1 -0
  204. package/dist/actions/search.cjs.map +1 -1
  205. package/dist/actions/search.d.cts +3 -15
  206. package/dist/actions/search.d.cts.map +1 -1
  207. package/dist/actions/search.d.mts +3 -15
  208. package/dist/actions/search.d.mts.map +1 -1
  209. package/dist/actions/search.mjs +1 -0
  210. package/dist/actions/search.mjs.map +1 -1
  211. package/dist/actions/simulate-event.cjs +1 -0
  212. package/dist/actions/simulate-event.cjs.map +1 -1
  213. package/dist/actions/simulate-event.d.cts +3 -16
  214. package/dist/actions/simulate-event.d.cts.map +1 -1
  215. package/dist/actions/simulate-event.d.mts +3 -16
  216. package/dist/actions/simulate-event.d.mts.map +1 -1
  217. package/dist/actions/simulate-event.mjs +1 -0
  218. package/dist/actions/simulate-event.mjs.map +1 -1
  219. package/dist/actions/stream-find-all-events.cjs +1 -0
  220. package/dist/actions/stream-find-all-events.cjs.map +1 -1
  221. package/dist/actions/stream-find-all-events.d.cts +3 -17
  222. package/dist/actions/stream-find-all-events.d.cts.map +1 -1
  223. package/dist/actions/stream-find-all-events.d.mts +3 -17
  224. package/dist/actions/stream-find-all-events.d.mts.map +1 -1
  225. package/dist/actions/stream-find-all-events.mjs +1 -0
  226. package/dist/actions/stream-find-all-events.mjs.map +1 -1
  227. package/dist/actions/stream-task-group-events.cjs +1 -0
  228. package/dist/actions/stream-task-group-events.cjs.map +1 -1
  229. package/dist/actions/stream-task-group-events.d.cts +3 -17
  230. package/dist/actions/stream-task-group-events.d.cts.map +1 -1
  231. package/dist/actions/stream-task-group-events.d.mts +3 -17
  232. package/dist/actions/stream-task-group-events.d.mts.map +1 -1
  233. package/dist/actions/stream-task-group-events.mjs +1 -0
  234. package/dist/actions/stream-task-group-events.mjs.map +1 -1
  235. package/dist/actions/stream-task-run-events.cjs +1 -0
  236. package/dist/actions/stream-task-run-events.cjs.map +1 -1
  237. package/dist/actions/stream-task-run-events.d.cts +3 -15
  238. package/dist/actions/stream-task-run-events.d.cts.map +1 -1
  239. package/dist/actions/stream-task-run-events.d.mts +3 -15
  240. package/dist/actions/stream-task-run-events.d.mts.map +1 -1
  241. package/dist/actions/stream-task-run-events.mjs +1 -0
  242. package/dist/actions/stream-task-run-events.mjs.map +1 -1
  243. package/dist/actions/suggest-task.cjs +1 -0
  244. package/dist/actions/suggest-task.cjs.map +1 -1
  245. package/dist/actions/suggest-task.d.cts +3 -15
  246. package/dist/actions/suggest-task.d.cts.map +1 -1
  247. package/dist/actions/suggest-task.d.mts +3 -15
  248. package/dist/actions/suggest-task.d.mts.map +1 -1
  249. package/dist/actions/suggest-task.mjs +1 -0
  250. package/dist/actions/suggest-task.mjs.map +1 -1
  251. package/dist/actions/update-monitor.cjs +1 -0
  252. package/dist/actions/update-monitor.cjs.map +1 -1
  253. package/dist/actions/update-monitor.d.cts +3 -22
  254. package/dist/actions/update-monitor.d.cts.map +1 -1
  255. package/dist/actions/update-monitor.d.mts +3 -22
  256. package/dist/actions/update-monitor.d.mts.map +1 -1
  257. package/dist/actions/update-monitor.mjs +1 -0
  258. package/dist/actions/update-monitor.mjs.map +1 -1
  259. package/dist/app.cjs +2 -2
  260. package/dist/app.cjs.map +1 -1
  261. package/dist/app.d.cts +4 -6
  262. package/dist/app.d.cts.map +1 -1
  263. package/dist/app.d.mts +4 -6
  264. package/dist/app.d.mts.map +1 -1
  265. package/dist/app.mjs +0 -1
  266. package/dist/app.mjs.map +1 -1
  267. package/dist/index.d.cts +1 -1
  268. package/dist/index.d.mts +1 -1
  269. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/ingest-find-all-run.d.ts
@@ -20,21 +22,7 @@ declare const ParallelIngestFindAllRunOutput: z.ZodObject<{
20
22
  description: z.ZodNullable<z.ZodString>;
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>;
23
- declare const parallelIngestFindAllRun: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- objective: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>;
25
+ declare const parallelIngestFindAllRun: AppAction<typeof ParallelIngestFindAllRunInput, typeof ParallelIngestFindAllRunOutput, typeof parallel.credential>;
38
26
  //#endregion
39
27
  export { parallelIngestFindAllRun };
40
28
  //# sourceMappingURL=ingest-find-all-run.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ingest-find-all-run.d.mts","names":[],"sources":["../../src/actions/ingest-find-all-run.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAS9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"ingest-find-all-run.d.mts","names":[],"sources":["../../src/actions/ingest-find-all-run.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAS9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/ingest-find-all-run.ts
@@ -1 +1 @@
1
- {"version":3,"file":"ingest-find-all-run.mjs","names":[],"sources":["../../src/actions/ingest-find-all-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelIngestFindAllRunInput = z.object({\n objective: z.string().describe(\"Natural language search objective to transform into a structured FindAll specification. Describe what you want to find (e.g., 'Find technology companies in San Francisco with over 100 employees').\"),\n});\nconst ParallelIngestFindAllRun_MatchConditionSchema = z.object({\n name: z.string().describe(\"Identifier for the match condition.\").nullable(),\n description: z.string().describe(\"Description of what must be satisfied for the match.\").nullable(),\n}).passthrough();\nexport const ParallelIngestFindAllRunOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator tier for the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of entity for the FindAll run (e.g., companies, people).\").nullable(),\n match_limit: z.number().int().describe(\"Maximum number of candidates to evaluate. If not specified, uses API default.\").nullable().optional(),\n match_conditions: z.array(ParallelIngestFindAllRun_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).passthrough();\n\nexport const parallelIngestFindAllRun = action(\"PARALLEL_INGEST_FIND_ALL_RUN\", {\n slug: \"parallel-ingest-find-all-run\",\n name: \"Ingest FindAll Run\",\n description: \"Tool to transform a natural language search objective into a structured FindAll specification. Use when you need to generate a FindAll run spec from a user's natural language description. The generated specification serves as a suggested starting point and can be further customized.\",\n input: ParallelIngestFindAllRunInput,\n output: ParallelIngestFindAllRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EACvO,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAUf,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,EAAE,OAAO;EACrD,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;EAAS,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,kBAAkB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;CACnI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"ingest-find-all-run.mjs","names":[],"sources":["../../src/actions/ingest-find-all-run.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelIngestFindAllRunInput = z.object({\n objective: z.string().describe(\"Natural language search objective to transform into a structured FindAll specification. Describe what you want to find (e.g., 'Find technology companies in San Francisco with over 100 employees').\"),\n});\nconst ParallelIngestFindAllRun_MatchConditionSchema = z.object({\n name: z.string().describe(\"Identifier for the match condition.\").nullable(),\n description: z.string().describe(\"Description of what must be satisfied for the match.\").nullable(),\n}).passthrough();\nexport const ParallelIngestFindAllRunOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator tier for the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of entity for the FindAll run (e.g., companies, people).\").nullable(),\n match_limit: z.number().int().describe(\"Maximum number of candidates to evaluate. If not specified, uses API default.\").nullable().optional(),\n match_conditions: z.array(ParallelIngestFindAllRun_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).passthrough();\n\nexport const parallelIngestFindAllRun: AppAction<\n typeof ParallelIngestFindAllRunInput,\n typeof ParallelIngestFindAllRunOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_INGEST_FIND_ALL_RUN\", {\n slug: \"parallel-ingest-find-all-run\",\n name: \"Ingest FindAll Run\",\n description: \"Tool to transform a natural language search objective into a structured FindAll specification. Use when you need to generate a FindAll run spec from a user's natural language description. The generated specification serves as a suggested starting point and can be further customized.\",\n input: ParallelIngestFindAllRunInput,\n output: ParallelIngestFindAllRunOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EACvO,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAUf,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB4C,EAAE,OAAO;EACrD,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;EAAS,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,kBAAkB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;CACnI,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-monitor-events.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-monitor-events.cjs","names":["z","action"],"sources":["../../src/actions/list-monitor-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelListMonitorEventsInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve events for.\"),\n lookback_period: z.string().default(\"10d\").describe(\"Lookback period to fetch events from. Sample values: `10d`, `1w`. A minimum of 1 day is supported and with one day increments. Use `d` for days, `w` for weeks.\").optional(),\n}).describe(\"Request model for listing events for a monitor.\");\nconst ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type identifier for the event\").nullable().optional(),\n output: z.string().describe(\"Output generated by the monitor\").nullable(),\n result: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable(),\n event_date: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs associated with the event\"),\n event_group_id: z.string().describe(\"Unique identifier for the event group\").nullable(),\n}).passthrough().describe(\"Detailed event information for a monitor execution.\");\nconst ParallelListMonitorEvents_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Unique identifier for the error event\").nullable(),\n date: z.string().describe(\"ISO timestamp when the error occurred\").nullable(),\n type: z.string().describe(\"Type identifier for the error event\").nullable().optional(),\n error: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).passthrough().describe(\"Error information for a failed monitor execution.\");\nconst ParallelListMonitorEvents_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type identifier for the completion event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when the monitor completed execution\").nullable(),\n}).passthrough().describe(\"Completion information for a monitor execution.\");\nexport const ParallelListMonitorEventsOutput = z.object({\n events: z.array(z.union([ParallelListMonitorEvents_MonitorEventDetailSchema, ParallelListMonitorEvents_MonitorExecutionErrorSchema, ParallelListMonitorEvents_MonitorCompletionSchema])).describe(\"List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.\"),\n}).passthrough().describe(\"Response model containing monitor execution history.\");\n\nexport const parallelListMonitorEvents = action(\"PARALLEL_LIST_MONITOR_EVENTS\", {\n slug: \"parallel-list-monitor-events\",\n name: \"List Monitor Events\",\n description: \"Tool to list events for a monitor from up to the last 300 event groups. Retrieves events including errors and material changes in reverse chronological order.\",\n input: ParallelListMonitorEventsInput,\n output: ParallelListMonitorEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC1F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;AAClO,CAAC,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,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;CAAC;CAAoD;CAAuD;AAAiD,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI,EAC1U,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-monitor-events.cjs","names":["z","action"],"sources":["../../src/actions/list-monitor-events.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelListMonitorEventsInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve events for.\"),\n lookback_period: z.string().default(\"10d\").describe(\"Lookback period to fetch events from. Sample values: `10d`, `1w`. A minimum of 1 day is supported and with one day increments. Use `d` for days, `w` for weeks.\").optional(),\n}).describe(\"Request model for listing events for a monitor.\");\nconst ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type identifier for the event\").nullable().optional(),\n output: z.string().describe(\"Output generated by the monitor\").nullable(),\n result: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable(),\n event_date: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs associated with the event\"),\n event_group_id: z.string().describe(\"Unique identifier for the event group\").nullable(),\n}).passthrough().describe(\"Detailed event information for a monitor execution.\");\nconst ParallelListMonitorEvents_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Unique identifier for the error event\").nullable(),\n date: z.string().describe(\"ISO timestamp when the error occurred\").nullable(),\n type: z.string().describe(\"Type identifier for the error event\").nullable().optional(),\n error: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).passthrough().describe(\"Error information for a failed monitor execution.\");\nconst ParallelListMonitorEvents_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type identifier for the completion event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when the monitor completed execution\").nullable(),\n}).passthrough().describe(\"Completion information for a monitor execution.\");\nexport const ParallelListMonitorEventsOutput = z.object({\n events: z.array(z.union([ParallelListMonitorEvents_MonitorEventDetailSchema, ParallelListMonitorEvents_MonitorExecutionErrorSchema, ParallelListMonitorEvents_MonitorCompletionSchema])).describe(\"List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.\"),\n}).passthrough().describe(\"Response model containing monitor execution history.\");\n\nexport const parallelListMonitorEvents: AppAction<\n typeof ParallelListMonitorEventsInput,\n typeof ParallelListMonitorEventsOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_LIST_MONITOR_EVENTS\", {\n slug: \"parallel-list-monitor-events\",\n name: \"List Monitor Events\",\n description: \"Tool to list events for a monitor from up to the last 300 event groups. Retrieves events including errors and material changes in reverse chronological order.\",\n input: ParallelListMonitorEventsInput,\n output: ParallelListMonitorEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC1F,iB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A,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;CAAC;CAAoD;CAAuD;AAAiD,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI,EAC1U,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-monitor-events.d.ts
@@ -23,22 +25,7 @@ declare const ParallelListMonitorEventsOutput: z.ZodObject<{
23
25
  monitor_ts: z.ZodNullable<z.ZodString>;
24
26
  }, z.core.$loose>]>>;
25
27
  }, z.core.$loose>;
26
- declare const parallelListMonitorEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- monitor_id: string;
28
- lookback_period?: string | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>;
28
+ declare const parallelListMonitorEvents: AppAction<typeof ParallelListMonitorEventsInput, typeof ParallelListMonitorEventsOutput, typeof parallel.credential>;
42
29
  //#endregion
43
30
  export { parallelListMonitorEvents };
44
31
  //# sourceMappingURL=list-monitor-events.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-monitor-events.d.cts","names":[],"sources":["../../src/actions/list-monitor-events.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-monitor-events.d.cts","names":[],"sources":["../../src/actions/list-monitor-events.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-monitor-events.d.ts
@@ -23,22 +25,7 @@ declare const ParallelListMonitorEventsOutput: z.ZodObject<{
23
25
  monitor_ts: z.ZodNullable<z.ZodString>;
24
26
  }, z.core.$loose>]>>;
25
27
  }, z.core.$loose>;
26
- declare const parallelListMonitorEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- monitor_id: string;
28
- lookback_period?: string | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>;
28
+ declare const parallelListMonitorEvents: AppAction<typeof ParallelListMonitorEventsInput, typeof ParallelListMonitorEventsOutput, typeof parallel.credential>;
42
29
  //#endregion
43
30
  export { parallelListMonitorEvents };
44
31
  //# sourceMappingURL=list-monitor-events.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-monitor-events.d.mts","names":[],"sources":["../../src/actions/list-monitor-events.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-monitor-events.d.mts","names":[],"sources":["../../src/actions/list-monitor-events.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-monitor-events.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-monitor-events.mjs","names":[],"sources":["../../src/actions/list-monitor-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelListMonitorEventsInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve events for.\"),\n lookback_period: z.string().default(\"10d\").describe(\"Lookback period to fetch events from. Sample values: `10d`, `1w`. A minimum of 1 day is supported and with one day increments. Use `d` for days, `w` for weeks.\").optional(),\n}).describe(\"Request model for listing events for a monitor.\");\nconst ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type identifier for the event\").nullable().optional(),\n output: z.string().describe(\"Output generated by the monitor\").nullable(),\n result: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable(),\n event_date: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs associated with the event\"),\n event_group_id: z.string().describe(\"Unique identifier for the event group\").nullable(),\n}).passthrough().describe(\"Detailed event information for a monitor execution.\");\nconst ParallelListMonitorEvents_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Unique identifier for the error event\").nullable(),\n date: z.string().describe(\"ISO timestamp when the error occurred\").nullable(),\n type: z.string().describe(\"Type identifier for the error event\").nullable().optional(),\n error: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).passthrough().describe(\"Error information for a failed monitor execution.\");\nconst ParallelListMonitorEvents_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type identifier for the completion event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when the monitor completed execution\").nullable(),\n}).passthrough().describe(\"Completion information for a monitor execution.\");\nexport const ParallelListMonitorEventsOutput = z.object({\n events: z.array(z.union([ParallelListMonitorEvents_MonitorEventDetailSchema, ParallelListMonitorEvents_MonitorExecutionErrorSchema, ParallelListMonitorEvents_MonitorCompletionSchema])).describe(\"List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.\"),\n}).passthrough().describe(\"Response model containing monitor execution history.\");\n\nexport const parallelListMonitorEvents = action(\"PARALLEL_LIST_MONITOR_EVENTS\", {\n slug: \"parallel-list-monitor-events\",\n name: \"List Monitor Events\",\n description: \"Tool to list events for a monitor from up to the last 300 event groups. Retrieves events including errors and material changes in reverse chronological order.\",\n input: ParallelListMonitorEventsInput,\n output: ParallelListMonitorEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC1F,iBAAiB,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;AAClO,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C;CACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,oDAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,QAAQ,EAAE,MAAM,EAAE,MAAM;EAAC;EAAoD;EAAuD;CAAiD,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI,EAC1U,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-monitor-events.mjs","names":[],"sources":["../../src/actions/list-monitor-events.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelListMonitorEventsInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve events for.\"),\n lookback_period: z.string().default(\"10d\").describe(\"Lookback period to fetch events from. Sample values: `10d`, `1w`. A minimum of 1 day is supported and with one day increments. Use `d` for days, `w` for weeks.\").optional(),\n}).describe(\"Request model for listing events for a monitor.\");\nconst ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type identifier for the event\").nullable().optional(),\n output: z.string().describe(\"Output generated by the monitor\").nullable(),\n result: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable(),\n event_date: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs associated with the event\"),\n event_group_id: z.string().describe(\"Unique identifier for the event group\").nullable(),\n}).passthrough().describe(\"Detailed event information for a monitor execution.\");\nconst ParallelListMonitorEvents_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Unique identifier for the error event\").nullable(),\n date: z.string().describe(\"ISO timestamp when the error occurred\").nullable(),\n type: z.string().describe(\"Type identifier for the error event\").nullable().optional(),\n error: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).passthrough().describe(\"Error information for a failed monitor execution.\");\nconst ParallelListMonitorEvents_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type identifier for the completion event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when the monitor completed execution\").nullable(),\n}).passthrough().describe(\"Completion information for a monitor execution.\");\nexport const ParallelListMonitorEventsOutput = z.object({\n events: z.array(z.union([ParallelListMonitorEvents_MonitorEventDetailSchema, ParallelListMonitorEvents_MonitorExecutionErrorSchema, ParallelListMonitorEvents_MonitorCompletionSchema])).describe(\"List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.\"),\n}).passthrough().describe(\"Response model containing monitor execution history.\");\n\nexport const parallelListMonitorEvents: AppAction<\n typeof ParallelListMonitorEventsInput,\n typeof ParallelListMonitorEventsOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_LIST_MONITOR_EVENTS\", {\n slug: \"parallel-list-monitor-events\",\n name: \"List Monitor Events\",\n description: \"Tool to list events for a monitor from up to the last 300 event groups. Retrieves events including errors and material changes in reverse chronological order.\",\n input: ParallelListMonitorEventsInput,\n output: ParallelListMonitorEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC1F,iBAAiB,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;AAClO,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C;CACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,oDAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,QAAQ,EAAE,MAAM,EAAE,MAAM;EAAC;EAAoD;EAAuD;CAAiD,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI,EAC1U,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-monitors.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-monitors.cjs","names":["z","action"],"sources":["../../src/actions/list-monitors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelListMonitorsInput = z.object({\n limit: z.string().describe(\"Maximum number of monitors to return. If not specified, returns all monitors.\").optional(),\n monitor_id: z.string().describe(\"Monitor ID to start listing after (cursor for pagination). Returns monitors starting with this ID in lexicographic order.\").optional(),\n}).describe(\"Request model for listing monitors with pagination support.\");\nconst ParallelListMonitors_MonitorStatusSchema = z.enum([\"active\", \"canceled\"]).describe(\"Status options for monitors.\");\nconst ParallelListMonitors_MonitorCadenceSchema = z.enum([\"daily\", \"weekly\", \"hourly\", \"every_two_weeks\"]).describe(\"Cadence options for monitor execution.\");\nconst ParallelListMonitors_MonitorWebhookSchema = z.object({\n url: z.string().describe(\"Webhook endpoint URL to receive monitor events\").nullable(),\n event_types: z.array(z.string()).describe(\"List of event types to subscribe to\").nullable().optional(),\n}).passthrough().describe(\"Webhook configuration for monitor events.\");\nconst ParallelListMonitors_OutputSchemaSchema = z.object({\n type: z.string().describe(\"Type identifier for the schema\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema defining the expected output structure\"),\n}).passthrough().describe(\"Output schema configuration for monitor events.\");\nconst ParallelListMonitors_MonitorItemSchema = z.object({\n query: z.string().describe(\"The query being monitored\").nullable(),\n status: ParallelListMonitors_MonitorStatusSchema.nullable(),\n cadence: ParallelListMonitors_MonitorCadenceSchema.nullable(),\n webhook: ParallelListMonitors_MonitorWebhookSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the monitor\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the monitor was created\").nullable(),\n monitor_id: z.string().describe(\"Unique identifier for the monitor\").nullable(),\n last_run_at: z.string().describe(\"ISO 8601 timestamp of the last monitor execution\").nullable().optional(),\n output_schema: ParallelListMonitors_OutputSchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Individual monitor response object with configuration and status.\");\nexport const ParallelListMonitorsOutput = z.object({\n monitors: z.array(ParallelListMonitors_MonitorItemSchema).describe(\"List of monitor objects with their configurations and status\"),\n}).passthrough().describe(\"Response model containing a list of monitors.\");\n\nexport const parallelListMonitors = action(\"PARALLEL_LIST_MONITORS\", {\n slug: \"parallel-list-monitors\",\n name: \"List Monitors\",\n description: \"Tool to list active monitors for the user. Returns all monitors regardless of status with their configuration and current state. Supports cursor-based pagination using monitor_id and limit parameters.\",\n input: ParallelListMonitorsInput,\n output: ParallelListMonitorsOutput,\n});\n"],"mappings":";;;AA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,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAe,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8DAA8D,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-monitors.cjs","names":["z","action"],"sources":["../../src/actions/list-monitors.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelListMonitorsInput = z.object({\n limit: z.string().describe(\"Maximum number of monitors to return. If not specified, returns all monitors.\").optional(),\n monitor_id: z.string().describe(\"Monitor ID to start listing after (cursor for pagination). Returns monitors starting with this ID in lexicographic order.\").optional(),\n}).describe(\"Request model for listing monitors with pagination support.\");\nconst ParallelListMonitors_MonitorStatusSchema = z.enum([\"active\", \"canceled\"]).describe(\"Status options for monitors.\");\nconst ParallelListMonitors_MonitorCadenceSchema = z.enum([\"daily\", \"weekly\", \"hourly\", \"every_two_weeks\"]).describe(\"Cadence options for monitor execution.\");\nconst ParallelListMonitors_MonitorWebhookSchema = z.object({\n url: z.string().describe(\"Webhook endpoint URL to receive monitor events\").nullable(),\n event_types: z.array(z.string()).describe(\"List of event types to subscribe to\").nullable().optional(),\n}).passthrough().describe(\"Webhook configuration for monitor events.\");\nconst ParallelListMonitors_OutputSchemaSchema = z.object({\n type: z.string().describe(\"Type identifier for the schema\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema defining the expected output structure\"),\n}).passthrough().describe(\"Output schema configuration for monitor events.\");\nconst ParallelListMonitors_MonitorItemSchema = z.object({\n query: z.string().describe(\"The query being monitored\").nullable(),\n status: ParallelListMonitors_MonitorStatusSchema.nullable(),\n cadence: ParallelListMonitors_MonitorCadenceSchema.nullable(),\n webhook: ParallelListMonitors_MonitorWebhookSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the monitor\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the monitor was created\").nullable(),\n monitor_id: z.string().describe(\"Unique identifier for the monitor\").nullable(),\n last_run_at: z.string().describe(\"ISO 8601 timestamp of the last monitor execution\").nullable().optional(),\n output_schema: ParallelListMonitors_OutputSchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Individual monitor response object with configuration and status.\");\nexport const ParallelListMonitorsOutput = z.object({\n monitors: z.array(ParallelListMonitors_MonitorItemSchema).describe(\"List of monitor objects with their configurations and status\"),\n}).passthrough().describe(\"Response model containing a list of monitors.\");\n\nexport const parallelListMonitors: AppAction<\n typeof ParallelListMonitorsInput,\n typeof ParallelListMonitorsOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_LIST_MONITORS\", {\n slug: \"parallel-list-monitors\",\n name: \"List Monitors\",\n description: \"Tool to list active monitors for the user. Returns all monitors regardless of status with their configuration and current state. Supports cursor-based pagination using mon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jE,QAAQ,yCAAyC,SAAS;CAC1D,SAAS,0CAA0C,SAAS;CAC5D,SAAS,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAe,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8DAA8D,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-monitors.d.ts
@@ -32,22 +34,7 @@ declare const ParallelListMonitorsOutput: z.ZodObject<{
32
34
  }, z.core.$loose>>>;
33
35
  }, z.core.$loose>>;
34
36
  }, z.core.$loose>;
35
- declare const parallelListMonitors: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- limit?: string | undefined;
37
- monitor_id?: string | undefined;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
45
- connectionId: z.ZodString;
46
- entityId: z.ZodString;
47
- instanceId: z.ZodString;
48
- }, z.core.$strip>, z.ZodObject<{
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>;
37
+ declare const parallelListMonitors: AppAction<typeof ParallelListMonitorsInput, typeof ParallelListMonitorsOutput, typeof parallel.credential>;
51
38
  //#endregion
52
39
  export { parallelListMonitors };
53
40
  //# sourceMappingURL=list-monitors.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-monitors.d.cts","names":[],"sources":["../../src/actions/list-monitors.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAyBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"list-monitors.d.cts","names":[],"sources":["../../src/actions/list-monitors.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAyBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-monitors.d.ts
@@ -32,22 +34,7 @@ declare const ParallelListMonitorsOutput: z.ZodObject<{
32
34
  }, z.core.$loose>>>;
33
35
  }, z.core.$loose>>;
34
36
  }, z.core.$loose>;
35
- declare const parallelListMonitors: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- limit?: string | undefined;
37
- monitor_id?: string | undefined;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
45
- connectionId: z.ZodString;
46
- entityId: z.ZodString;
47
- instanceId: z.ZodString;
48
- }, z.core.$strip>, z.ZodObject<{
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>;
37
+ declare const parallelListMonitors: AppAction<typeof ParallelListMonitorsInput, typeof ParallelListMonitorsOutput, typeof parallel.credential>;
51
38
  //#endregion
52
39
  export { parallelListMonitors };
53
40
  //# sourceMappingURL=list-monitors.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-monitors.d.mts","names":[],"sources":["../../src/actions/list-monitors.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAyBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"list-monitors.d.mts","names":[],"sources":["../../src/actions/list-monitors.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAyBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-monitors.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-monitors.mjs","names":[],"sources":["../../src/actions/list-monitors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelListMonitorsInput = z.object({\n limit: z.string().describe(\"Maximum number of monitors to return. If not specified, returns all monitors.\").optional(),\n monitor_id: z.string().describe(\"Monitor ID to start listing after (cursor for pagination). Returns monitors starting with this ID in lexicographic order.\").optional(),\n}).describe(\"Request model for listing monitors with pagination support.\");\nconst ParallelListMonitors_MonitorStatusSchema = z.enum([\"active\", \"canceled\"]).describe(\"Status options for monitors.\");\nconst ParallelListMonitors_MonitorCadenceSchema = z.enum([\"daily\", \"weekly\", \"hourly\", \"every_two_weeks\"]).describe(\"Cadence options for monitor execution.\");\nconst ParallelListMonitors_MonitorWebhookSchema = z.object({\n url: z.string().describe(\"Webhook endpoint URL to receive monitor events\").nullable(),\n event_types: z.array(z.string()).describe(\"List of event types to subscribe to\").nullable().optional(),\n}).passthrough().describe(\"Webhook configuration for monitor events.\");\nconst ParallelListMonitors_OutputSchemaSchema = z.object({\n type: z.string().describe(\"Type identifier for the schema\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema defining the expected output structure\"),\n}).passthrough().describe(\"Output schema configuration for monitor events.\");\nconst ParallelListMonitors_MonitorItemSchema = z.object({\n query: z.string().describe(\"The query being monitored\").nullable(),\n status: ParallelListMonitors_MonitorStatusSchema.nullable(),\n cadence: ParallelListMonitors_MonitorCadenceSchema.nullable(),\n webhook: ParallelListMonitors_MonitorWebhookSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the monitor\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the monitor was created\").nullable(),\n monitor_id: z.string().describe(\"Unique identifier for the monitor\").nullable(),\n last_run_at: z.string().describe(\"ISO 8601 timestamp of the last monitor execution\").nullable().optional(),\n output_schema: ParallelListMonitors_OutputSchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Individual monitor response object with configuration and status.\");\nexport const ParallelListMonitorsOutput = z.object({\n monitors: z.array(ParallelListMonitors_MonitorItemSchema).describe(\"List of monitor objects with their configurations and status\"),\n}).passthrough().describe(\"Response model containing a list of monitors.\");\n\nexport const parallelListMonitors = action(\"PARALLEL_LIST_MONITORS\", {\n slug: \"parallel-list-monitors\",\n name: \"List Monitors\",\n description: \"Tool to list active monitors for the user. Returns all monitors regardless of status with their configuration and current state. Supports cursor-based pagination using monitor_id and limit parameters.\",\n input: ParallelListMonitorsInput,\n output: ParallelListMonitorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,2CAA2C,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,8BAA8B;AACvH,MAAM,4CAA4C,EAAE,KAAK;CAAC;CAAS;CAAU;CAAU;AAAiB,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAC5J,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,QAAQ,yCAAyC,SAAS;CAC1D,SAAS,0CAA0C,SAAS;CAC5D,SAAS,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAe,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAK7F,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,UAAU,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8DAA8D,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-monitors.mjs","names":[],"sources":["../../src/actions/list-monitors.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelListMonitorsInput = z.object({\n limit: z.string().describe(\"Maximum number of monitors to return. If not specified, returns all monitors.\").optional(),\n monitor_id: z.string().describe(\"Monitor ID to start listing after (cursor for pagination). Returns monitors starting with this ID in lexicographic order.\").optional(),\n}).describe(\"Request model for listing monitors with pagination support.\");\nconst ParallelListMonitors_MonitorStatusSchema = z.enum([\"active\", \"canceled\"]).describe(\"Status options for monitors.\");\nconst ParallelListMonitors_MonitorCadenceSchema = z.enum([\"daily\", \"weekly\", \"hourly\", \"every_two_weeks\"]).describe(\"Cadence options for monitor execution.\");\nconst ParallelListMonitors_MonitorWebhookSchema = z.object({\n url: z.string().describe(\"Webhook endpoint URL to receive monitor events\").nullable(),\n event_types: z.array(z.string()).describe(\"List of event types to subscribe to\").nullable().optional(),\n}).passthrough().describe(\"Webhook configuration for monitor events.\");\nconst ParallelListMonitors_OutputSchemaSchema = z.object({\n type: z.string().describe(\"Type identifier for the schema\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema defining the expected output structure\"),\n}).passthrough().describe(\"Output schema configuration for monitor events.\");\nconst ParallelListMonitors_MonitorItemSchema = z.object({\n query: z.string().describe(\"The query being monitored\").nullable(),\n status: ParallelListMonitors_MonitorStatusSchema.nullable(),\n cadence: ParallelListMonitors_MonitorCadenceSchema.nullable(),\n webhook: ParallelListMonitors_MonitorWebhookSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"User-provided metadata stored with the monitor\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the monitor was created\").nullable(),\n monitor_id: z.string().describe(\"Unique identifier for the monitor\").nullable(),\n last_run_at: z.string().describe(\"ISO 8601 timestamp of the last monitor execution\").nullable().optional(),\n output_schema: ParallelListMonitors_OutputSchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Individual monitor response object with configuration and status.\");\nexport const ParallelListMonitorsOutput = z.object({\n monitors: z.array(ParallelListMonitors_MonitorItemSchema).describe(\"List of monitor objects with their configurations and status\"),\n}).passthrough().describe(\"Response model containing a list of monitors.\");\n\nexport const parallelListMonitors: AppAction<\n typeof ParallelListMonitorsInput,\n typeof ParallelListMonitorsOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_LIST_MONITORS\", {\n slug: \"parallel-list-monitors\",\n name: \"List Monitors\",\n description: \"Tool to list active monitors for the user. Returns all monitors regardless of status with their configuration and current state. Supports cursor-based pagination using monitor_id and limit parameters.\",\n input: ParallelListMonitorsInput,\n output: ParallelListMonitorsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,2CAA2C,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,8BAA8B;AACvH,MAAM,4CAA4C,EAAE,KAAK;CAAC;CAAS;CAAU;CAAU;AAAiB,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAC5J,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,QAAQ,yCAAyC,SAAS;CAC1D,SAAS,0CAA0C,SAAS;CAC5D,SAAS,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAe,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAK7F,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,UAAU,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8DAA8D,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/retrieve-event-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-event-group.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-event-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveEventGroupInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor.\"),\n event_group_id: z.string().describe(\"Unique identifier of the event group to retrieve.\"),\n}).describe(\"Request model for retrieving an event group for a monitor.\");\nconst ParallelRetrieveEventGroup_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type of the event\").nullable().optional(),\n output: z.string().describe(\"Output from the monitor event\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"Result data from the monitor execution\"),\n event_date: z.string().describe(\"Date of the event\").nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs related to this event\"),\n event_group_id: z.string().describe(\"Event group identifier\").nullable(),\n}).passthrough().describe(\"Detailed monitor event information.\");\nconst ParallelRetrieveEventGroup_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Error event identifier\").nullable(),\n date: z.string().describe(\"Date when the error occurred\").nullable(),\n type: z.string().describe(\"Type of the event\").nullable().optional(),\n error: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Monitor execution error event.\");\nconst ParallelRetrieveEventGroup_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type of the event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when monitor completed\").nullable(),\n}).passthrough().describe(\"Monitor completion event.\");\nexport const ParallelRetrieveEventGroupOutput = z.object({\n events: z.array(z.union([ParallelRetrieveEventGroup_MonitorEventDetailSchema, ParallelRetrieveEventGroup_MonitorExecutionErrorSchema, ParallelRetrieveEventGroup_MonitorCompletionSchema])).describe(\"List of execution events for the monitor. Each item can be a detail event, error event, or completion event.\"),\n}).passthrough().describe(\"Response model for retrieving event group with execution history.\");\n\nexport const parallelRetrieveEventGroup = action(\"PARALLEL_RETRIEVE_EVENT_GROUP\", {\n slug: \"parallel-retrieve-event-group\",\n name: \"Retrieve Event Group\",\n description: \"Tool to retrieve an event group for a monitor. Use when you have a valid monitor ID and event group ID and want to view the execution history.\",\n input: ParallelRetrieveEventGroupInput,\n output: ParallelRetrieveEventGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gBAAgBA,IAAAA,EAAE,OAAO,CA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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;CAAC;CAAqD;CAAwD;AAAkD,CAAC,CAAC,CAAC,CAAC,SAAS,8GAA8G,EACrT,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-event-group.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-event-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelRetrieveEventGroupInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor.\"),\n event_group_id: z.string().describe(\"Unique identifier of the event group to retrieve.\"),\n}).describe(\"Request model for retrieving an event group for a monitor.\");\nconst ParallelRetrieveEventGroup_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type of the event\").nullable().optional(),\n output: z.string().describe(\"Output from the monitor event\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"Result data from the monitor execution\"),\n event_date: z.string().describe(\"Date of the event\").nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs related to this event\"),\n event_group_id: z.string().describe(\"Event group identifier\").nullable(),\n}).passthrough().describe(\"Detailed monitor event information.\");\nconst ParallelRetrieveEventGroup_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Error event identifier\").nullable(),\n date: z.string().describe(\"Date when the error occurred\").nullable(),\n type: z.string().describe(\"Type of the event\").nullable().optional(),\n error: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Monitor execution error event.\");\nconst ParallelRetrieveEventGroup_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type of the event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when monitor completed\").nullable(),\n}).passthrough().describe(\"Monitor completion event.\");\nexport const ParallelRetrieveEventGroupOutput = z.object({\n events: z.array(z.union([ParallelRetrieveEventGroup_MonitorEventDetailSchema, ParallelRetrieveEventGroup_MonitorExecutionErrorSchema, ParallelRetrieveEventGroup_MonitorCompletionSchema])).describe(\"List of execution events for the monitor. Each item can be a detail event, error event, or completion event.\"),\n}).passthrough().describe(\"Response model for retrieving event group with execution history.\");\n\nexport const parallelRetrieveEventGroup: AppAction<\n typeof ParallelRetrieveEventGroupInput,\n typeof ParallelRetrieveEventGroupOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_RETRIEVE_EVENT_GROUP\", {\n slug: \"parallel-retrieve-event-group\",\n name: \"Retrieve Event Group\",\n description: \"Tool to retrieve an event group for a monitor. Use when you have a valid monitor ID and event group ID and want to view the execution history.\",\n input: ParallelRetrieveEventGroupInput,\n output: ParallelRetrieveEventGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACzF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,O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CAAC,CAAC,SAAS,8GAA8G,EACrT,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-event-group.d.ts
@@ -23,22 +25,7 @@ declare const ParallelRetrieveEventGroupOutput: z.ZodObject<{
23
25
  monitor_ts: z.ZodNullable<z.ZodString>;
24
26
  }, z.core.$loose>]>>;
25
27
  }, z.core.$loose>;
26
- declare const parallelRetrieveEventGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- monitor_id: string;
28
- event_group_id: string;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>;
28
+ declare const parallelRetrieveEventGroup: AppAction<typeof ParallelRetrieveEventGroupInput, typeof ParallelRetrieveEventGroupOutput, typeof parallel.credential>;
42
29
  //#endregion
43
30
  export { parallelRetrieveEventGroup };
44
31
  //# sourceMappingURL=retrieve-event-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-event-group.d.cts","names":[],"sources":["../../src/actions/retrieve-event-group.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAsB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"retrieve-event-group.d.cts","names":[],"sources":["../../src/actions/retrieve-event-group.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAsB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-event-group.d.ts
@@ -23,22 +25,7 @@ declare const ParallelRetrieveEventGroupOutput: z.ZodObject<{
23
25
  monitor_ts: z.ZodNullable<z.ZodString>;
24
26
  }, z.core.$loose>]>>;
25
27
  }, z.core.$loose>;
26
- declare const parallelRetrieveEventGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- monitor_id: string;
28
- event_group_id: string;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>;
28
+ declare const parallelRetrieveEventGroup: AppAction<typeof ParallelRetrieveEventGroupInput, typeof ParallelRetrieveEventGroupOutput, typeof parallel.credential>;
42
29
  //#endregion
43
30
  export { parallelRetrieveEventGroup };
44
31
  //# sourceMappingURL=retrieve-event-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-event-group.d.mts","names":[],"sources":["../../src/actions/retrieve-event-group.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAsB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"retrieve-event-group.d.mts","names":[],"sources":["../../src/actions/retrieve-event-group.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAsB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/retrieve-event-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-event-group.mjs","names":[],"sources":["../../src/actions/retrieve-event-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveEventGroupInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor.\"),\n event_group_id: z.string().describe(\"Unique identifier of the event group to retrieve.\"),\n}).describe(\"Request model for retrieving an event group for a monitor.\");\nconst ParallelRetrieveEventGroup_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type of the event\").nullable().optional(),\n output: z.string().describe(\"Output from the monitor event\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"Result data from the monitor execution\"),\n event_date: z.string().describe(\"Date of the event\").nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs related to this event\"),\n event_group_id: z.string().describe(\"Event group identifier\").nullable(),\n}).passthrough().describe(\"Detailed monitor event information.\");\nconst ParallelRetrieveEventGroup_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Error event identifier\").nullable(),\n date: z.string().describe(\"Date when the error occurred\").nullable(),\n type: z.string().describe(\"Type of the event\").nullable().optional(),\n error: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Monitor execution error event.\");\nconst ParallelRetrieveEventGroup_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type of the event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when monitor completed\").nullable(),\n}).passthrough().describe(\"Monitor completion event.\");\nexport const ParallelRetrieveEventGroupOutput = z.object({\n events: z.array(z.union([ParallelRetrieveEventGroup_MonitorEventDetailSchema, ParallelRetrieveEventGroup_MonitorExecutionErrorSchema, ParallelRetrieveEventGroup_MonitorCompletionSchema])).describe(\"List of execution events for the monitor. Each item can be a detail event, error event, or completion event.\"),\n}).passthrough().describe(\"Response model for retrieving event group with execution history.\");\n\nexport const parallelRetrieveEventGroup = action(\"PARALLEL_RETRIEVE_EVENT_GROUP\", {\n slug: \"parallel-retrieve-event-group\",\n name: \"Retrieve Event Group\",\n description: \"Tool to retrieve an event group for a monitor. Use when you have a valid monitor ID and event group ID and want to view the execution history.\",\n input: ParallelRetrieveEventGroupInput,\n output: ParallelRetrieveEventGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACzF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC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":"retrieve-event-group.mjs","names":[],"sources":["../../src/actions/retrieve-event-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelRetrieveEventGroupInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor.\"),\n event_group_id: z.string().describe(\"Unique identifier of the event group to retrieve.\"),\n}).describe(\"Request model for retrieving an event group for a monitor.\");\nconst ParallelRetrieveEventGroup_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type of the event\").nullable().optional(),\n output: z.string().describe(\"Output from the monitor event\").nullable(),\n result: z.record(z.string(), z.unknown()).describe(\"Result data from the monitor execution\"),\n event_date: z.string().describe(\"Date of the event\").nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs related to this event\"),\n event_group_id: z.string().describe(\"Event group identifier\").nullable(),\n}).passthrough().describe(\"Detailed monitor event information.\");\nconst ParallelRetrieveEventGroup_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Error event identifier\").nullable(),\n date: z.string().describe(\"Date when the error occurred\").nullable(),\n type: z.string().describe(\"Type of the event\").nullable().optional(),\n error: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Monitor execution error event.\");\nconst ParallelRetrieveEventGroup_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type of the event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when monitor completed\").nullable(),\n}).passthrough().describe(\"Monitor completion event.\");\nexport const ParallelRetrieveEventGroupOutput = z.object({\n events: z.array(z.union([ParallelRetrieveEventGroup_MonitorEventDetailSchema, ParallelRetrieveEventGroup_MonitorExecutionErrorSchema, ParallelRetrieveEventGroup_MonitorCompletionSchema])).describe(\"List of execution events for the monitor. Each item can be a detail event, error event, or completion event.\"),\n}).passthrough().describe(\"Response model for retrieving event group with execution history.\");\n\nexport const parallelRetrieveEventGroup: AppAction<\n typeof ParallelRetrieveEventGroupInput,\n typeof ParallelRetrieveEventGroupOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_RETRIEVE_EVENT_GROUP\", {\n slug: \"parallel-retrieve-event-group\",\n name: \"Retrieve Event Group\",\n description: \"Tool to retrieve an event group for a monitor. Use when you have a valid monitor ID and event group ID and want to view the execution history.\",\n input: ParallelRetrieveEventGroupInput,\n output: ParallelRetrieveEventGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACzF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAKrD,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO,EACvD,QAAQ,EAAE,MAAM,EAAE,MAAM;EAAC;EAAqD;EAAwD;CAAkD,CAAC,CAAC,CAAC,CAAC,SAAS,8GAA8G,EACrT,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/retrieve-find-all-run-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-find-all-run-status.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-find-all-run-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveFindAllRunStatusInput = z.object({\n findall_id: z.string().describe(\"ID of the FindAll run to retrieve.\"),\n});\nconst ParallelRetrieveFindAllRunStatus_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}).passthrough();\nconst ParallelRetrieveFindAllRunStatus_StatusInfoSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"in_progress\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the FindAll run.\").nullable(),\n metrics: ParallelRetrieveFindAllRunStatus_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for termination if applicable.\").nullable().optional(),\n}).passthrough();\nexport const ParallelRetrieveFindAllRunStatusOutput = z.object({\n status: ParallelRetrieveFindAllRunStatus_StatusInfoSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the FindAll run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type used for the run.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the run was created (RFC 3339).\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Timestamp of the latest modification (RFC 3339).\").nullable().optional(),\n}).passthrough();\n\nexport const parallelRetrieveFindAllRunStatus = action(\"PARALLEL_RETRIEVE_FIND_ALL_RUN_STATUS\", {\n slug: \"parallel-retrieve-find-all-run-status\",\n name: \"Retrieve FindAll Run Status\",\n description: \"Tool to retrieve status and metadata for a FindAll run by findall_id. Use when you need to poll or check the progress of a FindAll run that was previously created.\",\n input: ParallelRetrieveFindAllRunStatusInput,\n output: ParallelRetrieveFindAllRunStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EACtE,CAAC;AACD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAA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O;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-find-all-run-status.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-find-all-run-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelRetrieveFindAllRunStatusInput = z.object({\n findall_id: z.string().describe(\"ID of the FindAll run to retrieve.\"),\n});\nconst ParallelRetrieveFindAllRunStatus_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}).passthrough();\nconst ParallelRetrieveFindAllRunStatus_StatusInfoSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"in_progress\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the FindAll run.\").nullable(),\n metrics: ParallelRetrieveFindAllRunStatus_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for termination if applicable.\").nullable().optional(),\n}).passthrough();\nexport const ParallelRetrieveFindAllRunStatusOutput = z.object({\n status: ParallelRetrieveFindAllRunStatus_StatusInfoSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the FindAll run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type used for the run.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the run was created (RFC 3339).\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Timestamp of the latest modification (RFC 3339).\").nullable().optional(),\n}).passthrough();\n\nexport const parallelRetrieveFindAllRunStatus: AppAction<\n typeof ParallelRetrieveFindAllRunStatusInput,\n typeof ParallelRetrieveFindAllRunStatusOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_RETRIEVE_FIND_ALL_RUN_STATUS\", {\n slug: \"parallel-retrieve-find-all-run-status\",\n name: \"Retrieve FindAll Run Status\",\n description: \"Tool to retrieve status and metadata for a FindAll run by findall_id. Use when you need to poll or check the progress of a FindAll run that was previously created.\",\n input: ParallelRetrieveFindAllRunStatusInput,\n output: ParallelRetrieveFindAllRunStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EACtE,CAAC;AACD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;EAAe;EAAa;EAAU;CAAW,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjJ,SAAS,kDAAkD,SAAS;CACpE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQ,kDAAkD,SAAS;CACnE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAS,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-find-all-run-status.d.ts
@@ -32,21 +34,7 @@ declare const ParallelRetrieveFindAllRunStatusOutput: z.ZodObject<{
32
34
  findall_id: z.ZodNullable<z.ZodString>;
33
35
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>;
35
- declare const parallelRetrieveFindAllRunStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- findall_id: string;
37
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
38
- connectionId: z.ZodString;
39
- entityId: z.ZodString;
40
- instanceId: z.ZodString;
41
- }, z.core.$strip>, z.ZodObject<{
42
- generic_api_key: z.ZodString;
43
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- generic_api_key: z.ZodString;
49
- }, z.core.$strip>>]>;
37
+ declare const parallelRetrieveFindAllRunStatus: AppAction<typeof ParallelRetrieveFindAllRunStatusInput, typeof ParallelRetrieveFindAllRunStatusOutput, typeof parallel.credential>;
50
38
  //#endregion
51
39
  export { parallelRetrieveFindAllRunStatus };
52
40
  //# sourceMappingURL=retrieve-find-all-run-status.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-find-all-run-status.d.cts","names":[],"sources":["../../src/actions/retrieve-find-all-run-status.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAarC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAStC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"retrieve-find-all-run-status.d.cts","names":[],"sources":["../../src/actions/retrieve-find-all-run-status.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAarC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAStC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parallel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/retrieve-find-all-run-status.d.ts
@@ -32,21 +34,7 @@ declare const ParallelRetrieveFindAllRunStatusOutput: z.ZodObject<{
32
34
  findall_id: z.ZodNullable<z.ZodString>;
33
35
  modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>;
35
- declare const parallelRetrieveFindAllRunStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- findall_id: string;
37
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
38
- connectionId: z.ZodString;
39
- entityId: z.ZodString;
40
- instanceId: z.ZodString;
41
- }, z.core.$strip>, z.ZodObject<{
42
- generic_api_key: z.ZodString;
43
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parallel", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- generic_api_key: z.ZodString;
49
- }, z.core.$strip>>]>;
37
+ declare const parallelRetrieveFindAllRunStatus: AppAction<typeof ParallelRetrieveFindAllRunStatusInput, typeof ParallelRetrieveFindAllRunStatusOutput, typeof parallel.credential>;
50
38
  //#endregion
51
39
  export { parallelRetrieveFindAllRunStatus };
52
40
  //# sourceMappingURL=retrieve-find-all-run-status.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-find-all-run-status.d.mts","names":[],"sources":["../../src/actions/retrieve-find-all-run-status.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAarC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAStC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"retrieve-find-all-run-status.d.mts","names":[],"sources":["../../src/actions/retrieve-find-all-run-status.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAarC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAStC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/retrieve-find-all-run-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-find-all-run-status.mjs","names":[],"sources":["../../src/actions/retrieve-find-all-run-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveFindAllRunStatusInput = z.object({\n findall_id: z.string().describe(\"ID of the FindAll run to retrieve.\"),\n});\nconst ParallelRetrieveFindAllRunStatus_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}).passthrough();\nconst ParallelRetrieveFindAllRunStatus_StatusInfoSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"in_progress\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the FindAll run.\").nullable(),\n metrics: ParallelRetrieveFindAllRunStatus_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for termination if applicable.\").nullable().optional(),\n}).passthrough();\nexport const ParallelRetrieveFindAllRunStatusOutput = z.object({\n status: ParallelRetrieveFindAllRunStatus_StatusInfoSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the FindAll run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type used for the run.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the run was created (RFC 3339).\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Timestamp of the latest modification (RFC 3339).\").nullable().optional(),\n}).passthrough();\n\nexport const parallelRetrieveFindAllRunStatus = action(\"PARALLEL_RETRIEVE_FIND_ALL_RUN_STATUS\", {\n slug: \"parallel-retrieve-find-all-run-status\",\n name: \"Retrieve FindAll Run Status\",\n description: \"Tool to retrieve status and metadata for a FindAll run by findall_id. Use when you need to poll or check the progress of a FindAll run that was previously created.\",\n input: Parall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YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-find-all-run-status.mjs","names":[],"sources":["../../src/actions/retrieve-find-all-run-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parallel } from \"../app\";\n\nexport const ParallelRetrieveFindAllRunStatusInput = z.object({\n findall_id: z.string().describe(\"ID of the FindAll run to retrieve.\"),\n});\nconst ParallelRetrieveFindAllRunStatus_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}).passthrough();\nconst ParallelRetrieveFindAllRunStatus_StatusInfoSchema = z.object({\n status: z.enum([\"queued\", \"running\", \"in_progress\", \"completed\", \"failed\", \"cancelled\"]).describe(\"Current status of the FindAll run.\").nullable(),\n metrics: ParallelRetrieveFindAllRunStatus_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is currently active.\").nullable(),\n termination_reason: z.string().describe(\"Reason for termination if applicable.\").nullable().optional(),\n}).passthrough();\nexport const ParallelRetrieveFindAllRunStatusOutput = z.object({\n status: ParallelRetrieveFindAllRunStatus_StatusInfoSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the FindAll run.\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type used for the run.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the run was created (RFC 3339).\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run.\").nullable(),\n modified_at: z.string().describe(\"Timestamp of the latest modification (RFC 3339).\").nullable().optional(),\n}).passthrough();\n\nexport const parallelRetrieveFindAllRunStatus: AppAction<\n typeof ParallelRetrieveFindAllRunStatusInput,\n typeof ParallelRetrieveFindAllRunStatusOutput,\n typeof parallel.credential\n> = action(\"PARALLEL_RETRIEVE_FIND_ALL_RUN_STATUS\", {\n slug: \"parallel-retrieve-find-all-run-status\",\n name: \"Retrieve FindAll Run Status\",\n description: \"Tool to retrieve status and metadata for a FindAll run by findall_id. Use when you need to poll or check the progress of a FindAll run that was previously created.\",\n input: ParallelRetrieveFindAllRunStatusInput,\n output: ParallelRetrieveFindAllRunStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EACtE,CAAC;AACD,MAAM,oDAAoD,EAAE,OAAO;CACjE,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoD,EAAE,OAAO;CACjE,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAW;EAAe;EAAa;EAAU;CAAW,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjJ,SAAS,kDAAkD,SAAS;CACpE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS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