@keystrokehq/eodhd_apis 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) 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 +1 -0
  4. package/dist/actions/get-eod-yahoo-style.cjs.map +1 -1
  5. package/dist/actions/get-eod-yahoo-style.d.cts +3 -11
  6. package/dist/actions/get-eod-yahoo-style.d.cts.map +1 -1
  7. package/dist/actions/get-eod-yahoo-style.d.mts +3 -11
  8. package/dist/actions/get-eod-yahoo-style.d.mts.map +1 -1
  9. package/dist/actions/get-eod-yahoo-style.mjs +1 -0
  10. package/dist/actions/get-eod-yahoo-style.mjs.map +1 -1
  11. package/dist/actions/get-id-mapping.cjs +1 -0
  12. package/dist/actions/get-id-mapping.cjs.map +1 -1
  13. package/dist/actions/get-id-mapping.d.cts +3 -12
  14. package/dist/actions/get-id-mapping.d.cts.map +1 -1
  15. package/dist/actions/get-id-mapping.d.mts +3 -12
  16. package/dist/actions/get-id-mapping.d.mts.map +1 -1
  17. package/dist/actions/get-id-mapping.mjs +1 -0
  18. package/dist/actions/get-id-mapping.mjs.map +1 -1
  19. package/dist/actions/get-macro-indicators.cjs +1 -0
  20. package/dist/actions/get-macro-indicators.cjs.map +1 -1
  21. package/dist/actions/get-macro-indicators.d.cts +3 -4
  22. package/dist/actions/get-macro-indicators.d.cts.map +1 -1
  23. package/dist/actions/get-macro-indicators.d.mts +3 -4
  24. package/dist/actions/get-macro-indicators.d.mts.map +1 -1
  25. package/dist/actions/get-macro-indicators.mjs +1 -0
  26. package/dist/actions/get-macro-indicators.mjs.map +1 -1
  27. package/dist/actions/get-mutual-funds-data.cjs +1 -0
  28. package/dist/actions/get-mutual-funds-data.cjs.map +1 -1
  29. package/dist/actions/get-mutual-funds-data.d.cts +3 -4
  30. package/dist/actions/get-mutual-funds-data.d.cts.map +1 -1
  31. package/dist/actions/get-mutual-funds-data.d.mts +3 -4
  32. package/dist/actions/get-mutual-funds-data.d.mts.map +1 -1
  33. package/dist/actions/get-mutual-funds-data.mjs +1 -0
  34. package/dist/actions/get-mutual-funds-data.mjs.map +1 -1
  35. package/dist/actions/get-real-time-quote.cjs +1 -0
  36. package/dist/actions/get-real-time-quote.cjs.map +1 -1
  37. package/dist/actions/get-real-time-quote.d.cts +3 -5
  38. package/dist/actions/get-real-time-quote.d.cts.map +1 -1
  39. package/dist/actions/get-real-time-quote.d.mts +3 -5
  40. package/dist/actions/get-real-time-quote.d.mts.map +1 -1
  41. package/dist/actions/get-real-time-quote.mjs +1 -0
  42. package/dist/actions/get-real-time-quote.mjs.map +1 -1
  43. package/dist/actions/get-real-time-websocket-forex.cjs +1 -0
  44. package/dist/actions/get-real-time-websocket-forex.cjs.map +1 -1
  45. package/dist/actions/get-real-time-websocket-forex.d.cts +3 -3
  46. package/dist/actions/get-real-time-websocket-forex.d.cts.map +1 -1
  47. package/dist/actions/get-real-time-websocket-forex.d.mts +3 -3
  48. package/dist/actions/get-real-time-websocket-forex.d.mts.map +1 -1
  49. package/dist/actions/get-real-time-websocket-forex.mjs +1 -0
  50. package/dist/actions/get-real-time-websocket-forex.mjs.map +1 -1
  51. package/dist/actions/get-real-time-websocket-us-trade.cjs +1 -0
  52. package/dist/actions/get-real-time-websocket-us-trade.cjs.map +1 -1
  53. package/dist/actions/get-real-time-websocket-us-trade.d.cts +3 -4
  54. package/dist/actions/get-real-time-websocket-us-trade.d.cts.map +1 -1
  55. package/dist/actions/get-real-time-websocket-us-trade.d.mts +3 -4
  56. package/dist/actions/get-real-time-websocket-us-trade.d.mts.map +1 -1
  57. package/dist/actions/get-real-time-websocket-us-trade.mjs +1 -0
  58. package/dist/actions/get-real-time-websocket-us-trade.mjs.map +1 -1
  59. package/dist/actions/get-user-info.cjs +1 -0
  60. package/dist/actions/get-user-info.cjs.map +1 -1
  61. package/dist/actions/get-user-info.d.cts +3 -3
  62. package/dist/actions/get-user-info.d.cts.map +1 -1
  63. package/dist/actions/get-user-info.d.mts +3 -3
  64. package/dist/actions/get-user-info.d.mts.map +1 -1
  65. package/dist/actions/get-user-info.mjs +1 -0
  66. package/dist/actions/get-user-info.mjs.map +1 -1
  67. package/dist/actions/get-ust-yield-rates.cjs +1 -0
  68. package/dist/actions/get-ust-yield-rates.cjs.map +1 -1
  69. package/dist/actions/get-ust-yield-rates.d.cts +3 -7
  70. package/dist/actions/get-ust-yield-rates.d.cts.map +1 -1
  71. package/dist/actions/get-ust-yield-rates.d.mts +3 -7
  72. package/dist/actions/get-ust-yield-rates.d.mts.map +1 -1
  73. package/dist/actions/get-ust-yield-rates.mjs +1 -0
  74. package/dist/actions/get-ust-yield-rates.mjs.map +1 -1
  75. package/dist/actions/list-exchanges.cjs +1 -0
  76. package/dist/actions/list-exchanges.cjs.map +1 -1
  77. package/dist/actions/list-exchanges.d.cts +3 -3
  78. package/dist/actions/list-exchanges.d.cts.map +1 -1
  79. package/dist/actions/list-exchanges.d.mts +3 -3
  80. package/dist/actions/list-exchanges.d.mts.map +1 -1
  81. package/dist/actions/list-exchanges.mjs +1 -0
  82. package/dist/actions/list-exchanges.mjs.map +1 -1
  83. package/dist/actions/search-instruments.cjs +1 -0
  84. package/dist/actions/search-instruments.cjs.map +1 -1
  85. package/dist/actions/search-instruments.d.cts +3 -6
  86. package/dist/actions/search-instruments.d.cts.map +1 -1
  87. package/dist/actions/search-instruments.d.mts +3 -6
  88. package/dist/actions/search-instruments.d.mts.map +1 -1
  89. package/dist/actions/search-instruments.mjs +1 -0
  90. package/dist/actions/search-instruments.mjs.map +1 -1
  91. package/dist/app.cjs +5 -2
  92. package/dist/app.cjs.map +1 -1
  93. package/dist/app.d.cts +7 -1
  94. package/dist/app.d.cts.map +1 -1
  95. package/dist/app.d.mts +7 -1
  96. package/dist/app.d.mts.map +1 -1
  97. package/dist/app.mjs +3 -2
  98. package/dist/app.mjs.map +1 -1
  99. package/dist/index.d.cts +1 -1
  100. package/dist/index.d.mts +1 -1
  101. package/package.json +2 -2
