@keystrokehq/parallel 0.1.2 → 0.1.4
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/actions/add-enrichment-to-find-all-run.cjs +6 -6
- package/dist/actions/add-enrichment-to-find-all-run.cjs.map +1 -1
- package/dist/actions/add-enrichment-to-find-all-run.d.cts +8 -7
- package/dist/actions/add-enrichment-to-find-all-run.d.mts +8 -7
- package/dist/actions/add-enrichment-to-find-all-run.mjs +6 -6
- package/dist/actions/add-enrichment-to-find-all-run.mjs.map +1 -1
- package/dist/actions/add-runs-to-task-group.cjs +4 -4
- package/dist/actions/add-runs-to-task-group.cjs.map +1 -1
- package/dist/actions/add-runs-to-task-group.d.cts +5 -4
- package/dist/actions/add-runs-to-task-group.d.mts +5 -4
- package/dist/actions/add-runs-to-task-group.mjs +4 -4
- package/dist/actions/add-runs-to-task-group.mjs.map +1 -1
- package/dist/actions/cancel-find-all-run.cjs +1 -1
- package/dist/actions/cancel-find-all-run.cjs.map +1 -1
- package/dist/actions/cancel-find-all-run.d.cts +1 -1
- package/dist/actions/cancel-find-all-run.d.cts.map +1 -1
- package/dist/actions/cancel-find-all-run.d.mts +1 -1
- package/dist/actions/cancel-find-all-run.d.mts.map +1 -1
- package/dist/actions/cancel-find-all-run.mjs +1 -1
- package/dist/actions/cancel-find-all-run.mjs.map +1 -1
- package/dist/actions/create-chat-completions.cjs +7 -7
- package/dist/actions/create-chat-completions.cjs.map +1 -1
- package/dist/actions/create-chat-completions.d.cts +10 -9
- package/dist/actions/create-chat-completions.d.cts.map +1 -1
- package/dist/actions/create-chat-completions.d.mts +10 -9
- package/dist/actions/create-chat-completions.d.mts.map +1 -1
- package/dist/actions/create-chat-completions.mjs +7 -7
- package/dist/actions/create-chat-completions.mjs.map +1 -1
- package/dist/actions/create-monitor.cjs +3 -3
- package/dist/actions/create-monitor.cjs.map +1 -1
- package/dist/actions/create-monitor.d.cts +3 -3
- package/dist/actions/create-monitor.d.mts +3 -3
- package/dist/actions/create-monitor.mjs +3 -3
- package/dist/actions/create-monitor.mjs.map +1 -1
- package/dist/actions/create-task-group.cjs +5 -5
- package/dist/actions/create-task-group.cjs.map +1 -1
- package/dist/actions/create-task-group.d.cts +6 -6
- package/dist/actions/create-task-group.d.mts +6 -6
- package/dist/actions/create-task-group.mjs +5 -5
- package/dist/actions/create-task-group.mjs.map +1 -1
- package/dist/actions/create-task-run.cjs +3 -3
- package/dist/actions/create-task-run.cjs.map +1 -1
- package/dist/actions/create-task-run.d.cts +6 -6
- package/dist/actions/create-task-run.d.mts +6 -6
- package/dist/actions/create-task-run.mjs +3 -3
- package/dist/actions/create-task-run.mjs.map +1 -1
- package/dist/actions/delete-monitor.cjs +3 -3
- package/dist/actions/delete-monitor.cjs.map +1 -1
- package/dist/actions/delete-monitor.d.cts +3 -3
- package/dist/actions/delete-monitor.d.mts +3 -3
- package/dist/actions/delete-monitor.mjs +3 -3
- package/dist/actions/delete-monitor.mjs.map +1 -1
- package/dist/actions/extend-find-all-run.cjs +2 -2
- package/dist/actions/extend-find-all-run.cjs.map +1 -1
- package/dist/actions/extend-find-all-run.d.cts +3 -3
- package/dist/actions/extend-find-all-run.d.mts +3 -3
- package/dist/actions/extend-find-all-run.mjs +2 -2
- 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 +9 -7
- package/dist/actions/extract.d.mts +9 -7
- package/dist/actions/extract.mjs +7 -7
- package/dist/actions/extract.mjs.map +1 -1
- package/dist/actions/fetch-task-group-runs.cjs +11 -11
- package/dist/actions/fetch-task-group-runs.cjs.map +1 -1
- package/dist/actions/fetch-task-group-runs.d.cts +16 -16
- package/dist/actions/fetch-task-group-runs.d.mts +16 -16
- package/dist/actions/fetch-task-group-runs.mjs +11 -11
- package/dist/actions/fetch-task-group-runs.mjs.map +1 -1
- package/dist/actions/find-all.cjs +5 -5
- package/dist/actions/find-all.cjs.map +1 -1
- package/dist/actions/find-all.d.cts +10 -8
- package/dist/actions/find-all.d.cts.map +1 -1
- package/dist/actions/find-all.d.mts +10 -8
- package/dist/actions/find-all.d.mts.map +1 -1
- package/dist/actions/find-all.mjs +5 -5
- package/dist/actions/find-all.mjs.map +1 -1
- package/dist/actions/get-find-all-run-result.cjs +7 -7
- package/dist/actions/get-find-all-run-result.cjs.map +1 -1
- package/dist/actions/get-find-all-run-result.d.cts +11 -11
- package/dist/actions/get-find-all-run-result.d.mts +11 -11
- package/dist/actions/get-find-all-run-result.mjs +7 -7
- package/dist/actions/get-find-all-run-result.mjs.map +1 -1
- package/dist/actions/get-find-all-run-schema.cjs +2 -2
- package/dist/actions/get-find-all-run-schema.cjs.map +1 -1
- package/dist/actions/get-find-all-run-schema.d.cts +3 -3
- package/dist/actions/get-find-all-run-schema.d.mts +3 -3
- package/dist/actions/get-find-all-run-schema.mjs +2 -2
- package/dist/actions/get-find-all-run-schema.mjs.map +1 -1
- package/dist/actions/ingest-find-all-run.cjs +2 -2
- package/dist/actions/ingest-find-all-run.cjs.map +1 -1
- package/dist/actions/ingest-find-all-run.d.cts +3 -3
- package/dist/actions/ingest-find-all-run.d.mts +3 -3
- package/dist/actions/ingest-find-all-run.mjs +2 -2
- package/dist/actions/ingest-find-all-run.mjs.map +1 -1
- package/dist/actions/list-monitor-events.cjs +5 -5
- package/dist/actions/list-monitor-events.cjs.map +1 -1
- package/dist/actions/list-monitor-events.d.cts +5 -5
- package/dist/actions/list-monitor-events.d.mts +5 -5
- package/dist/actions/list-monitor-events.mjs +5 -5
- 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 +4 -4
- package/dist/actions/list-monitors.d.mts +4 -4
- package/dist/actions/list-monitors.mjs +4 -4
- package/dist/actions/list-monitors.mjs.map +1 -1
- package/dist/actions/retrieve-event-group.cjs +4 -4
- package/dist/actions/retrieve-event-group.cjs.map +1 -1
- package/dist/actions/retrieve-event-group.d.cts +4 -4
- package/dist/actions/retrieve-event-group.d.mts +4 -4
- package/dist/actions/retrieve-event-group.mjs +4 -4
- package/dist/actions/retrieve-event-group.mjs.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.cjs +3 -3
- package/dist/actions/retrieve-find-all-run-status.cjs.map +1 -1
- package/dist/actions/retrieve-find-all-run-status.d.cts +5 -5
- package/dist/actions/retrieve-find-all-run-status.d.mts +5 -5
- package/dist/actions/retrieve-find-all-run-status.mjs +3 -3
- package/dist/actions/retrieve-find-all-run-status.mjs.map +1 -1
- package/dist/actions/retrieve-monitor.cjs +2 -2
- package/dist/actions/retrieve-monitor.cjs.map +1 -1
- package/dist/actions/retrieve-monitor.d.cts +2 -2
- package/dist/actions/retrieve-monitor.d.mts +2 -2
- package/dist/actions/retrieve-monitor.mjs +2 -2
- package/dist/actions/retrieve-monitor.mjs.map +1 -1
- package/dist/actions/retrieve-task-group-run.cjs +2 -2
- package/dist/actions/retrieve-task-group-run.cjs.map +1 -1
- package/dist/actions/retrieve-task-group-run.d.cts +4 -4
- package/dist/actions/retrieve-task-group-run.d.mts +4 -4
- package/dist/actions/retrieve-task-group-run.mjs +2 -2
- package/dist/actions/retrieve-task-group-run.mjs.map +1 -1
- package/dist/actions/retrieve-task-group.cjs +1 -1
- package/dist/actions/retrieve-task-group.cjs.map +1 -1
- package/dist/actions/retrieve-task-group.d.cts +1 -1
- package/dist/actions/retrieve-task-group.d.mts +1 -1
- package/dist/actions/retrieve-task-group.mjs +1 -1
- package/dist/actions/retrieve-task-group.mjs.map +1 -1
- package/dist/actions/retrieve-task-run-input.cjs +4 -4
- package/dist/actions/retrieve-task-run-input.cjs.map +1 -1
- package/dist/actions/retrieve-task-run-input.d.cts +4 -4
- package/dist/actions/retrieve-task-run-input.d.mts +4 -4
- package/dist/actions/retrieve-task-run-input.mjs +4 -4
- package/dist/actions/retrieve-task-run-input.mjs.map +1 -1
- package/dist/actions/retrieve-task-run-result.cjs +2 -2
- package/dist/actions/retrieve-task-run-result.cjs.map +1 -1
- package/dist/actions/retrieve-task-run-result.d.cts +2 -2
- package/dist/actions/retrieve-task-run-result.d.mts +2 -2
- package/dist/actions/retrieve-task-run-result.mjs +2 -2
- package/dist/actions/retrieve-task-run-result.mjs.map +1 -1
- package/dist/actions/retrieve-task-run.cjs +3 -3
- package/dist/actions/retrieve-task-run.cjs.map +1 -1
- package/dist/actions/retrieve-task-run.d.cts +5 -5
- package/dist/actions/retrieve-task-run.d.mts +5 -5
- package/dist/actions/retrieve-task-run.mjs +3 -3
- package/dist/actions/retrieve-task-run.mjs.map +1 -1
- package/dist/actions/search.cjs +2 -2
- package/dist/actions/search.cjs.map +1 -1
- package/dist/actions/search.d.cts +2 -2
- package/dist/actions/search.d.mts +2 -2
- package/dist/actions/search.mjs +2 -2
- package/dist/actions/search.mjs.map +1 -1
- package/dist/actions/simulate-event.cjs +1 -1
- package/dist/actions/simulate-event.cjs.map +1 -1
- package/dist/actions/simulate-event.d.cts +1 -1
- package/dist/actions/simulate-event.d.mts +1 -1
- package/dist/actions/simulate-event.mjs +1 -1
- package/dist/actions/simulate-event.mjs.map +1 -1
- package/dist/actions/stream-find-all-events.cjs +14 -14
- package/dist/actions/stream-find-all-events.cjs.map +1 -1
- package/dist/actions/stream-find-all-events.d.cts +17 -17
- package/dist/actions/stream-find-all-events.d.mts +17 -17
- package/dist/actions/stream-find-all-events.mjs +14 -14
- package/dist/actions/stream-find-all-events.mjs.map +1 -1
- package/dist/actions/stream-task-group-events.cjs +8 -8
- package/dist/actions/stream-task-group-events.cjs.map +1 -1
- package/dist/actions/stream-task-group-events.d.cts +8 -8
- package/dist/actions/stream-task-group-events.d.mts +8 -8
- package/dist/actions/stream-task-group-events.mjs +8 -8
- package/dist/actions/stream-task-group-events.mjs.map +1 -1
- package/dist/actions/stream-task-run-events.cjs +8 -8
- package/dist/actions/stream-task-run-events.cjs.map +1 -1
- package/dist/actions/stream-task-run-events.d.cts +8 -8
- package/dist/actions/stream-task-run-events.d.mts +8 -8
- package/dist/actions/stream-task-run-events.mjs +8 -8
- 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 +1 -1
- package/dist/actions/suggest-task.d.mts +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 +3 -3
- package/dist/actions/update-monitor.cjs.map +1 -1
- package/dist/actions/update-monitor.d.cts +3 -3
- package/dist/actions/update-monitor.d.mts +3 -3
- package/dist/actions/update-monitor.mjs +3 -3
- package/dist/actions/update-monitor.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -15,11 +15,11 @@ const ParallelListMonitors_MonitorCadenceSchema = zod.z.enum([
|
|
|
15
15
|
const ParallelListMonitors_MonitorWebhookSchema = zod.z.object({
|
|
16
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
|
-
}).describe("Webhook configuration for monitor events.");
|
|
18
|
+
}).passthrough().describe("Webhook configuration for monitor events.");
|
|
19
19
|
const ParallelListMonitors_OutputSchemaSchema = zod.z.object({
|
|
20
20
|
type: zod.z.string().describe("Type identifier for the schema").nullable().optional(),
|
|
21
21
|
json_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON schema defining the expected output structure")
|
|
22
|
-
}).describe("Output schema configuration for monitor events.");
|
|
22
|
+
}).passthrough().describe("Output schema configuration for monitor events.");
|
|
23
23
|
const ParallelListMonitors_MonitorItemSchema = zod.z.object({
|
|
24
24
|
query: zod.z.string().describe("The query being monitored").nullable(),
|
|
25
25
|
status: ParallelListMonitors_MonitorStatusSchema.nullable(),
|
|
@@ -30,8 +30,8 @@ const ParallelListMonitors_MonitorItemSchema = zod.z.object({
|
|
|
30
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
|
-
}).describe("Individual monitor response object with configuration and status.");
|
|
34
|
-
const ParallelListMonitorsOutput = zod.z.object({ monitors: zod.z.array(ParallelListMonitors_MonitorItemSchema).describe("List of monitor objects with their configurations and status") }).describe("Response model containing a list of monitors.");
|
|
33
|
+
}).passthrough().describe("Individual monitor response object with configuration and status.");
|
|
34
|
+
const ParallelListMonitorsOutput = zod.z.object({ monitors: zod.z.array(ParallelListMonitors_MonitorItemSchema).describe("List of monitor objects with their configurations and status") }).passthrough().describe("Response model containing a list of monitors.");
|
|
35
35
|
const parallelListMonitors = require_action.action("PARALLEL_LIST_MONITORS", {
|
|
36
36
|
slug: "parallel-list-monitors",
|
|
37
37
|
name: "List Monitors",
|
|
@@ -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}).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;
|
|
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":";;;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,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,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,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"}
|
|
@@ -21,7 +21,7 @@ declare const ParallelListMonitorsOutput: z.ZodObject<{
|
|
|
21
21
|
webhook: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
22
|
url: z.ZodNullable<z.ZodString>;
|
|
23
23
|
event_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
25
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
26
26
|
created_at: z.ZodNullable<z.ZodString>;
|
|
27
27
|
monitor_id: z.ZodNullable<z.ZodString>;
|
|
@@ -29,9 +29,9 @@ declare const ParallelListMonitorsOutput: z.ZodObject<{
|
|
|
29
29
|
output_schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
json_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const parallelListMonitors: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
limit?: string | undefined;
|
|
37
37
|
monitor_id?: string | undefined;
|
|
@@ -21,7 +21,7 @@ declare const ParallelListMonitorsOutput: z.ZodObject<{
|
|
|
21
21
|
webhook: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
22
|
url: z.ZodNullable<z.ZodString>;
|
|
23
23
|
event_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
25
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
26
26
|
created_at: z.ZodNullable<z.ZodString>;
|
|
27
27
|
monitor_id: z.ZodNullable<z.ZodString>;
|
|
@@ -29,9 +29,9 @@ declare const ParallelListMonitorsOutput: z.ZodObject<{
|
|
|
29
29
|
output_schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
json_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const parallelListMonitors: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
limit?: string | undefined;
|
|
37
37
|
monitor_id?: string | undefined;
|
|
@@ -15,11 +15,11 @@ const ParallelListMonitors_MonitorCadenceSchema = z.enum([
|
|
|
15
15
|
const ParallelListMonitors_MonitorWebhookSchema = z.object({
|
|
16
16
|
url: z.string().describe("Webhook endpoint URL to receive monitor events").nullable(),
|
|
17
17
|
event_types: z.array(z.string()).describe("List of event types to subscribe to").nullable().optional()
|
|
18
|
-
}).describe("Webhook configuration for monitor events.");
|
|
18
|
+
}).passthrough().describe("Webhook configuration for monitor events.");
|
|
19
19
|
const ParallelListMonitors_OutputSchemaSchema = z.object({
|
|
20
20
|
type: z.string().describe("Type identifier for the schema").nullable().optional(),
|
|
21
21
|
json_schema: z.record(z.string(), z.unknown()).describe("JSON schema defining the expected output structure")
|
|
22
|
-
}).describe("Output schema configuration for monitor events.");
|
|
22
|
+
}).passthrough().describe("Output schema configuration for monitor events.");
|
|
23
23
|
const ParallelListMonitors_MonitorItemSchema = z.object({
|
|
24
24
|
query: z.string().describe("The query being monitored").nullable(),
|
|
25
25
|
status: ParallelListMonitors_MonitorStatusSchema.nullable(),
|
|
@@ -30,13 +30,13 @@ const ParallelListMonitors_MonitorItemSchema = z.object({
|
|
|
30
30
|
monitor_id: z.string().describe("Unique identifier for the monitor").nullable(),
|
|
31
31
|
last_run_at: z.string().describe("ISO 8601 timestamp of the last monitor execution").nullable().optional(),
|
|
32
32
|
output_schema: ParallelListMonitors_OutputSchemaSchema.nullable().optional()
|
|
33
|
-
}).describe("Individual monitor response object with configuration and status.");
|
|
33
|
+
}).passthrough().describe("Individual monitor response object with configuration and status.");
|
|
34
34
|
const parallelListMonitors = action("PARALLEL_LIST_MONITORS", {
|
|
35
35
|
slug: "parallel-list-monitors",
|
|
36
36
|
name: "List Monitors",
|
|
37
37
|
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.",
|
|
38
38
|
input: ParallelListMonitorsInput,
|
|
39
|
-
output: z.object({ monitors: z.array(ParallelListMonitors_MonitorItemSchema).describe("List of monitor objects with their configurations and status") }).describe("Response model containing a list of monitors.")
|
|
39
|
+
output: z.object({ monitors: z.array(ParallelListMonitors_MonitorItemSchema).describe("List of monitor objects with their configurations and status") }).passthrough().describe("Response model containing a list of monitors.")
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { parallelListMonitors };
|
|
@@ -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}).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,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,SAAS,2CAA2C;
|
|
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"}
|
|
@@ -12,22 +12,22 @@ const ParallelRetrieveEventGroup_MonitorEventDetailSchema = zod.z.object({
|
|
|
12
12
|
event_date: zod.z.string().describe("Date of the event").nullable().optional(),
|
|
13
13
|
source_urls: zod.z.array(zod.z.string()).describe("List of source URLs related to this event"),
|
|
14
14
|
event_group_id: zod.z.string().describe("Event group identifier").nullable()
|
|
15
|
-
}).describe("Detailed monitor event information.");
|
|
15
|
+
}).passthrough().describe("Detailed monitor event information.");
|
|
16
16
|
const ParallelRetrieveEventGroup_MonitorExecutionErrorSchema = zod.z.object({
|
|
17
17
|
id: zod.z.string().describe("Error event identifier").nullable(),
|
|
18
18
|
date: zod.z.string().describe("Date when the error occurred").nullable(),
|
|
19
19
|
type: zod.z.string().describe("Type of the event").nullable().optional(),
|
|
20
20
|
error: zod.z.string().describe("Error message").nullable()
|
|
21
|
-
}).describe("Monitor execution error event.");
|
|
21
|
+
}).passthrough().describe("Monitor execution error event.");
|
|
22
22
|
const ParallelRetrieveEventGroup_MonitorCompletionSchema = zod.z.object({
|
|
23
23
|
type: zod.z.string().describe("Type of the event").nullable().optional(),
|
|
24
24
|
monitor_ts: zod.z.string().describe("Timestamp when monitor completed").nullable()
|
|
25
|
-
}).describe("Monitor completion event.");
|
|
25
|
+
}).passthrough().describe("Monitor completion event.");
|
|
26
26
|
const ParallelRetrieveEventGroupOutput = zod.z.object({ events: zod.z.array(zod.z.union([
|
|
27
27
|
ParallelRetrieveEventGroup_MonitorEventDetailSchema,
|
|
28
28
|
ParallelRetrieveEventGroup_MonitorExecutionErrorSchema,
|
|
29
29
|
ParallelRetrieveEventGroup_MonitorCompletionSchema
|
|
30
|
-
])).describe("List of execution events for the monitor. Each item can be a detail event, error event, or completion event.") }).describe("Response model for retrieving event group with execution history.");
|
|
30
|
+
])).describe("List of execution events for the monitor. Each item can be a detail event, error event, or completion event.") }).passthrough().describe("Response model for retrieving event group with execution history.");
|
|
31
31
|
const parallelRetrieveEventGroup = require_action.action("PARALLEL_RETRIEVE_EVENT_GROUP", {
|
|
32
32
|
slug: "parallel-retrieve-event-group",
|
|
33
33
|
name: "Retrieve Event Group",
|
|
@@ -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}).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}).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}).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}).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,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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
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,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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,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"}
|
|
@@ -13,16 +13,16 @@ declare const ParallelRetrieveEventGroupOutput: z.ZodObject<{
|
|
|
13
13
|
event_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
source_urls: z.ZodArray<z.ZodString>;
|
|
15
15
|
event_group_id: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
17
17
|
id: z.ZodNullable<z.ZodString>;
|
|
18
18
|
date: z.ZodNullable<z.ZodString>;
|
|
19
19
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
error: z.ZodNullable<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
22
22
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
monitor_ts: z.ZodNullable<z.ZodString>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>]>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const parallelRetrieveEventGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
monitor_id: string;
|
|
28
28
|
event_group_id: string;
|
|
@@ -13,16 +13,16 @@ declare const ParallelRetrieveEventGroupOutput: z.ZodObject<{
|
|
|
13
13
|
event_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
source_urls: z.ZodArray<z.ZodString>;
|
|
15
15
|
event_group_id: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
17
17
|
id: z.ZodNullable<z.ZodString>;
|
|
18
18
|
date: z.ZodNullable<z.ZodString>;
|
|
19
19
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
error: z.ZodNullable<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
22
22
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
monitor_ts: z.ZodNullable<z.ZodString>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>]>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const parallelRetrieveEventGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
monitor_id: string;
|
|
28
28
|
event_group_id: string;
|
|
@@ -12,17 +12,17 @@ const ParallelRetrieveEventGroup_MonitorEventDetailSchema = z.object({
|
|
|
12
12
|
event_date: z.string().describe("Date of the event").nullable().optional(),
|
|
13
13
|
source_urls: z.array(z.string()).describe("List of source URLs related to this event"),
|
|
14
14
|
event_group_id: z.string().describe("Event group identifier").nullable()
|
|
15
|
-
}).describe("Detailed monitor event information.");
|
|
15
|
+
}).passthrough().describe("Detailed monitor event information.");
|
|
16
16
|
const ParallelRetrieveEventGroup_MonitorExecutionErrorSchema = z.object({
|
|
17
17
|
id: z.string().describe("Error event identifier").nullable(),
|
|
18
18
|
date: z.string().describe("Date when the error occurred").nullable(),
|
|
19
19
|
type: z.string().describe("Type of the event").nullable().optional(),
|
|
20
20
|
error: z.string().describe("Error message").nullable()
|
|
21
|
-
}).describe("Monitor execution error event.");
|
|
21
|
+
}).passthrough().describe("Monitor execution error event.");
|
|
22
22
|
const ParallelRetrieveEventGroup_MonitorCompletionSchema = z.object({
|
|
23
23
|
type: z.string().describe("Type of the event").nullable().optional(),
|
|
24
24
|
monitor_ts: z.string().describe("Timestamp when monitor completed").nullable()
|
|
25
|
-
}).describe("Monitor completion event.");
|
|
25
|
+
}).passthrough().describe("Monitor completion event.");
|
|
26
26
|
const parallelRetrieveEventGroup = action("PARALLEL_RETRIEVE_EVENT_GROUP", {
|
|
27
27
|
slug: "parallel-retrieve-event-group",
|
|
28
28
|
name: "Retrieve Event Group",
|
|
@@ -32,7 +32,7 @@ const parallelRetrieveEventGroup = action("PARALLEL_RETRIEVE_EVENT_GROUP", {
|
|
|
32
32
|
ParallelRetrieveEventGroup_MonitorEventDetailSchema,
|
|
33
33
|
ParallelRetrieveEventGroup_MonitorExecutionErrorSchema,
|
|
34
34
|
ParallelRetrieveEventGroup_MonitorCompletionSchema
|
|
35
|
-
])).describe("List of execution events for the monitor. Each item can be a detail event, error event, or completion event.") }).describe("Response model for retrieving event group with execution history.")
|
|
35
|
+
])).describe("List of execution events for the monitor. Each item can be a detail event, error event, or completion event.") }).passthrough().describe("Response model for retrieving event group with execution history.")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { parallelRetrieveEventGroup };
|
|
@@ -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}).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}).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}).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}).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,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,SAAS,qCAAqC;
|
|
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,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,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,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,mEAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ParallelRetrieveFindAllRunStatusInput = zod.z.object({ findall_id: zod.z.s
|
|
|
5
5
|
const ParallelRetrieveFindAllRunStatus_RunMetricsSchema = zod.z.object({
|
|
6
6
|
matched_candidates_count: zod.z.number().int().default(0).describe("Number of candidates matched so far.").nullable().optional(),
|
|
7
7
|
generated_candidates_count: zod.z.number().int().default(0).describe("Number of candidates generated so far.").nullable().optional()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const ParallelRetrieveFindAllRunStatus_StatusInfoSchema = zod.z.object({
|
|
10
10
|
status: zod.z.enum([
|
|
11
11
|
"queued",
|
|
@@ -18,7 +18,7 @@ const ParallelRetrieveFindAllRunStatus_StatusInfoSchema = zod.z.object({
|
|
|
18
18
|
metrics: ParallelRetrieveFindAllRunStatus_RunMetricsSchema.nullable(),
|
|
19
19
|
is_active: zod.z.boolean().describe("Whether the run is currently active.").nullable(),
|
|
20
20
|
termination_reason: zod.z.string().describe("Reason for termination if applicable.").nullable().optional()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const ParallelRetrieveFindAllRunStatusOutput = zod.z.object({
|
|
23
23
|
status: ParallelRetrieveFindAllRunStatus_StatusInfoSchema.nullable(),
|
|
24
24
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional metadata for the FindAll run.").nullable().optional(),
|
|
@@ -31,7 +31,7 @@ const ParallelRetrieveFindAllRunStatusOutput = zod.z.object({
|
|
|
31
31
|
created_at: zod.z.string().describe("Timestamp when the run was created (RFC 3339).").nullable().optional(),
|
|
32
32
|
findall_id: zod.z.string().describe("ID of the FindAll run.").nullable(),
|
|
33
33
|
modified_at: zod.z.string().describe("Timestamp of the latest modification (RFC 3339).").nullable().optional()
|
|
34
|
-
});
|
|
34
|
+
}).passthrough();
|
|
35
35
|
const parallelRetrieveFindAllRunStatus = require_action.action("PARALLEL_RETRIEVE_FIND_ALL_RUN_STATUS", {
|
|
36
36
|
slug: "parallel-retrieve-find-all-run-status",
|
|
37
37
|
name: "Retrieve FindAll Run Status",
|
|
@@ -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});\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});\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});\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,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,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 { 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,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,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,29 +9,29 @@ declare const ParallelRetrieveFindAllRunStatusOutput: z.ZodObject<{
|
|
|
9
9
|
status: z.ZodNullable<z.ZodEnum<{
|
|
10
10
|
queued: "queued";
|
|
11
11
|
running: "running";
|
|
12
|
-
in_progress: "in_progress";
|
|
13
12
|
completed: "completed";
|
|
14
13
|
failed: "failed";
|
|
15
14
|
cancelled: "cancelled";
|
|
15
|
+
in_progress: "in_progress";
|
|
16
16
|
}>>;
|
|
17
17
|
metrics: z.ZodNullable<z.ZodObject<{
|
|
18
18
|
matched_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
19
19
|
generated_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
22
22
|
termination_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
25
|
generator: z.ZodNullable<z.ZodEnum<{
|
|
26
|
-
base: "base";
|
|
27
26
|
core: "core";
|
|
27
|
+
base: "base";
|
|
28
28
|
pro: "pro";
|
|
29
29
|
preview: "preview";
|
|
30
30
|
}>>;
|
|
31
31
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
findall_id: z.ZodNullable<z.ZodString>;
|
|
33
33
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const parallelRetrieveFindAllRunStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
findall_id: string;
|
|
37
37
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,29 +9,29 @@ declare const ParallelRetrieveFindAllRunStatusOutput: z.ZodObject<{
|
|
|
9
9
|
status: z.ZodNullable<z.ZodEnum<{
|
|
10
10
|
queued: "queued";
|
|
11
11
|
running: "running";
|
|
12
|
-
in_progress: "in_progress";
|
|
13
12
|
completed: "completed";
|
|
14
13
|
failed: "failed";
|
|
15
14
|
cancelled: "cancelled";
|
|
15
|
+
in_progress: "in_progress";
|
|
16
16
|
}>>;
|
|
17
17
|
metrics: z.ZodNullable<z.ZodObject<{
|
|
18
18
|
matched_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
19
19
|
generated_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
22
22
|
termination_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
24
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
25
|
generator: z.ZodNullable<z.ZodEnum<{
|
|
26
|
-
base: "base";
|
|
27
26
|
core: "core";
|
|
27
|
+
base: "base";
|
|
28
28
|
pro: "pro";
|
|
29
29
|
preview: "preview";
|
|
30
30
|
}>>;
|
|
31
31
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
findall_id: z.ZodNullable<z.ZodString>;
|
|
33
33
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const parallelRetrieveFindAllRunStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
findall_id: string;
|
|
37
37
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const ParallelRetrieveFindAllRunStatusInput = z.object({ findall_id: z.string().
|
|
|
5
5
|
const ParallelRetrieveFindAllRunStatus_RunMetricsSchema = z.object({
|
|
6
6
|
matched_candidates_count: z.number().int().default(0).describe("Number of candidates matched so far.").nullable().optional(),
|
|
7
7
|
generated_candidates_count: z.number().int().default(0).describe("Number of candidates generated so far.").nullable().optional()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const ParallelRetrieveFindAllRunStatus_StatusInfoSchema = z.object({
|
|
10
10
|
status: z.enum([
|
|
11
11
|
"queued",
|
|
@@ -18,7 +18,7 @@ const ParallelRetrieveFindAllRunStatus_StatusInfoSchema = z.object({
|
|
|
18
18
|
metrics: ParallelRetrieveFindAllRunStatus_RunMetricsSchema.nullable(),
|
|
19
19
|
is_active: z.boolean().describe("Whether the run is currently active.").nullable(),
|
|
20
20
|
termination_reason: z.string().describe("Reason for termination if applicable.").nullable().optional()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const parallelRetrieveFindAllRunStatus = action("PARALLEL_RETRIEVE_FIND_ALL_RUN_STATUS", {
|
|
23
23
|
slug: "parallel-retrieve-find-all-run-status",
|
|
24
24
|
name: "Retrieve FindAll Run Status",
|
|
@@ -36,7 +36,7 @@ const parallelRetrieveFindAllRunStatus = action("PARALLEL_RETRIEVE_FIND_ALL_RUN_
|
|
|
36
36
|
created_at: z.string().describe("Timestamp when the run was created (RFC 3339).").nullable().optional(),
|
|
37
37
|
findall_id: z.string().describe("ID of the FindAll run.").nullable(),
|
|
38
38
|
modified_at: z.string().describe("Timestamp of the latest modification (RFC 3339).").nullable().optional()
|
|
39
|
-
})
|
|
39
|
+
}).passthrough()
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { parallelRetrieveFindAllRunStatus };
|
|
@@ -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});\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});\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});\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,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;
|
|
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: ParallelRetrieveFindAllRunStatusInput,\n output: ParallelRetrieveFindAllRunStatusOutput,\n});\n"],"mappings":";;;AAIA,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,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AAUf,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdoD,EAAE,OAAO;EAC7D,QAAQ,kDAAkD,SAAS;EACnE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;EAAS,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5G,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"}
|
|
@@ -12,11 +12,11 @@ const ParallelRetrieveMonitor_MonitorCadenceSchema = zod.z.enum([
|
|
|
12
12
|
const ParallelRetrieveMonitor_MonitorWebhookSchema = zod.z.object({
|
|
13
13
|
url: zod.z.string().describe("Webhook URL to receive monitor events").nullable(),
|
|
14
14
|
event_types: zod.z.array(zod.z.unknown()).describe("Types of events to trigger the webhook").nullable().optional()
|
|
15
|
-
}).describe("Webhook configuration for the monitor.");
|
|
15
|
+
}).passthrough().describe("Webhook configuration for the monitor.");
|
|
16
16
|
const ParallelRetrieveMonitor_OutputSchemaSchema = zod.z.object({
|
|
17
17
|
type: zod.z.string().describe("Type of the output schema").nullable().optional(),
|
|
18
18
|
json_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON schema defining the output structure")
|
|
19
|
-
}).describe("Output schema for the monitor event.");
|
|
19
|
+
}).passthrough().describe("Output schema for the monitor event.");
|
|
20
20
|
const ParallelRetrieveMonitorOutput = zod.z.object({
|
|
21
21
|
query: zod.z.string().describe("The query being monitored").nullable(),
|
|
22
22
|
status: ParallelRetrieveMonitor_MonitorStatusSchema.nullable(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-monitor.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-monitor.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveMonitorInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve.\"),\n}).describe(\"Request model for retrieving a specific monitor.\");\nconst ParallelRetrieveMonitor_MonitorStatusSchema = z.enum([\"active\", \"canceled\"]).describe(\"Status options for a monitor.\");\nconst ParallelRetrieveMonitor_MonitorCadenceSchema = z.enum([\"daily\", \"weekly\", \"hourly\", \"every_two_weeks\"]).describe(\"Cadence options for monitor execution.\");\nconst ParallelRetrieveMonitor_MonitorWebhookSchema = z.object({\n url: z.string().describe(\"Webhook URL to receive monitor events\").nullable(),\n event_types: z.array(z.unknown()).describe(\"Types of events to trigger the webhook\").nullable().optional(),\n}).describe(\"Webhook configuration for the monitor.\");\nconst ParallelRetrieveMonitor_OutputSchemaSchema = z.object({\n type: z.string().describe(\"Type of the output schema\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema defining the output structure\"),\n}).describe(\"Output schema for the monitor event.\");\nexport const ParallelRetrieveMonitorOutput = z.object({\n query: z.string().describe(\"The query being monitored\").nullable(),\n status: ParallelRetrieveMonitor_MonitorStatusSchema.nullable(),\n cadence: ParallelRetrieveMonitor_MonitorCadenceSchema.nullable(),\n webhook: ParallelRetrieveMonitor_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 timestamp when the monitor was created\").nullable(),\n monitor_id: z.string().describe(\"Unique identifier of the monitor\").nullable(),\n last_run_at: z.string().describe(\"ISO timestamp of the last execution of the monitor\").nullable().optional(),\n output_schema: ParallelRetrieveMonitor_OutputSchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a monitor, including its status, cadence and metadata.\");\n\nexport const parallelRetrieveMonitor = action(\"PARALLEL_RETRIEVE_MONITOR\", {\n slug: \"parallel-retrieve-monitor\",\n name: \"Retrieve Monitor\",\n description: \"Tool to retrieve a specific monitor by ID. Returns the monitor configuration including status, cadence, query, and webhook settings.\",\n input: ParallelRetrieveMonitorInput,\n output: ParallelRetrieveMonitorOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACjF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,8CAA8CA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3H,MAAM,+CAA+CA,IAAAA,EAAE,KAAK;CAAC;CAAS;CAAU;CAAU;AAAiB,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAC/J,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"retrieve-monitor.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-monitor.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveMonitorInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve.\"),\n}).describe(\"Request model for retrieving a specific monitor.\");\nconst ParallelRetrieveMonitor_MonitorStatusSchema = z.enum([\"active\", \"canceled\"]).describe(\"Status options for a monitor.\");\nconst ParallelRetrieveMonitor_MonitorCadenceSchema = z.enum([\"daily\", \"weekly\", \"hourly\", \"every_two_weeks\"]).describe(\"Cadence options for monitor execution.\");\nconst ParallelRetrieveMonitor_MonitorWebhookSchema = z.object({\n url: z.string().describe(\"Webhook URL to receive monitor events\").nullable(),\n event_types: z.array(z.unknown()).describe(\"Types of events to trigger the webhook\").nullable().optional(),\n}).passthrough().describe(\"Webhook configuration for the monitor.\");\nconst ParallelRetrieveMonitor_OutputSchemaSchema = z.object({\n type: z.string().describe(\"Type of the output schema\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema defining the output structure\"),\n}).passthrough().describe(\"Output schema for the monitor event.\");\nexport const ParallelRetrieveMonitorOutput = z.object({\n query: z.string().describe(\"The query being monitored\").nullable(),\n status: ParallelRetrieveMonitor_MonitorStatusSchema.nullable(),\n cadence: ParallelRetrieveMonitor_MonitorCadenceSchema.nullable(),\n webhook: ParallelRetrieveMonitor_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 timestamp when the monitor was created\").nullable(),\n monitor_id: z.string().describe(\"Unique identifier of the monitor\").nullable(),\n last_run_at: z.string().describe(\"ISO timestamp of the last execution of the monitor\").nullable().optional(),\n output_schema: ParallelRetrieveMonitor_OutputSchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a monitor, including its status, cadence and metadata.\");\n\nexport const parallelRetrieveMonitor = action(\"PARALLEL_RETRIEVE_MONITOR\", {\n slug: \"parallel-retrieve-monitor\",\n name: \"Retrieve Monitor\",\n description: \"Tool to retrieve a specific monitor by ID. Returns the monitor configuration including status, cadence, query, and webhook settings.\",\n input: ParallelRetrieveMonitorInput,\n output: ParallelRetrieveMonitorOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACjF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,8CAA8CA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3H,MAAM,+CAA+CA,IAAAA,EAAE,KAAK;CAAC;CAAS;CAAU;CAAU;AAAiB,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAC/J,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,QAAQ,4CAA4C,SAAS;CAC7D,SAAS,6CAA6C,SAAS;CAC/D,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC1E,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,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAe,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAAsF;AAEhH,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ declare const ParallelRetrieveMonitorOutput: z.ZodObject<{
|
|
|
19
19
|
webhook: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
url: z.ZodNullable<z.ZodString>;
|
|
21
21
|
event_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
23
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
24
|
created_at: z.ZodNullable<z.ZodString>;
|
|
25
25
|
monitor_id: z.ZodNullable<z.ZodString>;
|
|
@@ -27,7 +27,7 @@ declare const ParallelRetrieveMonitorOutput: z.ZodObject<{
|
|
|
27
27
|
output_schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
json_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
}, z.core.$loose>;
|
|
32
32
|
declare const parallelRetrieveMonitor: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
monitor_id: string;
|
|
@@ -19,7 +19,7 @@ declare const ParallelRetrieveMonitorOutput: z.ZodObject<{
|
|
|
19
19
|
webhook: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
url: z.ZodNullable<z.ZodString>;
|
|
21
21
|
event_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
23
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
24
|
created_at: z.ZodNullable<z.ZodString>;
|
|
25
25
|
monitor_id: z.ZodNullable<z.ZodString>;
|
|
@@ -27,7 +27,7 @@ declare const ParallelRetrieveMonitorOutput: z.ZodObject<{
|
|
|
27
27
|
output_schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
json_schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
}, z.core.$loose>;
|
|
32
32
|
declare const parallelRetrieveMonitor: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
monitor_id: string;
|
|
@@ -12,11 +12,11 @@ const ParallelRetrieveMonitor_MonitorCadenceSchema = z.enum([
|
|
|
12
12
|
const ParallelRetrieveMonitor_MonitorWebhookSchema = z.object({
|
|
13
13
|
url: z.string().describe("Webhook URL to receive monitor events").nullable(),
|
|
14
14
|
event_types: z.array(z.unknown()).describe("Types of events to trigger the webhook").nullable().optional()
|
|
15
|
-
}).describe("Webhook configuration for the monitor.");
|
|
15
|
+
}).passthrough().describe("Webhook configuration for the monitor.");
|
|
16
16
|
const ParallelRetrieveMonitor_OutputSchemaSchema = z.object({
|
|
17
17
|
type: z.string().describe("Type of the output schema").nullable().optional(),
|
|
18
18
|
json_schema: z.record(z.string(), z.unknown()).describe("JSON schema defining the output structure")
|
|
19
|
-
}).describe("Output schema for the monitor event.");
|
|
19
|
+
}).passthrough().describe("Output schema for the monitor event.");
|
|
20
20
|
const parallelRetrieveMonitor = action("PARALLEL_RETRIEVE_MONITOR", {
|
|
21
21
|
slug: "parallel-retrieve-monitor",
|
|
22
22
|
name: "Retrieve Monitor",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-monitor.mjs","names":[],"sources":["../../src/actions/retrieve-monitor.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveMonitorInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve.\"),\n}).describe(\"Request model for retrieving a specific monitor.\");\nconst ParallelRetrieveMonitor_MonitorStatusSchema = z.enum([\"active\", \"canceled\"]).describe(\"Status options for a monitor.\");\nconst ParallelRetrieveMonitor_MonitorCadenceSchema = z.enum([\"daily\", \"weekly\", \"hourly\", \"every_two_weeks\"]).describe(\"Cadence options for monitor execution.\");\nconst ParallelRetrieveMonitor_MonitorWebhookSchema = z.object({\n url: z.string().describe(\"Webhook URL to receive monitor events\").nullable(),\n event_types: z.array(z.unknown()).describe(\"Types of events to trigger the webhook\").nullable().optional(),\n}).describe(\"Webhook configuration for the monitor.\");\nconst ParallelRetrieveMonitor_OutputSchemaSchema = z.object({\n type: z.string().describe(\"Type of the output schema\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema defining the output structure\"),\n}).describe(\"Output schema for the monitor event.\");\nexport const ParallelRetrieveMonitorOutput = z.object({\n query: z.string().describe(\"The query being monitored\").nullable(),\n status: ParallelRetrieveMonitor_MonitorStatusSchema.nullable(),\n cadence: ParallelRetrieveMonitor_MonitorCadenceSchema.nullable(),\n webhook: ParallelRetrieveMonitor_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 timestamp when the monitor was created\").nullable(),\n monitor_id: z.string().describe(\"Unique identifier of the monitor\").nullable(),\n last_run_at: z.string().describe(\"ISO timestamp of the last execution of the monitor\").nullable().optional(),\n output_schema: ParallelRetrieveMonitor_OutputSchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a monitor, including its status, cadence and metadata.\");\n\nexport const parallelRetrieveMonitor = action(\"PARALLEL_RETRIEVE_MONITOR\", {\n slug: \"parallel-retrieve-monitor\",\n name: \"Retrieve Monitor\",\n description: \"Tool to retrieve a specific monitor by ID. Returns the monitor configuration including status, cadence, query, and webhook settings.\",\n input: ParallelRetrieveMonitorInput,\n output: ParallelRetrieveMonitorOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACjF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,8CAA8C,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3H,MAAM,+CAA+C,EAAE,KAAK;CAAC;CAAS;CAAU;CAAU;AAAiB,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAC/J,MAAM,+CAA+C,EAAE,OAAO;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"retrieve-monitor.mjs","names":[],"sources":["../../src/actions/retrieve-monitor.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelRetrieveMonitorInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve.\"),\n}).describe(\"Request model for retrieving a specific monitor.\");\nconst ParallelRetrieveMonitor_MonitorStatusSchema = z.enum([\"active\", \"canceled\"]).describe(\"Status options for a monitor.\");\nconst ParallelRetrieveMonitor_MonitorCadenceSchema = z.enum([\"daily\", \"weekly\", \"hourly\", \"every_two_weeks\"]).describe(\"Cadence options for monitor execution.\");\nconst ParallelRetrieveMonitor_MonitorWebhookSchema = z.object({\n url: z.string().describe(\"Webhook URL to receive monitor events\").nullable(),\n event_types: z.array(z.unknown()).describe(\"Types of events to trigger the webhook\").nullable().optional(),\n}).passthrough().describe(\"Webhook configuration for the monitor.\");\nconst ParallelRetrieveMonitor_OutputSchemaSchema = z.object({\n type: z.string().describe(\"Type of the output schema\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema defining the output structure\"),\n}).passthrough().describe(\"Output schema for the monitor event.\");\nexport const ParallelRetrieveMonitorOutput = z.object({\n query: z.string().describe(\"The query being monitored\").nullable(),\n status: ParallelRetrieveMonitor_MonitorStatusSchema.nullable(),\n cadence: ParallelRetrieveMonitor_MonitorCadenceSchema.nullable(),\n webhook: ParallelRetrieveMonitor_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 timestamp when the monitor was created\").nullable(),\n monitor_id: z.string().describe(\"Unique identifier of the monitor\").nullable(),\n last_run_at: z.string().describe(\"ISO timestamp of the last execution of the monitor\").nullable().optional(),\n output_schema: ParallelRetrieveMonitor_OutputSchemaSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a monitor, including its status, cadence and metadata.\");\n\nexport const parallelRetrieveMonitor = action(\"PARALLEL_RETRIEVE_MONITOR\", {\n slug: \"parallel-retrieve-monitor\",\n name: \"Retrieve Monitor\",\n description: \"Tool to retrieve a specific monitor by ID. Returns the monitor configuration including status, cadence, query, and webhook settings.\",\n input: ParallelRetrieveMonitorInput,\n output: ParallelRetrieveMonitorOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACjF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,8CAA8C,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3H,MAAM,+CAA+C,EAAE,KAAK;CAAC;CAAS;CAAU;CAAU;AAAiB,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAC/J,MAAM,+CAA+C,EAAE,OAAO;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAahE,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,QAAQ,4CAA4C,SAAS;EAC7D,SAAS,6CAA6C,SAAS;EAC/D,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,eAAe,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAOhB;AACV,CAAC"}
|