@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
|
@@ -9,38 +9,38 @@ declare const ParallelGetFindAllRunResultOutput: z.ZodObject<{
|
|
|
9
9
|
status: z.ZodNullable<z.ZodObject<{
|
|
10
10
|
status: z.ZodNullable<z.ZodEnum<{
|
|
11
11
|
queued: "queued";
|
|
12
|
+
action_required: "action_required";
|
|
12
13
|
running: "running";
|
|
13
14
|
completed: "completed";
|
|
14
15
|
failed: "failed";
|
|
15
|
-
cancelled: "cancelled";
|
|
16
|
-
action_required: "action_required";
|
|
17
16
|
cancelling: "cancelling";
|
|
17
|
+
cancelled: "cancelled";
|
|
18
18
|
}>>;
|
|
19
19
|
metrics: z.ZodNullable<z.ZodObject<{
|
|
20
20
|
matched_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
21
21
|
generated_candidates_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
23
|
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
24
24
|
termination_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
25
|
-
timeout: "timeout";
|
|
26
25
|
low_match_rate: "low_match_rate";
|
|
27
26
|
match_limit_met: "match_limit_met";
|
|
28
27
|
candidates_exhausted: "candidates_exhausted";
|
|
29
28
|
user_cancelled: "user_cancelled";
|
|
30
29
|
error_occurred: "error_occurred";
|
|
30
|
+
timeout: "timeout";
|
|
31
31
|
}>>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
33
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
34
34
|
generator: z.ZodNullable<z.ZodEnum<{
|
|
35
|
-
base: "base";
|
|
36
35
|
core: "core";
|
|
36
|
+
base: "base";
|
|
37
37
|
pro: "pro";
|
|
38
38
|
preview: "preview";
|
|
39
39
|
}>>;
|
|
40
40
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
findall_id: z.ZodNullable<z.ZodString>;
|
|
42
42
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>;
|
|
44
44
|
candidates: z.ZodArray<z.ZodObject<{
|
|
45
45
|
url: z.ZodNullable<z.ZodString>;
|
|
46
46
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -50,10 +50,10 @@ declare const ParallelGetFindAllRunResultOutput: z.ZodObject<{
|
|
|
50
50
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
excerpt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>>>;
|
|
54
54
|
reasoning: z.ZodNullable<z.ZodString>;
|
|
55
55
|
confidence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>>>>;
|
|
57
57
|
output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
58
58
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
candidate_id: z.ZodNullable<z.ZodString>;
|
|
@@ -63,9 +63,9 @@ declare const ParallelGetFindAllRunResultOutput: z.ZodObject<{
|
|
|
63
63
|
unmatched: "unmatched";
|
|
64
64
|
discarded: "discarded";
|
|
65
65
|
}>>;
|
|
66
|
-
}, z.core.$
|
|
66
|
+
}, z.core.$loose>>;
|
|
67
67
|
last_event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
-
}, z.core.$
|
|
68
|
+
}, z.core.$loose>;
|
|
69
69
|
declare const parallelGetFindAllRunResult: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
70
70
|
findall_id: string;
|
|
71
71
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const ParallelGetFindAllRunResultInput = z.object({ findall_id: z.string().descr
|
|
|
5
5
|
const ParallelGetFindAllRunResult_RunMetricsSchema = z.object({
|
|
6
6
|
matched_candidates_count: z.number().int().default(0).describe("Number of candidates matched").nullable().optional(),
|
|
7
7
|
generated_candidates_count: z.number().int().default(0).describe("Number of candidates generated").nullable().optional()
|
|
8
|
-
}).describe("Metrics for the FindAll run.");
|
|
8
|
+
}).passthrough().describe("Metrics for the FindAll run.");
|
|
9
9
|
const ParallelGetFindAllRunResult_FindAllRunStatusSchema = z.object({
|
|
10
10
|
status: z.enum([
|
|
11
11
|
"queued",
|
|
@@ -26,7 +26,7 @@ const ParallelGetFindAllRunResult_FindAllRunStatusSchema = z.object({
|
|
|
26
26
|
"error_occurred",
|
|
27
27
|
"timeout"
|
|
28
28
|
]).describe("Why the run ended").nullable().optional()
|
|
29
|
-
}).describe("Status information for a FindAll run.");
|
|
29
|
+
}).passthrough().describe("Status information for a FindAll run.");
|
|
30
30
|
const ParallelGetFindAllRunResult_FindAllRunSchema = z.object({
|
|
31
31
|
status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),
|
|
32
32
|
metadata: z.record(z.string(), z.unknown()).describe("Custom metadata for the run").nullable().optional(),
|
|
@@ -39,18 +39,18 @@ const ParallelGetFindAllRunResult_FindAllRunSchema = z.object({
|
|
|
39
39
|
created_at: z.string().describe("RFC 3339 timestamp of creation").nullable().optional(),
|
|
40
40
|
findall_id: z.string().describe("ID of the FindAll run").nullable(),
|
|
41
41
|
modified_at: z.string().describe("RFC 3339 timestamp of last modification").nullable().optional()
|
|
42
|
-
}).describe("FindAll run metadata object.");
|
|
42
|
+
}).passthrough().describe("FindAll run metadata object.");
|
|
43
43
|
const ParallelGetFindAllRunResult_CitationSchema = z.object({
|
|
44
44
|
url: z.string().describe("URL of the cited source").nullable().optional(),
|
|
45
45
|
title: z.string().describe("Title of the cited source").nullable().optional(),
|
|
46
46
|
excerpt: z.string().describe("Excerpt from the cited source").nullable().optional()
|
|
47
|
-
}).describe("Supporting citation for a field value.");
|
|
47
|
+
}).passthrough().describe("Supporting citation for a field value.");
|
|
48
48
|
const ParallelGetFindAllRunResult_FieldBasisSchema = z.object({
|
|
49
49
|
field: z.string().describe("Output field name").nullable(),
|
|
50
50
|
citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe("Supporting sources").nullable().optional(),
|
|
51
51
|
reasoning: z.string().describe("Explanation for the field value").nullable(),
|
|
52
52
|
confidence: z.string().describe("Confidence level (if available from processor)").nullable().optional()
|
|
53
|
-
}).describe("Supporting citations and reasoning for an output field.");
|
|
53
|
+
}).passthrough().describe("Supporting citations and reasoning for an output field.");
|
|
54
54
|
const ParallelGetFindAllRunResult_FindAllCandidateSchema = z.object({
|
|
55
55
|
url: z.string().describe("Disambiguation URL for the entity").nullable(),
|
|
56
56
|
name: z.string().describe("Candidate entity name").nullable(),
|
|
@@ -64,7 +64,7 @@ const ParallelGetFindAllRunResult_FindAllCandidateSchema = z.object({
|
|
|
64
64
|
"unmatched",
|
|
65
65
|
"discarded"
|
|
66
66
|
]).describe("Status of the candidate").nullable()
|
|
67
|
-
}).describe("A candidate entity from the FindAll run.");
|
|
67
|
+
}).passthrough().describe("A candidate entity from the FindAll run.");
|
|
68
68
|
const parallelGetFindAllRunResult = action("PARALLEL_GET_FIND_ALL_RUN_RESULT", {
|
|
69
69
|
slug: "parallel-get-find-all-run-result",
|
|
70
70
|
name: "Get FindAll Run Result",
|
|
@@ -74,7 +74,7 @@ const parallelGetFindAllRunResult = action("PARALLEL_GET_FIND_ALL_RUN_RESULT", {
|
|
|
74
74
|
run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),
|
|
75
75
|
candidates: z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe("All evaluated candidates"),
|
|
76
76
|
last_event_id: z.string().describe("ID of the last run event; useful for resuming event streams").nullable().optional()
|
|
77
|
-
}).describe("Response model for FindAll run results.")
|
|
77
|
+
}).passthrough().describe("Response model for FindAll run results.")
|
|
78
78
|
});
|
|
79
79
|
//#endregion
|
|
80
80
|
export { parallelGetFindAllRunResult };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-result.mjs","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunResultInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run results.\");\nconst ParallelGetFindAllRunResult_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated\").nullable().optional(),\n}).describe(\"Metrics for the FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunStatusSchema = z.object({\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Current state of the run\").nullable(),\n metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n termination_reason: z.enum([\"low_match_rate\", \"match_limit_met\", \"candidates_exhausted\", \"user_cancelled\", \"error_occurred\", \"timeout\"]).describe(\"Why the run ended\").nullable().optional(),\n}).describe(\"Status information for a FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunSchema = z.object({\n status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable().optional(),\n}).describe(\"FindAll run metadata object.\");\nconst ParallelGetFindAllRunResult_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).describe(\"Supporting citation for a field value.\");\nconst ParallelGetFindAllRunResult_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelGetFindAllRunResult_FindAllCandidateSchema = z.object({\n url: z.string().describe(\"Disambiguation URL for the entity\").nullable(),\n name: z.string().describe(\"Candidate entity name\").nullable(),\n basis: z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe(\"Supporting citations and reasoning per output field\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Structured results of match condition evaluations\").nullable().optional(),\n description: z.string().describe(\"Brief entity description\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique candidate identifier\").nullable(),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\"]).describe(\"Status of the candidate\").nullable(),\n}).describe(\"A candidate entity from the FindAll run.\");\nexport const ParallelGetFindAllRunResultOutput = z.object({\n run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),\n candidates: z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe(\"All evaluated candidates\"),\n last_event_id: z.string().describe(\"ID of the last run event; useful for resuming event streams\").nullable().optional(),\n}).describe(\"Response model for FindAll run results.\");\n\nexport const parallelGetFindAllRunResult = action(\"PARALLEL_GET_FIND_ALL_RUN_RESULT\", {\n slug: \"parallel-get-find-all-run-result\",\n name: \"Get FindAll Run Result\",\n description: \"Tool to fetch the final (or latest available) FindAll candidates and result payload for a run. Use when you need to retrieve matched/unmatched candidates after a FindAll run has progressed or completed.\",\n input: ParallelGetFindAllRunResultInput,\n output: ParallelGetFindAllRunResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,8BAA8B;
|
|
1
|
+
{"version":3,"file":"get-find-all-run-result.mjs","names":[],"sources":["../../src/actions/get-find-all-run-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunResultInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run results.\");\nconst ParallelGetFindAllRunResult_RunMetricsSchema = z.object({\n matched_candidates_count: z.number().int().default(0).describe(\"Number of candidates matched\").nullable().optional(),\n generated_candidates_count: z.number().int().default(0).describe(\"Number of candidates generated\").nullable().optional(),\n}).passthrough().describe(\"Metrics for the FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunStatusSchema = z.object({\n status: z.enum([\"queued\", \"action_required\", \"running\", \"completed\", \"failed\", \"cancelling\", \"cancelled\"]).describe(\"Current state of the run\").nullable(),\n metrics: ParallelGetFindAllRunResult_RunMetricsSchema.nullable(),\n is_active: z.boolean().describe(\"Whether the run is actively processing\").nullable(),\n termination_reason: z.enum([\"low_match_rate\", \"match_limit_met\", \"candidates_exhausted\", \"user_cancelled\", \"error_occurred\", \"timeout\"]).describe(\"Why the run ended\").nullable().optional(),\n}).passthrough().describe(\"Status information for a FindAll run.\");\nconst ParallelGetFindAllRunResult_FindAllRunSchema = z.object({\n status: ParallelGetFindAllRunResult_FindAllRunStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the run\").nullable().optional(),\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).describe(\"Generator type\").nullable(),\n created_at: z.string().describe(\"RFC 3339 timestamp of creation\").nullable().optional(),\n findall_id: z.string().describe(\"ID of the FindAll run\").nullable(),\n modified_at: z.string().describe(\"RFC 3339 timestamp of last modification\").nullable().optional(),\n}).passthrough().describe(\"FindAll run metadata object.\");\nconst ParallelGetFindAllRunResult_CitationSchema = z.object({\n url: z.string().describe(\"URL of the cited source\").nullable().optional(),\n title: z.string().describe(\"Title of the cited source\").nullable().optional(),\n excerpt: z.string().describe(\"Excerpt from the cited source\").nullable().optional(),\n}).passthrough().describe(\"Supporting citation for a field value.\");\nconst ParallelGetFindAllRunResult_FieldBasisSchema = z.object({\n field: z.string().describe(\"Output field name\").nullable(),\n citations: z.array(ParallelGetFindAllRunResult_CitationSchema).describe(\"Supporting sources\").nullable().optional(),\n reasoning: z.string().describe(\"Explanation for the field value\").nullable(),\n confidence: z.string().describe(\"Confidence level (if available from processor)\").nullable().optional(),\n}).passthrough().describe(\"Supporting citations and reasoning for an output field.\");\nconst ParallelGetFindAllRunResult_FindAllCandidateSchema = z.object({\n url: z.string().describe(\"Disambiguation URL for the entity\").nullable(),\n name: z.string().describe(\"Candidate entity name\").nullable(),\n basis: z.array(ParallelGetFindAllRunResult_FieldBasisSchema).describe(\"Supporting citations and reasoning per output field\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Structured results of match condition evaluations\").nullable().optional(),\n description: z.string().describe(\"Brief entity description\").nullable().optional(),\n candidate_id: z.string().describe(\"Unique candidate identifier\").nullable(),\n match_status: z.enum([\"generated\", \"matched\", \"unmatched\", \"discarded\"]).describe(\"Status of the candidate\").nullable(),\n}).passthrough().describe(\"A candidate entity from the FindAll run.\");\nexport const ParallelGetFindAllRunResultOutput = z.object({\n run: ParallelGetFindAllRunResult_FindAllRunSchema.nullable(),\n candidates: z.array(ParallelGetFindAllRunResult_FindAllCandidateSchema).describe(\"All evaluated candidates\"),\n last_event_id: z.string().describe(\"ID of the last run event; useful for resuming event streams\").nullable().optional(),\n}).passthrough().describe(\"Response model for FindAll run results.\");\n\nexport const parallelGetFindAllRunResult = action(\"PARALLEL_GET_FIND_ALL_RUN_RESULT\", {\n slug: \"parallel-get-find-all-run-result\",\n name: \"Get FindAll Run Result\",\n description: \"Tool to fetch the final (or latest available) FindAll candidates and result payload for a run. Use when you need to retrieve matched/unmatched candidates after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C,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,cAAc,EAAE,KAAK;EAAC;EAAa;EAAW;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAOpE,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+C,EAAE,OAAO;EACxD,KAAK,6CAA6C,SAAS;EAC3D,YAAY,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,0BAA0B;EAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ParallelGetFindAllRunSchemaInput = zod.z.object({ findall_id: zod.z.string
|
|
|
5
5
|
const ParallelGetFindAllRunSchema_MatchConditionSchema = zod.z.object({
|
|
6
6
|
name: zod.z.string().describe("Name of the match condition").nullable(),
|
|
7
7
|
description: zod.z.string().describe("Description of the match condition").nullable()
|
|
8
|
-
}).describe("Match condition model for FindAll ingest.");
|
|
8
|
+
}).passthrough().describe("Match condition model for FindAll ingest.");
|
|
9
9
|
const ParallelGetFindAllRunSchemaOutput = zod.z.object({
|
|
10
10
|
generator: zod.z.enum([
|
|
11
11
|
"base",
|
|
@@ -18,7 +18,7 @@ const ParallelGetFindAllRunSchemaOutput = zod.z.object({
|
|
|
18
18
|
entity_type: zod.z.string().describe("Type of the entity for the FindAll run.").nullable(),
|
|
19
19
|
match_limit: zod.z.number().int().describe("Max number of candidates to evaluate").nullable().optional(),
|
|
20
20
|
match_conditions: zod.z.array(ParallelGetFindAllRunSchema_MatchConditionSchema).describe("List of match conditions for the FindAll run.")
|
|
21
|
-
}).describe("Response model for FindAll ingest schema.");
|
|
21
|
+
}).passthrough().describe("Response model for FindAll ingest schema.");
|
|
22
22
|
const parallelGetFindAllRunSchema = require_action.action("PARALLEL_GET_FIND_ALL_RUN_SCHEMA", {
|
|
23
23
|
slug: "parallel-get-find-all-run-schema",
|
|
24
24
|
name: "Get FindAll Run Schema",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-schema.cjs","names":["z","action"],"sources":["../../src/actions/get-find-all-run-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunSchemaInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run schema.\");\nconst ParallelGetFindAllRunSchema_MatchConditionSchema = z.object({\n name: z.string().describe(\"Name of the match condition\").nullable(),\n description: z.string().describe(\"Description of the match condition\").nullable(),\n}).describe(\"Match condition model for FindAll ingest.\");\nexport const ParallelGetFindAllRunSchemaOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator of the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of the entity for the FindAll run.\").nullable(),\n match_limit: z.number().int().describe(\"Max number of candidates to evaluate\").nullable().optional(),\n match_conditions: z.array(ParallelGetFindAllRunSchema_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).describe(\"Response model for FindAll ingest schema.\");\n\nexport const parallelGetFindAllRunSchema = action(\"PARALLEL_GET_FIND_ALL_RUN_SCHEMA\", {\n slug: \"parallel-get-find-all-run-schema\",\n name: \"Get FindAll Run Schema\",\n description: \"Tool to retrieve the schema configuration of a FindAll run by findall_id. Use when you need to inspect the objective, entity type, match conditions, and other schema details for a previously created FindAll run.\",\n input: ParallelGetFindAllRunSchemaInput,\n output: ParallelGetFindAllRunSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"get-find-all-run-schema.cjs","names":["z","action"],"sources":["../../src/actions/get-find-all-run-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunSchemaInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run schema.\");\nconst ParallelGetFindAllRunSchema_MatchConditionSchema = z.object({\n name: z.string().describe(\"Name of the match condition\").nullable(),\n description: z.string().describe(\"Description of the match condition\").nullable(),\n}).passthrough().describe(\"Match condition model for FindAll ingest.\");\nexport const ParallelGetFindAllRunSchemaOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator of the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of the entity for the FindAll run.\").nullable(),\n match_limit: z.number().int().describe(\"Max number of candidates to evaluate\").nullable().optional(),\n match_conditions: z.array(ParallelGetFindAllRunSchema_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).passthrough().describe(\"Response model for FindAll ingest schema.\");\n\nexport const parallelGetFindAllRunSchema = action(\"PARALLEL_GET_FIND_ALL_RUN_SCHEMA\", {\n slug: \"parallel-get-find-all-run-schema\",\n name: \"Get FindAll Run Schema\",\n description: \"Tool to retrieve the schema configuration of a FindAll run by findall_id. Use when you need to inspect the objective, entity type, match conditions, and other schema details for a previously created FindAll run.\",\n input: ParallelGetFindAllRunSchemaInput,\n output: ParallelGetFindAllRunSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAS,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,kBAAkBA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ declare const ParallelGetFindAllRunSchemaInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const ParallelGetFindAllRunSchemaOutput: z.ZodObject<{
|
|
8
8
|
generator: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
|
|
9
|
-
base: "base";
|
|
10
9
|
core: "core";
|
|
10
|
+
base: "base";
|
|
11
11
|
pro: "pro";
|
|
12
12
|
preview: "preview";
|
|
13
13
|
}>>>>;
|
|
@@ -18,8 +18,8 @@ declare const ParallelGetFindAllRunSchemaOutput: z.ZodObject<{
|
|
|
18
18
|
match_conditions: z.ZodArray<z.ZodObject<{
|
|
19
19
|
name: z.ZodNullable<z.ZodString>;
|
|
20
20
|
description: z.ZodNullable<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const parallelGetFindAllRunSchema: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
findall_id: string;
|
|
25
25
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,8 +6,8 @@ declare const ParallelGetFindAllRunSchemaInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const ParallelGetFindAllRunSchemaOutput: z.ZodObject<{
|
|
8
8
|
generator: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
|
|
9
|
-
base: "base";
|
|
10
9
|
core: "core";
|
|
10
|
+
base: "base";
|
|
11
11
|
pro: "pro";
|
|
12
12
|
preview: "preview";
|
|
13
13
|
}>>>>;
|
|
@@ -18,8 +18,8 @@ declare const ParallelGetFindAllRunSchemaOutput: z.ZodObject<{
|
|
|
18
18
|
match_conditions: z.ZodArray<z.ZodObject<{
|
|
19
19
|
name: z.ZodNullable<z.ZodString>;
|
|
20
20
|
description: z.ZodNullable<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const parallelGetFindAllRunSchema: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
findall_id: string;
|
|
25
25
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const ParallelGetFindAllRunSchemaInput = z.object({ findall_id: z.string().descr
|
|
|
5
5
|
const ParallelGetFindAllRunSchema_MatchConditionSchema = z.object({
|
|
6
6
|
name: z.string().describe("Name of the match condition").nullable(),
|
|
7
7
|
description: z.string().describe("Description of the match condition").nullable()
|
|
8
|
-
}).describe("Match condition model for FindAll ingest.");
|
|
8
|
+
}).passthrough().describe("Match condition model for FindAll ingest.");
|
|
9
9
|
const parallelGetFindAllRunSchema = action("PARALLEL_GET_FIND_ALL_RUN_SCHEMA", {
|
|
10
10
|
slug: "parallel-get-find-all-run-schema",
|
|
11
11
|
name: "Get FindAll Run Schema",
|
|
@@ -23,7 +23,7 @@ const parallelGetFindAllRunSchema = action("PARALLEL_GET_FIND_ALL_RUN_SCHEMA", {
|
|
|
23
23
|
entity_type: z.string().describe("Type of the entity for the FindAll run.").nullable(),
|
|
24
24
|
match_limit: z.number().int().describe("Max number of candidates to evaluate").nullable().optional(),
|
|
25
25
|
match_conditions: z.array(ParallelGetFindAllRunSchema_MatchConditionSchema).describe("List of match conditions for the FindAll run.")
|
|
26
|
-
}).describe("Response model for FindAll ingest schema.")
|
|
26
|
+
}).passthrough().describe("Response model for FindAll ingest schema.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { parallelGetFindAllRunSchema };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-find-all-run-schema.mjs","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunSchemaInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run schema.\");\nconst ParallelGetFindAllRunSchema_MatchConditionSchema = z.object({\n name: z.string().describe(\"Name of the match condition\").nullable(),\n description: z.string().describe(\"Description of the match condition\").nullable(),\n}).describe(\"Match condition model for FindAll ingest.\");\nexport const ParallelGetFindAllRunSchemaOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator of the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of the entity for the FindAll run.\").nullable(),\n match_limit: z.number().int().describe(\"Max number of candidates to evaluate\").nullable().optional(),\n match_conditions: z.array(ParallelGetFindAllRunSchema_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).describe(\"Response model for FindAll ingest schema.\");\n\nexport const parallelGetFindAllRunSchema = action(\"PARALLEL_GET_FIND_ALL_RUN_SCHEMA\", {\n slug: \"parallel-get-find-all-run-schema\",\n name: \"Get FindAll Run Schema\",\n description: \"Tool to retrieve the schema configuration of a FindAll run by findall_id. Use when you need to inspect the objective, entity type, match conditions, and other schema details for a previously created FindAll run.\",\n input: ParallelGetFindAllRunSchemaInput,\n output: ParallelGetFindAllRunSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"get-find-all-run-schema.mjs","names":[],"sources":["../../src/actions/get-find-all-run-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelGetFindAllRunSchemaInput = z.object({\n findall_id: z.string().describe(\"The identifier for the FindAll run.\"),\n}).describe(\"Request model for retrieving FindAll run schema.\");\nconst ParallelGetFindAllRunSchema_MatchConditionSchema = z.object({\n name: z.string().describe(\"Name of the match condition\").nullable(),\n description: z.string().describe(\"Description of the match condition\").nullable(),\n}).passthrough().describe(\"Match condition model for FindAll ingest.\");\nexport const ParallelGetFindAllRunSchemaOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator of the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of the entity for the FindAll run.\").nullable(),\n match_limit: z.number().int().describe(\"Max number of candidates to evaluate\").nullable().optional(),\n match_conditions: z.array(ParallelGetFindAllRunSchema_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).passthrough().describe(\"Response model for FindAll ingest schema.\");\n\nexport const parallelGetFindAllRunSchema = action(\"PARALLEL_GET_FIND_ALL_RUN_SCHEMA\", {\n slug: \"parallel-get-find-all-run-schema\",\n name: \"Get FindAll Run Schema\",\n description: \"Tool to retrieve the schema configuration of a FindAll run by findall_id. Use when you need to inspect the objective, entity type, match conditions, and other schema details for a previously created FindAll run.\",\n input: ParallelGetFindAllRunSchemaInput,\n output: ParallelGetFindAllRunSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACvE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAUrE,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd+C,EAAE,OAAO;EACxD,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;EAAS,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,kBAAkB,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ParallelIngestFindAllRunInput = zod.z.object({ objective: zod.z.string().d
|
|
|
5
5
|
const ParallelIngestFindAllRun_MatchConditionSchema = zod.z.object({
|
|
6
6
|
name: zod.z.string().describe("Identifier for the match condition.").nullable(),
|
|
7
7
|
description: zod.z.string().describe("Description of what must be satisfied for the match.").nullable()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const ParallelIngestFindAllRunOutput = zod.z.object({
|
|
10
10
|
generator: zod.z.enum([
|
|
11
11
|
"base",
|
|
@@ -18,7 +18,7 @@ const ParallelIngestFindAllRunOutput = zod.z.object({
|
|
|
18
18
|
entity_type: zod.z.string().describe("Type of entity for the FindAll run (e.g., companies, people).").nullable(),
|
|
19
19
|
match_limit: zod.z.number().int().describe("Maximum number of candidates to evaluate. If not specified, uses API default.").nullable().optional(),
|
|
20
20
|
match_conditions: zod.z.array(ParallelIngestFindAllRun_MatchConditionSchema).describe("List of match conditions for the FindAll run.")
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const parallelIngestFindAllRun = require_action.action("PARALLEL_INGEST_FIND_ALL_RUN", {
|
|
23
23
|
slug: "parallel-ingest-find-all-run",
|
|
24
24
|
name: "Ingest FindAll Run",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingest-find-all-run.cjs","names":["z","action"],"sources":["../../src/actions/ingest-find-all-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelIngestFindAllRunInput = z.object({\n objective: z.string().describe(\"Natural language search objective to transform into a structured FindAll specification. Describe what you want to find (e.g., 'Find technology companies in San Francisco with over 100 employees').\"),\n});\nconst ParallelIngestFindAllRun_MatchConditionSchema = z.object({\n name: z.string().describe(\"Identifier for the match condition.\").nullable(),\n description: z.string().describe(\"Description of what must be satisfied for the match.\").nullable(),\n});\nexport const ParallelIngestFindAllRunOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator tier for the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of entity for the FindAll run (e.g., companies, people).\").nullable(),\n match_limit: z.number().int().describe(\"Maximum number of candidates to evaluate. If not specified, uses API default.\").nullable().optional(),\n match_conditions: z.array(ParallelIngestFindAllRun_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n});\n\nexport const parallelIngestFindAllRun = action(\"PARALLEL_INGEST_FIND_ALL_RUN\", {\n slug: \"parallel-ingest-find-all-run\",\n name: \"Ingest FindAll Run\",\n description: \"Tool to transform a natural language search objective into a structured FindAll specification. Use when you need to generate a FindAll run spec from a user's natural language description. The generated specification serves as a suggested starting point and can be further customized.\",\n input: ParallelIngestFindAllRunInput,\n output: ParallelIngestFindAllRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EACvO,CAAC;AACD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC;
|
|
1
|
+
{"version":3,"file":"ingest-find-all-run.cjs","names":["z","action"],"sources":["../../src/actions/ingest-find-all-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelIngestFindAllRunInput = z.object({\n objective: z.string().describe(\"Natural language search objective to transform into a structured FindAll specification. Describe what you want to find (e.g., 'Find technology companies in San Francisco with over 100 employees').\"),\n});\nconst ParallelIngestFindAllRun_MatchConditionSchema = z.object({\n name: z.string().describe(\"Identifier for the match condition.\").nullable(),\n description: z.string().describe(\"Description of what must be satisfied for the match.\").nullable(),\n}).passthrough();\nexport const ParallelIngestFindAllRunOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator tier for the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of entity for the FindAll run (e.g., companies, people).\").nullable(),\n match_limit: z.number().int().describe(\"Maximum number of candidates to evaluate. If not specified, uses API default.\").nullable().optional(),\n match_conditions: z.array(ParallelIngestFindAllRun_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).passthrough();\n\nexport const parallelIngestFindAllRun = action(\"PARALLEL_INGEST_FIND_ALL_RUN\", {\n slug: \"parallel-ingest-find-all-run\",\n name: \"Ingest FindAll Run\",\n description: \"Tool to transform a natural language search objective into a structured FindAll specification. Use when you need to generate a FindAll run spec from a user's natural language description. The generated specification serves as a suggested starting point and can be further customized.\",\n input: ParallelIngestFindAllRunInput,\n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: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const ParallelIngestFindAllRunOutput: z.ZodObject<{
|
|
8
8
|
generator: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
|
|
9
|
-
base: "base";
|
|
10
9
|
core: "core";
|
|
10
|
+
base: "base";
|
|
11
11
|
pro: "pro";
|
|
12
12
|
preview: "preview";
|
|
13
13
|
}>>>>;
|
|
@@ -18,8 +18,8 @@ declare const ParallelIngestFindAllRunOutput: z.ZodObject<{
|
|
|
18
18
|
match_conditions: z.ZodArray<z.ZodObject<{
|
|
19
19
|
name: z.ZodNullable<z.ZodString>;
|
|
20
20
|
description: z.ZodNullable<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const parallelIngestFindAllRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
objective: string;
|
|
25
25
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,8 +6,8 @@ declare const ParallelIngestFindAllRunInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const ParallelIngestFindAllRunOutput: z.ZodObject<{
|
|
8
8
|
generator: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
|
|
9
|
-
base: "base";
|
|
10
9
|
core: "core";
|
|
10
|
+
base: "base";
|
|
11
11
|
pro: "pro";
|
|
12
12
|
preview: "preview";
|
|
13
13
|
}>>>>;
|
|
@@ -18,8 +18,8 @@ declare const ParallelIngestFindAllRunOutput: z.ZodObject<{
|
|
|
18
18
|
match_conditions: z.ZodArray<z.ZodObject<{
|
|
19
19
|
name: z.ZodNullable<z.ZodString>;
|
|
20
20
|
description: z.ZodNullable<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const parallelIngestFindAllRun: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
objective: string;
|
|
25
25
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const ParallelIngestFindAllRunInput = z.object({ objective: z.string().describe(
|
|
|
5
5
|
const ParallelIngestFindAllRun_MatchConditionSchema = z.object({
|
|
6
6
|
name: z.string().describe("Identifier for the match condition.").nullable(),
|
|
7
7
|
description: z.string().describe("Description of what must be satisfied for the match.").nullable()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const parallelIngestFindAllRun = action("PARALLEL_INGEST_FIND_ALL_RUN", {
|
|
10
10
|
slug: "parallel-ingest-find-all-run",
|
|
11
11
|
name: "Ingest FindAll Run",
|
|
@@ -23,7 +23,7 @@ const parallelIngestFindAllRun = action("PARALLEL_INGEST_FIND_ALL_RUN", {
|
|
|
23
23
|
entity_type: z.string().describe("Type of entity for the FindAll run (e.g., companies, people).").nullable(),
|
|
24
24
|
match_limit: z.number().int().describe("Maximum number of candidates to evaluate. If not specified, uses API default.").nullable().optional(),
|
|
25
25
|
match_conditions: z.array(ParallelIngestFindAllRun_MatchConditionSchema).describe("List of match conditions for the FindAll run.")
|
|
26
|
-
})
|
|
26
|
+
}).passthrough()
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { parallelIngestFindAllRun };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingest-find-all-run.mjs","names":[],"sources":["../../src/actions/ingest-find-all-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelIngestFindAllRunInput = z.object({\n objective: z.string().describe(\"Natural language search objective to transform into a structured FindAll specification. Describe what you want to find (e.g., 'Find technology companies in San Francisco with over 100 employees').\"),\n});\nconst ParallelIngestFindAllRun_MatchConditionSchema = z.object({\n name: z.string().describe(\"Identifier for the match condition.\").nullable(),\n description: z.string().describe(\"Description of what must be satisfied for the match.\").nullable(),\n});\nexport const ParallelIngestFindAllRunOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator tier for the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of entity for the FindAll run (e.g., companies, people).\").nullable(),\n match_limit: z.number().int().describe(\"Maximum number of candidates to evaluate. If not specified, uses API default.\").nullable().optional(),\n match_conditions: z.array(ParallelIngestFindAllRun_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n});\n\nexport const parallelIngestFindAllRun = action(\"PARALLEL_INGEST_FIND_ALL_RUN\", {\n slug: \"parallel-ingest-find-all-run\",\n name: \"Ingest FindAll Run\",\n description: \"Tool to transform a natural language search objective into a structured FindAll specification. Use when you need to generate a FindAll run spec from a user's natural language description. The generated specification serves as a suggested starting point and can be further customized.\",\n input: ParallelIngestFindAllRunInput,\n output: ParallelIngestFindAllRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EACvO,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC;
|
|
1
|
+
{"version":3,"file":"ingest-find-all-run.mjs","names":[],"sources":["../../src/actions/ingest-find-all-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelIngestFindAllRunInput = z.object({\n objective: z.string().describe(\"Natural language search objective to transform into a structured FindAll specification. Describe what you want to find (e.g., 'Find technology companies in San Francisco with over 100 employees').\"),\n});\nconst ParallelIngestFindAllRun_MatchConditionSchema = z.object({\n name: z.string().describe(\"Identifier for the match condition.\").nullable(),\n description: z.string().describe(\"Description of what must be satisfied for the match.\").nullable(),\n}).passthrough();\nexport const ParallelIngestFindAllRunOutput = z.object({\n generator: z.enum([\"base\", \"core\", \"pro\", \"preview\"]).default(\"core\").describe(\"The generator tier for the FindAll run.\").nullable().optional(),\n objective: z.string().describe(\"Natural language objective of the FindAll run.\").nullable(),\n enrichments: z.array(z.unknown()).describe(\"List of enrichment inputs for the FindAll run.\").nullable().optional(),\n entity_type: z.string().describe(\"Type of entity for the FindAll run (e.g., companies, people).\").nullable(),\n match_limit: z.number().int().describe(\"Maximum number of candidates to evaluate. If not specified, uses API default.\").nullable().optional(),\n match_conditions: z.array(ParallelIngestFindAllRun_MatchConditionSchema).describe(\"List of match conditions for the FindAll run.\"),\n}).passthrough();\n\nexport const parallelIngestFindAllRun = action(\"PARALLEL_INGEST_FIND_ALL_RUN\", {\n slug: \"parallel-ingest-find-all-run\",\n name: \"Ingest FindAll Run\",\n description: \"Tool to transform a natural language search objective into a structured FindAll specification. Use when you need to generate a FindAll run spec from a user's natural language description. The generated specification serves as a suggested starting point and can be further customized.\",\n input: ParallelIngestFindAllRunInput,\n output: ParallelIngestFindAllRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EACvO,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAUf,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,EAAE,OAAO;EACrD,WAAW,EAAE,KAAK;GAAC;GAAQ;GAAQ;GAAO;EAAS,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,kBAAkB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C;CACnI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const ParallelListMonitorEvents_MonitorEventDetailSchema = zod.z.object({
|
|
|
13
13
|
zod.z.number().int(),
|
|
14
14
|
zod.z.number(),
|
|
15
15
|
zod.z.boolean(),
|
|
16
|
-
zod.z.
|
|
16
|
+
zod.z.record(zod.z.string(), zod.z.unknown())
|
|
17
17
|
]).nullable(),
|
|
18
18
|
event_date: zod.z.union([
|
|
19
19
|
zod.z.string(),
|
|
@@ -22,22 +22,22 @@ const ParallelListMonitorEvents_MonitorEventDetailSchema = zod.z.object({
|
|
|
22
22
|
]).nullable().optional(),
|
|
23
23
|
source_urls: zod.z.array(zod.z.string()).describe("List of source URLs associated with the event"),
|
|
24
24
|
event_group_id: zod.z.string().describe("Unique identifier for the event group").nullable()
|
|
25
|
-
}).describe("Detailed event information for a monitor execution.");
|
|
25
|
+
}).passthrough().describe("Detailed event information for a monitor execution.");
|
|
26
26
|
const ParallelListMonitorEvents_MonitorExecutionErrorSchema = zod.z.object({
|
|
27
27
|
id: zod.z.string().describe("Unique identifier for the error event").nullable(),
|
|
28
28
|
date: zod.z.string().describe("ISO timestamp when the error occurred").nullable(),
|
|
29
29
|
type: zod.z.string().describe("Type identifier for the error event").nullable().optional(),
|
|
30
30
|
error: zod.z.string().describe("Error message describing what went wrong").nullable()
|
|
31
|
-
}).describe("Error information for a failed monitor execution.");
|
|
31
|
+
}).passthrough().describe("Error information for a failed monitor execution.");
|
|
32
32
|
const ParallelListMonitorEvents_MonitorCompletionSchema = zod.z.object({
|
|
33
33
|
type: zod.z.string().describe("Type identifier for the completion event").nullable().optional(),
|
|
34
34
|
monitor_ts: zod.z.string().describe("Timestamp when the monitor completed execution").nullable()
|
|
35
|
-
}).describe("Completion information for a monitor execution.");
|
|
35
|
+
}).passthrough().describe("Completion information for a monitor execution.");
|
|
36
36
|
const ParallelListMonitorEventsOutput = zod.z.object({ events: zod.z.array(zod.z.union([
|
|
37
37
|
ParallelListMonitorEvents_MonitorEventDetailSchema,
|
|
38
38
|
ParallelListMonitorEvents_MonitorExecutionErrorSchema,
|
|
39
39
|
ParallelListMonitorEvents_MonitorCompletionSchema
|
|
40
|
-
])).describe("List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.") }).describe("Response model containing monitor execution history.");
|
|
40
|
+
])).describe("List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.") }).passthrough().describe("Response model containing monitor execution history.");
|
|
41
41
|
const parallelListMonitorEvents = require_action.action("PARALLEL_LIST_MONITOR_EVENTS", {
|
|
42
42
|
slug: "parallel-list-monitor-events",
|
|
43
43
|
name: "List Monitor Events",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-monitor-events.cjs","names":["z","action"],"sources":["../../src/actions/list-monitor-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelListMonitorEventsInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve events for.\"),\n lookback_period: z.string().default(\"10d\").describe(\"Lookback period to fetch events from. Sample values: `10d`, `1w`. A minimum of 1 day is supported and with one day increments. Use `d` for days, `w` for weeks.\").optional(),\n}).describe(\"Request model for listing events for a monitor.\");\nconst ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type identifier for the event\").nullable().optional(),\n output: z.string().describe(\"Output generated by the monitor\").nullable(),\n result: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.
|
|
1
|
+
{"version":3,"file":"list-monitor-events.cjs","names":["z","action"],"sources":["../../src/actions/list-monitor-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelListMonitorEventsInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve events for.\"),\n lookback_period: z.string().default(\"10d\").describe(\"Lookback period to fetch events from. Sample values: `10d`, `1w`. A minimum of 1 day is supported and with one day increments. Use `d` for days, `w` for weeks.\").optional(),\n}).describe(\"Request model for listing events for a monitor.\");\nconst ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type identifier for the event\").nullable().optional(),\n output: z.string().describe(\"Output generated by the monitor\").nullable(),\n result: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable(),\n event_date: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs associated with the event\"),\n event_group_id: z.string().describe(\"Unique identifier for the event group\").nullable(),\n}).passthrough().describe(\"Detailed event information for a monitor execution.\");\nconst ParallelListMonitorEvents_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Unique identifier for the error event\").nullable(),\n date: z.string().describe(\"ISO timestamp when the error occurred\").nullable(),\n type: z.string().describe(\"Type identifier for the error event\").nullable().optional(),\n error: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).passthrough().describe(\"Error information for a failed monitor execution.\");\nconst ParallelListMonitorEvents_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type identifier for the completion event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when the monitor completed execution\").nullable(),\n}).passthrough().describe(\"Completion information for a monitor execution.\");\nexport const ParallelListMonitorEventsOutput = z.object({\n events: z.array(z.union([ParallelListMonitorEvents_MonitorEventDetailSchema, ParallelListMonitorEvents_MonitorExecutionErrorSchema, ParallelListMonitorEvents_MonitorCompletionSchema])).describe(\"List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.\"),\n}).passthrough().describe(\"Response model containing monitor execution history.\");\n\nexport const parallelListMonitorEvents = action(\"PARALLEL_LIST_MONITOR_EVENTS\", {\n slug: \"parallel-list-monitor-events\",\n name: \"List Monitor Events\",\n description: \"Tool to list events for a monitor from up to the last 300 event groups. Retrieves events including errors and material changes in reverse chronological order.\",\n input: ParallelListMonitorEventsInput,\n output: ParallelListMonitorEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC1F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;AAClO,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE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AC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;CAAC;CAAoD;CAAuD;AAAiD,CAAC,CAAC,CAAC,CAAC,SAAS,sIAAsI,EAC1U,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,20 +9,20 @@ declare const ParallelListMonitorEventsOutput: z.ZodObject<{
|
|
|
9
9
|
events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
10
10
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
output: z.ZodNullable<z.ZodString>;
|
|
12
|
-
result: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.
|
|
12
|
+
result: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
13
13
|
event_date: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber]>>>;
|
|
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 parallelListMonitorEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
monitor_id: string;
|
|
28
28
|
lookback_period?: string | undefined;
|
|
@@ -9,20 +9,20 @@ declare const ParallelListMonitorEventsOutput: z.ZodObject<{
|
|
|
9
9
|
events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
10
10
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
output: z.ZodNullable<z.ZodString>;
|
|
12
|
-
result: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.
|
|
12
|
+
result: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
13
13
|
event_date: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber]>>>;
|
|
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 parallelListMonitorEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
monitor_id: string;
|
|
28
28
|
lookback_period?: string | undefined;
|
|
@@ -13,7 +13,7 @@ const ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({
|
|
|
13
13
|
z.number().int(),
|
|
14
14
|
z.number(),
|
|
15
15
|
z.boolean(),
|
|
16
|
-
z.
|
|
16
|
+
z.record(z.string(), z.unknown())
|
|
17
17
|
]).nullable(),
|
|
18
18
|
event_date: z.union([
|
|
19
19
|
z.string(),
|
|
@@ -22,17 +22,17 @@ const ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({
|
|
|
22
22
|
]).nullable().optional(),
|
|
23
23
|
source_urls: z.array(z.string()).describe("List of source URLs associated with the event"),
|
|
24
24
|
event_group_id: z.string().describe("Unique identifier for the event group").nullable()
|
|
25
|
-
}).describe("Detailed event information for a monitor execution.");
|
|
25
|
+
}).passthrough().describe("Detailed event information for a monitor execution.");
|
|
26
26
|
const ParallelListMonitorEvents_MonitorExecutionErrorSchema = z.object({
|
|
27
27
|
id: z.string().describe("Unique identifier for the error event").nullable(),
|
|
28
28
|
date: z.string().describe("ISO timestamp when the error occurred").nullable(),
|
|
29
29
|
type: z.string().describe("Type identifier for the error event").nullable().optional(),
|
|
30
30
|
error: z.string().describe("Error message describing what went wrong").nullable()
|
|
31
|
-
}).describe("Error information for a failed monitor execution.");
|
|
31
|
+
}).passthrough().describe("Error information for a failed monitor execution.");
|
|
32
32
|
const ParallelListMonitorEvents_MonitorCompletionSchema = z.object({
|
|
33
33
|
type: z.string().describe("Type identifier for the completion event").nullable().optional(),
|
|
34
34
|
monitor_ts: z.string().describe("Timestamp when the monitor completed execution").nullable()
|
|
35
|
-
}).describe("Completion information for a monitor execution.");
|
|
35
|
+
}).passthrough().describe("Completion information for a monitor execution.");
|
|
36
36
|
const parallelListMonitorEvents = action("PARALLEL_LIST_MONITOR_EVENTS", {
|
|
37
37
|
slug: "parallel-list-monitor-events",
|
|
38
38
|
name: "List Monitor Events",
|
|
@@ -42,7 +42,7 @@ const parallelListMonitorEvents = action("PARALLEL_LIST_MONITOR_EVENTS", {
|
|
|
42
42
|
ParallelListMonitorEvents_MonitorEventDetailSchema,
|
|
43
43
|
ParallelListMonitorEvents_MonitorExecutionErrorSchema,
|
|
44
44
|
ParallelListMonitorEvents_MonitorCompletionSchema
|
|
45
|
-
])).describe("List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.") }).describe("Response model containing monitor execution history.")
|
|
45
|
+
])).describe("List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.") }).passthrough().describe("Response model containing monitor execution history.")
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
48
48
|
export { parallelListMonitorEvents };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-monitor-events.mjs","names":[],"sources":["../../src/actions/list-monitor-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelListMonitorEventsInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve events for.\"),\n lookback_period: z.string().default(\"10d\").describe(\"Lookback period to fetch events from. Sample values: `10d`, `1w`. A minimum of 1 day is supported and with one day increments. Use `d` for days, `w` for weeks.\").optional(),\n}).describe(\"Request model for listing events for a monitor.\");\nconst ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type identifier for the event\").nullable().optional(),\n output: z.string().describe(\"Output generated by the monitor\").nullable(),\n result: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.
|
|
1
|
+
{"version":3,"file":"list-monitor-events.mjs","names":[],"sources":["../../src/actions/list-monitor-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParallelListMonitorEventsInput = z.object({\n monitor_id: z.string().describe(\"Unique identifier of the monitor to retrieve events for.\"),\n lookback_period: z.string().default(\"10d\").describe(\"Lookback period to fetch events from. Sample values: `10d`, `1w`. A minimum of 1 day is supported and with one day increments. Use `d` for days, `w` for weeks.\").optional(),\n}).describe(\"Request model for listing events for a monitor.\");\nconst ParallelListMonitorEvents_MonitorEventDetailSchema = z.object({\n type: z.string().describe(\"Type identifier for the event\").nullable().optional(),\n output: z.string().describe(\"Output generated by the monitor\").nullable(),\n result: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown())]).nullable(),\n event_date: z.union([z.string(), z.number().int(), z.number()]).nullable().optional(),\n source_urls: z.array(z.string()).describe(\"List of source URLs associated with the event\"),\n event_group_id: z.string().describe(\"Unique identifier for the event group\").nullable(),\n}).passthrough().describe(\"Detailed event information for a monitor execution.\");\nconst ParallelListMonitorEvents_MonitorExecutionErrorSchema = z.object({\n id: z.string().describe(\"Unique identifier for the error event\").nullable(),\n date: z.string().describe(\"ISO timestamp when the error occurred\").nullable(),\n type: z.string().describe(\"Type identifier for the error event\").nullable().optional(),\n error: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).passthrough().describe(\"Error information for a failed monitor execution.\");\nconst ParallelListMonitorEvents_MonitorCompletionSchema = z.object({\n type: z.string().describe(\"Type identifier for the completion event\").nullable().optional(),\n monitor_ts: z.string().describe(\"Timestamp when the monitor completed execution\").nullable(),\n}).passthrough().describe(\"Completion information for a monitor execution.\");\nexport const ParallelListMonitorEventsOutput = z.object({\n events: z.array(z.union([ParallelListMonitorEvents_MonitorEventDetailSchema, ParallelListMonitorEvents_MonitorExecutionErrorSchema, ParallelListMonitorEvents_MonitorCompletionSchema])).describe(\"List of execution events for the monitor, including event details, errors, and completions. Returned in reverse chronological order.\"),\n}).passthrough().describe(\"Response model containing monitor execution history.\");\n\nexport const parallelListMonitorEvents = action(\"PARALLEL_LIST_MONITOR_EVENTS\", {\n slug: \"parallel-list-monitor-events\",\n name: \"List Monitor Events\",\n description: \"Tool to list events for a monitor from up to the last 300 event groups. Retrieves events including errors and material changes in reverse chronological order.\",\n input: ParallelListMonitorEventsInput,\n output: ParallelListMonitorEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC1F,iBAAiB,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;AAClO,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C;CACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM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