@keystrokehq/eodhd_apis 0.1.0 → 0.1.1

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.
Files changed (93) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-eod-yahoo-style.cjs.map +1 -1
  4. package/dist/actions/get-eod-yahoo-style.d.cts +27 -3
  5. package/dist/actions/get-eod-yahoo-style.d.cts.map +1 -1
  6. package/dist/actions/get-eod-yahoo-style.d.mts +27 -3
  7. package/dist/actions/get-eod-yahoo-style.d.mts.map +1 -1
  8. package/dist/actions/get-eod-yahoo-style.mjs.map +1 -1
  9. package/dist/actions/get-id-mapping.cjs +13 -13
  10. package/dist/actions/get-id-mapping.cjs.map +1 -1
  11. package/dist/actions/get-id-mapping.d.cts +59 -3
  12. package/dist/actions/get-id-mapping.d.cts.map +1 -1
  13. package/dist/actions/get-id-mapping.d.mts +59 -3
  14. package/dist/actions/get-id-mapping.d.mts.map +1 -1
  15. package/dist/actions/get-id-mapping.mjs +13 -13
  16. package/dist/actions/get-id-mapping.mjs.map +1 -1
  17. package/dist/actions/get-macro-indicators.cjs.map +1 -1
  18. package/dist/actions/get-macro-indicators.d.cts +9 -3
  19. package/dist/actions/get-macro-indicators.d.cts.map +1 -1
  20. package/dist/actions/get-macro-indicators.d.mts +9 -3
  21. package/dist/actions/get-macro-indicators.d.mts.map +1 -1
  22. package/dist/actions/get-macro-indicators.mjs.map +1 -1
  23. package/dist/actions/get-mutual-funds-data.cjs +3 -3
  24. package/dist/actions/get-mutual-funds-data.cjs.map +1 -1
  25. package/dist/actions/get-mutual-funds-data.d.cts +17 -3
  26. package/dist/actions/get-mutual-funds-data.d.cts.map +1 -1
  27. package/dist/actions/get-mutual-funds-data.d.mts +17 -3
  28. package/dist/actions/get-mutual-funds-data.d.mts.map +1 -1
  29. package/dist/actions/get-mutual-funds-data.mjs +3 -3
  30. package/dist/actions/get-mutual-funds-data.mjs.map +1 -1
  31. package/dist/actions/get-real-time-quote.cjs +11 -11
  32. package/dist/actions/get-real-time-quote.cjs.map +1 -1
  33. package/dist/actions/get-real-time-quote.d.cts +66 -3
  34. package/dist/actions/get-real-time-quote.d.cts.map +1 -1
  35. package/dist/actions/get-real-time-quote.d.mts +66 -3
  36. package/dist/actions/get-real-time-quote.d.mts.map +1 -1
  37. package/dist/actions/get-real-time-quote.mjs +11 -11
  38. package/dist/actions/get-real-time-quote.mjs.map +1 -1
  39. package/dist/actions/get-real-time-websocket-forex.cjs +4 -4
  40. package/dist/actions/get-real-time-websocket-forex.cjs.map +1 -1
  41. package/dist/actions/get-real-time-websocket-forex.d.cts +21 -3
  42. package/dist/actions/get-real-time-websocket-forex.d.cts.map +1 -1
  43. package/dist/actions/get-real-time-websocket-forex.d.mts +21 -3
  44. package/dist/actions/get-real-time-websocket-forex.d.mts.map +1 -1
  45. package/dist/actions/get-real-time-websocket-forex.mjs +4 -4
  46. package/dist/actions/get-real-time-websocket-forex.mjs.map +1 -1
  47. package/dist/actions/get-real-time-websocket-us-trade.cjs +3 -3
  48. package/dist/actions/get-real-time-websocket-us-trade.cjs.map +1 -1
  49. package/dist/actions/get-real-time-websocket-us-trade.d.cts +27 -3
  50. package/dist/actions/get-real-time-websocket-us-trade.d.cts.map +1 -1
  51. package/dist/actions/get-real-time-websocket-us-trade.d.mts +27 -3
  52. package/dist/actions/get-real-time-websocket-us-trade.d.mts.map +1 -1
  53. package/dist/actions/get-real-time-websocket-us-trade.mjs +3 -3
  54. package/dist/actions/get-real-time-websocket-us-trade.mjs.map +1 -1
  55. package/dist/actions/get-user-info.cjs +7 -7
  56. package/dist/actions/get-user-info.cjs.map +1 -1
  57. package/dist/actions/get-user-info.d.cts +23 -3
  58. package/dist/actions/get-user-info.d.cts.map +1 -1
  59. package/dist/actions/get-user-info.d.mts +23 -3
  60. package/dist/actions/get-user-info.d.mts.map +1 -1
  61. package/dist/actions/get-user-info.mjs +7 -7
  62. package/dist/actions/get-user-info.mjs.map +1 -1
  63. package/dist/actions/get-ust-yield-rates.cjs +6 -6
  64. package/dist/actions/get-ust-yield-rates.cjs.map +1 -1
  65. package/dist/actions/get-ust-yield-rates.d.cts +33 -3
  66. package/dist/actions/get-ust-yield-rates.d.cts.map +1 -1
  67. package/dist/actions/get-ust-yield-rates.d.mts +33 -3
  68. package/dist/actions/get-ust-yield-rates.d.mts.map +1 -1
  69. package/dist/actions/get-ust-yield-rates.mjs +6 -6
  70. package/dist/actions/get-ust-yield-rates.mjs.map +1 -1
  71. package/dist/actions/list-exchanges.cjs +5 -5
  72. package/dist/actions/list-exchanges.cjs.map +1 -1
  73. package/dist/actions/list-exchanges.d.cts +26 -3
  74. package/dist/actions/list-exchanges.d.cts.map +1 -1
  75. package/dist/actions/list-exchanges.d.mts +26 -3
  76. package/dist/actions/list-exchanges.d.mts.map +1 -1
  77. package/dist/actions/list-exchanges.mjs +5 -5
  78. package/dist/actions/list-exchanges.mjs.map +1 -1
  79. package/dist/actions/search-instruments.cjs +10 -10
  80. package/dist/actions/search-instruments.cjs.map +1 -1
  81. package/dist/actions/search-instruments.d.cts +39 -3
  82. package/dist/actions/search-instruments.d.cts.map +1 -1
  83. package/dist/actions/search-instruments.d.mts +39 -3
  84. package/dist/actions/search-instruments.d.mts.map +1 -1
  85. package/dist/actions/search-instruments.mjs +10 -10
  86. package/dist/actions/search-instruments.mjs.map +1 -1
  87. package/dist/catalog.cjs +7 -1
  88. package/dist/catalog.cjs.map +1 -1
  89. package/dist/catalog.d.cts +8 -0
  90. package/dist/catalog.d.mts +8 -0
  91. package/dist/catalog.mjs +7 -1
  92. package/dist/catalog.mjs.map +1 -1
  93. package/package.json +2 -2