@@ -1 +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.object({\n s: z.string().describe(\"Additional ticker symbols comma-separated (max 15-20 recommended). Example: 'TSLA.US,MSFT.US,GOOGL.US'. When provided, returns data for multiple symbols in a single request.\").optional(),\n fmt: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Output format for the API response\").optional(),\n symbol: z.string().describe(\"Primary ticker symbol with exchange code (e.g., 'AAPL.US' for Apple stock, 'EURUSD.FOREX' for EUR/USD forex pair, 'BTC-USD.CC' for Bitcoin). Format is 'TICKER.EXCHANGE'.\"),\n}).describe(\"Request parameters for EODHD_APIS_GET_REAL_TIME_QUOTE\");\nconst EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema = z.object({\n low: z.number().describe(\"Lowest price during the current 1-minute period.\").nullable().optional(),\n code: z.string().describe(\"Ticker symbol with exchange code (e.g., 'AAPL.US').\").nullable(),\n high: z.number().describe(\"Highest price during the current 1-minute period.\").nullable().optional(),\n open: z.number().describe(\"Opening price for the current 1-minute period.\").nullable().optional(),\n close: z.number().describe(\"Current/closing price (latest traded price).\").nullable().optional(),\n change: z.number().describe(\"Absolute price change from previous close.\").nullable().optional(),\n volume: z.number().int().describe(\"Trading volume for the current 1-minute period.\").nullable().optional(),\n change_p: z.number().describe(\"Percentage price change from previous close.\").nullable().optional(),\n gmtoffset: z.number().int().describe(\"GMT offset in seconds for the exchange's timezone.\").nullable(),\n timestamp: z.number().int().describe(\"Unix timestamp of the last update (seconds since January 1, 1970 UTC).\").nullable(),\n previousClose: z.number().describe(\"Previous day's closing price.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single real-time quote data point with OHLCV information.\");\nexport const EodhdApisGetRealTimeQuoteOutput = z.object({\n data: z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]),\n}).passthrough().describe(\"Response model for EODHD_APIS_GET_REAL_TIME_QUOTE.\\nReturns real-time OHLCV data for single or multiple symbols.\\nWhen querying a single symbol, returns a single object.\\nWhen querying multiple symbols (via 's' parameter), returns a list of objects.\");\n\nexport const eodhdApisGetRealTimeQuote = action(\"EODHD_APIS_GET_REAL_TIME_QUOTE\", {\n slug: \"eodhd_apis-get-real-time-quote\",\n name: \"Get Real-Time Quote\",\n description: \"Retrieves real-time (delayed 15-20 minutes for stocks, ~1 minute for forex) OHLCV data for stocks, forex, and cryptocurrencies. Returns latest 1-minute bar with open, high, low, close, volume, previous close, and price changes. Use this when you need current market prices and intraday data.\",\n input: EodhdApisGetRealTimeQuoteInput,\n output: EodhdApisGetRealTimeQuoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,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,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,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,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACxH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAKlG,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,MAAM,EAAE,MAAM,CAAC,mDAAmD,EAAE,MAAM,iDAAiD,CAAC,CAAC,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2PAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-real-time-quote.mjs","names":[],"sources":["../../src/actions/get-real-time-quote.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetRealTimeQuoteInput = z.object({\n s: z.string().describe(\"Additional ticker symbols comma-separated (max 15-20 recommended). Example: 'TSLA.US,MSFT.US,GOOGL.US'. When provided, returns data for multiple symbols in a single request.\").optional(),\n fmt: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Output format for the API response\").optional(),\n symbol: z.string().describe(\"Primary ticker symbol with exchange code (e.g., 'AAPL.US' for Apple stock, 'EURUSD.FOREX' for EUR/USD forex pair, 'BTC-USD.CC' for Bitcoin). Format is 'TICKER.EXCHANGE'.\"),\n}).describe(\"Request parameters for EODHD_APIS_GET_REAL_TIME_QUOTE\");\nconst EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema = z.object({\n low: z.number().describe(\"Lowest price during the current 1-minute period.\").nullable().optional(),\n code: z.string().describe(\"Ticker symbol with exchange code (e.g., 'AAPL.US').\").nullable(),\n high: z.number().describe(\"Highest price during the current 1-minute period.\").nullable().optional(),\n open: z.number().describe(\"Opening price for the current 1-minute period.\").nullable().optional(),\n close: z.number().describe(\"Current/closing price (latest traded price).\").nullable().optional(),\n change: z.number().describe(\"Absolute price change from previous close.\").nullable().optional(),\n volume: z.number().int().describe(\"Trading volume for the current 1-minute period.\").nullable().optional(),\n change_p: z.number().describe(\"Percentage price change from previous close.\").nullable().optional(),\n gmtoffset: z.number().int().describe(\"GMT offset in seconds for the exchange's timezone.\").nullable(),\n timestamp: z.number().int().describe(\"Unix timestamp of the last update (seconds since January 1, 1970 UTC).\").nullable(),\n previousClose: z.number().describe(\"Previous day's closing price.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single real-time quote data point with OHLCV information.\");\nexport const EodhdApisGetRealTimeQuoteOutput = z.object({\n data: z.union([EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema, z.array(EodhdApisGetRealTimeQuote_RealTimeQuoteDataSchema)]),\n}).passthrough().describe(\"Response model for EODHD_APIS_GET_REAL_TIME_QUOTE.\\nReturns real-time OHLCV data for single or multiple symbols.\\nWhen querying a single symbol, returns a single object.\\nWhen querying multiple symbols (via 's' parameter), returns a list of objects.\");\n\nexport const eodhdApisGetRealTimeQuote: AppAction<\n typeof EodhdApisGetRealTimeQuoteInput,\n typeof EodhdApisGetRealTimeQuoteOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_GET_REAL_TIME_QUOTE\", {\n slug: \"eodhd_apis-get-real-time-quote\",\n name: \"Get Real-Time Quote\",\n description: \"Retrieves real-time (delayed 15-20 minutes for stocks, ~1 minute for forex) OHLCV data for stocks, forex, and cryptocurrencies. Returns latest 1-minute bar with open, high, low, close, volume, previous close, and price changes. Use this when you need current market prices and intraday data.\",\n input: EodhdApisGetRealTimeQuoteInput,\n output: EodhdApisGetRealTimeQuoteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,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,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,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,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACxH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAKlG,MAAa,4BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,MAAM,EAAE,MAAM,CAAC,mDAAmD,EAAE,MAAM,iDAAiD,CAAC,CAAC,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2PAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-real-time-websocket-forex.ts
@@ -1 +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.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.object({\n action: z.string().describe(\"The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop.\").nullable(),\n symbols: z.string().describe(\"Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')\").nullable(),\n}).passthrough().describe(\"Subscription message to send over the WebSocket connection.\");\nexport const EodhdApisGetRealTimeWebsocketForexOutput = 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.\").nullable(),\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.\").nullable(),\n}).passthrough().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,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gPAAgP,EACxR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACtK,cAAc,6DAA6D,SAAS;CACpF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yNAAyN;AAEnP,MAAa,qCAAqCC,eAAAA,OAAO,4CAA4C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-real-time-websocket-forex.cjs","names":["z","action"],"sources":["../../src/actions/get-real-time-websocket-forex.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetRealTimeWebsocketForexInput = 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.object({\n action: z.string().describe(\"The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop.\").nullable(),\n symbols: z.string().describe(\"Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')\").nullable(),\n}).passthrough().describe(\"Subscription message to send over the WebSocket connection.\");\nexport const EodhdApisGetRealTimeWebsocketForexOutput = 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.\").nullable(),\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.\").nullable(),\n}).passthrough().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: AppAction<\n typeof EodhdApisGetRealTimeWebsocketForexInput,\n typeof EodhdApisGetRealTimeWebsocketForexOutput,\n typeof eodhdApis.credential\n> = 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":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gPAAgP,EACxR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACtK,cAAc,6DAA6D,SAAS;CACpF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yNAAyN;AAEnP,MAAa,qCAITC,eAAAA,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { eodhdApis } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-real-time-websocket-forex.d.ts
@@ -12,9 +14,7 @@ declare const EodhdApisGetRealTimeWebsocketForexOutput: z.ZodObject<{
12
14
  }, z.core.$loose>>;
13
15
  usage_instructions: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>;
15
- declare const eodhdApisGetRealTimeWebsocketForex: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- symbols: string[];
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const eodhdApisGetRealTimeWebsocketForex: AppAction<typeof EodhdApisGetRealTimeWebsocketForexInput, typeof EodhdApisGetRealTimeWebsocketForexOutput, typeof eodhdApis.credential>;
18
18
  //#endregion
19
19
  export { eodhdApisGetRealTimeWebsocketForex };
20
20
  //# sourceMappingURL=get-real-time-websocket-forex.d.cts.map
@@ -1 +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,EAAuC,CAAA,CAAA,SAAA;;;cAOvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAMxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"get-real-time-websocket-forex.d.cts","names":[],"sources":["../../src/actions/get-real-time-websocket-forex.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAOvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAMxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { eodhdApis } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-real-time-websocket-forex.d.ts
@@ -12,9 +14,7 @@ declare const EodhdApisGetRealTimeWebsocketForexOutput: z.ZodObject<{
12
14
  }, z.core.$loose>>;
13
15
  usage_instructions: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>;
15
- declare const eodhdApisGetRealTimeWebsocketForex: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- symbols: string[];
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const eodhdApisGetRealTimeWebsocketForex: AppAction<typeof EodhdApisGetRealTimeWebsocketForexInput, typeof EodhdApisGetRealTimeWebsocketForexOutput, typeof eodhdApis.credential>;
18
18
  //#endregion
19
19
  export { eodhdApisGetRealTimeWebsocketForex };
20
20
  //# sourceMappingURL=get-real-time-websocket-forex.d.mts.map
@@ -1 +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,EAAuC,CAAA,CAAA,SAAA;;;cAOvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAMxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"get-real-time-websocket-forex.d.mts","names":[],"sources":["../../src/actions/get-real-time-websocket-forex.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAOvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAMxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-real-time-websocket-forex.ts
@@ -1 +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.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.object({\n action: z.string().describe(\"The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop.\").nullable(),\n symbols: z.string().describe(\"Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')\").nullable(),\n}).passthrough().describe(\"Subscription message to send over the WebSocket connection.\");\nexport const EodhdApisGetRealTimeWebsocketForexOutput = 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.\").nullable(),\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.\").nullable(),\n}).passthrough().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,0CAA0C,EAAE,OAAO,EAC9D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gPAAgP,EACxR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+DAA+D,EAAE,OAAO;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACrI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAOvF,MAAa,qCAAqC,OAAO,4CAA4C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsD,EAAE,OAAO;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACtK,cAAc,6DAA6D,SAAS;EACpF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yNAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-real-time-websocket-forex.mjs","names":[],"sources":["../../src/actions/get-real-time-websocket-forex.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetRealTimeWebsocketForexInput = 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.object({\n action: z.string().describe(\"The WebSocket action to perform. 'subscribe' to start receiving data, 'unsubscribe' to stop.\").nullable(),\n symbols: z.string().describe(\"Comma-separated currency pair symbols to subscribe to (e.g., 'EURUSD,GBPUSD')\").nullable(),\n}).passthrough().describe(\"Subscription message to send over the WebSocket connection.\");\nexport const EodhdApisGetRealTimeWebsocketForexOutput = 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.\").nullable(),\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.\").nullable(),\n}).passthrough().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: AppAction<\n typeof EodhdApisGetRealTimeWebsocketForexInput,\n typeof EodhdApisGetRealTimeWebsocketForexOutput,\n typeof eodhdApis.credential\n> = 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":";;;;AAMA,MAAa,0CAA0C,EAAE,OAAO,EAC9D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gPAAgP,EACxR,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+DAA+D,EAAE,OAAO;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACrI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAOvF,MAAa,qCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsD,EAAE,OAAO;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACtK,cAAc,6DAA6D,SAAS;EACpF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yNAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-real-time-websocket-us-trade.ts
@@ -1 +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.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.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"The action to perform: 'subscribe' or 'unsubscribe'.\").nullable(),\n symbols: z.string().describe(\"Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').\").nullable(),\n}).passthrough().describe(\"Payload structure to send over WebSocket for subscription management.\");\nexport const EodhdApisGetRealTimeWebsocketUsTradeOutput = 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.\").nullable(),\n payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable(),\n}).passthrough().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,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,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,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,QAAQA,IAAAA,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AACjG,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACrJ,SAAS,4DAA4D,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sMAAsM;AAEhO,MAAa,uCAAuCC,eAAAA,OAAO,+CAA+C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetRealTimeWebsocketUsTradeInput = 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.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"The action to perform: 'subscribe' or 'unsubscribe'.\").nullable(),\n symbols: z.string().describe(\"Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').\").nullable(),\n}).passthrough().describe(\"Payload structure to send over WebSocket for subscription management.\");\nexport const EodhdApisGetRealTimeWebsocketUsTradeOutput = 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.\").nullable(),\n payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable(),\n}).passthrough().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: AppAction<\n typeof EodhdApisGetRealTimeWebsocketUsTradeInput,\n typeof EodhdApisGetRealTimeWebsocketUsTradeOutput,\n typeof eodhdApis.credential\n> = 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":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,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,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,QAAQA,IAAAA,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AACjG,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CACrJ,SAAS,4DAA4D,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sMAAsM;AAEhO,MAAa,uCAITC,eAAAA,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { eodhdApis } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-real-time-websocket-us-trade.d.ts
@@ -18,10 +20,7 @@ declare const EodhdApisGetRealTimeWebsocketUsTradeOutput: z.ZodObject<{
18
20
  symbols: z.ZodNullable<z.ZodString>;
19
21
  }, z.core.$loose>>;
20
22
  }, z.core.$loose>;
21
- declare const eodhdApisGetRealTimeWebsocketUsTrade: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- action: "subscribe" | "unsubscribe";
23
- symbols: string[];
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const eodhdApisGetRealTimeWebsocketUsTrade: AppAction<typeof EodhdApisGetRealTimeWebsocketUsTradeInput, typeof EodhdApisGetRealTimeWebsocketUsTradeOutput, typeof eodhdApis.credential>;
25
24
  //#endregion
26
25
  export { eodhdApisGetRealTimeWebsocketUsTrade };
27
26
  //# sourceMappingURL=get-real-time-websocket-us-trade.d.cts.map
@@ -1 +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,EAAyC,CAAA,CAAA,SAAA;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"get-real-time-websocket-us-trade.d.cts","names":[],"sources":["../../src/actions/get-real-time-websocket-us-trade.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;cAK1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { eodhdApis } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-real-time-websocket-us-trade.d.ts
@@ -18,10 +20,7 @@ declare const EodhdApisGetRealTimeWebsocketUsTradeOutput: z.ZodObject<{
18
20
  symbols: z.ZodNullable<z.ZodString>;
19
21
  }, z.core.$loose>>;
20
22
  }, z.core.$loose>;
21
- declare const eodhdApisGetRealTimeWebsocketUsTrade: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- action: "subscribe" | "unsubscribe";
23
- symbols: string[];
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const eodhdApisGetRealTimeWebsocketUsTrade: AppAction<typeof EodhdApisGetRealTimeWebsocketUsTradeInput, typeof EodhdApisGetRealTimeWebsocketUsTradeOutput, typeof eodhdApis.credential>;
25
24
  //#endregion
26
25
  export { eodhdApisGetRealTimeWebsocketUsTrade };
27
26
  //# sourceMappingURL=get-real-time-websocket-us-trade.d.mts.map
@@ -1 +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,EAAyC,CAAA,CAAA,SAAA;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"get-real-time-websocket-us-trade.d.mts","names":[],"sources":["../../src/actions/get-real-time-websocket-us-trade.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;cAK1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-real-time-websocket-us-trade.ts
@@ -1 +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.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.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"The action to perform: 'subscribe' or 'unsubscribe'.\").nullable(),\n symbols: z.string().describe(\"Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').\").nullable(),\n}).passthrough().describe(\"Payload structure to send over WebSocket for subscription management.\");\nexport const EodhdApisGetRealTimeWebsocketUsTradeOutput = 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.\").nullable(),\n payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable(),\n}).passthrough().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,4CAA4C,EAAE,OAAO;CAChE,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,8DAA8D,EAAE,OAAO;CAC3E,QAAQ,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAMjG,MAAa,uCAAuC,OAAO,+CAA+C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EACrJ,SAAS,4DAA4D,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sMAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-real-time-websocket-us-trade.mjs","names":[],"sources":["../../src/actions/get-real-time-websocket-us-trade.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetRealTimeWebsocketUsTradeInput = 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.object({\n action: z.enum([\"subscribe\", \"unsubscribe\"]).describe(\"The action to perform: 'subscribe' or 'unsubscribe'.\").nullable(),\n symbols: z.string().describe(\"Comma-separated string of ticker symbols (e.g., 'AAPL,TSLA,MSFT').\").nullable(),\n}).passthrough().describe(\"Payload structure to send over WebSocket for subscription management.\");\nexport const EodhdApisGetRealTimeWebsocketUsTradeOutput = 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.\").nullable(),\n payload: EodhdApisGetRealTimeWebsocketUsTrade_WebSocketPayloadSchema.nullable(),\n}).passthrough().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: AppAction<\n typeof EodhdApisGetRealTimeWebsocketUsTradeInput,\n typeof EodhdApisGetRealTimeWebsocketUsTradeOutput,\n typeof eodhdApis.credential\n> = 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":";;;;AAMA,MAAa,4CAA4C,EAAE,OAAO;CAChE,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,8DAA8D,EAAE,OAAO;CAC3E,QAAQ,EAAE,KAAK,CAAC,aAAa,aAAa,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAMjG,MAAa,uCAIT,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwD,EAAE,OAAO;EACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EACrJ,SAAS,4DAA4D,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sMAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-user-info.ts
@@ -1 +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.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.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}).passthrough().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,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,qIAAqI;AAE/J,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetUserInfoInput = 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.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}).passthrough().describe(\"Response model for user account information from EODHD API.\\nContains account details, subscription plan, and API usage statistics.\");\n\nexport const eodhdApisGetUserInfo: AppAction<\n typeof EodhdApisGetUserInfoInput,\n typeof EodhdApisGetUserInfoOutput,\n typeof eodhdApis.credential\n> = 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":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,qIAAqI;AAE/J,MAAa,uBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { eodhdApis } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-user-info.d.ts
@@ -13,9 +15,7 @@ declare const EodhdApisGetUserInfoOutput: z.ZodObject<{
13
15
  apiRequestsDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  subscriptionType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const eodhdApisGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- fmt?: string | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const eodhdApisGetUserInfo: AppAction<typeof EodhdApisGetUserInfoInput, typeof EodhdApisGetUserInfoOutput, typeof eodhdApis.credential>;
19
19
  //#endregion
20
20
  export { eodhdApisGetUserInfo };
21
21
  //# sourceMappingURL=get-user-info.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAU1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAU1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { eodhdApis } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-user-info.d.ts
@@ -13,9 +15,7 @@ declare const EodhdApisGetUserInfoOutput: z.ZodObject<{
13
15
  apiRequestsDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  subscriptionType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const eodhdApisGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- fmt?: string | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const eodhdApisGetUserInfo: AppAction<typeof EodhdApisGetUserInfoInput, typeof EodhdApisGetUserInfoOutput, typeof eodhdApis.credential>;
19
19
  //#endregion
20
20
  export { eodhdApisGetUserInfo };
21
21
  //# sourceMappingURL=get-user-info.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAU1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAU1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const eodhdApisGetUserInfo = action("EODHD_APIS_GET_USER_INFO", {
@@ -1 +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.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.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}).passthrough().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,OAjBuC,EAAE,OAAO,EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,2DAeH;CACP,QAfwC,EAAE,OAAO;EACjD,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,YAAY,CAAC,CAAC,SAAS,qIAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-info.mjs","names":[],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetUserInfoInput = 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.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}).passthrough().describe(\"Response model for user account information from EODHD API.\\nContains account details, subscription plan, and API usage statistics.\");\n\nexport const eodhdApisGetUserInfo: AppAction<\n typeof EodhdApisGetUserInfoInput,\n typeof EodhdApisGetUserInfoOutput,\n typeof eodhdApis.credential\n> = 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":";;;AAmBA,MAAa,uBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBuC,EAAE,OAAO,EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,SAAS,2DAmBH;CACP,QAnBwC,EAAE,OAAO;EACjD,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,YAAY,CAAC,CAAC,SAAS,qIAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-ust-yield-rates.ts
@@ -1 +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.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.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}).passthrough().describe(\"Schema for a single US Treasury yield curve rate record.\");\nconst EodhdApisGetUstYieldRates_MetaInfoSchema = z.object({\n total: z.number().int().describe(\"Total number of yield rate records available.\").nullable().optional(),\n}).passthrough().describe(\"Metadata information for the response.\");\nexport const EodhdApisGetUstYieldRatesOutput = 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}).passthrough().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,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,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,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,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,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO,EACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,YAAY,CAAC,CAAC,SAAS,mHAAmH;AAE7I,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-ust-yield-rates.cjs","names":["z","action"],"sources":["../../src/actions/get-ust-yield-rates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetUstYieldRatesInput = 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.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}).passthrough().describe(\"Schema for a single US Treasury yield curve rate record.\");\nconst EodhdApisGetUstYieldRates_MetaInfoSchema = z.object({\n total: z.number().int().describe(\"Total number of yield rate records available.\").nullable().optional(),\n}).passthrough().describe(\"Metadata information for the response.\");\nexport const EodhdApisGetUstYieldRatesOutput = 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}).passthrough().describe(\"Response model for US Treasury yield curve rates API.\\nReturns historical yield curve data across all maturities.\");\n\nexport const eodhdApisGetUstYieldRates: AppAction<\n typeof EodhdApisGetUstYieldRatesInput,\n typeof EodhdApisGetUstYieldRatesOutput,\n typeof eodhdApis.credential\n> = 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":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,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,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,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,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO,EACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,YAAY,CAAC,CAAC,SAAS,mHAAmH;AAE7I,MAAa,4BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { eodhdApis } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-ust-yield-rates.d.ts
@@ -18,13 +20,7 @@ declare const EodhdApisGetUstYieldRatesOutput: z.ZodObject<{
18
20
  total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
21
  }, z.core.$loose>>>;
20
22
  }, z.core.$loose>;
21
- declare const eodhdApisGetUstYieldRates: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- to?: string | undefined;
23
- from?: string | undefined;
24
- limit?: number | undefined;
25
- offset?: number | undefined;
26
- filter_year?: number | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const eodhdApisGetUstYieldRates: AppAction<typeof EodhdApisGetUstYieldRatesInput, typeof EodhdApisGetUstYieldRatesOutput, typeof eodhdApis.credential>;
28
24
  //#endregion
29
25
  export { eodhdApisGetUstYieldRates };
30
26
  //# sourceMappingURL=get-ust-yield-rates.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-ust-yield-rates.d.cts","names":[],"sources":["../../src/actions/get-ust-yield-rates.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"get-ust-yield-rates.d.cts","names":[],"sources":["../../src/actions/get-ust-yield-rates.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { eodhdApis } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-ust-yield-rates.d.ts
@@ -18,13 +20,7 @@ declare const EodhdApisGetUstYieldRatesOutput: z.ZodObject<{
18
20
  total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
21
  }, z.core.$loose>>>;
20
22
  }, z.core.$loose>;
21
- declare const eodhdApisGetUstYieldRates: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- to?: string | undefined;
23
- from?: string | undefined;
24
- limit?: number | undefined;
25
- offset?: number | undefined;
26
- filter_year?: number | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const eodhdApisGetUstYieldRates: AppAction<typeof EodhdApisGetUstYieldRatesInput, typeof EodhdApisGetUstYieldRatesOutput, typeof eodhdApis.credential>;
28
24
  //#endregion
29
25
  export { eodhdApisGetUstYieldRates };
30
26
  //# sourceMappingURL=get-ust-yield-rates.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-ust-yield-rates.d.mts","names":[],"sources":["../../src/actions/get-ust-yield-rates.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"get-ust-yield-rates.d.mts","names":[],"sources":["../../src/actions/get-ust-yield-rates.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAe9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-ust-yield-rates.ts
@@ -1 +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.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.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}).passthrough().describe(\"Schema for a single US Treasury yield curve rate record.\");\nconst EodhdApisGetUstYieldRates_MetaInfoSchema = z.object({\n total: z.number().int().describe(\"Total number of yield rate records available.\").nullable().optional(),\n}).passthrough().describe(\"Metadata information for the response.\");\nexport const EodhdApisGetUstYieldRatesOutput = 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}).passthrough().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,iCAAiC,EAAE,OAAO;CACrD,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,kDAAkD,EAAE,OAAO;CAC/D,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,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,2CAA2C,EAAE,OAAO,EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,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,YAAY,CAAC,CAAC,SAAS,mHAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-ust-yield-rates.mjs","names":[],"sources":["../../src/actions/get-ust-yield-rates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisGetUstYieldRatesInput = 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.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}).passthrough().describe(\"Schema for a single US Treasury yield curve rate record.\");\nconst EodhdApisGetUstYieldRates_MetaInfoSchema = z.object({\n total: z.number().int().describe(\"Total number of yield rate records available.\").nullable().optional(),\n}).passthrough().describe(\"Metadata information for the response.\");\nexport const EodhdApisGetUstYieldRatesOutput = 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}).passthrough().describe(\"Response model for US Treasury yield curve rates API.\\nReturns historical yield curve data across all maturities.\");\n\nexport const eodhdApisGetUstYieldRates: AppAction<\n typeof EodhdApisGetUstYieldRatesInput,\n typeof EodhdApisGetUstYieldRatesOutput,\n typeof eodhdApis.credential\n> = 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":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,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,kDAAkD,EAAE,OAAO;CAC/D,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,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,2CAA2C,EAAE,OAAO,EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,4BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6C,EAAE,OAAO;EACtD,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,YAAY,CAAC,CAAC,SAAS,mHAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-exchanges.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-exchanges.cjs","names":["z","action"],"sources":["../../src/actions/list-exchanges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisListExchangesInput = z.object({\n fmt: z.enum([\"json\", \"csv\"]).describe(\"Output format for the exchanges list response.\").optional(),\n}).describe(\"Request parameters for listing all supported stock exchanges.\");\nconst EodhdApisListExchanges_ExchangeInfoSchema = z.object({\n Code: z.string().describe(\"Exchange code identifier (e.g., 'US', 'LSE', 'TO', 'V').\").nullable(),\n Name: z.string().describe(\"Full name of the exchange (e.g., 'US NYSE and NASDAQ', 'London Stock Exchange').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK', 'Canada').\").nullable(),\n Currency: z.string().describe(\"Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD').\").nullable(),\n OperatingMIC: z.string().describe(\"Operating Market Identifier Code (MIC) for the exchange.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single stock exchange record.\");\nexport const EodhdApisListExchangesOutput = z.object({\n exchanges: z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe(\"List of all supported stock exchanges with their details.\"),\n}).passthrough().describe(\"Response model for listing all supported stock exchanges.\\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.\");\n\nexport const eodhdApisListExchanges = action(\"EODHD_APIS_LIST_EXCHANGES\", {\n slug: \"eodhd_apis-list-exchanges\",\n name: \"List Supported Exchanges\",\n description: \"Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.\",\n input: EodhdApisListExchangesInput,\n output: EodhdApisListExchangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,KAAKA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,WAAWA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2DAA2D,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0JAA0J;AAEpL,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-exchanges.cjs","names":["z","action"],"sources":["../../src/actions/list-exchanges.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisListExchangesInput = z.object({\n fmt: z.enum([\"json\", \"csv\"]).describe(\"Output format for the exchanges list response.\").optional(),\n}).describe(\"Request parameters for listing all supported stock exchanges.\");\nconst EodhdApisListExchanges_ExchangeInfoSchema = z.object({\n Code: z.string().describe(\"Exchange code identifier (e.g., 'US', 'LSE', 'TO', 'V').\").nullable(),\n Name: z.string().describe(\"Full name of the exchange (e.g., 'US NYSE and NASDAQ', 'London Stock Exchange').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK', 'Canada').\").nullable(),\n Currency: z.string().describe(\"Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD').\").nullable(),\n OperatingMIC: z.string().describe(\"Operating Market Identifier Code (MIC) for the exchange.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single stock exchange record.\");\nexport const EodhdApisListExchangesOutput = z.object({\n exchanges: z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe(\"List of all supported stock exchanges with their details.\"),\n}).passthrough().describe(\"Response model for listing all supported stock exchanges.\\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.\");\n\nexport const eodhdApisListExchanges: AppAction<\n typeof EodhdApisListExchangesInput,\n typeof EodhdApisListExchangesOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_LIST_EXCHANGES\", {\n slug: \"eodhd_apis-list-exchanges\",\n name: \"List Supported Exchanges\",\n description: \"Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.\",\n input: EodhdApisListExchangesInput,\n output: EodhdApisListExchangesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,KAAKA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,WAAWA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2DAA2D,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0JAA0J;AAEpL,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { eodhdApis } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-exchanges.d.ts
@@ -16,9 +18,7 @@ declare const EodhdApisListExchangesOutput: z.ZodObject<{
16
18
  OperatingMIC: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const eodhdApisListExchanges: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- fmt?: "json" | "csv" | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const eodhdApisListExchanges: AppAction<typeof EodhdApisListExchangesInput, typeof EodhdApisListExchangesOutput, typeof eodhdApis.credential>;
22
22
  //#endregion
23
23
  export { eodhdApisListExchanges };
24
24
  //# sourceMappingURL=list-exchanges.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-exchanges.d.cts","names":[],"sources":["../../src/actions/list-exchanges.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"list-exchanges.d.cts","names":[],"sources":["../../src/actions/list-exchanges.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { eodhdApis } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-exchanges.d.ts
@@ -16,9 +18,7 @@ declare const EodhdApisListExchangesOutput: z.ZodObject<{
16
18
  OperatingMIC: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const eodhdApisListExchanges: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- fmt?: "json" | "csv" | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const eodhdApisListExchanges: AppAction<typeof EodhdApisListExchangesInput, typeof EodhdApisListExchangesOutput, typeof eodhdApis.credential>;
22
22
  //#endregion
23
23
  export { eodhdApisListExchanges };
24
24
  //# sourceMappingURL=list-exchanges.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-exchanges.d.mts","names":[],"sources":["../../src/actions/list-exchanges.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"list-exchanges.d.mts","names":[],"sources":["../../src/actions/list-exchanges.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-exchanges.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-exchanges.mjs","names":[],"sources":["../../src/actions/list-exchanges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisListExchangesInput = z.object({\n fmt: z.enum([\"json\", \"csv\"]).describe(\"Output format for the exchanges list response.\").optional(),\n}).describe(\"Request parameters for listing all supported stock exchanges.\");\nconst EodhdApisListExchanges_ExchangeInfoSchema = z.object({\n Code: z.string().describe(\"Exchange code identifier (e.g., 'US', 'LSE', 'TO', 'V').\").nullable(),\n Name: z.string().describe(\"Full name of the exchange (e.g., 'US NYSE and NASDAQ', 'London Stock Exchange').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK', 'Canada').\").nullable(),\n Currency: z.string().describe(\"Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD').\").nullable(),\n OperatingMIC: z.string().describe(\"Operating Market Identifier Code (MIC) for the exchange.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single stock exchange record.\");\nexport const EodhdApisListExchangesOutput = z.object({\n exchanges: z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe(\"List of all supported stock exchanges with their details.\"),\n}).passthrough().describe(\"Response model for listing all supported stock exchanges.\\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.\");\n\nexport const eodhdApisListExchanges = action(\"EODHD_APIS_LIST_EXCHANGES\", {\n slug: \"eodhd_apis-list-exchanges\",\n name: \"List Supported Exchanges\",\n description: \"Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.\",\n input: EodhdApisListExchangesInput,\n output: EodhdApisListExchangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,KAAK,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,WAAW,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2DAA2D,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0JAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-exchanges.mjs","names":[],"sources":["../../src/actions/list-exchanges.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisListExchangesInput = z.object({\n fmt: z.enum([\"json\", \"csv\"]).describe(\"Output format for the exchanges list response.\").optional(),\n}).describe(\"Request parameters for listing all supported stock exchanges.\");\nconst EodhdApisListExchanges_ExchangeInfoSchema = z.object({\n Code: z.string().describe(\"Exchange code identifier (e.g., 'US', 'LSE', 'TO', 'V').\").nullable(),\n Name: z.string().describe(\"Full name of the exchange (e.g., 'US NYSE and NASDAQ', 'London Stock Exchange').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK', 'Canada').\").nullable(),\n Currency: z.string().describe(\"Currency code used by the exchange (e.g., 'USD', 'GBP', 'CAD').\").nullable(),\n OperatingMIC: z.string().describe(\"Operating Market Identifier Code (MIC) for the exchange.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single stock exchange record.\");\nexport const EodhdApisListExchangesOutput = z.object({\n exchanges: z.array(EodhdApisListExchanges_ExchangeInfoSchema).describe(\"List of all supported stock exchanges with their details.\"),\n}).passthrough().describe(\"Response model for listing all supported stock exchanges.\\nReturns a list of 70+ exchanges worldwide with their codes, names, countries, and currencies.\");\n\nexport const eodhdApisListExchanges: AppAction<\n typeof EodhdApisListExchangesInput,\n typeof EodhdApisListExchangesOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_LIST_EXCHANGES\", {\n slug: \"eodhd_apis-list-exchanges\",\n name: \"List Supported Exchanges\",\n description: \"Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.\",\n input: EodhdApisListExchangesInput,\n output: EodhdApisListExchangesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,EAClD,KAAK,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACnG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,WAAW,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2DAA2D,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0JAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/search-instruments.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search-instruments.cjs","names":["z","action"],"sources":["../../src/actions/search-instruments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const EodhdApisSearchInstrumentsInput = z.object({\n type: z.string().describe(\"Filter results by instrument type. Available types: 'stock', 'fund', 'etf', 'bond', 'index'. Leave empty to search all types.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. If not specified, API returns all matching results.\").optional(),\n query: z.string().describe(\"Search query to find instruments by ticker symbol, company name, or ISIN. Examples: 'AAPL' (Apple ticker), 'Apple Inc' (company name), 'US0378331005' (ISIN).\"),\n exchange: z.string().describe(\"Filter results by exchange code. Examples: 'US' (United States), 'LSE' (London Stock Exchange), 'TO' (Toronto). Leave empty to search all exchanges.\").optional(),\n}).describe(\"Request parameters for searching stocks, ETFs, mutual funds, bonds, and indices.\");\nconst EodhdApisSearchInstruments_InstrumentSearchResultSchema = z.object({\n Code: z.string().describe(\"Ticker symbol of the instrument (e.g., 'AAPL', 'MSFT').\").nullable(),\n ISIN: z.string().describe(\"International Securities Identification Number. May be null if not available.\").nullable().optional(),\n Name: z.string().describe(\"Full name of the instrument (e.g., 'Apple Inc', 'Microsoft Corporation').\").nullable(),\n Type: z.string().describe(\"Asset classification (e.g., 'Common Stock', 'ETF', 'Mutual Fund').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK').\").nullable(),\n Currency: z.string().describe(\"Trading currency (e.g., 'USD', 'GBP', 'EUR').\").nullable(),\n Exchange: z.string().describe(\"Exchange code where the instrument is traded (e.g., 'US', 'LSE').\").nullable(),\n isPrimary: z.boolean().describe(\"Whether this is the primary exchange listing for the instrument. May be null if not available.\").nullable().optional(),\n previousClose: z.number().describe(\"Last closing price of the instrument. May be null if not available.\").nullable().optional(),\n previousCloseDate: z.string().describe(\"Date of the last closing price in YYYY-MM-DD format. May be null if not available.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single instrument search result.\");\nexport const EodhdApisSearchInstrumentsOutput = z.object({\n results: z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe(\"List of instruments matching the search query.\"),\n}).passthrough().describe(\"Response model for search instruments API returning a list of matching instruments.\");\n\nexport const eodhdApisSearchInstruments = action(\"EODHD_APIS_SEARCH_INSTRUMENTS\", {\n slug: \"eodhd_apis-search-instruments\",\n name: \"Search Instruments\",\n description: \"Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only.\",\n input: EodhdApisSearchInstrumentsInput,\n output: EodhdApisSearchInstrumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACpK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACtI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J;CAC1L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;AACjM,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,gDAAgD,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAAqF;AAE/G,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-instruments.cjs","names":["z","action"],"sources":["../../src/actions/search-instruments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { eodhdApis } from \"../app\";\n\nexport const EodhdApisSearchInstrumentsInput = z.object({\n type: z.string().describe(\"Filter results by instrument type. Available types: 'stock', 'fund', 'etf', 'bond', 'index'. Leave empty to search all types.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return. If not specified, API returns all matching results.\").optional(),\n query: z.string().describe(\"Search query to find instruments by ticker symbol, company name, or ISIN. Examples: 'AAPL' (Apple ticker), 'Apple Inc' (company name), 'US0378331005' (ISIN).\"),\n exchange: z.string().describe(\"Filter results by exchange code. Examples: 'US' (United States), 'LSE' (London Stock Exchange), 'TO' (Toronto). Leave empty to search all exchanges.\").optional(),\n}).describe(\"Request parameters for searching stocks, ETFs, mutual funds, bonds, and indices.\");\nconst EodhdApisSearchInstruments_InstrumentSearchResultSchema = z.object({\n Code: z.string().describe(\"Ticker symbol of the instrument (e.g., 'AAPL', 'MSFT').\").nullable(),\n ISIN: z.string().describe(\"International Securities Identification Number. May be null if not available.\").nullable().optional(),\n Name: z.string().describe(\"Full name of the instrument (e.g., 'Apple Inc', 'Microsoft Corporation').\").nullable(),\n Type: z.string().describe(\"Asset classification (e.g., 'Common Stock', 'ETF', 'Mutual Fund').\").nullable(),\n Country: z.string().describe(\"Country where the exchange is located (e.g., 'USA', 'UK').\").nullable(),\n Currency: z.string().describe(\"Trading currency (e.g., 'USD', 'GBP', 'EUR').\").nullable(),\n Exchange: z.string().describe(\"Exchange code where the instrument is traded (e.g., 'US', 'LSE').\").nullable(),\n isPrimary: z.boolean().describe(\"Whether this is the primary exchange listing for the instrument. May be null if not available.\").nullable().optional(),\n previousClose: z.number().describe(\"Last closing price of the instrument. May be null if not available.\").nullable().optional(),\n previousCloseDate: z.string().describe(\"Date of the last closing price in YYYY-MM-DD format. May be null if not available.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single instrument search result.\");\nexport const EodhdApisSearchInstrumentsOutput = z.object({\n results: z.array(EodhdApisSearchInstruments_InstrumentSearchResultSchema).describe(\"List of instruments matching the search query.\"),\n}).passthrough().describe(\"Response model for search instruments API returning a list of matching instruments.\");\n\nexport const eodhdApisSearchInstruments: AppAction<\n typeof EodhdApisSearchInstrumentsInput,\n typeof EodhdApisSearchInstrumentsOutput,\n typeof eodhdApis.credential\n> = action(\"EODHD_APIS_SEARCH_INSTRUMENTS\", {\n slug: \"eodhd_apis-search-instruments\",\n name: \"Search Instruments\",\n description: \"Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only.\",\n input: EodhdApisSearchInstrumentsInput,\n output: EodhdApisSearchInstrumentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACpK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACtI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J;CAC1L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;AACjM,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,gDAAgD,EACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAAqF;AAE/G,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}