@keystrokehq/eodhd_apis 0.1.0
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 +17 -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/get-eod-yahoo-style.cjs +30 -0
- package/dist/actions/get-eod-yahoo-style.cjs.map +1 -0
- package/dist/actions/get-eod-yahoo-style.d.cts +9 -0
- package/dist/actions/get-eod-yahoo-style.d.cts.map +1 -0
- package/dist/actions/get-eod-yahoo-style.d.mts +9 -0
- package/dist/actions/get-eod-yahoo-style.d.mts.map +1 -0
- package/dist/actions/get-eod-yahoo-style.mjs +27 -0
- package/dist/actions/get-eod-yahoo-style.mjs.map +1 -0
- package/dist/actions/get-id-mapping.cjs +45 -0
- package/dist/actions/get-id-mapping.cjs.map +1 -0
- package/dist/actions/get-id-mapping.d.cts +9 -0
- package/dist/actions/get-id-mapping.d.cts.map +1 -0
- package/dist/actions/get-id-mapping.d.mts +9 -0
- package/dist/actions/get-id-mapping.d.mts.map +1 -0
- package/dist/actions/get-id-mapping.mjs +44 -0
- package/dist/actions/get-id-mapping.mjs.map +1 -0
- package/dist/actions/get-macro-indicators.cjs +19 -0
- package/dist/actions/get-macro-indicators.cjs.map +1 -0
- package/dist/actions/get-macro-indicators.d.cts +9 -0
- package/dist/actions/get-macro-indicators.d.cts.map +1 -0
- package/dist/actions/get-macro-indicators.d.mts +9 -0
- package/dist/actions/get-macro-indicators.d.mts.map +1 -0
- package/dist/actions/get-macro-indicators.mjs +16 -0
- package/dist/actions/get-macro-indicators.mjs.map +1 -0
- package/dist/actions/get-mutual-funds-data.cjs +23 -0
- package/dist/actions/get-mutual-funds-data.cjs.map +1 -0
- package/dist/actions/get-mutual-funds-data.d.cts +9 -0
- package/dist/actions/get-mutual-funds-data.d.cts.map +1 -0
- package/dist/actions/get-mutual-funds-data.d.mts +9 -0
- package/dist/actions/get-mutual-funds-data.d.mts.map +1 -0
- package/dist/actions/get-mutual-funds-data.mjs +20 -0
- package/dist/actions/get-mutual-funds-data.mjs.map +1 -0
- package/dist/actions/get-real-time-quote.cjs +33 -0
- package/dist/actions/get-real-time-quote.cjs.map +1 -0
- package/dist/actions/get-real-time-quote.d.cts +9 -0
- package/dist/actions/get-real-time-quote.d.cts.map +1 -0
- package/dist/actions/get-real-time-quote.d.mts +9 -0
- package/dist/actions/get-real-time-quote.d.mts.map +1 -0
- package/dist/actions/get-real-time-quote.mjs +32 -0
- package/dist/actions/get-real-time-quote.mjs.map +1 -0
- package/dist/actions/get-real-time-websocket-forex.cjs +24 -0
- package/dist/actions/get-real-time-websocket-forex.cjs.map +1 -0
- package/dist/actions/get-real-time-websocket-forex.d.cts +9 -0
- package/dist/actions/get-real-time-websocket-forex.d.cts.map +1 -0
- package/dist/actions/get-real-time-websocket-forex.d.mts +9 -0
- package/dist/actions/get-real-time-websocket-forex.d.mts.map +1 -0
- package/dist/actions/get-real-time-websocket-forex.mjs +23 -0
- package/dist/actions/get-real-time-websocket-forex.mjs.map +1 -0
- package/dist/actions/get-real-time-websocket-us-trade.cjs +26 -0
- package/dist/actions/get-real-time-websocket-us-trade.cjs.map +1 -0
- package/dist/actions/get-real-time-websocket-us-trade.d.cts +9 -0
- package/dist/actions/get-real-time-websocket-us-trade.d.cts.map +1 -0
- package/dist/actions/get-real-time-websocket-us-trade.d.mts +9 -0
- package/dist/actions/get-real-time-websocket-us-trade.d.mts.map +1 -0
- package/dist/actions/get-real-time-websocket-us-trade.mjs +25 -0
- package/dist/actions/get-real-time-websocket-us-trade.mjs.map +1 -0
- package/dist/actions/get-user-info.cjs +24 -0
- package/dist/actions/get-user-info.cjs.map +1 -0
- package/dist/actions/get-user-info.d.cts +9 -0
- package/dist/actions/get-user-info.d.cts.map +1 -0
- package/dist/actions/get-user-info.d.mts +9 -0
- package/dist/actions/get-user-info.d.mts.map +1 -0
- package/dist/actions/get-user-info.mjs +21 -0
- package/dist/actions/get-user-info.mjs.map +1 -0
- package/dist/actions/get-ust-yield-rates.cjs +31 -0
- package/dist/actions/get-ust-yield-rates.cjs.map +1 -0
- package/dist/actions/get-ust-yield-rates.d.cts +9 -0
- package/dist/actions/get-ust-yield-rates.d.cts.map +1 -0
- package/dist/actions/get-ust-yield-rates.d.mts +9 -0
- package/dist/actions/get-ust-yield-rates.d.mts.map +1 -0
- package/dist/actions/get-ust-yield-rates.mjs +30 -0
- package/dist/actions/get-ust-yield-rates.mjs.map +1 -0
- package/dist/actions/index.cjs +23 -0
- package/dist/actions/index.d.cts +12 -0
- package/dist/actions/index.d.mts +12 -0
- package/dist/actions/index.mjs +12 -0
- package/dist/actions/list-exchanges.cjs +23 -0
- package/dist/actions/list-exchanges.cjs.map +1 -0
- package/dist/actions/list-exchanges.d.cts +9 -0
- package/dist/actions/list-exchanges.d.cts.map +1 -0
- package/dist/actions/list-exchanges.d.mts +9 -0
- package/dist/actions/list-exchanges.d.mts.map +1 -0
- package/dist/actions/list-exchanges.mjs +22 -0
- package/dist/actions/list-exchanges.mjs.map +1 -0
- package/dist/actions/search-instruments.cjs +33 -0
- package/dist/actions/search-instruments.cjs.map +1 -0
- package/dist/actions/search-instruments.d.cts +9 -0
- package/dist/actions/search-instruments.d.cts.map +1 -0
- package/dist/actions/search-instruments.d.mts +9 -0
- package/dist/actions/search-instruments.d.mts.map +1 -0
- package/dist/actions/search-instruments.mjs +32 -0
- package/dist/actions/search-instruments.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/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 +28 -0
- package/dist/index.d.cts +14 -0
- package/dist/index.d.mts +14 -0
- package/dist/index.mjs +15 -0
- package/package.json +49 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-exchanges.ts
|
|
4
|
+
const EodhdApisListExchangesInput = zod.z.object({ fmt: zod.z.enum(["json", "csv"]).describe("Output format for the exchanges list response.").optional() }).describe("Request parameters for listing all supported stock exchanges.");
|
|
5
|
+
const EodhdApisListExchanges_ExchangeInfoSchema = zod.z.object({
|
|
6
|
+
Code: zod.z.string().describe("Exchange code identifier (e.g., 'US', 'LSE', 'TO', 'V')."),
|
|
7
|
+
Name: zod.z.string().describe("Full name of the exchange (e.g., 'US NYSE and NASDAQ', 'London Stock Exchange')."),
|
|
8
|
+
Country: zod.z.string().describe("Country where the exchange is located (e.g., 'USA', 'UK', 'Canada')."),
|
|
9
|
+
Currency: zod.z.string().describe("Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD')."),
|
|
10
|
+
OperatingMIC: zod.z.string().describe("Operating Market Identifier Code (MIC) for the exchange.").nullable().optional()
|
|
11
|
+
}).describe("Schema for a single stock exchange record.");
|
|
12
|
+
const EodhdApisListExchangesOutput = zod.z.object({ exchanges: zod.z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe("List of all supported stock exchanges with their details.") }).describe("Response model for listing all supported stock exchanges.\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.");
|
|
13
|
+
const eodhdApisListExchanges = require_action.action("EODHD_APIS_LIST_EXCHANGES", {
|
|
14
|
+
slug: "eodhd_apis-list-exchanges",
|
|
15
|
+
name: "List Supported Exchanges",
|
|
16
|
+
description: "Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.",
|
|
17
|
+
input: EodhdApisListExchangesInput,
|
|
18
|
+
output: EodhdApisListExchangesOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.eodhdApisListExchanges = eodhdApisListExchanges;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=list-exchanges.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-exchanges.cjs","names":["z","action"],"sources":["../../src/actions/list-exchanges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisListExchangesInput: z.ZodTypeAny = z.object({\n fmt: z.enum([\"json\", \"csv\"]).describe(\"Output format for the exchanges list response.\").optional(),\n}).describe(\"Request parameters for listing all supported stock exchanges.\");\nconst EodhdApisListExchanges_ExchangeInfoSchema: z.ZodTypeAny = z.object({\n Code: z.string().describe(\"Exchange code identifier (e.g., 'US', 'LSE', 'TO', 'V').\"),\n Name: z.string().describe(\"Full name of the exchange (e.g., 'US NYSE and NASDAQ', 'London Stock Exchange').\"),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK', 'Canada').\"),\n Currency: z.string().describe(\"Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD').\"),\n OperatingMIC: z.string().describe(\"Operating Market Identifier Code (MIC) for the exchange.\").nullable().optional(),\n}).describe(\"Schema for a single stock exchange record.\");\nexport const EodhdApisListExchangesOutput: z.ZodTypeAny = z.object({\n exchanges: z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe(\"List of all supported stock exchanges with their details.\"),\n}).describe(\"Response model for listing all supported stock exchanges.\\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.\");\n\nexport const eodhdApisListExchanges = action(\"EODHD_APIS_LIST_EXCHANGES\", {\n slug: \"eodhd_apis-list-exchanges\",\n name: \"List Supported Exchanges\",\n description: \"Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.\",\n input: EodhdApisListExchangesInput,\n output: EodhdApisListExchangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,KAAKA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,WAAWA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2DAA2D,EACpI,CAAC,CAAC,CAAC,SAAS,0JAA0J;AAEtK,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,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-exchanges.d.ts
|
|
4
|
+
declare const EodhdApisListExchangesInput: z.ZodTypeAny;
|
|
5
|
+
declare const EodhdApisListExchangesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const eodhdApisListExchanges: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { eodhdApisListExchanges };
|
|
9
|
+
//# sourceMappingURL=list-exchanges.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-exchanges.d.cts","names":[],"sources":["../../src/actions/list-exchanges.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEgC;AAAA,cAQ/D,4BAAA,EAA8B,CAAA,CAAE,UAE0H;AAAA,cAE1J,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-exchanges.d.ts
|
|
4
|
+
declare const EodhdApisListExchangesInput: z.ZodTypeAny;
|
|
5
|
+
declare const EodhdApisListExchangesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const eodhdApisListExchanges: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { eodhdApisListExchanges };
|
|
9
|
+
//# sourceMappingURL=list-exchanges.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-exchanges.d.mts","names":[],"sources":["../../src/actions/list-exchanges.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEgC;AAAA,cAQ/D,4BAAA,EAA8B,CAAA,CAAE,UAE0H;AAAA,cAE1J,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-exchanges.ts
|
|
4
|
+
const EodhdApisListExchangesInput = z.object({ fmt: z.enum(["json", "csv"]).describe("Output format for the exchanges list response.").optional() }).describe("Request parameters for listing all supported stock exchanges.");
|
|
5
|
+
const EodhdApisListExchanges_ExchangeInfoSchema = z.object({
|
|
6
|
+
Code: z.string().describe("Exchange code identifier (e.g., 'US', 'LSE', 'TO', 'V')."),
|
|
7
|
+
Name: z.string().describe("Full name of the exchange (e.g., 'US NYSE and NASDAQ', 'London Stock Exchange')."),
|
|
8
|
+
Country: z.string().describe("Country where the exchange is located (e.g., 'USA', 'UK', 'Canada')."),
|
|
9
|
+
Currency: z.string().describe("Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD')."),
|
|
10
|
+
OperatingMIC: z.string().describe("Operating Market Identifier Code (MIC) for the exchange.").nullable().optional()
|
|
11
|
+
}).describe("Schema for a single stock exchange record.");
|
|
12
|
+
const eodhdApisListExchanges = action("EODHD_APIS_LIST_EXCHANGES", {
|
|
13
|
+
slug: "eodhd_apis-list-exchanges",
|
|
14
|
+
name: "List Supported Exchanges",
|
|
15
|
+
description: "Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.",
|
|
16
|
+
input: EodhdApisListExchangesInput,
|
|
17
|
+
output: z.object({ exchanges: z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe("List of all supported stock exchanges with their details.") }).describe("Response model for listing all supported stock exchanges.\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { eodhdApisListExchanges };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=list-exchanges.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-exchanges.mjs","names":[],"sources":["../../src/actions/list-exchanges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisListExchangesInput: z.ZodTypeAny = z.object({\n fmt: z.enum([\"json\", \"csv\"]).describe(\"Output format for the exchanges list response.\").optional(),\n}).describe(\"Request parameters for listing all supported stock exchanges.\");\nconst EodhdApisListExchanges_ExchangeInfoSchema: z.ZodTypeAny = z.object({\n Code: z.string().describe(\"Exchange code identifier (e.g., 'US', 'LSE', 'TO', 'V').\"),\n Name: z.string().describe(\"Full name of the exchange (e.g., 'US NYSE and NASDAQ', 'London Stock Exchange').\"),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK', 'Canada').\"),\n Currency: z.string().describe(\"Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD').\"),\n OperatingMIC: z.string().describe(\"Operating Market Identifier Code (MIC) for the exchange.\").nullable().optional(),\n}).describe(\"Schema for a single stock exchange record.\");\nexport const EodhdApisListExchangesOutput: z.ZodTypeAny = z.object({\n exchanges: z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe(\"List of all supported stock exchanges with their details.\"),\n}).describe(\"Response model for listing all supported stock exchanges.\\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.\");\n\nexport const eodhdApisListExchanges = action(\"EODHD_APIS_LIST_EXCHANGES\", {\n slug: \"eodhd_apis-list-exchanges\",\n name: \"List Supported Exchanges\",\n description: \"Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.\",\n input: EodhdApisListExchangesInput,\n output: EodhdApisListExchangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,EAChE,KAAK,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAKxD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,WAAW,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2DAA2D,EACpI,CAAC,CAAC,CAAC,SAAS,0JAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/search-instruments.ts
|
|
4
|
+
const EodhdApisSearchInstrumentsInput = zod.z.object({
|
|
5
|
+
type: zod.z.string().describe("Filter results by instrument type. Available types: 'stock', 'fund', 'etf', 'bond', 'index'. Leave empty to search all types.").optional(),
|
|
6
|
+
limit: zod.z.number().int().describe("Maximum number of results to return. If not specified, API returns all matching results.").optional(),
|
|
7
|
+
query: zod.z.string().describe("Search query to find instruments by ticker symbol, company name, or ISIN. Examples: 'AAPL' (Apple ticker), 'Apple Inc' (company name), 'US0378331005' (ISIN)."),
|
|
8
|
+
exchange: zod.z.string().describe("Filter results by exchange code. Examples: 'US' (United States), 'LSE' (London Stock Exchange), 'TO' (Toronto). Leave empty to search all exchanges.").optional()
|
|
9
|
+
}).describe("Request parameters for searching stocks, ETFs, mutual funds, bonds, and indices.");
|
|
10
|
+
const EodhdApisSearchInstruments_InstrumentSearchResultSchema = zod.z.object({
|
|
11
|
+
Code: zod.z.string().describe("Ticker symbol of the instrument (e.g., 'AAPL', 'MSFT')."),
|
|
12
|
+
ISIN: zod.z.string().describe("International Securities Identification Number. May be null if not available.").nullable().optional(),
|
|
13
|
+
Name: zod.z.string().describe("Full name of the instrument (e.g., 'Apple Inc', 'Microsoft Corporation')."),
|
|
14
|
+
Type: zod.z.string().describe("Asset classification (e.g., 'Common Stock', 'ETF', 'Mutual Fund')."),
|
|
15
|
+
Country: zod.z.string().describe("Country where the exchange is located (e.g., 'USA', 'UK')."),
|
|
16
|
+
Currency: zod.z.string().describe("Trading currency (e.g., 'USD', 'GBP', 'EUR')."),
|
|
17
|
+
Exchange: zod.z.string().describe("Exchange code where the instrument is traded (e.g., 'US', 'LSE')."),
|
|
18
|
+
isPrimary: zod.z.boolean().describe("Whether this is the primary exchange listing for the instrument. May be null if not available.").nullable().optional(),
|
|
19
|
+
previousClose: zod.z.number().describe("Last closing price of the instrument. May be null if not available.").nullable().optional(),
|
|
20
|
+
previousCloseDate: zod.z.string().describe("Date of the last closing price in YYYY-MM-DD format. May be null if not available.").nullable().optional()
|
|
21
|
+
}).describe("Schema for a single instrument search result.");
|
|
22
|
+
const EodhdApisSearchInstrumentsOutput = zod.z.object({ results: zod.z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe("List of instruments matching the search query.") }).describe("Response model for search instruments API returning a list of matching instruments.");
|
|
23
|
+
const eodhdApisSearchInstruments = require_action.action("EODHD_APIS_SEARCH_INSTRUMENTS", {
|
|
24
|
+
slug: "eodhd_apis-search-instruments",
|
|
25
|
+
name: "Search Instruments",
|
|
26
|
+
description: "Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only.",
|
|
27
|
+
input: EodhdApisSearchInstrumentsInput,
|
|
28
|
+
output: EodhdApisSearchInstrumentsOutput
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.eodhdApisSearchInstruments = eodhdApisSearchInstruments;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=search-instruments.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-instruments.cjs","names":["z","action"],"sources":["../../src/actions/search-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisSearchInstrumentsInput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Filter results by instrument type. Available types: 'stock', 'fund', 'etf', 'bond', 'index'. Leave empty to search all types.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. If not specified, API returns all matching results.\").optional(),\n query: z.string().describe(\"Search query to find instruments by ticker symbol, company name, or ISIN. Examples: 'AAPL' (Apple ticker), 'Apple Inc' (company name), 'US0378331005' (ISIN).\"),\n exchange: z.string().describe(\"Filter results by exchange code. Examples: 'US' (United States), 'LSE' (London Stock Exchange), 'TO' (Toronto). Leave empty to search all exchanges.\").optional(),\n}).describe(\"Request parameters for searching stocks, ETFs, mutual funds, bonds, and indices.\");\nconst EodhdApisSearchInstruments_InstrumentSearchResultSchema: z.ZodTypeAny = z.object({\n Code: z.string().describe(\"Ticker symbol of the instrument (e.g., 'AAPL', 'MSFT').\"),\n ISIN: z.string().describe(\"International Securities Identification Number. May be null if not available.\").nullable().optional(),\n Name: z.string().describe(\"Full name of the instrument (e.g., 'Apple Inc', 'Microsoft Corporation').\"),\n Type: z.string().describe(\"Asset classification (e.g., 'Common Stock', 'ETF', 'Mutual Fund').\"),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK').\"),\n Currency: z.string().describe(\"Trading currency (e.g., 'USD', 'GBP', 'EUR').\"),\n Exchange: z.string().describe(\"Exchange code where the instrument is traded (e.g., 'US', 'LSE').\"),\n isPrimary: z.boolean().describe(\"Whether this is the primary exchange listing for the instrument. May be null if not available.\").nullable().optional(),\n previousClose: z.number().describe(\"Last closing price of the instrument. May be null if not available.\").nullable().optional(),\n previousCloseDate: z.string().describe(\"Date of the last closing price in YYYY-MM-DD format. May be null if not available.\").nullable().optional(),\n}).describe(\"Schema for a single instrument search result.\");\nexport const EodhdApisSearchInstrumentsOutput: z.ZodTypeAny = z.object({\n results: z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe(\"List of instruments matching the search query.\"),\n}).describe(\"Response model for search instruments API returning a list of matching instruments.\");\n\nexport const eodhdApisSearchInstruments = action(\"EODHD_APIS_SEARCH_INSTRUMENTS\", {\n slug: \"eodhd_apis-search-instruments\",\n name: \"Search Instruments\",\n description: \"Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only.\",\n input: EodhdApisSearchInstrumentsInput,\n output: EodhdApisSearchInstrumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACpK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACtI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J;CAC1L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;AACjM,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,0DAAwEA,IAAAA,EAAE,OAAO;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC9F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CACjG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,SAASA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,gDAAgD,EACrI,CAAC,CAAC,CAAC,SAAS,qFAAqF;AAEjG,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,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/search-instruments.d.ts
|
|
4
|
+
declare const EodhdApisSearchInstrumentsInput: z.ZodTypeAny;
|
|
5
|
+
declare const EodhdApisSearchInstrumentsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const eodhdApisSearchInstruments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { eodhdApisSearchInstruments };
|
|
9
|
+
//# sourceMappingURL=search-instruments.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-instruments.d.cts","names":[],"sources":["../../src/actions/search-instruments.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAK+C;AAAA,cAalF,gCAAA,EAAkC,CAAA,CAAE,UAEiD;AAAA,cAErF,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/search-instruments.d.ts
|
|
4
|
+
declare const EodhdApisSearchInstrumentsInput: z.ZodTypeAny;
|
|
5
|
+
declare const EodhdApisSearchInstrumentsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const eodhdApisSearchInstruments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { eodhdApisSearchInstruments };
|
|
9
|
+
//# sourceMappingURL=search-instruments.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-instruments.d.mts","names":[],"sources":["../../src/actions/search-instruments.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAK+C;AAAA,cAalF,gCAAA,EAAkC,CAAA,CAAE,UAEiD;AAAA,cAErF,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/search-instruments.ts
|
|
4
|
+
const EodhdApisSearchInstrumentsInput = z.object({
|
|
5
|
+
type: z.string().describe("Filter results by instrument type. Available types: 'stock', 'fund', 'etf', 'bond', 'index'. Leave empty to search all types.").optional(),
|
|
6
|
+
limit: z.number().int().describe("Maximum number of results to return. If not specified, API returns all matching results.").optional(),
|
|
7
|
+
query: z.string().describe("Search query to find instruments by ticker symbol, company name, or ISIN. Examples: 'AAPL' (Apple ticker), 'Apple Inc' (company name), 'US0378331005' (ISIN)."),
|
|
8
|
+
exchange: z.string().describe("Filter results by exchange code. Examples: 'US' (United States), 'LSE' (London Stock Exchange), 'TO' (Toronto). Leave empty to search all exchanges.").optional()
|
|
9
|
+
}).describe("Request parameters for searching stocks, ETFs, mutual funds, bonds, and indices.");
|
|
10
|
+
const EodhdApisSearchInstruments_InstrumentSearchResultSchema = z.object({
|
|
11
|
+
Code: z.string().describe("Ticker symbol of the instrument (e.g., 'AAPL', 'MSFT')."),
|
|
12
|
+
ISIN: z.string().describe("International Securities Identification Number. May be null if not available.").nullable().optional(),
|
|
13
|
+
Name: z.string().describe("Full name of the instrument (e.g., 'Apple Inc', 'Microsoft Corporation')."),
|
|
14
|
+
Type: z.string().describe("Asset classification (e.g., 'Common Stock', 'ETF', 'Mutual Fund')."),
|
|
15
|
+
Country: z.string().describe("Country where the exchange is located (e.g., 'USA', 'UK')."),
|
|
16
|
+
Currency: z.string().describe("Trading currency (e.g., 'USD', 'GBP', 'EUR')."),
|
|
17
|
+
Exchange: z.string().describe("Exchange code where the instrument is traded (e.g., 'US', 'LSE')."),
|
|
18
|
+
isPrimary: z.boolean().describe("Whether this is the primary exchange listing for the instrument. May be null if not available.").nullable().optional(),
|
|
19
|
+
previousClose: z.number().describe("Last closing price of the instrument. May be null if not available.").nullable().optional(),
|
|
20
|
+
previousCloseDate: z.string().describe("Date of the last closing price in YYYY-MM-DD format. May be null if not available.").nullable().optional()
|
|
21
|
+
}).describe("Schema for a single instrument search result.");
|
|
22
|
+
const eodhdApisSearchInstruments = action("EODHD_APIS_SEARCH_INSTRUMENTS", {
|
|
23
|
+
slug: "eodhd_apis-search-instruments",
|
|
24
|
+
name: "Search Instruments",
|
|
25
|
+
description: "Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only.",
|
|
26
|
+
input: EodhdApisSearchInstrumentsInput,
|
|
27
|
+
output: z.object({ results: z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe("List of instruments matching the search query.") }).describe("Response model for search instruments API returning a list of matching instruments.")
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { eodhdApisSearchInstruments };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=search-instruments.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-instruments.mjs","names":[],"sources":["../../src/actions/search-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisSearchInstrumentsInput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Filter results by instrument type. Available types: 'stock', 'fund', 'etf', 'bond', 'index'. Leave empty to search all types.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. If not specified, API returns all matching results.\").optional(),\n query: z.string().describe(\"Search query to find instruments by ticker symbol, company name, or ISIN. Examples: 'AAPL' (Apple ticker), 'Apple Inc' (company name), 'US0378331005' (ISIN).\"),\n exchange: z.string().describe(\"Filter results by exchange code. Examples: 'US' (United States), 'LSE' (London Stock Exchange), 'TO' (Toronto). Leave empty to search all exchanges.\").optional(),\n}).describe(\"Request parameters for searching stocks, ETFs, mutual funds, bonds, and indices.\");\nconst EodhdApisSearchInstruments_InstrumentSearchResultSchema: z.ZodTypeAny = z.object({\n Code: z.string().describe(\"Ticker symbol of the instrument (e.g., 'AAPL', 'MSFT').\"),\n ISIN: z.string().describe(\"International Securities Identification Number. May be null if not available.\").nullable().optional(),\n Name: z.string().describe(\"Full name of the instrument (e.g., 'Apple Inc', 'Microsoft Corporation').\"),\n Type: z.string().describe(\"Asset classification (e.g., 'Common Stock', 'ETF', 'Mutual Fund').\"),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK').\"),\n Currency: z.string().describe(\"Trading currency (e.g., 'USD', 'GBP', 'EUR').\"),\n Exchange: z.string().describe(\"Exchange code where the instrument is traded (e.g., 'US', 'LSE').\"),\n isPrimary: z.boolean().describe(\"Whether this is the primary exchange listing for the instrument. May be null if not available.\").nullable().optional(),\n previousClose: z.number().describe(\"Last closing price of the instrument. May be null if not available.\").nullable().optional(),\n previousCloseDate: z.string().describe(\"Date of the last closing price in YYYY-MM-DD format. May be null if not available.\").nullable().optional(),\n}).describe(\"Schema for a single instrument search result.\");\nexport const EodhdApisSearchInstrumentsOutput: z.ZodTypeAny = z.object({\n results: z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe(\"List of instruments matching the search query.\"),\n}).describe(\"Response model for search instruments API returning a list of matching instruments.\");\n\nexport const eodhdApisSearchInstruments = action(\"EODHD_APIS_SEARCH_INSTRUMENTS\", {\n slug: \"eodhd_apis-search-instruments\",\n name: \"Search Instruments\",\n description: \"Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only.\",\n input: EodhdApisSearchInstrumentsInput,\n output: EodhdApisSearchInstrumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACpK,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACtI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J;CAC1L,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;AACjM,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,0DAAwE,EAAE,OAAO;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CACjG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAK3D,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,SAAS,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,gDAAgD,EACrI,CAAC,CAAC,CAAC,SAAS,qFAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const eodhdApis = defineApp({\n slug: \"eodhd_apis\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,aAAA,uCAAA,CAAA,CAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const eodhdApis = defineApp({\n slug: \"eodhd_apis\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const eodhdApisCatalog = {
|
|
4
|
+
"slug": "eodhd_apis",
|
|
5
|
+
"name": "EODHD APIs",
|
|
6
|
+
"description": "EODHD APIs provide comprehensive financial data, including historical stock market data, live stock prices, fundamental data, and more, accessible via REST and WebSocket APIs.",
|
|
7
|
+
"category": "Analytics",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/eodhd_apis",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.eodhdApisCatalog = eodhdApisCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const eodhdApisCatalog = {\n \"slug\": \"eodhd_apis\",\n \"name\": \"EODHD APIs\",\n \"description\": \"EODHD APIs provide comprehensive financial data, including historical stock market data, live stock prices, fundamental data, and more, accessible via REST and WebSocket APIs.\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/eodhd_apis\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const eodhdApisCatalog: {
|
|
4
|
+
readonly slug: "eodhd_apis";
|
|
5
|
+
readonly name: "EODHD APIs";
|
|
6
|
+
readonly description: "EODHD APIs provide comprehensive financial data, including historical stock market data, live stock prices, fundamental data, and more, accessible via REST and WebSocket APIs.";
|
|
7
|
+
readonly category: "Analytics";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/eodhd_apis";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { eodhdApisCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const eodhdApisCatalog: {
|
|
4
|
+
readonly slug: "eodhd_apis";
|
|
5
|
+
readonly name: "EODHD APIs";
|
|
6
|
+
readonly description: "EODHD APIs provide comprehensive financial data, including historical stock market data, live stock prices, fundamental data, and more, accessible via REST and WebSocket APIs.";
|
|
7
|
+
readonly category: "Analytics";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/eodhd_apis";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { eodhdApisCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const eodhdApisCatalog = {
|
|
4
|
+
"slug": "eodhd_apis",
|
|
5
|
+
"name": "EODHD APIs",
|
|
6
|
+
"description": "EODHD APIs provide comprehensive financial data, including historical stock market data, live stock prices, fundamental data, and more, accessible via REST and WebSocket APIs.",
|
|
7
|
+
"category": "Analytics",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/eodhd_apis",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { eodhdApisCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const eodhdApisCatalog = {\n \"slug\": \"eodhd_apis\",\n \"name\": \"EODHD APIs\",\n \"description\": \"EODHD APIs provide comprehensive financial data, including historical stock market data, live stock prices, fundamental data, and more, accessible via REST and WebSocket APIs.\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/eodhd_apis\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "eodhd_apis";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeEodhdApisTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executeEodhdApisTool = executeEodhdApisTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"eodhd_apis\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeEodhdApisTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,qBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "eodhd_apis";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeEodhdApisTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeEodhdApisTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"eodhd_apis\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeEodhdApisTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,qBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_get_eod_yahoo_style = require("./actions/get-eod-yahoo-style.cjs");
|
|
5
|
+
const require_get_id_mapping = require("./actions/get-id-mapping.cjs");
|
|
6
|
+
const require_get_macro_indicators = require("./actions/get-macro-indicators.cjs");
|
|
7
|
+
const require_get_mutual_funds_data = require("./actions/get-mutual-funds-data.cjs");
|
|
8
|
+
const require_get_real_time_quote = require("./actions/get-real-time-quote.cjs");
|
|
9
|
+
const require_get_real_time_websocket_forex = require("./actions/get-real-time-websocket-forex.cjs");
|
|
10
|
+
const require_get_real_time_websocket_us_trade = require("./actions/get-real-time-websocket-us-trade.cjs");
|
|
11
|
+
const require_get_user_info = require("./actions/get-user-info.cjs");
|
|
12
|
+
const require_get_ust_yield_rates = require("./actions/get-ust-yield-rates.cjs");
|
|
13
|
+
const require_list_exchanges = require("./actions/list-exchanges.cjs");
|
|
14
|
+
const require_search_instruments = require("./actions/search-instruments.cjs");
|
|
15
|
+
require("./actions/index.cjs");
|
|
16
|
+
exports.eodhdApis = require_app.eodhdApis;
|
|
17
|
+
exports.eodhdApisCatalog = require_catalog.eodhdApisCatalog;
|
|
18
|
+
exports.eodhdApisGetEodYahooStyle = require_get_eod_yahoo_style.eodhdApisGetEodYahooStyle;
|
|
19
|
+
exports.eodhdApisGetIdMapping = require_get_id_mapping.eodhdApisGetIdMapping;
|
|
20
|
+
exports.eodhdApisGetMacroIndicators = require_get_macro_indicators.eodhdApisGetMacroIndicators;
|
|
21
|
+
exports.eodhdApisGetMutualFundsData = require_get_mutual_funds_data.eodhdApisGetMutualFundsData;
|
|
22
|
+
exports.eodhdApisGetRealTimeQuote = require_get_real_time_quote.eodhdApisGetRealTimeQuote;
|
|
23
|
+
exports.eodhdApisGetRealTimeWebsocketForex = require_get_real_time_websocket_forex.eodhdApisGetRealTimeWebsocketForex;
|
|
24
|
+
exports.eodhdApisGetRealTimeWebsocketUsTrade = require_get_real_time_websocket_us_trade.eodhdApisGetRealTimeWebsocketUsTrade;
|
|
25
|
+
exports.eodhdApisGetUserInfo = require_get_user_info.eodhdApisGetUserInfo;
|
|
26
|
+
exports.eodhdApisGetUstYieldRates = require_get_ust_yield_rates.eodhdApisGetUstYieldRates;
|
|
27
|
+
exports.eodhdApisListExchanges = require_list_exchanges.eodhdApisListExchanges;
|
|
28
|
+
exports.eodhdApisSearchInstruments = require_search_instruments.eodhdApisSearchInstruments;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { eodhdApisGetEodYahooStyle } from "./actions/get-eod-yahoo-style.cjs";
|
|
2
|
+
import { eodhdApisGetIdMapping } from "./actions/get-id-mapping.cjs";
|
|
3
|
+
import { eodhdApisGetMacroIndicators } from "./actions/get-macro-indicators.cjs";
|
|
4
|
+
import { eodhdApisGetMutualFundsData } from "./actions/get-mutual-funds-data.cjs";
|
|
5
|
+
import { eodhdApisGetRealTimeQuote } from "./actions/get-real-time-quote.cjs";
|
|
6
|
+
import { eodhdApisGetRealTimeWebsocketForex } from "./actions/get-real-time-websocket-forex.cjs";
|
|
7
|
+
import { eodhdApisGetRealTimeWebsocketUsTrade } from "./actions/get-real-time-websocket-us-trade.cjs";
|
|
8
|
+
import { eodhdApisGetUserInfo } from "./actions/get-user-info.cjs";
|
|
9
|
+
import { eodhdApisGetUstYieldRates } from "./actions/get-ust-yield-rates.cjs";
|
|
10
|
+
import { eodhdApisListExchanges } from "./actions/list-exchanges.cjs";
|
|
11
|
+
import { eodhdApisSearchInstruments } from "./actions/search-instruments.cjs";
|
|
12
|
+
import { eodhdApis } from "./app.cjs";
|
|
13
|
+
import { eodhdApisCatalog } from "./catalog.cjs";
|
|
14
|
+
export { eodhdApis, eodhdApisCatalog, eodhdApisGetEodYahooStyle, eodhdApisGetIdMapping, eodhdApisGetMacroIndicators, eodhdApisGetMutualFundsData, eodhdApisGetRealTimeQuote, eodhdApisGetRealTimeWebsocketForex, eodhdApisGetRealTimeWebsocketUsTrade, eodhdApisGetUserInfo, eodhdApisGetUstYieldRates, eodhdApisListExchanges, eodhdApisSearchInstruments };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { eodhdApisGetEodYahooStyle } from "./actions/get-eod-yahoo-style.mjs";
|
|
2
|
+
import { eodhdApisGetIdMapping } from "./actions/get-id-mapping.mjs";
|
|
3
|
+
import { eodhdApisGetMacroIndicators } from "./actions/get-macro-indicators.mjs";
|
|
4
|
+
import { eodhdApisGetMutualFundsData } from "./actions/get-mutual-funds-data.mjs";
|
|
5
|
+
import { eodhdApisGetRealTimeQuote } from "./actions/get-real-time-quote.mjs";
|
|
6
|
+
import { eodhdApisGetRealTimeWebsocketForex } from "./actions/get-real-time-websocket-forex.mjs";
|
|
7
|
+
import { eodhdApisGetRealTimeWebsocketUsTrade } from "./actions/get-real-time-websocket-us-trade.mjs";
|
|
8
|
+
import { eodhdApisGetUserInfo } from "./actions/get-user-info.mjs";
|
|
9
|
+
import { eodhdApisGetUstYieldRates } from "./actions/get-ust-yield-rates.mjs";
|
|
10
|
+
import { eodhdApisListExchanges } from "./actions/list-exchanges.mjs";
|
|
11
|
+
import { eodhdApisSearchInstruments } from "./actions/search-instruments.mjs";
|
|
12
|
+
import { eodhdApis } from "./app.mjs";
|
|
13
|
+
import { eodhdApisCatalog } from "./catalog.mjs";
|
|
14
|
+
export { eodhdApis, eodhdApisCatalog, eodhdApisGetEodYahooStyle, eodhdApisGetIdMapping, eodhdApisGetMacroIndicators, eodhdApisGetMutualFundsData, eodhdApisGetRealTimeQuote, eodhdApisGetRealTimeWebsocketForex, eodhdApisGetRealTimeWebsocketUsTrade, eodhdApisGetUserInfo, eodhdApisGetUstYieldRates, eodhdApisListExchanges, eodhdApisSearchInstruments };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { eodhdApis } from "./app.mjs";
|
|
2
|
+
import { eodhdApisCatalog } from "./catalog.mjs";
|
|
3
|
+
import { eodhdApisGetEodYahooStyle } from "./actions/get-eod-yahoo-style.mjs";
|
|
4
|
+
import { eodhdApisGetIdMapping } from "./actions/get-id-mapping.mjs";
|
|
5
|
+
import { eodhdApisGetMacroIndicators } from "./actions/get-macro-indicators.mjs";
|
|
6
|
+
import { eodhdApisGetMutualFundsData } from "./actions/get-mutual-funds-data.mjs";
|
|
7
|
+
import { eodhdApisGetRealTimeQuote } from "./actions/get-real-time-quote.mjs";
|
|
8
|
+
import { eodhdApisGetRealTimeWebsocketForex } from "./actions/get-real-time-websocket-forex.mjs";
|
|
9
|
+
import { eodhdApisGetRealTimeWebsocketUsTrade } from "./actions/get-real-time-websocket-us-trade.mjs";
|
|
10
|
+
import { eodhdApisGetUserInfo } from "./actions/get-user-info.mjs";
|
|
11
|
+
import { eodhdApisGetUstYieldRates } from "./actions/get-ust-yield-rates.mjs";
|
|
12
|
+
import { eodhdApisListExchanges } from "./actions/list-exchanges.mjs";
|
|
13
|
+
import { eodhdApisSearchInstruments } from "./actions/search-instruments.mjs";
|
|
14
|
+
import "./actions/index.mjs";
|
|
15
|
+
export { eodhdApis, eodhdApisCatalog, eodhdApisGetEodYahooStyle, eodhdApisGetIdMapping, eodhdApisGetMacroIndicators, eodhdApisGetMutualFundsData, eodhdApisGetRealTimeQuote, eodhdApisGetRealTimeWebsocketForex, eodhdApisGetRealTimeWebsocketUsTrade, eodhdApisGetUserInfo, eodhdApisGetUstYieldRates, eodhdApisListExchanges, eodhdApisSearchInstruments };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/eodhd_apis",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
11
|
+
"directory": "packages/integrations/eodhd_apis"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./actions": {
|
|
28
|
+
"types": "./dist/actions/index.d.mts",
|
|
29
|
+
"import": "./dist/actions/index.mjs",
|
|
30
|
+
"require": "./dist/actions/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@keystrokehq/keystroke": "^0.1.4",
|
|
35
|
+
"zod": "^4.4.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@keystrokehq/keystroke": "link:../../keystroke",
|
|
39
|
+
"@types/node": "^25.9.1",
|
|
40
|
+
"tsdown": "^0.22.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"zod": "^4.4.3"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown",
|
|
46
|
+
"dev": "tsdown --watch --no-clean",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
}
|
|
49
|
+
}
|