@@ -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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\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":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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"}
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<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\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":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,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"}
@@ -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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\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":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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
+ {"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<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\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":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,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.ZodTypeAny = 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.ZodTypeAny = 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":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,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,kCAAgDA,IAAAA,EAAE,QAAQ;AAEvE,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,33 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-eod-yahoo-style.d.ts
4
- declare const EodhdApisGetEodYahooStyleInput: z.ZodTypeAny;
5
- declare const EodhdApisGetEodYahooStyleOutput: z.ZodTypeAny;
6
- declare const eodhdApisGetEodYahooStyle: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EodhdApisGetEodYahooStyleInput: z.ZodObject<{
5
+ a: z.ZodString;
6
+ b: z.ZodString;
7
+ c: z.ZodString;
8
+ d: z.ZodString;
9
+ e: z.ZodString;
10
+ f: z.ZodString;
11
+ g: z.ZodEnum<{
12
+ d: "d";
13
+ w: "w";
14
+ m: "m";
15
+ }>;
16
+ s: z.ZodString;
17
+ fmt: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ declare const EodhdApisGetEodYahooStyleOutput: z.ZodUnknown;
20
+ declare const eodhdApisGetEodYahooStyle: import("@keystrokehq/action").WorkflowActionDefinition<{
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]>;
7
31
  //#endregion
8
32
  export { eodhdApisGetEodYahooStyle };
9
33
  //# 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":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAUqB;AAAA,cACvD,+BAAA,EAAiC,CAAA,CAAE,UAAwB;AAAA,cAE3D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-eod-yahoo-style.d.cts","names":[],"sources":["../../src/actions/get-eod-yahoo-style.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,33 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-eod-yahoo-style.d.ts
4
- declare const EodhdApisGetEodYahooStyleInput: z.ZodTypeAny;
5
- declare const EodhdApisGetEodYahooStyleOutput: z.ZodTypeAny;
6
- declare const eodhdApisGetEodYahooStyle: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EodhdApisGetEodYahooStyleInput: z.ZodObject<{
5
+ a: z.ZodString;
6
+ b: z.ZodString;
7
+ c: z.ZodString;
8
+ d: z.ZodString;
9
+ e: z.ZodString;
10
+ f: z.ZodString;
11
+ g: z.ZodEnum<{
12
+ d: "d";
13
+ w: "w";
14
+ m: "m";
15
+ }>;
16
+ s: z.ZodString;
17
+ fmt: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ declare const EodhdApisGetEodYahooStyleOutput: z.ZodUnknown;
20
+ declare const eodhdApisGetEodYahooStyle: import("@keystrokehq/action").WorkflowActionDefinition<{
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]>;
7
31
  //#endregion
8
32
  export { eodhdApisGetEodYahooStyle };
9
33
  //# 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":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAUqB;AAAA,cACvD,+BAAA,EAAiC,CAAA,CAAE,UAAwB;AAAA,cAE3D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-eod-yahoo-style.d.mts","names":[],"sources":["../../src/actions/get-eod-yahoo-style.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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":";;AAiBA,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB0D,EAAE,OAAO;EACnE,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,uDAOH;CACP,QAP2D,EAAE,QAOrD;AACV,CAAC"}
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":";;AAiBA,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4C,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,uDAOH;CACP,QAP6C,EAAE,QAOvC;AACV,CAAC"}
@@ -14,23 +14,23 @@ const EodhdApisGetIdMappingInput = zod.z.object({
14
14
  filter_symbol: zod.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()
15
15
  }).describe("Request parameters for ID mapping endpoint to convert between security identifiers.\nAt least one filter parameter must be provided.");
16
16
  const EodhdApisGetIdMapping_IdMappingRecordSchema = zod.z.object({
17
- cik: zod.z.string().describe("CIK (Central Index Key) identifier used by the SEC.").nullable().optional(),
18
- lei: zod.z.string().describe("LEI (Legal Entity Identifier).").nullable().optional(),
19
- figi: zod.z.string().describe("FIGI (Financial Instrument Global Identifier).").nullable().optional(),
20
- isin: zod.z.string().describe("ISIN (International Securities Identification Number) identifier.").nullable().optional(),
21
- cusip: zod.z.string().describe("CUSIP (Committee on Uniform Securities Identification Procedures) identifier.").nullable().optional(),
22
- symbol: zod.z.string().describe("Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').").nullable().optional()
17
+ cik: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("CIK (Central Index Key) identifier used by the SEC.").optional()),
18
+ lei: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("LEI (Legal Entity Identifier).").optional()),
19
+ figi: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("FIGI (Financial Instrument Global Identifier).").optional()),
20
+ isin: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISIN (International Securities Identification Number) identifier.").optional()),
21
+ cusip: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("CUSIP (Committee on Uniform Securities Identification Procedures) identifier.").optional()),
22
+ symbol: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').").optional())
23
23
  }).describe("A single ID mapping record containing various security identifiers.");
