@keystrokehq/eodhd_apis 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/get-eod-yahoo-style.cjs +30 -0
  7. package/dist/actions/get-eod-yahoo-style.cjs.map +1 -0
  8. package/dist/actions/get-eod-yahoo-style.d.cts +9 -0
  9. package/dist/actions/get-eod-yahoo-style.d.cts.map +1 -0
  10. package/dist/actions/get-eod-yahoo-style.d.mts +9 -0
  11. package/dist/actions/get-eod-yahoo-style.d.mts.map +1 -0
  12. package/dist/actions/get-eod-yahoo-style.mjs +27 -0
  13. package/dist/actions/get-eod-yahoo-style.mjs.map +1 -0
  14. package/dist/actions/get-id-mapping.cjs +45 -0
  15. package/dist/actions/get-id-mapping.cjs.map +1 -0
  16. package/dist/actions/get-id-mapping.d.cts +9 -0
  17. package/dist/actions/get-id-mapping.d.cts.map +1 -0
  18. package/dist/actions/get-id-mapping.d.mts +9 -0
  19. package/dist/actions/get-id-mapping.d.mts.map +1 -0
  20. package/dist/actions/get-id-mapping.mjs +44 -0
  21. package/dist/actions/get-id-mapping.mjs.map +1 -0
  22. package/dist/actions/get-macro-indicators.cjs +19 -0
  23. package/dist/actions/get-macro-indicators.cjs.map +1 -0
  24. package/dist/actions/get-macro-indicators.d.cts +9 -0
  25. package/dist/actions/get-macro-indicators.d.cts.map +1 -0
  26. package/dist/actions/get-macro-indicators.d.mts +9 -0
  27. package/dist/actions/get-macro-indicators.d.mts.map +1 -0
  28. package/dist/actions/get-macro-indicators.mjs +16 -0
  29. package/dist/actions/get-macro-indicators.mjs.map +1 -0
  30. package/dist/actions/get-mutual-funds-data.cjs +23 -0
  31. package/dist/actions/get-mutual-funds-data.cjs.map +1 -0
  32. package/dist/actions/get-mutual-funds-data.d.cts +9 -0
  33. package/dist/actions/get-mutual-funds-data.d.cts.map +1 -0
  34. package/dist/actions/get-mutual-funds-data.d.mts +9 -0
  35. package/dist/actions/get-mutual-funds-data.d.mts.map +1 -0
  36. package/dist/actions/get-mutual-funds-data.mjs +20 -0
  37. package/dist/actions/get-mutual-funds-data.mjs.map +1 -0
  38. package/dist/actions/get-real-time-quote.cjs +33 -0
  39. package/dist/actions/get-real-time-quote.cjs.map +1 -0
  40. package/dist/actions/get-real-time-quote.d.cts +9 -0
  41. package/dist/actions/get-real-time-quote.d.cts.map +1 -0
  42. package/dist/actions/get-real-time-quote.d.mts +9 -0
  43. package/dist/actions/get-real-time-quote.d.mts.map +1 -0
  44. package/dist/actions/get-real-time-quote.mjs +32 -0
  45. package/dist/actions/get-real-time-quote.mjs.map +1 -0
  46. package/dist/actions/get-real-time-websocket-forex.cjs +24 -0
  47. package/dist/actions/get-real-time-websocket-forex.cjs.map +1 -0
  48. package/dist/actions/get-real-time-websocket-forex.d.cts +9 -0
  49. package/dist/actions/get-real-time-websocket-forex.d.cts.map +1 -0
  50. package/dist/actions/get-real-time-websocket-forex.d.mts +9 -0
  51. package/dist/actions/get-real-time-websocket-forex.d.mts.map +1 -0
  52. package/dist/actions/get-real-time-websocket-forex.mjs +23 -0
  53. package/dist/actions/get-real-time-websocket-forex.mjs.map +1 -0
  54. package/dist/actions/get-real-time-websocket-us-trade.cjs +26 -0
  55. package/dist/actions/get-real-time-websocket-us-trade.cjs.map +1 -0
  56. package/dist/actions/get-real-time-websocket-us-trade.d.cts +9 -0
  57. package/dist/actions/get-real-time-websocket-us-trade.d.cts.map +1 -0
  58. package/dist/actions/get-real-time-websocket-us-trade.d.mts +9 -0
  59. package/dist/actions/get-real-time-websocket-us-trade.d.mts.map +1 -0
  60. package/dist/actions/get-real-time-websocket-us-trade.mjs +25 -0
  61. package/dist/actions/get-real-time-websocket-us-trade.mjs.map +1 -0
  62. package/dist/actions/get-user-info.cjs +24 -0
  63. package/dist/actions/get-user-info.cjs.map +1 -0
  64. package/dist/actions/get-user-info.d.cts +9 -0
  65. package/dist/actions/get-user-info.d.cts.map +1 -0
  66. package/dist/actions/get-user-info.d.mts +9 -0
  67. package/dist/actions/get-user-info.d.mts.map +1 -0
  68. package/dist/actions/get-user-info.mjs +21 -0
  69. package/dist/actions/get-user-info.mjs.map +1 -0
  70. package/dist/actions/get-ust-yield-rates.cjs +31 -0
  71. package/dist/actions/get-ust-yield-rates.cjs.map +1 -0
  72. package/dist/actions/get-ust-yield-rates.d.cts +9 -0
  73. package/dist/actions/get-ust-yield-rates.d.cts.map +1 -0
  74. package/dist/actions/get-ust-yield-rates.d.mts +9 -0
  75. package/dist/actions/get-ust-yield-rates.d.mts.map +1 -0
  76. package/dist/actions/get-ust-yield-rates.mjs +30 -0
  77. package/dist/actions/get-ust-yield-rates.mjs.map +1 -0
  78. package/dist/actions/index.cjs +23 -0
  79. package/dist/actions/index.d.cts +12 -0
  80. package/dist/actions/index.d.mts +12 -0
  81. package/dist/actions/index.mjs +12 -0
  82. package/dist/actions/list-exchanges.cjs +23 -0
  83. package/dist/actions/list-exchanges.cjs.map +1 -0
  84. package/dist/actions/list-exchanges.d.cts +9 -0
  85. package/dist/actions/list-exchanges.d.cts.map +1 -0
  86. package/dist/actions/list-exchanges.d.mts +9 -0
  87. package/dist/actions/list-exchanges.d.mts.map +1 -0
  88. package/dist/actions/list-exchanges.mjs +22 -0
  89. package/dist/actions/list-exchanges.mjs.map +1 -0
  90. package/dist/actions/search-instruments.cjs +33 -0
  91. package/dist/actions/search-instruments.cjs.map +1 -0
  92. package/dist/actions/search-instruments.d.cts +9 -0
  93. package/dist/actions/search-instruments.d.cts.map +1 -0
  94. package/dist/actions/search-instruments.d.mts +9 -0
  95. package/dist/actions/search-instruments.d.mts.map +1 -0
  96. package/dist/actions/search-instruments.mjs +32 -0
  97. package/dist/actions/search-instruments.mjs.map +1 -0
  98. package/dist/app.cjs +9 -0
  99. package/dist/app.cjs.map +1 -0
  100. package/dist/app.d.cts +5 -0
  101. package/dist/app.d.cts.map +1 -0
  102. package/dist/app.d.mts +5 -0
  103. package/dist/app.d.mts.map +1 -0
  104. package/dist/app.mjs +10 -0
  105. package/dist/app.mjs.map +1 -0
  106. package/dist/catalog.cjs +15 -0
  107. package/dist/catalog.cjs.map +1 -0
  108. package/dist/catalog.d.cts +14 -0
  109. package/dist/catalog.d.cts.map +1 -0
  110. package/dist/catalog.d.mts +14 -0
  111. package/dist/catalog.d.mts.map +1 -0
  112. package/dist/catalog.mjs +15 -0
  113. package/dist/catalog.mjs.map +1 -0
  114. package/dist/execute.cjs +18 -0
  115. package/dist/execute.cjs.map +1 -0
  116. package/dist/execute.mjs +18 -0
  117. package/dist/execute.mjs.map +1 -0
  118. package/dist/index.cjs +28 -0
  119. package/dist/index.d.cts +14 -0
  120. package/dist/index.d.mts +14 -0
  121. package/dist/index.mjs +15 -0
  122. package/package.json +49 -0
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-real-time-quote.d.ts
4
+ declare const EodhdApisGetRealTimeQuoteInput: z.ZodTypeAny;
5
+ declare const EodhdApisGetRealTimeQuoteOutput: z.ZodTypeAny;
6
+ declare const eodhdApisGetRealTimeQuote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { eodhdApisGetRealTimeQuote };
9
+ //# sourceMappingURL=get-real-time-quote.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-real-time-quote.d.cts","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIqB;AAAA,cAcvD,+BAAA,EAAiC,CAAA,CAAE,UAEwN;AAAA,cAE3P,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-real-time-quote.d.ts
4
+ declare const EodhdApisGetRealTimeQuoteInput: z.ZodTypeAny;
5
+ declare const EodhdApisGetRealTimeQuoteOutput: z.ZodTypeAny;
6
+ declare const eodhdApisGetRealTimeQuote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { eodhdApisGetRealTimeQuote };
9
+ //# sourceMappingURL=get-real-time-quote.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-real-time-quote.d.mts","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIqB;AAAA,cAcvD,+BAAA,EAAiC,CAAA,CAAE,UAEwN;AAAA,cAE3P,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,32 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-real-time-quote.ts
4
+ const EodhdApisGetRealTimeQuoteInput = z.object({
5
+ 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(),
6
+ fmt: z.enum(["json", "csv"]).default("json").describe("Output format for the API response").optional(),
7
+ 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'.")
8
+ }).describe("Request parameters for EODHD_APIS_GET_REAL_TIME_QUOTE");
9
+ const EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema = z.object({
10
+ low: z.number().describe("Lowest price during the current 1-minute period.").nullable().optional(),
11
+ code: z.string().describe("Ticker symbol with exchange code (e.g., 'AAPL.US')."),
12
+ high: z.number().describe("Highest price during the current 1-minute period.").nullable().optional(),
13
+ open: z.number().describe("Opening price for the current 1-minute period.").nullable().optional(),
14
+ close: z.number().describe("Current/closing price (latest traded price).").nullable().optional(),
15
+ change: z.number().describe("Absolute price change from previous close.").nullable().optional(),
16
+ volume: z.number().int().describe("Trading volume for the current 1-minute period.").nullable().optional(),
17
+ change_p: z.number().describe("Percentage price change from previous close.").nullable().optional(),
18
+ gmtoffset: z.number().int().describe("GMT offset in seconds for the exchange's timezone."),
19
+ timestamp: z.number().int().describe("Unix timestamp of the last update (seconds since January 1, 1970 UTC)."),
20
+ previousClose: z.number().describe("Previous day's closing price.").nullable().optional()
21
+ }).describe("Schema for a single real-time quote data point with OHLCV information.");
22
+ const eodhdApisGetRealTimeQuote = action("EODHD_APIS_GET_REAL_TIME_QUOTE", {
23
+ slug: "eodhd_apis-get-real-time-quote",
24
+ name: "Get Real-Time Quote",
25
+ 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.",
26
+ input: EodhdApisGetRealTimeQuoteInput,
27
+ output: z.object({ data: z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]) }).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.")
28
+ });
29
+ //#endregion
30
+ export { eodhdApisGetRealTimeQuote };
31
+
32
+ //# sourceMappingURL=get-real-time-quote.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-real-time-quote.mjs","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeQuoteInput: z.ZodTypeAny = 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.ZodTypeAny = 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').\"),\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.\"),\n timestamp: z.number().int().describe(\"Unix timestamp of the last update (seconds since January 1, 1970 UTC).\"),\n previousClose: z.number().describe(\"Previous day's closing price.\").nullable().optional(),\n}).describe(\"Schema for a single real-time quote data point with OHLCV information.\");\nexport const EodhdApisGetRealTimeQuoteOutput: z.ZodTypeAny = z.object({\n data: z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]),\n}).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":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CACjN,KAAK,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;AACzM,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,oDAAkE,EAAE,OAAO;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE;CAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAKpF,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,MAAM,EAAE,MAAM,CAAC,mDAAmD,EAAE,MAAM,iDAAiD,CAAC,CAAC,EAC/H,CAAC,CAAC,CAAC,SAAS,2PAOF;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-real-time-websocket-forex.ts
4
+ const EodhdApisGetRealTimeWebsocketForexInput = zod.z.object({ symbols: zod.z.array(zod.z.string()).describe("List of FOREX currency pair symbols in concatenated format without separator (e.g., 'EURUSD', 'GBPUSD', 'USDJPY'). Each symbol should be 6 characters: 3-letter base currency followed by 3-letter quote currency. Maximum 50 symbols allowed.") }).describe("Request model for subscribing to real-time FOREX data via WebSocket.");
5
+ const EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema = zod.z.object({
6
+ action: zod.z.string().describe("The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop."),
7
+ symbols: zod.z.string().describe("Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')")
8
+ }).describe("Subscription message to send over the WebSocket connection.");
9
+ const EodhdApisGetRealTimeWebsocketForexOutput = zod.z.object({
10
+ endpoint: zod.z.string().describe("WebSocket endpoint URL (wss://) for real-time FOREX data stream. Connect to this URL to establish the WebSocket connection."),
11
+ subscription: EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema.nullable(),
12
+ usage_instructions: zod.z.string().describe("Instructions on how to use the WebSocket connection and what data format to expect.")
13
+ }).describe("Response model containing WebSocket endpoint URL and subscription message.\nUse the endpoint to establish a WebSocket connection, then send the subscription\nmessage to start receiving real-time FOREX price updates.");
14
+ const eodhdApisGetRealTimeWebsocketForex = require_action.action("EODHD_APIS_GET_REAL_TIME_WEBSOCKET_FOREX", {
15
+ slug: "eodhd_apis-get-real-time-websocket-forex",
16
+ name: "Get Real-Time FOREX WebSocket Stream",
17
+ description: "Provides WebSocket connection details for real-time FOREX currency pair data from EODHD. Returns the WebSocket endpoint URL and subscription message needed to receive live bid/ask prices with ~50ms latency for forex pairs like EURUSD, GBPUSD, USDJPY. Response data format from the WebSocket includes: - s: symbol (e.g., 'EURUSD') - a: ask price - b: bid price - dc: daily change percentage - dd: daily difference - t: timestamp in epoch milliseconds Note: Maximum 50 symbols can be subscribed at once.",
18
+ input: EodhdApisGetRealTimeWebsocketForexInput,
19
+ output: EodhdApisGetRealTimeWebsocketForexOutput
20
+ });
21
+ //#endregion
22
+ exports.eodhdApisGetRealTimeWebsocketForex = eodhdApisGetRealTimeWebsocketForex;
23
+
24
+ //# sourceMappingURL=get-real-time-websocket-forex.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-real-time-websocket-forex.cjs","names":["z","action"],"sources":["../../src/actions/get-real-time-websocket-forex.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeWebsocketForexInput: z.ZodTypeAny = z.object({\n symbols: z.array(z.string()).describe(\"List of FOREX currency pair symbols in concatenated format without separator (e.g., 'EURUSD', 'GBPUSD', 'USDJPY'). Each symbol should be 6 characters: 3-letter base currency followed by 3-letter quote currency. Maximum 50 symbols allowed.\"),\n}).describe(\"Request model for subscribing to real-time FOREX data via WebSocket.\");\nconst EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema: z.ZodTypeAny = z.object({\n action: z.string().describe(\"The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop.\"),\n symbols: z.string().describe(\"Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')\"),\n}).describe(\"Subscription message to send over the WebSocket connection.\");\nexport const EodhdApisGetRealTimeWebsocketForexOutput: z.ZodTypeAny = z.object({\n endpoint: z.string().describe(\"WebSocket endpoint URL (wss://) for real-time FOREX data stream. Connect to this URL to establish the WebSocket connection.\"),\n subscription: EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema.nullable(),\n usage_instructions: z.string().describe(\"Instructions on how to use the WebSocket connection and what data format to expect.\"),\n}).describe(\"Response model containing WebSocket endpoint URL and subscription message.\\nUse the endpoint to establish a WebSocket connection, then send the subscription\\nmessage to start receiving real-time FOREX price updates.\");\n\nexport const eodhdApisGetRealTimeWebsocketForex = action(\"EODHD_APIS_GET_REAL_TIME_WEBSOCKET_FOREX\", {\n slug: \"eodhd_apis-get-real-time-websocket-forex\",\n name: \"Get Real-Time FOREX WebSocket Stream\",\n description: \"Provides WebSocket connection details for real-time FOREX currency pair data from EODHD. Returns the WebSocket endpoint URL and subscription message needed to receive live bid/ask prices with ~50ms latency for forex pairs like EURUSD, GBPUSD, USDJPY. Response data format from the WebSocket includes: - s: symbol (e.g., 'EURUSD') - a: ask price - b: bid price - dc: daily change percentage - dd: daily difference - t: timestamp in epoch milliseconds Note: Maximum 50 symbols can be subscribed at once.\",\n input: EodhdApisGetRealTimeWebsocketForexInput,\n output: EodhdApisGetRealTimeWebsocketForexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO,EAC5E,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gPAAgP,EACxR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+DAA6EA,IAAAA,EAAE,OAAO;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;CAC1H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;AAC9G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;CAC3J,cAAc,6DAA6D,SAAS;CACpF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;AAC/H,CAAC,CAAC,CAAC,SAAS,yNAAyN;AAErO,MAAa,qCAAqCC,eAAAA,OAAO,4CAA4C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-real-time-websocket-forex.d.ts
4
+ declare const EodhdApisGetRealTimeWebsocketForexInput: z.ZodTypeAny;
5
+ declare const EodhdApisGetRealTimeWebsocketForexOutput: z.ZodTypeAny;
6
+ declare const eodhdApisGetRealTimeWebsocketForex: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { eodhdApisGetRealTimeWebsocketForex };
9
+ //# sourceMappingURL=get-real-time-websocket-forex.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-real-time-websocket-forex.d.cts","names":[],"sources":["../../src/actions/get-real-time-websocket-forex.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAE2B;AAAA,cAKtE,wCAAA,EAA0C,CAAA,CAAE,UAI6K;AAAA,cAEzN,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-real-time-websocket-forex.d.ts
4
+ declare const EodhdApisGetRealTimeWebsocketForexInput: z.ZodTypeAny;
5
+ declare const EodhdApisGetRealTimeWebsocketForexOutput: z.ZodTypeAny;
6
+ declare const eodhdApisGetRealTimeWebsocketForex: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { eodhdApisGetRealTimeWebsocketForex };
9
+ //# sourceMappingURL=get-real-time-websocket-forex.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-real-time-websocket-forex.d.mts","names":[],"sources":["../../src/actions/get-real-time-websocket-forex.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAE2B;AAAA,cAKtE,wCAAA,EAA0C,CAAA,CAAE,UAI6K;AAAA,cAEzN,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,23 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-real-time-websocket-forex.ts
4
+ const EodhdApisGetRealTimeWebsocketForexInput = z.object({ symbols: z.array(z.string()).describe("List of FOREX currency pair symbols in concatenated format without separator (e.g., 'EURUSD', 'GBPUSD', 'USDJPY'). Each symbol should be 6 characters: 3-letter base currency followed by 3-letter quote currency. Maximum 50 symbols allowed.") }).describe("Request model for subscribing to real-time FOREX data via WebSocket.");
5
+ const EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema = z.object({
6
+ action: z.string().describe("The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop."),
7
+ symbols: z.string().describe("Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')")
8
+ }).describe("Subscription message to send over the WebSocket connection.");
9
+ const eodhdApisGetRealTimeWebsocketForex = action("EODHD_APIS_GET_REAL_TIME_WEBSOCKET_FOREX", {
10
+ slug: "eodhd_apis-get-real-time-websocket-forex",
11
+ name: "Get Real-Time FOREX WebSocket Stream",
12
+ description: "Provides WebSocket connection details for real-time FOREX currency pair data from EODHD. Returns the WebSocket endpoint URL and subscription message needed to receive live bid/ask prices with ~50ms latency for forex pairs like EURUSD, GBPUSD, USDJPY. Response data format from the WebSocket includes: - s: symbol (e.g., 'EURUSD') - a: ask price - b: bid price - dc: daily change percentage - dd: daily difference - t: timestamp in epoch milliseconds Note: Maximum 50 symbols can be subscribed at once.",
13
+ input: EodhdApisGetRealTimeWebsocketForexInput,
14
+ output: z.object({
15
+ endpoint: z.string().describe("WebSocket endpoint URL (wss://) for real-time FOREX data stream. Connect to this URL to establish the WebSocket connection."),
16
+ subscription: EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema.nullable(),
17
+ usage_instructions: z.string().describe("Instructions on how to use the WebSocket connection and what data format to expect.")
18
+ }).describe("Response model containing WebSocket endpoint URL and subscription message.\nUse the endpoint to establish a WebSocket connection, then send the subscription\nmessage to start receiving real-time FOREX price updates.")
19
+ });
20
+ //#endregion
21
+ export { eodhdApisGetRealTimeWebsocketForex };
22
+
23
+ //# sourceMappingURL=get-real-time-websocket-forex.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-real-time-websocket-forex.mjs","names":[],"sources":["../../src/actions/get-real-time-websocket-forex.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeWebsocketForexInput: z.ZodTypeAny = z.object({\n symbols: z.array(z.string()).describe(\"List of FOREX currency pair symbols in concatenated format without separator (e.g., 'EURUSD', 'GBPUSD', 'USDJPY'). Each symbol should be 6 characters: 3-letter base currency followed by 3-letter quote currency. Maximum 50 symbols allowed.\"),\n}).describe(\"Request model for subscribing to real-time FOREX data via WebSocket.\");\nconst EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema: z.ZodTypeAny = z.object({\n action: z.string().describe(\"The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop.\"),\n symbols: z.string().describe(\"Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')\"),\n}).describe(\"Subscription message to send over the WebSocket connection.\");\nexport const EodhdApisGetRealTimeWebsocketForexOutput: z.ZodTypeAny = z.object({\n endpoint: z.string().describe(\"WebSocket endpoint URL (wss://) for real-time FOREX data stream. Connect to this URL to establish the WebSocket connection.\"),\n subscription: EodhdApisGetRealTimeWebsocketForex_SubscriptionMessageSchema.nullable(),\n usage_instructions: z.string().describe(\"Instructions on how to use the WebSocket connection and what data format to expect.\"),\n}).describe(\"Response model containing WebSocket endpoint URL and subscription message.\\nUse the endpoint to establish a WebSocket connection, then send the subscription\\nmessage to start receiving real-time FOREX price updates.\");\n\nexport const eodhdApisGetRealTimeWebsocketForex = action(\"EODHD_APIS_GET_REAL_TIME_WEBSOCKET_FOREX\", {\n slug: \"eodhd_apis-get-real-time-websocket-forex\",\n name: \"Get Real-Time FOREX WebSocket Stream\",\n description: \"Provides WebSocket connection details for real-time FOREX currency pair data from EODHD. Returns the WebSocket endpoint URL and subscription message needed to receive live bid/ask prices with ~50ms latency for forex pairs like EURUSD, GBPUSD, USDJPY. Response data format from the WebSocket includes: - s: symbol (e.g., 'EURUSD') - a: ask price - b: bid price - dc: daily change percentage - dd: daily difference - t: timestamp in epoch milliseconds Note: Maximum 50 symbols can be subscribed at once.\",\n input: EodhdApisGetRealTimeWebsocketForexInput,\n output: EodhdApisGetRealTimeWebsocketForexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwD,EAAE,OAAO,EAC5E,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gPAAgP,EACxR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+DAA6E,EAAE,OAAO;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;CAC1H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;AAC9G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAOzE,MAAa,qCAAqC,OAAO,4CAA4C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoE,EAAE,OAAO;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;EAC3J,cAAc,6DAA6D,SAAS;EACpF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAC/H,CAAC,CAAC,CAAC,SAAS,yNAOF;AACV,CAAC"}
@@ -0,0 +1,26 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-real-time-websocket-us-trade.ts
4
+ const EodhdApisGetRealTimeWebsocketUsTradeInput = zod.z.object({
5
+ action: zod.z.enum(["subscribe", "unsubscribe"]).describe("Action to perform: 'subscribe' to start receiving real-time trade updates, or 'unsubscribe' to stop receiving updates for the specified symbols."),
6
+ symbols: zod.z.array(zod.z.string()).describe("List of US stock ticker symbols (e.g., ['AAPL', 'TSLA', 'MSFT']). Maximum 50 symbols per connection. Demo API keys support limited tickers: AAPL, TSLA, VTI, AMZN.")
7
+ }).describe("Request parameters for subscribing or unsubscribing to the real-time US trades WebSocket.");
8
+ const EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema = zod.z.object({
9
+ action: zod.z.enum(["subscribe", "unsubscribe"]).describe("The action to perform: 'subscribe' or 'unsubscribe'."),
10
+ symbols: zod.z.string().describe("Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').")
11
+ }).describe("Payload structure to send over WebSocket for subscription management.");
12
+ const EodhdApisGetRealTimeWebsocketUsTradeOutput = zod.z.object({
13
+ url: zod.z.string().describe("WebSocket endpoint URL for US trades real-time data. Connect to this URL to establish the WebSocket connection."),
14
+ payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable()
15
+ }).describe("Response containing WebSocket connection details and the payload to send for subscription management.\nUse the 'url' to establish a WebSocket connection, then send the 'payload' as a JSON message.");
16
+ const eodhdApisGetRealTimeWebsocketUsTrade = require_action.action("EODHD_APIS_GET_REAL_TIME_WEBSOCKET_US_TRADE", {
17
+ slug: "eodhd_apis-get-real-time-websocket-us-trade",
18
+ name: "Get Real-time WebSocket US Trades",
19
+ description: "Tool to retrieve real-time trade data for the US market via WebSocket. Use when live updates for specific US symbols are required. Example: subscribe to ['AAPL', 'GOOG'].",
20
+ input: EodhdApisGetRealTimeWebsocketUsTradeInput,
21
+ output: EodhdApisGetRealTimeWebsocketUsTradeOutput
22
+ });
23
+ //#endregion
24
+ exports.eodhdApisGetRealTimeWebsocketUsTrade = eodhdApisGetRealTimeWebsocketUsTrade;
25
+
26
+ //# sourceMappingURL=get-real-time-websocket-us-trade.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-real-time-websocket-us-trade.cjs","names":["z","action"],"sources":["../../src/actions/get-real-time-websocket-us-trade.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeWebsocketUsTradeInput: z.ZodTypeAny = z.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"Action to perform: 'subscribe' to start receiving real-time trade updates, or 'unsubscribe' to stop receiving updates for the specified symbols.\"),\n symbols: z.array(z.string()).describe(\"List of US stock ticker symbols (e.g., ['AAPL', 'TSLA', 'MSFT']). Maximum 50 symbols per connection. Demo API keys support limited tickers: AAPL, TSLA, VTI, AMZN.\"),\n}).describe(\"Request parameters for subscribing or unsubscribing to the real-time US trades WebSocket.\");\nconst EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema: z.ZodTypeAny = z.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"The action to perform: 'subscribe' or 'unsubscribe'.\"),\n symbols: z.string().describe(\"Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').\"),\n}).describe(\"Payload structure to send over WebSocket for subscription management.\");\nexport const EodhdApisGetRealTimeWebsocketUsTradeOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"WebSocket endpoint URL for US trades real-time data. Connect to this URL to establish the WebSocket connection.\"),\n payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable(),\n}).describe(\"Response containing WebSocket connection details and the payload to send for subscription management.\\nUse the 'url' to establish a WebSocket connection, then send the 'payload' as a JSON message.\");\n\nexport const eodhdApisGetRealTimeWebsocketUsTrade = action(\"EODHD_APIS_GET_REAL_TIME_WEBSOCKET_US_TRADE\", {\n slug: \"eodhd_apis-get-real-time-websocket-us-trade\",\n name: \"Get Real-time WebSocket US Trades\",\n description: \"Tool to retrieve real-time trade data for the US market via WebSocket. Use when live updates for specific US symbols are required. Example: subscribe to ['AAPL', 'GOOG'].\",\n input: EodhdApisGetRealTimeWebsocketUsTradeInput,\n output: EodhdApisGetRealTimeWebsocketUsTradeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,QAAQA,IAAAA,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CACxM,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oKAAoK;AAC5M,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,8DAA4EA,IAAAA,EAAE,OAAO;CACzF,QAAQA,IAAAA,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,sDAAsD;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACnG,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CAC1I,SAAS,4DAA4D,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,sMAAsM;AAElN,MAAa,uCAAuCC,eAAAA,OAAO,+CAA+C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-real-time-websocket-us-trade.d.ts
4
+ declare const EodhdApisGetRealTimeWebsocketUsTradeInput: z.ZodTypeAny;
5
+ declare const EodhdApisGetRealTimeWebsocketUsTradeOutput: z.ZodTypeAny;
6
+ declare const eodhdApisGetRealTimeWebsocketUsTrade: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { eodhdApisGetRealTimeWebsocketUsTrade };
9
+ //# sourceMappingURL=get-real-time-websocket-us-trade.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-real-time-websocket-us-trade.d.cts","names":[],"sources":["../../src/actions/get-real-time-websocket-us-trade.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAG8C;AAAA,cAK3F,0CAAA,EAA4C,CAAA,CAAE,UAGwJ;AAAA,cAEtM,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-real-time-websocket-us-trade.d.ts
4
+ declare const EodhdApisGetRealTimeWebsocketUsTradeInput: z.ZodTypeAny;
5
+ declare const EodhdApisGetRealTimeWebsocketUsTradeOutput: z.ZodTypeAny;
6
+ declare const eodhdApisGetRealTimeWebsocketUsTrade: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { eodhdApisGetRealTimeWebsocketUsTrade };
9
+ //# sourceMappingURL=get-real-time-websocket-us-trade.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-real-time-websocket-us-trade.d.mts","names":[],"sources":["../../src/actions/get-real-time-websocket-us-trade.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAG8C;AAAA,cAK3F,0CAAA,EAA4C,CAAA,CAAE,UAGwJ;AAAA,cAEtM,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,25 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-real-time-websocket-us-trade.ts
4
+ const EodhdApisGetRealTimeWebsocketUsTradeInput = z.object({
5
+ action: z.enum(["subscribe", "unsubscribe"]).describe("Action to perform: 'subscribe' to start receiving real-time trade updates, or 'unsubscribe' to stop receiving updates for the specified symbols."),
6
+ symbols: z.array(z.string()).describe("List of US stock ticker symbols (e.g., ['AAPL', 'TSLA', 'MSFT']). Maximum 50 symbols per connection. Demo API keys support limited tickers: AAPL, TSLA, VTI, AMZN.")
7
+ }).describe("Request parameters for subscribing or unsubscribing to the real-time US trades WebSocket.");
8
+ const EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema = z.object({
9
+ action: z.enum(["subscribe", "unsubscribe"]).describe("The action to perform: 'subscribe' or 'unsubscribe'."),
10
+ symbols: z.string().describe("Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').")
11
+ }).describe("Payload structure to send over WebSocket for subscription management.");
12
+ const eodhdApisGetRealTimeWebsocketUsTrade = action("EODHD_APIS_GET_REAL_TIME_WEBSOCKET_US_TRADE", {
13
+ slug: "eodhd_apis-get-real-time-websocket-us-trade",
14
+ name: "Get Real-time WebSocket US Trades",
15
+ description: "Tool to retrieve real-time trade data for the US market via WebSocket. Use when live updates for specific US symbols are required. Example: subscribe to ['AAPL', 'GOOG'].",
16
+ input: EodhdApisGetRealTimeWebsocketUsTradeInput,
17
+ output: z.object({
18
+ url: z.string().describe("WebSocket endpoint URL for US trades real-time data. Connect to this URL to establish the WebSocket connection."),
19
+ payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable()
20
+ }).describe("Response containing WebSocket connection details and the payload to send for subscription management.\nUse the 'url' to establish a WebSocket connection, then send the 'payload' as a JSON message.")
21
+ });
22
+ //#endregion
23
+ export { eodhdApisGetRealTimeWebsocketUsTrade };
24
+
25
+ //# sourceMappingURL=get-real-time-websocket-us-trade.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-real-time-websocket-us-trade.mjs","names":[],"sources":["../../src/actions/get-real-time-websocket-us-trade.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetRealTimeWebsocketUsTradeInput: z.ZodTypeAny = z.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"Action to perform: 'subscribe' to start receiving real-time trade updates, or 'unsubscribe' to stop receiving updates for the specified symbols.\"),\n symbols: z.array(z.string()).describe(\"List of US stock ticker symbols (e.g., ['AAPL', 'TSLA', 'MSFT']). Maximum 50 symbols per connection. Demo API keys support limited tickers: AAPL, TSLA, VTI, AMZN.\"),\n}).describe(\"Request parameters for subscribing or unsubscribing to the real-time US trades WebSocket.\");\nconst EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema: z.ZodTypeAny = z.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"The action to perform: 'subscribe' or 'unsubscribe'.\"),\n symbols: z.string().describe(\"Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').\"),\n}).describe(\"Payload structure to send over WebSocket for subscription management.\");\nexport const EodhdApisGetRealTimeWebsocketUsTradeOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"WebSocket endpoint URL for US trades real-time data. Connect to this URL to establish the WebSocket connection.\"),\n payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable(),\n}).describe(\"Response containing WebSocket connection details and the payload to send for subscription management.\\nUse the 'url' to establish a WebSocket connection, then send the 'payload' as a JSON message.\");\n\nexport const eodhdApisGetRealTimeWebsocketUsTrade = action(\"EODHD_APIS_GET_REAL_TIME_WEBSOCKET_US_TRADE\", {\n slug: \"eodhd_apis-get-real-time-websocket-us-trade\",\n name: \"Get Real-time WebSocket US Trades\",\n description: \"Tool to retrieve real-time trade data for the US market via WebSocket. Use when live updates for specific US symbols are required. Example: subscribe to ['AAPL', 'GOOG'].\",\n input: EodhdApisGetRealTimeWebsocketUsTradeInput,\n output: EodhdApisGetRealTimeWebsocketUsTradeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0D,EAAE,OAAO;CAC9E,QAAQ,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CACxM,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oKAAoK;AAC5M,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,8DAA4E,EAAE,OAAO;CACzF,QAAQ,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,sDAAsD;CAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACnG,CAAC,CAAC,CAAC,SAAS,uEAAuE;AAMnF,MAAa,uCAAuC,OAAO,+CAA+C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsE,EAAE,OAAO;EAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;EAC1I,SAAS,4DAA4D,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,sMAOF;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-user-info.ts
4
+ const EodhdApisGetUserInfoInput = zod.z.object({ fmt: zod.z.string().default("json").describe("Output format. Use 'json' for JSON response.").optional() }).describe("Request parameters for user account information endpoint.");
5
+ const EodhdApisGetUserInfoOutput = zod.z.object({
6
+ name: zod.z.string().describe("Name of the account holder or organization.").nullable().optional(),
7
+ email: zod.z.string().describe("Email address associated with the user account.").nullable().optional(),
8
+ apiRequests: zod.z.number().int().describe("Number of API requests made today or in the current billing period.").nullable().optional(),
9
+ paymentMethod: zod.z.string().describe("Payment method used for the subscription (e.g., credit card, PayPal).").nullable().optional(),
10
+ dailyRateLimit: zod.z.number().int().describe("Maximum number of API requests allowed per day based on the subscription plan.").nullable().optional(),
11
+ apiRequestsDate: zod.z.string().describe("Date or timestamp when the API requests counter was last updated or reset.").nullable().optional(),
12
+ subscriptionType: zod.z.string().describe("Current subscription plan type or tier (e.g., Free, Professional, Corporate).").nullable().optional()
13
+ }).describe("Response model for user account information from EODHD API.\nContains account details, subscription plan, and API usage statistics.");
14
+ const eodhdApisGetUserInfo = require_action.action("EODHD_APIS_GET_USER_INFO", {
15
+ slug: "eodhd_apis-get-user-info",
16
+ name: "Get User Info",
17
+ description: "Retrieve current user account information and API usage statistics from EODHD. Returns details including subscription type, daily rate limits, number of API requests made, email, name, and payment method. Use this to monitor API usage, check remaining quota, or verify account details.",
18
+ input: EodhdApisGetUserInfoInput,
19
+ output: EodhdApisGetUserInfoOutput
20
+ });
21
+ //#endregion
22
+ exports.eodhdApisGetUserInfo = eodhdApisGetUserInfo;
23
+
24
+ //# sourceMappingURL=get-user-info.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetUserInfoInput: z.ZodTypeAny = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n}).describe(\"Request parameters for user account information endpoint.\");\nexport const EodhdApisGetUserInfoOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the account holder or organization.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the user account.\").nullable().optional(),\n apiRequests: z.number().int().describe(\"Number of API requests made today or in the current billing period.\").nullable().optional(),\n paymentMethod: z.string().describe(\"Payment method used for the subscription (e.g., credit card, PayPal).\").nullable().optional(),\n dailyRateLimit: z.number().int().describe(\"Maximum number of API requests allowed per day based on the subscription plan.\").nullable().optional(),\n apiRequestsDate: z.string().describe(\"Date or timestamp when the API requests counter was last updated or reset.\").nullable().optional(),\n subscriptionType: z.string().describe(\"Current subscription plan type or tier (e.g., Free, Professional, Corporate).\").nullable().optional(),\n}).describe(\"Response model for user account information from EODHD API.\\nContains account details, subscription plan, and API usage statistics.\");\n\nexport const eodhdApisGetUserInfo = action(\"EODHD_APIS_GET_USER_INFO\", {\n slug: \"eodhd_apis-get-user-info\",\n name: \"Get User Info\",\n description: \"Retrieve current user account information and API usage statistics from EODHD. Returns details including subscription type, daily rate limits, number of API requests made, email, name, and payment method. Use this to monitor API usage, check remaining quota, or verify account details.\",\n input: EodhdApisGetUserInfoInput,\n output: EodhdApisGetUserInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,qIAAqI;AAEjJ,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-user-info.d.ts
4
+ declare const EodhdApisGetUserInfoInput: z.ZodTypeAny;
5
+ declare const EodhdApisGetUserInfoOutput: z.ZodTypeAny;
6
+ declare const eodhdApisGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { eodhdApisGetUserInfo };
9
+ //# sourceMappingURL=get-user-info.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAE8B;AAAA,cAC3D,0BAAA,EAA4B,CAAA,CAAE,UAQuG;AAAA,cAErI,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-user-info.d.ts
4
+ declare const EodhdApisGetUserInfoInput: z.ZodTypeAny;
5
+ declare const EodhdApisGetUserInfoOutput: z.ZodTypeAny;
6
+ declare const eodhdApisGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { eodhdApisGetUserInfo };
9
+ //# sourceMappingURL=get-user-info.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAE8B;AAAA,cAC3D,0BAAA,EAA4B,CAAA,CAAE,UAQuG;AAAA,cAErI,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const eodhdApisGetUserInfo = action("EODHD_APIS_GET_USER_INFO", {
4
+ slug: "eodhd_apis-get-user-info",
5
+ name: "Get User Info",
6
+ description: "Retrieve current user account information and API usage statistics from EODHD. Returns details including subscription type, daily rate limits, number of API requests made, email, name, and payment method. Use this to monitor API usage, check remaining quota, or verify account details.",
7
+ input: z.object({ fmt: z.string().default("json").describe("Output format. Use 'json' for JSON response.").optional() }).describe("Request parameters for user account information endpoint."),
8
+ output: z.object({
9
+ name: z.string().describe("Name of the account holder or organization.").nullable().optional(),
10
+ email: z.string().describe("Email address associated with the user account.").nullable().optional(),
11
+ apiRequests: z.number().int().describe("Number of API requests made today or in the current billing period.").nullable().optional(),
12
+ paymentMethod: z.string().describe("Payment method used for the subscription (e.g., credit card, PayPal).").nullable().optional(),
13
+ dailyRateLimit: z.number().int().describe("Maximum number of API requests allowed per day based on the subscription plan.").nullable().optional(),
14
+ apiRequestsDate: z.string().describe("Date or timestamp when the API requests counter was last updated or reset.").nullable().optional(),
15
+ subscriptionType: z.string().describe("Current subscription plan type or tier (e.g., Free, Professional, Corporate).").nullable().optional()
16
+ }).describe("Response model for user account information from EODHD API.\nContains account details, subscription plan, and API usage statistics.")
17
+ });
18
+ //#endregion
19
+ export { eodhdApisGetUserInfo };
20
+
21
+ //# sourceMappingURL=get-user-info.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user-info.mjs","names":[],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetUserInfoInput: z.ZodTypeAny = z.object({\n fmt: z.string().default(\"json\").describe(\"Output format. Use 'json' for JSON response.\").optional(),\n}).describe(\"Request parameters for user account information endpoint.\");\nexport const EodhdApisGetUserInfoOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the account holder or organization.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the user account.\").nullable().optional(),\n apiRequests: z.number().int().describe(\"Number of API requests made today or in the current billing period.\").nullable().optional(),\n paymentMethod: z.string().describe(\"Payment method used for the subscription (e.g., credit card, PayPal).\").nullable().optional(),\n dailyRateLimit: z.number().int().describe(\"Maximum number of API requests allowed per day based on the subscription plan.\").nullable().optional(),\n apiRequestsDate: z.string().describe(\"Date or timestamp when the API requests counter was last updated or reset.\").nullable().optional(),\n subscriptionType: z.string().describe(\"Current subscription plan type or tier (e.g., Free, Professional, Corporate).\").nullable().optional(),\n}).describe(\"Response model for user account information from EODHD API.\\nContains account details, subscription plan, and API usage statistics.\");\n\nexport const eodhdApisGetUserInfo = action(\"EODHD_APIS_GET_USER_INFO\", {\n slug: \"eodhd_apis-get-user-info\",\n name: \"Get User Info\",\n description: \"Retrieve current user account information and API usage statistics from EODHD. Returns details including subscription type, daily rate limits, number of API requests made, email, name, and payment method. Use this to monitor API usage, check remaining quota, or verify account details.\",\n input: EodhdApisGetUserInfoInput,\n output: EodhdApisGetUserInfoOutput,\n});\n"],"mappings":";;AAiBA,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBqD,EAAE,OAAO,EAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,2DAeH;CACP,QAfsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,SAAS,qIAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-ust-yield-rates.ts
4
+ const EodhdApisGetUstYieldRatesInput = zod.z.object({
5
+ to: zod.z.string().describe("End date for filtering yield rates in YYYY-MM-DD format. Returns rates up to this date.").optional(),
6
+ from: zod.z.string().describe("Start date for filtering yield rates in YYYY-MM-DD format. Returns rates from this date onwards.").optional(),
7
+ limit: zod.z.number().int().describe("Maximum number of yield rate records to return. Use this to limit the response size when querying large date ranges.").optional(),
8
+ offset: zod.z.number().int().describe("Number of records to skip before returning results. Use together with 'limit' for pagination through large result sets.").optional(),
9
+ filter_year: zod.z.number().int().describe("Filter data by year (e.g., 2023, 2024). Valid range: 1900 to current year + 1. Defaults to current year if not specified.").optional()
10
+ }).describe("Request parameters for US Treasury yield curve rates API.");
11
+ const EodhdApisGetUstYieldRates_YieldRateRecordSchema = zod.z.object({
12
+ date: zod.z.string().describe("Observation date in YYYY-MM-DD format.").nullable().optional(),
13
+ rate: zod.z.number().describe("Par yield rate for the given tenor (percentage).").nullable().optional(),
14
+ tenor: zod.z.string().describe("Tenor/maturity period (e.g., '1M' for 1 month, '6M' for 6 months, '1Y' for 1 year, '2Y', '5Y', '10Y', '30Y').").nullable().optional()
15
+ }).describe("Schema for a single US Treasury yield curve rate record.");
16
+ const EodhdApisGetUstYieldRates_MetaInfoSchema = zod.z.object({ total: zod.z.number().int().describe("Total number of yield rate records available.").nullable().optional() }).describe("Metadata information for the response.");
17
+ const EodhdApisGetUstYieldRatesOutput = zod.z.object({
18
+ data: zod.z.array(EodhdApisGetUstYieldRates_YieldRateRecordSchema).describe("List of yield rate records with par yields across various tenors/maturities.").nullable().optional(),
19
+ meta: EodhdApisGetUstYieldRates_MetaInfoSchema.nullable().optional()
20
+ }).describe("Response model for US Treasury yield curve rates API.\nReturns historical yield curve data across all maturities.");
21
+ const eodhdApisGetUstYieldRates = require_action.action("EODHD_APIS_GET_UST_YIELD_RATES", {
22
+ slug: "eodhd_apis-get-ust-yield-rates",
23
+ name: "Get US Treasury Yield Rates",
24
+ description: "Retrieve US Treasury yield curve rates from EODHD API. Returns historical par yield data across all maturities (1 month, 6 months, 1 year, 2 years, 5 years, 10 years, 30 years, etc.). Use this when you need Treasury yield curve data for financial analysis, economic research, or investment decisions.",
25
+ input: EodhdApisGetUstYieldRatesInput,
26
+ output: EodhdApisGetUstYieldRatesOutput
27
+ });
28
+ //#endregion
29
+ exports.eodhdApisGetUstYieldRates = eodhdApisGetUstYieldRates;
30
+
31
+ //# sourceMappingURL=get-ust-yield-rates.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-ust-yield-rates.cjs","names":["z","action"],"sources":["../../src/actions/get-ust-yield-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetUstYieldRatesInput: z.ZodTypeAny = z.object({\n to: z.string().describe(\"End date for filtering yield rates in YYYY-MM-DD format. Returns rates up to this date.\").optional(),\n from: z.string().describe(\"Start date for filtering yield rates in YYYY-MM-DD format. Returns rates from this date onwards.\").optional(),\n limit: z.number().int().describe(\"Maximum number of yield rate records to return. Use this to limit the response size when querying large date ranges.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip before returning results. Use together with 'limit' for pagination through large result sets.\").optional(),\n filter_year: z.number().int().describe(\"Filter data by year (e.g., 2023, 2024). Valid range: 1900 to current year + 1. Defaults to current year if not specified.\").optional(),\n}).describe(\"Request parameters for US Treasury yield curve rates API.\");\nconst EodhdApisGetUstYieldRates_YieldRateRecordSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Observation date in YYYY-MM-DD format.\").nullable().optional(),\n rate: z.number().describe(\"Par yield rate for the given tenor (percentage).\").nullable().optional(),\n tenor: z.string().describe(\"Tenor/maturity period (e.g., '1M' for 1 month, '6M' for 6 months, '1Y' for 1 year, '2Y', '5Y', '10Y', '30Y').\").nullable().optional(),\n}).describe(\"Schema for a single US Treasury yield curve rate record.\");\nconst EodhdApisGetUstYieldRates_MetaInfoSchema: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of yield rate records available.\").nullable().optional(),\n}).describe(\"Metadata information for the response.\");\nexport const EodhdApisGetUstYieldRatesOutput: z.ZodTypeAny = z.object({\n data: z.array(EodhdApisGetUstYieldRates_YieldRateRecordSchema).describe(\"List of yield rate records with par yields across various tenors/maturities.\").nullable().optional(),\n meta: EodhdApisGetUstYieldRates_MetaInfoSchema.nullable().optional(),\n}).describe(\"Response model for US Treasury yield curve rates API.\\nReturns historical yield curve data across all maturities.\");\n\nexport const eodhdApisGetUstYieldRates = action(\"EODHD_APIS_GET_UST_YIELD_RATES\", {\n slug: \"eodhd_apis-get-ust-yield-rates\",\n name: \"Get US Treasury Yield Rates\",\n description: \"Retrieve US Treasury yield curve rates from EODHD API. Returns historical par yield data across all maturities (1 month, 6 months, 1 year, 2 years, 5 years, 10 years, 30 years, etc.). Use this when you need Treasury yield curve data for financial analysis, economic research, or investment decisions.\",\n input: EodhdApisGetUstYieldRatesInput,\n output: EodhdApisGetUstYieldRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC5H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAClK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACtK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,2CAAyDA,IAAAA,EAAE,OAAO,EACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5K,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAE/H,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-ust-yield-rates.d.ts
4
+ declare const EodhdApisGetUstYieldRatesInput: z.ZodTypeAny;
5
+ declare const EodhdApisGetUstYieldRatesOutput: z.ZodTypeAny;
6
+ declare const eodhdApisGetUstYieldRates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { eodhdApisGetUstYieldRates };
9
+ //# sourceMappingURL=get-ust-yield-rates.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-ust-yield-rates.d.cts","names":[],"sources":["../../src/actions/get-ust-yield-rates.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAMyB;AAAA,cAS3D,+BAAA,EAAiC,CAAA,CAAE,UAGgF;AAAA,cAEnH,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-ust-yield-rates.d.ts
4
+ declare const EodhdApisGetUstYieldRatesInput: z.ZodTypeAny;
5
+ declare const EodhdApisGetUstYieldRatesOutput: z.ZodTypeAny;
6
+ declare const eodhdApisGetUstYieldRates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { eodhdApisGetUstYieldRates };
9
+ //# sourceMappingURL=get-ust-yield-rates.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-ust-yield-rates.d.mts","names":[],"sources":["../../src/actions/get-ust-yield-rates.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAMyB;AAAA,cAS3D,+BAAA,EAAiC,CAAA,CAAE,UAGgF;AAAA,cAEnH,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,30 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-ust-yield-rates.ts
4
+ const EodhdApisGetUstYieldRatesInput = z.object({
5
+ to: z.string().describe("End date for filtering yield rates in YYYY-MM-DD format. Returns rates up to this date.").optional(),
6
+ from: z.string().describe("Start date for filtering yield rates in YYYY-MM-DD format. Returns rates from this date onwards.").optional(),
7
+ limit: z.number().int().describe("Maximum number of yield rate records to return. Use this to limit the response size when querying large date ranges.").optional(),
8
+ offset: z.number().int().describe("Number of records to skip before returning results. Use together with 'limit' for pagination through large result sets.").optional(),
9
+ filter_year: z.number().int().describe("Filter data by year (e.g., 2023, 2024). Valid range: 1900 to current year + 1. Defaults to current year if not specified.").optional()
10
+ }).describe("Request parameters for US Treasury yield curve rates API.");
11
+ const EodhdApisGetUstYieldRates_YieldRateRecordSchema = z.object({
12
+ date: z.string().describe("Observation date in YYYY-MM-DD format.").nullable().optional(),
13
+ rate: z.number().describe("Par yield rate for the given tenor (percentage).").nullable().optional(),
14
+ tenor: z.string().describe("Tenor/maturity period (e.g., '1M' for 1 month, '6M' for 6 months, '1Y' for 1 year, '2Y', '5Y', '10Y', '30Y').").nullable().optional()
15
+ }).describe("Schema for a single US Treasury yield curve rate record.");
16
+ const EodhdApisGetUstYieldRates_MetaInfoSchema = z.object({ total: z.number().int().describe("Total number of yield rate records available.").nullable().optional() }).describe("Metadata information for the response.");
17
+ const eodhdApisGetUstYieldRates = action("EODHD_APIS_GET_UST_YIELD_RATES", {
18
+ slug: "eodhd_apis-get-ust-yield-rates",
19
+ name: "Get US Treasury Yield Rates",
20
+ description: "Retrieve US Treasury yield curve rates from EODHD API. Returns historical par yield data across all maturities (1 month, 6 months, 1 year, 2 years, 5 years, 10 years, 30 years, etc.). Use this when you need Treasury yield curve data for financial analysis, economic research, or investment decisions.",
21
+ input: EodhdApisGetUstYieldRatesInput,
22
+ output: z.object({
23
+ data: z.array(EodhdApisGetUstYieldRates_YieldRateRecordSchema).describe("List of yield rate records with par yields across various tenors/maturities.").nullable().optional(),
24
+ meta: EodhdApisGetUstYieldRates_MetaInfoSchema.nullable().optional()
25
+ }).describe("Response model for US Treasury yield curve rates API.\nReturns historical yield curve data across all maturities.")
26
+ });
27
+ //#endregion
28
+ export { eodhdApisGetUstYieldRates };
29
+
30
+ //# sourceMappingURL=get-ust-yield-rates.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-ust-yield-rates.mjs","names":[],"sources":["../../src/actions/get-ust-yield-rates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisGetUstYieldRatesInput: z.ZodTypeAny = z.object({\n to: z.string().describe(\"End date for filtering yield rates in YYYY-MM-DD format. Returns rates up to this date.\").optional(),\n from: z.string().describe(\"Start date for filtering yield rates in YYYY-MM-DD format. Returns rates from this date onwards.\").optional(),\n limit: z.number().int().describe(\"Maximum number of yield rate records to return. Use this to limit the response size when querying large date ranges.\").optional(),\n offset: z.number().int().describe(\"Number of records to skip before returning results. Use together with 'limit' for pagination through large result sets.\").optional(),\n filter_year: z.number().int().describe(\"Filter data by year (e.g., 2023, 2024). Valid range: 1900 to current year + 1. Defaults to current year if not specified.\").optional(),\n}).describe(\"Request parameters for US Treasury yield curve rates API.\");\nconst EodhdApisGetUstYieldRates_YieldRateRecordSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Observation date in YYYY-MM-DD format.\").nullable().optional(),\n rate: z.number().describe(\"Par yield rate for the given tenor (percentage).\").nullable().optional(),\n tenor: z.string().describe(\"Tenor/maturity period (e.g., '1M' for 1 month, '6M' for 6 months, '1Y' for 1 year, '2Y', '5Y', '10Y', '30Y').\").nullable().optional(),\n}).describe(\"Schema for a single US Treasury yield curve rate record.\");\nconst EodhdApisGetUstYieldRates_MetaInfoSchema: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of yield rate records available.\").nullable().optional(),\n}).describe(\"Metadata information for the response.\");\nexport const EodhdApisGetUstYieldRatesOutput: z.ZodTypeAny = z.object({\n data: z.array(EodhdApisGetUstYieldRates_YieldRateRecordSchema).describe(\"List of yield rate records with par yields across various tenors/maturities.\").nullable().optional(),\n meta: EodhdApisGetUstYieldRates_MetaInfoSchema.nullable().optional(),\n}).describe(\"Response model for US Treasury yield curve rates API.\\nReturns historical yield curve data across all maturities.\");\n\nexport const eodhdApisGetUstYieldRates = action(\"EODHD_APIS_GET_UST_YIELD_RATES\", {\n slug: \"eodhd_apis-get-ust-yield-rates\",\n name: \"Get US Treasury Yield Rates\",\n description: \"Retrieve US Treasury yield curve rates from EODHD API. Returns historical par yield data across all maturities (1 month, 6 months, 1 year, 2 years, 5 years, 10 years, 30 years, etc.). Use this when you need Treasury yield curve data for financial analysis, economic research, or investment decisions.\",\n input: EodhdApisGetUstYieldRatesInput,\n output: EodhdApisGetUstYieldRatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC5H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAClK,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACtK,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAC/K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAgE,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClK,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,2CAAyD,EAAE,OAAO,EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2D,EAAE,OAAO;EACpE,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5K,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,SAAS,mHAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_get_eod_yahoo_style = require("./get-eod-yahoo-style.cjs");
3
+ const require_get_id_mapping = require("./get-id-mapping.cjs");
4
+ const require_get_macro_indicators = require("./get-macro-indicators.cjs");
5
+ const require_get_mutual_funds_data = require("./get-mutual-funds-data.cjs");
6
+ const require_get_real_time_quote = require("./get-real-time-quote.cjs");
7
+ const require_get_real_time_websocket_forex = require("./get-real-time-websocket-forex.cjs");
8
+ const require_get_real_time_websocket_us_trade = require("./get-real-time-websocket-us-trade.cjs");
9
+ const require_get_user_info = require("./get-user-info.cjs");
10
+ const require_get_ust_yield_rates = require("./get-ust-yield-rates.cjs");
11
+ const require_list_exchanges = require("./list-exchanges.cjs");
12
+ const require_search_instruments = require("./search-instruments.cjs");
13
+ exports.eodhdApisGetEodYahooStyle = require_get_eod_yahoo_style.eodhdApisGetEodYahooStyle;
14
+ exports.eodhdApisGetIdMapping = require_get_id_mapping.eodhdApisGetIdMapping;
15
+ exports.eodhdApisGetMacroIndicators = require_get_macro_indicators.eodhdApisGetMacroIndicators;
16
+ exports.eodhdApisGetMutualFundsData = require_get_mutual_funds_data.eodhdApisGetMutualFundsData;
17
+ exports.eodhdApisGetRealTimeQuote = require_get_real_time_quote.eodhdApisGetRealTimeQuote;
18
+ exports.eodhdApisGetRealTimeWebsocketForex = require_get_real_time_websocket_forex.eodhdApisGetRealTimeWebsocketForex;
19
+ exports.eodhdApisGetRealTimeWebsocketUsTrade = require_get_real_time_websocket_us_trade.eodhdApisGetRealTimeWebsocketUsTrade;
20
+ exports.eodhdApisGetUserInfo = require_get_user_info.eodhdApisGetUserInfo;
21
+ exports.eodhdApisGetUstYieldRates = require_get_ust_yield_rates.eodhdApisGetUstYieldRates;
22
+ exports.eodhdApisListExchanges = require_list_exchanges.eodhdApisListExchanges;
23
+ exports.eodhdApisSearchInstruments = require_search_instruments.eodhdApisSearchInstruments;
@@ -0,0 +1,12 @@
1
+ import { eodhdApisGetEodYahooStyle } from "./get-eod-yahoo-style.cjs";
2
+ import { eodhdApisGetIdMapping } from "./get-id-mapping.cjs";
3
+ import { eodhdApisGetMacroIndicators } from "./get-macro-indicators.cjs";
4
+ import { eodhdApisGetMutualFundsData } from "./get-mutual-funds-data.cjs";
5
+ import { eodhdApisGetRealTimeQuote } from "./get-real-time-quote.cjs";
6
+ import { eodhdApisGetRealTimeWebsocketForex } from "./get-real-time-websocket-forex.cjs";
7
+ import { eodhdApisGetRealTimeWebsocketUsTrade } from "./get-real-time-websocket-us-trade.cjs";
8
+ import { eodhdApisGetUserInfo } from "./get-user-info.cjs";
9
+ import { eodhdApisGetUstYieldRates } from "./get-ust-yield-rates.cjs";
10
+ import { eodhdApisListExchanges } from "./list-exchanges.cjs";
11
+ import { eodhdApisSearchInstruments } from "./search-instruments.cjs";
12
+ export { eodhdApisGetEodYahooStyle, eodhdApisGetIdMapping, eodhdApisGetMacroIndicators, eodhdApisGetMutualFundsData, eodhdApisGetRealTimeQuote, eodhdApisGetRealTimeWebsocketForex, eodhdApisGetRealTimeWebsocketUsTrade, eodhdApisGetUserInfo, eodhdApisGetUstYieldRates, eodhdApisListExchanges, eodhdApisSearchInstruments };
@@ -0,0 +1,12 @@
1
+ import { eodhdApisGetEodYahooStyle } from "./get-eod-yahoo-style.mjs";
2
+ import { eodhdApisGetIdMapping } from "./get-id-mapping.mjs";
3
+ import { eodhdApisGetMacroIndicators } from "./get-macro-indicators.mjs";
4
+ import { eodhdApisGetMutualFundsData } from "./get-mutual-funds-data.mjs";
5
+ import { eodhdApisGetRealTimeQuote } from "./get-real-time-quote.mjs";
6
+ import { eodhdApisGetRealTimeWebsocketForex } from "./get-real-time-websocket-forex.mjs";
7
+ import { eodhdApisGetRealTimeWebsocketUsTrade } from "./get-real-time-websocket-us-trade.mjs";
8
+ import { eodhdApisGetUserInfo } from "./get-user-info.mjs";
9
+ import { eodhdApisGetUstYieldRates } from "./get-ust-yield-rates.mjs";
10
+ import { eodhdApisListExchanges } from "./list-exchanges.mjs";
11
+ import { eodhdApisSearchInstruments } from "./search-instruments.mjs";
12
+ export { eodhdApisGetEodYahooStyle, eodhdApisGetIdMapping, eodhdApisGetMacroIndicators, eodhdApisGetMutualFundsData, eodhdApisGetRealTimeQuote, eodhdApisGetRealTimeWebsocketForex, eodhdApisGetRealTimeWebsocketUsTrade, eodhdApisGetUserInfo, eodhdApisGetUstYieldRates, eodhdApisListExchanges, eodhdApisSearchInstruments };
@@ -0,0 +1,12 @@
1
+ import { eodhdApisGetEodYahooStyle } from "./get-eod-yahoo-style.mjs";
2
+ import { eodhdApisGetIdMapping } from "./get-id-mapping.mjs";
3
+ import { eodhdApisGetMacroIndicators } from "./get-macro-indicators.mjs";
4
+ import { eodhdApisGetMutualFundsData } from "./get-mutual-funds-data.mjs";
5
+ import { eodhdApisGetRealTimeQuote } from "./get-real-time-quote.mjs";
6
+ import { eodhdApisGetRealTimeWebsocketForex } from "./get-real-time-websocket-forex.mjs";
7
+ import { eodhdApisGetRealTimeWebsocketUsTrade } from "./get-real-time-websocket-us-trade.mjs";
8
+ import { eodhdApisGetUserInfo } from "./get-user-info.mjs";
9
+ import { eodhdApisGetUstYieldRates } from "./get-ust-yield-rates.mjs";
10
+ import { eodhdApisListExchanges } from "./list-exchanges.mjs";
11
+ import { eodhdApisSearchInstruments } from "./search-instruments.mjs";
12
+ export { eodhdApisGetEodYahooStyle, eodhdApisGetIdMapping, eodhdApisGetMacroIndicators, eodhdApisGetMutualFundsData, eodhdApisGetRealTimeQuote, eodhdApisGetRealTimeWebsocketForex, eodhdApisGetRealTimeWebsocketUsTrade, eodhdApisGetUserInfo, eodhdApisGetUstYieldRates, eodhdApisListExchanges, eodhdApisSearchInstruments };