@keystrokehq/polygon 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-aggregates.cjs +1 -0
- package/dist/actions/get-aggregates.cjs.map +1 -1
- package/dist/actions/get-aggregates.d.cts +4 -11
- package/dist/actions/get-aggregates.d.cts.map +1 -1
- package/dist/actions/get-aggregates.d.mts +4 -11
- package/dist/actions/get-aggregates.d.mts.map +1 -1
- package/dist/actions/get-aggregates.mjs +1 -0
- package/dist/actions/get-aggregates.mjs.map +1 -1
- package/dist/actions/get-all-tickers.cjs +1 -0
- package/dist/actions/get-all-tickers.cjs.map +1 -1
- package/dist/actions/get-all-tickers.d.cts +3 -11
- package/dist/actions/get-all-tickers.d.cts.map +1 -1
- package/dist/actions/get-all-tickers.d.mts +3 -11
- package/dist/actions/get-all-tickers.d.mts.map +1 -1
- package/dist/actions/get-all-tickers.mjs +1 -0
- package/dist/actions/get-all-tickers.mjs.map +1 -1
- package/dist/actions/get-condition-codes.cjs +1 -0
- package/dist/actions/get-condition-codes.cjs.map +1 -1
- package/dist/actions/get-condition-codes.d.cts +3 -8
- package/dist/actions/get-condition-codes.d.cts.map +1 -1
- package/dist/actions/get-condition-codes.d.mts +3 -8
- package/dist/actions/get-condition-codes.d.mts.map +1 -1
- package/dist/actions/get-condition-codes.mjs +1 -0
- package/dist/actions/get-condition-codes.mjs.map +1 -1
- package/dist/actions/get-crypto-aggregates.cjs +1 -0
- package/dist/actions/get-crypto-aggregates.cjs.map +1 -1
- package/dist/actions/get-crypto-aggregates.d.cts +4 -11
- package/dist/actions/get-crypto-aggregates.d.cts.map +1 -1
- package/dist/actions/get-crypto-aggregates.d.mts +4 -11
- package/dist/actions/get-crypto-aggregates.d.mts.map +1 -1
- package/dist/actions/get-crypto-aggregates.mjs +1 -0
- package/dist/actions/get-crypto-aggregates.mjs.map +1 -1
- package/dist/actions/get-crypto-all-tickers.cjs +1 -0
- package/dist/actions/get-crypto-all-tickers.cjs.map +1 -1
- package/dist/actions/get-crypto-all-tickers.d.cts +3 -3
- package/dist/actions/get-crypto-all-tickers.d.cts.map +1 -1
- package/dist/actions/get-crypto-all-tickers.d.mts +3 -3
- package/dist/actions/get-crypto-all-tickers.d.mts.map +1 -1
- package/dist/actions/get-crypto-all-tickers.mjs +1 -0
- package/dist/actions/get-crypto-all-tickers.mjs.map +1 -1
- package/dist/actions/get-crypto-ema.cjs +1 -0
- package/dist/actions/get-crypto-ema.cjs.map +1 -1
- package/dist/actions/get-crypto-ema.d.cts +4 -16
- package/dist/actions/get-crypto-ema.d.cts.map +1 -1
- package/dist/actions/get-crypto-ema.d.mts +4 -16
- package/dist/actions/get-crypto-ema.d.mts.map +1 -1
- package/dist/actions/get-crypto-ema.mjs +1 -0
- package/dist/actions/get-crypto-ema.mjs.map +1 -1
- package/dist/actions/get-crypto-grouped-daily.cjs +1 -0
- package/dist/actions/get-crypto-grouped-daily.cjs.map +1 -1
- package/dist/actions/get-crypto-grouped-daily.d.cts +3 -4
- package/dist/actions/get-crypto-grouped-daily.d.cts.map +1 -1
- package/dist/actions/get-crypto-grouped-daily.d.mts +3 -4
- package/dist/actions/get-crypto-grouped-daily.d.mts.map +1 -1
- package/dist/actions/get-crypto-grouped-daily.mjs +1 -0
- package/dist/actions/get-crypto-grouped-daily.mjs.map +1 -1
- package/dist/actions/get-crypto-last-trade.cjs +1 -0
- package/dist/actions/get-crypto-last-trade.cjs.map +1 -1
- package/dist/actions/get-crypto-last-trade.d.cts +3 -4
- package/dist/actions/get-crypto-last-trade.d.cts.map +1 -1
- package/dist/actions/get-crypto-last-trade.d.mts +3 -4
- package/dist/actions/get-crypto-last-trade.d.mts.map +1 -1
- package/dist/actions/get-crypto-last-trade.mjs +1 -0
- package/dist/actions/get-crypto-last-trade.mjs.map +1 -1
- package/dist/actions/get-crypto-macd.cjs +1 -0
- package/dist/actions/get-crypto-macd.cjs.map +1 -1
- package/dist/actions/get-crypto-macd.d.cts +3 -13
- package/dist/actions/get-crypto-macd.d.cts.map +1 -1
- package/dist/actions/get-crypto-macd.d.mts +3 -13
- package/dist/actions/get-crypto-macd.d.mts.map +1 -1
- package/dist/actions/get-crypto-macd.mjs +1 -0
- package/dist/actions/get-crypto-macd.mjs.map +1 -1
- package/dist/actions/get-crypto-open-close.cjs +1 -0
- package/dist/actions/get-crypto-open-close.cjs.map +1 -1
- package/dist/actions/get-crypto-open-close.d.cts +3 -5
- package/dist/actions/get-crypto-open-close.d.cts.map +1 -1
- package/dist/actions/get-crypto-open-close.d.mts +3 -5
- package/dist/actions/get-crypto-open-close.d.mts.map +1 -1
- package/dist/actions/get-crypto-open-close.mjs +1 -0
- package/dist/actions/get-crypto-open-close.mjs.map +1 -1
- package/dist/actions/get-crypto-prev-close.cjs +1 -0
- package/dist/actions/get-crypto-prev-close.cjs.map +1 -1
- package/dist/actions/get-crypto-prev-close.d.cts +3 -4
- package/dist/actions/get-crypto-prev-close.d.cts.map +1 -1
- package/dist/actions/get-crypto-prev-close.d.mts +3 -4
- package/dist/actions/get-crypto-prev-close.d.mts.map +1 -1
- package/dist/actions/get-crypto-prev-close.mjs +1 -0
- package/dist/actions/get-crypto-prev-close.mjs.map +1 -1
- package/dist/actions/get-crypto-rsi.cjs +1 -0
- package/dist/actions/get-crypto-rsi.cjs.map +1 -1
- package/dist/actions/get-crypto-rsi.d.cts +4 -16
- package/dist/actions/get-crypto-rsi.d.cts.map +1 -1
- package/dist/actions/get-crypto-rsi.d.mts +4 -16
- package/dist/actions/get-crypto-rsi.d.mts.map +1 -1
- package/dist/actions/get-crypto-rsi.mjs +1 -0
- package/dist/actions/get-crypto-rsi.mjs.map +1 -1
- package/dist/actions/get-crypto-sma.cjs +1 -0
- package/dist/actions/get-crypto-sma.cjs.map +1 -1
- package/dist/actions/get-crypto-sma.d.cts +4 -16
- package/dist/actions/get-crypto-sma.d.cts.map +1 -1
- package/dist/actions/get-crypto-sma.d.mts +4 -16
- package/dist/actions/get-crypto-sma.d.mts.map +1 -1
- package/dist/actions/get-crypto-sma.mjs +1 -0
- package/dist/actions/get-crypto-sma.mjs.map +1 -1
- package/dist/actions/get-crypto-ticker-book.cjs +1 -0
- package/dist/actions/get-crypto-ticker-book.cjs.map +1 -1
- package/dist/actions/get-crypto-ticker-book.d.cts +3 -3
- package/dist/actions/get-crypto-ticker-book.d.cts.map +1 -1
- package/dist/actions/get-crypto-ticker-book.d.mts +3 -3
- package/dist/actions/get-crypto-ticker-book.d.mts.map +1 -1
- package/dist/actions/get-crypto-ticker-book.mjs +1 -0
- package/dist/actions/get-crypto-ticker-book.mjs.map +1 -1
- package/dist/actions/get-crypto-trades.cjs +1 -0
- package/dist/actions/get-crypto-trades.cjs.map +1 -1
- package/dist/actions/get-crypto-trades.d.cts +3 -11
- package/dist/actions/get-crypto-trades.d.cts.map +1 -1
- package/dist/actions/get-crypto-trades.d.mts +3 -11
- package/dist/actions/get-crypto-trades.d.mts.map +1 -1
- package/dist/actions/get-crypto-trades.mjs +1 -0
- package/dist/actions/get-crypto-trades.mjs.map +1 -1
- package/dist/actions/get-dividends.cjs +1 -0
- package/dist/actions/get-dividends.cjs.map +1 -1
- package/dist/actions/get-dividends.d.cts +3 -14
- package/dist/actions/get-dividends.d.cts.map +1 -1
- package/dist/actions/get-dividends.d.mts +3 -14
- package/dist/actions/get-dividends.d.mts.map +1 -1
- package/dist/actions/get-dividends.mjs +1 -0
- package/dist/actions/get-dividends.mjs.map +1 -1
- package/dist/actions/get-economy-inflation.cjs +1 -0
- package/dist/actions/get-economy-inflation.cjs.map +1 -1
- package/dist/actions/get-economy-inflation.d.cts +3 -5
- package/dist/actions/get-economy-inflation.d.cts.map +1 -1
- package/dist/actions/get-economy-inflation.d.mts +3 -5
- package/dist/actions/get-economy-inflation.d.mts.map +1 -1
- package/dist/actions/get-economy-inflation.mjs +1 -0
- package/dist/actions/get-economy-inflation.mjs.map +1 -1
- package/dist/actions/get-ema.cjs +1 -0
- package/dist/actions/get-ema.cjs.map +1 -1
- package/dist/actions/get-ema.d.cts +3 -10
- package/dist/actions/get-ema.d.cts.map +1 -1
- package/dist/actions/get-ema.d.mts +3 -10
- package/dist/actions/get-ema.d.mts.map +1 -1
- package/dist/actions/get-ema.mjs +1 -0
- package/dist/actions/get-ema.mjs.map +1 -1
- package/dist/actions/get-filing-file.cjs +1 -0
- package/dist/actions/get-filing-file.cjs.map +1 -1
- package/dist/actions/get-filing-file.d.cts +3 -4
- package/dist/actions/get-filing-file.d.cts.map +1 -1
- package/dist/actions/get-filing-file.d.mts +3 -4
- package/dist/actions/get-filing-file.d.mts.map +1 -1
- package/dist/actions/get-filing-file.mjs +1 -0
- package/dist/actions/get-filing-file.mjs.map +1 -1
- package/dist/actions/get-filing.cjs +1 -0
- package/dist/actions/get-filing.cjs.map +1 -1
- package/dist/actions/get-filing.d.cts +3 -3
- package/dist/actions/get-filing.d.cts.map +1 -1
- package/dist/actions/get-filing.d.mts +3 -3
- package/dist/actions/get-filing.d.mts.map +1 -1
- package/dist/actions/get-filing.mjs +1 -0
- package/dist/actions/get-filing.mjs.map +1 -1
- package/dist/actions/get-forex-aggregates.cjs +1 -0
- package/dist/actions/get-forex-aggregates.cjs.map +1 -1
- package/dist/actions/get-forex-aggregates.d.cts +4 -11
- package/dist/actions/get-forex-aggregates.d.cts.map +1 -1
- package/dist/actions/get-forex-aggregates.d.mts +4 -11
- package/dist/actions/get-forex-aggregates.d.mts.map +1 -1
- package/dist/actions/get-forex-aggregates.mjs +1 -0
- package/dist/actions/get-forex-aggregates.mjs.map +1 -1
- package/dist/actions/get-forex-ema.cjs +1 -0
- package/dist/actions/get-forex-ema.cjs.map +1 -1
- package/dist/actions/get-forex-ema.d.cts +4 -12
- package/dist/actions/get-forex-ema.d.cts.map +1 -1
- package/dist/actions/get-forex-ema.d.mts +4 -12
- package/dist/actions/get-forex-ema.d.mts.map +1 -1
- package/dist/actions/get-forex-ema.mjs +1 -0
- package/dist/actions/get-forex-ema.mjs.map +1 -1
- package/dist/actions/get-forex-grouped-daily.cjs +1 -0
- package/dist/actions/get-forex-grouped-daily.cjs.map +1 -1
- package/dist/actions/get-forex-grouped-daily.d.cts +3 -4
- package/dist/actions/get-forex-grouped-daily.d.cts.map +1 -1
- package/dist/actions/get-forex-grouped-daily.d.mts +3 -4
- package/dist/actions/get-forex-grouped-daily.d.mts.map +1 -1
- package/dist/actions/get-forex-grouped-daily.mjs +1 -0
- package/dist/actions/get-forex-grouped-daily.mjs.map +1 -1
- package/dist/actions/get-forex-historical-quotes.cjs +1 -0
- package/dist/actions/get-forex-historical-quotes.cjs.map +1 -1
- package/dist/actions/get-forex-historical-quotes.d.cts +3 -11
- package/dist/actions/get-forex-historical-quotes.d.cts.map +1 -1
- package/dist/actions/get-forex-historical-quotes.d.mts +3 -11
- package/dist/actions/get-forex-historical-quotes.d.mts.map +1 -1
- package/dist/actions/get-forex-historical-quotes.mjs +1 -0
- package/dist/actions/get-forex-historical-quotes.mjs.map +1 -1
- package/dist/actions/get-forex-locales.cjs +1 -0
- package/dist/actions/get-forex-locales.cjs.map +1 -1
- package/dist/actions/get-forex-locales.d.cts +3 -3
- package/dist/actions/get-forex-locales.d.cts.map +1 -1
- package/dist/actions/get-forex-locales.d.mts +3 -3
- package/dist/actions/get-forex-locales.d.mts.map +1 -1
- package/dist/actions/get-forex-locales.mjs +1 -0
- package/dist/actions/get-forex-locales.mjs.map +1 -1
- package/dist/actions/get-forex-macd.cjs +1 -0
- package/dist/actions/get-forex-macd.cjs.map +1 -1
- package/dist/actions/get-forex-macd.d.cts +3 -17
- package/dist/actions/get-forex-macd.d.cts.map +1 -1
- package/dist/actions/get-forex-macd.d.mts +3 -17
- package/dist/actions/get-forex-macd.d.mts.map +1 -1
- package/dist/actions/get-forex-macd.mjs +1 -0
- package/dist/actions/get-forex-macd.mjs.map +1 -1
- package/dist/actions/get-forex-prev-close.cjs +1 -0
- package/dist/actions/get-forex-prev-close.cjs.map +1 -1
- package/dist/actions/get-forex-prev-close.d.cts +3 -4
- package/dist/actions/get-forex-prev-close.d.cts.map +1 -1
- package/dist/actions/get-forex-prev-close.d.mts +3 -4
- package/dist/actions/get-forex-prev-close.d.mts.map +1 -1
- package/dist/actions/get-forex-prev-close.mjs +1 -0
- package/dist/actions/get-forex-prev-close.mjs.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.cjs +1 -0
- package/dist/actions/get-forex-real-time-currency-conversion.cjs.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.d.cts +3 -6
- package/dist/actions/get-forex-real-time-currency-conversion.d.cts.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.d.mts +3 -6
- package/dist/actions/get-forex-real-time-currency-conversion.d.mts.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.mjs +1 -0
- package/dist/actions/get-forex-real-time-currency-conversion.mjs.map +1 -1
- package/dist/actions/get-forex-rsi.cjs +1 -0
- package/dist/actions/get-forex-rsi.cjs.map +1 -1
- package/dist/actions/get-forex-rsi.d.cts +4 -16
- package/dist/actions/get-forex-rsi.d.cts.map +1 -1
- package/dist/actions/get-forex-rsi.d.mts +4 -16
- package/dist/actions/get-forex-rsi.d.mts.map +1 -1
- package/dist/actions/get-forex-rsi.mjs +1 -0
- package/dist/actions/get-forex-rsi.mjs.map +1 -1
- package/dist/actions/get-forex-sma.cjs +1 -0
- package/dist/actions/get-forex-sma.cjs.map +1 -1
- package/dist/actions/get-forex-sma.d.cts +4 -16
- package/dist/actions/get-forex-sma.d.cts.map +1 -1
- package/dist/actions/get-forex-sma.d.mts +4 -16
- package/dist/actions/get-forex-sma.d.mts.map +1 -1
- package/dist/actions/get-forex-sma.mjs +1 -0
- package/dist/actions/get-forex-sma.mjs.map +1 -1
- package/dist/actions/get-forex-snapshot-losers.cjs +1 -0
- package/dist/actions/get-forex-snapshot-losers.cjs.map +1 -1
- package/dist/actions/get-forex-snapshot-losers.d.cts +3 -1
- package/dist/actions/get-forex-snapshot-losers.d.cts.map +1 -1
- package/dist/actions/get-forex-snapshot-losers.d.mts +3 -1
- package/dist/actions/get-forex-snapshot-losers.d.mts.map +1 -1
- package/dist/actions/get-forex-snapshot-losers.mjs +1 -0
- package/dist/actions/get-forex-snapshot-losers.mjs.map +1 -1
- package/dist/actions/get-futures-aggregates.cjs +1 -0
- package/dist/actions/get-futures-aggregates.cjs.map +1 -1
- package/dist/actions/get-futures-aggregates.d.cts +3 -8
- package/dist/actions/get-futures-aggregates.d.cts.map +1 -1
- package/dist/actions/get-futures-aggregates.d.mts +3 -8
- package/dist/actions/get-futures-aggregates.d.mts.map +1 -1
- package/dist/actions/get-futures-aggregates.mjs +1 -0
- package/dist/actions/get-futures-aggregates.mjs.map +1 -1
- package/dist/actions/get-futures-product-schedules.cjs +1 -0
- package/dist/actions/get-futures-product-schedules.cjs.map +1 -1
- package/dist/actions/get-futures-product-schedules.d.cts +3 -6
- package/dist/actions/get-futures-product-schedules.d.cts.map +1 -1
- package/dist/actions/get-futures-product-schedules.d.mts +3 -6
- package/dist/actions/get-futures-product-schedules.d.mts.map +1 -1
- package/dist/actions/get-futures-product-schedules.mjs +1 -0
- package/dist/actions/get-futures-product-schedules.mjs.map +1 -1
- package/dist/actions/get-futures-products.cjs +1 -0
- package/dist/actions/get-futures-products.cjs.map +1 -1
- package/dist/actions/get-futures-products.d.cts +3 -13
- package/dist/actions/get-futures-products.d.cts.map +1 -1
- package/dist/actions/get-futures-products.d.mts +3 -13
- package/dist/actions/get-futures-products.d.mts.map +1 -1
- package/dist/actions/get-futures-products.mjs +1 -0
- package/dist/actions/get-futures-products.mjs.map +1 -1
- package/dist/actions/get-futures-quotes.cjs +1 -0
- package/dist/actions/get-futures-quotes.cjs.map +1 -1
- package/dist/actions/get-futures-quotes.d.cts +3 -7
- package/dist/actions/get-futures-quotes.d.cts.map +1 -1
- package/dist/actions/get-futures-quotes.d.mts +3 -7
- package/dist/actions/get-futures-quotes.d.mts.map +1 -1
- package/dist/actions/get-futures-quotes.mjs +1 -0
- package/dist/actions/get-futures-quotes.mjs.map +1 -1
- package/dist/actions/get-futures-schedules.cjs +1 -0
- package/dist/actions/get-futures-schedules.cjs.map +1 -1
- package/dist/actions/get-futures-schedules.d.cts +3 -6
- package/dist/actions/get-futures-schedules.d.cts.map +1 -1
- package/dist/actions/get-futures-schedules.d.mts +3 -6
- package/dist/actions/get-futures-schedules.d.mts.map +1 -1
- package/dist/actions/get-futures-schedules.mjs +1 -0
- package/dist/actions/get-futures-schedules.mjs.map +1 -1
- package/dist/actions/get-futures-trades.cjs +1 -0
- package/dist/actions/get-futures-trades.cjs.map +1 -1
- package/dist/actions/get-futures-trades.d.cts +3 -15
- package/dist/actions/get-futures-trades.d.cts.map +1 -1
- package/dist/actions/get-futures-trades.d.mts +3 -15
- package/dist/actions/get-futures-trades.d.mts.map +1 -1
- package/dist/actions/get-futures-trades.mjs +1 -0
- package/dist/actions/get-futures-trades.mjs.map +1 -1
- package/dist/actions/get-historic-forex-ticks.cjs +1 -0
- package/dist/actions/get-historic-forex-ticks.cjs.map +1 -1
- package/dist/actions/get-historic-forex-ticks.d.cts +3 -7
- package/dist/actions/get-historic-forex-ticks.d.cts.map +1 -1
- package/dist/actions/get-historic-forex-ticks.d.mts +3 -7
- package/dist/actions/get-historic-forex-ticks.d.mts.map +1 -1
- package/dist/actions/get-historic-forex-ticks.mjs +1 -0
- package/dist/actions/get-historic-forex-ticks.mjs.map +1 -1
- package/dist/actions/get-inflation-expectations.cjs +1 -0
- package/dist/actions/get-inflation-expectations.cjs.map +1 -1
- package/dist/actions/get-inflation-expectations.d.cts +3 -10
- package/dist/actions/get-inflation-expectations.d.cts.map +1 -1
- package/dist/actions/get-inflation-expectations.d.mts +3 -10
- package/dist/actions/get-inflation-expectations.d.mts.map +1 -1
- package/dist/actions/get-inflation-expectations.mjs +1 -0
- package/dist/actions/get-inflation-expectations.mjs.map +1 -1
- package/dist/actions/get-ipo-data.cjs +1 -0
- package/dist/actions/get-ipo-data.cjs.map +1 -1
- package/dist/actions/get-ipo-data.d.cts +3 -11
- package/dist/actions/get-ipo-data.d.cts.map +1 -1
- package/dist/actions/get-ipo-data.d.mts +3 -11
- package/dist/actions/get-ipo-data.d.mts.map +1 -1
- package/dist/actions/get-ipo-data.mjs +1 -0
- package/dist/actions/get-ipo-data.mjs.map +1 -1
- package/dist/actions/get-macd.cjs +1 -0
- package/dist/actions/get-macd.cjs.map +1 -1
- package/dist/actions/get-macd.d.cts +3 -13
- package/dist/actions/get-macd.d.cts.map +1 -1
- package/dist/actions/get-macd.d.mts +3 -13
- package/dist/actions/get-macd.d.mts.map +1 -1
- package/dist/actions/get-macd.mjs +1 -0
- package/dist/actions/get-macd.mjs.map +1 -1
- package/dist/actions/get-market-holidays.cjs +1 -0
- package/dist/actions/get-market-holidays.cjs.map +1 -1
- package/dist/actions/get-market-holidays.d.cts +3 -1
- package/dist/actions/get-market-holidays.d.cts.map +1 -1
- package/dist/actions/get-market-holidays.d.mts +3 -1
- package/dist/actions/get-market-holidays.d.mts.map +1 -1
- package/dist/actions/get-market-holidays.mjs +1 -0
- package/dist/actions/get-market-holidays.mjs.map +1 -1
- package/dist/actions/get-market-status.cjs +1 -0
- package/dist/actions/get-market-status.cjs.map +1 -1
- package/dist/actions/get-market-status.d.cts +3 -1
- package/dist/actions/get-market-status.d.cts.map +1 -1
- package/dist/actions/get-market-status.d.mts +3 -1
- package/dist/actions/get-market-status.d.mts.map +1 -1
- package/dist/actions/get-market-status.mjs +1 -0
- package/dist/actions/get-market-status.mjs.map +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.cjs +1 -0
- package/dist/actions/get-meta-conditions-by-ticktype.cjs.map +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.d.cts +3 -3
- package/dist/actions/get-meta-conditions-by-ticktype.d.cts.map +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.d.mts +3 -3
- package/dist/actions/get-meta-conditions-by-ticktype.d.mts.map +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.mjs +1 -0
- package/dist/actions/get-meta-conditions-by-ticktype.mjs.map +1 -1
- package/dist/actions/get-news.cjs +1 -0
- package/dist/actions/get-news.cjs.map +1 -1
- package/dist/actions/get-news.d.cts +3 -9
- package/dist/actions/get-news.d.cts.map +1 -1
- package/dist/actions/get-news.d.mts +3 -9
- package/dist/actions/get-news.d.mts.map +1 -1
- package/dist/actions/get-news.mjs +1 -0
- package/dist/actions/get-news.mjs.map +1 -1
- package/dist/actions/get-open-close.cjs +1 -0
- package/dist/actions/get-open-close.cjs.map +1 -1
- package/dist/actions/get-open-close.d.cts +3 -5
- package/dist/actions/get-open-close.d.cts.map +1 -1
- package/dist/actions/get-open-close.d.mts +3 -5
- package/dist/actions/get-open-close.d.mts.map +1 -1
- package/dist/actions/get-open-close.mjs +1 -0
- package/dist/actions/get-open-close.mjs.map +1 -1
- package/dist/actions/get-option-chain-snapshot.cjs +1 -0
- package/dist/actions/get-option-chain-snapshot.cjs.map +1 -1
- package/dist/actions/get-option-chain-snapshot.d.cts +3 -9
- package/dist/actions/get-option-chain-snapshot.d.cts.map +1 -1
- package/dist/actions/get-option-chain-snapshot.d.mts +3 -9
- package/dist/actions/get-option-chain-snapshot.d.mts.map +1 -1
- package/dist/actions/get-option-chain-snapshot.mjs +1 -0
- package/dist/actions/get-option-chain-snapshot.mjs.map +1 -1
- package/dist/actions/get-option-snapshot.cjs +1 -0
- package/dist/actions/get-option-snapshot.cjs.map +1 -1
- package/dist/actions/get-option-snapshot.d.cts +3 -4
- package/dist/actions/get-option-snapshot.d.cts.map +1 -1
- package/dist/actions/get-option-snapshot.d.mts +3 -4
- package/dist/actions/get-option-snapshot.d.mts.map +1 -1
- package/dist/actions/get-option-snapshot.mjs +1 -0
- package/dist/actions/get-option-snapshot.mjs.map +1 -1
- package/dist/actions/get-options-contract-overview.cjs +1 -0
- package/dist/actions/get-options-contract-overview.cjs.map +1 -1
- package/dist/actions/get-options-contract-overview.d.cts +3 -4
- package/dist/actions/get-options-contract-overview.d.cts.map +1 -1
- package/dist/actions/get-options-contract-overview.d.mts +3 -4
- package/dist/actions/get-options-contract-overview.d.mts.map +1 -1
- package/dist/actions/get-options-contract-overview.mjs +1 -0
- package/dist/actions/get-options-contract-overview.mjs.map +1 -1
- package/dist/actions/get-options-custom-bars.cjs +1 -0
- package/dist/actions/get-options-custom-bars.cjs.map +1 -1
- package/dist/actions/get-options-custom-bars.d.cts +4 -11
- package/dist/actions/get-options-custom-bars.d.cts.map +1 -1
- package/dist/actions/get-options-custom-bars.d.mts +4 -11
- package/dist/actions/get-options-custom-bars.d.mts.map +1 -1
- package/dist/actions/get-options-custom-bars.mjs +1 -0
- package/dist/actions/get-options-custom-bars.mjs.map +1 -1
- package/dist/actions/get-options-ema.cjs +1 -0
- package/dist/actions/get-options-ema.cjs.map +1 -1
- package/dist/actions/get-options-ema.d.cts +3 -15
- package/dist/actions/get-options-ema.d.cts.map +1 -1
- package/dist/actions/get-options-ema.d.mts +3 -15
- package/dist/actions/get-options-ema.d.mts.map +1 -1
- package/dist/actions/get-options-ema.mjs +1 -0
- package/dist/actions/get-options-ema.mjs.map +1 -1
- package/dist/actions/get-options-macd.cjs +1 -0
- package/dist/actions/get-options-macd.cjs.map +1 -1
- package/dist/actions/get-options-macd.d.cts +3 -13
- package/dist/actions/get-options-macd.d.cts.map +1 -1
- package/dist/actions/get-options-macd.d.mts +3 -13
- package/dist/actions/get-options-macd.d.mts.map +1 -1
- package/dist/actions/get-options-macd.mjs +1 -0
- package/dist/actions/get-options-macd.mjs.map +1 -1
- package/dist/actions/get-options-rsi.cjs +1 -0
- package/dist/actions/get-options-rsi.cjs.map +1 -1
- package/dist/actions/get-options-rsi.d.cts +4 -16
- package/dist/actions/get-options-rsi.d.cts.map +1 -1
- package/dist/actions/get-options-rsi.d.mts +4 -16
- package/dist/actions/get-options-rsi.d.mts.map +1 -1
- package/dist/actions/get-options-rsi.mjs +1 -0
- package/dist/actions/get-options-rsi.mjs.map +1 -1
- package/dist/actions/get-options-sma.cjs +1 -0
- package/dist/actions/get-options-sma.cjs.map +1 -1
- package/dist/actions/get-options-sma.d.cts +4 -17
- package/dist/actions/get-options-sma.d.cts.map +1 -1
- package/dist/actions/get-options-sma.d.mts +4 -17
- package/dist/actions/get-options-sma.d.mts.map +1 -1
- package/dist/actions/get-options-sma.mjs +1 -0
- package/dist/actions/get-options-sma.mjs.map +1 -1
- package/dist/actions/get-previous-close.cjs +1 -0
- package/dist/actions/get-previous-close.cjs.map +1 -1
- package/dist/actions/get-previous-close.d.cts +3 -4
- package/dist/actions/get-previous-close.d.cts.map +1 -1
- package/dist/actions/get-previous-close.d.mts +3 -4
- package/dist/actions/get-previous-close.d.mts.map +1 -1
- package/dist/actions/get-previous-close.mjs +1 -0
- package/dist/actions/get-previous-close.mjs.map +1 -1
- package/dist/actions/get-reference-exchanges.cjs +1 -0
- package/dist/actions/get-reference-exchanges.cjs.map +1 -1
- package/dist/actions/get-reference-exchanges.d.cts +3 -4
- package/dist/actions/get-reference-exchanges.d.cts.map +1 -1
- package/dist/actions/get-reference-exchanges.d.mts +3 -4
- package/dist/actions/get-reference-exchanges.d.mts.map +1 -1
- package/dist/actions/get-reference-exchanges.mjs +1 -0
- package/dist/actions/get-reference-exchanges.mjs.map +1 -1
- package/dist/actions/get-reference-markets.cjs +1 -0
- package/dist/actions/get-reference-markets.cjs.map +1 -1
- package/dist/actions/get-reference-markets.d.cts +3 -1
- package/dist/actions/get-reference-markets.d.cts.map +1 -1
- package/dist/actions/get-reference-markets.d.mts +3 -1
- package/dist/actions/get-reference-markets.d.mts.map +1 -1
- package/dist/actions/get-reference-markets.mjs +1 -0
- package/dist/actions/get-reference-markets.mjs.map +1 -1
- package/dist/actions/get-reference-types.cjs +1 -0
- package/dist/actions/get-reference-types.cjs.map +1 -1
- package/dist/actions/get-reference-types.d.cts +3 -1
- package/dist/actions/get-reference-types.d.cts.map +1 -1
- package/dist/actions/get-reference-types.d.mts +3 -1
- package/dist/actions/get-reference-types.d.mts.map +1 -1
- package/dist/actions/get-reference-types.mjs +1 -0
- package/dist/actions/get-reference-types.mjs.map +1 -1
- package/dist/actions/get-related-companies.cjs +1 -0
- package/dist/actions/get-related-companies.cjs.map +1 -1
- package/dist/actions/get-related-companies.d.cts +3 -3
- package/dist/actions/get-related-companies.d.cts.map +1 -1
- package/dist/actions/get-related-companies.d.mts +3 -3
- package/dist/actions/get-related-companies.d.mts.map +1 -1
- package/dist/actions/get-related-companies.mjs +1 -0
- package/dist/actions/get-related-companies.mjs.map +1 -1
- package/dist/actions/get-risk-categories.cjs +1 -0
- package/dist/actions/get-risk-categories.cjs.map +1 -1
- package/dist/actions/get-risk-categories.d.cts +3 -27
- package/dist/actions/get-risk-categories.d.cts.map +1 -1
- package/dist/actions/get-risk-categories.d.mts +3 -27
- package/dist/actions/get-risk-categories.d.mts.map +1 -1
- package/dist/actions/get-risk-categories.mjs +1 -0
- package/dist/actions/get-risk-categories.mjs.map +1 -1
- package/dist/actions/get-rsi.cjs +1 -0
- package/dist/actions/get-rsi.cjs.map +1 -1
- package/dist/actions/get-rsi.d.cts +3 -11
- package/dist/actions/get-rsi.d.cts.map +1 -1
- package/dist/actions/get-rsi.d.mts +3 -11
- package/dist/actions/get-rsi.d.mts.map +1 -1
- package/dist/actions/get-rsi.mjs +1 -0
- package/dist/actions/get-rsi.mjs.map +1 -1
- package/dist/actions/get-short-interest.cjs +1 -0
- package/dist/actions/get-short-interest.cjs.map +1 -1
- package/dist/actions/get-short-interest.d.cts +3 -9
- package/dist/actions/get-short-interest.d.cts.map +1 -1
- package/dist/actions/get-short-interest.d.mts +3 -9
- package/dist/actions/get-short-interest.d.mts.map +1 -1
- package/dist/actions/get-short-interest.mjs +1 -0
- package/dist/actions/get-short-interest.mjs.map +1 -1
- package/dist/actions/get-short-volume.cjs +1 -0
- package/dist/actions/get-short-volume.cjs.map +1 -1
- package/dist/actions/get-short-volume.d.cts +3 -8
- package/dist/actions/get-short-volume.d.cts.map +1 -1
- package/dist/actions/get-short-volume.d.mts +3 -8
- package/dist/actions/get-short-volume.d.mts.map +1 -1
- package/dist/actions/get-short-volume.mjs +1 -0
- package/dist/actions/get-short-volume.mjs.map +1 -1
- package/dist/actions/get-sma.cjs +1 -0
- package/dist/actions/get-sma.cjs.map +1 -1
- package/dist/actions/get-sma.d.cts +3 -11
- package/dist/actions/get-sma.d.cts.map +1 -1
- package/dist/actions/get-sma.d.mts +3 -11
- package/dist/actions/get-sma.d.mts.map +1 -1
- package/dist/actions/get-sma.mjs +1 -0
- package/dist/actions/get-sma.mjs.map +1 -1
- package/dist/actions/get-snapshot-all-tickers.cjs +1 -0
- package/dist/actions/get-snapshot-all-tickers.cjs.map +1 -1
- package/dist/actions/get-snapshot-all-tickers.d.cts +3 -4
- package/dist/actions/get-snapshot-all-tickers.d.cts.map +1 -1
- package/dist/actions/get-snapshot-all-tickers.d.mts +3 -4
- package/dist/actions/get-snapshot-all-tickers.d.mts.map +1 -1
- package/dist/actions/get-snapshot-all-tickers.mjs +1 -0
- package/dist/actions/get-snapshot-all-tickers.mjs.map +1 -1
- package/dist/actions/get-snapshot-losers.cjs +1 -0
- package/dist/actions/get-snapshot-losers.cjs.map +1 -1
- package/dist/actions/get-snapshot-losers.d.cts +3 -3
- package/dist/actions/get-snapshot-losers.d.cts.map +1 -1
- package/dist/actions/get-snapshot-losers.d.mts +3 -3
- package/dist/actions/get-snapshot-losers.d.mts.map +1 -1
- package/dist/actions/get-snapshot-losers.mjs +1 -0
- package/dist/actions/get-snapshot-losers.mjs.map +1 -1
- package/dist/actions/get-snapshot-single-ticker.cjs +1 -0
- package/dist/actions/get-snapshot-single-ticker.cjs.map +1 -1
- package/dist/actions/get-snapshot-single-ticker.d.cts +3 -3
- package/dist/actions/get-snapshot-single-ticker.d.cts.map +1 -1
- package/dist/actions/get-snapshot-single-ticker.d.mts +3 -3
- package/dist/actions/get-snapshot-single-ticker.d.mts.map +1 -1
- package/dist/actions/get-snapshot-single-ticker.mjs +1 -0
- package/dist/actions/get-snapshot-single-ticker.mjs.map +1 -1
- package/dist/actions/get-splits.cjs +1 -0
- package/dist/actions/get-splits.cjs.map +1 -1
- package/dist/actions/get-splits.d.cts +3 -8
- package/dist/actions/get-splits.d.cts.map +1 -1
- package/dist/actions/get-splits.d.mts +3 -8
- package/dist/actions/get-splits.d.mts.map +1 -1
- package/dist/actions/get-splits.mjs +1 -0
- package/dist/actions/get-splits.mjs.map +1 -1
- package/dist/actions/get-stock-financials.cjs +1 -0
- package/dist/actions/get-stock-financials.cjs.map +1 -1
- package/dist/actions/get-stock-financials.d.cts +3 -6
- package/dist/actions/get-stock-financials.d.cts.map +1 -1
- package/dist/actions/get-stock-financials.d.mts +3 -6
- package/dist/actions/get-stock-financials.d.mts.map +1 -1
- package/dist/actions/get-stock-financials.mjs +1 -0
- package/dist/actions/get-stock-financials.mjs.map +1 -1
- package/dist/actions/get-stock-float.cjs +1 -0
- package/dist/actions/get-stock-float.cjs.map +1 -1
- package/dist/actions/get-stock-float.d.cts +3 -15
- package/dist/actions/get-stock-float.d.cts.map +1 -1
- package/dist/actions/get-stock-float.d.mts +3 -15
- package/dist/actions/get-stock-float.d.mts.map +1 -1
- package/dist/actions/get-stock-float.mjs +1 -0
- package/dist/actions/get-stock-float.mjs.map +1 -1
- package/dist/actions/get-stock-splits-by-ticker.cjs +1 -0
- package/dist/actions/get-stock-splits-by-ticker.cjs.map +1 -1
- package/dist/actions/get-stock-splits-by-ticker.d.cts +3 -3
- package/dist/actions/get-stock-splits-by-ticker.d.cts.map +1 -1
- package/dist/actions/get-stock-splits-by-ticker.d.mts +3 -3
- package/dist/actions/get-stock-splits-by-ticker.d.mts.map +1 -1
- package/dist/actions/get-stock-splits-by-ticker.mjs +1 -0
- package/dist/actions/get-stock-splits-by-ticker.mjs.map +1 -1
- package/dist/actions/get-stocks-balance-sheets.cjs +1 -0
- package/dist/actions/get-stocks-balance-sheets.cjs.map +1 -1
- package/dist/actions/get-stocks-balance-sheets.d.cts +3 -22
- package/dist/actions/get-stocks-balance-sheets.d.cts.map +1 -1
- package/dist/actions/get-stocks-balance-sheets.d.mts +3 -22
- package/dist/actions/get-stocks-balance-sheets.d.mts.map +1 -1
- package/dist/actions/get-stocks-balance-sheets.mjs +1 -0
- package/dist/actions/get-stocks-balance-sheets.mjs.map +1 -1
- package/dist/actions/get-stocks-cash-flow-statements.cjs +1 -0
- package/dist/actions/get-stocks-cash-flow-statements.cjs.map +1 -1
- package/dist/actions/get-stocks-cash-flow-statements.d.cts +3 -22
- package/dist/actions/get-stocks-cash-flow-statements.d.cts.map +1 -1
- package/dist/actions/get-stocks-cash-flow-statements.d.mts +3 -22
- package/dist/actions/get-stocks-cash-flow-statements.d.mts.map +1 -1
- package/dist/actions/get-stocks-cash-flow-statements.mjs +1 -0
- package/dist/actions/get-stocks-cash-flow-statements.mjs.map +1 -1
- package/dist/actions/get-stocks-custom-bars.cjs +1 -0
- package/dist/actions/get-stocks-custom-bars.cjs.map +1 -1
- package/dist/actions/get-stocks-custom-bars.d.cts +4 -11
- package/dist/actions/get-stocks-custom-bars.d.cts.map +1 -1
- package/dist/actions/get-stocks-custom-bars.d.mts +4 -11
- package/dist/actions/get-stocks-custom-bars.d.mts.map +1 -1
- package/dist/actions/get-stocks-custom-bars.mjs +1 -0
- package/dist/actions/get-stocks-custom-bars.mjs.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.cjs +1 -0
- package/dist/actions/get-stocks-daily-market-summary.cjs.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.d.cts +3 -5
- package/dist/actions/get-stocks-daily-market-summary.d.cts.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.d.mts +3 -5
- package/dist/actions/get-stocks-daily-market-summary.d.mts.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.mjs +1 -0
- package/dist/actions/get-stocks-daily-market-summary.mjs.map +1 -1
- package/dist/actions/get-technical-indicator-sma.cjs +1 -0
- package/dist/actions/get-technical-indicator-sma.cjs.map +1 -1
- package/dist/actions/get-technical-indicator-sma.d.cts +3 -10
- package/dist/actions/get-technical-indicator-sma.d.cts.map +1 -1
- package/dist/actions/get-technical-indicator-sma.d.mts +3 -10
- package/dist/actions/get-technical-indicator-sma.d.mts.map +1 -1
- package/dist/actions/get-technical-indicator-sma.mjs +1 -0
- package/dist/actions/get-technical-indicator-sma.mjs.map +1 -1
- package/dist/actions/get-ticker-company-details.cjs +1 -0
- package/dist/actions/get-ticker-company-details.cjs.map +1 -1
- package/dist/actions/get-ticker-company-details.d.cts +3 -3
- package/dist/actions/get-ticker-company-details.d.cts.map +1 -1
- package/dist/actions/get-ticker-company-details.d.mts +3 -3
- package/dist/actions/get-ticker-company-details.d.mts.map +1 -1
- package/dist/actions/get-ticker-company-details.mjs +1 -0
- package/dist/actions/get-ticker-company-details.mjs.map +1 -1
- package/dist/actions/get-ticker-details-vx.cjs +1 -0
- package/dist/actions/get-ticker-details-vx.cjs.map +1 -1
- package/dist/actions/get-ticker-details-vx.d.cts +3 -4
- package/dist/actions/get-ticker-details-vx.d.cts.map +1 -1
- package/dist/actions/get-ticker-details-vx.d.mts +3 -4
- package/dist/actions/get-ticker-details-vx.d.mts.map +1 -1
- package/dist/actions/get-ticker-details-vx.mjs +1 -0
- package/dist/actions/get-ticker-details-vx.mjs.map +1 -1
- package/dist/actions/get-ticker-details.cjs +1 -0
- package/dist/actions/get-ticker-details.cjs.map +1 -1
- package/dist/actions/get-ticker-details.d.cts +3 -4
- package/dist/actions/get-ticker-details.d.cts.map +1 -1
- package/dist/actions/get-ticker-details.d.mts +3 -4
- package/dist/actions/get-ticker-details.d.mts.map +1 -1
- package/dist/actions/get-ticker-details.mjs +1 -0
- package/dist/actions/get-ticker-details.mjs.map +1 -1
- package/dist/actions/get-ticker-events.cjs +1 -0
- package/dist/actions/get-ticker-events.cjs.map +1 -1
- package/dist/actions/get-ticker-events.d.cts +3 -4
- package/dist/actions/get-ticker-events.d.cts.map +1 -1
- package/dist/actions/get-ticker-events.d.mts +3 -4
- package/dist/actions/get-ticker-events.d.mts.map +1 -1
- package/dist/actions/get-ticker-events.mjs +1 -0
- package/dist/actions/get-ticker-events.mjs.map +1 -1
- package/dist/actions/get-ticker-types.cjs +1 -0
- package/dist/actions/get-ticker-types.cjs.map +1 -1
- package/dist/actions/get-ticker-types.d.cts +3 -6
- package/dist/actions/get-ticker-types.d.cts.map +1 -1
- package/dist/actions/get-ticker-types.d.mts +3 -6
- package/dist/actions/get-ticker-types.d.mts.map +1 -1
- package/dist/actions/get-ticker-types.mjs +1 -0
- package/dist/actions/get-ticker-types.mjs.map +1 -1
- package/dist/actions/get-treasury-yields.cjs +1 -0
- package/dist/actions/get-treasury-yields.cjs.map +1 -1
- package/dist/actions/get-treasury-yields.d.cts +3 -10
- package/dist/actions/get-treasury-yields.d.cts.map +1 -1
- package/dist/actions/get-treasury-yields.d.mts +3 -10
- package/dist/actions/get-treasury-yields.d.mts.map +1 -1
- package/dist/actions/get-treasury-yields.mjs +1 -0
- package/dist/actions/get-treasury-yields.mjs.map +1 -1
- package/dist/actions/get-v1-meta-crypto-exchanges.cjs +1 -0
- package/dist/actions/get-v1-meta-crypto-exchanges.cjs.map +1 -1
- package/dist/actions/get-v1-meta-crypto-exchanges.d.cts +3 -1
- package/dist/actions/get-v1-meta-crypto-exchanges.d.cts.map +1 -1
- package/dist/actions/get-v1-meta-crypto-exchanges.d.mts +3 -1
- package/dist/actions/get-v1-meta-crypto-exchanges.d.mts.map +1 -1
- package/dist/actions/get-v1-meta-crypto-exchanges.mjs +1 -0
- package/dist/actions/get-v1-meta-crypto-exchanges.mjs.map +1 -1
- package/dist/actions/get10-k-sections.cjs +1 -0
- package/dist/actions/get10-k-sections.cjs.map +1 -1
- package/dist/actions/get10-k-sections.d.cts +3 -9
- package/dist/actions/get10-k-sections.d.cts.map +1 -1
- package/dist/actions/get10-k-sections.d.mts +3 -9
- package/dist/actions/get10-k-sections.d.mts.map +1 -1
- package/dist/actions/get10-k-sections.mjs +1 -0
- package/dist/actions/get10-k-sections.mjs.map +1 -1
- package/dist/actions/last-quote-for-a-symbol.cjs +1 -0
- package/dist/actions/last-quote-for-a-symbol.cjs.map +1 -1
- package/dist/actions/last-quote-for-a-symbol.d.cts +3 -3
- package/dist/actions/last-quote-for-a-symbol.d.cts.map +1 -1
- package/dist/actions/last-quote-for-a-symbol.d.mts +3 -3
- package/dist/actions/last-quote-for-a-symbol.d.mts.map +1 -1
- package/dist/actions/last-quote-for-a-symbol.mjs +1 -0
- package/dist/actions/last-quote-for-a-symbol.mjs.map +1 -1
- package/dist/actions/last-trade-for-a-currency-pair.cjs +1 -0
- package/dist/actions/last-trade-for-a-currency-pair.cjs.map +1 -1
- package/dist/actions/last-trade-for-a-currency-pair.d.cts +3 -4
- package/dist/actions/last-trade-for-a-currency-pair.d.cts.map +1 -1
- package/dist/actions/last-trade-for-a-currency-pair.d.mts +3 -4
- package/dist/actions/last-trade-for-a-currency-pair.d.mts.map +1 -1
- package/dist/actions/last-trade-for-a-currency-pair.mjs +1 -0
- package/dist/actions/last-trade-for-a-currency-pair.mjs.map +1 -1
- package/dist/actions/list-filing-files.cjs +1 -0
- package/dist/actions/list-filing-files.cjs.map +1 -1
- package/dist/actions/list-filing-files.d.cts +3 -16
- package/dist/actions/list-filing-files.d.cts.map +1 -1
- package/dist/actions/list-filing-files.d.mts +3 -16
- package/dist/actions/list-filing-files.d.mts.map +1 -1
- package/dist/actions/list-filing-files.mjs +1 -0
- package/dist/actions/list-filing-files.mjs.map +1 -1
- package/dist/actions/list-options-contracts.cjs +1 -0
- package/dist/actions/list-options-contracts.cjs.map +1 -1
- package/dist/actions/list-options-contracts.d.cts +3 -19
- package/dist/actions/list-options-contracts.d.cts.map +1 -1
- package/dist/actions/list-options-contracts.d.mts +3 -19
- package/dist/actions/list-options-contracts.d.mts.map +1 -1
- package/dist/actions/list-options-contracts.mjs +1 -0
- package/dist/actions/list-options-contracts.mjs.map +1 -1
- package/dist/actions/list-sec-filings.cjs +1 -0
- package/dist/actions/list-sec-filings.cjs.map +1 -1
- package/dist/actions/list-sec-filings.d.cts +3 -22
- package/dist/actions/list-sec-filings.d.cts.map +1 -1
- package/dist/actions/list-sec-filings.d.mts +3 -22
- package/dist/actions/list-sec-filings.d.mts.map +1 -1
- package/dist/actions/list-sec-filings.mjs +1 -0
- package/dist/actions/list-sec-filings.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygon } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-options-rsi.d.ts
|
|
@@ -10,9 +12,9 @@ declare const PolygonGetOptionsRsiInput: z.ZodObject<{
|
|
|
10
12
|
window: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
13
|
adjusted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
12
14
|
timespan: z.ZodEnum<{
|
|
15
|
+
day: "day";
|
|
13
16
|
minute: "minute";
|
|
14
17
|
hour: "hour";
|
|
15
|
-
day: "day";
|
|
16
18
|
week: "week";
|
|
17
19
|
month: "month";
|
|
18
20
|
quarter: "quarter";
|
|
@@ -46,21 +48,7 @@ declare const PolygonGetOptionsRsiOutput: z.ZodObject<{
|
|
|
46
48
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
49
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
50
|
}, z.core.$loose>;
|
|
49
|
-
declare const polygonGetOptionsRsi:
|
|
50
|
-
timespan: "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
51
|
-
options_ticker: string;
|
|
52
|
-
limit?: number | undefined;
|
|
53
|
-
order?: "asc" | "desc" | undefined;
|
|
54
|
-
window?: number | undefined;
|
|
55
|
-
adjusted?: boolean | undefined;
|
|
56
|
-
timestamp?: string | undefined;
|
|
57
|
-
series_type?: "open" | "high" | "low" | "close" | undefined;
|
|
58
|
-
timestamp_gt?: string | undefined;
|
|
59
|
-
timestamp_lt?: string | undefined;
|
|
60
|
-
timestamp_gte?: string | undefined;
|
|
61
|
-
timestamp_lte?: string | undefined;
|
|
62
|
-
expand_underlying?: boolean | undefined;
|
|
63
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
51
|
+
declare const polygonGetOptionsRsi: AppAction<typeof PolygonGetOptionsRsiInput, typeof PolygonGetOptionsRsiOutput, typeof polygon.credential>;
|
|
64
52
|
//#endregion
|
|
65
53
|
export { polygonGetOptionsRsi };
|
|
66
54
|
//# sourceMappingURL=get-options-rsi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-rsi.d.mts","names":[],"sources":["../../src/actions/get-options-rsi.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-rsi.d.mts","names":[],"sources":["../../src/actions/get-options-rsi.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAO1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-rsi.mjs","names":[],"sources":["../../src/actions/get-options-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetOptionsRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of base aggregates queried to create the aggregate results. Default: 5000. Max: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(14).describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation. Defaults to 14.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the RSI are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"The size of the aggregate time window. Required parameter to define the period for RSI calculation.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the RSI. Defaults to 'close'.\").optional(),\n timestamp_gt: z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_gte: z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL250117C00250000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Relative Strength Index (RSI) for an options ticker.\");\nconst PolygonGetOptionsRsi_RSIValueSchema = z.object({\n value: z.number().describe(\"The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonGetOptionsRsi_UnderlyingSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable(),\n}).passthrough();\nconst PolygonGetOptionsRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonGetOptionsRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonGetOptionsRsi_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonGetOptionsRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonGetOptionsRsi_RSIResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request ID assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetOptionsRsi = action(\"POLYGON_GET_OPTIONS_RSI\", {\n slug: \"polygon-get-options-rsi\",\n name: \"Get Options RSI\",\n description: \"Tool to calculate Relative Strength Index (RSI) technical indicator for an options ticker. Use when you need momentum analysis or want to identify overbought/oversold conditions for options contracts.\",\n input: PolygonGetOptionsRsiInput,\n output: PolygonGetOptionsRsiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-rsi.mjs","names":[],"sources":["../../src/actions/get-options-rsi.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygon } from \"../app\";\n\nexport const PolygonGetOptionsRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of base aggregates queried to create the aggregate results. Default: 5000. Max: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(14).describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation. Defaults to 14.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the RSI are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"The size of the aggregate time window. Required parameter to define the period for RSI calculation.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the RSI. Defaults to 'close'.\").optional(),\n timestamp_gt: z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_gte: z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL250117C00250000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Relative Strength Index (RSI) for an options ticker.\");\nconst PolygonGetOptionsRsi_RSIValueSchema = z.object({\n value: z.number().describe(\"The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonGetOptionsRsi_UnderlyingSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable(),\n}).passthrough();\nconst PolygonGetOptionsRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonGetOptionsRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonGetOptionsRsi_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonGetOptionsRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonGetOptionsRsi_RSIResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request ID assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetOptionsRsi: AppAction<\n typeof PolygonGetOptionsRsiInput,\n typeof PolygonGetOptionsRsiOutput,\n typeof polygon.credential\n> = action(\"POLYGON_GET_OPTIONS_RSI\", {\n slug: \"polygon-get-options-rsi\",\n name: \"Get Options RSI\",\n description: \"Tool to calculate Relative Strength Index (RSI) technical indicator for an options ticker. Use when you need momentum analysis or want to identify overbought/oversold conditions for options contracts.\",\n input: PolygonGetOptionsRsiInput,\n output: PolygonGetOptionsRsiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACnK,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACjN,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SA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f,MAAM,wCAAwC,EAAE,OAAO;CACrD,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,YAAY,sCAAsC,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY;AAQf,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,sCAAsC,SAAS,CAAC,CAAC,SAAS;EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-sma.cjs","names":["z","action"],"sources":["../../src/actions/get-options-sma.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetOptionsSmaInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"asc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'asc'.\").optional(),\n cursor: z.string().describe(\"Cursor value for pagination to fetch the next page of data.\").optional(),\n window: z.number().int().describe(\"The window size used to calculate the simple moving average (SMA). For example, a window of 10 with daily aggregates results in a 10-day moving average. Required parameter.\"),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the SMA are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"The size of the aggregate time window. Required parameter to define the period for SMA calculation.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the SMA. Defaults to 'close'.\").optional(),\n timestamp_gt: z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_gte: z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:SPY241220C00580000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Simple Moving Average (SMA) for an options ticker.\");\nconst PolygonGetOptionsSma_SMAValueSchema = z.object({\n value: z.number().describe(\"The simple moving average value for this period.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonGetOptionsSma_AggregateBarSchema = z.object({\n c: z.number().describe(\"The close price for the aggregate window.\").nullable().optional(),\n h: z.number().describe(\"The high price for the aggregate window.\").nullable().optional(),\n l: z.number().describe(\"The low price for the aggregate window.\").nullable().optional(),\n n: z.number().int().describe(\"The number of transactions in the aggregate window.\").nullable().optional(),\n o: z.number().describe(\"The open price for the aggregate window.\").nullable().optional(),\n t: z.number().int().describe(\"The Unix millisecond timestamp for the end of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The trading volume for the aggregate window.\").nullable().optional(),\n vw: z.number().describe(\"The volume weighted average price for the aggregate window.\").nullable().optional(),\n}).passthrough();\nconst PolygonGetOptionsSma_UnderlyingDataSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this calculation.\").nullable().optional(),\n aggregates: z.array(PolygonGetOptionsSma_AggregateBarSchema).describe(\"Array of aggregate objects containing OHLCV price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonGetOptionsSma_SMAResultsSchema = z.object({\n values: z.array(PolygonGetOptionsSma_SMAValueSchema).describe(\"Array of SMA indicator calculation results.\").nullable().optional(),\n underlying: PolygonGetOptionsSma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonGetOptionsSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonGetOptionsSma_SMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetOptionsSma = action(\"POLYGON_GET_OPTIONS_SMA\", {\n slug: \"polygon-get-options-sma\",\n name: \"Get Options SMA\",\n description: \"Tool to calculate Simple Moving Average (SMA) technical indicator for an options ticker. Use when you need trend analysis or smoothed price data for options contracts.\",\n input: PolygonGetOptionsSmaInput,\n output: PolygonGetOptionsSmaOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-sma.cjs","names":["z","action"],"sources":["../../src/actions/get-options-sma.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygon } from \"../app\";\n\nexport const PolygonGetOptionsSmaInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"asc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'asc'.\").optional(),\n cursor: z.string().describe(\"Cursor value for pagination to fetch the next page of data.\").optional(),\n window: z.number().int().describe(\"The window size used to calculate the simple moving average (SMA). For example, a window of 10 with daily aggregates results in a 10-day moving average. Required parameter.\"),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the SMA are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"The size of the aggregate time window. Required parameter to define the period for SMA calculation.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the SMA. Defaults to 'close'.\").optional(),\n timestamp_gt: z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_gte: z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:SPY241220C00580000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Simple Moving Average (SMA) for an options ticker.\");\nconst PolygonGetOptionsSma_SMAValueSchema = z.object({\n value: z.number().describe(\"The simple moving average value for this period.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonGetOptionsSma_AggregateBarSchema = z.object({\n c: z.number().describe(\"The close price for the aggregate window.\").nullable().optional(),\n h: z.number().describe(\"The high price for the aggregate window.\").nullable().optional(),\n l: z.number().describe(\"The low price for the aggregate window.\").nullable().optional(),\n n: z.number().int().describe(\"The number of transactions in the aggregate window.\").nullable().optional(),\n o: z.number().describe(\"The open price for the aggregate window.\").nullable().optional(),\n t: z.number().int().describe(\"The Unix millisecond timestamp for the end of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The trading volume for the aggregate window.\").nullable().optional(),\n vw: z.number().describe(\"The volume weighted average price for the aggregate window.\").nullable().optional(),\n}).passthrough();\nconst PolygonGetOptionsSma_UnderlyingDataSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this calculation.\").nullable().optional(),\n aggregates: z.array(PolygonGetOptionsSma_AggregateBarSchema).describe(\"Array of aggregate objects containing OHLCV price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonGetOptionsSma_SMAResultsSchema = z.object({\n values: z.array(PolygonGetOptionsSma_SMAValueSchema).describe(\"Array of SMA indicator calculation results.\").nullable().optional(),\n underlying: PolygonGetOptionsSma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonGetOptionsSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonGetOptionsSma_SMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetOptionsSma: AppAction<\n typeof PolygonGetOptionsSmaInput,\n typeof PolygonGetOptionsSmaOutput,\n typeof polygon.credential\n> = action(\"POLYGON_GET_OPTIONS_SMA\", {\n slug: \"polygon-get-options-sma\",\n name: \"Get Options SMA\",\n description: \"Tool to calculate Simple Moving Average (SMA) technical indicator for an options ticker. Use when you need trend analysis or smoothed price data for options contracts.\",\n input: PolygonGetOptionsSmaInput,\n output: PolygonGetOptionsSmaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3I,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAC/M,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8KAA8K;CAChN,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5J,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;EAAS;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,qGAAqG;CAC9L,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACrL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAChJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CA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.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-options-sma.d.ts
|
|
@@ -11,9 +13,9 @@ declare const PolygonGetOptionsSmaInput: z.ZodObject<{
|
|
|
11
13
|
window: z.ZodNumber;
|
|
12
14
|
adjusted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
13
15
|
timespan: z.ZodEnum<{
|
|
16
|
+
day: "day";
|
|
14
17
|
minute: "minute";
|
|
15
18
|
hour: "hour";
|
|
16
|
-
day: "day";
|
|
17
19
|
week: "week";
|
|
18
20
|
month: "month";
|
|
19
21
|
quarter: "quarter";
|
|
@@ -57,22 +59,7 @@ declare const PolygonGetOptionsSmaOutput: z.ZodObject<{
|
|
|
57
59
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
60
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
61
|
}, z.core.$loose>;
|
|
60
|
-
declare const polygonGetOptionsSma:
|
|
61
|
-
window: number;
|
|
62
|
-
timespan: "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
63
|
-
options_ticker: string;
|
|
64
|
-
limit?: number | undefined;
|
|
65
|
-
order?: "asc" | "desc" | undefined;
|
|
66
|
-
cursor?: string | undefined;
|
|
67
|
-
adjusted?: boolean | undefined;
|
|
68
|
-
timestamp?: string | undefined;
|
|
69
|
-
series_type?: "open" | "high" | "low" | "close" | undefined;
|
|
70
|
-
timestamp_gt?: string | undefined;
|
|
71
|
-
timestamp_lt?: string | undefined;
|
|
72
|
-
timestamp_gte?: string | undefined;
|
|
73
|
-
timestamp_lte?: string | undefined;
|
|
74
|
-
expand_underlying?: boolean | undefined;
|
|
75
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
62
|
+
declare const polygonGetOptionsSma: AppAction<typeof PolygonGetOptionsSmaInput, typeof PolygonGetOptionsSmaOutput, typeof polygon.credential>;
|
|
76
63
|
//#endregion
|
|
77
64
|
export { polygonGetOptionsSma };
|
|
78
65
|
//# sourceMappingURL=get-options-sma.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-sma.d.cts","names":[],"sources":["../../src/actions/get-options-sma.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-sma.d.cts","names":[],"sources":["../../src/actions/get-options-sma.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAO1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygon } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-options-sma.d.ts
|
|
@@ -11,9 +13,9 @@ declare const PolygonGetOptionsSmaInput: z.ZodObject<{
|
|
|
11
13
|
window: z.ZodNumber;
|
|
12
14
|
adjusted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
13
15
|
timespan: z.ZodEnum<{
|
|
16
|
+
day: "day";
|
|
14
17
|
minute: "minute";
|
|
15
18
|
hour: "hour";
|
|
16
|
-
day: "day";
|
|
17
19
|
week: "week";
|
|
18
20
|
month: "month";
|
|
19
21
|
quarter: "quarter";
|
|
@@ -57,22 +59,7 @@ declare const PolygonGetOptionsSmaOutput: z.ZodObject<{
|
|
|
57
59
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
60
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
61
|
}, z.core.$loose>;
|
|
60
|
-
declare const polygonGetOptionsSma:
|
|
61
|
-
window: number;
|
|
62
|
-
timespan: "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
63
|
-
options_ticker: string;
|
|
64
|
-
limit?: number | undefined;
|
|
65
|
-
order?: "asc" | "desc" | undefined;
|
|
66
|
-
cursor?: string | undefined;
|
|
67
|
-
adjusted?: boolean | undefined;
|
|
68
|
-
timestamp?: string | undefined;
|
|
69
|
-
series_type?: "open" | "high" | "low" | "close" | undefined;
|
|
70
|
-
timestamp_gt?: string | undefined;
|
|
71
|
-
timestamp_lt?: string | undefined;
|
|
72
|
-
timestamp_gte?: string | undefined;
|
|
73
|
-
timestamp_lte?: string | undefined;
|
|
74
|
-
expand_underlying?: boolean | undefined;
|
|
75
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
62
|
+
declare const polygonGetOptionsSma: AppAction<typeof PolygonGetOptionsSmaInput, typeof PolygonGetOptionsSmaOutput, typeof polygon.credential>;
|
|
76
63
|
//#endregion
|
|
77
64
|
export { polygonGetOptionsSma };
|
|
78
65
|
//# sourceMappingURL=get-options-sma.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-sma.d.mts","names":[],"sources":["../../src/actions/get-options-sma.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-sma.d.mts","names":[],"sources":["../../src/actions/get-options-sma.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAO1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-sma.mjs","names":[],"sources":["../../src/actions/get-options-sma.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetOptionsSmaInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"asc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'asc'.\").optional(),\n cursor: z.string().describe(\"Cursor value for pagination to fetch the next page of data.\").optional(),\n window: z.number().int().describe(\"The window size used to calculate the simple moving average (SMA). For example, a window of 10 with daily aggregates results in a 10-day moving average. Required parameter.\"),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the SMA are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"The size of the aggregate time window. Required parameter to define the period for SMA calculation.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the SMA. Defaults to 'close'.\").optional(),\n timestamp_gt: z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_gte: z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:SPY241220C00580000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Simple Moving Average (SMA) for an options ticker.\");\nconst PolygonGetOptionsSma_SMAValueSchema = z.object({\n value: z.number().describe(\"The simple moving average value for this period.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonGetOptionsSma_AggregateBarSchema = z.object({\n c: z.number().describe(\"The close price for the aggregate window.\").nullable().optional(),\n h: z.number().describe(\"The high price for the aggregate window.\").nullable().optional(),\n l: z.number().describe(\"The low price for the aggregate window.\").nullable().optional(),\n n: z.number().int().describe(\"The number of transactions in the aggregate window.\").nullable().optional(),\n o: z.number().describe(\"The open price for the aggregate window.\").nullable().optional(),\n t: z.number().int().describe(\"The Unix millisecond timestamp for the end of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The trading volume for the aggregate window.\").nullable().optional(),\n vw: z.number().describe(\"The volume weighted average price for the aggregate window.\").nullable().optional(),\n}).passthrough();\nconst PolygonGetOptionsSma_UnderlyingDataSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this calculation.\").nullable().optional(),\n aggregates: z.array(PolygonGetOptionsSma_AggregateBarSchema).describe(\"Array of aggregate objects containing OHLCV price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonGetOptionsSma_SMAResultsSchema = z.object({\n values: z.array(PolygonGetOptionsSma_SMAValueSchema).describe(\"Array of SMA indicator calculation results.\").nullable().optional(),\n underlying: PolygonGetOptionsSma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonGetOptionsSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonGetOptionsSma_SMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetOptionsSma = action(\"POLYGON_GET_OPTIONS_SMA\", {\n slug: \"polygon-get-options-sma\",\n name: \"Get Options SMA\",\n description: \"Tool to calculate Simple Moving Average (SMA) technical indicator for an options ticker. Use when you need trend analysis or smoothed price data for options contracts.\",\n input: PolygonGetOptionsSmaInput,\n output: PolygonGetOptionsSmaOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-sma.mjs","names":[],"sources":["../../src/actions/get-options-sma.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygon } from \"../app\";\n\nexport const PolygonGetOptionsSmaInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"asc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'asc'.\").optional(),\n cursor: z.string().describe(\"Cursor value for pagination to fetch the next page of data.\").optional(),\n window: z.number().int().describe(\"The window size used to calculate the simple moving average (SMA). For example, a window of 10 with daily aggregates results in a 10-day moving average. Required parameter.\"),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the SMA are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"The size of the aggregate time window. Required parameter to define the period for SMA calculation.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the SMA. Defaults to 'close'.\").optional(),\n timestamp_gt: z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_gte: z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:SPY241220C00580000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Simple Moving Average (SMA) for an options ticker.\");\nconst PolygonGetOptionsSma_SMAValueSchema = z.object({\n value: z.number().describe(\"The simple moving average value for this period.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonGetOptionsSma_AggregateBarSchema = z.object({\n c: z.number().describe(\"The close price for the aggregate window.\").nullable().optional(),\n h: z.number().describe(\"The high price for the aggregate window.\").nullable().optional(),\n l: z.number().describe(\"The low price for the aggregate window.\").nullable().optional(),\n n: z.number().int().describe(\"The number of transactions in the aggregate window.\").nullable().optional(),\n o: z.number().describe(\"The open price for the aggregate window.\").nullable().optional(),\n t: z.number().int().describe(\"The Unix millisecond timestamp for the end of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The trading volume for the aggregate window.\").nullable().optional(),\n vw: z.number().describe(\"The volume weighted average price for the aggregate window.\").nullable().optional(),\n}).passthrough();\nconst PolygonGetOptionsSma_UnderlyingDataSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this calculation.\").nullable().optional(),\n aggregates: z.array(PolygonGetOptionsSma_AggregateBarSchema).describe(\"Array of aggregate objects containing OHLCV price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonGetOptionsSma_SMAResultsSchema = z.object({\n values: z.array(PolygonGetOptionsSma_SMAValueSchema).describe(\"Array of SMA indicator calculation results.\").nullable().optional(),\n underlying: PolygonGetOptionsSma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonGetOptionsSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonGetOptionsSma_SMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetOptionsSma: AppAction<\n typeof PolygonGetOptionsSmaInput,\n typeof PolygonGetOptionsSmaOutput,\n typeof polygon.credential\n> = action(\"POLYGON_GET_OPTIONS_SMA\", {\n slug: \"polygon-get-options-sma\",\n name: \"Get Options SMA\",\n description: \"Tool to calculate Simple Moving Average (SMA) technical indicator for an options ticker. Use when you need trend analysis or smoothed price data for options contracts.\",\n input: PolygonGetOptionsSmaInput,\n output: PolygonGetOptionsSmaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3I,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAC/M,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8KAA8K;CAChN,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5J,UAAU,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;EAAS;EAAW;CAAM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AS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-previous-close.cjs","names":["z","action"],"sources":["../../src/actions/get-previous-close.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetPreviousCloseInput = z.object({\n ticker: z.string().describe(\"Case-sensitive stock ticker symbol to query, e.g., 'AAPL'\"),\n adjusted: z.boolean().default(true).describe(\"Whether to return adjusted data for splits; default is True\").optional(),\n}).describe(\"Request schema for GET /v2/aggs/ticker/{ticker}/prev\");\nconst PolygonGetPreviousClose_PrevStockAggSchema = z.object({\n c: z.number().describe(\"Close price for the period.\").nullable(),\n h: z.number().describe(\"Highest price for the period.\").nullable(),\n l: z.number().describe(\"Lowest price for the period.\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the window.\").nullable().optional(),\n o: z.number().describe(\"Open price for the period.\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for start of window.\").nullable(),\n v: z.number().describe(\"Trading volume for the period.\").nullable(),\n vw: z.number().describe(\"Volume weighted average price.\").nullable().optional(),\n}).passthrough().describe(\"Single aggregate bar for a stock ticker previous close.\");\nexport const PolygonGetPreviousCloseOutput = z.object({\n status: z.string().describe(\"API response status\").nullable(),\n ticker: z.string().describe(\"Stock ticker symbol\").nullable(),\n results: z.array(PolygonGetPreviousClose_PrevStockAggSchema).describe(\"List of aggregate data for previous close (may be empty for some tickers)\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether the results are adjusted for splits\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate the response\").nullable(),\n request_id: z.string().describe(\"Unique request ID assigned by server\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results returned\").nullable(),\n}).passthrough();\n\nexport const polygonGetPreviousClose = action(\"POLYGON_GET_PREVIOUS_CLOSE\", {\n slug: \"polygon-get-previous-close\",\n name: \"Get Previous Close\",\n description: \"Tool to get previous trading day’s OHLC and volume for a stock. Use when you need the last day’s open, high, low, close, and volume for a given ticker.\",\n input: PolygonGetPreviousCloseInput,\n output: PolygonGetPreviousCloseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-previous-close.cjs","names":["z","action"],"sources":["../../src/actions/get-previous-close.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygon } from \"../app\";\n\nexport const PolygonGetPreviousCloseInput = z.object({\n ticker: z.string().describe(\"Case-sensitive stock ticker symbol to query, e.g., 'AAPL'\"),\n adjusted: z.boolean().default(true).describe(\"Whether to return adjusted data for splits; default is True\").optional(),\n}).describe(\"Request schema for GET /v2/aggs/ticker/{ticker}/prev\");\nconst PolygonGetPreviousClose_PrevStockAggSchema = z.object({\n c: z.number().describe(\"Close price for the period.\").nullable(),\n h: z.number().describe(\"Highest price for the period.\").nullable(),\n l: z.number().describe(\"Lowest price for the period.\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the window.\").nullable().optional(),\n o: z.number().describe(\"Open price for the period.\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for start of window.\").nullable(),\n v: z.number().describe(\"Trading volume for the period.\").nullable(),\n vw: z.number().describe(\"Volume weighted average price.\").nullable().optional(),\n}).passthrough().describe(\"Single aggregate bar for a stock ticker previous close.\");\nexport const PolygonGetPreviousCloseOutput = z.object({\n status: z.string().describe(\"API response status\").nullable(),\n ticker: z.string().describe(\"Stock ticker symbol\").nullable(),\n results: z.array(PolygonGetPreviousClose_PrevStockAggSchema).describe(\"List of aggregate data for previous close (may be empty for some tickers)\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether the results are adjusted for splits\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate the response\").nullable(),\n request_id: z.string().describe(\"Unique request ID assigned by server\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results returned\").nullable(),\n}).passthrough();\n\nexport const polygonGetPreviousClose: AppAction<\n typeof PolygonGetPreviousCloseInput,\n typeof PolygonGetPreviousCloseOutput,\n typeof polygon.credential\n> = action(\"POLYGON_GET_PREVIOUS_CLOSE\", {\n slug: \"polygon-get-previous-close\",\n name: \"Get Previous Close\",\n description: \"Tool to get previous trading day’s OHLC and volume for a stock. Use when you need the last day’s open, high, low, close, and volume for a given ticker.\",\n input: PolygonGetPreviousCloseInput,\n output: PolygonGetPreviousCloseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC/D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACjE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAChE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC9D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygon } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-previous-close.d.ts
|
|
@@ -23,10 +25,7 @@ declare const PolygonGetPreviousCloseOutput: z.ZodObject<{
|
|
|
23
25
|
request_id: z.ZodNullable<z.ZodString>;
|
|
24
26
|
resultsCount: z.ZodNullable<z.ZodNumber>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const polygonGetPreviousClose:
|
|
27
|
-
ticker: string;
|
|
28
|
-
adjusted?: boolean | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const polygonGetPreviousClose: AppAction<typeof PolygonGetPreviousCloseInput, typeof PolygonGetPreviousCloseOutput, typeof polygon.credential>;
|
|
30
29
|
//#endregion
|
|
31
30
|
export { polygonGetPreviousClose };
|
|
32
31
|
//# sourceMappingURL=get-previous-close.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-previous-close.d.cts","names":[],"sources":["../../src/actions/get-previous-close.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-previous-close.d.cts","names":[],"sources":["../../src/actions/get-previous-close.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAU7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygon } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-previous-close.d.ts
|
|
@@ -23,10 +25,7 @@ declare const PolygonGetPreviousCloseOutput: z.ZodObject<{
|
|
|
23
25
|
request_id: z.ZodNullable<z.ZodString>;
|
|
24
26
|
resultsCount: z.ZodNullable<z.ZodNumber>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const polygonGetPreviousClose:
|
|
27
|
-
ticker: string;
|
|
28
|
-
adjusted?: boolean | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const polygonGetPreviousClose: AppAction<typeof PolygonGetPreviousCloseInput, typeof PolygonGetPreviousCloseOutput, typeof polygon.credential>;
|
|
30
29
|
//#endregion
|
|
31
30
|
export { polygonGetPreviousClose };
|
|
32
31
|
//# sourceMappingURL=get-previous-close.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-previous-close.d.mts","names":[],"sources":["../../src/actions/get-previous-close.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-previous-close.d.mts","names":[],"sources":["../../src/actions/get-previous-close.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAc5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAU7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-previous-close.mjs","names":[],"sources":["../../src/actions/get-previous-close.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetPreviousCloseInput = z.object({\n ticker: z.string().describe(\"Case-sensitive stock ticker symbol to query, e.g., 'AAPL'\"),\n adjusted: z.boolean().default(true).describe(\"Whether to return adjusted data for splits; default is True\").optional(),\n}).describe(\"Request schema for GET /v2/aggs/ticker/{ticker}/prev\");\nconst PolygonGetPreviousClose_PrevStockAggSchema = z.object({\n c: z.number().describe(\"Close price for the period.\").nullable(),\n h: z.number().describe(\"Highest price for the period.\").nullable(),\n l: z.number().describe(\"Lowest price for the period.\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the window.\").nullable().optional(),\n o: z.number().describe(\"Open price for the period.\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for start of window.\").nullable(),\n v: z.number().describe(\"Trading volume for the period.\").nullable(),\n vw: z.number().describe(\"Volume weighted average price.\").nullable().optional(),\n}).passthrough().describe(\"Single aggregate bar for a stock ticker previous close.\");\nexport const PolygonGetPreviousCloseOutput = z.object({\n status: z.string().describe(\"API response status\").nullable(),\n ticker: z.string().describe(\"Stock ticker symbol\").nullable(),\n results: z.array(PolygonGetPreviousClose_PrevStockAggSchema).describe(\"List of aggregate data for previous close (may be empty for some tickers)\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether the results are adjusted for splits\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate the response\").nullable(),\n request_id: z.string().describe(\"Unique request ID assigned by server\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results returned\").nullable(),\n}).passthrough();\n\nexport const polygonGetPreviousClose = action(\"POLYGON_GET_PREVIOUS_CLOSE\", {\n slug: \"polygon-get-previous-close\",\n name: \"Get Previous Close\",\n description: \"Tool to get previous trading day’s OHLC and volume for a stock. Use when you need the last day’s open, high, low, close, and volume for a given ticker.\",\n input: PolygonGetPreviousCloseInput,\n output: PolygonGetPreviousCloseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-previous-close.mjs","names":[],"sources":["../../src/actions/get-previous-close.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygon } from \"../app\";\n\nexport const PolygonGetPreviousCloseInput = z.object({\n ticker: z.string().describe(\"Case-sensitive stock ticker symbol to query, e.g., 'AAPL'\"),\n adjusted: z.boolean().default(true).describe(\"Whether to return adjusted data for splits; default is True\").optional(),\n}).describe(\"Request schema for GET /v2/aggs/ticker/{ticker}/prev\");\nconst PolygonGetPreviousClose_PrevStockAggSchema = z.object({\n c: z.number().describe(\"Close price for the period.\").nullable(),\n h: z.number().describe(\"Highest price for the period.\").nullable(),\n l: z.number().describe(\"Lowest price for the period.\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the window.\").nullable().optional(),\n o: z.number().describe(\"Open price for the period.\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for start of window.\").nullable(),\n v: z.number().describe(\"Trading volume for the period.\").nullable(),\n vw: z.number().describe(\"Volume weighted average price.\").nullable().optional(),\n}).passthrough().describe(\"Single aggregate bar for a stock ticker previous close.\");\nexport const PolygonGetPreviousCloseOutput = z.object({\n status: z.string().describe(\"API response status\").nullable(),\n ticker: z.string().describe(\"Stock ticker symbol\").nullable(),\n results: z.array(PolygonGetPreviousClose_PrevStockAggSchema).describe(\"List of aggregate data for previous close (may be empty for some tickers)\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether the results are adjusted for splits\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate the response\").nullable(),\n request_id: z.string().describe(\"Unique request ID assigned by server\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results returned\").nullable(),\n}).passthrough();\n\nexport const polygonGetPreviousClose: AppAction<\n typeof PolygonGetPreviousCloseInput,\n typeof PolygonGetPreviousCloseOutput,\n typeof polygon.credential\n> = action(\"POLYGON_GET_PREVIOUS_CLOSE\", {\n slug: \"polygon-get-previous-close\",\n name: \"Get Previous Close\",\n description: \"Tool to get previous trading day’s OHLC and volume for a stock. Use when you need the last day’s open, high, low, close, and volume for a given ticker.\",\n input: PolygonGetPreviousCloseInput,\n output: PolygonGetPreviousCloseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,GAAG,EAAE,OAAO,CAAC,CAAC,SAA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CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-reference-exchanges.cjs","names":["z","action"],"sources":["../../src/actions/get-reference-exchanges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetReferenceExchangesInput = z.object({\n locale: z.string().describe(\"Filter by locale (e.g., 'us').\").optional(),\n asset_class: z.enum([\"stocks\", \"options\", \"crypto\", \"fx\"]).describe(\"Filter by asset class. One of 'stocks', 'options', 'crypto', 'fx'.\").optional(),\n}).describe(\"Request parameters to filter supported exchanges.\");\nconst PolygonGetReferenceExchanges_ExchangeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the exchange.\").nullable(),\n mic: z.string().describe(\"Market identifier code.\").nullable().optional(),\n url: z.string().describe(\"URL of the exchange website.\").nullable().optional(),\n name: z.string().describe(\"Exchange name.\").nullable(),\n type: z.string().describe(\"Exchange type (e.g., 'exchange', 'TRF', 'SIP').\").nullable(),\n locale: z.string().describe(\"Region or locale of the exchange (e.g., 'us').\").nullable().optional(),\n acronym: z.string().describe(\"Exchange acronym.\").nullable().optional(),\n asset_class: z.string().describe(\"Asset class (e.g., 'stocks', 'options', 'crypto', 'fx').\").nullable().optional(),\n operating_mic: z.string().describe(\"Operating market identifier code.\").nullable().optional(),\n participant_id: z.string().describe(\"Participant ID for tape reporting.\").nullable().optional(),\n}).passthrough().describe(\"A single exchange definition.\");\nexport const PolygonGetReferenceExchangesOutput = z.object({\n status: z.string().describe(\"Request status.\").nullable(),\n results: z.array(PolygonGetReferenceExchanges_ExchangeSchema).describe(\"List of supported exchanges.\"),\n request_id: z.string().describe(\"ID of the API request.\").nullable(),\n}).passthrough().describe(\"Response model for supported exchanges lookup.\");\n\nexport const polygonGetReferenceExchanges = action(\"POLYGON_GET_REFERENCE_EXCHANGES\", {\n slug: \"polygon-get-reference-exchanges\",\n name: \"Get reference exchanges\",\n description: \"Tool to retrieve supported exchanges and their details. Use when you need a list of exchanges filtered by asset class or locale.\",\n input: PolygonGetReferenceExchangesInput,\n output: PolygonGetReferenceExchangesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-reference-exchanges.cjs","names":["z","action"],"sources":["../../src/actions/get-reference-exchanges.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygon } from \"../app\";\n\nexport const PolygonGetReferenceExchangesInput = z.object({\n locale: z.string().describe(\"Filter by locale (e.g., 'us').\").optional(),\n asset_class: z.enum([\"stocks\", \"options\", \"crypto\", \"fx\"]).describe(\"Filter by asset class. One of 'stocks', 'options', 'crypto', 'fx'.\").optional(),\n}).describe(\"Request parameters to filter supported exchanges.\");\nconst PolygonGetReferenceExchanges_ExchangeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the exchange.\").nullable(),\n mic: z.string().describe(\"Market identifier code.\").nullable().optional(),\n url: z.string().describe(\"URL of the exchange website.\").nullable().optional(),\n name: z.string().describe(\"Exchange name.\").nullable(),\n type: z.string().describe(\"Exchange type (e.g., 'exchange', 'TRF', 'SIP').\").nullable(),\n locale: z.string().describe(\"Region or locale of the exchange (e.g., 'us').\").nullable().optional(),\n acronym: z.string().describe(\"Exchange acronym.\").nullable().optional(),\n asset_class: z.string().describe(\"Asset class (e.g., 'stocks', 'options', 'crypto', 'fx').\").nullable().optional(),\n operating_mic: z.string().describe(\"Operating market identifier code.\").nullable().optional(),\n participant_id: z.string().describe(\"Participant ID for tape reporting.\").nullable().optional(),\n}).passthrough().describe(\"A single exchange definition.\");\nexport const PolygonGetReferenceExchangesOutput = z.object({\n status: z.string().describe(\"Request status.\").nullable(),\n results: z.array(PolygonGetReferenceExchanges_ExchangeSchema).describe(\"List of supported exchanges.\"),\n request_id: z.string().describe(\"ID of the API request.\").nullable(),\n}).passthrough().describe(\"Response model for supported exchanges lookup.\");\n\nexport const polygonGetReferenceExchanges: AppAction<\n typeof PolygonGetReferenceExchangesInput,\n typeof PolygonGetReferenceExchangesOutput,\n typeof polygon.credential\n> = action(\"POLYGON_GET_REFERENCE_EXCHANGES\", {\n slug: \"polygon-get-reference-exchanges\",\n name: \"Get reference exchanges\",\n description: \"Tool to retrieve supported exchanges and their details. Use when you need a list of exchanges filtered by asset class or locale.\",\n input: PolygonGetReferenceExchangesInput,\n output: PolygonGetReferenceExchangesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;EAAU;CAAI,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,8BAA8B;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygon } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-reference-exchanges.d.ts
|
|
@@ -26,10 +28,7 @@ declare const PolygonGetReferenceExchangesOutput: z.ZodObject<{
|
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
request_id: z.ZodNullable<z.ZodString>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const polygonGetReferenceExchanges:
|
|
30
|
-
locale?: string | undefined;
|
|
31
|
-
asset_class?: "options" | "fx" | "crypto" | "stocks" | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const polygonGetReferenceExchanges: AppAction<typeof PolygonGetReferenceExchangesInput, typeof PolygonGetReferenceExchangesOutput, typeof polygon.credential>;
|
|
33
32
|
//#endregion
|
|
34
33
|
export { polygonGetReferenceExchanges };
|
|
35
34
|
//# sourceMappingURL=get-reference-exchanges.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-reference-exchanges.d.cts","names":[],"sources":["../../src/actions/get-reference-exchanges.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-reference-exchanges.d.cts","names":[],"sources":["../../src/actions/get-reference-exchanges.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cAgBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygon } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-reference-exchanges.d.ts
|
|
@@ -26,10 +28,7 @@ declare const PolygonGetReferenceExchangesOutput: z.ZodObject<{
|
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
request_id: z.ZodNullable<z.ZodString>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const polygonGetReferenceExchanges:
|
|
30
|
-
locale?: string | undefined;
|
|
31
|
-
asset_class?: "options" | "fx" | "crypto" | "stocks" | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const polygonGetReferenceExchanges: AppAction<typeof PolygonGetReferenceExchangesInput, typeof PolygonGetReferenceExchangesOutput, typeof polygon.credential>;
|
|
33
32
|
//#endregion
|
|
34
33
|
export { polygonGetReferenceExchanges };
|
|
35
34
|
//# sourceMappingURL=get-reference-exchanges.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-reference-exchanges.d.mts","names":[],"sources":["../../src/actions/get-reference-exchanges.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-reference-exchanges.d.mts","names":[],"sources":["../../src/actions/get-reference-exchanges.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cAgBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-reference-exchanges.mjs","names":[],"sources":["../../src/actions/get-reference-exchanges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetReferenceExchangesInput = z.object({\n locale: z.string().describe(\"Filter by locale (e.g., 'us').\").optional(),\n asset_class: z.enum([\"stocks\", \"options\", \"crypto\", \"fx\"]).describe(\"Filter by asset class. One of 'stocks', 'options', 'crypto', 'fx'.\").optional(),\n}).describe(\"Request parameters to filter supported exchanges.\");\nconst PolygonGetReferenceExchanges_ExchangeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the exchange.\").nullable(),\n mic: z.string().describe(\"Market identifier code.\").nullable().optional(),\n url: z.string().describe(\"URL of the exchange website.\").nullable().optional(),\n name: z.string().describe(\"Exchange name.\").nullable(),\n type: z.string().describe(\"Exchange type (e.g., 'exchange', 'TRF', 'SIP').\").nullable(),\n locale: z.string().describe(\"Region or locale of the exchange (e.g., 'us').\").nullable().optional(),\n acronym: z.string().describe(\"Exchange acronym.\").nullable().optional(),\n asset_class: z.string().describe(\"Asset class (e.g., 'stocks', 'options', 'crypto', 'fx').\").nullable().optional(),\n operating_mic: z.string().describe(\"Operating market identifier code.\").nullable().optional(),\n participant_id: z.string().describe(\"Participant ID for tape reporting.\").nullable().optional(),\n}).passthrough().describe(\"A single exchange definition.\");\nexport const PolygonGetReferenceExchangesOutput = z.object({\n status: z.string().describe(\"Request status.\").nullable(),\n results: z.array(PolygonGetReferenceExchanges_ExchangeSchema).describe(\"List of supported exchanges.\"),\n request_id: z.string().describe(\"ID of the API request.\").nullable(),\n}).passthrough().describe(\"Response model for supported exchanges lookup.\");\n\nexport const polygonGetReferenceExchanges = action(\"POLYGON_GET_REFERENCE_EXCHANGES\", {\n slug: \"polygon-get-reference-exchanges\",\n name: \"Get reference exchanges\",\n description: \"Tool to retrieve supported exchanges and their details. Use when you need a list of exchanges filtered by asset class or locale.\",\n input: PolygonGetReferenceExchangesInput,\n output: PolygonGetReferenceExchangesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-reference-exchanges.mjs","names":[],"sources":["../../src/actions/get-reference-exchanges.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygon } from \"../app\";\n\nexport const PolygonGetReferenceExchangesInput = z.object({\n locale: z.string().describe(\"Filter by locale (e.g., 'us').\").optional(),\n asset_class: z.enum([\"stocks\", \"options\", \"crypto\", \"fx\"]).describe(\"Filter by asset class. One of 'stocks', 'options', 'crypto', 'fx'.\").optional(),\n}).describe(\"Request parameters to filter supported exchanges.\");\nconst PolygonGetReferenceExchanges_ExchangeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the exchange.\").nullable(),\n mic: z.string().describe(\"Market identifier code.\").nullable().optional(),\n url: z.string().describe(\"URL of the exchange website.\").nullable().optional(),\n name: z.string().describe(\"Exchange name.\").nullable(),\n type: z.string().describe(\"Exchange type (e.g., 'exchange', 'TRF', 'SIP').\").nullable(),\n locale: z.string().describe(\"Region or locale of the exchange (e.g., 'us').\").nullable().optional(),\n acronym: z.string().describe(\"Exchange acronym.\").nullable().optional(),\n asset_class: z.string().describe(\"Asset class (e.g., 'stocks', 'options', 'crypto', 'fx').\").nullable().optional(),\n operating_mic: z.string().describe(\"Operating market identifier code.\").nullable().optional(),\n participant_id: z.string().describe(\"Participant ID for tape reporting.\").nullable().optional(),\n}).passthrough().describe(\"A single exchange definition.\");\nexport const PolygonGetReferenceExchangesOutput = z.object({\n status: z.string().describe(\"Request status.\").nullable(),\n results: z.array(PolygonGetReferenceExchanges_ExchangeSchema).describe(\"List of supported exchanges.\"),\n request_id: z.string().describe(\"ID of the API request.\").nullable(),\n}).passthrough().describe(\"Response model for supported exchanges lookup.\");\n\nexport const polygonGetReferenceExchanges: AppAction<\n typeof PolygonGetReferenceExchangesInput,\n typeof PolygonGetReferenceExchangesOutput,\n typeof polygon.credential\n> = action(\"POLYGON_GET_REFERENCE_EXCHANGES\", {\n slug: \"polygon-get-reference-exchanges\",\n name: \"Get reference exchanges\",\n description: \"Tool to retrieve supported exchanges and their details. Use when you need a list of exchanges filtered by asset class or locale.\",\n input: PolygonGetReferenceExchangesInput,\n output: PolygonGetReferenceExchangesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,aAAa,EAAE,KAAK;EAAC;EAAU;EAAW;EAAU;CAAI,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAA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3,"file":"get-reference-markets.cjs","names":["z","action"],"sources":["../../src/actions/get-reference-markets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetReferenceMarketsInput = z.object({}).describe(\"Request parameters for retrieving supported markets. No parameters required.\");\nconst PolygonGetReferenceMarkets_MarketSchema = z.object({\n desc: z.string().describe(\"Human-readable description of the market.\").nullable(),\n market: z.string().describe(\"Market identifier (e.g., 'stocks', 'crypto', 'fx', 'otc').\").nullable(),\n}).passthrough().describe(\"A single market definition.\");\nexport const PolygonGetReferenceMarketsOutput = z.object({\n status: z.string().describe(\"Request status.\").nullable(),\n results: z.array(PolygonGetReferenceMarkets_MarketSchema).describe(\"List of supported markets.\"),\n}).passthrough().describe(\"Response model for supported markets lookup.\");\n\nexport const polygonGetReferenceMarkets = action(\"POLYGON_GET_REFERENCE_MARKETS\", {\n slug: \"polygon-get-reference-markets\",\n name: \"Get reference markets\",\n description: \"Tool to retrieve all supported markets from Polygon.io. Use when you need a list of available market types.\",\n input: PolygonGetReferenceMarketsInput,\n output: PolygonGetReferenceMarketsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-reference-markets.cjs","names":["z","action"],"sources":["../../src/actions/get-reference-markets.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygon } from \"../app\";\n\nexport const PolygonGetReferenceMarketsInput = z.object({}).describe(\"Request parameters for retrieving supported markets. No parameters required.\");\nconst PolygonGetReferenceMarkets_MarketSchema = z.object({\n desc: z.string().describe(\"Human-readable description of the market.\").nullable(),\n market: z.string().describe(\"Market identifier (e.g., 'stocks', 'crypto', 'fx', 'otc').\").nullable(),\n}).passthrough().describe(\"A single market definition.\");\nexport const PolygonGetReferenceMarketsOutput = z.object({\n status: z.string().describe(\"Request status.\").nullable(),\n results: z.array(PolygonGetReferenceMarkets_MarketSchema).describe(\"List of supported markets.\"),\n}).passthrough().describe(\"Response model for supported markets lookup.\");\n\nexport const polygonGetReferenceMarkets: AppAction<\n typeof PolygonGetReferenceMarketsInput,\n typeof PolygonGetReferenceMarketsOutput,\n typeof polygon.credential\n> = action(\"POLYGON_GET_REFERENCE_MARKETS\", {\n slug: \"polygon-get-reference-markets\",\n name: \"Get reference markets\",\n description: \"Tool to retrieve all supported markets from Polygon.io. Use when you need a list of available market types.\",\n input: PolygonGetReferenceMarketsInput,\n output: PolygonGetReferenceMarketsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACnJ,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4BAA4B;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygon } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-reference-markets.d.ts
|
|
@@ -9,7 +11,7 @@ declare const PolygonGetReferenceMarketsOutput: z.ZodObject<{
|
|
|
9
11
|
market: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const polygonGetReferenceMarkets:
|
|
14
|
+
declare const polygonGetReferenceMarkets: AppAction<typeof PolygonGetReferenceMarketsInput, typeof PolygonGetReferenceMarketsOutput, typeof polygon.credential>;
|
|
13
15
|
//#endregion
|
|
14
16
|
export { polygonGetReferenceMarkets };
|
|
15
17
|
//# sourceMappingURL=get-reference-markets.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-reference-markets.d.cts","names":[],"sources":["../../src/actions/get-reference-markets.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-reference-markets.d.cts","names":[],"sources":["../../src/actions/get-reference-markets.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygon } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-reference-markets.d.ts
|
|
@@ -9,7 +11,7 @@ declare const PolygonGetReferenceMarketsOutput: z.ZodObject<{
|
|
|
9
11
|
market: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const polygonGetReferenceMarkets:
|
|
14
|
+
declare const polygonGetReferenceMarkets: AppAction<typeof PolygonGetReferenceMarketsInput, typeof PolygonGetReferenceMarketsOutput, typeof polygon.credential>;
|
|
13
15
|
//#endregion
|
|
14
16
|
export { polygonGetReferenceMarkets };
|
|
15
17
|
//# sourceMappingURL=get-reference-markets.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-reference-markets.d.mts","names":[],"sources":["../../src/actions/get-reference-markets.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-reference-markets.d.mts","names":[],"sources":["../../src/actions/get-reference-markets.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-reference-markets.mjs","names":[],"sources":["../../src/actions/get-reference-markets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetReferenceMarketsInput = z.object({}).describe(\"Request parameters for retrieving supported markets. No parameters required.\");\nconst PolygonGetReferenceMarkets_MarketSchema = z.object({\n desc: z.string().describe(\"Human-readable description of the market.\").nullable(),\n market: z.string().describe(\"Market identifier (e.g., 'stocks', 'crypto', 'fx', 'otc').\").nullable(),\n}).passthrough().describe(\"A single market definition.\");\nexport const PolygonGetReferenceMarketsOutput = z.object({\n status: z.string().describe(\"Request status.\").nullable(),\n results: z.array(PolygonGetReferenceMarkets_MarketSchema).describe(\"List of supported markets.\"),\n}).passthrough().describe(\"Response model for supported markets lookup.\");\n\nexport const polygonGetReferenceMarkets = action(\"POLYGON_GET_REFERENCE_MARKETS\", {\n slug: \"polygon-get-reference-markets\",\n name: \"Get reference markets\",\n description: \"Tool to retrieve all supported markets from Polygon.io. Use when you need a list of available market types.\",\n input: PolygonGetReferenceMarketsInput,\n output: PolygonGetReferenceMarketsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-reference-markets.mjs","names":[],"sources":["../../src/actions/get-reference-markets.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygon } from \"../app\";\n\nexport const PolygonGetReferenceMarketsInput = z.object({}).describe(\"Request parameters for retrieving supported markets. No parameters required.\");\nconst PolygonGetReferenceMarkets_MarketSchema = z.object({\n desc: z.string().describe(\"Human-readable description of the market.\").nullable(),\n market: z.string().describe(\"Market identifier (e.g., 'stocks', 'crypto', 'fx', 'otc').\").nullable(),\n}).passthrough().describe(\"A single market definition.\");\nexport const PolygonGetReferenceMarketsOutput = z.object({\n status: z.string().describe(\"Request status.\").nullable(),\n results: z.array(PolygonGetReferenceMarkets_MarketSchema).describe(\"List of supported markets.\"),\n}).passthrough().describe(\"Response model for supported markets lookup.\");\n\nexport const polygonGetReferenceMarkets: AppAction<\n typeof PolygonGetReferenceMarketsInput,\n typeof PolygonGetReferenceMarketsOutput,\n typeof polygon.credential\n> = action(\"POLYGON_GET_REFERENCE_MARKETS\", {\n slug: \"polygon-get-reference-markets\",\n name: \"Get reference markets\",\n description: \"Tool to retrieve all supported markets from Polygon.io. Use when you need a list of available market types.\",\n input: PolygonGetReferenceMarketsInput,\n output: PolygonGetReferenceMarketsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACnJ,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAMvD,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACxD,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4BAA4B;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|