24
24
  const EodhdApisGetIdMapping_IdMappingMetaSchema = zod.z.object({
25
- limit: zod.z.number().int().describe("Maximum number of results returned in this response.").nullable().optional(),
26
- total: zod.z.number().int().describe("Total number of results available for the query.").nullable().optional(),
27
- offset: zod.z.number().int().describe("Number of results skipped (pagination offset).").nullable().optional()
25
+ limit: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Maximum number of results returned in this response.").optional()),
26
+ total: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Total number of results available for the query.").optional()),
27
+ offset: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of results skipped (pagination offset).").optional())
28
28
  }).describe("Metadata about the ID mapping response including pagination information.");
29
- const EodhdApisGetIdMapping_IdMappingLinksSchema = zod.z.object({ next: zod.z.string().describe("URL to the next page of results. Null if there are no more results.").nullable().optional() }).describe("Pagination links for navigating through result sets.");
29
+ const EodhdApisGetIdMapping_IdMappingLinksSchema = zod.z.object({ next: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("URL to the next page of results. Null if there are no more results.").optional()) }).describe("Pagination links for navigating through result sets.");
30
30
  const EodhdApisGetIdMappingOutput = zod.z.object({
31
- data: zod.z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe("List of ID mapping records, each containing various security identifiers.").nullable().optional(),
32
- meta: EodhdApisGetIdMapping_IdMappingMetaSchema.nullable().optional(),
33
- links: EodhdApisGetIdMapping_IdMappingLinksSchema.nullable().optional()
31
+ data: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe("List of ID mapping records, each containing various security identifiers.").optional()),
32
+ meta: zod.z.preprocess((value) => value === null ? void 0 : value, EodhdApisGetIdMapping_IdMappingMetaSchema.optional()),
33
+ links: zod.z.preprocess((value) => value === null ? void 0 : value, EodhdApisGetIdMapping_IdMappingLinksSchema.optional())
34
34
  }).describe("Response model for ID mapping endpoint containing security identifier mappings.");
