@keystrokehq/polygon 0.1.2 → 0.1.3
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/actions/get-aggregates.cjs +2 -2
- package/dist/actions/get-aggregates.cjs.map +1 -1
- package/dist/actions/get-aggregates.d.cts +4 -4
- package/dist/actions/get-aggregates.d.mts +4 -4
- package/dist/actions/get-aggregates.mjs +2 -2
- package/dist/actions/get-aggregates.mjs.map +1 -1
- package/dist/actions/get-all-tickers.cjs +2 -2
- package/dist/actions/get-all-tickers.cjs.map +1 -1
- package/dist/actions/get-all-tickers.d.cts +2 -2
- package/dist/actions/get-all-tickers.d.mts +2 -2
- package/dist/actions/get-all-tickers.mjs +2 -2
- package/dist/actions/get-all-tickers.mjs.map +1 -1
- package/dist/actions/get-condition-codes.cjs +2 -2
- package/dist/actions/get-condition-codes.cjs.map +1 -1
- package/dist/actions/get-condition-codes.d.cts +2 -2
- package/dist/actions/get-condition-codes.d.mts +2 -2
- package/dist/actions/get-condition-codes.mjs +2 -2
- package/dist/actions/get-condition-codes.mjs.map +1 -1
- package/dist/actions/get-crypto-aggregates.cjs +2 -2
- package/dist/actions/get-crypto-aggregates.cjs.map +1 -1
- package/dist/actions/get-crypto-aggregates.d.cts +5 -5
- package/dist/actions/get-crypto-aggregates.d.mts +5 -5
- package/dist/actions/get-crypto-aggregates.mjs +2 -2
- package/dist/actions/get-crypto-aggregates.mjs.map +1 -1
- package/dist/actions/get-crypto-all-tickers.cjs +4 -4
- package/dist/actions/get-crypto-all-tickers.cjs.map +1 -1
- package/dist/actions/get-crypto-all-tickers.d.cts +6 -6
- package/dist/actions/get-crypto-all-tickers.d.mts +6 -6
- package/dist/actions/get-crypto-all-tickers.mjs +4 -4
- package/dist/actions/get-crypto-all-tickers.mjs.map +1 -1
- package/dist/actions/get-crypto-ema.cjs +5 -5
- package/dist/actions/get-crypto-ema.cjs.map +1 -1
- package/dist/actions/get-crypto-ema.d.cts +7 -7
- package/dist/actions/get-crypto-ema.d.mts +7 -7
- package/dist/actions/get-crypto-ema.mjs +5 -5
- package/dist/actions/get-crypto-ema.mjs.map +1 -1
- package/dist/actions/get-crypto-grouped-daily.cjs +2 -2
- package/dist/actions/get-crypto-grouped-daily.cjs.map +1 -1
- package/dist/actions/get-crypto-grouped-daily.d.cts +2 -2
- package/dist/actions/get-crypto-grouped-daily.d.mts +2 -2
- package/dist/actions/get-crypto-grouped-daily.mjs +2 -2
- package/dist/actions/get-crypto-grouped-daily.mjs.map +1 -1
- package/dist/actions/get-crypto-last-trade.cjs +2 -2
- package/dist/actions/get-crypto-last-trade.cjs.map +1 -1
- package/dist/actions/get-crypto-last-trade.d.cts +2 -2
- package/dist/actions/get-crypto-last-trade.d.mts +2 -2
- package/dist/actions/get-crypto-last-trade.mjs +2 -2
- package/dist/actions/get-crypto-last-trade.mjs.map +1 -1
- package/dist/actions/get-crypto-macd.cjs +4 -4
- package/dist/actions/get-crypto-macd.cjs.map +1 -1
- package/dist/actions/get-crypto-macd.d.cts +4 -4
- package/dist/actions/get-crypto-macd.d.mts +4 -4
- package/dist/actions/get-crypto-macd.mjs +4 -4
- package/dist/actions/get-crypto-macd.mjs.map +1 -1
- package/dist/actions/get-crypto-open-close.cjs +1 -1
- package/dist/actions/get-crypto-open-close.cjs.map +1 -1
- package/dist/actions/get-crypto-open-close.d.cts +1 -1
- package/dist/actions/get-crypto-open-close.d.mts +1 -1
- package/dist/actions/get-crypto-open-close.mjs +1 -1
- package/dist/actions/get-crypto-open-close.mjs.map +1 -1
- package/dist/actions/get-crypto-prev-close.cjs +2 -2
- package/dist/actions/get-crypto-prev-close.cjs.map +1 -1
- package/dist/actions/get-crypto-prev-close.d.cts +2 -2
- package/dist/actions/get-crypto-prev-close.d.mts +2 -2
- package/dist/actions/get-crypto-prev-close.mjs +2 -2
- package/dist/actions/get-crypto-prev-close.mjs.map +1 -1
- package/dist/actions/get-crypto-rsi.cjs +4 -4
- package/dist/actions/get-crypto-rsi.cjs.map +1 -1
- package/dist/actions/get-crypto-rsi.d.cts +6 -6
- package/dist/actions/get-crypto-rsi.d.mts +6 -6
- package/dist/actions/get-crypto-rsi.mjs +4 -4
- package/dist/actions/get-crypto-rsi.mjs.map +1 -1
- package/dist/actions/get-crypto-sma.cjs +4 -4
- package/dist/actions/get-crypto-sma.cjs.map +1 -1
- package/dist/actions/get-crypto-sma.d.cts +6 -6
- package/dist/actions/get-crypto-sma.d.mts +6 -6
- package/dist/actions/get-crypto-sma.mjs +4 -4
- package/dist/actions/get-crypto-sma.mjs.map +1 -1
- package/dist/actions/get-crypto-ticker-book.cjs +4 -4
- package/dist/actions/get-crypto-ticker-book.cjs.map +1 -1
- package/dist/actions/get-crypto-ticker-book.d.cts +6 -6
- package/dist/actions/get-crypto-ticker-book.d.mts +6 -6
- package/dist/actions/get-crypto-ticker-book.mjs +4 -4
- package/dist/actions/get-crypto-ticker-book.mjs.map +1 -1
- package/dist/actions/get-crypto-trades.cjs +2 -2
- package/dist/actions/get-crypto-trades.cjs.map +1 -1
- package/dist/actions/get-crypto-trades.d.cts +2 -2
- package/dist/actions/get-crypto-trades.d.mts +2 -2
- package/dist/actions/get-crypto-trades.mjs +2 -2
- package/dist/actions/get-crypto-trades.mjs.map +1 -1
- package/dist/actions/get-dividends.cjs +2 -2
- package/dist/actions/get-dividends.cjs.map +1 -1
- package/dist/actions/get-dividends.d.cts +2 -2
- package/dist/actions/get-dividends.d.mts +2 -2
- package/dist/actions/get-dividends.mjs +2 -2
- package/dist/actions/get-dividends.mjs.map +1 -1
- package/dist/actions/get-economy-inflation.cjs +2 -2
- package/dist/actions/get-economy-inflation.cjs.map +1 -1
- package/dist/actions/get-economy-inflation.d.cts +2 -2
- package/dist/actions/get-economy-inflation.d.mts +2 -2
- package/dist/actions/get-economy-inflation.mjs +2 -2
- package/dist/actions/get-economy-inflation.mjs.map +1 -1
- package/dist/actions/get-ema.cjs +5 -5
- package/dist/actions/get-ema.cjs.map +1 -1
- package/dist/actions/get-ema.d.cts +5 -5
- package/dist/actions/get-ema.d.mts +5 -5
- package/dist/actions/get-ema.mjs +5 -5
- package/dist/actions/get-ema.mjs.map +1 -1
- package/dist/actions/get-filing-file.cjs +1 -1
- package/dist/actions/get-filing-file.cjs.map +1 -1
- package/dist/actions/get-filing-file.d.cts +1 -1
- package/dist/actions/get-filing-file.d.mts +1 -1
- package/dist/actions/get-filing-file.mjs +1 -1
- package/dist/actions/get-filing-file.mjs.map +1 -1
- package/dist/actions/get-filing.cjs +3 -3
- package/dist/actions/get-filing.cjs.map +1 -1
- package/dist/actions/get-filing.d.cts +3 -3
- package/dist/actions/get-filing.d.mts +3 -3
- package/dist/actions/get-filing.mjs +3 -3
- package/dist/actions/get-filing.mjs.map +1 -1
- package/dist/actions/get-forex-aggregates.cjs +2 -2
- package/dist/actions/get-forex-aggregates.cjs.map +1 -1
- package/dist/actions/get-forex-aggregates.d.cts +5 -5
- package/dist/actions/get-forex-aggregates.d.mts +5 -5
- package/dist/actions/get-forex-aggregates.mjs +2 -2
- package/dist/actions/get-forex-aggregates.mjs.map +1 -1
- package/dist/actions/get-forex-ema.cjs +5 -5
- package/dist/actions/get-forex-ema.cjs.map +1 -1
- package/dist/actions/get-forex-ema.d.cts +7 -7
- package/dist/actions/get-forex-ema.d.mts +7 -7
- package/dist/actions/get-forex-ema.mjs +5 -5
- package/dist/actions/get-forex-ema.mjs.map +1 -1
- package/dist/actions/get-forex-grouped-daily.cjs +2 -2
- package/dist/actions/get-forex-grouped-daily.cjs.map +1 -1
- package/dist/actions/get-forex-grouped-daily.d.cts +2 -2
- package/dist/actions/get-forex-grouped-daily.d.mts +2 -2
- package/dist/actions/get-forex-grouped-daily.mjs +2 -2
- package/dist/actions/get-forex-grouped-daily.mjs.map +1 -1
- package/dist/actions/get-forex-historical-quotes.cjs +2 -2
- package/dist/actions/get-forex-historical-quotes.cjs.map +1 -1
- package/dist/actions/get-forex-historical-quotes.d.cts +2 -2
- package/dist/actions/get-forex-historical-quotes.d.mts +2 -2
- package/dist/actions/get-forex-historical-quotes.mjs +2 -2
- package/dist/actions/get-forex-historical-quotes.mjs.map +1 -1
- package/dist/actions/get-forex-locales.cjs +2 -2
- package/dist/actions/get-forex-locales.cjs.map +1 -1
- package/dist/actions/get-forex-locales.d.cts +2 -2
- package/dist/actions/get-forex-locales.d.mts +2 -2
- package/dist/actions/get-forex-locales.mjs +2 -2
- package/dist/actions/get-forex-locales.mjs.map +1 -1
- package/dist/actions/get-forex-macd.cjs +4 -4
- package/dist/actions/get-forex-macd.cjs.map +1 -1
- package/dist/actions/get-forex-macd.d.cts +4 -4
- package/dist/actions/get-forex-macd.d.mts +4 -4
- package/dist/actions/get-forex-macd.mjs +4 -4
- package/dist/actions/get-forex-macd.mjs.map +1 -1
- package/dist/actions/get-forex-prev-close.cjs +2 -2
- package/dist/actions/get-forex-prev-close.cjs.map +1 -1
- package/dist/actions/get-forex-prev-close.d.cts +2 -2
- package/dist/actions/get-forex-prev-close.d.mts +2 -2
- package/dist/actions/get-forex-prev-close.mjs +2 -2
- package/dist/actions/get-forex-prev-close.mjs.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.cjs +2 -2
- package/dist/actions/get-forex-real-time-currency-conversion.cjs.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.d.cts +2 -2
- package/dist/actions/get-forex-real-time-currency-conversion.d.mts +2 -2
- package/dist/actions/get-forex-real-time-currency-conversion.mjs +2 -2
- package/dist/actions/get-forex-real-time-currency-conversion.mjs.map +1 -1
- package/dist/actions/get-forex-rsi.cjs +4 -4
- package/dist/actions/get-forex-rsi.cjs.map +1 -1
- package/dist/actions/get-forex-rsi.d.cts +6 -6
- package/dist/actions/get-forex-rsi.d.mts +6 -6
- package/dist/actions/get-forex-rsi.mjs +4 -4
- package/dist/actions/get-forex-rsi.mjs.map +1 -1
- package/dist/actions/get-forex-sma.cjs +5 -5
- package/dist/actions/get-forex-sma.cjs.map +1 -1
- package/dist/actions/get-forex-sma.d.cts +7 -7
- package/dist/actions/get-forex-sma.d.mts +7 -7
- package/dist/actions/get-forex-sma.mjs +5 -5
- package/dist/actions/get-forex-sma.mjs.map +1 -1
- package/dist/actions/get-forex-snapshot-losers.cjs +4 -4
- package/dist/actions/get-forex-snapshot-losers.cjs.map +1 -1
- package/dist/actions/get-forex-snapshot-losers.d.cts +6 -6
- package/dist/actions/get-forex-snapshot-losers.d.mts +6 -6
- package/dist/actions/get-forex-snapshot-losers.mjs +4 -4
- package/dist/actions/get-forex-snapshot-losers.mjs.map +1 -1
- package/dist/actions/get-futures-aggregates.cjs +2 -2
- package/dist/actions/get-futures-aggregates.cjs.map +1 -1
- package/dist/actions/get-futures-aggregates.d.cts +2 -2
- package/dist/actions/get-futures-aggregates.d.mts +2 -2
- package/dist/actions/get-futures-aggregates.mjs +2 -2
- package/dist/actions/get-futures-aggregates.mjs.map +1 -1
- package/dist/actions/get-futures-product-schedules.cjs +3 -3
- package/dist/actions/get-futures-product-schedules.cjs.map +1 -1
- package/dist/actions/get-futures-product-schedules.d.cts +3 -3
- package/dist/actions/get-futures-product-schedules.d.mts +3 -3
- package/dist/actions/get-futures-product-schedules.mjs +3 -3
- package/dist/actions/get-futures-product-schedules.mjs.map +1 -1
- package/dist/actions/get-futures-products.cjs +2 -2
- package/dist/actions/get-futures-products.cjs.map +1 -1
- package/dist/actions/get-futures-products.d.cts +2 -2
- package/dist/actions/get-futures-products.d.mts +2 -2
- package/dist/actions/get-futures-products.mjs +2 -2
- package/dist/actions/get-futures-products.mjs.map +1 -1
- package/dist/actions/get-futures-quotes.cjs +2 -2
- package/dist/actions/get-futures-quotes.cjs.map +1 -1
- package/dist/actions/get-futures-quotes.d.cts +2 -2
- package/dist/actions/get-futures-quotes.d.mts +2 -2
- package/dist/actions/get-futures-quotes.mjs +2 -2
- package/dist/actions/get-futures-quotes.mjs.map +1 -1
- package/dist/actions/get-futures-schedules.cjs +3 -3
- package/dist/actions/get-futures-schedules.cjs.map +1 -1
- package/dist/actions/get-futures-schedules.d.cts +3 -3
- package/dist/actions/get-futures-schedules.d.mts +3 -3
- package/dist/actions/get-futures-schedules.mjs +3 -3
- package/dist/actions/get-futures-schedules.mjs.map +1 -1
- package/dist/actions/get-futures-trades.cjs +2 -2
- package/dist/actions/get-futures-trades.cjs.map +1 -1
- package/dist/actions/get-futures-trades.d.cts +2 -2
- package/dist/actions/get-futures-trades.d.mts +2 -2
- package/dist/actions/get-futures-trades.mjs +2 -2
- package/dist/actions/get-futures-trades.mjs.map +1 -1
- package/dist/actions/get-historic-forex-ticks.cjs +2 -2
- package/dist/actions/get-historic-forex-ticks.cjs.map +1 -1
- package/dist/actions/get-historic-forex-ticks.d.cts +2 -2
- package/dist/actions/get-historic-forex-ticks.d.mts +2 -2
- package/dist/actions/get-historic-forex-ticks.mjs +2 -2
- package/dist/actions/get-historic-forex-ticks.mjs.map +1 -1
- package/dist/actions/get-inflation-expectations.cjs +2 -2
- package/dist/actions/get-inflation-expectations.cjs.map +1 -1
- package/dist/actions/get-inflation-expectations.d.cts +2 -2
- package/dist/actions/get-inflation-expectations.d.mts +2 -2
- package/dist/actions/get-inflation-expectations.mjs +2 -2
- package/dist/actions/get-inflation-expectations.mjs.map +1 -1
- package/dist/actions/get-ipo-data.cjs +2 -2
- package/dist/actions/get-ipo-data.cjs.map +1 -1
- package/dist/actions/get-ipo-data.d.cts +2 -2
- package/dist/actions/get-ipo-data.d.mts +2 -2
- package/dist/actions/get-ipo-data.mjs +2 -2
- package/dist/actions/get-ipo-data.mjs.map +1 -1
- package/dist/actions/get-macd.cjs +4 -4
- package/dist/actions/get-macd.cjs.map +1 -1
- package/dist/actions/get-macd.d.cts +4 -4
- package/dist/actions/get-macd.d.mts +4 -4
- package/dist/actions/get-macd.mjs +4 -4
- package/dist/actions/get-macd.mjs.map +1 -1
- package/dist/actions/get-market-status.cjs +4 -4
- package/dist/actions/get-market-status.cjs.map +1 -1
- package/dist/actions/get-market-status.d.cts +4 -4
- package/dist/actions/get-market-status.d.mts +4 -4
- package/dist/actions/get-market-status.mjs +4 -4
- package/dist/actions/get-market-status.mjs.map +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.cjs +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.cjs.map +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.d.cts +2 -2
- package/dist/actions/get-meta-conditions-by-ticktype.d.mts +2 -2
- package/dist/actions/get-meta-conditions-by-ticktype.mjs +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.mjs.map +1 -1
- package/dist/actions/get-news.cjs +3 -3
- package/dist/actions/get-news.cjs.map +1 -1
- package/dist/actions/get-news.d.cts +3 -3
- package/dist/actions/get-news.d.mts +3 -3
- package/dist/actions/get-news.mjs +3 -3
- package/dist/actions/get-news.mjs.map +1 -1
- package/dist/actions/get-open-close.cjs +1 -1
- package/dist/actions/get-open-close.cjs.map +1 -1
- package/dist/actions/get-open-close.d.cts +1 -1
- package/dist/actions/get-open-close.d.mts +1 -1
- package/dist/actions/get-open-close.mjs +1 -1
- package/dist/actions/get-open-close.mjs.map +1 -1
- package/dist/actions/get-option-chain-snapshot.cjs +7 -7
- package/dist/actions/get-option-chain-snapshot.cjs.map +1 -1
- package/dist/actions/get-option-chain-snapshot.d.cts +7 -7
- package/dist/actions/get-option-chain-snapshot.d.mts +7 -7
- package/dist/actions/get-option-chain-snapshot.mjs +7 -7
- package/dist/actions/get-option-chain-snapshot.mjs.map +1 -1
- package/dist/actions/get-option-snapshot.cjs +8 -8
- package/dist/actions/get-option-snapshot.cjs.map +1 -1
- package/dist/actions/get-option-snapshot.d.cts +8 -8
- package/dist/actions/get-option-snapshot.d.mts +8 -8
- package/dist/actions/get-option-snapshot.mjs +8 -8
- package/dist/actions/get-option-snapshot.mjs.map +1 -1
- package/dist/actions/get-options-contract-overview.cjs +3 -3
- package/dist/actions/get-options-contract-overview.cjs.map +1 -1
- package/dist/actions/get-options-contract-overview.d.cts +3 -3
- package/dist/actions/get-options-contract-overview.d.mts +3 -3
- package/dist/actions/get-options-contract-overview.mjs +3 -3
- package/dist/actions/get-options-contract-overview.mjs.map +1 -1
- package/dist/actions/get-options-custom-bars.cjs +2 -2
- package/dist/actions/get-options-custom-bars.cjs.map +1 -1
- package/dist/actions/get-options-custom-bars.d.cts +5 -5
- package/dist/actions/get-options-custom-bars.d.mts +5 -5
- package/dist/actions/get-options-custom-bars.mjs +2 -2
- package/dist/actions/get-options-custom-bars.mjs.map +1 -1
- package/dist/actions/get-options-ema.cjs +5 -5
- package/dist/actions/get-options-ema.cjs.map +1 -1
- package/dist/actions/get-options-ema.d.cts +5 -5
- package/dist/actions/get-options-ema.d.mts +5 -5
- package/dist/actions/get-options-ema.mjs +5 -5
- package/dist/actions/get-options-ema.mjs.map +1 -1
- package/dist/actions/get-options-macd.cjs +4 -4
- package/dist/actions/get-options-macd.cjs.map +1 -1
- package/dist/actions/get-options-macd.d.cts +4 -4
- package/dist/actions/get-options-macd.d.mts +4 -4
- package/dist/actions/get-options-macd.mjs +4 -4
- package/dist/actions/get-options-macd.mjs.map +1 -1
- package/dist/actions/get-options-rsi.cjs +4 -4
- package/dist/actions/get-options-rsi.cjs.map +1 -1
- package/dist/actions/get-options-rsi.d.cts +6 -6
- package/dist/actions/get-options-rsi.d.mts +6 -6
- package/dist/actions/get-options-rsi.mjs +4 -4
- package/dist/actions/get-options-rsi.mjs.map +1 -1
- package/dist/actions/get-options-sma.cjs +5 -5
- package/dist/actions/get-options-sma.cjs.map +1 -1
- package/dist/actions/get-options-sma.d.cts +7 -7
- package/dist/actions/get-options-sma.d.mts +7 -7
- package/dist/actions/get-options-sma.mjs +5 -5
- package/dist/actions/get-options-sma.mjs.map +1 -1
- package/dist/actions/get-previous-close.cjs +2 -2
- package/dist/actions/get-previous-close.cjs.map +1 -1
- package/dist/actions/get-previous-close.d.cts +2 -2
- package/dist/actions/get-previous-close.d.mts +2 -2
- package/dist/actions/get-previous-close.mjs +2 -2
- package/dist/actions/get-previous-close.mjs.map +1 -1
- package/dist/actions/get-reference-exchanges.cjs +2 -2
- package/dist/actions/get-reference-exchanges.cjs.map +1 -1
- package/dist/actions/get-reference-exchanges.d.cts +2 -2
- package/dist/actions/get-reference-exchanges.d.mts +2 -2
- package/dist/actions/get-reference-exchanges.mjs +2 -2
- package/dist/actions/get-reference-exchanges.mjs.map +1 -1
- package/dist/actions/get-reference-markets.cjs +2 -2
- package/dist/actions/get-reference-markets.cjs.map +1 -1
- package/dist/actions/get-reference-markets.d.cts +2 -2
- package/dist/actions/get-reference-markets.d.mts +2 -2
- package/dist/actions/get-reference-markets.mjs +2 -2
- package/dist/actions/get-reference-markets.mjs.map +1 -1
- package/dist/actions/get-reference-types.cjs +2 -2
- package/dist/actions/get-reference-types.cjs.map +1 -1
- package/dist/actions/get-reference-types.d.cts +2 -2
- package/dist/actions/get-reference-types.d.mts +2 -2
- package/dist/actions/get-reference-types.mjs +2 -2
- package/dist/actions/get-reference-types.mjs.map +1 -1
- package/dist/actions/get-related-companies.cjs +2 -2
- package/dist/actions/get-related-companies.cjs.map +1 -1
- package/dist/actions/get-related-companies.d.cts +2 -2
- package/dist/actions/get-related-companies.d.mts +2 -2
- package/dist/actions/get-related-companies.mjs +2 -2
- package/dist/actions/get-related-companies.mjs.map +1 -1
- package/dist/actions/get-risk-categories.cjs +2 -2
- package/dist/actions/get-risk-categories.cjs.map +1 -1
- package/dist/actions/get-risk-categories.d.cts +2 -2
- package/dist/actions/get-risk-categories.d.mts +2 -2
- package/dist/actions/get-risk-categories.mjs +2 -2
- package/dist/actions/get-risk-categories.mjs.map +1 -1
- package/dist/actions/get-rsi.cjs +4 -4
- package/dist/actions/get-rsi.cjs.map +1 -1
- package/dist/actions/get-rsi.d.cts +4 -4
- package/dist/actions/get-rsi.d.mts +4 -4
- package/dist/actions/get-rsi.mjs +4 -4
- package/dist/actions/get-rsi.mjs.map +1 -1
- package/dist/actions/get-short-interest.cjs +2 -2
- package/dist/actions/get-short-interest.cjs.map +1 -1
- package/dist/actions/get-short-interest.d.cts +2 -2
- package/dist/actions/get-short-interest.d.mts +2 -2
- package/dist/actions/get-short-interest.mjs +2 -2
- package/dist/actions/get-short-interest.mjs.map +1 -1
- package/dist/actions/get-short-volume.cjs +2 -2
- package/dist/actions/get-short-volume.cjs.map +1 -1
- package/dist/actions/get-short-volume.d.cts +2 -2
- package/dist/actions/get-short-volume.d.mts +2 -2
- package/dist/actions/get-short-volume.mjs +2 -2
- package/dist/actions/get-short-volume.mjs.map +1 -1
- package/dist/actions/get-sma.cjs +4 -4
- package/dist/actions/get-sma.cjs.map +1 -1
- package/dist/actions/get-sma.d.cts +4 -4
- package/dist/actions/get-sma.d.mts +4 -4
- package/dist/actions/get-sma.mjs +4 -4
- package/dist/actions/get-sma.mjs.map +1 -1
- package/dist/actions/get-snapshot-all-tickers.cjs +6 -6
- package/dist/actions/get-snapshot-all-tickers.cjs.map +1 -1
- package/dist/actions/get-snapshot-all-tickers.d.cts +7 -7
- package/dist/actions/get-snapshot-all-tickers.d.mts +7 -7
- package/dist/actions/get-snapshot-all-tickers.mjs +6 -6
- package/dist/actions/get-snapshot-all-tickers.mjs.map +1 -1
- package/dist/actions/get-snapshot-losers.cjs +4 -4
- package/dist/actions/get-snapshot-losers.cjs.map +1 -1
- package/dist/actions/get-snapshot-losers.d.cts +6 -6
- package/dist/actions/get-snapshot-losers.d.mts +6 -6
- package/dist/actions/get-snapshot-losers.mjs +4 -4
- package/dist/actions/get-snapshot-losers.mjs.map +1 -1
- package/dist/actions/get-snapshot-single-ticker.cjs +7 -7
- package/dist/actions/get-snapshot-single-ticker.cjs.map +1 -1
- package/dist/actions/get-snapshot-single-ticker.d.cts +7 -7
- package/dist/actions/get-snapshot-single-ticker.d.mts +7 -7
- package/dist/actions/get-snapshot-single-ticker.mjs +7 -7
- package/dist/actions/get-snapshot-single-ticker.mjs.map +1 -1
- package/dist/actions/get-splits.cjs +2 -2
- package/dist/actions/get-splits.cjs.map +1 -1
- package/dist/actions/get-splits.d.cts +2 -2
- package/dist/actions/get-splits.d.mts +2 -2
- package/dist/actions/get-splits.mjs +2 -2
- package/dist/actions/get-splits.mjs.map +1 -1
- package/dist/actions/get-stock-financials.cjs +2 -2
- package/dist/actions/get-stock-financials.cjs.map +1 -1
- package/dist/actions/get-stock-financials.d.cts +2 -2
- package/dist/actions/get-stock-financials.d.mts +2 -2
- package/dist/actions/get-stock-financials.mjs +2 -2
- package/dist/actions/get-stock-financials.mjs.map +1 -1
- package/dist/actions/get-stock-float.cjs +2 -2
- package/dist/actions/get-stock-float.cjs.map +1 -1
- package/dist/actions/get-stock-float.d.cts +2 -2
- package/dist/actions/get-stock-float.d.mts +2 -2
- package/dist/actions/get-stock-float.mjs +2 -2
- package/dist/actions/get-stock-float.mjs.map +1 -1
- package/dist/actions/get-stock-splits-by-ticker.cjs +2 -2
- package/dist/actions/get-stock-splits-by-ticker.cjs.map +1 -1
- package/dist/actions/get-stock-splits-by-ticker.d.cts +2 -2
- package/dist/actions/get-stock-splits-by-ticker.d.mts +2 -2
- package/dist/actions/get-stock-splits-by-ticker.mjs +2 -2
- package/dist/actions/get-stock-splits-by-ticker.mjs.map +1 -1
- package/dist/actions/get-stocks-balance-sheets.cjs +7 -7
- package/dist/actions/get-stocks-balance-sheets.cjs.map +1 -1
- package/dist/actions/get-stocks-balance-sheets.d.cts +26 -26
- package/dist/actions/get-stocks-balance-sheets.d.mts +26 -26
- package/dist/actions/get-stocks-balance-sheets.mjs +7 -7
- package/dist/actions/get-stocks-balance-sheets.mjs.map +1 -1
- package/dist/actions/get-stocks-cash-flow-statements.cjs +5 -5
- package/dist/actions/get-stocks-cash-flow-statements.cjs.map +1 -1
- package/dist/actions/get-stocks-cash-flow-statements.d.cts +15 -15
- package/dist/actions/get-stocks-cash-flow-statements.d.mts +15 -15
- package/dist/actions/get-stocks-cash-flow-statements.mjs +5 -5
- package/dist/actions/get-stocks-cash-flow-statements.mjs.map +1 -1
- package/dist/actions/get-stocks-custom-bars.cjs +2 -2
- package/dist/actions/get-stocks-custom-bars.cjs.map +1 -1
- package/dist/actions/get-stocks-custom-bars.d.cts +4 -4
- package/dist/actions/get-stocks-custom-bars.d.mts +4 -4
- package/dist/actions/get-stocks-custom-bars.mjs +2 -2
- package/dist/actions/get-stocks-custom-bars.mjs.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.cjs +2 -2
- package/dist/actions/get-stocks-daily-market-summary.cjs.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.d.cts +2 -2
- package/dist/actions/get-stocks-daily-market-summary.d.mts +2 -2
- package/dist/actions/get-stocks-daily-market-summary.mjs +2 -2
- package/dist/actions/get-stocks-daily-market-summary.mjs.map +1 -1
- package/dist/actions/get-technical-indicator-sma.cjs +2 -2
- package/dist/actions/get-technical-indicator-sma.cjs.map +1 -1
- package/dist/actions/get-technical-indicator-sma.d.cts +2 -2
- package/dist/actions/get-technical-indicator-sma.d.mts +2 -2
- package/dist/actions/get-technical-indicator-sma.mjs +2 -2
- package/dist/actions/get-technical-indicator-sma.mjs.map +1 -1
- package/dist/actions/get-ticker-company-details.cjs +1 -1
- package/dist/actions/get-ticker-company-details.cjs.map +1 -1
- package/dist/actions/get-ticker-company-details.d.cts +1 -1
- package/dist/actions/get-ticker-company-details.d.mts +1 -1
- package/dist/actions/get-ticker-company-details.mjs +1 -1
- package/dist/actions/get-ticker-company-details.mjs.map +1 -1
- package/dist/actions/get-ticker-details-vx.cjs +4 -4
- package/dist/actions/get-ticker-details-vx.cjs.map +1 -1
- package/dist/actions/get-ticker-details-vx.d.cts +4 -4
- package/dist/actions/get-ticker-details-vx.d.mts +4 -4
- package/dist/actions/get-ticker-details-vx.mjs +4 -4
- package/dist/actions/get-ticker-details-vx.mjs.map +1 -1
- package/dist/actions/get-ticker-details.cjs +4 -4
- package/dist/actions/get-ticker-details.cjs.map +1 -1
- package/dist/actions/get-ticker-details.d.cts +4 -4
- package/dist/actions/get-ticker-details.d.mts +4 -4
- package/dist/actions/get-ticker-details.mjs +4 -4
- package/dist/actions/get-ticker-details.mjs.map +1 -1
- package/dist/actions/get-ticker-events.cjs +4 -4
- package/dist/actions/get-ticker-events.cjs.map +1 -1
- package/dist/actions/get-ticker-events.d.cts +4 -4
- package/dist/actions/get-ticker-events.d.mts +4 -4
- package/dist/actions/get-ticker-events.mjs +4 -4
- package/dist/actions/get-ticker-events.mjs.map +1 -1
- package/dist/actions/get-ticker-types.cjs +2 -2
- package/dist/actions/get-ticker-types.cjs.map +1 -1
- package/dist/actions/get-ticker-types.d.cts +2 -2
- package/dist/actions/get-ticker-types.d.mts +2 -2
- package/dist/actions/get-ticker-types.mjs +2 -2
- package/dist/actions/get-ticker-types.mjs.map +1 -1
- package/dist/actions/get-treasury-yields.cjs +2 -2
- package/dist/actions/get-treasury-yields.cjs.map +1 -1
- package/dist/actions/get-treasury-yields.d.cts +2 -2
- package/dist/actions/get-treasury-yields.d.mts +2 -2
- package/dist/actions/get-treasury-yields.mjs +2 -2
- package/dist/actions/get-treasury-yields.mjs.map +1 -1
- package/dist/actions/get-v1-meta-crypto-exchanges.cjs +2 -2
- package/dist/actions/get-v1-meta-crypto-exchanges.cjs.map +1 -1
- package/dist/actions/get-v1-meta-crypto-exchanges.d.cts +2 -2
- package/dist/actions/get-v1-meta-crypto-exchanges.d.mts +2 -2
- package/dist/actions/get-v1-meta-crypto-exchanges.mjs +2 -2
- package/dist/actions/get-v1-meta-crypto-exchanges.mjs.map +1 -1
- package/dist/actions/get10-k-sections.cjs +2 -2
- package/dist/actions/get10-k-sections.cjs.map +1 -1
- package/dist/actions/get10-k-sections.d.cts +2 -2
- package/dist/actions/get10-k-sections.d.mts +2 -2
- package/dist/actions/get10-k-sections.mjs +2 -2
- package/dist/actions/get10-k-sections.mjs.map +1 -1
- package/dist/actions/last-quote-for-a-symbol.cjs +2 -2
- package/dist/actions/last-quote-for-a-symbol.cjs.map +1 -1
- package/dist/actions/last-quote-for-a-symbol.d.cts +2 -2
- package/dist/actions/last-quote-for-a-symbol.d.mts +2 -2
- package/dist/actions/last-quote-for-a-symbol.mjs +2 -2
- package/dist/actions/last-quote-for-a-symbol.mjs.map +1 -1
- package/dist/actions/last-trade-for-a-currency-pair.cjs +2 -2
- package/dist/actions/last-trade-for-a-currency-pair.cjs.map +1 -1
- package/dist/actions/last-trade-for-a-currency-pair.d.cts +2 -2
- package/dist/actions/last-trade-for-a-currency-pair.d.mts +2 -2
- package/dist/actions/last-trade-for-a-currency-pair.mjs +2 -2
- package/dist/actions/last-trade-for-a-currency-pair.mjs.map +1 -1
- package/dist/actions/list-filing-files.cjs +2 -2
- package/dist/actions/list-filing-files.cjs.map +1 -1
- package/dist/actions/list-filing-files.d.cts +2 -2
- package/dist/actions/list-filing-files.d.mts +2 -2
- package/dist/actions/list-filing-files.mjs +2 -2
- package/dist/actions/list-filing-files.mjs.map +1 -1
- package/dist/actions/list-options-contracts.cjs +3 -3
- package/dist/actions/list-options-contracts.cjs.map +1 -1
- package/dist/actions/list-options-contracts.d.cts +3 -3
- package/dist/actions/list-options-contracts.d.mts +3 -3
- package/dist/actions/list-options-contracts.mjs +3 -3
- package/dist/actions/list-options-contracts.mjs.map +1 -1
- package/dist/actions/list-sec-filings.cjs +4 -4
- package/dist/actions/list-sec-filings.cjs.map +1 -1
- package/dist/actions/list-sec-filings.d.cts +4 -4
- package/dist/actions/list-sec-filings.d.mts +4 -4
- package/dist/actions/list-sec-filings.mjs +4 -4
- package/dist/actions/list-sec-filings.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -30,14 +30,14 @@ declare const PolygonGetMacdOutput: z.ZodObject<{
|
|
|
30
30
|
signal: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
histogram: z.ZodNullable<z.ZodNumber>;
|
|
32
32
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
34
|
underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
35
|
url: z.ZodNullable<z.ZodString>;
|
|
36
|
-
}, z.core.$
|
|
37
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>;
|
|
37
|
+
}, z.core.$loose>>>;
|
|
38
38
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>;
|
|
41
41
|
declare const polygonGetMacd: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
42
|
timespan: string;
|
|
43
43
|
long_window: number;
|
|
@@ -30,14 +30,14 @@ declare const PolygonGetMacdOutput: z.ZodObject<{
|
|
|
30
30
|
signal: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
histogram: z.ZodNullable<z.ZodNumber>;
|
|
32
32
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
34
|
underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
35
|
url: z.ZodNullable<z.ZodString>;
|
|
36
|
-
}, z.core.$
|
|
37
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>;
|
|
37
|
+
}, z.core.$loose>>>;
|
|
38
38
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>;
|
|
41
41
|
declare const polygonGetMacd: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
42
|
timespan: string;
|
|
43
43
|
long_window: number;
|
|
@@ -24,12 +24,12 @@ const PolygonGetMacd_MACDValueSchema = z.object({
|
|
|
24
24
|
signal: z.number().describe("The MACD signal line value at the timestamp.").nullable(),
|
|
25
25
|
histogram: z.number().describe("The MACD histogram value at the timestamp.").nullable(),
|
|
26
26
|
timestamp: z.number().int().describe("UNIX timestamp in milliseconds for the value.").nullable()
|
|
27
|
-
});
|
|
28
|
-
const PolygonGetMacd_UnderlyingSchema = z.object({ url: z.string().describe("URL to fetch the underlying aggregate bars used for MACD calculation.").nullable() });
|
|
27
|
+
}).passthrough();
|
|
28
|
+
const PolygonGetMacd_UnderlyingSchema = z.object({ url: z.string().describe("URL to fetch the underlying aggregate bars used for MACD calculation.").nullable() }).passthrough();
|
|
29
29
|
const PolygonGetMacd_MACDResultsSchema = z.object({
|
|
30
30
|
values: z.array(PolygonGetMacd_MACDValueSchema).describe("List of MACD values and related metrics.").nullable().optional(),
|
|
31
31
|
underlying: PolygonGetMacd_UnderlyingSchema.nullable().optional()
|
|
32
|
-
});
|
|
32
|
+
}).passthrough();
|
|
33
33
|
const polygonGetMacd = action("POLYGON_GET_MACD", {
|
|
34
34
|
slug: "polygon-get-macd",
|
|
35
35
|
name: "Get MACD",
|
|
@@ -40,7 +40,7 @@ const polygonGetMacd = action("POLYGON_GET_MACD", {
|
|
|
40
40
|
results: PolygonGetMacd_MACDResultsSchema.nullable().optional(),
|
|
41
41
|
next_url: z.string().describe("URL to fetch the next page of results, if available.").nullable().optional(),
|
|
42
42
|
request_id: z.string().describe("Server-assigned request ID.").nullable().optional()
|
|
43
|
-
})
|
|
43
|
+
}).passthrough()
|
|
44
44
|
});
|
|
45
45
|
//#endregion
|
|
46
46
|
export { polygonGetMacd };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-macd.mjs","names":[],"sources":["../../src/actions/get-macd.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetMacdInput = z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of results to return (1-5000). Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order of results by timestamp. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether to use split-adjusted aggregates. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window (e.g., 'day').\"),\n timestamp: z.string().describe(\"Filter by timestamp (YYYY-MM-DD or millisecond timestamp).\").optional(),\n long_window: z.number().int().describe(\"The number of periods for the long EMA window (e.g., 26).\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price field to use for calculations. Defaults to 'close'.\").optional(),\n short_window: z.number().int().describe(\"The number of periods for the short EMA window (e.g., 12).\"),\n stock_ticker: z.string().describe(\"The case-sensitive ticker symbol for which to get MACD data (e.g., 'AAPL').\"),\n signal_window: z.number().int().describe(\"The number of periods for the signal line EMA window (e.g., 9).\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the underlying aggregates data. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for a stock ticker.\");\nconst PolygonGetMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD line value at the timestamp.\").nullable(),\n signal: z.number().describe(\"The MACD signal line value at the timestamp.\").nullable(),\n histogram: z.number().describe(\"The MACD histogram value at the timestamp.\").nullable(),\n timestamp: z.number().int().describe(\"UNIX timestamp in milliseconds for the value.\").nullable(),\n});\nconst PolygonGetMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to fetch the underlying aggregate bars used for MACD calculation.\").nullable(),\n});\nconst PolygonGetMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonGetMacd_MACDValueSchema).describe(\"List of MACD values and related metrics.\").nullable().optional(),\n underlying: PolygonGetMacd_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonGetMacdOutput = z.object({\n status: z.string().describe(\"Status of the request (e.g., 'OK').\").nullable().optional(),\n results: PolygonGetMacd_MACDResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if available.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request ID.\").nullable().optional(),\n});\n\nexport const polygonGetMacd = action(\"POLYGON_GET_MACD\", {\n slug: \"polygon-get-macd\",\n name: \"Get MACD\",\n description: \"Tool to retrieve the Moving Average Convergence/Divergence (MACD) for a stock ticker. Use when you need momentum analysis or signal generation over a specified timeframe.\",\n input: PolygonGetMacdInput,\n output: PolygonGetMacdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvH,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC3H,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACrH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAClG,aAAa,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1J,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CAC/G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE;CAC1G,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACzG,MAAM,iCAAiC,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACjG,CAAC;
|
|
1
|
+
{"version":3,"file":"get-macd.mjs","names":[],"sources":["../../src/actions/get-macd.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetMacdInput = z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of results to return (1-5000). Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order of results by timestamp. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether to use split-adjusted aggregates. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window (e.g., 'day').\"),\n timestamp: z.string().describe(\"Filter by timestamp (YYYY-MM-DD or millisecond timestamp).\").optional(),\n long_window: z.number().int().describe(\"The number of periods for the long EMA window (e.g., 26).\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price field to use for calculations. Defaults to 'close'.\").optional(),\n short_window: z.number().int().describe(\"The number of periods for the short EMA window (e.g., 12).\"),\n stock_ticker: z.string().describe(\"The case-sensitive ticker symbol for which to get MACD data (e.g., 'AAPL').\"),\n signal_window: z.number().int().describe(\"The number of periods for the signal line EMA window (e.g., 9).\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the underlying aggregates data. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for a stock ticker.\");\nconst PolygonGetMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD line value at the timestamp.\").nullable(),\n signal: z.number().describe(\"The MACD signal line value at the timestamp.\").nullable(),\n histogram: z.number().describe(\"The MACD histogram value at the timestamp.\").nullable(),\n timestamp: z.number().int().describe(\"UNIX timestamp in milliseconds for the value.\").nullable(),\n}).passthrough();\nconst PolygonGetMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to fetch the underlying aggregate bars used for MACD calculation.\").nullable(),\n}).passthrough();\nconst PolygonGetMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonGetMacd_MACDValueSchema).describe(\"List of MACD values and related metrics.\").nullable().optional(),\n underlying: PolygonGetMacd_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonGetMacdOutput = z.object({\n status: z.string().describe(\"Status of the request (e.g., 'OK').\").nullable().optional(),\n results: PolygonGetMacd_MACDResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if available.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request ID.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetMacd = action(\"POLYGON_GET_MACD\", {\n slug: \"polygon-get-macd\",\n name: \"Get MACD\",\n description: \"Tool to retrieve the Moving Average Convergence/Divergence (MACD) for a stock ticker. Use when you need momentum analysis or signal generation over a specified timeframe.\",\n input: PolygonGetMacdInput,\n output: PolygonGetMacdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvH,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC3H,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACrH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;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a,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkC,EAAE,OAAO;EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -6,11 +6,11 @@ const PolygonGetMarketStatus_ExchangesStatusSchema = zod.z.object({
|
|
|
6
6
|
otc: zod.z.string().describe("Status of OTC market (e.g., 'open', 'closed').").nullable().optional(),
|
|
7
7
|
nyse: zod.z.string().describe("Status of NYSE exchange (e.g., 'open', 'closed').").nullable().optional(),
|
|
8
8
|
nasdaq: zod.z.string().describe("Status of NASDAQ exchange (e.g., 'open', 'closed').").nullable().optional()
|
|
9
|
-
}).describe("Status of stock exchanges.");
|
|
9
|
+
}).passthrough().describe("Status of stock exchanges.");
|
|
10
10
|
const PolygonGetMarketStatus_CurrenciesStatusSchema = zod.z.object({
|
|
11
11
|
fx: zod.z.string().describe("Status of forex market (e.g., 'open', 'closed').").nullable().optional(),
|
|
12
12
|
crypto: zod.z.string().describe("Status of crypto market (e.g., 'open', 'closed').").nullable().optional()
|
|
13
|
-
}).describe("Status of currency markets (crypto and forex).");
|
|
13
|
+
}).passthrough().describe("Status of currency markets (crypto and forex).");
|
|
14
14
|
const PolygonGetMarketStatusOutput = zod.z.object({
|
|
15
15
|
market: zod.z.string().describe("Overall market status (e.g., 'open', 'closed', 'extended-hours').").nullable(),
|
|
16
16
|
exchanges: PolygonGetMarketStatus_ExchangesStatusSchema.nullable().optional(),
|
|
@@ -18,8 +18,8 @@ const PolygonGetMarketStatusOutput = zod.z.object({
|
|
|
18
18
|
currencies: PolygonGetMarketStatus_CurrenciesStatusSchema.nullable().optional(),
|
|
19
19
|
earlyHours: zod.z.boolean().describe("Whether the market is in early/pre-market trading.").nullable(),
|
|
20
20
|
serverTime: zod.z.string().describe("Current server time in ISO 8601 format.").nullable(),
|
|
21
|
-
indicesGroups: zod.z.
|
|
22
|
-
}).describe("Response model for GET /v1/marketstatus/now.\nReturns the current status of US stock market exchanges.");
|
|
21
|
+
indicesGroups: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Status of various indices groups.").nullable().optional()
|
|
22
|
+
}).passthrough().describe("Response model for GET /v1/marketstatus/now.\nReturns the current status of US stock market exchanges.");
|
|
23
23
|
const polygonGetMarketStatus = require_action.action("POLYGON_GET_MARKET_STATUS", {
|
|
24
24
|
slug: "polygon-get-market-status",
|
|
25
25
|
name: "Get Market Status",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-status.cjs","names":["z","action"],"sources":["../../src/actions/get-market-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetMarketStatusInput = z.object({}).describe(\"Request model for getting current market status. No parameters required.\");\nconst PolygonGetMarketStatus_ExchangesStatusSchema = z.object({\n otc: z.string().describe(\"Status of OTC market (e.g., 'open', 'closed').\").nullable().optional(),\n nyse: z.string().describe(\"Status of NYSE exchange (e.g., 'open', 'closed').\").nullable().optional(),\n nasdaq: z.string().describe(\"Status of NASDAQ exchange (e.g., 'open', 'closed').\").nullable().optional(),\n}).describe(\"Status of stock exchanges.\");\nconst PolygonGetMarketStatus_CurrenciesStatusSchema = z.object({\n fx: z.string().describe(\"Status of forex market (e.g., 'open', 'closed').\").nullable().optional(),\n crypto: z.string().describe(\"Status of crypto market (e.g., 'open', 'closed').\").nullable().optional(),\n}).describe(\"Status of currency markets (crypto and forex).\");\nexport const PolygonGetMarketStatusOutput = z.object({\n market: z.string().describe(\"Overall market status (e.g., 'open', 'closed', 'extended-hours').\").nullable(),\n exchanges: PolygonGetMarketStatus_ExchangesStatusSchema.nullable().optional(),\n afterHours: z.boolean().describe(\"Whether the market is in after-hours trading.\").nullable(),\n currencies: PolygonGetMarketStatus_CurrenciesStatusSchema.nullable().optional(),\n earlyHours: z.boolean().describe(\"Whether the market is in early/pre-market trading.\").nullable(),\n serverTime: z.string().describe(\"Current server time in ISO 8601 format.\").nullable(),\n indicesGroups: z.
|
|
1
|
+
{"version":3,"file":"get-market-status.cjs","names":["z","action"],"sources":["../../src/actions/get-market-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetMarketStatusInput = z.object({}).describe(\"Request model for getting current market status. No parameters required.\");\nconst PolygonGetMarketStatus_ExchangesStatusSchema = z.object({\n otc: z.string().describe(\"Status of OTC market (e.g., 'open', 'closed').\").nullable().optional(),\n nyse: z.string().describe(\"Status of NYSE exchange (e.g., 'open', 'closed').\").nullable().optional(),\n nasdaq: z.string().describe(\"Status of NASDAQ exchange (e.g., 'open', 'closed').\").nullable().optional(),\n}).passthrough().describe(\"Status of stock exchanges.\");\nconst PolygonGetMarketStatus_CurrenciesStatusSchema = z.object({\n fx: z.string().describe(\"Status of forex market (e.g., 'open', 'closed').\").nullable().optional(),\n crypto: z.string().describe(\"Status of crypto market (e.g., 'open', 'closed').\").nullable().optional(),\n}).passthrough().describe(\"Status of currency markets (crypto and forex).\");\nexport const PolygonGetMarketStatusOutput = z.object({\n market: z.string().describe(\"Overall market status (e.g., 'open', 'closed', 'extended-hours').\").nullable(),\n exchanges: PolygonGetMarketStatus_ExchangesStatusSchema.nullable().optional(),\n afterHours: z.boolean().describe(\"Whether the market is in after-hours trading.\").nullable(),\n currencies: PolygonGetMarketStatus_CurrenciesStatusSchema.nullable().optional(),\n earlyHours: z.boolean().describe(\"Whether the market is in early/pre-market trading.\").nullable(),\n serverTime: z.string().describe(\"Current server time in ISO 8601 format.\").nullable(),\n indicesGroups: z.record(z.string(), z.unknown()).describe(\"Status of various indices groups.\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET /v1/marketstatus/now.\\nReturns the current status of US stock market exchanges.\");\n\nexport const polygonGetMarketStatus = action(\"POLYGON_GET_MARKET_STATUS\", {\n slug: \"polygon-get-market-status\",\n name: \"Get Market Status\",\n description: \"Tool to retrieve current market status. Use when you need to know if U.S. exchanges are open, closed, or on holiday.\",\n input: PolygonGetMarketStatusInput,\n output: PolygonGetMarketStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAC3I,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC1G,WAAW,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wGAAwG;AAElI,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,16 +8,16 @@ declare const PolygonGetMarketStatusOutput: z.ZodObject<{
|
|
|
8
8
|
otc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
nyse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
nasdaq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>;
|
|
12
12
|
afterHours: z.ZodNullable<z.ZodBoolean>;
|
|
13
13
|
currencies: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
fx: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
crypto: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
earlyHours: z.ZodNullable<z.ZodBoolean>;
|
|
18
18
|
serverTime: z.ZodNullable<z.ZodString>;
|
|
19
|
-
indicesGroups: z.ZodOptional<z.ZodNullable<z.
|
|
20
|
-
}, z.core.$
|
|
19
|
+
indicesGroups: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const polygonGetMarketStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { polygonGetMarketStatus };
|
|
@@ -8,16 +8,16 @@ declare const PolygonGetMarketStatusOutput: z.ZodObject<{
|
|
|
8
8
|
otc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
nyse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
nasdaq: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>;
|
|
12
12
|
afterHours: z.ZodNullable<z.ZodBoolean>;
|
|
13
13
|
currencies: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
fx: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
crypto: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
earlyHours: z.ZodNullable<z.ZodBoolean>;
|
|
18
18
|
serverTime: z.ZodNullable<z.ZodString>;
|
|
19
|
-
indicesGroups: z.ZodOptional<z.ZodNullable<z.
|
|
20
|
-
}, z.core.$
|
|
19
|
+
indicesGroups: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const polygonGetMarketStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { polygonGetMarketStatus };
|
|
@@ -6,11 +6,11 @@ const PolygonGetMarketStatus_ExchangesStatusSchema = z.object({
|
|
|
6
6
|
otc: z.string().describe("Status of OTC market (e.g., 'open', 'closed').").nullable().optional(),
|
|
7
7
|
nyse: z.string().describe("Status of NYSE exchange (e.g., 'open', 'closed').").nullable().optional(),
|
|
8
8
|
nasdaq: z.string().describe("Status of NASDAQ exchange (e.g., 'open', 'closed').").nullable().optional()
|
|
9
|
-
}).describe("Status of stock exchanges.");
|
|
9
|
+
}).passthrough().describe("Status of stock exchanges.");
|
|
10
10
|
const PolygonGetMarketStatus_CurrenciesStatusSchema = z.object({
|
|
11
11
|
fx: z.string().describe("Status of forex market (e.g., 'open', 'closed').").nullable().optional(),
|
|
12
12
|
crypto: z.string().describe("Status of crypto market (e.g., 'open', 'closed').").nullable().optional()
|
|
13
|
-
}).describe("Status of currency markets (crypto and forex).");
|
|
13
|
+
}).passthrough().describe("Status of currency markets (crypto and forex).");
|
|
14
14
|
const polygonGetMarketStatus = action("POLYGON_GET_MARKET_STATUS", {
|
|
15
15
|
slug: "polygon-get-market-status",
|
|
16
16
|
name: "Get Market Status",
|
|
@@ -23,8 +23,8 @@ const polygonGetMarketStatus = action("POLYGON_GET_MARKET_STATUS", {
|
|
|
23
23
|
currencies: PolygonGetMarketStatus_CurrenciesStatusSchema.nullable().optional(),
|
|
24
24
|
earlyHours: z.boolean().describe("Whether the market is in early/pre-market trading.").nullable(),
|
|
25
25
|
serverTime: z.string().describe("Current server time in ISO 8601 format.").nullable(),
|
|
26
|
-
indicesGroups: z.
|
|
27
|
-
}).describe("Response model for GET /v1/marketstatus/now.\nReturns the current status of US stock market exchanges.")
|
|
26
|
+
indicesGroups: z.record(z.string(), z.unknown()).describe("Status of various indices groups.").nullable().optional()
|
|
27
|
+
}).passthrough().describe("Response model for GET /v1/marketstatus/now.\nReturns the current status of US stock market exchanges.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { polygonGetMarketStatus };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-market-status.mjs","names":[],"sources":["../../src/actions/get-market-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetMarketStatusInput = z.object({}).describe(\"Request model for getting current market status. No parameters required.\");\nconst PolygonGetMarketStatus_ExchangesStatusSchema = z.object({\n otc: z.string().describe(\"Status of OTC market (e.g., 'open', 'closed').\").nullable().optional(),\n nyse: z.string().describe(\"Status of NYSE exchange (e.g., 'open', 'closed').\").nullable().optional(),\n nasdaq: z.string().describe(\"Status of NASDAQ exchange (e.g., 'open', 'closed').\").nullable().optional(),\n}).describe(\"Status of stock exchanges.\");\nconst PolygonGetMarketStatus_CurrenciesStatusSchema = z.object({\n fx: z.string().describe(\"Status of forex market (e.g., 'open', 'closed').\").nullable().optional(),\n crypto: z.string().describe(\"Status of crypto market (e.g., 'open', 'closed').\").nullable().optional(),\n}).describe(\"Status of currency markets (crypto and forex).\");\nexport const PolygonGetMarketStatusOutput = z.object({\n market: z.string().describe(\"Overall market status (e.g., 'open', 'closed', 'extended-hours').\").nullable(),\n exchanges: PolygonGetMarketStatus_ExchangesStatusSchema.nullable().optional(),\n afterHours: z.boolean().describe(\"Whether the market is in after-hours trading.\").nullable(),\n currencies: PolygonGetMarketStatus_CurrenciesStatusSchema.nullable().optional(),\n earlyHours: z.boolean().describe(\"Whether the market is in early/pre-market trading.\").nullable(),\n serverTime: z.string().describe(\"Current server time in ISO 8601 format.\").nullable(),\n indicesGroups: z.
|
|
1
|
+
{"version":3,"file":"get-market-status.mjs","names":[],"sources":["../../src/actions/get-market-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetMarketStatusInput = z.object({}).describe(\"Request model for getting current market status. No parameters required.\");\nconst PolygonGetMarketStatus_ExchangesStatusSchema = z.object({\n otc: z.string().describe(\"Status of OTC market (e.g., 'open', 'closed').\").nullable().optional(),\n nyse: z.string().describe(\"Status of NYSE exchange (e.g., 'open', 'closed').\").nullable().optional(),\n nasdaq: z.string().describe(\"Status of NASDAQ exchange (e.g., 'open', 'closed').\").nullable().optional(),\n}).passthrough().describe(\"Status of stock exchanges.\");\nconst PolygonGetMarketStatus_CurrenciesStatusSchema = z.object({\n fx: z.string().describe(\"Status of forex market (e.g., 'open', 'closed').\").nullable().optional(),\n crypto: z.string().describe(\"Status of crypto market (e.g., 'open', 'closed').\").nullable().optional(),\n}).passthrough().describe(\"Status of currency markets (crypto and forex).\");\nexport const PolygonGetMarketStatusOutput = z.object({\n market: z.string().describe(\"Overall market status (e.g., 'open', 'closed', 'extended-hours').\").nullable(),\n exchanges: PolygonGetMarketStatus_ExchangesStatusSchema.nullable().optional(),\n afterHours: z.boolean().describe(\"Whether the market is in after-hours trading.\").nullable(),\n currencies: PolygonGetMarketStatus_CurrenciesStatusSchema.nullable().optional(),\n earlyHours: z.boolean().describe(\"Whether the market is in early/pre-market trading.\").nullable(),\n serverTime: z.string().describe(\"Current server time in ISO 8601 format.\").nullable(),\n indicesGroups: z.record(z.string(), z.unknown()).describe(\"Status of various indices groups.\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET /v1/marketstatus/now.\\nReturns the current status of US stock market exchanges.\");\n\nexport const polygonGetMarketStatus = action(\"POLYGON_GET_MARKET_STATUS\", {\n slug: \"polygon-get-market-status\",\n name: \"Get Market Status\",\n description: \"Tool to retrieve current market status. Use when you need to know if U.S. exchanges are open, closed, or on holiday.\",\n input: PolygonGetMarketStatusInput,\n output: PolygonGetMarketStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAC3I,MAAM,+CAA+C,EAAE,OAAO;CAC5D,KAAK,EAAE,OAAO,CAA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@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-meta-conditions-by-ticktype.ts
|
|
4
4
|
const PolygonGetMetaConditionsByTicktypeInput = zod.z.object({ ticktype: zod.z.enum(["trades", "quotes"]).describe("The type of ticks to return mappings for. Must be either 'trades' or 'quotes'.") }).describe("Request parameters for retrieving condition mappings by tick type.");
|
|
5
|
-
const PolygonGetMetaConditionsByTicktypeOutput = zod.z.object({ conditions: zod.z.
|
|
5
|
+
const PolygonGetMetaConditionsByTicktypeOutput = zod.z.object({ conditions: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary mapping numeric condition codes to their string descriptions. Keys are numeric strings (e.g., '0', '9', '62'), values are PascalCase condition labels (e.g., 'Regular', 'Cross', 'FinancialStatusBankrupt').") }).passthrough().describe("Response model for condition mappings by tick type.\nThe response is a dictionary mapping numeric condition codes (as strings) to their human-readable descriptions.");
|
|
6
6
|
const polygonGetMetaConditionsByTicktype = require_action.action("POLYGON_GET_META_CONDITIONS_BY_TICKTYPE", {
|
|
7
7
|
slug: "polygon-get-meta-conditions-by-ticktype",
|
|
8
8
|
name: "Get Meta Conditions By Ticktype",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-meta-conditions-by-ticktype.cjs","names":["z","action"],"sources":["../../src/actions/get-meta-conditions-by-ticktype.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetMetaConditionsByTicktypeInput = z.object({\n ticktype: z.enum([\"trades\", \"quotes\"]).describe(\"The type of ticks to return mappings for. Must be either 'trades' or 'quotes'.\"),\n}).describe(\"Request parameters for retrieving condition mappings by tick type.\");\nexport const PolygonGetMetaConditionsByTicktypeOutput = z.object({\n conditions: z.
|
|
1
|
+
{"version":3,"file":"get-meta-conditions-by-ticktype.cjs","names":["z","action"],"sources":["../../src/actions/get-meta-conditions-by-ticktype.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetMetaConditionsByTicktypeInput = z.object({\n ticktype: z.enum([\"trades\", \"quotes\"]).describe(\"The type of ticks to return mappings for. Must be either 'trades' or 'quotes'.\"),\n}).describe(\"Request parameters for retrieving condition mappings by tick type.\");\nexport const PolygonGetMetaConditionsByTicktypeOutput = z.object({\n conditions: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping numeric condition codes to their string descriptions. Keys are numeric strings (e.g., '0', '9', '62'), values are PascalCase condition labels (e.g., 'Regular', 'Cross', 'FinancialStatusBankrupt').\"),\n}).passthrough().describe(\"Response model for condition mappings by tick type.\\nThe response is a dictionary mapping numeric condition codes (as strings) to their human-readable descriptions.\");\n\nexport const polygonGetMetaConditionsByTicktype = action(\"POLYGON_GET_META_CONDITIONS_BY_TICKTYPE\", {\n slug: \"polygon-get-meta-conditions-by-ticktype\",\n name: \"Get Meta Conditions By Ticktype\",\n description: \"Tool to retrieve condition code mappings for a specific tick type (trades or quotes). Use when you need to decode numeric condition codes into human-readable labels for market data interpretation.\",\n input: PolygonGetMetaConditionsByTicktypeInput,\n output: PolygonGetMetaConditionsByTicktypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,UAAUA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,EAClI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yNAAyN,EAClR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sKAAsK;AAEhM,MAAa,qCAAqCC,eAAAA,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ declare const PolygonGetMetaConditionsByTicktypeInput: z.ZodObject<{
|
|
|
8
8
|
}>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const PolygonGetMetaConditionsByTicktypeOutput: z.ZodObject<{
|
|
11
|
-
conditions: z.
|
|
12
|
-
}, z.core.$
|
|
11
|
+
conditions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const polygonGetMetaConditionsByTicktype: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
ticktype: "trades" | "quotes";
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,8 +8,8 @@ declare const PolygonGetMetaConditionsByTicktypeInput: z.ZodObject<{
|
|
|
8
8
|
}>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const PolygonGetMetaConditionsByTicktypeOutput: z.ZodObject<{
|
|
11
|
-
conditions: z.
|
|
12
|
-
}, z.core.$
|
|
11
|
+
conditions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const polygonGetMetaConditionsByTicktype: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
ticktype: "trades" | "quotes";
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const polygonGetMetaConditionsByTicktype = action("POLYGON_GET_META_CONDITIONS_B
|
|
|
5
5
|
name: "Get Meta Conditions By Ticktype",
|
|
6
6
|
description: "Tool to retrieve condition code mappings for a specific tick type (trades or quotes). Use when you need to decode numeric condition codes into human-readable labels for market data interpretation.",
|
|
7
7
|
input: z.object({ ticktype: z.enum(["trades", "quotes"]).describe("The type of ticks to return mappings for. Must be either 'trades' or 'quotes'.") }).describe("Request parameters for retrieving condition mappings by tick type."),
|
|
8
|
-
output: z.object({ conditions: z.
|
|
8
|
+
output: z.object({ conditions: z.record(z.string(), z.unknown()).describe("Dictionary mapping numeric condition codes to their string descriptions. Keys are numeric strings (e.g., '0', '9', '62'), values are PascalCase condition labels (e.g., 'Regular', 'Cross', 'FinancialStatusBankrupt').") }).passthrough().describe("Response model for condition mappings by tick type.\nThe response is a dictionary mapping numeric condition codes (as strings) to their human-readable descriptions.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { polygonGetMetaConditionsByTicktype };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-meta-conditions-by-ticktype.mjs","names":[],"sources":["../../src/actions/get-meta-conditions-by-ticktype.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetMetaConditionsByTicktypeInput = z.object({\n ticktype: z.enum([\"trades\", \"quotes\"]).describe(\"The type of ticks to return mappings for. Must be either 'trades' or 'quotes'.\"),\n}).describe(\"Request parameters for retrieving condition mappings by tick type.\");\nexport const PolygonGetMetaConditionsByTicktypeOutput = z.object({\n conditions: z.
|
|
1
|
+
{"version":3,"file":"get-meta-conditions-by-ticktype.mjs","names":[],"sources":["../../src/actions/get-meta-conditions-by-ticktype.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetMetaConditionsByTicktypeInput = z.object({\n ticktype: z.enum([\"trades\", \"quotes\"]).describe(\"The type of ticks to return mappings for. Must be either 'trades' or 'quotes'.\"),\n}).describe(\"Request parameters for retrieving condition mappings by tick type.\");\nexport const PolygonGetMetaConditionsByTicktypeOutput = z.object({\n conditions: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping numeric condition codes to their string descriptions. Keys are numeric strings (e.g., '0', '9', '62'), values are PascalCase condition labels (e.g., 'Regular', 'Cross', 'FinancialStatusBankrupt').\"),\n}).passthrough().describe(\"Response model for condition mappings by tick type.\\nThe response is a dictionary mapping numeric condition codes (as strings) to their human-readable descriptions.\");\n\nexport const polygonGetMetaConditionsByTicktype = action(\"POLYGON_GET_META_CONDITIONS_BY_TICKTYPE\", {\n slug: \"polygon-get-meta-conditions-by-ticktype\",\n name: \"Get Meta Conditions By Ticktype\",\n description: \"Tool to retrieve condition code mappings for a specific tick type (trades or quotes). Use when you need to decode numeric condition codes into human-readable labels for market data interpretation.\",\n input: PolygonGetMetaConditionsByTicktypeInput,\n output: PolygonGetMetaConditionsByTicktypeOutput,\n});\n"],"mappings":";;AAWA,MAAa,qCAAqC,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqD,EAAE,OAAO,EAC9D,UAAU,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,EAClI,CAAC,CAAC,CAAC,SAAS,oEASH;CACP,QATsD,EAAE,OAAO,EAC/D,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yNAAyN,EAClR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sKAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const PolygonGetNews_PublisherSchema = zod.z.object({
|
|
|
15
15
|
logo_url: zod.z.string().describe("Publisher logo URL").nullable().optional(),
|
|
16
16
|
favicon_url: zod.z.string().describe("Publisher favicon URL").nullable().optional(),
|
|
17
17
|
homepage_url: zod.z.string().describe("Publisher homepage URL").nullable().optional()
|
|
18
|
-
});
|
|
18
|
+
}).passthrough();
|
|
19
19
|
const PolygonGetNews_NewsItemSchema = zod.z.object({
|
|
20
20
|
id: zod.z.string().describe("Unique article ID").nullable(),
|
|
21
21
|
title: zod.z.string().describe("Article headline title").nullable(),
|
|
@@ -29,13 +29,13 @@ const PolygonGetNews_NewsItemSchema = zod.z.object({
|
|
|
29
29
|
article_url: zod.z.string().describe("URL to the full article").nullable(),
|
|
30
30
|
description: zod.z.string().describe("Short description or summary").nullable().optional(),
|
|
31
31
|
published_utc: zod.z.string().describe("Publication timestamp in ISO 8601 format").nullable()
|
|
32
|
-
});
|
|
32
|
+
}).passthrough();
|
|
33
33
|
const PolygonGetNewsOutput = zod.z.object({
|
|
34
34
|
count: zod.z.number().int().describe("Number of news items returned").nullable(),
|
|
35
35
|
status: zod.z.string().describe("API response status").nullable(),
|
|
36
36
|
results: zod.z.array(PolygonGetNews_NewsItemSchema).describe("List of news article objects"),
|
|
37
37
|
next_url: zod.z.string().describe("URL for the next page of results, if available").nullable().optional()
|
|
38
|
-
});
|
|
38
|
+
}).passthrough();
|
|
39
39
|
const polygonGetNews = require_action.action("POLYGON_GET_NEWS", {
|
|
40
40
|
slug: "polygon-get-news",
|
|
41
41
|
name: "Get News",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-news.cjs","names":["z","action"],"sources":["../../src/actions/get-news.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetNewsInput = z.object({\n sort: z.string().describe(\"Field to sort by (only 'published_utc' supported)\").optional(),\n limit: z.number().int().describe(\"Number of results to return (1–100)\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order of results\").optional(),\n cursor: z.string().describe(\"Pagination token for the next page of results\").optional(),\n ticker: z.string().describe(\"Ticker symbol to filter news (e.g., 'AAPL')\").optional(),\n \"published_utc.gte\": z.string().describe(\"Return articles published on or after this ISO 8601 timestamp\").optional(),\n \"published_utc.lte\": z.string().describe(\"Return articles published on or before this ISO 8601 timestamp\").optional(),\n});\nconst PolygonGetNews_PublisherSchema = z.object({\n name: z.string().describe(\"Publisher name\").nullable(),\n logo_url: z.string().describe(\"Publisher logo URL\").nullable().optional(),\n favicon_url: z.string().describe(\"Publisher favicon URL\").nullable().optional(),\n homepage_url: z.string().describe(\"Publisher homepage URL\").nullable().optional(),\n});\nconst PolygonGetNews_NewsItemSchema = z.object({\n id: z.string().describe(\"Unique article ID\").nullable(),\n title: z.string().describe(\"Article headline title\").nullable(),\n author: z.string().describe(\"Author of the article\").nullable().optional(),\n source: z.string().describe(\"Source of the content\").nullable().optional(),\n amp_url: z.string().describe(\"AMP-optimized URL, if available\").nullable().optional(),\n tickers: z.array(z.string()).describe(\"List of related ticker symbols\"),\n keywords: z.array(z.string()).describe(\"List of keywords associated with the article\").nullable().optional(),\n image_url: z.string().describe(\"Image URL, if available\").nullable().optional(),\n publisher: PolygonGetNews_PublisherSchema.nullable(),\n article_url: z.string().describe(\"URL to the full article\").nullable(),\n description: z.string().describe(\"Short description or summary\").nullable().optional(),\n published_utc: z.string().describe(\"Publication timestamp in ISO 8601 format\").nullable(),\n});\nexport const PolygonGetNewsOutput = z.object({\n count: z.number().int().describe(\"Number of news items returned\").nullable(),\n status: z.string().describe(\"API response status\").nullable(),\n results: z.array(PolygonGetNews_NewsItemSchema).describe(\"List of news article objects\"),\n next_url: z.string().describe(\"URL for the next page of results, if available\").nullable().optional(),\n});\n\nexport const polygonGetNews = action(\"POLYGON_GET_NEWS\", {\n slug: \"polygon-get-news\",\n name: \"Get News\",\n description: \"Tool to retrieve recent news articles related to a ticker. Use when you need to fetch financial news after identifying a ticker symbol.\",\n input: PolygonGetNewsInput,\n output: PolygonGetNewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACnH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACtH,CAAC;AACD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC;
|
|
1
|
+
{"version":3,"file":"get-news.cjs","names":["z","action"],"sources":["../../src/actions/get-news.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetNewsInput = z.object({\n sort: z.string().describe(\"Field to sort by (only 'published_utc' supported)\").optional(),\n limit: z.number().int().describe(\"Number of results to return (1–100)\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order of results\").optional(),\n cursor: z.string().describe(\"Pagination token for the next page of results\").optional(),\n ticker: z.string().describe(\"Ticker symbol to filter news (e.g., 'AAPL')\").optional(),\n \"published_utc.gte\": z.string().describe(\"Return articles published on or after this ISO 8601 timestamp\").optional(),\n \"published_utc.lte\": z.string().describe(\"Return articles published on or before this ISO 8601 timestamp\").optional(),\n});\nconst PolygonGetNews_PublisherSchema = z.object({\n name: z.string().describe(\"Publisher name\").nullable(),\n logo_url: z.string().describe(\"Publisher logo URL\").nullable().optional(),\n favicon_url: z.string().describe(\"Publisher favicon URL\").nullable().optional(),\n homepage_url: z.string().describe(\"Publisher homepage URL\").nullable().optional(),\n}).passthrough();\nconst PolygonGetNews_NewsItemSchema = z.object({\n id: z.string().describe(\"Unique article ID\").nullable(),\n title: z.string().describe(\"Article headline title\").nullable(),\n author: z.string().describe(\"Author of the article\").nullable().optional(),\n source: z.string().describe(\"Source of the content\").nullable().optional(),\n amp_url: z.string().describe(\"AMP-optimized URL, if available\").nullable().optional(),\n tickers: z.array(z.string()).describe(\"List of related ticker symbols\"),\n keywords: z.array(z.string()).describe(\"List of keywords associated with the article\").nullable().optional(),\n image_url: z.string().describe(\"Image URL, if available\").nullable().optional(),\n publisher: PolygonGetNews_PublisherSchema.nullable(),\n article_url: z.string().describe(\"URL to the full article\").nullable(),\n description: z.string().describe(\"Short description or summary\").nullable().optional(),\n published_utc: z.string().describe(\"Publication timestamp in ISO 8601 format\").nullable(),\n}).passthrough();\nexport const PolygonGetNewsOutput = z.object({\n count: z.number().int().describe(\"Number of news items returned\").nullable(),\n status: z.string().describe(\"API response status\").nullable(),\n results: z.array(PolygonGetNews_NewsItemSchema).describe(\"List of news article objects\"),\n next_url: z.string().describe(\"URL for the next page of results, if available\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetNews = action(\"POLYGON_GET_NEWS\", {\n slug: \"polygon-get-news\",\n name: \"Get News\",\n description: \"Tool to retrieve recent news articles related to a ticker. Use when you need to fetch financial news after identifying a ticker symbol.\",\n input: PolygonGetNewsInput,\n output: PolygonGetNewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,O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|
|
@@ -30,13 +30,13 @@ declare const PolygonGetNewsOutput: z.ZodObject<{
|
|
|
30
30
|
logo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
favicon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
homepage_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
article_url: z.ZodNullable<z.ZodString>;
|
|
35
35
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
published_utc: z.ZodNullable<z.ZodString>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
38
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>;
|
|
40
40
|
declare const polygonGetNews: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
41
|
sort?: string | undefined;
|
|
42
42
|
limit?: number | undefined;
|
|
@@ -30,13 +30,13 @@ declare const PolygonGetNewsOutput: z.ZodObject<{
|
|
|
30
30
|
logo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
favicon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
homepage_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
article_url: z.ZodNullable<z.ZodString>;
|
|
35
35
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
published_utc: z.ZodNullable<z.ZodString>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
38
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>;
|
|
40
40
|
declare const polygonGetNews: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
41
|
sort?: string | undefined;
|
|
42
42
|
limit?: number | undefined;
|
|
@@ -15,7 +15,7 @@ const PolygonGetNews_PublisherSchema = z.object({
|
|
|
15
15
|
logo_url: z.string().describe("Publisher logo URL").nullable().optional(),
|
|
16
16
|
favicon_url: z.string().describe("Publisher favicon URL").nullable().optional(),
|
|
17
17
|
homepage_url: z.string().describe("Publisher homepage URL").nullable().optional()
|
|
18
|
-
});
|
|
18
|
+
}).passthrough();
|
|
19
19
|
const PolygonGetNews_NewsItemSchema = z.object({
|
|
20
20
|
id: z.string().describe("Unique article ID").nullable(),
|
|
21
21
|
title: z.string().describe("Article headline title").nullable(),
|
|
@@ -29,7 +29,7 @@ const PolygonGetNews_NewsItemSchema = z.object({
|
|
|
29
29
|
article_url: z.string().describe("URL to the full article").nullable(),
|
|
30
30
|
description: z.string().describe("Short description or summary").nullable().optional(),
|
|
31
31
|
published_utc: z.string().describe("Publication timestamp in ISO 8601 format").nullable()
|
|
32
|
-
});
|
|
32
|
+
}).passthrough();
|
|
33
33
|
const polygonGetNews = action("POLYGON_GET_NEWS", {
|
|
34
34
|
slug: "polygon-get-news",
|
|
35
35
|
name: "Get News",
|
|
@@ -40,7 +40,7 @@ const polygonGetNews = action("POLYGON_GET_NEWS", {
|
|
|
40
40
|
status: z.string().describe("API response status").nullable(),
|
|
41
41
|
results: z.array(PolygonGetNews_NewsItemSchema).describe("List of news article objects"),
|
|
42
42
|
next_url: z.string().describe("URL for the next page of results, if available").nullable().optional()
|
|
43
|
-
})
|
|
43
|
+
}).passthrough()
|
|
44
44
|
});
|
|
45
45
|
//#endregion
|
|
46
46
|
export { polygonGetNews };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-news.mjs","names":[],"sources":["../../src/actions/get-news.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetNewsInput = z.object({\n sort: z.string().describe(\"Field to sort by (only 'published_utc' supported)\").optional(),\n limit: z.number().int().describe(\"Number of results to return (1–100)\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order of results\").optional(),\n cursor: z.string().describe(\"Pagination token for the next page of results\").optional(),\n ticker: z.string().describe(\"Ticker symbol to filter news (e.g., 'AAPL')\").optional(),\n \"published_utc.gte\": z.string().describe(\"Return articles published on or after this ISO 8601 timestamp\").optional(),\n \"published_utc.lte\": z.string().describe(\"Return articles published on or before this ISO 8601 timestamp\").optional(),\n});\nconst PolygonGetNews_PublisherSchema = z.object({\n name: z.string().describe(\"Publisher name\").nullable(),\n logo_url: z.string().describe(\"Publisher logo URL\").nullable().optional(),\n favicon_url: z.string().describe(\"Publisher favicon URL\").nullable().optional(),\n homepage_url: z.string().describe(\"Publisher homepage URL\").nullable().optional(),\n});\nconst PolygonGetNews_NewsItemSchema = z.object({\n id: z.string().describe(\"Unique article ID\").nullable(),\n title: z.string().describe(\"Article headline title\").nullable(),\n author: z.string().describe(\"Author of the article\").nullable().optional(),\n source: z.string().describe(\"Source of the content\").nullable().optional(),\n amp_url: z.string().describe(\"AMP-optimized URL, if available\").nullable().optional(),\n tickers: z.array(z.string()).describe(\"List of related ticker symbols\"),\n keywords: z.array(z.string()).describe(\"List of keywords associated with the article\").nullable().optional(),\n image_url: z.string().describe(\"Image URL, if available\").nullable().optional(),\n publisher: PolygonGetNews_PublisherSchema.nullable(),\n article_url: z.string().describe(\"URL to the full article\").nullable(),\n description: z.string().describe(\"Short description or summary\").nullable().optional(),\n published_utc: z.string().describe(\"Publication timestamp in ISO 8601 format\").nullable(),\n});\nexport const PolygonGetNewsOutput = z.object({\n count: z.number().int().describe(\"Number of news items returned\").nullable(),\n status: z.string().describe(\"API response status\").nullable(),\n results: z.array(PolygonGetNews_NewsItemSchema).describe(\"List of news article objects\"),\n next_url: z.string().describe(\"URL for the next page of results, if available\").nullable().optional(),\n});\n\nexport const polygonGetNews = action(\"POLYGON_GET_NEWS\", {\n slug: \"polygon-get-news\",\n name: \"Get News\",\n description: \"Tool to retrieve recent news articles related to a ticker. Use when you need to fetch financial news after identifying a ticker symbol.\",\n input: PolygonGetNewsInput,\n output: PolygonGetNewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACnH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACtH,CAAC;AACD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC;
|
|
1
|
+
{"version":3,"file":"get-news.mjs","names":[],"sources":["../../src/actions/get-news.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetNewsInput = z.object({\n sort: z.string().describe(\"Field to sort by (only 'published_utc' supported)\").optional(),\n limit: z.number().int().describe(\"Number of results to return (1–100)\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order of results\").optional(),\n cursor: z.string().describe(\"Pagination token for the next page of results\").optional(),\n ticker: z.string().describe(\"Ticker symbol to filter news (e.g., 'AAPL')\").optional(),\n \"published_utc.gte\": z.string().describe(\"Return articles published on or after this ISO 8601 timestamp\").optional(),\n \"published_utc.lte\": z.string().describe(\"Return articles published on or before this ISO 8601 timestamp\").optional(),\n});\nconst PolygonGetNews_PublisherSchema = z.object({\n name: z.string().describe(\"Publisher name\").nullable(),\n logo_url: z.string().describe(\"Publisher logo URL\").nullable().optional(),\n favicon_url: z.string().describe(\"Publisher favicon URL\").nullable().optional(),\n homepage_url: z.string().describe(\"Publisher homepage URL\").nullable().optional(),\n}).passthrough();\nconst PolygonGetNews_NewsItemSchema = z.object({\n id: z.string().describe(\"Unique article ID\").nullable(),\n title: z.string().describe(\"Article headline title\").nullable(),\n author: z.string().describe(\"Author of the article\").nullable().optional(),\n source: z.string().describe(\"Source of the content\").nullable().optional(),\n amp_url: z.string().describe(\"AMP-optimized URL, if available\").nullable().optional(),\n tickers: z.array(z.string()).describe(\"List of related ticker symbols\"),\n keywords: z.array(z.string()).describe(\"List of keywords associated with the article\").nullable().optional(),\n image_url: z.string().describe(\"Image URL, if available\").nullable().optional(),\n publisher: PolygonGetNews_PublisherSchema.nullable(),\n article_url: z.string().describe(\"URL to the full article\").nullable(),\n description: z.string().describe(\"Short description or summary\").nullable().optional(),\n published_utc: z.string().describe(\"Publication timestamp in ISO 8601 format\").nullable(),\n}).passthrough();\nexport const PolygonGetNewsOutput = z.object({\n count: z.number().int().describe(\"Number of news items returned\").nullable(),\n status: z.string().describe(\"API response status\").nullable(),\n results: z.array(PolygonGetNews_NewsItemSchema).describe(\"List of news article objects\"),\n next_url: z.string().describe(\"URL for the next page of results, if available\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetNews = action(\"POLYGON_GET_NEWS\", {\n slug: \"polygon-get-news\",\n name: \"Get News\",\n description: \"Tool to retrieve recent news articles related to a ticker. Use when you need to fetch financial news after identifying a ticker symbol.\",\n input: PolygonGetNewsInput,\n output: PolygonGetNewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACnH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACtH,CAAC;AACD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC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SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ const PolygonGetOpenCloseOutput = zod.z.object({
|
|
|
18
18
|
volume: zod.z.number().int().describe("Trading volume for the period.").nullable(),
|
|
19
19
|
preMarket: zod.z.number().describe("Open price in pre-market trading.").nullable().optional(),
|
|
20
20
|
afterHours: zod.z.number().describe("Close price in after-hours trading.").nullable().optional()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const polygonGetOpenClose = require_action.action("POLYGON_GET_OPEN_CLOSE", {
|
|
23
23
|
slug: "polygon-get-open-close",
|
|
24
24
|
name: "Get Stock Open/Close",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-open-close.cjs","names":["z","action"],"sources":["../../src/actions/get-open-close.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetOpenCloseInput = z.object({\n date: z.string().describe(\"Date for which to retrieve open/close prices, in YYYY-MM-DD format\"),\n adjusted: z.boolean().default(true).describe(\"Whether results are adjusted for splits. Set to false for unadjusted.\").optional(),\n stocksTicker: z.string().describe(\"Ticker symbol of the stock (e.g., 'AAPL')\"),\n}).describe(\"Request schema for GET /v1/open-close/{stocksTicker}/{date}.\");\nexport const PolygonGetOpenCloseOutput = z.object({\n low: z.number().describe(\"Lowest price for the period.\").nullable(),\n otc: z.boolean().describe(\"Indicates OTC ticker; omitted if false.\").nullable().optional(),\n from: z.string().describe(\"The requested date in YYYY-MM-DD format.\").nullable().optional(),\n high: z.number().describe(\"Highest price for the period.\").nullable(),\n open: z.number().describe(\"Open price for the period.\").nullable(),\n close: z.number().describe(\"Close price for the period.\").nullable(),\n status: z.string().describe(\"Status of the response.\").nullable(),\n symbol: z.string().describe(\"Exchange symbol this item trades under.\").nullable(),\n volume: z.number().int().describe(\"Trading volume for the period.\").nullable(),\n preMarket: z.number().describe(\"Open price in pre-market trading.\").nullable().optional(),\n afterHours: z.number().describe(\"Close price in after-hours trading.\").nullable().optional(),\n});\n\nexport const polygonGetOpenClose = action(\"POLYGON_GET_OPEN_CLOSE\", {\n slug: \"polygon-get-open-close\",\n name: \"Get Stock Open/Close\",\n description: \"Tool to fetch daily open and close prices for a stock on a specific date. Use when you need daily OHLC with pre/post-market prices.\",\n input: PolygonGetOpenCloseInput,\n output: PolygonGetOpenCloseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC9F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC/E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC;
|
|
1
|
+
{"version":3,"file":"get-open-close.cjs","names":["z","action"],"sources":["../../src/actions/get-open-close.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetOpenCloseInput = z.object({\n date: z.string().describe(\"Date for which to retrieve open/close prices, in YYYY-MM-DD format\"),\n adjusted: z.boolean().default(true).describe(\"Whether results are adjusted for splits. Set to false for unadjusted.\").optional(),\n stocksTicker: z.string().describe(\"Ticker symbol of the stock (e.g., 'AAPL')\"),\n}).describe(\"Request schema for GET /v1/open-close/{stocksTicker}/{date}.\");\nexport const PolygonGetOpenCloseOutput = z.object({\n low: z.number().describe(\"Lowest price for the period.\").nullable(),\n otc: z.boolean().describe(\"Indicates OTC ticker; omitted if false.\").nullable().optional(),\n from: z.string().describe(\"The requested date in YYYY-MM-DD format.\").nullable().optional(),\n high: z.number().describe(\"Highest price for the period.\").nullable(),\n open: z.number().describe(\"Open price for the period.\").nullable(),\n close: z.number().describe(\"Close price for the period.\").nullable(),\n status: z.string().describe(\"Status of the response.\").nullable(),\n symbol: z.string().describe(\"Exchange symbol this item trades under.\").nullable(),\n volume: z.number().int().describe(\"Trading volume for the period.\").nullable(),\n preMarket: z.number().describe(\"Open price in pre-market trading.\").nullable().optional(),\n afterHours: z.number().describe(\"Close price in after-hours trading.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetOpenClose = action(\"POLYGON_GET_OPEN_CLOSE\", {\n slug: \"polygon-get-open-close\",\n name: \"Get Stock Open/Close\",\n description: \"Tool to fetch daily open and close prices for a stock on a specific date. Use when you need daily OHLC with pre/post-market prices.\",\n input: PolygonGetOpenCloseInput,\n output: PolygonGetOpenCloseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC9F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC/E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ declare const PolygonGetOpenCloseOutput: z.ZodObject<{
|
|
|
18
18
|
volume: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
preMarket: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
afterHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const polygonGetOpenClose: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
date: string;
|
|
24
24
|
stocksTicker: string;
|
|
@@ -18,7 +18,7 @@ declare const PolygonGetOpenCloseOutput: z.ZodObject<{
|
|
|
18
18
|
volume: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
preMarket: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
afterHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const polygonGetOpenClose: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
date: string;
|
|
24
24
|
stocksTicker: string;
|
|
@@ -21,7 +21,7 @@ const polygonGetOpenClose = action("POLYGON_GET_OPEN_CLOSE", {
|
|
|
21
21
|
volume: z.number().int().describe("Trading volume for the period.").nullable(),
|
|
22
22
|
preMarket: z.number().describe("Open price in pre-market trading.").nullable().optional(),
|
|
23
23
|
afterHours: z.number().describe("Close price in after-hours trading.").nullable().optional()
|
|
24
|
-
})
|
|
24
|
+
}).passthrough()
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { polygonGetOpenClose };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-open-close.mjs","names":[],"sources":["../../src/actions/get-open-close.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetOpenCloseInput = z.object({\n date: z.string().describe(\"Date for which to retrieve open/close prices, in YYYY-MM-DD format\"),\n adjusted: z.boolean().default(true).describe(\"Whether results are adjusted for splits. Set to false for unadjusted.\").optional(),\n stocksTicker: z.string().describe(\"Ticker symbol of the stock (e.g., 'AAPL')\"),\n}).describe(\"Request schema for GET /v1/open-close/{stocksTicker}/{date}.\");\nexport const PolygonGetOpenCloseOutput = z.object({\n low: z.number().describe(\"Lowest price for the period.\").nullable(),\n otc: z.boolean().describe(\"Indicates OTC ticker; omitted if false.\").nullable().optional(),\n from: z.string().describe(\"The requested date in YYYY-MM-DD format.\").nullable().optional(),\n high: z.number().describe(\"Highest price for the period.\").nullable(),\n open: z.number().describe(\"Open price for the period.\").nullable(),\n close: z.number().describe(\"Close price for the period.\").nullable(),\n status: z.string().describe(\"Status of the response.\").nullable(),\n symbol: z.string().describe(\"Exchange symbol this item trades under.\").nullable(),\n volume: z.number().int().describe(\"Trading volume for the period.\").nullable(),\n preMarket: z.number().describe(\"Open price in pre-market trading.\").nullable().optional(),\n afterHours: z.number().describe(\"Close price in after-hours trading.\").nullable().optional(),\n});\n\nexport const polygonGetOpenClose = action(\"POLYGON_GET_OPEN_CLOSE\", {\n slug: \"polygon-get-open-close\",\n name: \"Get Stock Open/Close\",\n description: \"Tool to fetch daily open and close prices for a stock on a specific date. Use when you need daily OHLC with pre/post-market prices.\",\n input: PolygonGet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,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,
|
|
1
|
+
{"version":3,"file":"get-open-close.mjs","names":[],"sources":["../../src/actions/get-open-close.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetOpenCloseInput = z.object({\n date: z.string().describe(\"Date for which to retrieve open/close prices, in YYYY-MM-DD format\"),\n adjusted: z.boolean().default(true).describe(\"Whether results are adjusted for splits. Set to false for unadjusted.\").optional(),\n stocksTicker: z.string().describe(\"Ticker symbol of the stock (e.g., 'AAPL')\"),\n}).describe(\"Request schema for GET /v1/open-close/{stocksTicker}/{date}.\");\nexport const PolygonGetOpenCloseOutput = z.object({\n low: z.number().describe(\"Lowest price for the period.\").nullable(),\n otc: z.boolean().describe(\"Indicates OTC ticker; omitted if false.\").nullable().optional(),\n from: z.string().describe(\"The requested date in YYYY-MM-DD format.\").nullable().optional(),\n high: z.number().describe(\"Highest price for the period.\").nullable(),\n open: z.number().describe(\"Open price for the period.\").nullable(),\n close: z.number().describe(\"Close price for the period.\").nullable(),\n status: z.string().describe(\"Status of the response.\").nullable(),\n symbol: z.string().describe(\"Exchange symbol this item trades under.\").nullable(),\n volume: z.number().int().describe(\"Trading volume for the period.\").nullable(),\n preMarket: z.number().describe(\"Open price in pre-market trading.\").nullable().optional(),\n afterHours: z.number().describe(\"Close price in after-hours trading.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetOpenClose = action(\"POLYGON_GET_OPEN_CLOSE\", {\n slug: \"polygon-get-open-close\",\n name: \"Get Stock Open/Close\",\n description: \"Tool to fetch daily open and close prices for a stock on a specific date. Use when you need daily OHLC with pre/post-market prices.\",\n input: PolygonGetOpenCloseInput,\n output: PolygonGetOpenCloseOutput,\n});\n"],"mappings":";;AAuBA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS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