@keystrokehq/eodhd_apis 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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-eod-yahoo-style.cjs +1 -0
- package/dist/actions/get-eod-yahoo-style.cjs.map +1 -1
- package/dist/actions/get-eod-yahoo-style.d.cts +3 -11
- package/dist/actions/get-eod-yahoo-style.d.cts.map +1 -1
- package/dist/actions/get-eod-yahoo-style.d.mts +3 -11
- package/dist/actions/get-eod-yahoo-style.d.mts.map +1 -1
- package/dist/actions/get-eod-yahoo-style.mjs +1 -0
- package/dist/actions/get-eod-yahoo-style.mjs.map +1 -1
- package/dist/actions/get-id-mapping.cjs +1 -0
- package/dist/actions/get-id-mapping.cjs.map +1 -1
- package/dist/actions/get-id-mapping.d.cts +3 -12
- package/dist/actions/get-id-mapping.d.cts.map +1 -1
- package/dist/actions/get-id-mapping.d.mts +3 -12
- package/dist/actions/get-id-mapping.d.mts.map +1 -1
- package/dist/actions/get-id-mapping.mjs +1 -0
- package/dist/actions/get-id-mapping.mjs.map +1 -1
- package/dist/actions/get-macro-indicators.cjs +1 -0
- package/dist/actions/get-macro-indicators.cjs.map +1 -1
- package/dist/actions/get-macro-indicators.d.cts +3 -4
- package/dist/actions/get-macro-indicators.d.cts.map +1 -1
- package/dist/actions/get-macro-indicators.d.mts +3 -4
- package/dist/actions/get-macro-indicators.d.mts.map +1 -1
- package/dist/actions/get-macro-indicators.mjs +1 -0
- package/dist/actions/get-macro-indicators.mjs.map +1 -1
- package/dist/actions/get-mutual-funds-data.cjs +1 -0
- package/dist/actions/get-mutual-funds-data.cjs.map +1 -1
- package/dist/actions/get-mutual-funds-data.d.cts +3 -4
- package/dist/actions/get-mutual-funds-data.d.cts.map +1 -1
- package/dist/actions/get-mutual-funds-data.d.mts +3 -4
- package/dist/actions/get-mutual-funds-data.d.mts.map +1 -1
- package/dist/actions/get-mutual-funds-data.mjs +1 -0
- package/dist/actions/get-mutual-funds-data.mjs.map +1 -1
- package/dist/actions/get-real-time-quote.cjs +1 -0
- package/dist/actions/get-real-time-quote.cjs.map +1 -1
- package/dist/actions/get-real-time-quote.d.cts +3 -5
- package/dist/actions/get-real-time-quote.d.cts.map +1 -1
- package/dist/actions/get-real-time-quote.d.mts +3 -5
- package/dist/actions/get-real-time-quote.d.mts.map +1 -1
- package/dist/actions/get-real-time-quote.mjs +1 -0
- package/dist/actions/get-real-time-quote.mjs.map +1 -1
- package/dist/actions/get-real-time-websocket-forex.cjs +1 -0
- package/dist/actions/get-real-time-websocket-forex.cjs.map +1 -1
- package/dist/actions/get-real-time-websocket-forex.d.cts +3 -3
- package/dist/actions/get-real-time-websocket-forex.d.cts.map +1 -1
- package/dist/actions/get-real-time-websocket-forex.d.mts +3 -3
- package/dist/actions/get-real-time-websocket-forex.d.mts.map +1 -1
- package/dist/actions/get-real-time-websocket-forex.mjs +1 -0
- package/dist/actions/get-real-time-websocket-forex.mjs.map +1 -1
- package/dist/actions/get-real-time-websocket-us-trade.cjs +1 -0
- package/dist/actions/get-real-time-websocket-us-trade.cjs.map +1 -1
- package/dist/actions/get-real-time-websocket-us-trade.d.cts +3 -4
- package/dist/actions/get-real-time-websocket-us-trade.d.cts.map +1 -1
- package/dist/actions/get-real-time-websocket-us-trade.d.mts +3 -4
- package/dist/actions/get-real-time-websocket-us-trade.d.mts.map +1 -1
- package/dist/actions/get-real-time-websocket-us-trade.mjs +1 -0
- package/dist/actions/get-real-time-websocket-us-trade.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +1 -0
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +3 -3
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +3 -3
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +1 -0
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-ust-yield-rates.cjs +1 -0
- package/dist/actions/get-ust-yield-rates.cjs.map +1 -1
- package/dist/actions/get-ust-yield-rates.d.cts +3 -7
- package/dist/actions/get-ust-yield-rates.d.cts.map +1 -1
- package/dist/actions/get-ust-yield-rates.d.mts +3 -7
- package/dist/actions/get-ust-yield-rates.d.mts.map +1 -1
- package/dist/actions/get-ust-yield-rates.mjs +1 -0
- package/dist/actions/get-ust-yield-rates.mjs.map +1 -1
- package/dist/actions/list-exchanges.cjs +1 -0
- package/dist/actions/list-exchanges.cjs.map +1 -1
- package/dist/actions/list-exchanges.d.cts +3 -3
- package/dist/actions/list-exchanges.d.cts.map +1 -1
- package/dist/actions/list-exchanges.d.mts +3 -3
- package/dist/actions/list-exchanges.d.mts.map +1 -1
- package/dist/actions/list-exchanges.mjs +1 -0
- package/dist/actions/list-exchanges.mjs.map +1 -1
- package/dist/actions/search-instruments.cjs +1 -0
- package/dist/actions/search-instruments.cjs.map +1 -1
- package/dist/actions/search-instruments.d.cts +3 -6
- package/dist/actions/search-instruments.d.cts.map +1 -1
- package/dist/actions/search-instruments.d.mts +3 -6
- package/dist/actions/search-instruments.d.mts.map +1 -1
- package/dist/actions/search-instruments.mjs +1 -0
- package/dist/actions/search-instruments.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["eodhdApis","executeEodhdApisTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { eodhdApis } from \"./app\";\nimport { executeEodhdApisTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["eodhdApis","executeEodhdApisTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { eodhdApis } from \"./app\";\nimport { executeEodhdApisTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof eodhdApis.credential> {\n return eodhdApis.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeEodhdApisTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { eodhdApis } from \"./app\";\nimport { executeEodhdApisTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { eodhdApis } from \"./app\";\nimport { executeEodhdApisTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof eodhdApis.credential> {\n return eodhdApis.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeEodhdApisTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-eod-yahoo-style.cjs","names":["z","action"],"sources":["../../src/actions/get-eod-yahoo-style.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetEodYahooStyleInput = z.object({\n a: z.string().describe(\"Start month in Yahoo Finance format (0-11, where 0=January, 11=December). For example, use '00' for January, '05' for June, '11' for December.\"),\n b: z.string().describe(\"Start day of month (01-31). Use two-digit format with leading zero if needed (e.g., '01', '05', '15', '31').\"),\n c: z.string().describe(\"Start year in YYYY format (e.g., '2017', '2020', '2024').\"),\n d: z.string().describe(\"End month in Yahoo Finance format (0-11, where 0=January, 11=December). For example, use '00' for January, '05' for June, '11' for December.\"),\n e: z.string().describe(\"End day of month (01-31). Use two-digit format with leading zero if needed (e.g., '01', '05', '15', '31').\"),\n f: z.string().describe(\"End year in YYYY format (e.g., '2017', '2020', '2024').\"),\n g: z.enum([\"d\", \"w\", \"m\"]).describe(\"Data period/frequency. 'd' for daily (default), 'w' for weekly, 'm' for monthly. Weekly data shows data for Fridays; monthly data shows end-of-month values.\"),\n s: z.string().describe(\"Stock symbol with exchange suffix in format 'TICKER.EXCHANGE' (e.g., 'MCD.US' for McDonald's on US exchanges, 'AAPL.US' for Apple, 'BP.LSE' for BP on London Stock Exchange).\"),\n fmt: z.string().describe(\"Output format for the response. Note: The Yahoo Finance style endpoint only supports CSV format internally. This parameter is kept for API compatibility but is not sent to the server. The action will always parse CSV and return JSON.\").optional(),\n}).describe(\"Request parameters for EODHD_APIS_GET_EOD_YAHOO_STYLE\");\nexport const EodhdApisGetEodYahooStyleOutput = z.unknown();\n\nexport const eodhdApisGetEodYahooStyle = action(\"EODHD_APIS_GET_EOD_YAHOO_STYLE\", {\n slug: \"eodhd_apis-get-eod-yahoo-style\",\n name: \"Get EOD Yahoo Style Data\",\n description: \"Retrieves end-of-day historical stock price data using Yahoo Finance style parameters via EODHD API. Returns OHLCV (Open, High, Low, Close, Volume) data plus adjusted close prices for stocks, ETFs, mutual funds, bonds, and other securities across 70+ global exchanges. Use this alternative API when you need Yahoo Finance compatible date parameters (a/b/c for start date, d/e/f for end date with 0-indexed months).\",\n input: EodhdApisGetEodYahooStyleInput,\n output: EodhdApisGetEodYahooStyleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-eod-yahoo-style.cjs","names":["z","action"],"sources":["../../src/actions/get-eod-yahoo-style.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetEodYahooStyleInput = z.object({\n a: z.string().describe(\"Start month in Yahoo Finance format (0-11, where 0=January, 11=December). For example, use '00' for January, '05' for June, '11' for December.\"),\n b: z.string().describe(\"Start day of month (01-31). Use two-digit format with leading zero if needed (e.g., '01', '05', '15', '31').\"),\n c: z.string().describe(\"Start year in YYYY format (e.g., '2017', '2020', '2024').\"),\n d: z.string().describe(\"End month in Yahoo Finance format (0-11, where 0=January, 11=December). For example, use '00' for January, '05' for June, '11' for December.\"),\n e: z.string().describe(\"End day of month (01-31). Use two-digit format with leading zero if needed (e.g., '01', '05', '15', '31').\"),\n f: z.string().describe(\"End year in YYYY format (e.g., '2017', '2020', '2024').\"),\n g: z.enum([\"d\", \"w\", \"m\"]).describe(\"Data period/frequency. 'd' for daily (default), 'w' for weekly, 'm' for monthly. Weekly data shows data for Fridays; monthly data shows end-of-month values.\"),\n s: z.string().describe(\"Stock symbol with exchange suffix in format 'TICKER.EXCHANGE' (e.g., 'MCD.US' for McDonald's on US exchanges, 'AAPL.US' for Apple, 'BP.LSE' for BP on London Stock Exchange).\"),\n fmt: z.string().describe(\"Output format for the response. Note: The Yahoo Finance style endpoint only supports CSV format internally. This parameter is kept for API compatibility but is not sent to the server. The action will always parse CSV and return JSON.\").optional(),\n}).describe(\"Request parameters for EODHD_APIS_GET_EOD_YAHOO_STYLE\");\nexport const EodhdApisGetEodYahooStyleOutput = z.unknown();\n\nexport const eodhdApisGetEodYahooStyle: AppAction<\n typeof EodhdApisGetEodYahooStyleInput,\n typeof EodhdApisGetEodYahooStyleOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_GET_EOD_YAHOO_STYLE\", {\n slug: \"eodhd_apis-get-eod-yahoo-style\",\n name: \"Get EOD Yahoo Style Data\",\n description: \"Retrieves end-of-day historical stock price data using Yahoo Finance style parameters via EODHD API. Returns OHLCV (Open, High, Low, Close, Volume) data plus adjusted close prices for stocks, ETFs, mutual funds, bonds, and other securities across 70+ global exchanges. Use this alternative API when you need Yahoo Finance compatible date parameters (a/b/c for start date, d/e/f for end date with 0-indexed months).\",\n input: EodhdApisGetEodYahooStyleInput,\n output: EodhdApisGetEodYahooStyleOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CACvK,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CACrI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAClF,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;CACrK,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACnI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAChF,GAAGA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,8JAA8J;CAClM,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K;CACtM,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2OAA2O,CAAC,CAAC,SAAS;AACjR,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,kCAAkCA,IAAAA,EAAE,QAAQ;AAEzD,MAAa,4BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { eodhdApis } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-eod-yahoo-style.d.ts
|
|
@@ -17,17 +19,7 @@ declare const EodhdApisGetEodYahooStyleInput: z.ZodObject<{
|
|
|
17
19
|
fmt: z.ZodOptional<z.ZodString>;
|
|
18
20
|
}, z.core.$strip>;
|
|
19
21
|
declare const EodhdApisGetEodYahooStyleOutput: z.ZodUnknown;
|
|
20
|
-
declare const eodhdApisGetEodYahooStyle:
|
|
21
|
-
a: string;
|
|
22
|
-
b: string;
|
|
23
|
-
c: string;
|
|
24
|
-
d: string;
|
|
25
|
-
e: string;
|
|
26
|
-
f: string;
|
|
27
|
-
g: "d" | "w" | "m";
|
|
28
|
-
s: string;
|
|
29
|
-
fmt?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
declare const eodhdApisGetEodYahooStyle: AppAction<typeof EodhdApisGetEodYahooStyleInput, typeof EodhdApisGetEodYahooStyleOutput, typeof eodhdApis.credential>;
|
|
31
23
|
//#endregion
|
|
32
24
|
export { eodhdApisGetEodYahooStyle };
|
|
33
25
|
//# sourceMappingURL=get-eod-yahoo-style.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-eod-yahoo-style.d.cts","names":[],"sources":["../../src/actions/get-eod-yahoo-style.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-eod-yahoo-style.d.cts","names":[],"sources":["../../src/actions/get-eod-yahoo-style.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { eodhdApis } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-eod-yahoo-style.d.ts
|
|
@@ -17,17 +19,7 @@ declare const EodhdApisGetEodYahooStyleInput: z.ZodObject<{
|
|
|
17
19
|
fmt: z.ZodOptional<z.ZodString>;
|
|
18
20
|
}, z.core.$strip>;
|
|
19
21
|
declare const EodhdApisGetEodYahooStyleOutput: z.ZodUnknown;
|
|
20
|
-
declare const eodhdApisGetEodYahooStyle:
|
|
21
|
-
a: string;
|
|
22
|
-
b: string;
|
|
23
|
-
c: string;
|
|
24
|
-
d: string;
|
|
25
|
-
e: string;
|
|
26
|
-
f: string;
|
|
27
|
-
g: "d" | "w" | "m";
|
|
28
|
-
s: string;
|
|
29
|
-
fmt?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
declare const eodhdApisGetEodYahooStyle: AppAction<typeof EodhdApisGetEodYahooStyleInput, typeof EodhdApisGetEodYahooStyleOutput, typeof eodhdApis.credential>;
|
|
31
23
|
//#endregion
|
|
32
24
|
export { eodhdApisGetEodYahooStyle };
|
|
33
25
|
//# sourceMappingURL=get-eod-yahoo-style.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-eod-yahoo-style.d.mts","names":[],"sources":["../../src/actions/get-eod-yahoo-style.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-eod-yahoo-style.d.mts","names":[],"sources":["../../src/actions/get-eod-yahoo-style.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-eod-yahoo-style.mjs","names":[],"sources":["../../src/actions/get-eod-yahoo-style.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetEodYahooStyleInput = z.object({\n a: z.string().describe(\"Start month in Yahoo Finance format (0-11, where 0=January, 11=December). For example, use '00' for January, '05' for June, '11' for December.\"),\n b: z.string().describe(\"Start day of month (01-31). Use two-digit format with leading zero if needed (e.g., '01', '05', '15', '31').\"),\n c: z.string().describe(\"Start year in YYYY format (e.g., '2017', '2020', '2024').\"),\n d: z.string().describe(\"End month in Yahoo Finance format (0-11, where 0=January, 11=December). For example, use '00' for January, '05' for June, '11' for December.\"),\n e: z.string().describe(\"End day of month (01-31). Use two-digit format with leading zero if needed (e.g., '01', '05', '15', '31').\"),\n f: z.string().describe(\"End year in YYYY format (e.g., '2017', '2020', '2024').\"),\n g: z.enum([\"d\", \"w\", \"m\"]).describe(\"Data period/frequency. 'd' for daily (default), 'w' for weekly, 'm' for monthly. Weekly data shows data for Fridays; monthly data shows end-of-month values.\"),\n s: z.string().describe(\"Stock symbol with exchange suffix in format 'TICKER.EXCHANGE' (e.g., 'MCD.US' for McDonald's on US exchanges, 'AAPL.US' for Apple, 'BP.LSE' for BP on London Stock Exchange).\"),\n fmt: z.string().describe(\"Output format for the response. Note: The Yahoo Finance style endpoint only supports CSV format internally. This parameter is kept for API compatibility but is not sent to the server. The action will always parse CSV and return JSON.\").optional(),\n}).describe(\"Request parameters for EODHD_APIS_GET_EOD_YAHOO_STYLE\");\nexport const EodhdApisGetEodYahooStyleOutput = z.unknown();\n\nexport const eodhdApisGetEodYahooStyle = action(\"EODHD_APIS_GET_EOD_YAHOO_STYLE\", {\n slug: \"eodhd_apis-get-eod-yahoo-style\",\n name: \"Get EOD Yahoo Style Data\",\n description: \"Retrieves end-of-day historical stock price data using Yahoo Finance style parameters via EODHD API. Returns OHLCV (Open, High, Low, Close, Volume) data plus adjusted close prices for stocks, ETFs, mutual funds, bonds, and other securities across 70+ global exchanges. Use this alternative API when you need Yahoo Finance compatible date parameters (a/b/c for start date, d/e/f for end date with 0-indexed months).\",\n input: EodhdApisGetEodYahooStyleInput,\n output: EodhdApisGetEodYahooStyleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-eod-yahoo-style.mjs","names":[],"sources":["../../src/actions/get-eod-yahoo-style.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetEodYahooStyleInput = z.object({\n a: z.string().describe(\"Start month in Yahoo Finance format (0-11, where 0=January, 11=December). For example, use '00' for January, '05' for June, '11' for December.\"),\n b: z.string().describe(\"Start day of month (01-31). Use two-digit format with leading zero if needed (e.g., '01', '05', '15', '31').\"),\n c: z.string().describe(\"Start year in YYYY format (e.g., '2017', '2020', '2024').\"),\n d: z.string().describe(\"End month in Yahoo Finance format (0-11, where 0=January, 11=December). For example, use '00' for January, '05' for June, '11' for December.\"),\n e: z.string().describe(\"End day of month (01-31). Use two-digit format with leading zero if needed (e.g., '01', '05', '15', '31').\"),\n f: z.string().describe(\"End year in YYYY format (e.g., '2017', '2020', '2024').\"),\n g: z.enum([\"d\", \"w\", \"m\"]).describe(\"Data period/frequency. 'd' for daily (default), 'w' for weekly, 'm' for monthly. Weekly data shows data for Fridays; monthly data shows end-of-month values.\"),\n s: z.string().describe(\"Stock symbol with exchange suffix in format 'TICKER.EXCHANGE' (e.g., 'MCD.US' for McDonald's on US exchanges, 'AAPL.US' for Apple, 'BP.LSE' for BP on London Stock Exchange).\"),\n fmt: z.string().describe(\"Output format for the response. Note: The Yahoo Finance style endpoint only supports CSV format internally. This parameter is kept for API compatibility but is not sent to the server. The action will always parse CSV and return JSON.\").optional(),\n}).describe(\"Request parameters for EODHD_APIS_GET_EOD_YAHOO_STYLE\");\nexport const EodhdApisGetEodYahooStyleOutput = z.unknown();\n\nexport const eodhdApisGetEodYahooStyle: AppAction<\n typeof EodhdApisGetEodYahooStyleInput,\n typeof EodhdApisGetEodYahooStyleOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_GET_EOD_YAHOO_STYLE\", {\n slug: \"eodhd_apis-get-eod-yahoo-style\",\n name: \"Get EOD Yahoo Style Data\",\n description: \"Retrieves end-of-day historical stock price data using Yahoo Finance style parameters via EODHD API. Returns OHLCV (Open, High, Low, Close, Volume) data plus adjusted close prices for stocks, ETFs, mutual funds, bonds, and other securities across 70+ global exchanges. Use this alternative API when you need Yahoo Finance compatible date parameters (a/b/c for start date, d/e/f for end date with 0-indexed months).\",\n input: EodhdApisGetEodYahooStyleInput,\n output: EodhdApisGetEodYahooStyleOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,4BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB4C,EAAE,OAAO;EACrD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;EACvK,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;EACrI,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAClF,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;EACrK,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;EACnI,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EAChF,GAAG,EAAE,KAAK;GAAC;GAAK;GAAK;EAAG,CAAC,CAAC,CAAC,SAAS,8JAA8J;EAClM,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K;EACtM,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2OAA2O,CAAC,CAAC,SAAS;CACjR,CAAC,CAAC,CAAC,SAAS,uDAWH;CACP,QAX6C,EAAE,QAWvC;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-id-mapping.cjs","names":["z","action"],"sources":["../../src/actions/get-id-mapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetIdMappingInput = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n filter_ex: z.string().describe(\"Filter by exchange code (e.g., 'US', 'LSE', 'XETRA'). Use this to get all symbols from a specific exchange.\").optional(),\n filter_cik: z.string().describe(\"Filter by CIK (Central Index Key) identifier used by the SEC. Use this to find securities associated with a specific SEC filer.\").optional(),\n filter_lei: z.string().describe(\"Filter by LEI (Legal Entity Identifier). Use this to find securities associated with a specific legal entity.\").optional(),\n page_limit: z.number().int().describe(\"Maximum number of results to return per page. Default is 1000.\").optional(),\n filter_figi: z.string().describe(\"Filter by FIGI (Financial Instrument Global Identifier). Use this to find the ticker symbol and other identifiers for a given FIGI.\").optional(),\n filter_isin: z.string().describe(\"Filter by ISIN (International Securities Identification Number) identifier. Use this to find the ticker symbol and other identifiers for a given ISIN.\").optional(),\n page_offset: z.number().int().describe(\"Number of results to skip for pagination. Use this to retrieve subsequent pages of results.\").optional(),\n filter_cusip: z.string().describe(\"Filter by CUSIP (Committee on Uniform Securities Identification Procedures) identifier. Use this to find the ticker symbol and other identifiers for a given CUSIP.\").optional(),\n filter_symbol: z.string().describe(\"Filter by ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US'). Use this to find other identifiers for a given ticker symbol.\").optional(),\n}).describe(\"Request parameters for ID mapping endpoint to convert between security identifiers.\\nAt least one filter parameter must be provided.\");\nconst EodhdApisGetIdMapping_IdMappingRecordSchema = z.object({\n cik: z.string().describe(\"CIK (Central Index Key) identifier used by the SEC.\").nullable().optional(),\n lei: z.string().describe(\"LEI (Legal Entity Identifier).\").nullable().optional(),\n figi: z.string().describe(\"FIGI (Financial Instrument Global Identifier).\").nullable().optional(),\n isin: z.string().describe(\"ISIN (International Securities Identification Number) identifier.\").nullable().optional(),\n cusip: z.string().describe(\"CUSIP (Committee on Uniform Securities Identification Procedures) identifier.\").nullable().optional(),\n symbol: z.string().describe(\"Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').\").nullable().optional(),\n}).passthrough().describe(\"A single ID mapping record containing various security identifiers.\");\nconst EodhdApisGetIdMapping_IdMappingMetaSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of results returned in this response.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of results available for the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped (pagination offset).\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the ID mapping response including pagination information.\");\nconst EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through result sets.\");\nexport const EodhdApisGetIdMappingOutput = z.object({\n data: z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe(\"List of ID mapping records, each containing various security identifiers.\").nullable().optional(),\n meta: EodhdApisGetIdMapping_IdMappingMetaSchema.nullable().optional(),\n links: EodhdApisGetIdMapping_IdMappingLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for ID mapping endpoint containing security identifier mappings.\");\n\nexport const eodhdApisGetIdMapping = action(\"EODHD_APIS_GET_ID_MAPPING\", {\n slug: \"eodhd_apis-get-id-mapping\",\n name: \"Get ID Mapping\",\n description: \"Tool to convert between different security identifiers (CUSIP, ISIN, FIGI, LEI, CIK, ticker symbol). Use when you need to map one type of identifier to another, normalize portfolio data, or cross-reference securities across different systems. At least one filter parameter must be provided.\",\n input: EodhdApisGetIdMappingInput,\n output: EodhdApisGetIdMappingOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-id-mapping.cjs","names":["z","action"],"sources":["../../src/actions/get-id-mapping.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetIdMappingInput = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n filter_ex: z.string().describe(\"Filter by exchange code (e.g., 'US', 'LSE', 'XETRA'). Use this to get all symbols from a specific exchange.\").optional(),\n filter_cik: z.string().describe(\"Filter by CIK (Central Index Key) identifier used by the SEC. Use this to find securities associated with a specific SEC filer.\").optional(),\n filter_lei: z.string().describe(\"Filter by LEI (Legal Entity Identifier). Use this to find securities associated with a specific legal entity.\").optional(),\n page_limit: z.number().int().describe(\"Maximum number of results to return per page. Default is 1000.\").optional(),\n filter_figi: z.string().describe(\"Filter by FIGI (Financial Instrument Global Identifier). Use this to find the ticker symbol and other identifiers for a given FIGI.\").optional(),\n filter_isin: z.string().describe(\"Filter by ISIN (International Securities Identification Number) identifier. Use this to find the ticker symbol and other identifiers for a given ISIN.\").optional(),\n page_offset: z.number().int().describe(\"Number of results to skip for pagination. Use this to retrieve subsequent pages of results.\").optional(),\n filter_cusip: z.string().describe(\"Filter by CUSIP (Committee on Uniform Securities Identification Procedures) identifier. Use this to find the ticker symbol and other identifiers for a given CUSIP.\").optional(),\n filter_symbol: z.string().describe(\"Filter by ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US'). Use this to find other identifiers for a given ticker symbol.\").optional(),\n}).describe(\"Request parameters for ID mapping endpoint to convert between security identifiers.\\nAt least one filter parameter must be provided.\");\nconst EodhdApisGetIdMapping_IdMappingRecordSchema = z.object({\n cik: z.string().describe(\"CIK (Central Index Key) identifier used by the SEC.\").nullable().optional(),\n lei: z.string().describe(\"LEI (Legal Entity Identifier).\").nullable().optional(),\n figi: z.string().describe(\"FIGI (Financial Instrument Global Identifier).\").nullable().optional(),\n isin: z.string().describe(\"ISIN (International Securities Identification Number) identifier.\").nullable().optional(),\n cusip: z.string().describe(\"CUSIP (Committee on Uniform Securities Identification Procedures) identifier.\").nullable().optional(),\n symbol: z.string().describe(\"Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').\").nullable().optional(),\n}).passthrough().describe(\"A single ID mapping record containing various security identifiers.\");\nconst EodhdApisGetIdMapping_IdMappingMetaSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of results returned in this response.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of results available for the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped (pagination offset).\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the ID mapping response including pagination information.\");\nconst EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through result sets.\");\nexport const EodhdApisGetIdMappingOutput = z.object({\n data: z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe(\"List of ID mapping records, each containing various security identifiers.\").nullable().optional(),\n meta: EodhdApisGetIdMapping_IdMappingMetaSchema.nullable().optional(),\n links: EodhdApisGetIdMapping_IdMappingLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for ID mapping endpoint containing security identifier mappings.\");\n\nexport const eodhdApisGetIdMapping: AppAction<\n typeof EodhdApisGetIdMappingInput,\n typeof EodhdApisGetIdMappingOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_GET_ID_MAPPING\", {\n slug: \"eodhd_apis-get-id-mapping\",\n name: \"Get ID Mapping\",\n description: \"Tool to convert between different security identifiers (CUSIP, ISIN, FIGI, LEI, CIK, ticker symbol). Use when you need to map one type of identifier to another, normalize portfolio data, or cross-reference securities across different systems. At least one filter parameter must be provided.\",\n input: EodhdApisGetIdMappingInput,\n output: EodhdApisGetIdMappingOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { eodhdApis } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-id-mapping.d.ts
|
|
@@ -31,18 +33,7 @@ declare const EodhdApisGetIdMappingOutput: z.ZodObject<{
|
|
|
31
33
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
34
|
}, z.core.$loose>>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const eodhdApisGetIdMapping:
|
|
35
|
-
fmt?: string | undefined;
|
|
36
|
-
filter_ex?: string | undefined;
|
|
37
|
-
filter_cik?: string | undefined;
|
|
38
|
-
filter_lei?: string | undefined;
|
|
39
|
-
page_limit?: number | undefined;
|
|
40
|
-
filter_figi?: string | undefined;
|
|
41
|
-
filter_isin?: string | undefined;
|
|
42
|
-
page_offset?: number | undefined;
|
|
43
|
-
filter_cusip?: string | undefined;
|
|
44
|
-
filter_symbol?: string | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
|
+
declare const eodhdApisGetIdMapping: AppAction<typeof EodhdApisGetIdMappingInput, typeof EodhdApisGetIdMappingOutput, typeof eodhdApis.credential>;
|
|
46
37
|
//#endregion
|
|
47
38
|
export { eodhdApisGetIdMapping };
|
|
48
39
|
//# sourceMappingURL=get-id-mapping.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-id-mapping.d.cts","names":[],"sources":["../../src/actions/get-id-mapping.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-id-mapping.d.cts","names":[],"sources":["../../src/actions/get-id-mapping.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;cA4B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { eodhdApis } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-id-mapping.d.ts
|
|
@@ -31,18 +33,7 @@ declare const EodhdApisGetIdMappingOutput: z.ZodObject<{
|
|
|
31
33
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
34
|
}, z.core.$loose>>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const eodhdApisGetIdMapping:
|
|
35
|
-
fmt?: string | undefined;
|
|
36
|
-
filter_ex?: string | undefined;
|
|
37
|
-
filter_cik?: string | undefined;
|
|
38
|
-
filter_lei?: string | undefined;
|
|
39
|
-
page_limit?: number | undefined;
|
|
40
|
-
filter_figi?: string | undefined;
|
|
41
|
-
filter_isin?: string | undefined;
|
|
42
|
-
page_offset?: number | undefined;
|
|
43
|
-
filter_cusip?: string | undefined;
|
|
44
|
-
filter_symbol?: string | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
|
+
declare const eodhdApisGetIdMapping: AppAction<typeof EodhdApisGetIdMappingInput, typeof EodhdApisGetIdMappingOutput, typeof eodhdApis.credential>;
|
|
46
37
|
//#endregion
|
|
47
38
|
export { eodhdApisGetIdMapping };
|
|
48
39
|
//# sourceMappingURL=get-id-mapping.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-id-mapping.d.mts","names":[],"sources":["../../src/actions/get-id-mapping.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-id-mapping.d.mts","names":[],"sources":["../../src/actions/get-id-mapping.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;cA4B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-id-mapping.mjs","names":[],"sources":["../../src/actions/get-id-mapping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetIdMappingInput = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n filter_ex: z.string().describe(\"Filter by exchange code (e.g., 'US', 'LSE', 'XETRA'). Use this to get all symbols from a specific exchange.\").optional(),\n filter_cik: z.string().describe(\"Filter by CIK (Central Index Key) identifier used by the SEC. Use this to find securities associated with a specific SEC filer.\").optional(),\n filter_lei: z.string().describe(\"Filter by LEI (Legal Entity Identifier). Use this to find securities associated with a specific legal entity.\").optional(),\n page_limit: z.number().int().describe(\"Maximum number of results to return per page. Default is 1000.\").optional(),\n filter_figi: z.string().describe(\"Filter by FIGI (Financial Instrument Global Identifier). Use this to find the ticker symbol and other identifiers for a given FIGI.\").optional(),\n filter_isin: z.string().describe(\"Filter by ISIN (International Securities Identification Number) identifier. Use this to find the ticker symbol and other identifiers for a given ISIN.\").optional(),\n page_offset: z.number().int().describe(\"Number of results to skip for pagination. Use this to retrieve subsequent pages of results.\").optional(),\n filter_cusip: z.string().describe(\"Filter by CUSIP (Committee on Uniform Securities Identification Procedures) identifier. Use this to find the ticker symbol and other identifiers for a given CUSIP.\").optional(),\n filter_symbol: z.string().describe(\"Filter by ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US'). Use this to find other identifiers for a given ticker symbol.\").optional(),\n}).describe(\"Request parameters for ID mapping endpoint to convert between security identifiers.\\nAt least one filter parameter must be provided.\");\nconst EodhdApisGetIdMapping_IdMappingRecordSchema = z.object({\n cik: z.string().describe(\"CIK (Central Index Key) identifier used by the SEC.\").nullable().optional(),\n lei: z.string().describe(\"LEI (Legal Entity Identifier).\").nullable().optional(),\n figi: z.string().describe(\"FIGI (Financial Instrument Global Identifier).\").nullable().optional(),\n isin: z.string().describe(\"ISIN (International Securities Identification Number) identifier.\").nullable().optional(),\n cusip: z.string().describe(\"CUSIP (Committee on Uniform Securities Identification Procedures) identifier.\").nullable().optional(),\n symbol: z.string().describe(\"Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').\").nullable().optional(),\n}).passthrough().describe(\"A single ID mapping record containing various security identifiers.\");\nconst EodhdApisGetIdMapping_IdMappingMetaSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of results returned in this response.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of results available for the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped (pagination offset).\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the ID mapping response including pagination information.\");\nconst EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through result sets.\");\nexport const EodhdApisGetIdMappingOutput = z.object({\n data: z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe(\"List of ID mapping records, each containing various security identifiers.\").nullable().optional(),\n meta: EodhdApisGetIdMapping_IdMappingMetaSchema.nullable().optional(),\n links: EodhdApisGetIdMapping_IdMappingLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for ID mapping endpoint containing security identifier mappings.\");\n\nexport const eodhdApisGetIdMapping = action(\"EODHD_APIS_GET_ID_MAPPING\", {\n slug: \"eodhd_apis-get-id-mapping\",\n name: \"Get ID Mapping\",\n description: \"Tool to convert between different security identifiers (CUSIP, ISIN, FIGI, LEI, CIK, ticker symbol). Use when you need to map one type of identifier to another, normalize portfolio data, or cross-reference securities across different systems. At least one filter parameter must be provided.\",\n input: EodhdApisGetIdMappingInput,\n output: EodhdApisGetIdMappingOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-id-mapping.mjs","names":[],"sources":["../../src/actions/get-id-mapping.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetIdMappingInput = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n filter_ex: z.string().describe(\"Filter by exchange code (e.g., 'US', 'LSE', 'XETRA'). Use this to get all symbols from a specific exchange.\").optional(),\n filter_cik: z.string().describe(\"Filter by CIK (Central Index Key) identifier used by the SEC. Use this to find securities associated with a specific SEC filer.\").optional(),\n filter_lei: z.string().describe(\"Filter by LEI (Legal Entity Identifier). Use this to find securities associated with a specific legal entity.\").optional(),\n page_limit: z.number().int().describe(\"Maximum number of results to return per page. Default is 1000.\").optional(),\n filter_figi: z.string().describe(\"Filter by FIGI (Financial Instrument Global Identifier). Use this to find the ticker symbol and other identifiers for a given FIGI.\").optional(),\n filter_isin: z.string().describe(\"Filter by ISIN (International Securities Identification Number) identifier. Use this to find the ticker symbol and other identifiers for a given ISIN.\").optional(),\n page_offset: z.number().int().describe(\"Number of results to skip for pagination. Use this to retrieve subsequent pages of results.\").optional(),\n filter_cusip: z.string().describe(\"Filter by CUSIP (Committee on Uniform Securities Identification Procedures) identifier. Use this to find the ticker symbol and other identifiers for a given CUSIP.\").optional(),\n filter_symbol: z.string().describe(\"Filter by ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US'). Use this to find other identifiers for a given ticker symbol.\").optional(),\n}).describe(\"Request parameters for ID mapping endpoint to convert between security identifiers.\\nAt least one filter parameter must be provided.\");\nconst EodhdApisGetIdMapping_IdMappingRecordSchema = z.object({\n cik: z.string().describe(\"CIK (Central Index Key) identifier used by the SEC.\").nullable().optional(),\n lei: z.string().describe(\"LEI (Legal Entity Identifier).\").nullable().optional(),\n figi: z.string().describe(\"FIGI (Financial Instrument Global Identifier).\").nullable().optional(),\n isin: z.string().describe(\"ISIN (International Securities Identification Number) identifier.\").nullable().optional(),\n cusip: z.string().describe(\"CUSIP (Committee on Uniform Securities Identification Procedures) identifier.\").nullable().optional(),\n symbol: z.string().describe(\"Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').\").nullable().optional(),\n}).passthrough().describe(\"A single ID mapping record containing various security identifiers.\");\nconst EodhdApisGetIdMapping_IdMappingMetaSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of results returned in this response.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of results available for the query.\").nullable().optional(),\n offset: z.number().int().describe(\"Number of results skipped (pagination offset).\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the ID mapping response including pagination information.\");\nconst EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through result sets.\");\nexport const EodhdApisGetIdMappingOutput = z.object({\n data: z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe(\"List of ID mapping records, each containing various security identifiers.\").nullable().optional(),\n meta: EodhdApisGetIdMapping_IdMappingMetaSchema.nullable().optional(),\n links: EodhdApisGetIdMapping_IdMappingLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for ID mapping endpoint containing security identifier mappings.\");\n\nexport const eodhdApisGetIdMapping: AppAction<\n typeof EodhdApisGetIdMappingInput,\n typeof EodhdApisGetIdMappingOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_GET_ID_MAPPING\", {\n slug: \"eodhd_apis-get-id-mapping\",\n name: \"Get ID Mapping\",\n description: \"Tool to convert between different security identifiers (CUSIP, ISIN, FIGI, LEI, CIK, ticker symbol). Use when you need to map one type of identifier to another, normalize portfolio data, or cross-reference securities across different systems. At least one filter parameter must be provided.\",\n input: EodhdApisGetIdMappingInput,\n output: EodhdApisGetIdMappingOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-macro-indicators.cjs","names":["z","action"],"sources":["../../src/actions/get-macro-indicators.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetMacroIndicatorsInput = z.object({\n country: z.string().describe(\"ISO 3166-1 alpha-3 country code (3 letters) for which to retrieve indicators. Examples: 'USA' (United States), 'GBR' (United Kingdom), 'DEU' (Germany), 'FRA' (France), 'JPN' (Japan), 'CHN' (China), 'IND' (India), 'BRA' (Brazil), 'CAN' (Canada), 'AUS' (Australia).\"),\n indicator: z.string().default(\"gdp_current_usd\").describe(\"Macroeconomic indicator code to retrieve. Available indicators include: 'gdp_current_usd' (GDP in current USD, default), 'gdp_per_capita_usd' (GDP per capita), 'real_gdp_per_capita' (Real GDP per capita), 'gdp_growth_annual' (Annual GDP growth %), 'inflation_consumer_prices_annual' (Consumer price inflation %), 'unemployment_total_percent' (Unemployment rate %), 'population_total' (Total population), 'life_expectancy' (Life expectancy at birth), 'gni_current_usd' (Gross National Income), 'exports_of_goods_services_percent_gdp' (Exports % of GDP), 'imports_of_goods_services_percent_gdp' (Imports % of GDP), 'real_interest_rate' (Real interest rate %), 'central_government_debt_percent_gdp' (Government debt % of GDP), 'net_migration' (Net migration), and many more.\").optional(),\n}).describe(\"Request parameters for GET_MACRO_INDICATORS\");\nexport const EodhdApisGetMacroIndicatorsOutput = z.unknown();\n\nexport const eodhdApisGetMacroIndicators = action(\"EODHD_APIS_GET_MACRO_INDICATORS\", {\n slug: \"eodhd_apis-get-macro-indicators\",\n name: \"Get Macro Indicators\",\n description: \"Retrieve macroeconomic indicator data for a specific country from EODHD. Returns historical time series data for economic indicators like GDP, inflation, unemployment, population, and many more. Data typically spans from 1960 to the present year. Use this when you need economic statistics for analysis, comparison, or research.\",\n input: EodhdApisGetMacroIndicatorsInput,\n output: EodhdApisGetMacroIndicatorsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-macro-indicators.cjs","names":["z","action"],"sources":["../../src/actions/get-macro-indicators.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetMacroIndicatorsInput = z.object({\n country: z.string().describe(\"ISO 3166-1 alpha-3 country code (3 letters) for which to retrieve indicators. Examples: 'USA' (United States), 'GBR' (United Kingdom), 'DEU' (Germany), 'FRA' (France), 'JPN' (Japan), 'CHN' (China), 'IND' (India), 'BRA' (Brazil), 'CAN' (Canada), 'AUS' (Australia).\"),\n indicator: z.string().default(\"gdp_current_usd\").describe(\"Macroeconomic indicator code to retrieve. Available indicators include: 'gdp_current_usd' (GDP in current USD, default), 'gdp_per_capita_usd' (GDP per capita), 'real_gdp_per_capita' (Real GDP per capita), 'gdp_growth_annual' (Annual GDP growth %), 'inflation_consumer_prices_annual' (Consumer price inflation %), 'unemployment_total_percent' (Unemployment rate %), 'population_total' (Total population), 'life_expectancy' (Life expectancy at birth), 'gni_current_usd' (Gross National Income), 'exports_of_goods_services_percent_gdp' (Exports % of GDP), 'imports_of_goods_services_percent_gdp' (Imports % of GDP), 'real_interest_rate' (Real interest rate %), 'central_government_debt_percent_gdp' (Government debt % of GDP), 'net_migration' (Net migration), and many more.\").optional(),\n}).describe(\"Request parameters for GET_MACRO_INDICATORS\");\nexport const EodhdApisGetMacroIndicatorsOutput = z.unknown();\n\nexport const eodhdApisGetMacroIndicators: AppAction<\n typeof EodhdApisGetMacroIndicatorsInput,\n typeof EodhdApisGetMacroIndicatorsOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_GET_MACRO_INDICATORS\", {\n slug: \"eodhd_apis-get-macro-indicators\",\n name: \"Get Macro Indicators\",\n description: \"Retrieve macroeconomic indicator data for a specific country from EODHD. Returns historical time series data for economic indicators like GDP, inflation, unemployment, population, and many more. Data typically spans from 1960 to the present year. Use this when you need economic statistics for analysis, comparison, or research.\",\n input: EodhdApisGetMacroIndicatorsInput,\n output: EodhdApisGetMacroIndicatorsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yQAAyQ;CACtS,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,iBAAiB,CAAC,CAAC,SAAS,qwBAAqwB,CAAC,CAAC,SAAS;AAC50B,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,oCAAoCA,IAAAA,EAAE,QAAQ;AAE3D,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { eodhdApis } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-macro-indicators.d.ts
|
|
@@ -6,10 +8,7 @@ declare const EodhdApisGetMacroIndicatorsInput: z.ZodObject<{
|
|
|
6
8
|
indicator: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7
9
|
}, z.core.$strip>;
|
|
8
10
|
declare const EodhdApisGetMacroIndicatorsOutput: z.ZodUnknown;
|
|
9
|
-
declare const eodhdApisGetMacroIndicators:
|
|
10
|
-
country: string;
|
|
11
|
-
indicator?: string | undefined;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
11
|
+
declare const eodhdApisGetMacroIndicators: AppAction<typeof EodhdApisGetMacroIndicatorsInput, typeof EodhdApisGetMacroIndicatorsOutput, typeof eodhdApis.credential>;
|
|
13
12
|
//#endregion
|
|
14
13
|
export { eodhdApisGetMacroIndicators };
|
|
15
14
|
//# sourceMappingURL=get-macro-indicators.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-macro-indicators.d.cts","names":[],"sources":["../../src/actions/get-macro-indicators.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-macro-indicators.d.cts","names":[],"sources":["../../src/actions/get-macro-indicators.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { eodhdApis } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-macro-indicators.d.ts
|
|
@@ -6,10 +8,7 @@ declare const EodhdApisGetMacroIndicatorsInput: z.ZodObject<{
|
|
|
6
8
|
indicator: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7
9
|
}, z.core.$strip>;
|
|
8
10
|
declare const EodhdApisGetMacroIndicatorsOutput: z.ZodUnknown;
|
|
9
|
-
declare const eodhdApisGetMacroIndicators:
|
|
10
|
-
country: string;
|
|
11
|
-
indicator?: string | undefined;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
11
|
+
declare const eodhdApisGetMacroIndicators: AppAction<typeof EodhdApisGetMacroIndicatorsInput, typeof EodhdApisGetMacroIndicatorsOutput, typeof eodhdApis.credential>;
|
|
13
12
|
//#endregion
|
|
14
13
|
export { eodhdApisGetMacroIndicators };
|
|
15
14
|
//# sourceMappingURL=get-macro-indicators.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-macro-indicators.d.mts","names":[],"sources":["../../src/actions/get-macro-indicators.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-macro-indicators.d.mts","names":[],"sources":["../../src/actions/get-macro-indicators.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-macro-indicators.mjs","names":[],"sources":["../../src/actions/get-macro-indicators.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetMacroIndicatorsInput = z.object({\n country: z.string().describe(\"ISO 3166-1 alpha-3 country code (3 letters) for which to retrieve indicators. Examples: 'USA' (United States), 'GBR' (United Kingdom), 'DEU' (Germany), 'FRA' (France), 'JPN' (Japan), 'CHN' (China), 'IND' (India), 'BRA' (Brazil), 'CAN' (Canada), 'AUS' (Australia).\"),\n indicator: z.string().default(\"gdp_current_usd\").describe(\"Macroeconomic indicator code to retrieve. Available indicators include: 'gdp_current_usd' (GDP in current USD, default), 'gdp_per_capita_usd' (GDP per capita), 'real_gdp_per_capita' (Real GDP per capita), 'gdp_growth_annual' (Annual GDP growth %), 'inflation_consumer_prices_annual' (Consumer price inflation %), 'unemployment_total_percent' (Unemployment rate %), 'population_total' (Total population), 'life_expectancy' (Life expectancy at birth), 'gni_current_usd' (Gross National Income), 'exports_of_goods_services_percent_gdp' (Exports % of GDP), 'imports_of_goods_services_percent_gdp' (Imports % of GDP), 'real_interest_rate' (Real interest rate %), 'central_government_debt_percent_gdp' (Government debt % of GDP), 'net_migration' (Net migration), and many more.\").optional(),\n}).describe(\"Request parameters for GET_MACRO_INDICATORS\");\nexport const EodhdApisGetMacroIndicatorsOutput = z.unknown();\n\nexport const eodhdApisGetMacroIndicators = action(\"EODHD_APIS_GET_MACRO_INDICATORS\", {\n slug: \"eodhd_apis-get-macro-indicators\",\n name: \"Get Macro Indicators\",\n description: \"Retrieve macroeconomic indicator data for a specific country from EODHD. Returns historical time series data for economic indicators like GDP, inflation, unemployment, population, and many more. Data typically spans from 1960 to the present year. Use this when you need economic statistics for analysis, comparison, or research.\",\n input: EodhdApisGetMacroIndicatorsInput,\n output: EodhdApisGetMacroIndicatorsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-macro-indicators.mjs","names":[],"sources":["../../src/actions/get-macro-indicators.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetMacroIndicatorsInput = z.object({\n country: z.string().describe(\"ISO 3166-1 alpha-3 country code (3 letters) for which to retrieve indicators. Examples: 'USA' (United States), 'GBR' (United Kingdom), 'DEU' (Germany), 'FRA' (France), 'JPN' (Japan), 'CHN' (China), 'IND' (India), 'BRA' (Brazil), 'CAN' (Canada), 'AUS' (Australia).\"),\n indicator: z.string().default(\"gdp_current_usd\").describe(\"Macroeconomic indicator code to retrieve. Available indicators include: 'gdp_current_usd' (GDP in current USD, default), 'gdp_per_capita_usd' (GDP per capita), 'real_gdp_per_capita' (Real GDP per capita), 'gdp_growth_annual' (Annual GDP growth %), 'inflation_consumer_prices_annual' (Consumer price inflation %), 'unemployment_total_percent' (Unemployment rate %), 'population_total' (Total population), 'life_expectancy' (Life expectancy at birth), 'gni_current_usd' (Gross National Income), 'exports_of_goods_services_percent_gdp' (Exports % of GDP), 'imports_of_goods_services_percent_gdp' (Imports % of GDP), 'real_interest_rate' (Real interest rate %), 'central_government_debt_percent_gdp' (Government debt % of GDP), 'net_migration' (Net migration), and many more.\").optional(),\n}).describe(\"Request parameters for GET_MACRO_INDICATORS\");\nexport const EodhdApisGetMacroIndicatorsOutput = z.unknown();\n\nexport const eodhdApisGetMacroIndicators: AppAction<\n typeof EodhdApisGetMacroIndicatorsInput,\n typeof EodhdApisGetMacroIndicatorsOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_GET_MACRO_INDICATORS\", {\n slug: \"eodhd_apis-get-macro-indicators\",\n name: \"Get Macro Indicators\",\n description: \"Retrieve macroeconomic indicator data for a specific country from EODHD. Returns historical time series data for economic indicators like GDP, inflation, unemployment, population, and many more. Data typically spans from 1960 to the present year. Use this when you need economic statistics for analysis, comparison, or research.\",\n input: EodhdApisGetMacroIndicatorsInput,\n output: EodhdApisGetMacroIndicatorsOutput,\n});\n"],"mappings":";;;AAYA,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd8C,EAAE,OAAO;EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yQAAyQ;EACtS,WAAW,EAAE,OAAO,CAAC,CAAC,QAAQ,iBAAiB,CAAC,CAAC,SAAS,qwBAAqwB,CAAC,CAAC,SAAS;CAC50B,CAAC,CAAC,CAAC,SAAS,6CAWH;CACP,QAX+C,EAAE,QAWzC;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-mutual-funds-data.cjs","names":["z","action"],"sources":["../../src/actions/get-mutual-funds-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetMutualFundsDataInput = z.object({\n filter: z.string().describe(\"Optional filter to retrieve specific sections of the data. Examples: 'General', 'MutualFund', 'MutualFund::Asset_Allocation'. Leave empty to get full fundamental data.\").optional(),\n ticker: z.string().describe(\"Mutual fund ticker symbol in 'TICKER.EXCHANGE' format. Examples: 'VFIAX.US' (Vanguard 500 Index Fund Admiral), 'SWPPX.US' (Schwab S&P 500 Index Fund). You can also use ISIN/CUSIP identifiers (e.g., 'US8085098551').\"),\n}).describe(\"Request parameters for mutual funds fundamental data endpoint.\");\nexport const EodhdApisGetMutualFundsDataOutput = z.object({\n General: z.record(z.string(), z.unknown()).describe(\"General information about the mutual fund including name, code, type, exchange, currency, fund summary, fund family, fund category, fiscal year end, inception date, and more.\").nullable().optional(),\n MutualFund: z.record(z.string(), z.unknown()).describe(\"Detailed mutual fund data including asset allocation (cash, stocks, bonds, other percentages), value/growth measures (price ratios), sector weightings, world regions exposure, and top country allocations for bond funds.\").nullable().optional(),\n raw_response: z.record(z.string(), z.unknown()).describe(\"Raw response data when using filter parameter, or any additional fields returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for mutual funds fundamental data from EODHD API.\\nContains comprehensive fund information including general info, asset allocation, and performance metrics.\");\n\nexport const eodhdApisGetMutualFundsData = action(\"EODHD_APIS_GET_MUTUAL_FUNDS_DATA\", {\n slug: \"eodhd_apis-get-mutual-funds-data\",\n name: \"Get Mutual Funds Data\",\n description: \"Retrieves comprehensive fundamental data for mutual funds via EODHD API. Returns fund details including general information (name, family, inception date, summary), asset allocation (cash, stocks, bonds percentages), value/growth measures (P/E, price-to-book), sector weightings, and world regions exposure. Supports over 20,000 US mutual funds including equity, balanced, and bond-based funds. Use ticker format 'SYMBOL.US' (e.g., 'VFIAX.US', 'SWPPX.US') or ISIN/CUSIP identifiers.\",\n input: EodhdApisGetMutualFundsDataInput,\n output: EodhdApisGetMutualFundsDataOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-mutual-funds-data.cjs","names":["z","action"],"sources":["../../src/actions/get-mutual-funds-data.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetMutualFundsDataInput = z.object({\n filter: z.string().describe(\"Optional filter to retrieve specific sections of the data. Examples: 'General', 'MutualFund', 'MutualFund::Asset_Allocation'. Leave empty to get full fundamental data.\").optional(),\n ticker: z.string().describe(\"Mutual fund ticker symbol in 'TICKER.EXCHANGE' format. Examples: 'VFIAX.US' (Vanguard 500 Index Fund Admiral), 'SWPPX.US' (Schwab S&P 500 Index Fund). You can also use ISIN/CUSIP identifiers (e.g., 'US8085098551').\"),\n}).describe(\"Request parameters for mutual funds fundamental data endpoint.\");\nexport const EodhdApisGetMutualFundsDataOutput = z.object({\n General: z.record(z.string(), z.unknown()).describe(\"General information about the mutual fund including name, code, type, exchange, currency, fund summary, fund family, fund category, fiscal year end, inception date, and more.\").nullable().optional(),\n MutualFund: z.record(z.string(), z.unknown()).describe(\"Detailed mutual fund data including asset allocation (cash, stocks, bonds, other percentages), value/growth measures (price ratios), sector weightings, world regions exposure, and top country allocations for bond funds.\").nullable().optional(),\n raw_response: z.record(z.string(), z.unknown()).describe(\"Raw response data when using filter parameter, or any additional fields returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for mutual funds fundamental data from EODHD API.\\nContains comprehensive fund information including general info, asset allocation, and performance metrics.\");\n\nexport const eodhdApisGetMutualFundsData: AppAction<\n typeof EodhdApisGetMutualFundsDataInput,\n typeof EodhdApisGetMutualFundsDataOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_GET_MUTUAL_FUNDS_DATA\", {\n slug: \"eodhd_apis-get-mutual-funds-data\",\n name: \"Get Mutual Funds Data\",\n description: \"Retrieves comprehensive fundamental data for mutual funds via EODHD API. Returns fund details including general information (name, family, inception date, summary), asset allocation (cash, stocks, bonds percentages), value/growth measures (P/E, price-to-book), sector weightings, and world regions exposure. Supports over 20,000 US mutual funds including equity, balanced, and bond-based funds. Use ticker format 'SYMBOL.US' (e.g., 'VFIAX.US', 'SWPPX.US') or ISIN/CUSIP identifiers.\",\n input: EodhdApisGetMutualFundsDataInput,\n output: EodhdApisGetMutualFundsDataOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;CAChN,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wNAAwN;AACtP,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1P,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1S,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8KAA8K;AAExM,MAAa,8BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { eodhdApis } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-mutual-funds-data.d.ts
|
|
@@ -10,10 +12,7 @@ declare const EodhdApisGetMutualFundsDataOutput: z.ZodObject<{
|
|
|
10
12
|
MutualFund: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
13
|
raw_response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const eodhdApisGetMutualFundsData:
|
|
14
|
-
ticker: string;
|
|
15
|
-
filter?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const eodhdApisGetMutualFundsData: AppAction<typeof EodhdApisGetMutualFundsDataInput, typeof EodhdApisGetMutualFundsDataOutput, typeof eodhdApis.credential>;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { eodhdApisGetMutualFundsData };
|
|
19
18
|
//# sourceMappingURL=get-mutual-funds-data.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-mutual-funds-data.d.cts","names":[],"sources":["../../src/actions/get-mutual-funds-data.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-mutual-funds-data.d.cts","names":[],"sources":["../../src/actions/get-mutual-funds-data.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { eodhdApis } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-mutual-funds-data.d.ts
|
|
@@ -10,10 +12,7 @@ declare const EodhdApisGetMutualFundsDataOutput: z.ZodObject<{
|
|
|
10
12
|
MutualFund: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
13
|
raw_response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const eodhdApisGetMutualFundsData:
|
|
14
|
-
ticker: string;
|
|
15
|
-
filter?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const eodhdApisGetMutualFundsData: AppAction<typeof EodhdApisGetMutualFundsDataInput, typeof EodhdApisGetMutualFundsDataOutput, typeof eodhdApis.credential>;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { eodhdApisGetMutualFundsData };
|
|
19
18
|
//# sourceMappingURL=get-mutual-funds-data.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-mutual-funds-data.d.mts","names":[],"sources":["../../src/actions/get-mutual-funds-data.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-mutual-funds-data.d.mts","names":[],"sources":["../../src/actions/get-mutual-funds-data.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-mutual-funds-data.mjs","names":[],"sources":["../../src/actions/get-mutual-funds-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetMutualFundsDataInput = z.object({\n filter: z.string().describe(\"Optional filter to retrieve specific sections of the data. Examples: 'General', 'MutualFund', 'MutualFund::Asset_Allocation'. Leave empty to get full fundamental data.\").optional(),\n ticker: z.string().describe(\"Mutual fund ticker symbol in 'TICKER.EXCHANGE' format. Examples: 'VFIAX.US' (Vanguard 500 Index Fund Admiral), 'SWPPX.US' (Schwab S&P 500 Index Fund). You can also use ISIN/CUSIP identifiers (e.g., 'US8085098551').\"),\n}).describe(\"Request parameters for mutual funds fundamental data endpoint.\");\nexport const EodhdApisGetMutualFundsDataOutput = z.object({\n General: z.record(z.string(), z.unknown()).describe(\"General information about the mutual fund including name, code, type, exchange, currency, fund summary, fund family, fund category, fiscal year end, inception date, and more.\").nullable().optional(),\n MutualFund: z.record(z.string(), z.unknown()).describe(\"Detailed mutual fund data including asset allocation (cash, stocks, bonds, other percentages), value/growth measures (price ratios), sector weightings, world regions exposure, and top country allocations for bond funds.\").nullable().optional(),\n raw_response: z.record(z.string(), z.unknown()).describe(\"Raw response data when using filter parameter, or any additional fields returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for mutual funds fundamental data from EODHD API.\\nContains comprehensive fund information including general info, asset allocation, and performance metrics.\");\n\nexport const eodhdApisGetMutualFundsData = action(\"EODHD_APIS_GET_MUTUAL_FUNDS_DATA\", {\n slug: \"eodhd_apis-get-mutual-funds-data\",\n name: \"Get Mutual Funds Data\",\n description: \"Retrieves comprehensive fundamental data for mutual funds via EODHD API. Returns fund details including general information (name, family, inception date, summary), asset allocation (cash, stocks, bonds percentages), value/growth measures (P/E, price-to-book), sector weightings, and world regions exposure. Supports over 20,000 US mutual funds including equity, balanced, and bond-based funds. Use ticker format 'SYMBOL.US' (e.g., 'VFIAX.US', 'SWPPX.US') or ISIN/CUSIP identifiers.\",\n input: EodhdApisGetMutualFundsDataInput,\n output: EodhdApisGetMutualFundsDataOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-mutual-funds-data.mjs","names":[],"sources":["../../src/actions/get-mutual-funds-data.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetMutualFundsDataInput = z.object({\n filter: z.string().describe(\"Optional filter to retrieve specific sections of the data. Examples: 'General', 'MutualFund', 'MutualFund::Asset_Allocation'. Leave empty to get full fundamental data.\").optional(),\n ticker: z.string().describe(\"Mutual fund ticker symbol in 'TICKER.EXCHANGE' format. Examples: 'VFIAX.US' (Vanguard 500 Index Fund Admiral), 'SWPPX.US' (Schwab S&P 500 Index Fund). You can also use ISIN/CUSIP identifiers (e.g., 'US8085098551').\"),\n}).describe(\"Request parameters for mutual funds fundamental data endpoint.\");\nexport const EodhdApisGetMutualFundsDataOutput = z.object({\n General: z.record(z.string(), z.unknown()).describe(\"General information about the mutual fund including name, code, type, exchange, currency, fund summary, fund family, fund category, fiscal year end, inception date, and more.\").nullable().optional(),\n MutualFund: z.record(z.string(), z.unknown()).describe(\"Detailed mutual fund data including asset allocation (cash, stocks, bonds, other percentages), value/growth measures (price ratios), sector weightings, world regions exposure, and top country allocations for bond funds.\").nullable().optional(),\n raw_response: z.record(z.string(), z.unknown()).describe(\"Raw response data when using filter parameter, or any additional fields returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response model for mutual funds fundamental data from EODHD API.\\nContains comprehensive fund information including general info, asset allocation, and performance metrics.\");\n\nexport const eodhdApisGetMutualFundsData: AppAction<\n typeof EodhdApisGetMutualFundsDataInput,\n typeof EodhdApisGetMutualFundsDataOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_GET_MUTUAL_FUNDS_DATA\", {\n slug: \"eodhd_apis-get-mutual-funds-data\",\n name: \"Get Mutual Funds Data\",\n description: \"Retrieves comprehensive fundamental data for mutual funds via EODHD API. Returns fund details including general information (name, family, inception date, summary), asset allocation (cash, stocks, bonds percentages), value/growth measures (P/E, price-to-book), sector weightings, and world regions exposure. Supports over 20,000 US mutual funds including equity, balanced, and bond-based funds. Use ticker format 'SYMBOL.US' (e.g., 'VFIAX.US', 'SWPPX.US') or ISIN/CUSIP identifiers.\",\n input: EodhdApisGetMutualFundsDataInput,\n output: EodhdApisGetMutualFundsDataOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,8BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;EAChN,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wNAAwN;CACtP,CAAC,CAAC,CAAC,SAAS,gEAeH;CACP,QAf+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1P,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1S,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8KAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-real-time-quote.cjs","names":["z","action"],"sources":["../../src/actions/get-real-time-quote.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeQuoteInput = z.object({\n s: z.string().describe(\"Additional ticker symbols comma-separated (max 15-20 recommended). Example: 'TSLA.US,MSFT.US,GOOGL.US'. When provided, returns data for multiple symbols in a single request.\").optional(),\n fmt: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Output format for the API response\").optional(),\n symbol: z.string().describe(\"Primary ticker symbol with exchange code (e.g., 'AAPL.US' for Apple stock, 'EURUSD.FOREX' for EUR/USD forex pair, 'BTC-USD.CC' for Bitcoin). Format is 'TICKER.EXCHANGE'.\"),\n}).describe(\"Request parameters for EODHD_APIS_GET_REAL_TIME_QUOTE\");\nconst EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema = z.object({\n low: z.number().describe(\"Lowest price during the current 1-minute period.\").nullable().optional(),\n code: z.string().describe(\"Ticker symbol with exchange code (e.g., 'AAPL.US').\").nullable(),\n high: z.number().describe(\"Highest price during the current 1-minute period.\").nullable().optional(),\n open: z.number().describe(\"Opening price for the current 1-minute period.\").nullable().optional(),\n close: z.number().describe(\"Current/closing price (latest traded price).\").nullable().optional(),\n change: z.number().describe(\"Absolute price change from previous close.\").nullable().optional(),\n volume: z.number().int().describe(\"Trading volume for the current 1-minute period.\").nullable().optional(),\n change_p: z.number().describe(\"Percentage price change from previous close.\").nullable().optional(),\n gmtoffset: z.number().int().describe(\"GMT offset in seconds for the exchange's timezone.\").nullable(),\n timestamp: z.number().int().describe(\"Unix timestamp of the last update (seconds since January 1, 1970 UTC).\").nullable(),\n previousClose: z.number().describe(\"Previous day's closing price.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single real-time quote data point with OHLCV information.\");\nexport const EodhdApisGetRealTimeQuoteOutput = z.object({\n data: z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]),\n}).passthrough().describe(\"Response model for EODHD_APIS_GET_REAL_TIME_QUOTE.\\nReturns real-time OHLCV data for single or multiple symbols.\\nWhen querying a single symbol, returns a single object.\\nWhen querying multiple symbols (via 's' parameter), returns a list of objects.\");\n\nexport const eodhdApisGetRealTimeQuote = action(\"EODHD_APIS_GET_REAL_TIME_QUOTE\", {\n slug: \"eodhd_apis-get-real-time-quote\",\n name: \"Get Real-Time Quote\",\n description: \"Retrieves real-time (delayed 15-20 minutes for stocks, ~1 minute for forex) OHLCV data for stocks, forex, and cryptocurrencies. Returns latest 1-minute bar with open, high, low, close, volume, previous close, and price changes. Use this when you need current market prices and intraday data.\",\n input: EodhdApisGetRealTimeQuoteInput,\n output: EodhdApisGetRealTimeQuoteOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-real-time-quote.cjs","names":["z","action"],"sources":["../../src/actions/get-real-time-quote.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetRealTimeQuoteInput = z.object({\n s: z.string().describe(\"Additional ticker symbols comma-separated (max 15-20 recommended). Example: 'TSLA.US,MSFT.US,GOOGL.US'. When provided, returns data for multiple symbols in a single request.\").optional(),\n fmt: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Output format for the API response\").optional(),\n symbol: z.string().describe(\"Primary ticker symbol with exchange code (e.g., 'AAPL.US' for Apple stock, 'EURUSD.FOREX' for EUR/USD forex pair, 'BTC-USD.CC' for Bitcoin). Format is 'TICKER.EXCHANGE'.\"),\n}).describe(\"Request parameters for EODHD_APIS_GET_REAL_TIME_QUOTE\");\nconst EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema = z.object({\n low: z.number().describe(\"Lowest price during the current 1-minute period.\").nullable().optional(),\n code: z.string().describe(\"Ticker symbol with exchange code (e.g., 'AAPL.US').\").nullable(),\n high: z.number().describe(\"Highest price during the current 1-minute period.\").nullable().optional(),\n open: z.number().describe(\"Opening price for the current 1-minute period.\").nullable().optional(),\n close: z.number().describe(\"Current/closing price (latest traded price).\").nullable().optional(),\n change: z.number().describe(\"Absolute price change from previous close.\").nullable().optional(),\n volume: z.number().int().describe(\"Trading volume for the current 1-minute period.\").nullable().optional(),\n change_p: z.number().describe(\"Percentage price change from previous close.\").nullable().optional(),\n gmtoffset: z.number().int().describe(\"GMT offset in seconds for the exchange's timezone.\").nullable(),\n timestamp: z.number().int().describe(\"Unix timestamp of the last update (seconds since January 1, 1970 UTC).\").nullable(),\n previousClose: z.number().describe(\"Previous day's closing price.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single real-time quote data point with OHLCV information.\");\nexport const EodhdApisGetRealTimeQuoteOutput = z.object({\n data: z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]),\n}).passthrough().describe(\"Response model for EODHD_APIS_GET_REAL_TIME_QUOTE.\\nReturns real-time OHLCV data for single or multiple symbols.\\nWhen querying a single symbol, returns a single object.\\nWhen querying multiple symbols (via 's' parameter), returns a list of objects.\");\n\nexport const eodhdApisGetRealTimeQuote: AppAction<\n typeof EodhdApisGetRealTimeQuoteInput,\n typeof EodhdApisGetRealTimeQuoteOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_GET_REAL_TIME_QUOTE\", {\n slug: \"eodhd_apis-get-real-time-quote\",\n name: \"Get Real-Time Quote\",\n description: \"Retrieves real-time (delayed 15-20 minutes for stocks, ~1 minute for forex) OHLCV data for stocks, forex, and cryptocurrencies. Returns latest 1-minute bar with open, high, low, close, volume, previous close, and price changes. Use this when you need current market prices and intraday data.\",\n input: EodhdApisGetRealTimeQuoteInput,\n output: EodhdApisGetRealTimeQuoteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CACjN,KAAKA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;AACzM,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACxH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAClG,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,MAAM,CAAC,mDAAmDA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2PAA2P;AAErR,MAAa,4BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { eodhdApis } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-real-time-quote.d.ts
|
|
@@ -36,11 +38,7 @@ declare const EodhdApisGetRealTimeQuoteOutput: z.ZodObject<{
|
|
|
36
38
|
previousClose: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
39
|
}, z.core.$loose>>]>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const eodhdApisGetRealTimeQuote:
|
|
40
|
-
symbol: string;
|
|
41
|
-
s?: string | undefined;
|
|
42
|
-
fmt?: "json" | "csv" | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
41
|
+
declare const eodhdApisGetRealTimeQuote: AppAction<typeof EodhdApisGetRealTimeQuoteInput, typeof EodhdApisGetRealTimeQuoteOutput, typeof eodhdApis.credential>;
|
|
44
42
|
//#endregion
|
|
45
43
|
export { eodhdApisGetRealTimeQuote };
|
|
46
44
|
//# sourceMappingURL=get-real-time-quote.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-real-time-quote.d.cts","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-real-time-quote.d.cts","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAkB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { eodhdApis } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-real-time-quote.d.ts
|
|
@@ -36,11 +38,7 @@ declare const EodhdApisGetRealTimeQuoteOutput: z.ZodObject<{
|
|
|
36
38
|
previousClose: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
39
|
}, z.core.$loose>>]>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const eodhdApisGetRealTimeQuote:
|
|
40
|
-
symbol: string;
|
|
41
|
-
s?: string | undefined;
|
|
42
|
-
fmt?: "json" | "csv" | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
41
|
+
declare const eodhdApisGetRealTimeQuote: AppAction<typeof EodhdApisGetRealTimeQuoteInput, typeof EodhdApisGetRealTimeQuoteOutput, typeof eodhdApis.credential>;
|
|
44
42
|
//#endregion
|
|
45
43
|
export { eodhdApisGetRealTimeQuote };
|
|
46
44
|
//# sourceMappingURL=get-real-time-quote.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-real-time-quote.d.mts","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-real-time-quote.d.mts","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAkB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|