35
35
  const eodhdApisGetIdMapping = require_action.action("EODHD_APIS_GET_ID_MAPPING", {
36
36
  slug: "eodhd_apis-get-id-mapping",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"A single ID mapping record containing various security identifiers.\");\nconst EodhdApisGetIdMapping_IdMappingMetaSchema: z.ZodTypeAny = 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}).describe(\"Metadata about the ID mapping response including pagination information.\");\nconst EodhdApisGetIdMapping_IdMappingLinksSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more results.\").nullable().optional(),\n}).describe(\"Pagination links for navigating through result sets.\");\nexport const EodhdApisGetIdMappingOutput: z.ZodTypeAny = 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}).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":"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"}
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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"CIK (Central Index Key) identifier used by the SEC.\").optional()),\n lei: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"LEI (Legal Entity Identifier).\").optional()),\n figi: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"FIGI (Financial Instrument Global Identifier).\").optional()),\n isin: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISIN (International Securities Identification Number) identifier.\").optional()),\n cusip: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"CUSIP (Committee on Uniform Securities Identification Procedures) identifier.\").optional()),\n symbol: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').\").optional()),\n}).describe(\"A single ID mapping record containing various security identifiers.\");\nconst EodhdApisGetIdMapping_IdMappingMetaSchema = z.object({\n limit: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Maximum number of results returned in this response.\").optional()),\n total: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Total number of results available for the query.\").optional()),\n offset: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of results skipped (pagination offset).\").optional()),\n}).describe(\"Metadata about the ID mapping response including pagination information.\");\nconst EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({\n next: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL to the next page of results. Null if there are no more results.\").optional()),\n}).describe(\"Pagination links for navigating through result sets.\");\nexport const EodhdApisGetIdMappingOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe(\"List of ID mapping records, each containing various security identifiers.\").optional()),\n meta: z.preprocess((value) => (value === null ? undefined : value), EodhdApisGetIdMapping_IdMappingMetaSchema.optional()),\n links: z.preprocess((value) => (value === null ? undefined : value), EodhdApisGetIdMapping_IdMappingLinksSchema.optional()),\n}).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":"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"}
@@ -1,9 +1,65 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-id-mapping.d.ts
4
- declare const EodhdApisGetIdMappingInput: z.ZodTypeAny;
5
- declare const EodhdApisGetIdMappingOutput: z.ZodTypeAny;
6
- declare const eodhdApisGetIdMapping: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EodhdApisGetIdMappingInput: z.ZodObject<{
5
+ fmt: z.ZodOptional<z.ZodDefault<z.ZodString>>;
6
+ filter_ex: z.ZodOptional<z.ZodString>;
7
+ filter_cik: z.ZodOptional<z.ZodString>;
8
+ filter_lei: z.ZodOptional<z.ZodString>;
9
+ page_limit: z.ZodOptional<z.ZodNumber>;
10
+ filter_figi: z.ZodOptional<z.ZodString>;
11
+ filter_isin: z.ZodOptional<z.ZodString>;
12
+ page_offset: z.ZodOptional<z.ZodNumber>;
13
+ filter_cusip: z.ZodOptional<z.ZodString>;
14
+ filter_symbol: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strip>;
16
+ declare const EodhdApisGetIdMappingOutput: z.ZodObject<{
17
+ data: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
18
+ cik: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
+ lei: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
+ figi: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
+ isin: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
+ cusip: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
+ symbol: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
+ }, z.core.$strip>>>>;
25
+ meta: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
26
+ limit: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
27
+ total: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
28
+ offset: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
29
+ }, z.core.$strip>>>;
30
+ links: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
31
+ next: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
+ }, z.core.$strip>>>;
33
+ }, z.core.$strip>;
34
+ declare const eodhdApisGetIdMapping: import("@keystrokehq/action").WorkflowActionDefinition<{
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
+ }, {
46
+ data?: {
47
+ cik?: string | undefined;
48
+ lei?: string | undefined;
49
+ figi?: string | undefined;
50
+ isin?: string | undefined;
51
+ cusip?: string | undefined;
52
+ symbol?: string | undefined;
53
+ }[] | undefined;
54
+ meta?: {
55
+ limit?: number | undefined;
56
+ total?: number | undefined;
57
+ offset?: number | undefined;
58
+ } | undefined;
59
+ links?: {
60
+ next?: string | undefined;
61
+ } | undefined;
62
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
63
  //#endregion
8
64
  export { eodhdApisGetIdMapping };
9
65
  //# 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":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAWwG;AAAA,cAiBtI,2BAAA,EAA6B,CAAA,CAAE,UAIkD;AAAA,cAEjF,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-id-mapping.d.cts","names":[],"sources":["../../src/actions/get-id-mapping.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;cA4B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,65 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-id-mapping.d.ts
4
- declare const EodhdApisGetIdMappingInput: z.ZodTypeAny;
5
- declare const EodhdApisGetIdMappingOutput: z.ZodTypeAny;
6
- declare const eodhdApisGetIdMapping: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EodhdApisGetIdMappingInput: z.ZodObject<{
5
+ fmt: z.ZodOptional<z.ZodDefault<z.ZodString>>;
6
+ filter_ex: z.ZodOptional<z.ZodString>;
7
+ filter_cik: z.ZodOptional<z.ZodString>;
8
+ filter_lei: z.ZodOptional<z.ZodString>;
9
+ page_limit: z.ZodOptional<z.ZodNumber>;
10
+ filter_figi: z.ZodOptional<z.ZodString>;
11
+ filter_isin: z.ZodOptional<z.ZodString>;
12
+ page_offset: z.ZodOptional<z.ZodNumber>;
13
+ filter_cusip: z.ZodOptional<z.ZodString>;
14
+ filter_symbol: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strip>;
16
+ declare const EodhdApisGetIdMappingOutput: z.ZodObject<{
17
+ data: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
18
+ cik: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
+ lei: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
+ figi: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
+ isin: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
+ cusip: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
+ symbol: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
+ }, z.core.$strip>>>>;
25
+ meta: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
26
+ limit: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
27
+ total: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
28
+ offset: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
29
+ }, z.core.$strip>>>;
30
+ links: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
31
+ next: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
+ }, z.core.$strip>>>;
33
+ }, z.core.$strip>;
34
+ declare const eodhdApisGetIdMapping: import("@keystrokehq/action").WorkflowActionDefinition<{
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
+ }, {
46
+ data?: {
47
+ cik?: string | undefined;
48
+ lei?: string | undefined;
49
+ figi?: string | undefined;
50
+ isin?: string | undefined;
51
+ cusip?: string | undefined;
52
+ symbol?: string | undefined;
53
+ }[] | undefined;
54
+ meta?: {
55
+ limit?: number | undefined;
56
+ total?: number | undefined;
57
+ offset?: number | undefined;
58
+ } | undefined;
59
+ links?: {
60
+ next?: string | undefined;
61
+ } | undefined;
62
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
63
  //#endregion
8
64
  export { eodhdApisGetIdMapping };
9
65
  //# 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":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAWwG;AAAA,cAiBtI,2BAAA,EAA6B,CAAA,CAAE,UAIkD;AAAA,cAEjF,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-id-mapping.d.mts","names":[],"sources":["../../src/actions/get-id-mapping.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;cA4B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
@@ -14,28 +14,28 @@ const EodhdApisGetIdMappingInput = z.object({
14
14
  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()
15
15
  }).describe("Request parameters for ID mapping endpoint to convert between security identifiers.\nAt least one filter parameter must be provided.");
16
16
  const EodhdApisGetIdMapping_IdMappingRecordSchema = z.object({
17
- cik: z.string().describe("CIK (Central Index Key) identifier used by the SEC.").nullable().optional(),
18
- lei: z.string().describe("LEI (Legal Entity Identifier).").nullable().optional(),
19
- figi: z.string().describe("FIGI (Financial Instrument Global Identifier).").nullable().optional(),
20
- isin: z.string().describe("ISIN (International Securities Identification Number) identifier.").nullable().optional(),
21
- cusip: z.string().describe("CUSIP (Committee on Uniform Securities Identification Procedures) identifier.").nullable().optional(),
22
- symbol: z.string().describe("Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').").nullable().optional()
17
+ cik: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("CIK (Central Index Key) identifier used by the SEC.").optional()),
18
+ lei: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("LEI (Legal Entity Identifier).").optional()),
19
+ figi: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("FIGI (Financial Instrument Global Identifier).").optional()),
20
+ isin: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISIN (International Securities Identification Number) identifier.").optional()),
21
+ cusip: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("CUSIP (Committee on Uniform Securities Identification Procedures) identifier.").optional()),
22
+ symbol: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').").optional())
23
23
  }).describe("A single ID mapping record containing various security identifiers.");
