@keystrokehq/exa 0.1.3 → 0.1.5
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/README.md +7 -108
- package/dist/_virtual/_rolldown/runtime.cjs +23 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/answer.cjs +81 -0
- package/dist/actions/answer.cjs.map +1 -0
- package/dist/actions/answer.d.cts +9 -0
- package/dist/actions/answer.d.cts.map +1 -0
- package/dist/actions/answer.d.mts +9 -0
- package/dist/actions/answer.d.mts.map +1 -0
- package/dist/actions/answer.mjs +80 -0
- package/dist/actions/answer.mjs.map +1 -0
- package/dist/actions/create-import.cjs +41 -0
- package/dist/actions/create-import.cjs.map +1 -0
- package/dist/actions/create-import.d.cts +9 -0
- package/dist/actions/create-import.d.cts.map +1 -0
- package/dist/actions/create-import.d.mts +9 -0
- package/dist/actions/create-import.d.mts.map +1 -0
- package/dist/actions/create-import.mjs +40 -0
- package/dist/actions/create-import.mjs.map +1 -0
- package/dist/actions/create-monitor.cjs +81 -0
- package/dist/actions/create-monitor.cjs.map +1 -0
- package/dist/actions/create-monitor.d.cts +9 -0
- package/dist/actions/create-monitor.d.cts.map +1 -0
- package/dist/actions/create-monitor.d.mts +9 -0
- package/dist/actions/create-monitor.d.mts.map +1 -0
- package/dist/actions/create-monitor.mjs +80 -0
- package/dist/actions/create-monitor.mjs.map +1 -0
- package/dist/actions/create-research.cjs +45 -0
- package/dist/actions/create-research.cjs.map +1 -0
- package/dist/actions/create-research.d.cts +9 -0
- package/dist/actions/create-research.d.cts.map +1 -0
- package/dist/actions/create-research.d.mts +9 -0
- package/dist/actions/create-research.d.mts.map +1 -0
- package/dist/actions/create-research.mjs +44 -0
- package/dist/actions/create-research.mjs.map +1 -0
- package/dist/actions/create-webset.cjs +201 -0
- package/dist/actions/create-webset.cjs.map +1 -0
- package/dist/actions/create-webset.d.cts +9 -0
- package/dist/actions/create-webset.d.cts.map +1 -0
- package/dist/actions/create-webset.d.mts +9 -0
- package/dist/actions/create-webset.d.mts.map +1 -0
- package/dist/actions/create-webset.mjs +200 -0
- package/dist/actions/create-webset.mjs.map +1 -0
- package/dist/actions/delete-import.cjs +31 -0
- package/dist/actions/delete-import.cjs.map +1 -0
- package/dist/actions/delete-import.d.cts +9 -0
- package/dist/actions/delete-import.d.cts.map +1 -0
- package/dist/actions/delete-import.d.mts +9 -0
- package/dist/actions/delete-import.d.mts.map +1 -0
- package/dist/actions/delete-import.mjs +30 -0
- package/dist/actions/delete-import.mjs.map +1 -0
- package/dist/actions/delete-webset.cjs +153 -0
- package/dist/actions/delete-webset.cjs.map +1 -0
- package/dist/actions/delete-webset.d.cts +9 -0
- package/dist/actions/delete-webset.d.cts.map +1 -0
- package/dist/actions/delete-webset.d.mts +9 -0
- package/dist/actions/delete-webset.d.mts.map +1 -0
- package/dist/actions/delete-webset.mjs +152 -0
- package/dist/actions/delete-webset.mjs.map +1 -0
- package/dist/actions/get-api-key.cjs +21 -0
- package/dist/actions/get-api-key.cjs.map +1 -0
- package/dist/actions/get-api-key.d.cts +9 -0
- package/dist/actions/get-api-key.d.cts.map +1 -0
- package/dist/actions/get-api-key.d.mts +9 -0
- package/dist/actions/get-api-key.d.mts.map +1 -0
- package/dist/actions/get-api-key.mjs +18 -0
- package/dist/actions/get-api-key.mjs.map +1 -0
- package/dist/actions/get-contents-action.cjs +75 -0
- package/dist/actions/get-contents-action.cjs.map +1 -0
- package/dist/actions/get-contents-action.d.cts +9 -0
- package/dist/actions/get-contents-action.d.cts.map +1 -0
- package/dist/actions/get-contents-action.d.mts +9 -0
- package/dist/actions/get-contents-action.d.mts.map +1 -0
- package/dist/actions/get-contents-action.mjs +74 -0
- package/dist/actions/get-contents-action.mjs.map +1 -0
- package/dist/actions/get-event.cjs +140 -0
- package/dist/actions/get-event.cjs.map +1 -0
- package/dist/actions/get-event.d.cts +9 -0
- package/dist/actions/get-event.d.cts.map +1 -0
- package/dist/actions/get-event.d.mts +9 -0
- package/dist/actions/get-event.d.mts.map +1 -0
- package/dist/actions/get-event.mjs +139 -0
- package/dist/actions/get-event.mjs.map +1 -0
- package/dist/actions/get-research.cjs +47 -0
- package/dist/actions/get-research.cjs.map +1 -0
- package/dist/actions/get-research.d.cts +9 -0
- package/dist/actions/get-research.d.cts.map +1 -0
- package/dist/actions/get-research.d.mts +9 -0
- package/dist/actions/get-research.d.mts.map +1 -0
- package/dist/actions/get-research.mjs +46 -0
- package/dist/actions/get-research.mjs.map +1 -0
- package/dist/actions/index.cjs +34 -16
- package/dist/actions/index.d.cts +18 -2
- package/dist/actions/index.d.mts +18 -2
- package/dist/actions/index.mjs +18 -2
- package/dist/actions/list-events.cjs +32 -0
- package/dist/actions/list-events.cjs.map +1 -0
- package/dist/actions/list-events.d.cts +9 -0
- package/dist/actions/list-events.d.cts.map +1 -0
- package/dist/actions/list-events.d.mts +9 -0
- package/dist/actions/list-events.d.mts.map +1 -0
- package/dist/actions/list-events.mjs +31 -0
- package/dist/actions/list-events.mjs.map +1 -0
- package/dist/actions/list-imports.cjs +54 -0
- package/dist/actions/list-imports.cjs.map +1 -0
- package/dist/actions/list-imports.d.cts +9 -0
- package/dist/actions/list-imports.d.cts.map +1 -0
- package/dist/actions/list-imports.d.mts +9 -0
- package/dist/actions/list-imports.d.mts.map +1 -0
- package/dist/actions/list-imports.mjs +53 -0
- package/dist/actions/list-imports.mjs.map +1 -0
- package/dist/actions/list-research.cjs +49 -0
- package/dist/actions/list-research.cjs.map +1 -0
- package/dist/actions/list-research.d.cts +9 -0
- package/dist/actions/list-research.d.cts.map +1 -0
- package/dist/actions/list-research.d.mts +9 -0
- package/dist/actions/list-research.d.mts.map +1 -0
- package/dist/actions/list-research.mjs +48 -0
- package/dist/actions/list-research.mjs.map +1 -0
- package/dist/actions/list-webhooks.cjs +34 -0
- package/dist/actions/list-webhooks.cjs.map +1 -0
- package/dist/actions/list-webhooks.d.cts +9 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +9 -0
- package/dist/actions/list-webhooks.d.mts.map +1 -0
- package/dist/actions/list-webhooks.mjs +33 -0
- package/dist/actions/list-webhooks.mjs.map +1 -0
- package/dist/actions/search.cjs +145 -0
- package/dist/actions/search.cjs.map +1 -0
- package/dist/actions/search.d.cts +9 -0
- package/dist/actions/search.d.cts.map +1 -0
- package/dist/actions/search.d.mts +9 -0
- package/dist/actions/search.d.mts.map +1 -0
- package/dist/actions/search.mjs +144 -0
- package/dist/actions/search.mjs.map +1 -0
- package/dist/actions/update-import.cjs +35 -0
- package/dist/actions/update-import.cjs.map +1 -0
- package/dist/actions/update-import.d.cts +9 -0
- package/dist/actions/update-import.d.cts.map +1 -0
- package/dist/actions/update-import.d.mts +9 -0
- package/dist/actions/update-import.d.mts.map +1 -0
- package/dist/actions/update-import.mjs +34 -0
- package/dist/actions/update-import.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/client.cjs +30 -2
- package/dist/client.cjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +38 -14
- package/dist/index.d.cts +20 -17
- package/dist/index.d.mts +20 -17
- package/dist/index.mjs +21 -5
- package/package.json +13 -13
- package/dist/actions-CJq1Nyt_.mjs +0 -349
- package/dist/actions-CJq1Nyt_.mjs.map +0 -1
- package/dist/actions-LoQVlbiT.cjs +0 -438
- package/dist/actions-LoQVlbiT.cjs.map +0 -1
- package/dist/app-CBLUruR0.mjs +0 -15
- package/dist/app-CBLUruR0.mjs.map +0 -1
- package/dist/app-DMujvH6I.cjs +0 -26
- package/dist/app-DMujvH6I.cjs.map +0 -1
- package/dist/client-DlwHA71b.cjs +0 -56
- package/dist/client-DlwHA71b.cjs.map +0 -1
- package/dist/index-BwCGHs6v.d.cts +0 -357
- package/dist/index-BwCGHs6v.d.cts.map +0 -1
- package/dist/index-BwCGHs6v.d.mts +0 -357
- package/dist/index-BwCGHs6v.d.mts.map +0 -1
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.mts.map +0 -1
- package/dist/mcp.cjs +0 -57
- package/dist/mcp.cjs.map +0 -1
- package/dist/mcp.d.cts +0 -16
- package/dist/mcp.d.cts.map +0 -1
- package/dist/mcp.d.mts +0 -16
- package/dist/mcp.d.mts.map +0 -1
- package/dist/mcp.mjs +0 -54
- package/dist/mcp.mjs.map +0 -1
package/dist/actions/index.d.cts
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { exaAnswer } from "./answer.cjs";
|
|
2
|
+
import { exaCreateImport } from "./create-import.cjs";
|
|
3
|
+
import { exaCreateMonitor } from "./create-monitor.cjs";
|
|
4
|
+
import { exaCreateResearch } from "./create-research.cjs";
|
|
5
|
+
import { exaCreateWebset } from "./create-webset.cjs";
|
|
6
|
+
import { exaDeleteImport } from "./delete-import.cjs";
|
|
7
|
+
import { exaDeleteWebset } from "./delete-webset.cjs";
|
|
8
|
+
import { exaGetApiKey } from "./get-api-key.cjs";
|
|
9
|
+
import { exaGetContentsAction } from "./get-contents-action.cjs";
|
|
10
|
+
import { exaGetEvent } from "./get-event.cjs";
|
|
11
|
+
import { exaGetResearch } from "./get-research.cjs";
|
|
12
|
+
import { exaListEvents } from "./list-events.cjs";
|
|
13
|
+
import { exaListImports } from "./list-imports.cjs";
|
|
14
|
+
import { exaListResearch } from "./list-research.cjs";
|
|
15
|
+
import { exaListWebhooks } from "./list-webhooks.cjs";
|
|
16
|
+
import { exaSearch } from "./search.cjs";
|
|
17
|
+
import { exaUpdateImport } from "./update-import.cjs";
|
|
18
|
+
export { exaAnswer, exaCreateImport, exaCreateMonitor, exaCreateResearch, exaCreateWebset, exaDeleteImport, exaDeleteWebset, exaGetApiKey, exaGetContentsAction, exaGetEvent, exaGetResearch, exaListEvents, exaListImports, exaListResearch, exaListWebhooks, exaSearch, exaUpdateImport };
|
package/dist/actions/index.d.mts
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { exaAnswer } from "./answer.mjs";
|
|
2
|
+
import { exaCreateImport } from "./create-import.mjs";
|
|
3
|
+
import { exaCreateMonitor } from "./create-monitor.mjs";
|
|
4
|
+
import { exaCreateResearch } from "./create-research.mjs";
|
|
5
|
+
import { exaCreateWebset } from "./create-webset.mjs";
|
|
6
|
+
import { exaDeleteImport } from "./delete-import.mjs";
|
|
7
|
+
import { exaDeleteWebset } from "./delete-webset.mjs";
|
|
8
|
+
import { exaGetApiKey } from "./get-api-key.mjs";
|
|
9
|
+
import { exaGetContentsAction } from "./get-contents-action.mjs";
|
|
10
|
+
import { exaGetEvent } from "./get-event.mjs";
|
|
11
|
+
import { exaGetResearch } from "./get-research.mjs";
|
|
12
|
+
import { exaListEvents } from "./list-events.mjs";
|
|
13
|
+
import { exaListImports } from "./list-imports.mjs";
|
|
14
|
+
import { exaListResearch } from "./list-research.mjs";
|
|
15
|
+
import { exaListWebhooks } from "./list-webhooks.mjs";
|
|
16
|
+
import { exaSearch } from "./search.mjs";
|
|
17
|
+
import { exaUpdateImport } from "./update-import.mjs";
|
|
18
|
+
export { exaAnswer, exaCreateImport, exaCreateMonitor, exaCreateResearch, exaCreateWebset, exaDeleteImport, exaDeleteWebset, exaGetApiKey, exaGetContentsAction, exaGetEvent, exaGetResearch, exaListEvents, exaListImports, exaListResearch, exaListWebhooks, exaSearch, exaUpdateImport };
|
package/dist/actions/index.mjs
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { exaAnswer } from "./answer.mjs";
|
|
2
|
+
import { exaCreateImport } from "./create-import.mjs";
|
|
3
|
+
import { exaCreateMonitor } from "./create-monitor.mjs";
|
|
4
|
+
import { exaCreateResearch } from "./create-research.mjs";
|
|
5
|
+
import { exaCreateWebset } from "./create-webset.mjs";
|
|
6
|
+
import { exaDeleteImport } from "./delete-import.mjs";
|
|
7
|
+
import { exaDeleteWebset } from "./delete-webset.mjs";
|
|
8
|
+
import { exaGetApiKey } from "./get-api-key.mjs";
|
|
9
|
+
import { exaGetContentsAction } from "./get-contents-action.mjs";
|
|
10
|
+
import { exaGetEvent } from "./get-event.mjs";
|
|
11
|
+
import { exaGetResearch } from "./get-research.mjs";
|
|
12
|
+
import { exaListEvents } from "./list-events.mjs";
|
|
13
|
+
import { exaListImports } from "./list-imports.mjs";
|
|
14
|
+
import { exaListResearch } from "./list-research.mjs";
|
|
15
|
+
import { exaListWebhooks } from "./list-webhooks.mjs";
|
|
16
|
+
import { exaSearch } from "./search.mjs";
|
|
17
|
+
import { exaUpdateImport } from "./update-import.mjs";
|
|
18
|
+
export { exaAnswer, exaCreateImport, exaCreateMonitor, exaCreateResearch, exaCreateWebset, exaDeleteImport, exaDeleteWebset, exaGetApiKey, exaGetContentsAction, exaGetEvent, exaGetResearch, exaListEvents, exaListImports, exaListResearch, exaListWebhooks, exaSearch, exaUpdateImport };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-events.ts
|
|
4
|
+
const ExaListEventsInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().default(25).describe("The number of results to return (1–200, default 25).").optional(),
|
|
6
|
+
types: zod.z.array(zod.z.string()).describe("Filter events by one or more event types.").optional(),
|
|
7
|
+
cursor: zod.z.string().describe("The cursor to paginate through the results.").optional(),
|
|
8
|
+
createdAfter: zod.z.string().describe("Filter events created at or after this UTC timestamp (inclusive). Must be a valid ISO 8601 datetime string.").optional(),
|
|
9
|
+
createdBefore: zod.z.string().describe("Filter events created at or before this UTC timestamp (inclusive). Must be a valid ISO 8601 datetime string.").optional()
|
|
10
|
+
}).describe("Parameters to list all events in the system.");
|
|
11
|
+
const ExaListEvents_EventItemSchema = zod.z.object({
|
|
12
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Detailed payload of the event."),
|
|
13
|
+
type: zod.z.string().describe("Type of the event, e.g., 'webset.created'."),
|
|
14
|
+
object: zod.z.string().describe("Type of the object, always 'event'."),
|
|
15
|
+
createdAt: zod.z.string().describe("Timestamp when the event was created.")
|
|
16
|
+
}).describe("One event record.");
|
|
17
|
+
const ExaListEventsOutput = zod.z.object({
|
|
18
|
+
data: zod.z.array(ExaListEvents_EventItemSchema).describe("The list of event records."),
|
|
19
|
+
hasMore: zod.z.boolean().describe("Whether there are more results to paginate through."),
|
|
20
|
+
nextCursor: zod.z.string().describe("The cursor for the next page of results, if any.").optional()
|
|
21
|
+
}).describe("Response model for listing events.");
|
|
22
|
+
const exaListEvents = require_action.action("EXA_LIST_EVENTS", {
|
|
23
|
+
slug: "exa-list-events",
|
|
24
|
+
name: "List events",
|
|
25
|
+
description: "Tool to list all events that have occurred in the system. Use when you need to paginate through the event history.",
|
|
26
|
+
input: ExaListEventsInput,
|
|
27
|
+
output: ExaListEventsOutput
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.exaListEvents = exaListEvents;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=list-events.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-events.cjs","names":["z","action"],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ExaListEventsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(25).describe(\"The number of results to return (1–200, default 25).\").optional(),\n types: z.array(z.string()).describe(\"Filter events by one or more event types.\").optional(),\n cursor: z.string().describe(\"The cursor to paginate through the results.\").optional(),\n createdAfter: z.string().describe(\"Filter events created at or after this UTC timestamp (inclusive). Must be a valid ISO 8601 datetime string.\").optional(),\n createdBefore: z.string().describe(\"Filter events created at or before this UTC timestamp (inclusive). Must be a valid ISO 8601 datetime string.\").optional(),\n}).describe(\"Parameters to list all events in the system.\");\nconst ExaListEvents_EventItemSchema: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Detailed payload of the event.\"),\n type: z.string().describe(\"Type of the event, e.g., 'webset.created'.\"),\n object: z.string().describe(\"Type of the object, always 'event'.\"),\n createdAt: z.string().describe(\"Timestamp when the event was created.\"),\n}).describe(\"One event record.\");\nexport const ExaListEventsOutput: z.ZodTypeAny = z.object({\n data: z.array(ExaListEvents_EventItemSchema).describe(\"The list of event records.\"),\n hasMore: z.boolean().describe(\"Whether there are more results to paginate through.\"),\n nextCursor: z.string().describe(\"The cursor for the next page of results, if any.\").optional(),\n}).describe(\"Response model for listing events.\");\n\nexport const exaListEvents = action(\"EXA_LIST_EVENTS\", {\n slug: \"exa-list-events\",\n name: \"List events\",\n description: \"Tool to list all events that have occurred in the system. Use when you need to paginate through the event history.\",\n input: ExaListEventsInput,\n output: ExaListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,SAAS,sDAAsD,EAAE,SAAS;CAC9G,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,EAAE,SAAS,2CAA2C,EAAE,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,EAAE,SAAS,6CAA6C,EAAE,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,EAAE,SAAS,6GAA6G,EAAE,SAAS;CAC1J,eAAeA,IAAAA,EAAE,OAAO,EAAE,SAAS,8GAA8G,EAAE,SAAS;AAC9J,CAAC,EAAE,SAAS,8CAA8C;AAC1D,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,EAAE,SAAS,gCAAgC;CACjF,MAAMA,IAAAA,EAAE,OAAO,EAAE,SAAS,4CAA4C;CACtE,QAAQA,IAAAA,EAAE,OAAO,EAAE,SAAS,qCAAqC;CACjE,WAAWA,IAAAA,EAAE,OAAO,EAAE,SAAS,uCAAuC;AACxE,CAAC,EAAE,SAAS,mBAAmB;AAC/B,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,MAAM,6BAA6B,EAAE,SAAS,4BAA4B;CAClF,SAASA,IAAAA,EAAE,QAAQ,EAAE,SAAS,qDAAqD;CACnF,YAAYA,IAAAA,EAAE,OAAO,EAAE,SAAS,kDAAkD,EAAE,SAAS;AAC/F,CAAC,EAAE,SAAS,oCAAoC;AAEhD,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-events.d.ts
|
|
4
|
+
declare const ExaListEventsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ExaListEventsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const exaListEvents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { exaListEvents };
|
|
9
|
+
//# sourceMappingURL=list-events.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-events.d.cts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAMwB;AAAA,cAO9C,mBAAA,EAAqB,CAAA,CAAE,UAIa;AAAA,cAEpC,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-events.d.ts
|
|
4
|
+
declare const ExaListEventsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ExaListEventsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const exaListEvents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { exaListEvents };
|
|
9
|
+
//# sourceMappingURL=list-events.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-events.d.mts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAMwB;AAAA,cAO9C,mBAAA,EAAqB,CAAA,CAAE,UAIa;AAAA,cAEpC,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-events.ts
|
|
4
|
+
const ExaListEventsInput = z.object({
|
|
5
|
+
limit: z.number().int().default(25).describe("The number of results to return (1–200, default 25).").optional(),
|
|
6
|
+
types: z.array(z.string()).describe("Filter events by one or more event types.").optional(),
|
|
7
|
+
cursor: z.string().describe("The cursor to paginate through the results.").optional(),
|
|
8
|
+
createdAfter: z.string().describe("Filter events created at or after this UTC timestamp (inclusive). Must be a valid ISO 8601 datetime string.").optional(),
|
|
9
|
+
createdBefore: z.string().describe("Filter events created at or before this UTC timestamp (inclusive). Must be a valid ISO 8601 datetime string.").optional()
|
|
10
|
+
}).describe("Parameters to list all events in the system.");
|
|
11
|
+
const ExaListEvents_EventItemSchema = z.object({
|
|
12
|
+
data: z.record(z.string(), z.unknown()).describe("Detailed payload of the event."),
|
|
13
|
+
type: z.string().describe("Type of the event, e.g., 'webset.created'."),
|
|
14
|
+
object: z.string().describe("Type of the object, always 'event'."),
|
|
15
|
+
createdAt: z.string().describe("Timestamp when the event was created.")
|
|
16
|
+
}).describe("One event record.");
|
|
17
|
+
const exaListEvents = action("EXA_LIST_EVENTS", {
|
|
18
|
+
slug: "exa-list-events",
|
|
19
|
+
name: "List events",
|
|
20
|
+
description: "Tool to list all events that have occurred in the system. Use when you need to paginate through the event history.",
|
|
21
|
+
input: ExaListEventsInput,
|
|
22
|
+
output: z.object({
|
|
23
|
+
data: z.array(ExaListEvents_EventItemSchema).describe("The list of event records."),
|
|
24
|
+
hasMore: z.boolean().describe("Whether there are more results to paginate through."),
|
|
25
|
+
nextCursor: z.string().describe("The cursor for the next page of results, if any.").optional()
|
|
26
|
+
}).describe("Response model for listing events.")
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { exaListEvents };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=list-events.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-events.mjs","names":[],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ExaListEventsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(25).describe(\"The number of results to return (1–200, default 25).\").optional(),\n types: z.array(z.string()).describe(\"Filter events by one or more event types.\").optional(),\n cursor: z.string().describe(\"The cursor to paginate through the results.\").optional(),\n createdAfter: z.string().describe(\"Filter events created at or after this UTC timestamp (inclusive). Must be a valid ISO 8601 datetime string.\").optional(),\n createdBefore: z.string().describe(\"Filter events created at or before this UTC timestamp (inclusive). Must be a valid ISO 8601 datetime string.\").optional(),\n}).describe(\"Parameters to list all events in the system.\");\nconst ExaListEvents_EventItemSchema: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Detailed payload of the event.\"),\n type: z.string().describe(\"Type of the event, e.g., 'webset.created'.\"),\n object: z.string().describe(\"Type of the object, always 'event'.\"),\n createdAt: z.string().describe(\"Timestamp when the event was created.\"),\n}).describe(\"One event record.\");\nexport const ExaListEventsOutput: z.ZodTypeAny = z.object({\n data: z.array(ExaListEvents_EventItemSchema).describe(\"The list of event records.\"),\n hasMore: z.boolean().describe(\"Whether there are more results to paginate through.\"),\n nextCursor: z.string().describe(\"The cursor for the next page of results, if any.\").optional(),\n}).describe(\"Response model for listing events.\");\n\nexport const exaListEvents = action(\"EXA_LIST_EVENTS\", {\n slug: \"exa-list-events\",\n name: \"List events\",\n description: \"Tool to list all events that have occurred in the system. Use when you need to paginate through the event history.\",\n input: ExaListEventsInput,\n output: ExaListEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,SAAS,sDAAsD,EAAE,SAAS;CAC9G,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,SAAS,2CAA2C,EAAE,SAAS;CAC1F,QAAQ,EAAE,OAAO,EAAE,SAAS,6CAA6C,EAAE,SAAS;CACpF,cAAc,EAAE,OAAO,EAAE,SAAS,6GAA6G,EAAE,SAAS;CAC1J,eAAe,EAAE,OAAO,EAAE,SAAS,8GAA8G,EAAE,SAAS;AAC9J,CAAC,EAAE,SAAS,8CAA8C;AAC1D,MAAM,gCAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,EAAE,SAAS,gCAAgC;CACjF,MAAM,EAAE,OAAO,EAAE,SAAS,4CAA4C;CACtE,QAAQ,EAAE,OAAO,EAAE,SAAS,qCAAqC;CACjE,WAAW,EAAE,OAAO,EAAE,SAAS,uCAAuC;AACxE,CAAC,EAAE,SAAS,mBAAmB;AAO/B,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+C,EAAE,OAAO;EACxD,MAAM,EAAE,MAAM,6BAA6B,EAAE,SAAS,4BAA4B;EAClF,SAAS,EAAE,QAAQ,EAAE,SAAS,qDAAqD;EACnF,YAAY,EAAE,OAAO,EAAE,SAAS,kDAAkD,EAAE,SAAS;CAC/F,CAAC,EAAE,SAAS,oCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-imports.ts
|
|
4
|
+
const ExaListImportsInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().default(25).describe("The number of results to return (1–200, default 25).").optional(),
|
|
6
|
+
cursor: zod.z.string().describe("The cursor to paginate through the results.").optional()
|
|
7
|
+
}).describe("Parameters for listing imports in a Webset.");
|
|
8
|
+
const ExaListImports_ImportEntitySchema = zod.z.object({ type: zod.z.enum([
|
|
9
|
+
"company",
|
|
10
|
+
"person",
|
|
11
|
+
"article",
|
|
12
|
+
"research_paper",
|
|
13
|
+
"custom"
|
|
14
|
+
]).describe("The type of entity the import contains.") }).describe("The type of entity contained in the import.");
|
|
15
|
+
const ExaListImports_ImportItemSchema = zod.z.object({
|
|
16
|
+
id: zod.z.string().describe("The unique identifier for the import."),
|
|
17
|
+
count: zod.z.number().int().describe("The number of entities in the import."),
|
|
18
|
+
title: zod.z.string().describe("The title of the import."),
|
|
19
|
+
entity: ExaListImports_ImportEntitySchema.nullable(),
|
|
20
|
+
format: zod.z.enum(["csv", "webset"]).describe("The format of the import."),
|
|
21
|
+
object: zod.z.string().describe("The object type."),
|
|
22
|
+
status: zod.z.enum([
|
|
23
|
+
"pending",
|
|
24
|
+
"processing",
|
|
25
|
+
"completed",
|
|
26
|
+
"failed"
|
|
27
|
+
]).describe("The status of the import."),
|
|
28
|
+
failedAt: zod.z.string().describe("When the import failed, if applicable.").optional(),
|
|
29
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Key-value pairs associated with this import."),
|
|
30
|
+
createdAt: zod.z.string().describe("When the import was created."),
|
|
31
|
+
updatedAt: zod.z.string().describe("When the import was last updated."),
|
|
32
|
+
failedReason: zod.z.enum([
|
|
33
|
+
"invalid_format",
|
|
34
|
+
"invalid_file_content",
|
|
35
|
+
"missing_identifier"
|
|
36
|
+
]).describe("The reason the import failed, if status is failed.").optional(),
|
|
37
|
+
failedMessage: zod.z.string().describe("A human-readable message for the import failure, if any.").optional()
|
|
38
|
+
}).describe("One import job record.");
|
|
39
|
+
const ExaListImportsOutput = zod.z.object({
|
|
40
|
+
data: zod.z.array(ExaListImports_ImportItemSchema).describe("The list of import records."),
|
|
41
|
+
hasMore: zod.z.boolean().describe("Whether there are more results to paginate through."),
|
|
42
|
+
nextCursor: zod.z.string().describe("The cursor for the next page of results, if any.").optional()
|
|
43
|
+
}).describe("Response model for listing imports in a Webset.");
|
|
44
|
+
const exaListImports = require_action.action("EXA_LIST_IMPORTS", {
|
|
45
|
+
slug: "exa-list-imports",
|
|
46
|
+
name: "List imports",
|
|
47
|
+
description: "Tool to list all imports for the Webset. Use when you need to paginate through and monitor import jobs.",
|
|
48
|
+
input: ExaListImportsInput,
|
|
49
|
+
output: ExaListImportsOutput
|
|
50
|
+
});
|
|
51
|
+
//#endregion
|
|
52
|
+
exports.exaListImports = exaListImports;
|
|
53
|
+
|
|
54
|
+
//# sourceMappingURL=list-imports.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-imports.cjs","names":["z","action"],"sources":["../../src/actions/list-imports.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ExaListImportsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(25).describe(\"The number of results to return (1–200, default 25).\").optional(),\n cursor: z.string().describe(\"The cursor to paginate through the results.\").optional(),\n}).describe(\"Parameters for listing imports in a Webset.\");\nconst ExaListImports_ImportEntitySchema: z.ZodTypeAny = z.object({\n type: z.enum([\"company\", \"person\", \"article\", \"research_paper\", \"custom\"]).describe(\"The type of entity the import contains.\"),\n}).describe(\"The type of entity contained in the import.\");\nconst ExaListImports_ImportItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the import.\"),\n count: z.number().int().describe(\"The number of entities in the import.\"),\n title: z.string().describe(\"The title of the import.\"),\n entity: ExaListImports_ImportEntitySchema.nullable(),\n format: z.enum([\"csv\", \"webset\"]).describe(\"The format of the import.\"),\n object: z.string().describe(\"The object type.\"),\n status: z.enum([\"pending\", \"processing\", \"completed\", \"failed\"]).describe(\"The status of the import.\"),\n failedAt: z.string().describe(\"When the import failed, if applicable.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs associated with this import.\"),\n createdAt: z.string().describe(\"When the import was created.\"),\n updatedAt: z.string().describe(\"When the import was last updated.\"),\n failedReason: z.enum([\"invalid_format\", \"invalid_file_content\", \"missing_identifier\"]).describe(\"The reason the import failed, if status is failed.\").optional(),\n failedMessage: z.string().describe(\"A human-readable message for the import failure, if any.\").optional(),\n}).describe(\"One import job record.\");\nexport const ExaListImportsOutput: z.ZodTypeAny = z.object({\n data: z.array(ExaListImports_ImportItemSchema).describe(\"The list of import records.\"),\n hasMore: z.boolean().describe(\"Whether there are more results to paginate through.\"),\n nextCursor: z.string().describe(\"The cursor for the next page of results, if any.\").optional(),\n}).describe(\"Response model for listing imports in a Webset.\");\n\nexport const exaListImports = action(\"EXA_LIST_IMPORTS\", {\n slug: \"exa-list-imports\",\n name: \"List imports\",\n description: \"Tool to list all imports for the Webset. Use when you need to paginate through and monitor import jobs.\",\n input: ExaListImportsInput,\n output: ExaListImportsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,SAAS,sDAAsD,EAAE,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,EAAE,SAAS,6CAA6C,EAAE,SAAS;AACtF,CAAC,EAAE,SAAS,6CAA6C;AACzD,MAAM,oCAAkDA,IAAAA,EAAE,OAAO,EAC/D,MAAMA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAU;CAAW;CAAkB;AAAQ,CAAC,EAAE,SAAS,yCAAyC,EAC/H,CAAC,EAAE,SAAS,6CAA6C;AACzD,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,EAAE,SAAS,uCAAuC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,uCAAuC;CACxE,OAAOA,IAAAA,EAAE,OAAO,EAAE,SAAS,0BAA0B;CACrD,QAAQ,kCAAkC,SAAS;CACnD,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,QAAQ,CAAC,EAAE,SAAS,2BAA2B;CACtE,QAAQA,IAAAA,EAAE,OAAO,EAAE,SAAS,kBAAkB;CAC9C,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAc;EAAa;CAAQ,CAAC,EAAE,SAAS,2BAA2B;CACrG,UAAUA,IAAAA,EAAE,OAAO,EAAE,SAAS,wCAAwC,EAAE,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,EAAE,SAAS,8CAA8C;CACnG,WAAWA,IAAAA,EAAE,OAAO,EAAE,SAAS,8BAA8B;CAC7D,WAAWA,IAAAA,EAAE,OAAO,EAAE,SAAS,mCAAmC;CAClE,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAkB;EAAwB;CAAoB,CAAC,EAAE,SAAS,oDAAoD,EAAE,SAAS;CAC/J,eAAeA,IAAAA,EAAE,OAAO,EAAE,SAAS,0DAA0D,EAAE,SAAS;AAC1G,CAAC,EAAE,SAAS,wBAAwB;AACpC,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,MAAM,+BAA+B,EAAE,SAAS,6BAA6B;CACrF,SAASA,IAAAA,EAAE,QAAQ,EAAE,SAAS,qDAAqD;CACnF,YAAYA,IAAAA,EAAE,OAAO,EAAE,SAAS,kDAAkD,EAAE,SAAS;AAC/F,CAAC,EAAE,SAAS,iDAAiD;AAE7D,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-imports.d.ts
|
|
4
|
+
declare const ExaListImportsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ExaListImportsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const exaListImports: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { exaListImports };
|
|
9
|
+
//# sourceMappingURL=list-imports.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-imports.d.cts","names":[],"sources":["../../src/actions/list-imports.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAGsB;AAAA,cAmB7C,oBAAA,EAAsB,CAAA,CAAE,UAIyB;AAAA,cAEjD,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-imports.d.ts
|
|
4
|
+
declare const ExaListImportsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ExaListImportsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const exaListImports: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { exaListImports };
|
|
9
|
+
//# sourceMappingURL=list-imports.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-imports.d.mts","names":[],"sources":["../../src/actions/list-imports.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAGsB;AAAA,cAmB7C,oBAAA,EAAsB,CAAA,CAAE,UAIyB;AAAA,cAEjD,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-imports.ts
|
|
4
|
+
const ExaListImportsInput = z.object({
|
|
5
|
+
limit: z.number().int().default(25).describe("The number of results to return (1–200, default 25).").optional(),
|
|
6
|
+
cursor: z.string().describe("The cursor to paginate through the results.").optional()
|
|
7
|
+
}).describe("Parameters for listing imports in a Webset.");
|
|
8
|
+
const ExaListImports_ImportEntitySchema = z.object({ type: z.enum([
|
|
9
|
+
"company",
|
|
10
|
+
"person",
|
|
11
|
+
"article",
|
|
12
|
+
"research_paper",
|
|
13
|
+
"custom"
|
|
14
|
+
]).describe("The type of entity the import contains.") }).describe("The type of entity contained in the import.");
|
|
15
|
+
const ExaListImports_ImportItemSchema = z.object({
|
|
16
|
+
id: z.string().describe("The unique identifier for the import."),
|
|
17
|
+
count: z.number().int().describe("The number of entities in the import."),
|
|
18
|
+
title: z.string().describe("The title of the import."),
|
|
19
|
+
entity: ExaListImports_ImportEntitySchema.nullable(),
|
|
20
|
+
format: z.enum(["csv", "webset"]).describe("The format of the import."),
|
|
21
|
+
object: z.string().describe("The object type."),
|
|
22
|
+
status: z.enum([
|
|
23
|
+
"pending",
|
|
24
|
+
"processing",
|
|
25
|
+
"completed",
|
|
26
|
+
"failed"
|
|
27
|
+
]).describe("The status of the import."),
|
|
28
|
+
failedAt: z.string().describe("When the import failed, if applicable.").optional(),
|
|
29
|
+
metadata: z.record(z.string(), z.unknown()).describe("Key-value pairs associated with this import."),
|
|
30
|
+
createdAt: z.string().describe("When the import was created."),
|
|
31
|
+
updatedAt: z.string().describe("When the import was last updated."),
|
|
32
|
+
failedReason: z.enum([
|
|
33
|
+
"invalid_format",
|
|
34
|
+
"invalid_file_content",
|
|
35
|
+
"missing_identifier"
|
|
36
|
+
]).describe("The reason the import failed, if status is failed.").optional(),
|
|
37
|
+
failedMessage: z.string().describe("A human-readable message for the import failure, if any.").optional()
|
|
38
|
+
}).describe("One import job record.");
|
|
39
|
+
const exaListImports = action("EXA_LIST_IMPORTS", {
|
|
40
|
+
slug: "exa-list-imports",
|
|
41
|
+
name: "List imports",
|
|
42
|
+
description: "Tool to list all imports for the Webset. Use when you need to paginate through and monitor import jobs.",
|
|
43
|
+
input: ExaListImportsInput,
|
|
44
|
+
output: z.object({
|
|
45
|
+
data: z.array(ExaListImports_ImportItemSchema).describe("The list of import records."),
|
|
46
|
+
hasMore: z.boolean().describe("Whether there are more results to paginate through."),
|
|
47
|
+
nextCursor: z.string().describe("The cursor for the next page of results, if any.").optional()
|
|
48
|
+
}).describe("Response model for listing imports in a Webset.")
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
export { exaListImports };
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=list-imports.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-imports.mjs","names":[],"sources":["../../src/actions/list-imports.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ExaListImportsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(25).describe(\"The number of results to return (1–200, default 25).\").optional(),\n cursor: z.string().describe(\"The cursor to paginate through the results.\").optional(),\n}).describe(\"Parameters for listing imports in a Webset.\");\nconst ExaListImports_ImportEntitySchema: z.ZodTypeAny = z.object({\n type: z.enum([\"company\", \"person\", \"article\", \"research_paper\", \"custom\"]).describe(\"The type of entity the import contains.\"),\n}).describe(\"The type of entity contained in the import.\");\nconst ExaListImports_ImportItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the import.\"),\n count: z.number().int().describe(\"The number of entities in the import.\"),\n title: z.string().describe(\"The title of the import.\"),\n entity: ExaListImports_ImportEntitySchema.nullable(),\n format: z.enum([\"csv\", \"webset\"]).describe(\"The format of the import.\"),\n object: z.string().describe(\"The object type.\"),\n status: z.enum([\"pending\", \"processing\", \"completed\", \"failed\"]).describe(\"The status of the import.\"),\n failedAt: z.string().describe(\"When the import failed, if applicable.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Key-value pairs associated with this import.\"),\n createdAt: z.string().describe(\"When the import was created.\"),\n updatedAt: z.string().describe(\"When the import was last updated.\"),\n failedReason: z.enum([\"invalid_format\", \"invalid_file_content\", \"missing_identifier\"]).describe(\"The reason the import failed, if status is failed.\").optional(),\n failedMessage: z.string().describe(\"A human-readable message for the import failure, if any.\").optional(),\n}).describe(\"One import job record.\");\nexport const ExaListImportsOutput: z.ZodTypeAny = z.object({\n data: z.array(ExaListImports_ImportItemSchema).describe(\"The list of import records.\"),\n hasMore: z.boolean().describe(\"Whether there are more results to paginate through.\"),\n nextCursor: z.string().describe(\"The cursor for the next page of results, if any.\").optional(),\n}).describe(\"Response model for listing imports in a Webset.\");\n\nexport const exaListImports = action(\"EXA_LIST_IMPORTS\", {\n slug: \"exa-list-imports\",\n name: \"List imports\",\n description: \"Tool to list all imports for the Webset. Use when you need to paginate through and monitor import jobs.\",\n input: ExaListImportsInput,\n output: ExaListImportsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,SAAS,sDAAsD,EAAE,SAAS;CAC9G,QAAQ,EAAE,OAAO,EAAE,SAAS,6CAA6C,EAAE,SAAS;AACtF,CAAC,EAAE,SAAS,6CAA6C;AACzD,MAAM,oCAAkD,EAAE,OAAO,EAC/D,MAAM,EAAE,KAAK;CAAC;CAAW;CAAU;CAAW;CAAkB;AAAQ,CAAC,EAAE,SAAS,yCAAyC,EAC/H,CAAC,EAAE,SAAS,6CAA6C;AACzD,MAAM,kCAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,EAAE,SAAS,uCAAuC;CAC/D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,uCAAuC;CACxE,OAAO,EAAE,OAAO,EAAE,SAAS,0BAA0B;CACrD,QAAQ,kCAAkC,SAAS;CACnD,QAAQ,EAAE,KAAK,CAAC,OAAO,QAAQ,CAAC,EAAE,SAAS,2BAA2B;CACtE,QAAQ,EAAE,OAAO,EAAE,SAAS,kBAAkB;CAC9C,QAAQ,EAAE,KAAK;EAAC;EAAW;EAAc;EAAa;CAAQ,CAAC,EAAE,SAAS,2BAA2B;CACrG,UAAU,EAAE,OAAO,EAAE,SAAS,wCAAwC,EAAE,SAAS;CACjF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,EAAE,SAAS,8CAA8C;CACnG,WAAW,EAAE,OAAO,EAAE,SAAS,8BAA8B;CAC7D,WAAW,EAAE,OAAO,EAAE,SAAS,mCAAmC;CAClE,cAAc,EAAE,KAAK;EAAC;EAAkB;EAAwB;CAAoB,CAAC,EAAE,SAAS,oDAAoD,EAAE,SAAS;CAC/J,eAAe,EAAE,OAAO,EAAE,SAAS,0DAA0D,EAAE,SAAS;AAC1G,CAAC,EAAE,SAAS,wBAAwB;AAOpC,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXgD,EAAE,OAAO;EACzD,MAAM,EAAE,MAAM,+BAA+B,EAAE,SAAS,6BAA6B;EACrF,SAAS,EAAE,QAAQ,EAAE,SAAS,qDAAqD;EACnF,YAAY,EAAE,OAAO,EAAE,SAAS,kDAAkD,EAAE,SAAS;CAC/F,CAAC,EAAE,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-research.ts
|
|
4
|
+
const ExaListResearchInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().default(10).describe("The number of results to return (1–50, default 10).").optional(),
|
|
6
|
+
cursor: zod.z.string().describe("The cursor to paginate through the results.").optional()
|
|
7
|
+
}).describe("Parameters for listing research tasks.");
|
|
8
|
+
const ExaListResearch_ResearchEventSchema = zod.z.object({
|
|
9
|
+
type: zod.z.string().describe("Type of the event.").optional(),
|
|
10
|
+
message: zod.z.string().describe("Event message.").optional(),
|
|
11
|
+
timestamp: zod.z.number().describe("Timestamp when the event occurred.").optional()
|
|
12
|
+
}).describe("Event information for research tasks.");
|
|
13
|
+
const ExaListResearch_ResearchOutputSchema = zod.z.object({
|
|
14
|
+
steps: zod.z.array(zod.z.unknown()).describe("Steps taken during research.").optional(),
|
|
15
|
+
answer: zod.z.string().describe("The research answer.").optional(),
|
|
16
|
+
sources: zod.z.array(zod.z.unknown()).describe("Sources used for research.").optional()
|
|
17
|
+
}).describe("Output from completed research.");
|
|
18
|
+
const ExaListResearch_CostDollarsSchema = zod.z.object({
|
|
19
|
+
llm: zod.z.number().describe("LLM cost in dollars.").optional(),
|
|
20
|
+
total: zod.z.number().describe("Total cost in dollars.").optional(),
|
|
21
|
+
search: zod.z.number().describe("Search cost in dollars.").optional()
|
|
22
|
+
}).describe("Cost information for completed research.");
|
|
23
|
+
const ExaListResearch_ResearchItemSchema = zod.z.object({
|
|
24
|
+
error: zod.z.string().describe("Error message if the research task failed.").optional(),
|
|
25
|
+
model: zod.z.string().describe("The model used for the research task.").optional(),
|
|
26
|
+
events: zod.z.array(ExaListResearch_ResearchEventSchema).describe("List of events associated with this research task.").optional(),
|
|
27
|
+
output: ExaListResearch_ResearchOutputSchema.nullable().optional(),
|
|
28
|
+
status: zod.z.string().describe("The status of the research task (pending, processing, completed, failed)."),
|
|
29
|
+
createdAt: zod.z.number().describe("When the research task was created (Unix timestamp)."),
|
|
30
|
+
researchId: zod.z.string().describe("The unique identifier for the research task."),
|
|
31
|
+
costDollars: ExaListResearch_CostDollarsSchema.nullable().optional(),
|
|
32
|
+
instructions: zod.z.string().describe("The instructions for the research task.")
|
|
33
|
+
}).describe("One research task record.");
|
|
34
|
+
const ExaListResearchOutput = zod.z.object({
|
|
35
|
+
data: zod.z.array(ExaListResearch_ResearchItemSchema).describe("The list of research task records."),
|
|
36
|
+
hasMore: zod.z.boolean().describe("Whether there are more results to paginate through."),
|
|
37
|
+
nextCursor: zod.z.string().describe("The cursor for the next page of results, if any.").optional()
|
|
38
|
+
}).describe("Response model for listing research tasks.");
|
|
39
|
+
const exaListResearch = require_action.action("EXA_LIST_RESEARCH", {
|
|
40
|
+
slug: "exa-list-research",
|
|
41
|
+
name: "List research tasks",
|
|
42
|
+
description: "Tool to retrieve a paginated list of your research tasks. Use when you need to view or monitor research jobs with cursor-based pagination.",
|
|
43
|
+
input: ExaListResearchInput,
|
|
44
|
+
output: ExaListResearchOutput
|
|
45
|
+
});
|
|
46
|
+
//#endregion
|
|
47
|
+
exports.exaListResearch = exaListResearch;
|
|
48
|
+
|
|
49
|
+
//# sourceMappingURL=list-research.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-research.cjs","names":["z","action"],"sources":["../../src/actions/list-research.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ExaListResearchInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(10).describe(\"The number of results to return (1–50, default 10).\").optional(),\n cursor: z.string().describe(\"The cursor to paginate through the results.\").optional(),\n}).describe(\"Parameters for listing research tasks.\");\nconst ExaListResearch_ResearchEventSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of the event.\").optional(),\n message: z.string().describe(\"Event message.\").optional(),\n timestamp: z.number().describe(\"Timestamp when the event occurred.\").optional(),\n}).describe(\"Event information for research tasks.\");\nconst ExaListResearch_ResearchOutputSchema: z.ZodTypeAny = z.object({\n steps: z.array(z.unknown()).describe(\"Steps taken during research.\").optional(),\n answer: z.string().describe(\"The research answer.\").optional(),\n sources: z.array(z.unknown()).describe(\"Sources used for research.\").optional(),\n}).describe(\"Output from completed research.\");\nconst ExaListResearch_CostDollarsSchema: z.ZodTypeAny = z.object({\n llm: z.number().describe(\"LLM cost in dollars.\").optional(),\n total: z.number().describe(\"Total cost in dollars.\").optional(),\n search: z.number().describe(\"Search cost in dollars.\").optional(),\n}).describe(\"Cost information for completed research.\");\nconst ExaListResearch_ResearchItemSchema: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the research task failed.\").optional(),\n model: z.string().describe(\"The model used for the research task.\").optional(),\n events: z.array(ExaListResearch_ResearchEventSchema).describe(\"List of events associated with this research task.\").optional(),\n output: ExaListResearch_ResearchOutputSchema.nullable().optional(),\n status: z.string().describe(\"The status of the research task (pending, processing, completed, failed).\"),\n createdAt: z.number().describe(\"When the research task was created (Unix timestamp).\"),\n researchId: z.string().describe(\"The unique identifier for the research task.\"),\n costDollars: ExaListResearch_CostDollarsSchema.nullable().optional(),\n instructions: z.string().describe(\"The instructions for the research task.\"),\n}).describe(\"One research task record.\");\nexport const ExaListResearchOutput: z.ZodTypeAny = z.object({\n data: z.array(ExaListResearch_ResearchItemSchema).describe(\"The list of research task records.\"),\n hasMore: z.boolean().describe(\"Whether there are more results to paginate through.\"),\n nextCursor: z.string().describe(\"The cursor for the next page of results, if any.\").optional(),\n}).describe(\"Response model for listing research tasks.\");\n\nexport const exaListResearch = action(\"EXA_LIST_RESEARCH\", {\n slug: \"exa-list-research\",\n name: \"List research tasks\",\n description: \"Tool to retrieve a paginated list of your research tasks. Use when you need to view or monitor research jobs with cursor-based pagination.\",\n input: ExaListResearchInput,\n output: ExaListResearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,SAAS,qDAAqD,EAAE,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,EAAE,SAAS,6CAA6C,EAAE,SAAS;AACtF,CAAC,EAAE,SAAS,wCAAwC;AACpD,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,EAAE,SAAS,oBAAoB,EAAE,SAAS;CACzD,SAASA,IAAAA,EAAE,OAAO,EAAE,SAAS,gBAAgB,EAAE,SAAS;CACxD,WAAWA,IAAAA,EAAE,OAAO,EAAE,SAAS,oCAAoC,EAAE,SAAS;AAChF,CAAC,EAAE,SAAS,uCAAuC;AACnD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,EAAE,SAAS,8BAA8B,EAAE,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,EAAE,SAAS,sBAAsB,EAAE,SAAS;CAC7D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,EAAE,SAAS,4BAA4B,EAAE,SAAS;AAChF,CAAC,EAAE,SAAS,iCAAiC;AAC7C,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,EAAE,SAAS,sBAAsB,EAAE,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,EAAE,SAAS,wBAAwB,EAAE,SAAS;CAC9D,QAAQA,IAAAA,EAAE,OAAO,EAAE,SAAS,yBAAyB,EAAE,SAAS;AAClE,CAAC,EAAE,SAAS,0CAA0C;AACtD,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,EAAE,SAAS,4CAA4C,EAAE,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,EAAE,SAAS,uCAAuC,EAAE,SAAS;CAC7E,QAAQA,IAAAA,EAAE,MAAM,mCAAmC,EAAE,SAAS,oDAAoD,EAAE,SAAS;CAC7H,QAAQ,qCAAqC,SAAS,EAAE,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,EAAE,SAAS,2EAA2E;CACvG,WAAWA,IAAAA,EAAE,OAAO,EAAE,SAAS,sDAAsD;CACrF,YAAYA,IAAAA,EAAE,OAAO,EAAE,SAAS,8CAA8C;CAC9E,aAAa,kCAAkC,SAAS,EAAE,SAAS;CACnE,cAAcA,IAAAA,EAAE,OAAO,EAAE,SAAS,yCAAyC;AAC7E,CAAC,EAAE,SAAS,2BAA2B;AACvC,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,EAAE,SAAS,oCAAoC;CAC/F,SAASA,IAAAA,EAAE,QAAQ,EAAE,SAAS,qDAAqD;CACnF,YAAYA,IAAAA,EAAE,OAAO,EAAE,SAAS,kDAAkD,EAAE,SAAS;AAC/F,CAAC,EAAE,SAAS,4CAA4C;AAExD,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-research.d.ts
|
|
4
|
+
declare const ExaListResearchInput: z.ZodTypeAny;
|
|
5
|
+
declare const ExaListResearchOutput: z.ZodTypeAny;
|
|
6
|
+
declare const exaListResearch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { exaListResearch };
|
|
9
|
+
//# sourceMappingURL=list-research.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-research.d.cts","names":[],"sources":["../../src/actions/list-research.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGgB;AAAA,cA2BxC,qBAAA,EAAuB,CAAA,CAAE,UAImB;AAAA,cAE5C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-research.d.ts
|
|
4
|
+
declare const ExaListResearchInput: z.ZodTypeAny;
|
|
5
|
+
declare const ExaListResearchOutput: z.ZodTypeAny;
|
|
6
|
+
declare const exaListResearch: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { exaListResearch };
|
|
9
|
+
//# sourceMappingURL=list-research.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-research.d.mts","names":[],"sources":["../../src/actions/list-research.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGgB;AAAA,cA2BxC,qBAAA,EAAuB,CAAA,CAAE,UAImB;AAAA,cAE5C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-research.ts
|
|
4
|
+
const ExaListResearchInput = z.object({
|
|
5
|
+
limit: z.number().int().default(10).describe("The number of results to return (1–50, default 10).").optional(),
|
|
6
|
+
cursor: z.string().describe("The cursor to paginate through the results.").optional()
|
|
7
|
+
}).describe("Parameters for listing research tasks.");
|
|
8
|
+
const ExaListResearch_ResearchEventSchema = z.object({
|
|
9
|
+
type: z.string().describe("Type of the event.").optional(),
|
|
10
|
+
message: z.string().describe("Event message.").optional(),
|
|
11
|
+
timestamp: z.number().describe("Timestamp when the event occurred.").optional()
|
|
12
|
+
}).describe("Event information for research tasks.");
|
|
13
|
+
const ExaListResearch_ResearchOutputSchema = z.object({
|
|
14
|
+
steps: z.array(z.unknown()).describe("Steps taken during research.").optional(),
|
|
15
|
+
answer: z.string().describe("The research answer.").optional(),
|
|
16
|
+
sources: z.array(z.unknown()).describe("Sources used for research.").optional()
|
|
17
|
+
}).describe("Output from completed research.");
|
|
18
|
+
const ExaListResearch_CostDollarsSchema = z.object({
|
|
19
|
+
llm: z.number().describe("LLM cost in dollars.").optional(),
|
|
20
|
+
total: z.number().describe("Total cost in dollars.").optional(),
|
|
21
|
+
search: z.number().describe("Search cost in dollars.").optional()
|
|
22
|
+
}).describe("Cost information for completed research.");
|
|
23
|
+
const ExaListResearch_ResearchItemSchema = z.object({
|
|
24
|
+
error: z.string().describe("Error message if the research task failed.").optional(),
|
|
25
|
+
model: z.string().describe("The model used for the research task.").optional(),
|
|
26
|
+
events: z.array(ExaListResearch_ResearchEventSchema).describe("List of events associated with this research task.").optional(),
|
|
27
|
+
output: ExaListResearch_ResearchOutputSchema.nullable().optional(),
|
|
28
|
+
status: z.string().describe("The status of the research task (pending, processing, completed, failed)."),
|
|
29
|
+
createdAt: z.number().describe("When the research task was created (Unix timestamp)."),
|
|
30
|
+
researchId: z.string().describe("The unique identifier for the research task."),
|
|
31
|
+
costDollars: ExaListResearch_CostDollarsSchema.nullable().optional(),
|
|
32
|
+
instructions: z.string().describe("The instructions for the research task.")
|
|
33
|
+
}).describe("One research task record.");
|
|
34
|
+
const exaListResearch = action("EXA_LIST_RESEARCH", {
|
|
35
|
+
slug: "exa-list-research",
|
|
36
|
+
name: "List research tasks",
|
|
37
|
+
description: "Tool to retrieve a paginated list of your research tasks. Use when you need to view or monitor research jobs with cursor-based pagination.",
|
|
38
|
+
input: ExaListResearchInput,
|
|
39
|
+
output: z.object({
|
|
40
|
+
data: z.array(ExaListResearch_ResearchItemSchema).describe("The list of research task records."),
|
|
41
|
+
hasMore: z.boolean().describe("Whether there are more results to paginate through."),
|
|
42
|
+
nextCursor: z.string().describe("The cursor for the next page of results, if any.").optional()
|
|
43
|
+
}).describe("Response model for listing research tasks.")
|
|
44
|
+
});
|
|
45
|
+
//#endregion
|
|
46
|
+
export { exaListResearch };
|
|
47
|
+
|
|
48
|
+
//# sourceMappingURL=list-research.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-research.mjs","names":[],"sources":["../../src/actions/list-research.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ExaListResearchInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(10).describe(\"The number of results to return (1–50, default 10).\").optional(),\n cursor: z.string().describe(\"The cursor to paginate through the results.\").optional(),\n}).describe(\"Parameters for listing research tasks.\");\nconst ExaListResearch_ResearchEventSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of the event.\").optional(),\n message: z.string().describe(\"Event message.\").optional(),\n timestamp: z.number().describe(\"Timestamp when the event occurred.\").optional(),\n}).describe(\"Event information for research tasks.\");\nconst ExaListResearch_ResearchOutputSchema: z.ZodTypeAny = z.object({\n steps: z.array(z.unknown()).describe(\"Steps taken during research.\").optional(),\n answer: z.string().describe(\"The research answer.\").optional(),\n sources: z.array(z.unknown()).describe(\"Sources used for research.\").optional(),\n}).describe(\"Output from completed research.\");\nconst ExaListResearch_CostDollarsSchema: z.ZodTypeAny = z.object({\n llm: z.number().describe(\"LLM cost in dollars.\").optional(),\n total: z.number().describe(\"Total cost in dollars.\").optional(),\n search: z.number().describe(\"Search cost in dollars.\").optional(),\n}).describe(\"Cost information for completed research.\");\nconst ExaListResearch_ResearchItemSchema: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the research task failed.\").optional(),\n model: z.string().describe(\"The model used for the research task.\").optional(),\n events: z.array(ExaListResearch_ResearchEventSchema).describe(\"List of events associated with this research task.\").optional(),\n output: ExaListResearch_ResearchOutputSchema.nullable().optional(),\n status: z.string().describe(\"The status of the research task (pending, processing, completed, failed).\"),\n createdAt: z.number().describe(\"When the research task was created (Unix timestamp).\"),\n researchId: z.string().describe(\"The unique identifier for the research task.\"),\n costDollars: ExaListResearch_CostDollarsSchema.nullable().optional(),\n instructions: z.string().describe(\"The instructions for the research task.\"),\n}).describe(\"One research task record.\");\nexport const ExaListResearchOutput: z.ZodTypeAny = z.object({\n data: z.array(ExaListResearch_ResearchItemSchema).describe(\"The list of research task records.\"),\n hasMore: z.boolean().describe(\"Whether there are more results to paginate through.\"),\n nextCursor: z.string().describe(\"The cursor for the next page of results, if any.\").optional(),\n}).describe(\"Response model for listing research tasks.\");\n\nexport const exaListResearch = action(\"EXA_LIST_RESEARCH\", {\n slug: \"exa-list-research\",\n name: \"List research tasks\",\n description: \"Tool to retrieve a paginated list of your research tasks. Use when you need to view or monitor research jobs with cursor-based pagination.\",\n input: ExaListResearchInput,\n output: ExaListResearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,SAAS,qDAAqD,EAAE,SAAS;CAC7G,QAAQ,EAAE,OAAO,EAAE,SAAS,6CAA6C,EAAE,SAAS;AACtF,CAAC,EAAE,SAAS,wCAAwC;AACpD,MAAM,sCAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,EAAE,SAAS,oBAAoB,EAAE,SAAS;CACzD,SAAS,EAAE,OAAO,EAAE,SAAS,gBAAgB,EAAE,SAAS;CACxD,WAAW,EAAE,OAAO,EAAE,SAAS,oCAAoC,EAAE,SAAS;AAChF,CAAC,EAAE,SAAS,uCAAuC;AACnD,MAAM,uCAAqD,EAAE,OAAO;CAClE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,SAAS,8BAA8B,EAAE,SAAS;CAC9E,QAAQ,EAAE,OAAO,EAAE,SAAS,sBAAsB,EAAE,SAAS;CAC7D,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,SAAS,4BAA4B,EAAE,SAAS;AAChF,CAAC,EAAE,SAAS,iCAAiC;AAC7C,MAAM,oCAAkD,EAAE,OAAO;CAC/D,KAAK,EAAE,OAAO,EAAE,SAAS,sBAAsB,EAAE,SAAS;CAC1D,OAAO,EAAE,OAAO,EAAE,SAAS,wBAAwB,EAAE,SAAS;CAC9D,QAAQ,EAAE,OAAO,EAAE,SAAS,yBAAyB,EAAE,SAAS;AAClE,CAAC,EAAE,SAAS,0CAA0C;AACtD,MAAM,qCAAmD,EAAE,OAAO;CAChE,OAAO,EAAE,OAAO,EAAE,SAAS,4CAA4C,EAAE,SAAS;CAClF,OAAO,EAAE,OAAO,EAAE,SAAS,uCAAuC,EAAE,SAAS;CAC7E,QAAQ,EAAE,MAAM,mCAAmC,EAAE,SAAS,oDAAoD,EAAE,SAAS;CAC7H,QAAQ,qCAAqC,SAAS,EAAE,SAAS;CACjE,QAAQ,EAAE,OAAO,EAAE,SAAS,2EAA2E;CACvG,WAAW,EAAE,OAAO,EAAE,SAAS,sDAAsD;CACrF,YAAY,EAAE,OAAO,EAAE,SAAS,8CAA8C;CAC9E,aAAa,kCAAkC,SAAS,EAAE,SAAS;CACnE,cAAc,EAAE,OAAO,EAAE,SAAS,yCAAyC;AAC7E,CAAC,EAAE,SAAS,2BAA2B;AAOvC,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXiD,EAAE,OAAO;EAC1D,MAAM,EAAE,MAAM,kCAAkC,EAAE,SAAS,oCAAoC;EAC/F,SAAS,EAAE,QAAQ,EAAE,SAAS,qDAAqD;EACnF,YAAY,EAAE,OAAO,EAAE,SAAS,kDAAkD,EAAE,SAAS;CAC/F,CAAC,EAAE,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-webhooks.ts
|
|
4
|
+
const ExaListWebhooksInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().default(25).describe("Number of results to return per page.").optional(),
|
|
6
|
+
cursor: zod.z.string().describe("Pagination cursor returned by a previous call. Must be at least 1 character if provided.").optional()
|
|
7
|
+
}).describe("Request parameters for listing webhooks.");
|
|
8
|
+
const ExaListWebhooks_WebhookSchema = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("Unique identifier for the webhook."),
|
|
10
|
+
url: zod.z.string().describe("The target URL that will receive webhook POSTs."),
|
|
11
|
+
events: zod.z.array(zod.z.string()).describe("List of event names this webhook is subscribed to."),
|
|
12
|
+
object: zod.z.string().describe("Type of this object, always 'webhook'."),
|
|
13
|
+
secret: zod.z.string().describe("Secret used to sign webhook payloads."),
|
|
14
|
+
status: zod.z.string().describe("Current status of the webhook (e.g., 'active')."),
|
|
15
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Arbitrary metadata object.").optional(),
|
|
16
|
+
createdAt: zod.z.string().describe("ISO-8601 timestamp when the webhook was created."),
|
|
17
|
+
updatedAt: zod.z.string().describe("ISO-8601 timestamp when the webhook was last updated.")
|
|
18
|
+
}).describe("Represents a single webhook object.");
|
|
19
|
+
const ExaListWebhooksOutput = zod.z.object({
|
|
20
|
+
data: zod.z.array(ExaListWebhooks_WebhookSchema).describe("Array of webhook objects."),
|
|
21
|
+
hasMore: zod.z.boolean().describe("Whether more results are available."),
|
|
22
|
+
nextCursor: zod.z.string().describe("Cursor to use for the next page of results, if hasMore is true.").optional()
|
|
23
|
+
}).describe("Response schema for listing webhooks.");
|
|
24
|
+
const exaListWebhooks = require_action.action("EXA_LIST_WEBHOOKS", {
|
|
25
|
+
slug: "exa-list-webhooks",
|
|
26
|
+
name: "List webhooks",
|
|
27
|
+
description: "Tool to list all webhooks for Websets. Use when you need to view existing webhooks and paginate through results.",
|
|
28
|
+
input: ExaListWebhooksInput,
|
|
29
|
+
output: ExaListWebhooksOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.exaListWebhooks = exaListWebhooks;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=list-webhooks.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ExaListWebhooksInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(25).describe(\"Number of results to return per page.\").optional(),\n cursor: z.string().describe(\"Pagination cursor returned by a previous call. Must be at least 1 character if provided.\").optional(),\n}).describe(\"Request parameters for listing webhooks.\");\nconst ExaListWebhooks_WebhookSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\"),\n url: z.string().describe(\"The target URL that will receive webhook POSTs.\"),\n events: z.array(z.string()).describe(\"List of event names this webhook is subscribed to.\"),\n object: z.string().describe(\"Type of this object, always 'webhook'.\"),\n secret: z.string().describe(\"Secret used to sign webhook payloads.\"),\n status: z.string().describe(\"Current status of the webhook (e.g., 'active').\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Arbitrary metadata object.\").optional(),\n createdAt: z.string().describe(\"ISO-8601 timestamp when the webhook was created.\"),\n updatedAt: z.string().describe(\"ISO-8601 timestamp when the webhook was last updated.\"),\n}).describe(\"Represents a single webhook object.\");\nexport const ExaListWebhooksOutput: z.ZodTypeAny = z.object({\n data: z.array(ExaListWebhooks_WebhookSchema).describe(\"Array of webhook objects.\"),\n hasMore: z.boolean().describe(\"Whether more results are available.\"),\n nextCursor: z.string().describe(\"Cursor to use for the next page of results, if hasMore is true.\").optional(),\n}).describe(\"Response schema for listing webhooks.\");\n\nexport const exaListWebhooks = action(\"EXA_LIST_WEBHOOKS\", {\n slug: \"exa-list-webhooks\",\n name: \"List webhooks\",\n description: \"Tool to list all webhooks for Websets. Use when you need to view existing webhooks and paginate through results.\",\n input: ExaListWebhooksInput,\n output: ExaListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,SAAS,uCAAuC,EAAE,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,EAAE,SAAS,0FAA0F,EAAE,SAAS;AACnI,CAAC,EAAE,SAAS,0CAA0C;AACtD,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,EAAE,SAAS,oCAAoC;CAC5D,KAAKA,IAAAA,EAAE,OAAO,EAAE,SAAS,iDAAiD;CAC1E,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,EAAE,SAAS,oDAAoD;CACzF,QAAQA,IAAAA,EAAE,OAAO,EAAE,SAAS,wCAAwC;CACpE,QAAQA,IAAAA,EAAE,OAAO,EAAE,SAAS,uCAAuC;CACnE,QAAQA,IAAAA,EAAE,OAAO,EAAE,SAAS,iDAAiD;CAC7E,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,EAAE,SAAS,4BAA4B,EAAE,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,EAAE,SAAS,kDAAkD;CACjF,WAAWA,IAAAA,EAAE,OAAO,EAAE,SAAS,uDAAuD;AACxF,CAAC,EAAE,SAAS,qCAAqC;AACjD,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,MAAM,6BAA6B,EAAE,SAAS,2BAA2B;CACjF,SAASA,IAAAA,EAAE,QAAQ,EAAE,SAAS,qCAAqC;CACnE,YAAYA,IAAAA,EAAE,OAAO,EAAE,SAAS,iEAAiE,EAAE,SAAS;AAC9G,CAAC,EAAE,SAAS,uCAAuC;AAEnD,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-webhooks.d.ts
|
|
4
|
+
declare const ExaListWebhooksInput: z.ZodTypeAny;
|
|
5
|
+
declare const ExaListWebhooksOutput: z.ZodTypeAny;
|
|
6
|
+
declare const exaListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { exaListWebhooks };
|
|
9
|
+
//# sourceMappingURL=list-webhooks.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGkB;AAAA,cAY1C,qBAAA,EAAuB,CAAA,CAAE,UAIc;AAAA,cAEvC,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-webhooks.d.ts
|
|
4
|
+
declare const ExaListWebhooksInput: z.ZodTypeAny;
|
|
5
|
+
declare const ExaListWebhooksOutput: z.ZodTypeAny;
|
|
6
|
+
declare const exaListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { exaListWebhooks };
|
|
9
|
+
//# sourceMappingURL=list-webhooks.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGkB;AAAA,cAY1C,qBAAA,EAAuB,CAAA,CAAE,UAIc;AAAA,cAEvC,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|