@keystrokehq/parallel 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-enrichment-to-find-all-run.cjs +8 -8
- package/dist/actions/add-enrichment-to-find-all-run.cjs.map +1 -1
- package/dist/actions/add-enrichment-to-find-all-run.d.cts +50 -3
- package/dist/actions/add-enrichment-to-find-all-run.d.cts.map +1 -1
- package/dist/actions/add-enrichment-to-find-all-run.d.mts +50 -3
- package/dist/actions/add-enrichment-to-find-all-run.d.mts.map +1 -1
- package/dist/actions/add-enrichment-to-find-all-run.mjs +8 -8
- package/dist/actions/add-enrichment-to-find-all-run.mjs.map +1 -1
- package/dist/actions/add-runs-to-task-group.cjs +2 -2
- package/dist/actions/add-runs-to-task-group.cjs.map +1 -1
- package/dist/actions/add-runs-to-task-group.d.cts +54 -3
- package/dist/actions/add-runs-to-task-group.d.cts.map +1 -1
- package/dist/actions/add-runs-to-task-group.d.mts +54 -3
- package/dist/actions/add-runs-to-task-group.d.mts.map +1 -1
- package/dist/actions/add-runs-to-task-group.mjs +2 -2
- package/dist/actions/add-runs-to-task-group.mjs.map +1 -1
- package/dist/actions/cancel-find-all-run.cjs.map +1 -1
- package/dist/actions/cancel-find-all-run.d.cts +7 -3
- package/dist/actions/cancel-find-all-run.d.cts.map +1 -1
- package/dist/actions/cancel-find-all-run.d.mts +7 -3
- package/dist/actions/cancel-find-all-run.d.mts.map +1 -1
- package/dist/actions/cancel-find-all-run.mjs.map +1 -1
- package/dist/actions/create-chat-completions.cjs +10 -10
- package/dist/actions/create-chat-completions.cjs.map +1 -1
- package/dist/actions/create-chat-completions.d.cts +86 -3
- package/dist/actions/create-chat-completions.d.cts.map +1 -1
- package/dist/actions/create-chat-completions.d.mts +86 -3
- package/dist/actions/create-chat-completions.d.mts.map +1 -1
- package/dist/actions/create-chat-completions.mjs +10 -10
- package/dist/actions/create-chat-completions.mjs.map +1 -1
- package/dist/actions/create-monitor.cjs +4 -4
- package/dist/actions/create-monitor.cjs.map +1 -1
- package/dist/actions/create-monitor.d.cts +56 -3
- package/dist/actions/create-monitor.d.cts.map +1 -1
- package/dist/actions/create-monitor.d.mts +56 -3
- package/dist/actions/create-monitor.d.mts.map +1 -1
- package/dist/actions/create-monitor.mjs +4 -4
- package/dist/actions/create-monitor.mjs.map +1 -1
- package/dist/actions/create-task-group.cjs +3 -3
- package/dist/actions/create-task-group.cjs.map +1 -1
- package/dist/actions/create-task-group.d.cts +18 -3
- package/dist/actions/create-task-group.d.cts.map +1 -1
- package/dist/actions/create-task-group.d.mts +18 -3
- package/dist/actions/create-task-group.d.mts.map +1 -1
- package/dist/actions/create-task-group.mjs +3 -3
- package/dist/actions/create-task-group.mjs.map +1 -1
- package/dist/actions/create-task-run.cjs +6 -6
- package/dist/actions/create-task-run.cjs.map +1 -1
- package/dist/actions/create-task-run.d.cts +62 -3
- package/dist/actions/create-task-run.d.cts.map +1 -1
- package/dist/actions/create-task-run.d.mts +62 -3
- package/dist/actions/create-task-run.d.mts.map +1 -1
- package/dist/actions/create-task-run.mjs +6 -6
- package/dist/actions/create-task-run.mjs.map +1 -1
- package/dist/actions/delete-monitor.cjs +1 -1
- package/dist/actions/delete-monitor.cjs.map +1 -1
- package/dist/actions/delete-monitor.d.cts +31 -3
- package/dist/actions/delete-monitor.d.cts.map +1 -1
- package/dist/actions/delete-monitor.d.mts +31 -3
- package/dist/actions/delete-monitor.d.mts.map +1 -1
- package/dist/actions/delete-monitor.mjs +1 -1
- package/dist/actions/delete-monitor.mjs.map +1 -1
- package/dist/actions/extend-find-all-run.cjs +4 -4
- package/dist/actions/extend-find-all-run.cjs.map +1 -1
- package/dist/actions/extend-find-all-run.d.cts +24 -3
- package/dist/actions/extend-find-all-run.d.cts.map +1 -1
- package/dist/actions/extend-find-all-run.d.mts +24 -3
- package/dist/actions/extend-find-all-run.d.mts.map +1 -1
- package/dist/actions/extend-find-all-run.mjs +4 -4
- package/dist/actions/extend-find-all-run.mjs.map +1 -1
- package/dist/actions/extract.cjs +7 -7
- package/dist/actions/extract.cjs.map +1 -1
- package/dist/actions/extract.d.cts +63 -3
- package/dist/actions/extract.d.cts.map +1 -1
- package/dist/actions/extract.d.mts +63 -3
- package/dist/actions/extract.d.mts.map +1 -1
- package/dist/actions/extract.mjs +7 -7
- package/dist/actions/extract.mjs.map +1 -1
- package/dist/actions/fetch-task-group-runs.cjs +18 -18
- package/dist/actions/fetch-task-group-runs.cjs.map +1 -1
- package/dist/actions/fetch-task-group-runs.d.cts +91 -3
- package/dist/actions/fetch-task-group-runs.d.cts.map +1 -1
- package/dist/actions/fetch-task-group-runs.d.mts +91 -3
- package/dist/actions/fetch-task-group-runs.d.mts.map +1 -1
- package/dist/actions/fetch-task-group-runs.mjs +18 -18
- package/dist/actions/fetch-task-group-runs.mjs.map +1 -1
- package/dist/actions/find-all.cjs +6 -6
- package/dist/actions/find-all.cjs.map +1 -1
- package/dist/actions/find-all.d.cts +70 -3
- package/dist/actions/find-all.d.cts.map +1 -1
- package/dist/actions/find-all.d.mts +70 -3
- package/dist/actions/find-all.d.mts.map +1 -1
- package/dist/actions/find-all.mjs +6 -6
- package/dist/actions/find-all.mjs.map +1 -1
- package/dist/actions/get-find-all-run-result.cjs +10 -10
- package/dist/actions/get-find-all-run-result.cjs.map +1 -1
- package/dist/actions/get-find-all-run-result.d.cts +68 -3
- package/dist/actions/get-find-all-run-result.d.cts.map +1 -1
- package/dist/actions/get-find-all-run-result.d.mts +68 -3
- package/dist/actions/get-find-all-run-result.d.mts.map +1 -1
- package/dist/actions/get-find-all-run-result.mjs +10 -10
- package/dist/actions/get-find-all-run-result.mjs.map +1 -1
- package/dist/actions/get-find-all-run-schema.cjs +4 -4
- package/dist/actions/get-find-all-run-schema.cjs.map +1 -1
- package/dist/actions/get-find-all-run-schema.d.cts +22 -3
- package/dist/actions/get-find-all-run-schema.d.cts.map +1 -1
- package/dist/actions/get-find-all-run-schema.d.mts +22 -3
- package/dist/actions/get-find-all-run-schema.d.mts.map +1 -1
- package/dist/actions/get-find-all-run-schema.mjs +4 -4
- package/dist/actions/get-find-all-run-schema.mjs.map +1 -1
- package/dist/actions/ingest-find-all-run.cjs +4 -4
- package/dist/actions/ingest-find-all-run.cjs.map +1 -1
- package/dist/actions/ingest-find-all-run.d.cts +22 -3
- package/dist/actions/ingest-find-all-run.d.cts.map +1 -1
- package/dist/actions/ingest-find-all-run.d.mts +22 -3
- package/dist/actions/ingest-find-all-run.d.mts.map +1 -1
- package/dist/actions/ingest-find-all-run.mjs +4 -4
- package/dist/actions/ingest-find-all-run.mjs.map +1 -1
- package/dist/actions/list-monitor-events.cjs +6 -6
- package/dist/actions/list-monitor-events.cjs.map +1 -1
- package/dist/actions/list-monitor-events.d.cts +26 -3
- package/dist/actions/list-monitor-events.d.cts.map +1 -1
- package/dist/actions/list-monitor-events.d.mts +26 -3
- package/dist/actions/list-monitor-events.d.mts.map +1 -1
- package/dist/actions/list-monitor-events.mjs +6 -6
- package/dist/actions/list-monitor-events.mjs.map +1 -1
- package/dist/actions/list-monitors.cjs +4 -4
- package/dist/actions/list-monitors.cjs.map +1 -1
- package/dist/actions/list-monitors.d.cts +35 -3
- package/dist/actions/list-monitors.d.cts.map +1 -1
- package/dist/actions/list-monitors.d.mts +35 -3
- package/dist/actions/list-monitors.d.mts.map +1 -1
- package/dist/actions/list-monitors.mjs +4 -4
- package/dist/actions/list-monitors.mjs.map +1 -1
- package/dist/actions/retrieve-event-group.cjs +6 -6
- package/dist/actions/retrieve-event-group.cjs.map +1 -1
- package/dist/actions/retrieve-event-group.d.cts +26 -3
- package/dist/actions/retrieve-event-group.d.cts.map +1 -1
- package/dist/actions/retrieve-event-group.d.mts +26 -3
- package/dist/actions/retrieve-event-group.d.mts.map +1 -1
- package/dist/actions/retrieve-event-group.mjs +6 -6
- package/dist/actions/retrieve-event-group.mjs.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.cjs +4 -4
- package/dist/actions/retrieve-find-all-run-status.cjs.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.d.cts +34 -3
- package/dist/actions/retrieve-find-all-run-status.d.cts.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.d.mts +34 -3
- package/dist/actions/retrieve-find-all-run-status.d.mts.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.mjs +4 -4
- package/dist/actions/retrieve-find-all-run-status.mjs.map +1 -1
- package/dist/actions/retrieve-monitor.cjs +4 -4
- package/dist/actions/retrieve-monitor.cjs.map +1 -1
- package/dist/actions/retrieve-monitor.d.cts +31 -3
- package/dist/actions/retrieve-monitor.d.cts.map +1 -1
- package/dist/actions/retrieve-monitor.d.mts +31 -3
- package/dist/actions/retrieve-monitor.d.mts.map +1 -1
- package/dist/actions/retrieve-monitor.mjs +4 -4
- package/dist/actions/retrieve-monitor.mjs.map +1 -1
- package/dist/actions/retrieve-task-group-run.cjs +7 -7
- package/dist/actions/retrieve-task-group-run.cjs.map +1 -1
- package/dist/actions/retrieve-task-group-run.d.cts +33 -3
- package/dist/actions/retrieve-task-group-run.d.cts.map +1 -1
- package/dist/actions/retrieve-task-group-run.d.mts +33 -3
- package/dist/actions/retrieve-task-group-run.d.mts.map +1 -1
- package/dist/actions/retrieve-task-group-run.mjs +7 -7
- package/dist/actions/retrieve-task-group-run.mjs.map +1 -1
- package/dist/actions/retrieve-task-group.cjs +5 -5
- package/dist/actions/retrieve-task-group.cjs.map +1 -1
- package/dist/actions/retrieve-task-group.d.cts +18 -3
- package/dist/actions/retrieve-task-group.d.cts.map +1 -1
- package/dist/actions/retrieve-task-group.d.mts +18 -3
- package/dist/actions/retrieve-task-group.d.mts.map +1 -1
- package/dist/actions/retrieve-task-group.mjs +5 -5
- package/dist/actions/retrieve-task-group.mjs.map +1 -1
- package/dist/actions/retrieve-task-run-input.cjs +1 -1
- package/dist/actions/retrieve-task-run-input.cjs.map +1 -1
- package/dist/actions/retrieve-task-run-input.d.cts +21 -3
- package/dist/actions/retrieve-task-run-input.d.cts.map +1 -1
- package/dist/actions/retrieve-task-run-input.d.mts +21 -3
- package/dist/actions/retrieve-task-run-input.d.mts.map +1 -1
- package/dist/actions/retrieve-task-run-input.mjs +1 -1
- package/dist/actions/retrieve-task-run-input.mjs.map +1 -1
- package/dist/actions/retrieve-task-run-result.cjs +7 -7
- package/dist/actions/retrieve-task-run-result.cjs.map +1 -1
- package/dist/actions/retrieve-task-run-result.d.cts +29 -3
- package/dist/actions/retrieve-task-run-result.d.cts.map +1 -1
- package/dist/actions/retrieve-task-run-result.d.mts +29 -3
- package/dist/actions/retrieve-task-run-result.d.mts.map +1 -1
- package/dist/actions/retrieve-task-run-result.mjs +7 -7
- package/dist/actions/retrieve-task-run-result.mjs.map +1 -1
- package/dist/actions/retrieve-task-run.cjs +8 -8
- package/dist/actions/retrieve-task-run.cjs.map +1 -1
- package/dist/actions/retrieve-task-run.d.cts +35 -3
- package/dist/actions/retrieve-task-run.d.cts.map +1 -1
- package/dist/actions/retrieve-task-run.d.mts +35 -3
- package/dist/actions/retrieve-task-run.d.mts.map +1 -1
- package/dist/actions/retrieve-task-run.mjs +8 -8
- package/dist/actions/retrieve-task-run.mjs.map +1 -1
- package/dist/actions/search.cjs +3 -3
- package/dist/actions/search.cjs.map +1 -1
- package/dist/actions/search.d.cts +15 -3
- package/dist/actions/search.d.cts.map +1 -1
- package/dist/actions/search.d.mts +15 -3
- package/dist/actions/search.d.mts.map +1 -1
- package/dist/actions/search.mjs +3 -3
- package/dist/actions/search.mjs.map +1 -1
- package/dist/actions/simulate-event.cjs.map +1 -1
- package/dist/actions/simulate-event.d.cts +15 -3
- package/dist/actions/simulate-event.d.cts.map +1 -1
- package/dist/actions/simulate-event.d.mts +15 -3
- package/dist/actions/simulate-event.d.mts.map +1 -1
- package/dist/actions/simulate-event.mjs.map +1 -1
- package/dist/actions/stream-find-all-events.cjs +28 -28
- package/dist/actions/stream-find-all-events.cjs.map +1 -1
- package/dist/actions/stream-find-all-events.d.cts +104 -3
- package/dist/actions/stream-find-all-events.d.cts.map +1 -1
- package/dist/actions/stream-find-all-events.d.mts +104 -3
- package/dist/actions/stream-find-all-events.d.mts.map +1 -1
- package/dist/actions/stream-find-all-events.mjs +28 -28
- package/dist/actions/stream-find-all-events.mjs.map +1 -1
- package/dist/actions/stream-task-group-events.cjs +17 -17
- package/dist/actions/stream-task-group-events.cjs.map +1 -1
- package/dist/actions/stream-task-group-events.d.cts +44 -3
- package/dist/actions/stream-task-group-events.d.cts.map +1 -1
- package/dist/actions/stream-task-group-events.d.mts +44 -3
- package/dist/actions/stream-task-group-events.d.mts.map +1 -1
- package/dist/actions/stream-task-group-events.mjs +17 -17
- package/dist/actions/stream-task-group-events.mjs.map +1 -1
- package/dist/actions/stream-task-run-events.cjs +13 -13
- package/dist/actions/stream-task-run-events.cjs.map +1 -1
- package/dist/actions/stream-task-run-events.d.cts +45 -3
- package/dist/actions/stream-task-run-events.d.cts.map +1 -1
- package/dist/actions/stream-task-run-events.d.mts +45 -3
- package/dist/actions/stream-task-run-events.d.mts.map +1 -1
- package/dist/actions/stream-task-run-events.mjs +13 -13
- package/dist/actions/stream-task-run-events.mjs.map +1 -1
- package/dist/actions/suggest-task.cjs +1 -1
- package/dist/actions/suggest-task.cjs.map +1 -1
- package/dist/actions/suggest-task.d.cts +12 -3
- package/dist/actions/suggest-task.d.cts.map +1 -1
- package/dist/actions/suggest-task.d.mts +12 -3
- package/dist/actions/suggest-task.d.mts.map +1 -1
- package/dist/actions/suggest-task.mjs +1 -1
- package/dist/actions/suggest-task.mjs.map +1 -1
- package/dist/actions/update-monitor.cjs +4 -4
- package/dist/actions/update-monitor.cjs.map +1 -1
- package/dist/actions/update-monitor.d.cts +50 -3
- package/dist/actions/update-monitor.d.cts.map +1 -1
- package/dist/actions/update-monitor.d.mts +50 -3
- package/dist/actions/update-monitor.d.mts.map +1 -1
- package/dist/actions/update-monitor.mjs +4 -4
- package/dist/actions/update-monitor.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-schema.cjs","names":["z","action"],"sources":["../../src/actions/get-find-all-run-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunSchemaInput
|
|
1
|
+
{"version":3,"file":"get-find-all-run-schema.cjs","names":["z","action"],"sources":["../../src/actions/get-find-all-run-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunSchemaInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run schema.\");\nconst ParallelGetFindAllRunSchema_MatchConditionSchema = z.object({\n name: z.string().describe(\"Name of the match condition\").nullable(),\n description: z.string().describe(\"Description of the match condition\").nullable(),\n}).describe(\"Match condition model for FindAll ingest.\");\nexport const ParallelGetFindAllRunSchemaOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator of 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 the entity for the FindAll run.\").nullable(),\n match_limit: z.number().int().describe(\"Max number of candidates to evaluate\").nullable().optional(),\n match_conditions: z.array(ParallelGetFindAllRunSchema_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).describe(\"Response model for FindAll ingest schema.\");\n\nexport const parallelGetFindAllRunSchema = action(\"PARALLEL_GET_FIND_ALL_RUN_SCHEMA\", {\n slug: \"parallel-get-find-all-run-schema\",\n name: \"Get FindAll Run Schema\",\n description: \"Tool to retrieve the schema configuration of a FindAll run by findall_id. Use when you need to inspect the objective, entity type, match conditions, and other schema details for a previously created FindAll run.\",\n input: ParallelGetFindAllRunSchemaInput,\n output: ParallelGetFindAllRunSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAS,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,kBAAkBA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C;AACtI,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-find-all-run-schema.d.ts
|
|
4
|
-
declare const ParallelGetFindAllRunSchemaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelGetFindAllRunSchemaInput: z.ZodObject<{
|
|
5
|
+
findall_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParallelGetFindAllRunSchemaOutput: z.ZodObject<{
|
|
8
|
+
generator: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
|
|
9
|
+
base: "base";
|
|
10
|
+
core: "core";
|
|
11
|
+
pro: "pro";
|
|
12
|
+
preview: "preview";
|
|
13
|
+
}>>>>;
|
|
14
|
+
objective: z.ZodNullable<z.ZodString>;
|
|
15
|
+
enrichments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
16
|
+
entity_type: z.ZodNullable<z.ZodString>;
|
|
17
|
+
match_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
match_conditions: z.ZodArray<z.ZodObject<{
|
|
19
|
+
name: z.ZodNullable<z.ZodString>;
|
|
20
|
+
description: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const parallelGetFindAllRunSchema: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
findall_id: string;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { parallelGetFindAllRunSchema };
|
|
9
28
|
//# sourceMappingURL=get-find-all-run-schema.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-schema.d.cts","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"get-find-all-run-schema.d.cts","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAOhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cASjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-find-all-run-schema.d.ts
|
|
4
|
-
declare const ParallelGetFindAllRunSchemaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelGetFindAllRunSchemaInput: z.ZodObject<{
|
|
5
|
+
findall_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParallelGetFindAllRunSchemaOutput: z.ZodObject<{
|
|
8
|
+
generator: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
|
|
9
|
+
base: "base";
|
|
10
|
+
core: "core";
|
|
11
|
+
pro: "pro";
|
|
12
|
+
preview: "preview";
|
|
13
|
+
}>>>>;
|
|
14
|
+
objective: z.ZodNullable<z.ZodString>;
|
|
15
|
+
enrichments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
16
|
+
entity_type: z.ZodNullable<z.ZodString>;
|
|
17
|
+
match_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
match_conditions: z.ZodArray<z.ZodObject<{
|
|
19
|
+
name: z.ZodNullable<z.ZodString>;
|
|
20
|
+
description: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const parallelGetFindAllRunSchema: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
findall_id: string;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { parallelGetFindAllRunSchema };
|
|
9
28
|
//# sourceMappingURL=get-find-all-run-schema.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-schema.d.mts","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"get-find-all-run-schema.d.mts","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAOhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cASjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -3,8 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-find-all-run-schema.ts
|
|
4
4
|
const ParallelGetFindAllRunSchemaInput = z.object({ findall_id: z.string().describe("The identifier for the FindAll run.") }).describe("Request model for retrieving FindAll run schema.");
|
|
5
5
|
const ParallelGetFindAllRunSchema_MatchConditionSchema = z.object({
|
|
6
|
-
name: z.string().describe("Name of the match condition"),
|
|
7
|
-
description: z.string().describe("Description of the match condition")
|
|
6
|
+
name: z.string().describe("Name of the match condition").nullable(),
|
|
7
|
+
description: z.string().describe("Description of the match condition").nullable()
|
|
8
8
|
}).describe("Match condition model for FindAll ingest.");
|
|
9
9
|
const parallelGetFindAllRunSchema = action("PARALLEL_GET_FIND_ALL_RUN_SCHEMA", {
|
|
10
10
|
slug: "parallel-get-find-all-run-schema",
|
|
@@ -18,9 +18,9 @@ const parallelGetFindAllRunSchema = action("PARALLEL_GET_FIND_ALL_RUN_SCHEMA", {
|
|
|
18
18
|
"pro",
|
|
19
19
|
"preview"
|
|
20
20
|
]).default("core").describe("The generator of the FindAll run.").nullable().optional(),
|
|
21
|
-
objective: z.string().describe("Natural language objective of the FindAll run."),
|
|
21
|
+
objective: z.string().describe("Natural language objective of the FindAll run.").nullable(),
|
|
22
22
|
enrichments: z.array(z.unknown()).describe("List of enrichment inputs for the FindAll run.").nullable().optional(),
|
|
23
|
-
entity_type: z.string().describe("Type of the entity for the FindAll run."),
|
|
23
|
+
entity_type: z.string().describe("Type of the entity for the FindAll run.").nullable(),
|
|
24
24
|
match_limit: z.number().int().describe("Max number of candidates to evaluate").nullable().optional(),
|
|
25
25
|
match_conditions: z.array(ParallelGetFindAllRunSchema_MatchConditionSchema).describe("List of match conditions for the FindAll run.")
|
|
26
26
|
}).describe("Response model for FindAll ingest schema.")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-schema.mjs","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunSchemaInput
|
|
1
|
+
{"version":3,"file":"get-find-all-run-schema.mjs","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunSchemaInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run schema.\");\nconst ParallelGetFindAllRunSchema_MatchConditionSchema = z.object({\n name: z.string().describe(\"Name of the match condition\").nullable(),\n description: z.string().describe(\"Description of the match condition\").nullable(),\n}).describe(\"Match condition model for FindAll ingest.\");\nexport const ParallelGetFindAllRunSchemaOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator of 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 the entity for the FindAll run.\").nullable(),\n match_limit: z.number().int().describe(\"Max number of candidates to evaluate\").nullable().optional(),\n match_conditions: z.array(ParallelGetFindAllRunSchema_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).describe(\"Response model for FindAll ingest schema.\");\n\nexport const parallelGetFindAllRunSchema = action(\"PARALLEL_GET_FIND_ALL_RUN_SCHEMA\", {\n slug: \"parallel-get-find-all-run-schema\",\n name: \"Get FindAll Run Schema\",\n description: \"Tool to retrieve the schema configuration of a FindAll run by findall_id. Use when you need to inspect the objective, entity type, match conditions, and other schema details for a previously created FindAll run.\",\n input: ParallelGetFindAllRunSchemaInput,\n output: ParallelGetFindAllRunSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAUvD,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd+C,EAAE,OAAO;EACxD,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;EAAS,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,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,yCAAyC,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,kBAAkB,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C;CACtI,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/ingest-find-all-run.ts
|
|
4
4
|
const ParallelIngestFindAllRunInput = zod.z.object({ objective: zod.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').") });
|
|
5
5
|
const ParallelIngestFindAllRun_MatchConditionSchema = zod.z.object({
|
|
6
|
-
name: zod.z.string().describe("Identifier for the match condition."),
|
|
7
|
-
description: zod.z.string().describe("Description of what must be satisfied for the match.")
|
|
6
|
+
name: zod.z.string().describe("Identifier for the match condition.").nullable(),
|
|
7
|
+
description: zod.z.string().describe("Description of what must be satisfied for the match.").nullable()
|
|
8
8
|
});
|
|
9
9
|
const ParallelIngestFindAllRunOutput = zod.z.object({
|
|
10
10
|
generator: zod.z.enum([
|
|
@@ -13,9 +13,9 @@ const ParallelIngestFindAllRunOutput = zod.z.object({
|
|
|
13
13
|
"pro",
|
|
14
14
|
"preview"
|
|
15
15
|
]).default("core").describe("The generator tier for the FindAll run.").nullable().optional(),
|
|
16
|
-
objective: zod.z.string().describe("Natural language objective of the FindAll run."),
|
|
16
|
+
objective: zod.z.string().describe("Natural language objective of the FindAll run.").nullable(),
|
|
17
17
|
enrichments: zod.z.array(zod.z.unknown()).describe("List of enrichment inputs for the FindAll run.").nullable().optional(),
|
|
18
|
-
entity_type: zod.z.string().describe("Type of entity for the FindAll run (e.g., companies, people)."),
|
|
18
|
+
entity_type: zod.z.string().describe("Type of entity for the FindAll run (e.g., companies, people).").nullable(),
|
|
19
19
|
match_limit: zod.z.number().int().describe("Maximum number of candidates to evaluate. If not specified, uses API default.").nullable().optional(),
|
|
20
20
|
match_conditions: zod.z.array(ParallelIngestFindAllRun_MatchConditionSchema).describe("List of match conditions for the FindAll run.")
|
|
21
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingest-find-all-run.cjs","names":["z","action"],"sources":["../../src/actions/ingest-find-all-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelIngestFindAllRunInput
|
|
1
|
+
{"version":3,"file":"ingest-find-all-run.cjs","names":["z","action"],"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});\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});\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,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EACvO,CAAC;AACD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAS,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,kBAAkBA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;AACnI,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/ingest-find-all-run.d.ts
|
|
4
|
-
declare const ParallelIngestFindAllRunInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelIngestFindAllRunInput: z.ZodObject<{
|
|
5
|
+
objective: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParallelIngestFindAllRunOutput: z.ZodObject<{
|
|
8
|
+
generator: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
|
|
9
|
+
base: "base";
|
|
10
|
+
core: "core";
|
|
11
|
+
pro: "pro";
|
|
12
|
+
preview: "preview";
|
|
13
|
+
}>>>>;
|
|
14
|
+
objective: z.ZodNullable<z.ZodString>;
|
|
15
|
+
enrichments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
16
|
+
entity_type: z.ZodNullable<z.ZodString>;
|
|
17
|
+
match_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
match_conditions: z.ZodArray<z.ZodObject<{
|
|
19
|
+
name: z.ZodNullable<z.ZodString>;
|
|
20
|
+
description: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const parallelIngestFindAllRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
objective: string;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { parallelIngestFindAllRun };
|
|
9
28
|
//# sourceMappingURL=ingest-find-all-run.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingest-find-all-run.d.cts","names":[],"sources":["../../src/actions/ingest-find-all-run.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"ingest-find-all-run.d.cts","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,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/ingest-find-all-run.d.ts
|
|
4
|
-
declare const ParallelIngestFindAllRunInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelIngestFindAllRunInput: z.ZodObject<{
|
|
5
|
+
objective: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParallelIngestFindAllRunOutput: z.ZodObject<{
|
|
8
|
+
generator: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
|
|
9
|
+
base: "base";
|
|
10
|
+
core: "core";
|
|
11
|
+
pro: "pro";
|
|
12
|
+
preview: "preview";
|
|
13
|
+
}>>>>;
|
|
14
|
+
objective: z.ZodNullable<z.ZodString>;
|
|
15
|
+
enrichments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
16
|
+
entity_type: z.ZodNullable<z.ZodString>;
|
|
17
|
+
match_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
match_conditions: z.ZodArray<z.ZodObject<{
|
|
19
|
+
name: z.ZodNullable<z.ZodString>;
|
|
20
|
+
description: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const parallelIngestFindAllRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
objective: string;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { parallelIngestFindAllRun };
|
|
9
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,
|
|
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"}
|
|
@@ -3,8 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/ingest-find-all-run.ts
|
|
4
4
|
const ParallelIngestFindAllRunInput = z.object({ 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').") });
|
|
5
5
|
const ParallelIngestFindAllRun_MatchConditionSchema = z.object({
|
|
6
|
-
name: z.string().describe("Identifier for the match condition."),
|
|
7
|
-
description: z.string().describe("Description of what must be satisfied for the match.")
|
|
6
|
+
name: z.string().describe("Identifier for the match condition.").nullable(),
|
|
7
|
+
description: z.string().describe("Description of what must be satisfied for the match.").nullable()
|
|
8
8
|
});
|
|
9
9
|
const parallelIngestFindAllRun = action("PARALLEL_INGEST_FIND_ALL_RUN", {
|
|
10
10
|
slug: "parallel-ingest-find-all-run",
|
|
@@ -18,9 +18,9 @@ const parallelIngestFindAllRun = action("PARALLEL_INGEST_FIND_ALL_RUN", {
|
|
|
18
18
|
"pro",
|
|
19
19
|
"preview"
|
|
20
20
|
]).default("core").describe("The generator tier for the FindAll run.").nullable().optional(),
|
|
21
|
-
objective: z.string().describe("Natural language objective of the FindAll run."),
|
|
21
|
+
objective: z.string().describe("Natural language objective of the FindAll run.").nullable(),
|
|
22
22
|
enrichments: z.array(z.unknown()).describe("List of enrichment inputs for the FindAll run.").nullable().optional(),
|
|
23
|
-
entity_type: z.string().describe("Type of entity for the FindAll run (e.g., companies, people)."),
|
|
23
|
+
entity_type: z.string().describe("Type of entity for the FindAll run (e.g., companies, people).").nullable(),
|
|
24
24
|
match_limit: z.number().int().describe("Maximum number of candidates to evaluate. If not specified, uses API default.").nullable().optional(),
|
|
25
25
|
match_conditions: z.array(ParallelIngestFindAllRun_MatchConditionSchema).describe("List of match conditions for the FindAll run.")
|
|
26
26
|
})
|
|
@@ -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
|
|
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});\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});\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;AAUD,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,CAOU;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ const ParallelListMonitorEventsInput = zod.z.object({
|
|
|
7
7
|
}).describe("Request model for listing events for a monitor.");
|
|
8
8
|
const ParallelListMonitorEvents_MonitorEventDetailSchema = zod.z.object({
|
|
9
9
|
type: zod.z.string().describe("Type identifier for the event").nullable().optional(),
|
|
10
|
-
output: zod.z.string().describe("Output generated by the monitor"),
|
|
10
|
+
output: zod.z.string().describe("Output generated by the monitor").nullable(),
|
|
11
11
|
result: zod.z.union([
|
|
12
12
|
zod.z.string(),
|
|
13
13
|
zod.z.number().int(),
|
|
@@ -21,17 +21,17 @@ const ParallelListMonitorEvents_MonitorEventDetailSchema = zod.z.object({
|
|
|
21
21
|
zod.z.number()
|
|
22
22
|
]).nullable().optional(),
|
|
23
23
|
source_urls: zod.z.array(zod.z.string()).describe("List of source URLs associated with the event"),
|
|
24
|
-
event_group_id: zod.z.string().describe("Unique identifier for the event group")
|
|
24
|
+
event_group_id: zod.z.string().describe("Unique identifier for the event group").nullable()
|
|
25
25
|
}).describe("Detailed event information for a monitor execution.");
|
|
26
26
|
const ParallelListMonitorEvents_MonitorExecutionErrorSchema = zod.z.object({
|
|
27
|
-
id: zod.z.string().describe("Unique identifier for the error event"),
|
|
28
|
-
date: zod.z.string().describe("ISO timestamp when the error occurred"),
|
|
27
|
+
id: zod.z.string().describe("Unique identifier for the error event").nullable(),
|
|
28
|
+
date: zod.z.string().describe("ISO timestamp when the error occurred").nullable(),
|
|
29
29
|
type: zod.z.string().describe("Type identifier for the error event").nullable().optional(),
|
|
30
|
-
error: zod.z.string().describe("Error message describing what went wrong")
|
|
30
|
+
error: zod.z.string().describe("Error message describing what went wrong").nullable()
|
|
31
31
|
}).describe("Error information for a failed monitor execution.");
|
|
32
32
|
const ParallelListMonitorEvents_MonitorCompletionSchema = zod.z.object({
|
|
33
33
|
type: zod.z.string().describe("Type identifier for the completion event").nullable().optional(),
|
|
34
|
-
monitor_ts: zod.z.string().describe("Timestamp when the monitor completed execution")
|
|
34
|
+
monitor_ts: zod.z.string().describe("Timestamp when the monitor completed execution").nullable()
|
|
35
35
|
}).describe("Completion information for a monitor execution.");
|
|
36
36
|
const ParallelListMonitorEventsOutput = zod.z.object({ events: zod.z.array(zod.z.union([
|
|
37
37
|
ParallelListMonitorEvents_MonitorEventDetailSchema,
|
|
@@ -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
|
|
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.object({})]).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}).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}).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}).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}).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,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C;CACzF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,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,SAAS,mDAAmD;AAC/D,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,SAAS,iDAAiD;AAC7D,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,SAAS,sDAAsD;AAElE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-monitor-events.d.ts
|
|
4
|
-
declare const ParallelListMonitorEventsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelListMonitorEventsInput: z.ZodObject<{
|
|
5
|
+
monitor_id: z.ZodString;
|
|
6
|
+
lookback_period: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ParallelListMonitorEventsOutput: z.ZodObject<{
|
|
9
|
+
events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
10
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
output: z.ZodNullable<z.ZodString>;
|
|
12
|
+
result: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodObject<{}, z.core.$strip>]>>;
|
|
13
|
+
event_date: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber]>>>;
|
|
14
|
+
source_urls: z.ZodArray<z.ZodString>;
|
|
15
|
+
event_group_id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
id: z.ZodNullable<z.ZodString>;
|
|
18
|
+
date: z.ZodNullable<z.ZodString>;
|
|
19
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
error: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
monitor_ts: z.ZodNullable<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>]>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { parallelListMonitorEvents };
|
|
9
32
|
//# 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,
|
|
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,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-monitor-events.d.ts
|
|
4
|
-
declare const ParallelListMonitorEventsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParallelListMonitorEventsInput: z.ZodObject<{
|
|
5
|
+
monitor_id: z.ZodString;
|
|
6
|
+
lookback_period: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ParallelListMonitorEventsOutput: z.ZodObject<{
|
|
9
|
+
events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
10
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
output: z.ZodNullable<z.ZodString>;
|
|
12
|
+
result: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodObject<{}, z.core.$strip>]>>;
|
|
13
|
+
event_date: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber]>>>;
|
|
14
|
+
source_urls: z.ZodArray<z.ZodString>;
|
|
15
|
+
event_group_id: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
id: z.ZodNullable<z.ZodString>;
|
|
18
|
+
date: z.ZodNullable<z.ZodString>;
|
|
19
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
error: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
monitor_ts: z.ZodNullable<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>]>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { parallelListMonitorEvents };
|
|
9
32
|
//# 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,
|
|
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"}
|
|
@@ -7,7 +7,7 @@ const ParallelListMonitorEventsInput = z.object({
|
|
|
7
7
|
}).describe("Request model for listing events for a monitor.");
|
|
8
8
|
const ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({
|
|
9
9
|
type: z.string().describe("Type identifier for the event").nullable().optional(),
|
|
10
|
-
output: z.string().describe("Output generated by the monitor"),
|
|
10
|
+
output: z.string().describe("Output generated by the monitor").nullable(),
|
|
11
11
|
result: z.union([
|
|
12
12
|
z.string(),
|
|
13
13
|
z.number().int(),
|
|
@@ -21,17 +21,17 @@ const ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({
|
|
|
21
21
|
z.number()
|
|
22
22
|
]).nullable().optional(),
|
|
23
23
|
source_urls: z.array(z.string()).describe("List of source URLs associated with the event"),
|
|
24
|
-
event_group_id: z.string().describe("Unique identifier for the event group")
|
|
24
|
+
event_group_id: z.string().describe("Unique identifier for the event group").nullable()
|
|
25
25
|
}).describe("Detailed event information for a monitor execution.");
|
|
26
26
|
const ParallelListMonitorEvents_MonitorExecutionErrorSchema = z.object({
|
|
27
|
-
id: z.string().describe("Unique identifier for the error event"),
|
|
28
|
-
date: z.string().describe("ISO timestamp when the error occurred"),
|
|
27
|
+
id: z.string().describe("Unique identifier for the error event").nullable(),
|
|
28
|
+
date: z.string().describe("ISO timestamp when the error occurred").nullable(),
|
|
29
29
|
type: z.string().describe("Type identifier for the error event").nullable().optional(),
|
|
30
|
-
error: z.string().describe("Error message describing what went wrong")
|
|
30
|
+
error: z.string().describe("Error message describing what went wrong").nullable()
|
|
31
31
|
}).describe("Error information for a failed monitor execution.");
|
|
32
32
|
const ParallelListMonitorEvents_MonitorCompletionSchema = z.object({
|
|
33
33
|
type: z.string().describe("Type identifier for the completion event").nullable().optional(),
|
|
34
|
-
monitor_ts: z.string().describe("Timestamp when the monitor completed execution")
|
|
34
|
+
monitor_ts: z.string().describe("Timestamp when the monitor completed execution").nullable()
|
|
35
35
|
}).describe("Completion information for a monitor execution.");
|
|
36
36
|
const parallelListMonitorEvents = action("PARALLEL_LIST_MONITOR_EVENTS", {
|
|
37
37
|
slug: "parallel-list-monitor-events",
|
|
@@ -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
|
|
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.object({})]).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}).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}).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}).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}).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,CAAC,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS;CAChG,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,SAAS,qDAAqD;AACjE,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,SAAS,mDAAmD;AAC/D,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,SAAS,iDAAiD;AAK7D,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,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const ParallelListMonitors_MonitorCadenceSchema = zod.z.enum([
|
|
|
13
13
|
"every_two_weeks"
|
|
14
14
|
]).describe("Cadence options for monitor execution.");
|
|
15
15
|
const ParallelListMonitors_MonitorWebhookSchema = zod.z.object({
|
|
16
|
-
url: zod.z.string().describe("Webhook endpoint URL to receive monitor events"),
|
|
16
|
+
url: zod.z.string().describe("Webhook endpoint URL to receive monitor events").nullable(),
|
|
17
17
|
event_types: zod.z.array(zod.z.string()).describe("List of event types to subscribe to").nullable().optional()
|
|
18
18
|
}).describe("Webhook configuration for monitor events.");
|
|
19
19
|
const ParallelListMonitors_OutputSchemaSchema = zod.z.object({
|
|
@@ -21,13 +21,13 @@ const ParallelListMonitors_OutputSchemaSchema = zod.z.object({
|
|
|
21
21
|
json_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON schema defining the expected output structure")
|
|
22
22
|
}).describe("Output schema configuration for monitor events.");
|
|
23
23
|
const ParallelListMonitors_MonitorItemSchema = zod.z.object({
|
|
24
|
-
query: zod.z.string().describe("The query being monitored"),
|
|
24
|
+
query: zod.z.string().describe("The query being monitored").nullable(),
|
|
25
25
|
status: ParallelListMonitors_MonitorStatusSchema.nullable(),
|
|
26
26
|
cadence: ParallelListMonitors_MonitorCadenceSchema.nullable(),
|
|
27
27
|
webhook: ParallelListMonitors_MonitorWebhookSchema.nullable().optional(),
|
|
28
28
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("User-provided metadata stored with the monitor").nullable().optional(),
|
|
29
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp when the monitor was created"),
|
|
30
|
-
monitor_id: zod.z.string().describe("Unique identifier for the monitor"),
|
|
29
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the monitor was created").nullable(),
|
|
30
|
+
monitor_id: zod.z.string().describe("Unique identifier for the monitor").nullable(),
|
|
31
31
|
last_run_at: zod.z.string().describe("ISO 8601 timestamp of the last monitor execution").nullable().optional(),
|
|
32
32
|
output_schema: ParallelListMonitors_OutputSchemaSchema.nullable().optional()
|
|
33
33
|
}).describe("Individual monitor response object with configuration and status.");
|
|
@@ -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
|
|
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}).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}).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}).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}).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,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,2CAA2CA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,8BAA8B;AACvH,MAAM,4CAA4CA,IAAAA,EAAE,KAAK;CAAC;CAAS;CAAU;CAAU;AAAiB,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAC5J,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAC9G,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,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,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,SAAS,mEAAmE;AAC/E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8DAA8D,EACnI,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|