24
24
  const EodhdApisGetIdMapping_IdMappingMetaSchema = z.object({
25
- limit: z.number().int().describe("Maximum number of results returned in this response.").nullable().optional(),
26
- total: z.number().int().describe("Total number of results available for the query.").nullable().optional(),
27
- offset: z.number().int().describe("Number of results skipped (pagination offset).").nullable().optional()
25
+ limit: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Maximum number of results returned in this response.").optional()),
26
+ total: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Total number of results available for the query.").optional()),
27
+ offset: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of results skipped (pagination offset).").optional())
28
28
  }).describe("Metadata about the ID mapping response including pagination information.");
29
- const EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({ next: z.string().describe("URL to the next page of results. Null if there are no more results.").nullable().optional() }).describe("Pagination links for navigating through result sets.");
29
+ const EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({ next: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("URL to the next page of results. Null if there are no more results.").optional()) }).describe("Pagination links for navigating through result sets.");
30
30
  const eodhdApisGetIdMapping = action("EODHD_APIS_GET_ID_MAPPING", {
31
31
  slug: "eodhd_apis-get-id-mapping",
32
32
  name: "Get ID Mapping",
33
33
  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.",
34
34
  input: EodhdApisGetIdMappingInput,
35
35
  output: z.object({
36
- data: z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe("List of ID mapping records, each containing various security identifiers.").nullable().optional(),
37
- meta: EodhdApisGetIdMapping_IdMappingMetaSchema.nullable().optional(),
38
- links: EodhdApisGetIdMapping_IdMappingLinksSchema.nullable().optional()
36
+ data: z.preprocess((value) => value === null ? void 0 : value, z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe("List of ID mapping records, each containing various security identifiers.").optional()),
37
+ meta: z.preprocess((value) => value === null ? void 0 : value, EodhdApisGetIdMapping_IdMappingMetaSchema.optional()),
38
+ links: z.preprocess((value) => value === null ? void 0 : value, EodhdApisGetIdMapping_IdMappingLinksSchema.optional())
39
39
  }).describe("Response model for ID mapping endpoint containing security identifier mappings.")
40
40
  });
41
41
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"A single ID mapping record containing various security identifiers.\");\nconst EodhdApisGetIdMapping_IdMappingMetaSchema: z.ZodTypeAny = 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}).describe(\"Metadata about the ID mapping response including pagination information.\");\nconst EodhdApisGetIdMapping_IdMappingLinksSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL to the next page of results. Null if there are no more results.\").nullable().optional(),\n}).describe(\"Pagination links for navigating through result sets.\");\nexport const EodhdApisGetIdMappingOutput: z.ZodTypeAny = 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}).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":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACvJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAC5K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC1J,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CACjL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CACpM,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CAC/I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CAClN,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,sIAAsI;AAClJ,MAAM,8CAA4D,EAAE,OAAO;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,4CAA0D,EAAE,OAAO;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,6CAA2D,EAAE,OAAO,EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAOlE,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuD,EAAE,OAAO;EAChE,MAAM,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACpE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,iFAOF;AACV,CAAC"}
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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"CIK (Central Index Key) identifier used by the SEC.\").optional()),\n lei: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"LEI (Legal Entity Identifier).\").optional()),\n figi: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"FIGI (Financial Instrument Global Identifier).\").optional()),\n isin: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISIN (International Securities Identification Number) identifier.\").optional()),\n cusip: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"CUSIP (Committee on Uniform Securities Identification Procedures) identifier.\").optional()),\n symbol: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Ticker symbol in 'TICKER.EXCHANGE' format (e.g., 'AAPL.US').\").optional()),\n}).describe(\"A single ID mapping record containing various security identifiers.\");\nconst EodhdApisGetIdMapping_IdMappingMetaSchema = z.object({\n limit: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Maximum number of results returned in this response.\").optional()),\n total: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Total number of results available for the query.\").optional()),\n offset: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of results skipped (pagination offset).\").optional()),\n}).describe(\"Metadata about the ID mapping response including pagination information.\");\nconst EodhdApisGetIdMapping_IdMappingLinksSchema = z.object({\n next: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL to the next page of results. Null if there are no more results.\").optional()),\n}).describe(\"Pagination links for navigating through result sets.\");\nexport const EodhdApisGetIdMappingOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), z.array(EodhdApisGetIdMapping_IdMappingRecordSchema).describe(\"List of ID mapping records, each containing various security identifiers.\").optional()),\n meta: z.preprocess((value) => (value === null ? undefined : value), EodhdApisGetIdMapping_IdMappingMetaSchema.optional()),\n links: z.preprocess((value) => (value === null ? undefined : value), EodhdApisGetIdMapping_IdMappingLinksSchema.optional()),\n}).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":"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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.ZodTypeAny = 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.ZodTypeAny = 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":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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,oCAAkDA,IAAAA,EAAE,QAAQ;AAEzE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-macro-indicators.d.ts
4
- declare const EodhdApisGetMacroIndicatorsInput: z.ZodTypeAny;
5
- declare const EodhdApisGetMacroIndicatorsOutput: z.ZodTypeAny;
6
- declare const eodhdApisGetMacroIndicators: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EodhdApisGetMacroIndicatorsInput: z.ZodObject<{
5
+ country: z.ZodString;
6
+ indicator: z.ZodOptional<z.ZodDefault<z.ZodString>>;
7
+ }, z.core.$strip>;
8
+ declare const EodhdApisGetMacroIndicatorsOutput: z.ZodUnknown;
9
+ declare const eodhdApisGetMacroIndicators: import("@keystrokehq/action").WorkflowActionDefinition<{
10
+ country: string;
11
+ indicator?: string | undefined;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { eodhdApisGetMacroIndicators };
9
15
  //# 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":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGS;AAAA,cAC7C,iCAAA,EAAmC,CAAA,CAAE,UAAwB;AAAA,cAE7D,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-macro-indicators.d.cts","names":[],"sources":["../../src/actions/get-macro-indicators.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-macro-indicators.d.ts
4
- declare const EodhdApisGetMacroIndicatorsInput: z.ZodTypeAny;
5
- declare const EodhdApisGetMacroIndicatorsOutput: z.ZodTypeAny;
6
- declare const eodhdApisGetMacroIndicators: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const EodhdApisGetMacroIndicatorsInput: z.ZodObject<{
5
+ country: z.ZodString;
6
+ indicator: z.ZodOptional<z.ZodDefault<z.ZodString>>;
7
+ }, z.core.$strip>;
8
+ declare const EodhdApisGetMacroIndicatorsOutput: z.ZodUnknown;
9
+ declare const eodhdApisGetMacroIndicators: import("@keystrokehq/action").WorkflowActionDefinition<{
10
+ country: string;
11
+ indicator?: string | undefined;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { eodhdApisGetMacroIndicators };
9
15
  //# 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":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGS;AAAA,cAC7C,iCAAA,EAAmC,CAAA,CAAE,UAAwB;AAAA,cAE7D,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-macro-indicators.d.mts","names":[],"sources":["../../src/actions/get-macro-indicators.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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":";;AAUA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV4D,EAAE,OAAO;EACrE,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,6CAOH;CACP,QAP6D,EAAE,QAOvD;AACV,CAAC"}
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":";;AAUA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV8C,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,6CAOH;CACP,QAP+C,EAAE,QAOzC;AACV,CAAC"}
@@ -6,9 +6,9 @@ const EodhdApisGetMutualFundsDataInput = zod.z.object({
6
6
  ticker: zod.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').")
7
7
  }).describe("Request parameters for mutual funds fundamental data endpoint.");
8
8
  const EodhdApisGetMutualFundsDataOutput = zod.z.object({
9
- General: zod.z.record(zod.z.string(), zod.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(),
10
- MutualFund: zod.z.record(zod.z.string(), zod.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(),
11
- raw_response: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Raw response data when using filter parameter, or any additional fields returned by the API.").nullable().optional()
9
+ General: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.record(zod.z.string(), zod.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.").optional()),
10
+ MutualFund: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.record(zod.z.string(), zod.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.").optional()),
11
+ raw_response: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.record(zod.z.string(), zod.z.unknown()).describe("Raw response data when using filter parameter, or any additional fields returned by the API.").optional())
12
12
  }).describe("Response model for mutual funds fundamental data from EODHD API.\nContains comprehensive fund information including general info, asset allocation, and performance metrics.");
13
13
  const eodhdApisGetMutualFundsData = require_action.action("EODHD_APIS_GET_MUTUAL_FUNDS_DATA", {
14
14
  slug: "eodhd_apis-get-mutual-funds-data",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).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":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,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,SAAS,8KAA8K;AAE1L,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.preprocess((value) => (value === null ? undefined : value), 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.\").optional()),\n MutualFund: z.preprocess((value) => (value === null ? undefined : value), 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.\").optional()),\n raw_response: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Raw response data when using filter parameter, or any additional fields returned by the API.\").optional()),\n}).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":";;;AAIA,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,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS,CAAC;CAC9S,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS,CAAC;CAC9V,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC;AACnO,CAAC,CAAC,CAAC,SAAS,8KAA8K;AAE1L,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}