@keystrokehq/polygon 0.1.2 → 0.1.4
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 +2 -2
- package/dist/actions/get-aggregates.d.mts +2 -2
- 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 +4 -4
- package/dist/actions/get-crypto-aggregates.d.mts +4 -4
- 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 +5 -5
- package/dist/actions/get-crypto-ema.d.mts +5 -5
- 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 +4 -4
- package/dist/actions/get-crypto-rsi.d.mts +4 -4
- 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 +4 -4
- package/dist/actions/get-crypto-sma.d.mts +4 -4
- 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 +4 -4
- package/dist/actions/get-forex-aggregates.d.mts +4 -4
- 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 +5 -5
- package/dist/actions/get-forex-ema.d.mts +5 -5
- 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 +4 -4
- package/dist/actions/get-forex-rsi.d.mts +4 -4
- 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 +5 -5
- package/dist/actions/get-forex-sma.d.mts +5 -5
- 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 +4 -4
- package/dist/actions/get-options-custom-bars.d.mts +4 -4
- 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 +4 -4
- package/dist/actions/get-options-rsi.d.mts +4 -4
- 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 +5 -5
- package/dist/actions/get-options-sma.d.mts +5 -5
- 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 +2 -2
- package/dist/actions/get-stocks-custom-bars.d.mts +2 -2
- 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/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -21,10 +21,10 @@ declare const PolygonGet10KSectionsOutput: z.ZodObject<{
|
|
|
21
21
|
filing_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
period_end: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
filing_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const polygonGet10KSections: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
cik?: string | undefined;
|
|
30
30
|
sort?: string | undefined;
|
|
@@ -18,7 +18,7 @@ const PolygonGet10KSections_FilingSectionSchema = z.object({
|
|
|
18
18
|
filing_url: z.string().describe("Direct link to SEC filing document").nullable().optional(),
|
|
19
19
|
period_end: z.string().describe("Fiscal period end date in YYYY-MM-DD format").nullable().optional(),
|
|
20
20
|
filing_date: z.string().describe("Submission date in YYYY-MM-DD format").nullable().optional()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const polygonGet10KSections = action("POLYGON_GET10_K_SECTIONS", {
|
|
23
23
|
slug: "polygon-get10-k-sections",
|
|
24
24
|
name: "Get 10-K Filing Sections",
|
|
@@ -30,7 +30,7 @@ const polygonGet10KSections = action("POLYGON_GET10_K_SECTIONS", {
|
|
|
30
30
|
results: z.array(PolygonGet10KSections_FilingSectionSchema).describe("Collection of filing section records").nullable().optional(),
|
|
31
31
|
next_url: z.string().describe("Pagination URL for subsequent results").nullable().optional(),
|
|
32
32
|
request_id: z.string().describe("Server-assigned request identifier").nullable().optional()
|
|
33
|
-
})
|
|
33
|
+
}).passthrough()
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { polygonGet10KSections };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get10-k-sections.mjs","names":[],"sources":["../../src/actions/get10-k-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGet10KSectionsInput = z.object({\n cik: z.string().describe(\"Central Index Key (CIK) number. Supports comparison operators: .any_of, .gt, .gte, .lt, .lte\").optional(),\n sort: z.string().describe(\"Comma-separated columns with .asc or .desc direction\").optional(),\n limit: z.number().int().describe(\"Maximum number of results. Default: 100, Max: 9999\").optional(),\n ticker: z.string().describe(\"Stock ticker symbol. Supports comparison operators: .any_of, .gt, .gte, .lt, .lte\").optional(),\n section: z.string().describe(\"Standardized section identifier from the filing (e.g., 'business', 'risk_factors')\").optional(),\n period_end: z.string().describe(\"Period end date filter in YYYY-MM-DD format. Supports comparison operators: .gte, .gt, .lte, .lt\").optional(),\n filing_date: z.string().describe(\"Filing date filter in YYYY-MM-DD format. Supports comparison operators: .gte, .gt, .lte, .lt\").optional(),\n});\nconst PolygonGet10KSections_FilingSectionSchema = z.object({\n cik: z.string().describe(\"SEC Central Index Key (10 digits, zero-padded)\").nullable().optional(),\n text: z.string().describe(\"Raw section content with headers and formatting\").nullable().optional(),\n ticker: z.string().describe(\"Company stock ticker symbol\").nullable().optional(),\n section: z.string().describe(\"Standardized section type identifier\").nullable().optional(),\n filing_url: z.string().describe(\"Direct link to SEC filing document\").nullable().optional(),\n period_end: z.string().describe(\"Fiscal period end date in YYYY-MM-DD format\").nullable().optional(),\n filing_date: z.string().describe(\"Submission date in YYYY-MM-DD format\").nullable().optional(),\n});\nexport const PolygonGet10KSectionsOutput = z.object({\n count: z.number().int().describe(\"Number of results returned\").nullable().optional(),\n status: z.string().describe(\"Response status indicator\").nullable().optional(),\n results: z.array(PolygonGet10KSections_FilingSectionSchema).describe(\"Collection of filing section records\").nullable().optional(),\n next_url: z.string().describe(\"Pagination URL for subsequent results\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request identifier\").nullable().optional(),\n});\n\nexport const polygonGet10KSections = action(\"POLYGON_GET10_K_SECTIONS\", {\n slug: \"polygon-get10-k-sections\",\n name: \"Get 10-K Filing Sections\",\n description: \"Tool to retrieve 10-K filing sections from the SEC. Use when you need to access specific sections of 10-K filings such as business descriptions, ris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sC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;
|
|
1
|
+
{"version":3,"file":"get10-k-sections.mjs","names":[],"sources":["../../src/actions/get10-k-sections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGet10KSectionsInput = z.object({\n cik: z.string().describe(\"Central Index Key (CIK) number. Supports comparison operators: .any_of, .gt, .gte, .lt, .lte\").optional(),\n sort: z.string().describe(\"Comma-separated columns with .asc or .desc direction\").optional(),\n limit: z.number().int().describe(\"Maximum number of results. Default: 100, Max: 9999\").optional(),\n ticker: z.string().describe(\"Stock ticker symbol. Supports comparison operators: .any_of, .gt, .gte, .lt, .lte\").optional(),\n section: z.string().describe(\"Standardized section identifier from the filing (e.g., 'business', 'risk_factors')\").optional(),\n period_end: z.string().describe(\"Period end date filter in YYYY-MM-DD format. Supports comparison operators: .gte, .gt, .lte, .lt\").optional(),\n filing_date: z.string().describe(\"Filing date filter in YYYY-MM-DD format. Supports comparison operators: .gte, .gt, .lte, .lt\").optional(),\n});\nconst PolygonGet10KSections_FilingSectionSchema = z.object({\n cik: z.string().describe(\"SEC Central Index Key (10 digits, zero-padded)\").nullable().optional(),\n text: z.string().describe(\"Raw section content with headers and formatting\").nullable().optional(),\n ticker: z.string().describe(\"Company stock ticker symbol\").nullable().optional(),\n section: z.string().describe(\"Standardized section type identifier\").nullable().optional(),\n filing_url: z.string().describe(\"Direct link to SEC filing document\").nullable().optional(),\n period_end: z.string().describe(\"Fiscal period end date in YYYY-MM-DD format\").nullable().optional(),\n filing_date: z.string().describe(\"Submission date in YYYY-MM-DD format\").nullable().optional(),\n}).passthrough();\nexport const PolygonGet10KSectionsOutput = z.object({\n count: z.number().int().describe(\"Number of results returned\").nullable().optional(),\n status: z.string().describe(\"Response status indicator\").nullable().optional(),\n results: z.array(PolygonGet10KSections_FilingSectionSchema).describe(\"Collection of filing section records\").nullable().optional(),\n next_url: z.string().describe(\"Pagination URL for subsequent results\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request identifier\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGet10KSections = action(\"POLYGON_GET10_K_SECTIONS\", {\n slug: \"polygon-get10-k-sections\",\n name: \"Get 10-K Filing Sections\",\n description: \"Tool to retrieve 10-K filing sections from the SEC. Use when you need to access specific sections of 10-K filings such as business descriptions, risk factors, or financial statements.\",\n input: PolygonGet10KSectionsInput,\n output: PolygonGet10KSectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAClI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC1H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC5H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC7I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AAC5I,CAAC;AACD,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AASf,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -11,12 +11,12 @@ const PolygonLastQuoteForASymbol_LastQuoteSchema = zod.z.object({
|
|
|
11
11
|
timestamp: zod.z.number().int().describe("Timestamp of this quote in nanoseconds since Unix epoch.").nullable().optional(),
|
|
12
12
|
askexchange: zod.z.number().int().describe("Exchange ID where the ask happened.").nullable().optional(),
|
|
13
13
|
bidexchange: zod.z.number().int().describe("Exchange ID where the bid happened.").nullable().optional()
|
|
14
|
-
}).describe("Details of the last quote tick.");
|
|
14
|
+
}).passthrough().describe("Details of the last quote tick.");
|
|
15
15
|
const PolygonLastQuoteForASymbolOutput = zod.z.object({
|
|
16
16
|
last: PolygonLastQuoteForASymbol_LastQuoteSchema.nullable().optional(),
|
|
17
17
|
status: zod.z.string().describe("Status of this request's response.").nullable().optional(),
|
|
18
18
|
symbol: zod.z.string().describe("Symbol that was evaluated from the request.").nullable().optional()
|
|
19
|
-
}).describe("Response schema containing the last quote tick for the stock.");
|
|
19
|
+
}).passthrough().describe("Response schema containing the last quote tick for the stock.");
|
|
20
20
|
const polygonLastQuoteForASymbol = require_action.action("POLYGON_LAST_QUOTE_FOR_A_SYMBOL", {
|
|
21
21
|
slug: "polygon-last-quote-for-a-symbol",
|
|
22
22
|
name: "Last Quote for a Symbol",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"last-quote-for-a-symbol.cjs","names":["z","action"],"sources":["../../src/actions/last-quote-for-a-symbol.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonLastQuoteForASymbolInput = z.object({\n symbol: z.string().describe(\"Symbol of the stock to get the last quote for (e.g., AAPL, MSFT). Must be uppercase.\"),\n}).describe(\"Request schema for retrieving the last quote tick for a stock symbol.\");\nconst PolygonLastQuoteForASymbol_LastQuoteSchema = z.object({\n cond: z.number().int().describe(\"Condition code of the quote.\").nullable().optional(),\n asksize: z.number().int().describe(\"Ask size.\").nullable().optional(),\n bidsize: z.number().int().describe(\"Bid size.\").nullable().optional(),\n askprice: z.number().describe(\"Ask price.\").nullable().optional(),\n bidprice: z.number().describe(\"Bid price.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Timestamp of this quote in nanoseconds since Unix epoch.\").nullable().optional(),\n askexchange: z.number().int().describe(\"Exchange ID where the ask happened.\").nullable().optional(),\n bidexchange: z.number().int().describe(\"Exchange ID where the bid happened.\").nullable().optional(),\n}).describe(\"Details of the last quote tick.\");\nexport const PolygonLastQuoteForASymbolOutput = z.object({\n last: PolygonLastQuoteForASymbol_LastQuoteSchema.nullable().optional(),\n status: z.string().describe(\"Status of this request's response.\").nullable().optional(),\n symbol: z.string().describe(\"Symbol that was evaluated from the request.\").nullable().optional(),\n}).describe(\"Response schema containing the last quote tick for the stock.\");\n\nexport const polygonLastQuoteForASymbol = action(\"POLYGON_LAST_QUOTE_FOR_A_SYMBOL\", {\n slug: \"polygon-last-quote-for-a-symbol\",\n name: \"Last Quote for a Symbol\",\n description: \"Tool to retrieve the last quote tick for a given stock symbol. Use when you need the most recent bid/ask prices, sizes, and exchange information for a stock.\",\n input: PolygonLastQuoteForASymbolInput,\n output: PolygonLastQuoteForASymbolOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACpH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,iCAAiC;
|
|
1
|
+
{"version":3,"file":"last-quote-for-a-symbol.cjs","names":["z","action"],"sources":["../../src/actions/last-quote-for-a-symbol.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonLastQuoteForASymbolInput = z.object({\n symbol: z.string().describe(\"Symbol of the stock to get the last quote for (e.g., AAPL, MSFT). Must be uppercase.\"),\n}).describe(\"Request schema for retrieving the last quote tick for a stock symbol.\");\nconst PolygonLastQuoteForASymbol_LastQuoteSchema = z.object({\n cond: z.number().int().describe(\"Condition code of the quote.\").nullable().optional(),\n asksize: z.number().int().describe(\"Ask size.\").nullable().optional(),\n bidsize: z.number().int().describe(\"Bid size.\").nullable().optional(),\n askprice: z.number().describe(\"Ask price.\").nullable().optional(),\n bidprice: z.number().describe(\"Bid price.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Timestamp of this quote in nanoseconds since Unix epoch.\").nullable().optional(),\n askexchange: z.number().int().describe(\"Exchange ID where the ask happened.\").nullable().optional(),\n bidexchange: z.number().int().describe(\"Exchange ID where the bid happened.\").nullable().optional(),\n}).passthrough().describe(\"Details of the last quote tick.\");\nexport const PolygonLastQuoteForASymbolOutput = z.object({\n last: PolygonLastQuoteForASymbol_LastQuoteSchema.nullable().optional(),\n status: z.string().describe(\"Status of this request's response.\").nullable().optional(),\n symbol: z.string().describe(\"Symbol that was evaluated from the request.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing the last quote tick for the stock.\");\n\nexport const polygonLastQuoteForASymbol = action(\"POLYGON_LAST_QUOTE_FOR_A_SYMBOL\", {\n slug: \"polygon-last-quote-for-a-symbol\",\n name: \"Last Quote for a Symbol\",\n description: \"Tool to retrieve the last quote tick for a given stock symbol. Use when you need the most recent bid/ask prices, sizes, and exchange information for a stock.\",\n input: PolygonLastQuoteForASymbolInput,\n output: PolygonLastQuoteForASymbolOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACpH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,10 +14,10 @@ declare const PolygonLastQuoteForASymbolOutput: z.ZodObject<{
|
|
|
14
14
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
askexchange: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
bidexchange: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
18
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const polygonLastQuoteForASymbol: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
symbol: string;
|
|
23
23
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -14,10 +14,10 @@ declare const PolygonLastQuoteForASymbolOutput: z.ZodObject<{
|
|
|
14
14
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
askexchange: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
bidexchange: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
18
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const polygonLastQuoteForASymbol: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
symbol: string;
|
|
23
23
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,7 +11,7 @@ const PolygonLastQuoteForASymbol_LastQuoteSchema = z.object({
|
|
|
11
11
|
timestamp: z.number().int().describe("Timestamp of this quote in nanoseconds since Unix epoch.").nullable().optional(),
|
|
12
12
|
askexchange: z.number().int().describe("Exchange ID where the ask happened.").nullable().optional(),
|
|
13
13
|
bidexchange: z.number().int().describe("Exchange ID where the bid happened.").nullable().optional()
|
|
14
|
-
}).describe("Details of the last quote tick.");
|
|
14
|
+
}).passthrough().describe("Details of the last quote tick.");
|
|
15
15
|
const polygonLastQuoteForASymbol = action("POLYGON_LAST_QUOTE_FOR_A_SYMBOL", {
|
|
16
16
|
slug: "polygon-last-quote-for-a-symbol",
|
|
17
17
|
name: "Last Quote for a Symbol",
|
|
@@ -21,7 +21,7 @@ const polygonLastQuoteForASymbol = action("POLYGON_LAST_QUOTE_FOR_A_SYMBOL", {
|
|
|
21
21
|
last: PolygonLastQuoteForASymbol_LastQuoteSchema.nullable().optional(),
|
|
22
22
|
status: z.string().describe("Status of this request's response.").nullable().optional(),
|
|
23
23
|
symbol: z.string().describe("Symbol that was evaluated from the request.").nullable().optional()
|
|
24
|
-
}).describe("Response schema containing the last quote tick for the stock.")
|
|
24
|
+
}).passthrough().describe("Response schema containing the last quote tick for the stock.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { polygonLastQuoteForASymbol };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"last-quote-for-a-symbol.mjs","names":[],"sources":["../../src/actions/last-quote-for-a-symbol.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonLastQuoteForASymbolInput = z.object({\n symbol: z.string().describe(\"Symbol of the stock to get the last quote for (e.g., AAPL, MSFT). Must be uppercase.\"),\n}).describe(\"Request schema for retrieving the last quote tick for a stock symbol.\");\nconst PolygonLastQuoteForASymbol_LastQuoteSchema = z.object({\n cond: z.number().int().describe(\"Condition code of the quote.\").nullable().optional(),\n asksize: z.number().int().describe(\"Ask size.\").nullable().optional(),\n bidsize: z.number().int().describe(\"Bid size.\").nullable().optional(),\n askprice: z.number().describe(\"Ask price.\").nullable().optional(),\n bidprice: z.number().describe(\"Bid price.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Timestamp of this quote in nanoseconds since Unix epoch.\").nullable().optional(),\n askexchange: z.number().int().describe(\"Exchange ID where the ask happened.\").nullable().optional(),\n bidexchange: z.number().int().describe(\"Exchange ID where the bid happened.\").nullable().optional(),\n}).describe(\"Details of the last quote tick.\");\nexport const PolygonLastQuoteForASymbolOutput = z.object({\n last: PolygonLastQuoteForASymbol_LastQuoteSchema.nullable().optional(),\n status: z.string().describe(\"Status of this request's response.\").nullable().optional(),\n symbol: z.string().describe(\"Symbol that was evaluated from the request.\").nullable().optional(),\n}).describe(\"Response schema containing the last quote tick for the stock.\");\n\nexport const polygonLastQuoteForASymbol = action(\"POLYGON_LAST_QUOTE_FOR_A_SYMBOL\", {\n slug: \"polygon-last-quote-for-a-symbol\",\n name: \"Last Quote for a Symbol\",\n description: \"Tool to retrieve the last quote tick for a given stock symbol. Use when you need the most recent bid/ask prices, sizes, and exchange information for a stock.\",\n input: PolygonLastQuoteForASymbolInput,\n output: PolygonLastQuoteForASymbolOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACpH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,iCAAiC;
|
|
1
|
+
{"version":3,"file":"last-quote-for-a-symbol.mjs","names":[],"sources":["../../src/actions/last-quote-for-a-symbol.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonLastQuoteForASymbolInput = z.object({\n symbol: z.string().describe(\"Symbol of the stock to get the last quote for (e.g., AAPL, MSFT). Must be uppercase.\"),\n}).describe(\"Request schema for retrieving the last quote tick for a stock symbol.\");\nconst PolygonLastQuoteForASymbol_LastQuoteSchema = z.object({\n cond: z.number().int().describe(\"Condition code of the quote.\").nullable().optional(),\n asksize: z.number().int().describe(\"Ask size.\").nullable().optional(),\n bidsize: z.number().int().describe(\"Bid size.\").nullable().optional(),\n askprice: z.number().describe(\"Ask price.\").nullable().optional(),\n bidprice: z.number().describe(\"Bid price.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Timestamp of this quote in nanoseconds since Unix epoch.\").nullable().optional(),\n askexchange: z.number().int().describe(\"Exchange ID where the ask happened.\").nullable().optional(),\n bidexchange: z.number().int().describe(\"Exchange ID where the bid happened.\").nullable().optional(),\n}).passthrough().describe(\"Details of the last quote tick.\");\nexport const PolygonLastQuoteForASymbolOutput = z.object({\n last: PolygonLastQuoteForASymbol_LastQuoteSchema.nullable().optional(),\n status: z.string().describe(\"Status of this request's response.\").nullable().optional(),\n symbol: z.string().describe(\"Symbol that was evaluated from the request.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing the last quote tick for the stock.\");\n\nexport const polygonLastQuoteForASymbol = action(\"POLYGON_LAST_QUOTE_FOR_A_SYMBOL\", {\n slug: \"polygon-last-quote-for-a-symbol\",\n name: \"Last Quote for a Symbol\",\n description: \"Tool to retrieve the last quote tick for a given stock symbol. Use when you need the most recent bid/ask prices, sizes, and exchange information for a stock.\",\n input: PolygonLastQuoteForASymbolInput,\n output: PolygonLastQuoteForASymbolOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACpH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,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|
|
|
10
10
|
bid: zod.z.number().describe("The bid price for the currency pair.").nullable().optional(),
|
|
11
11
|
exchange: zod.z.number().int().describe("Exchange ID where this quote happened.").nullable().optional(),
|
|
12
12
|
timestamp: zod.z.number().int().describe("Timestamp of this quote in Unix milliseconds.").nullable().optional()
|
|
13
|
-
}).describe("Details of the last quote tick for the currency pair.");
|
|
13
|
+
}).passthrough().describe("Details of the last quote tick for the currency pair.");
|
|
14
14
|
const PolygonLastTradeForACurrencyPairOutput = zod.z.object({
|
|
15
15
|
last: PolygonLastTradeForACurrencyPair_LastForexTradeSchema.nullable().optional(),
|
|
16
16
|
status: zod.z.string().describe("Status of this request's response.").nullable().optional(),
|
|
17
17
|
symbol: zod.z.string().describe("Symbol pair that was evaluated from the request.").nullable().optional(),
|
|
18
18
|
request_id: zod.z.string().describe("A request id assigned by the server.").nullable().optional()
|
|
19
|
-
}).describe("Response schema containing the last quote tick for the currency pair.");
|
|
19
|
+
}).passthrough().describe("Response schema containing the last quote tick for the currency pair.");
|
|
20
20
|
const polygonLastTradeForACurrencyPair = require_action.action("POLYGON_LAST_TRADE_FOR_A_CURRENCY_PAIR", {
|
|
21
21
|
slug: "polygon-last-trade-for-a-currency-pair",
|
|
22
22
|
name: "Last Trade for a Currency Pair",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"last-trade-for-a-currency-pair.cjs","names":["z","action"],"sources":["../../src/actions/last-trade-for-a-currency-pair.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonLastTradeForACurrencyPairInput = z.object({\n to_currency: z.string().describe(\"The 'to' currency symbol (quote currency) in the pair (e.g., 'USD', 'JPY', 'EUR').\"),\n from_currency: z.string().describe(\"The 'from' currency symbol (base currency) in the pair (e.g., 'EUR', 'USD', 'GBP').\"),\n}).describe(\"Request schema for retrieving the last trade tick for a currency pair.\");\nconst PolygonLastTradeForACurrencyPair_LastForexTradeSchema = z.object({\n ask: z.number().describe(\"The ask price for the currency pair.\").nullable().optional(),\n bid: z.number().describe(\"The bid price for the currency pair.\").nullable().optional(),\n exchange: z.number().int().describe(\"Exchange ID where this quote happened.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Timestamp of this quote in Unix milliseconds.\").nullable().optional(),\n}).describe(\"Details of the last quote tick for the currency pair.\");\nexport const PolygonLastTradeForACurrencyPairOutput = z.object({\n last: PolygonLastTradeForACurrencyPair_LastForexTradeSchema.nullable().optional(),\n status: z.string().describe(\"Status of this request's response.\").nullable().optional(),\n symbol: z.string().describe(\"Symbol pair that was evaluated from the request.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).describe(\"Response schema containing the last quote tick for the currency pair.\");\n\nexport const polygonLastTradeForACurrencyPair = action(\"POLYGON_LAST_TRADE_FOR_A_CURRENCY_PAIR\", {\n slug: \"polygon-last-trade-for-a-currency-pair\",\n name: \"Last Trade for a Currency Pair\",\n description: \"Tool to retrieve the last trade tick for a currency pair in the forex market. Use when you need the most recent trade price, exchange, and timestamp for a specific currency pair.\",\n input: PolygonLastTradeForACurrencyPairInput,\n output: PolygonLastTradeForACurrencyPairOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;AAC1H,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,uDAAuD;
|
|
1
|
+
{"version":3,"file":"last-trade-for-a-currency-pair.cjs","names":["z","action"],"sources":["../../src/actions/last-trade-for-a-currency-pair.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonLastTradeForACurrencyPairInput = z.object({\n to_currency: z.string().describe(\"The 'to' currency symbol (quote currency) in the pair (e.g., 'USD', 'JPY', 'EUR').\"),\n from_currency: z.string().describe(\"The 'from' currency symbol (base currency) in the pair (e.g., 'EUR', 'USD', 'GBP').\"),\n}).describe(\"Request schema for retrieving the last trade tick for a currency pair.\");\nconst PolygonLastTradeForACurrencyPair_LastForexTradeSchema = z.object({\n ask: z.number().describe(\"The ask price for the currency pair.\").nullable().optional(),\n bid: z.number().describe(\"The bid price for the currency pair.\").nullable().optional(),\n exchange: z.number().int().describe(\"Exchange ID where this quote happened.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Timestamp of this quote in Unix milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Details of the last quote tick for the currency pair.\");\nexport const PolygonLastTradeForACurrencyPairOutput = z.object({\n last: PolygonLastTradeForACurrencyPair_LastForexTradeSchema.nullable().optional(),\n status: z.string().describe(\"Status of this request's response.\").nullable().optional(),\n symbol: z.string().describe(\"Symbol pair that was evaluated from the request.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing the last quote tick for the currency pair.\");\n\nexport const polygonLastTradeForACurrencyPair = action(\"POLYGON_LAST_TRADE_FOR_A_CURRENCY_PAIR\", {\n slug: \"polygon-last-trade-for-a-currency-pair\",\n name: \"Last Trade for a Currency Pair\",\n description: \"Tool to retrieve the last trade tick for a currency pair in the forex market. Use when you need the most recent trade price, exchange, and timestamp for a specific currency pair.\",\n input: PolygonLastTradeForACurrencyPairInput,\n output: PolygonLastTradeForACurrencyPairOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;AAC1H,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAM,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAEjG,MAAa,mCAAmCC,eAAAA,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,11 +11,11 @@ declare const PolygonLastTradeForACurrencyPairOutput: z.ZodObject<{
|
|
|
11
11
|
bid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
12
|
exchange: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const polygonLastTradeForACurrencyPair: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
to_currency: string;
|
|
21
21
|
from_currency: string;
|
|
@@ -11,11 +11,11 @@ declare const PolygonLastTradeForACurrencyPairOutput: z.ZodObject<{
|
|
|
11
11
|
bid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
12
|
exchange: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
symbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const polygonLastTradeForACurrencyPair: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
to_currency: string;
|
|
21
21
|
from_currency: string;
|
|
@@ -10,7 +10,7 @@ const PolygonLastTradeForACurrencyPair_LastForexTradeSchema = z.object({
|
|
|
10
10
|
bid: z.number().describe("The bid price for the currency pair.").nullable().optional(),
|
|
11
11
|
exchange: z.number().int().describe("Exchange ID where this quote happened.").nullable().optional(),
|
|
12
12
|
timestamp: z.number().int().describe("Timestamp of this quote in Unix milliseconds.").nullable().optional()
|
|
13
|
-
}).describe("Details of the last quote tick for the currency pair.");
|
|
13
|
+
}).passthrough().describe("Details of the last quote tick for the currency pair.");
|
|
14
14
|
const polygonLastTradeForACurrencyPair = action("POLYGON_LAST_TRADE_FOR_A_CURRENCY_PAIR", {
|
|
15
15
|
slug: "polygon-last-trade-for-a-currency-pair",
|
|
16
16
|
name: "Last Trade for a Currency Pair",
|
|
@@ -21,7 +21,7 @@ const polygonLastTradeForACurrencyPair = action("POLYGON_LAST_TRADE_FOR_A_CURREN
|
|
|
21
21
|
status: z.string().describe("Status of this request's response.").nullable().optional(),
|
|
22
22
|
symbol: z.string().describe("Symbol pair that was evaluated from the request.").nullable().optional(),
|
|
23
23
|
request_id: z.string().describe("A request id assigned by the server.").nullable().optional()
|
|
24
|
-
}).describe("Response schema containing the last quote tick for the currency pair.")
|
|
24
|
+
}).passthrough().describe("Response schema containing the last quote tick for the currency pair.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { polygonLastTradeForACurrencyPair };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"last-trade-for-a-currency-pair.mjs","names":[],"sources":["../../src/actions/last-trade-for-a-currency-pair.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonLastTradeForACurrencyPairInput = z.object({\n to_currency: z.string().describe(\"The 'to' currency symbol (quote currency) in the pair (e.g., 'USD', 'JPY', 'EUR').\"),\n from_currency: z.string().describe(\"The 'from' currency symbol (base currency) in the pair (e.g., 'EUR', 'USD', 'GBP').\"),\n}).describe(\"Request schema for retrieving the last trade tick for a currency pair.\");\nconst PolygonLastTradeForACurrencyPair_LastForexTradeSchema = z.object({\n ask: z.number().describe(\"The ask price for the currency pair.\").nullable().optional(),\n bid: z.number().describe(\"The bid price for the currency pair.\").nullable().optional(),\n exchange: z.number().int().describe(\"Exchange ID where this quote happened.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Timestamp of this quote in Unix milliseconds.\").nullable().optional(),\n}).describe(\"Details of the last quote tick for the currency pair.\");\nexport const PolygonLastTradeForACurrencyPairOutput = z.object({\n last: PolygonLastTradeForACurrencyPair_LastForexTradeSchema.nullable().optional(),\n status: z.string().describe(\"Status of this request's response.\").nullable().optional(),\n symbol: z.string().describe(\"Symbol pair that was evaluated from the request.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).describe(\"Response schema containing the last quote tick for the currency pair.\");\n\nexport const polygonLastTradeForACurrencyPair = action(\"POLYGON_LAST_TRADE_FOR_A_CURRENCY_PAIR\", {\n slug: \"polygon-last-trade-for-a-currency-pair\",\n name: \"Last Trade for a Currency Pair\",\n description: \"Tool to retrieve the last trade tick for a currency pair in the forex market. Use when you need the most recent trade price, exchange, and timestamp for a specific currency pair.\",\n input: PolygonLastTradeForACurrencyPairInput,\n output: PolygonLastTradeForACurrencyPairOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACrH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;AAC1H,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,wDAAwD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,uDAAuD;
|
|
1
|
+
{"version":3,"file":"last-trade-for-a-currency-pair.mjs","names":[],"sources":["../../src/actions/last-trade-for-a-currency-pair.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonLastTradeForACurrencyPairInput = z.object({\n to_currency: z.string().describe(\"The 'to' currency symbol (quote currency) in the pair (e.g., 'USD', 'JPY', 'EUR').\"),\n from_currency: z.string().describe(\"The 'from' currency symbol (base currency) in the pair (e.g., 'EUR', 'USD', 'GBP').\"),\n}).describe(\"Request schema for retrieving the last trade tick for a currency pair.\");\nconst PolygonLastTradeForACurrencyPair_LastForexTradeSchema = z.object({\n ask: z.number().describe(\"The ask price for the currency pair.\").nullable().optional(),\n bid: z.number().describe(\"The bid price for the currency pair.\").nullable().optional(),\n exchange: z.number().int().describe(\"Exchange ID where this quote happened.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Timestamp of this quote in Unix milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Details of the last quote tick for the currency pair.\");\nexport const PolygonLastTradeForACurrencyPairOutput = z.object({\n last: PolygonLastTradeForACurrencyPair_LastForexTradeSchema.nullable().optional(),\n status: z.string().describe(\"Status of this request's response.\").nullable().optional(),\n symbol: z.string().describe(\"Symbol pair that was evaluated from the request.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing the last quote tick for the currency pair.\");\n\nexport const polygonLastTradeForACurrencyPair = action(\"POLYGON_LAST_TRADE_FOR_A_CURRENCY_PAIR\", {\n slug: \"polygon-last-trade-for-a-currency-pair\",\n name: \"Last Trade for a Currency Pair\",\n description: \"Tool to retrieve the last trade tick for a currency pair in the forex market. Use when you need the most recent trade price, exchange, and timestamp for a specific currency pair.\",\n input: PolygonLastTradeForACurrencyPairInput,\n output: PolygonLastTradeForACurrencyPairOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACrH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;AAC1H,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,wDAAwD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAQjF,MAAa,mCAAmC,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoD,EAAE,OAAO;EAC7D,MAAM,sDAAsD,SAAS,CAAC,CAAC,SAAS;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAOhB;AACV,CAAC"}
|
|
@@ -25,14 +25,14 @@ const PolygonListFilingFiles_FilingFileSchema = zod.z.object({
|
|
|
25
25
|
size_bytes: zod.z.number().int().describe("Size of the file in bytes.").nullable(),
|
|
26
26
|
source_url: zod.z.string().describe("URL where the file can be downloaded.").nullable(),
|
|
27
27
|
description: zod.z.string().describe("Description of the file content or purpose.").nullable().optional()
|
|
28
|
-
}).describe("A file associated with an SEC filing.");
|
|
28
|
+
}).passthrough().describe("A file associated with an SEC filing.");
|
|
29
29
|
const PolygonListFilingFilesOutput = zod.z.object({
|
|
30
30
|
count: zod.z.number().int().describe("Number of results returned.").nullable().optional(),
|
|
31
31
|
status: zod.z.string().describe("Status of the API response.").nullable(),
|
|
32
32
|
results: zod.z.array(PolygonListFilingFiles_FilingFileSchema).describe("List of files associated with the filing."),
|
|
33
33
|
next_url: zod.z.string().describe("URL to retrieve the next page of results, if any.").nullable().optional(),
|
|
34
34
|
request_id: zod.z.string().describe("Unique request identifier.").nullable()
|
|
35
|
-
}).describe("Response model for listing SEC filing files.");
|
|
35
|
+
}).passthrough().describe("Response model for listing SEC filing files.");
|
|
36
36
|
const polygonListFilingFiles = require_action.action("POLYGON_LIST_FILING_FILES", {
|
|
37
37
|
slug: "polygon-list-filing-files",
|
|
38
38
|
name: "List SEC Filing Files",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-filing-files.cjs","names":["z","action"],"sources":["../../src/actions/list-filing-files.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonListFilingFilesInput = z.object({\n sort: z.enum([\"sequence\", \"filename\"]).describe(\"Sort field for filing files\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned (1-1000). Default is 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order direction for results\").optional(),\n filename: z.string().describe(\"Query by file name.\").optional(),\n sequence: z.number().int().describe(\"Query by file sequence number.\").optional(),\n filing_id: z.string().describe(\"The filing ID to retrieve files for (e.g., '0001300514-21-000058').\"),\n \"filename.gt\": z.string().describe(\"Filter files with filename greater than this value (lexicographically).\").optional(),\n \"filename.lt\": z.string().describe(\"Filter files with filename less than this value (lexicographically).\").optional(),\n \"sequence.gt\": z.number().int().describe(\"Filter files with sequence greater than this value.\").optional(),\n \"sequence.lt\": z.number().int().describe(\"Filter files with sequence less than this value.\").optional(),\n \"filename.gte\": z.string().describe(\"Filter files with filename greater than or equal to this value (lexicographically).\").optional(),\n \"filename.lte\": z.string().describe(\"Filter files with filename less than or equal to this value (lexicographically).\").optional(),\n \"sequence.gte\": z.number().int().describe(\"Filter files with sequence greater than or equal to this value.\").optional(),\n \"sequence.lte\": z.number().int().describe(\"Filter files with sequence less than or equal to this value.\").optional(),\n}).describe(\"Request parameters for listing SEC filing files.\");\nconst PolygonListFilingFiles_FilingFileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the file.\").nullable(),\n type: z.string().describe(\"MIME type or file type.\").nullable(),\n filename: z.string().describe(\"Name of the file.\").nullable(),\n sequence: z.number().int().describe(\"Sequence number of the file within the filing.\").nullable(),\n size_bytes: z.number().int().describe(\"Size of the file in bytes.\").nullable(),\n source_url: z.string().describe(\"URL where the file can be downloaded.\").nullable(),\n description: z.string().describe(\"Description of the file content or purpose.\").nullable().optional(),\n}).describe(\"A file associated with an SEC filing.\");\nexport const PolygonListFilingFilesOutput = z.object({\n count: z.number().int().describe(\"Number of results returned.\").nullable().optional(),\n status: z.string().describe(\"Status of the API response.\").nullable(),\n results: z.array(PolygonListFilingFiles_FilingFileSchema).describe(\"List of files associated with the filing.\"),\n next_url: z.string().describe(\"URL to retrieve the next page of results, if any.\").nullable().optional(),\n request_id: z.string().describe(\"Unique request identifier.\").nullable(),\n}).describe(\"Response model for listing SEC filing files.\");\n\nexport const polygonListFilingFiles = action(\"POLYGON_LIST_FILING_FILES\", {\n slug: \"polygon-list-filing-files\",\n name: \"List SEC Filing Files\",\n description: \"Tool to retrieve files associated with an SEC filing. Use when you need to list all files (documents, exhibits, etc.) attached to a specific SEC filing by its filing ID.\",\n input: PolygonListFilingFilesInput,\n output: PolygonListFilingFilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,KAAK,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACpG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACvH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACpI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACjI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"list-filing-files.cjs","names":["z","action"],"sources":["../../src/actions/list-filing-files.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonListFilingFilesInput = z.object({\n sort: z.enum([\"sequence\", \"filename\"]).describe(\"Sort field for filing files\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned (1-1000). Default is 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order direction for results\").optional(),\n filename: z.string().describe(\"Query by file name.\").optional(),\n sequence: z.number().int().describe(\"Query by file sequence number.\").optional(),\n filing_id: z.string().describe(\"The filing ID to retrieve files for (e.g., '0001300514-21-000058').\"),\n \"filename.gt\": z.string().describe(\"Filter files with filename greater than this value (lexicographically).\").optional(),\n \"filename.lt\": z.string().describe(\"Filter files with filename less than this value (lexicographically).\").optional(),\n \"sequence.gt\": z.number().int().describe(\"Filter files with sequence greater than this value.\").optional(),\n \"sequence.lt\": z.number().int().describe(\"Filter files with sequence less than this value.\").optional(),\n \"filename.gte\": z.string().describe(\"Filter files with filename greater than or equal to this value (lexicographically).\").optional(),\n \"filename.lte\": z.string().describe(\"Filter files with filename less than or equal to this value (lexicographically).\").optional(),\n \"sequence.gte\": z.number().int().describe(\"Filter files with sequence greater than or equal to this value.\").optional(),\n \"sequence.lte\": z.number().int().describe(\"Filter files with sequence less than or equal to this value.\").optional(),\n}).describe(\"Request parameters for listing SEC filing files.\");\nconst PolygonListFilingFiles_FilingFileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the file.\").nullable(),\n type: z.string().describe(\"MIME type or file type.\").nullable(),\n filename: z.string().describe(\"Name of the file.\").nullable(),\n sequence: z.number().int().describe(\"Sequence number of the file within the filing.\").nullable(),\n size_bytes: z.number().int().describe(\"Size of the file in bytes.\").nullable(),\n source_url: z.string().describe(\"URL where the file can be downloaded.\").nullable(),\n description: z.string().describe(\"Description of the file content or purpose.\").nullable().optional(),\n}).passthrough().describe(\"A file associated with an SEC filing.\");\nexport const PolygonListFilingFilesOutput = z.object({\n count: z.number().int().describe(\"Number of results returned.\").nullable().optional(),\n status: z.string().describe(\"Status of the API response.\").nullable(),\n results: z.array(PolygonListFilingFiles_FilingFileSchema).describe(\"List of files associated with the filing.\"),\n next_url: z.string().describe(\"URL to retrieve the next page of results, if any.\").nullable().optional(),\n request_id: z.string().describe(\"Unique request identifier.\").nullable(),\n}).passthrough().describe(\"Response model for listing SEC filing files.\");\n\nexport const polygonListFilingFiles = action(\"POLYGON_LIST_FILING_FILES\", {\n slug: \"polygon-list-filing-files\",\n name: \"List SEC Filing Files\",\n description: \"Tool to retrieve files associated with an SEC filing. Use when you need to list all files (documents, exhibits, etc.) attached to a specific SEC filing by its filing ID.\",\n input: PolygonListFilingFilesInput,\n output: PolygonListFilingFilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,KAAK,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACpG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACvH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtG,gBA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;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,2CAA2C;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -34,10 +34,10 @@ declare const PolygonListFilingFilesOutput: z.ZodObject<{
|
|
|
34
34
|
size_bytes: z.ZodNullable<z.ZodNumber>;
|
|
35
35
|
source_url: z.ZodNullable<z.ZodString>;
|
|
36
36
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
38
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
request_id: z.ZodNullable<z.ZodString>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>;
|
|
41
41
|
declare const polygonListFilingFiles: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
42
|
filing_id: string;
|
|
43
43
|
sort?: "filename" | "sequence" | undefined;
|
|
@@ -34,10 +34,10 @@ declare const PolygonListFilingFilesOutput: z.ZodObject<{
|
|
|
34
34
|
size_bytes: z.ZodNullable<z.ZodNumber>;
|
|
35
35
|
source_url: z.ZodNullable<z.ZodString>;
|
|
36
36
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
38
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
request_id: z.ZodNullable<z.ZodString>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>;
|
|
41
41
|
declare const polygonListFilingFiles: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
42
|
filing_id: string;
|
|
43
43
|
sort?: "filename" | "sequence" | undefined;
|
|
@@ -25,7 +25,7 @@ const PolygonListFilingFiles_FilingFileSchema = z.object({
|
|
|
25
25
|
size_bytes: z.number().int().describe("Size of the file in bytes.").nullable(),
|
|
26
26
|
source_url: z.string().describe("URL where the file can be downloaded.").nullable(),
|
|
27
27
|
description: z.string().describe("Description of the file content or purpose.").nullable().optional()
|
|
28
|
-
}).describe("A file associated with an SEC filing.");
|
|
28
|
+
}).passthrough().describe("A file associated with an SEC filing.");
|
|
29
29
|
const polygonListFilingFiles = action("POLYGON_LIST_FILING_FILES", {
|
|
30
30
|
slug: "polygon-list-filing-files",
|
|
31
31
|
name: "List SEC Filing Files",
|
|
@@ -37,7 +37,7 @@ const polygonListFilingFiles = action("POLYGON_LIST_FILING_FILES", {
|
|
|
37
37
|
results: z.array(PolygonListFilingFiles_FilingFileSchema).describe("List of files associated with the filing."),
|
|
38
38
|
next_url: z.string().describe("URL to retrieve the next page of results, if any.").nullable().optional(),
|
|
39
39
|
request_id: z.string().describe("Unique request identifier.").nullable()
|
|
40
|
-
}).describe("Response model for listing SEC filing files.")
|
|
40
|
+
}).passthrough().describe("Response model for listing SEC filing files.")
|
|
41
41
|
});
|
|
42
42
|
//#endregion
|
|
43
43
|
export { polygonListFilingFiles };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-filing-files.mjs","names":[],"sources":["../../src/actions/list-filing-files.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonListFilingFilesInput = z.object({\n sort: z.enum([\"sequence\", \"filename\"]).describe(\"Sort field for filing files\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned (1-1000). Default is 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order direction for results\").optional(),\n filename: z.string().describe(\"Query by file name.\").optional(),\n sequence: z.number().int().describe(\"Query by file sequence number.\").optional(),\n filing_id: z.string().describe(\"The filing ID to retrieve files for (e.g., '0001300514-21-000058').\"),\n \"filename.gt\": z.string().describe(\"Filter files with filename greater than this value (lexicographically).\").optional(),\n \"filename.lt\": z.string().describe(\"Filter files with filename less than this value (lexicographically).\").optional(),\n \"sequence.gt\": z.number().int().describe(\"Filter files with sequence greater than this value.\").optional(),\n \"sequence.lt\": z.number().int().describe(\"Filter files with sequence less than this value.\").optional(),\n \"filename.gte\": z.string().describe(\"Filter files with filename greater than or equal to this value (lexicographically).\").optional(),\n \"filename.lte\": z.string().describe(\"Filter files with filename less than or equal to this value (lexicographically).\").optional(),\n \"sequence.gte\": z.number().int().describe(\"Filter files with sequence greater than or equal to this value.\").optional(),\n \"sequence.lte\": z.number().int().describe(\"Filter files with sequence less than or equal to this value.\").optional(),\n}).describe(\"Request parameters for listing SEC filing files.\");\nconst PolygonListFilingFiles_FilingFileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the file.\").nullable(),\n type: z.string().describe(\"MIME type or file type.\").nullable(),\n filename: z.string().describe(\"Name of the file.\").nullable(),\n sequence: z.number().int().describe(\"Sequence number of the file within the filing.\").nullable(),\n size_bytes: z.number().int().describe(\"Size of the file in bytes.\").nullable(),\n source_url: z.string().describe(\"URL where the file can be downloaded.\").nullable(),\n description: z.string().describe(\"Description of the file content or purpose.\").nullable().optional(),\n}).describe(\"A file associated with an SEC filing.\");\nexport const PolygonListFilingFilesOutput = z.object({\n count: z.number().int().describe(\"Number of results returned.\").nullable().optional(),\n status: z.string().describe(\"Status of the API response.\").nullable(),\n results: z.array(PolygonListFilingFiles_FilingFileSchema).describe(\"List of files associated with the filing.\"),\n next_url: z.string().describe(\"URL to retrieve the next page of results, if any.\").nullable().optional(),\n request_id: z.string().describe(\"Unique request identifier.\").nullable(),\n}).describe(\"Response model for listing SEC filing files.\");\n\nexport const polygonListFilingFiles = action(\"POLYGON_LIST_FILING_FILES\", {\n slug: \"polygon-list-filing-files\",\n name: \"List SEC Filing Files\",\n description: \"Tool to retrieve files associated with an SEC filing. Use when you need to list all files (documents, exhibits, etc.) attached to a specific SEC filing by its filing ID.\",\n input: PolygonListFilingFilesInput,\n output: PolygonListFilingFilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,KAAK,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACpG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACvH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACpH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACpI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACjI,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"list-filing-files.mjs","names":[],"sources":["../../src/actions/list-filing-files.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonListFilingFilesInput = z.object({\n sort: z.enum([\"sequence\", \"filename\"]).describe(\"Sort field for filing files\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned (1-1000). Default is 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order direction for results\").optional(),\n filename: z.string().describe(\"Query by file name.\").optional(),\n sequence: z.number().int().describe(\"Query by file sequence number.\").optional(),\n filing_id: z.string().describe(\"The filing ID to retrieve files for (e.g., '0001300514-21-000058').\"),\n \"filename.gt\": z.string().describe(\"Filter files with filename greater than this value (lexicographically).\").optional(),\n \"filename.lt\": z.string().describe(\"Filter files with filename less than this value (lexicographically).\").optional(),\n \"sequence.gt\": z.number().int().describe(\"Filter files with sequence greater than this value.\").optional(),\n \"sequence.lt\": z.number().int().describe(\"Filter files with sequence less than this value.\").optional(),\n \"filename.gte\": z.string().describe(\"Filter files with filename greater than or equal to this value (lexicographically).\").optional(),\n \"filename.lte\": z.string().describe(\"Filter files with filename less than or equal to this value (lexicographically).\").optional(),\n \"sequence.gte\": z.number().int().describe(\"Filter files with sequence greater than or equal to this value.\").optional(),\n \"sequence.lte\": z.number().int().describe(\"Filter files with sequence less than or equal to this value.\").optional(),\n}).describe(\"Request parameters for listing SEC filing files.\");\nconst PolygonListFilingFiles_FilingFileSchema = z.object({\n id: z.string().describe(\"Unique identifier for the file.\").nullable(),\n type: z.string().describe(\"MIME type or file type.\").nullable(),\n filename: z.string().describe(\"Name of the file.\").nullable(),\n sequence: z.number().int().describe(\"Sequence number of the file within the filing.\").nullable(),\n size_bytes: z.number().int().describe(\"Size of the file in bytes.\").nullable(),\n source_url: z.string().describe(\"URL where the file can be downloaded.\").nullable(),\n description: z.string().describe(\"Description of the file content or purpose.\").nullable().optional(),\n}).passthrough().describe(\"A file associated with an SEC filing.\");\nexport const PolygonListFilingFilesOutput = z.object({\n count: z.number().int().describe(\"Number of results returned.\").nullable().optional(),\n status: z.string().describe(\"Status of the API response.\").nullable(),\n results: z.array(PolygonListFilingFiles_FilingFileSchema).describe(\"List of files associated with the filing.\"),\n next_url: z.string().describe(\"URL to retrieve the next page of results, if any.\").nullable().optional(),\n request_id: z.string().describe(\"Unique request identifier.\").nullable(),\n}).passthrough().describe(\"Response model for listing SEC filing files.\");\n\nexport const polygonListFilingFiles = action(\"POLYGON_LIST_FILING_FILES\", {\n slug: \"polygon-list-filing-files\",\n name: \"List SEC Filing Files\",\n description: \"Tool to retrieve files associated with an SEC filing. Use when you need to list all files (documents, exhibits, etc.) attached to a specific SEC filing by its filing ID.\",\n input: PolygonListFilingFilesInput,\n output: PolygonListFilingFilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,KAAK,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACpG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACvH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACpH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACpI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACjI,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,C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C,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -24,7 +24,7 @@ const PolygonListOptionsContracts_AdditionalUnderlyingSchema = zod.z.object({
|
|
|
24
24
|
type: zod.z.string().describe("The type of additional underlying.").nullable().optional(),
|
|
25
25
|
amount: zod.z.number().describe("The amount of the additional underlying.").nullable().optional(),
|
|
26
26
|
underlying: zod.z.string().describe("The ticker symbol of the additional underlying.").nullable().optional()
|
|
27
|
-
}).describe("Additional underlyings or deliverables associated with an options contract.");
|
|
27
|
+
}).passthrough().describe("Additional underlyings or deliverables associated with an options contract.");
|
|
28
28
|
const PolygonListOptionsContracts_OptionsContractSchema = zod.z.object({
|
|
29
29
|
cfi: zod.z.string().describe("The ISO 10962 Classification of Financial Instruments code.").nullable().optional(),
|
|
30
30
|
ticker: zod.z.string().describe("The options contract ticker symbol.").nullable().optional(),
|
|
@@ -37,13 +37,13 @@ const PolygonListOptionsContracts_OptionsContractSchema = zod.z.object({
|
|
|
37
37
|
underlying_ticker: zod.z.string().describe("The underlying stock ticker that the option relates to.").nullable().optional(),
|
|
38
38
|
shares_per_contract: zod.z.number().describe("The number of shares per contract.").nullable().optional(),
|
|
39
39
|
additional_underlyings: zod.z.array(PolygonListOptionsContracts_AdditionalUnderlyingSchema).describe("Additional underlyings or deliverables (e.g., from corporate actions).").nullable().optional()
|
|
40
|
-
}).describe("Options contract details.");
|
|
40
|
+
}).passthrough().describe("Options contract details.");
|
|
41
41
|
const PolygonListOptionsContractsOutput = zod.z.object({
|
|
42
42
|
status: zod.z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
|
|
43
43
|
results: zod.z.array(PolygonListOptionsContracts_OptionsContractSchema).describe("List of options contracts matching the filter criteria.").nullable().optional(),
|
|
44
44
|
next_url: zod.z.string().describe("URL to fetch the next page of results. Use this for pagination.").nullable().optional(),
|
|
45
45
|
request_id: zod.z.string().describe("A unique request identifier assigned by the server.").nullable().optional()
|
|
46
|
-
}).describe("Response containing a list of options contracts and pagination info.");
|
|
46
|
+
}).passthrough().describe("Response containing a list of options contracts and pagination info.");
|
|
47
47
|
const polygonListOptionsContracts = require_action.action("POLYGON_LIST_OPTIONS_CONTRACTS", {
|
|
48
48
|
slug: "polygon-list-options-contracts",
|
|
49
49
|
name: "List Options Contracts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-options-contracts.cjs","names":["z","action"],"sources":["../../src/actions/list-options-contracts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonListOptionsContractsInput = z.object({\n sort: z.string().describe(\"Field name to sort by (e.g., 'expiration_date', 'strike_price', 'ticker').\").optional(),\n as_of: z.string().describe(\"Specify a point in time for contracts as of this date (YYYY-MM-DD). Defaults to today.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (1-1000). Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order direction: 'asc' (ascending) or 'desc' (descending).\").optional(),\n expired: z.boolean().describe(\"Query expired contracts. Set to true to include expired contracts.\").optional(),\n strike_price: z.number().describe(\"Filter by exact strike price value.\").optional(),\n contract_type: z.enum([\"call\", \"put\"]).describe(\"Filter by contract type: 'call' or 'put'.\").optional(),\n expiration_date: z.string().describe(\"Filter by exact expiration date in YYYY-MM-DD format.\").optional(),\n strike_price_gt: z.number().describe(\"Filter for strike prices strictly greater than this value.\").optional(),\n strike_price_lt: z.number().describe(\"Filter for strike prices strictly less than this value.\").optional(),\n strike_price_gte: z.number().describe(\"Filter for strike prices greater than or equal to this value.\").optional(),\n strike_price_lte: z.number().describe(\"Filter for strike prices less than or equal to this value.\").optional(),\n underlying_ticker: z.string().describe(\"Query for contracts relating to an underlying stock ticker (e.g., 'AAPL', 'SPY').\").optional(),\n expiration_date_gt: z.string().describe(\"Filter for expiration dates strictly greater than this date (YYYY-MM-DD).\").optional(),\n expiration_date_lt: z.string().describe(\"Filter for expiration dates strictly less than this date (YYYY-MM-DD).\").optional(),\n expiration_date_gte: z.string().describe(\"Filter for expiration dates greater than or equal to this date (YYYY-MM-DD).\").optional(),\n expiration_date_lte: z.string().describe(\"Filter for expiration dates less than or equal to this date (YYYY-MM-DD).\").optional(),\n}).describe(\"Parameters to filter and enumerate options contracts.\");\nconst PolygonListOptionsContracts_AdditionalUnderlyingSchema = z.object({\n type: z.string().describe(\"The type of additional underlying.\").nullable().optional(),\n amount: z.number().describe(\"The amount of the additional underlying.\").nullable().optional(),\n underlying: z.string().describe(\"The ticker symbol of the additional underlying.\").nullable().optional(),\n}).describe(\"Additional underlyings or deliverables associated with an options contract.\");\nconst PolygonListOptionsContracts_OptionsContractSchema = z.object({\n cfi: z.string().describe(\"The ISO 10962 Classification of Financial Instruments code.\").nullable().optional(),\n ticker: z.string().describe(\"The options contract ticker symbol.\").nullable().optional(),\n correction: z.number().int().describe(\"The correction number for this option contract.\").nullable().optional(),\n strike_price: z.number().describe(\"The strike price of the option contract.\").nullable().optional(),\n contract_type: z.string().describe(\"The type of contract: 'call', 'put', or 'other'.\").nullable().optional(),\n exercise_style: z.string().describe(\"The exercise style: 'american', 'european', or 'bermudan'.\").nullable().optional(),\n expiration_date: z.string().describe(\"The expiration date in YYYY-MM-DD format.\").nullable().optional(),\n primary_exchange: z.string().describe(\"The MIC code of the primary exchange for this contract.\").nullable().optional(),\n underlying_ticker: z.string().describe(\"The underlying stock ticker that the option relates to.\").nullable().optional(),\n shares_per_contract: z.number().describe(\"The number of shares per contract.\").nullable().optional(),\n additional_underlyings: z.array(PolygonListOptionsContracts_AdditionalUnderlyingSchema).describe(\"Additional underlyings or deliverables (e.g., from corporate actions).\").nullable().optional(),\n}).describe(\"Options contract details.\");\nexport const PolygonListOptionsContractsOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonListOptionsContracts_OptionsContractSchema).describe(\"List of options contracts matching the filter criteria.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results. Use this for pagination.\").nullable().optional(),\n request_id: z.string().describe(\"A unique request identifier assigned by the server.\").nullable().optional(),\n}).describe(\"Response containing a list of options contracts and pagination info.\");\n\nexport const polygonListOptionsContracts = action(\"POLYGON_LIST_OPTIONS_CONTRACTS\", {\n slug: \"polygon-list-options-contracts\",\n name: \"List Options Contracts\",\n description: \"Tool to list and filter options contracts by underlying ticker, type, expiration, strike, and more. Use when you need to enumerate an options chain or find specific contracts matching criteria.\",\n input: PolygonListOptionsContractsInput,\n output: PolygonListOptionsContractsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC9H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACvG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC5G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACzG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAChH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC7G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACrI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC3H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAClI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,6EAA6E;
|
|
1
|
+
{"version":3,"file":"list-options-contracts.cjs","names":["z","action"],"sources":["../../src/actions/list-options-contracts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonListOptionsContractsInput = z.object({\n sort: z.string().describe(\"Field name to sort by (e.g., 'expiration_date', 'strike_price', 'ticker').\").optional(),\n as_of: z.string().describe(\"Specify a point in time for contracts as of this date (YYYY-MM-DD). Defaults to today.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (1-1000). Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order direction: 'asc' (ascending) or 'desc' (descending).\").optional(),\n expired: z.boolean().describe(\"Query expired contracts. Set to true to include expired contracts.\").optional(),\n strike_price: z.number().describe(\"Filter by exact strike price value.\").optional(),\n contract_type: z.enum([\"call\", \"put\"]).describe(\"Filter by contract type: 'call' or 'put'.\").optional(),\n expiration_date: z.string().describe(\"Filter by exact expiration date in YYYY-MM-DD format.\").optional(),\n strike_price_gt: z.number().describe(\"Filter for strike prices strictly greater than this value.\").optional(),\n strike_price_lt: z.number().describe(\"Filter for strike prices strictly less than this value.\").optional(),\n strike_price_gte: z.number().describe(\"Filter for strike prices greater than or equal to this value.\").optional(),\n strike_price_lte: z.number().describe(\"Filter for strike prices less than or equal to this value.\").optional(),\n underlying_ticker: z.string().describe(\"Query for contracts relating to an underlying stock ticker (e.g., 'AAPL', 'SPY').\").optional(),\n expiration_date_gt: z.string().describe(\"Filter for expiration dates strictly greater than this date (YYYY-MM-DD).\").optional(),\n expiration_date_lt: z.string().describe(\"Filter for expiration dates strictly less than this date (YYYY-MM-DD).\").optional(),\n expiration_date_gte: z.string().describe(\"Filter for expiration dates greater than or equal to this date (YYYY-MM-DD).\").optional(),\n expiration_date_lte: z.string().describe(\"Filter for expiration dates less than or equal to this date (YYYY-MM-DD).\").optional(),\n}).describe(\"Parameters to filter and enumerate options contracts.\");\nconst PolygonListOptionsContracts_AdditionalUnderlyingSchema = z.object({\n type: z.string().describe(\"The type of additional underlying.\").nullable().optional(),\n amount: z.number().describe(\"The amount of the additional underlying.\").nullable().optional(),\n underlying: z.string().describe(\"The ticker symbol of the additional underlying.\").nullable().optional(),\n}).passthrough().describe(\"Additional underlyings or deliverables associated with an options contract.\");\nconst PolygonListOptionsContracts_OptionsContractSchema = z.object({\n cfi: z.string().describe(\"The ISO 10962 Classification of Financial Instruments code.\").nullable().optional(),\n ticker: z.string().describe(\"The options contract ticker symbol.\").nullable().optional(),\n correction: z.number().int().describe(\"The correction number for this option contract.\").nullable().optional(),\n strike_price: z.number().describe(\"The strike price of the option contract.\").nullable().optional(),\n contract_type: z.string().describe(\"The type of contract: 'call', 'put', or 'other'.\").nullable().optional(),\n exercise_style: z.string().describe(\"The exercise style: 'american', 'european', or 'bermudan'.\").nullable().optional(),\n expiration_date: z.string().describe(\"The expiration date in YYYY-MM-DD format.\").nullable().optional(),\n primary_exchange: z.string().describe(\"The MIC code of the primary exchange for this contract.\").nullable().optional(),\n underlying_ticker: z.string().describe(\"The underlying stock ticker that the option relates to.\").nullable().optional(),\n shares_per_contract: z.number().describe(\"The number of shares per contract.\").nullable().optional(),\n additional_underlyings: z.array(PolygonListOptionsContracts_AdditionalUnderlyingSchema).describe(\"Additional underlyings or deliverables (e.g., from corporate actions).\").nullable().optional(),\n}).passthrough().describe(\"Options contract details.\");\nexport const PolygonListOptionsContractsOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonListOptionsContracts_OptionsContractSchema).describe(\"List of options contracts matching the filter criteria.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results. Use this for pagination.\").nullable().optional(),\n request_id: z.string().describe(\"A unique request identifier assigned by the server.\").nullable().optional(),\n}).passthrough().describe(\"Response containing a list of options contracts and pagination info.\");\n\nexport const polygonListOptionsContracts = action(\"POLYGON_LIST_OPTIONS_CONTRACTS\", {\n slug: \"polygon-list-options-contracts\",\n name: \"List Options Contracts\",\n description: \"Tool to list and filter options contracts by underlying ticker, type, expiration, strike, and more. Use when you need to enumerate an options chain or find specific contracts matching criteria.\",\n input: PolygonListOptionsContractsInput,\n output: PolygonListOptionsContractsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E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<z.ZodNullable<z.ZodNumber>>;
|
|
45
45
|
underlying: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$
|
|
47
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>>>;
|
|
47
|
+
}, z.core.$loose>>>>;
|
|
48
48
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
49
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
-
}, z.core.$
|
|
50
|
+
}, z.core.$loose>;
|
|
51
51
|
declare const polygonListOptionsContracts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
52
52
|
sort?: string | undefined;
|
|
53
53
|
as_of?: string | undefined;
|
|
@@ -43,11 +43,11 @@ declare const PolygonListOptionsContractsOutput: z.ZodObject<{
|
|
|
43
43
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
45
|
underlying: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$
|
|
47
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>>>;
|
|
47
|
+
}, z.core.$loose>>>>;
|
|
48
48
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
49
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
-
}, z.core.$
|
|
50
|
+
}, z.core.$loose>;
|
|
51
51
|
declare const polygonListOptionsContracts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
52
52
|
sort?: string | undefined;
|
|
53
53
|
as_of?: string | undefined;
|
|
@@ -24,7 +24,7 @@ const PolygonListOptionsContracts_AdditionalUnderlyingSchema = z.object({
|
|
|
24
24
|
type: z.string().describe("The type of additional underlying.").nullable().optional(),
|
|
25
25
|
amount: z.number().describe("The amount of the additional underlying.").nullable().optional(),
|
|
26
26
|
underlying: z.string().describe("The ticker symbol of the additional underlying.").nullable().optional()
|
|
27
|
-
}).describe("Additional underlyings or deliverables associated with an options contract.");
|
|
27
|
+
}).passthrough().describe("Additional underlyings or deliverables associated with an options contract.");
|
|
28
28
|
const PolygonListOptionsContracts_OptionsContractSchema = z.object({
|
|
29
29
|
cfi: z.string().describe("The ISO 10962 Classification of Financial Instruments code.").nullable().optional(),
|
|
30
30
|
ticker: z.string().describe("The options contract ticker symbol.").nullable().optional(),
|
|
@@ -37,7 +37,7 @@ const PolygonListOptionsContracts_OptionsContractSchema = z.object({
|
|
|
37
37
|
underlying_ticker: z.string().describe("The underlying stock ticker that the option relates to.").nullable().optional(),
|
|
38
38
|
shares_per_contract: z.number().describe("The number of shares per contract.").nullable().optional(),
|
|
39
39
|
additional_underlyings: z.array(PolygonListOptionsContracts_AdditionalUnderlyingSchema).describe("Additional underlyings or deliverables (e.g., from corporate actions).").nullable().optional()
|
|
40
|
-
}).describe("Options contract details.");
|
|
40
|
+
}).passthrough().describe("Options contract details.");
|
|
41
41
|
const polygonListOptionsContracts = action("POLYGON_LIST_OPTIONS_CONTRACTS", {
|
|
42
42
|
slug: "polygon-list-options-contracts",
|
|
43
43
|
name: "List Options Contracts",
|
|
@@ -48,7 +48,7 @@ const polygonListOptionsContracts = action("POLYGON_LIST_OPTIONS_CONTRACTS", {
|
|
|
48
48
|
results: z.array(PolygonListOptionsContracts_OptionsContractSchema).describe("List of options contracts matching the filter criteria.").nullable().optional(),
|
|
49
49
|
next_url: z.string().describe("URL to fetch the next page of results. Use this for pagination.").nullable().optional(),
|
|
50
50
|
request_id: z.string().describe("A unique request identifier assigned by the server.").nullable().optional()
|
|
51
|
-
}).describe("Response containing a list of options contracts and pagination info.")
|
|
51
|
+
}).passthrough().describe("Response containing a list of options contracts and pagination info.")
|
|
52
52
|
});
|
|
53
53
|
//#endregion
|
|
54
54
|
export { polygonListOptionsContracts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-options-contracts.mjs","names":[],"sources":["../../src/actions/list-options-contracts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonListOptionsContractsInput = z.object({\n sort: z.string().describe(\"Field name to sort by (e.g., 'expiration_date', 'strike_price', 'ticker').\").optional(),\n as_of: z.string().describe(\"Specify a point in time for contracts as of this date (YYYY-MM-DD). Defaults to today.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (1-1000). Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order direction: 'asc' (ascending) or 'desc' (descending).\").optional(),\n expired: z.boolean().describe(\"Query expired contracts. Set to true to include expired contracts.\").optional(),\n strike_price: z.number().describe(\"Filter by exact strike price value.\").optional(),\n contract_type: z.enum([\"call\", \"put\"]).describe(\"Filter by contract type: 'call' or 'put'.\").optional(),\n expiration_date: z.string().describe(\"Filter by exact expiration date in YYYY-MM-DD format.\").optional(),\n strike_price_gt: z.number().describe(\"Filter for strike prices strictly greater than this value.\").optional(),\n strike_price_lt: z.number().describe(\"Filter for strike prices strictly less than this value.\").optional(),\n strike_price_gte: z.number().describe(\"Filter for strike prices greater than or equal to this value.\").optional(),\n strike_price_lte: z.number().describe(\"Filter for strike prices less than or equal to this value.\").optional(),\n underlying_ticker: z.string().describe(\"Query for contracts relating to an underlying stock ticker (e.g., 'AAPL', 'SPY').\").optional(),\n expiration_date_gt: z.string().describe(\"Filter for expiration dates strictly greater than this date (YYYY-MM-DD).\").optional(),\n expiration_date_lt: z.string().describe(\"Filter for expiration dates strictly less than this date (YYYY-MM-DD).\").optional(),\n expiration_date_gte: z.string().describe(\"Filter for expiration dates greater than or equal to this date (YYYY-MM-DD).\").optional(),\n expiration_date_lte: z.string().describe(\"Filter for expiration dates less than or equal to this date (YYYY-MM-DD).\").optional(),\n}).describe(\"Parameters to filter and enumerate options contracts.\");\nconst PolygonListOptionsContracts_AdditionalUnderlyingSchema = z.object({\n type: z.string().describe(\"The type of additional underlying.\").nullable().optional(),\n amount: z.number().describe(\"The amount of the additional underlying.\").nullable().optional(),\n underlying: z.string().describe(\"The ticker symbol of the additional underlying.\").nullable().optional(),\n}).describe(\"Additional underlyings or deliverables associated with an options contract.\");\nconst PolygonListOptionsContracts_OptionsContractSchema = z.object({\n cfi: z.string().describe(\"The ISO 10962 Classification of Financial Instruments code.\").nullable().optional(),\n ticker: z.string().describe(\"The options contract ticker symbol.\").nullable().optional(),\n correction: z.number().int().describe(\"The correction number for this option contract.\").nullable().optional(),\n strike_price: z.number().describe(\"The strike price of the option contract.\").nullable().optional(),\n contract_type: z.string().describe(\"The type of contract: 'call', 'put', or 'other'.\").nullable().optional(),\n exercise_style: z.string().describe(\"The exercise style: 'american', 'european', or 'bermudan'.\").nullable().optional(),\n expiration_date: z.string().describe(\"The expiration date in YYYY-MM-DD format.\").nullable().optional(),\n primary_exchange: z.string().describe(\"The MIC code of the primary exchange for this contract.\").nullable().optional(),\n underlying_ticker: z.string().describe(\"The underlying stock ticker that the option relates to.\").nullable().optional(),\n shares_per_contract: z.number().describe(\"The number of shares per contract.\").nullable().optional(),\n additional_underlyings: z.array(PolygonListOptionsContracts_AdditionalUnderlyingSchema).describe(\"Additional underlyings or deliverables (e.g., from corporate actions).\").nullable().optional(),\n}).describe(\"Options contract details.\");\nexport const PolygonListOptionsContractsOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonListOptionsContracts_OptionsContractSchema).describe(\"List of options contracts matching the filter criteria.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results. Use this for pagination.\").nullable().optional(),\n request_id: z.string().describe(\"A unique request identifier assigned by the server.\").nullable().optional(),\n}).describe(\"Response containing a list of options contracts and pagination info.\");\n\nexport const polygonListOptionsContracts = action(\"POLYGON_LIST_OPTIONS_CONTRACTS\", {\n slug: \"polygon-list-options-contracts\",\n name: \"List Options Contracts\",\n description: \"Tool to list and filter options contracts by underlying ticker, type, expiration, strike, and more. Use when you need to enumerate an options chain or find specific contracts matching criteria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BAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAClI,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,yDAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,6EAA6E;
|
|
1
|
+
{"version":3,"file":"list-options-contracts.mjs","names":[],"sources":["../../src/actions/list-options-contracts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonListOptionsContractsInput = z.object({\n sort: z.string().describe(\"Field name to sort by (e.g., 'expiration_date', 'strike_price', 'ticker').\").optional(),\n as_of: z.string().describe(\"Specify a point in time for contracts as of this date (YYYY-MM-DD). Defaults to today.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (1-1000). Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order direction: 'asc' (ascending) or 'desc' (descending).\").optional(),\n expired: z.boolean().describe(\"Query expired contracts. Set to true to include expired contracts.\").optional(),\n strike_price: z.number().describe(\"Filter by exact strike price value.\").optional(),\n contract_type: z.enum([\"call\", \"put\"]).describe(\"Filter by contract type: 'call' or 'put'.\").optional(),\n expiration_date: z.string().describe(\"Filter by exact expiration date in YYYY-MM-DD format.\").optional(),\n strike_price_gt: z.number().describe(\"Filter for strike prices strictly greater than this value.\").optional(),\n strike_price_lt: z.number().describe(\"Filter for strike prices strictly less than this value.\").optional(),\n strike_price_gte: z.number().describe(\"Filter for strike prices greater than or equal to this value.\").optional(),\n strike_price_lte: z.number().describe(\"Filter for strike prices less than or equal to this value.\").optional(),\n underlying_ticker: z.string().describe(\"Query for contracts relating to an underlying stock ticker (e.g., 'AAPL', 'SPY').\").optional(),\n expiration_date_gt: z.string().describe(\"Filter for expiration dates strictly greater than this date (YYYY-MM-DD).\").optional(),\n expiration_date_lt: z.string().describe(\"Filter for expiration dates strictly less than this date (YYYY-MM-DD).\").optional(),\n expiration_date_gte: z.string().describe(\"Filter for expiration dates greater than or equal to this date (YYYY-MM-DD).\").optional(),\n expiration_date_lte: z.string().describe(\"Filter for expiration dates less than or equal to this date (YYYY-MM-DD).\").optional(),\n}).describe(\"Parameters to filter and enumerate options contracts.\");\nconst PolygonListOptionsContracts_AdditionalUnderlyingSchema = z.object({\n type: z.string().describe(\"The type of additional underlying.\").nullable().optional(),\n amount: z.number().describe(\"The amount of the additional underlying.\").nullable().optional(),\n underlying: z.string().describe(\"The ticker symbol of the additional underlying.\").nullable().optional(),\n}).passthrough().describe(\"Additional underlyings or deliverables associated with an options contract.\");\nconst PolygonListOptionsContracts_OptionsContractSchema = z.object({\n cfi: z.string().describe(\"The ISO 10962 Classification of Financial Instruments code.\").nullable().optional(),\n ticker: z.string().describe(\"The options contract ticker symbol.\").nullable().optional(),\n correction: z.number().int().describe(\"The correction number for this option contract.\").nullable().optional(),\n strike_price: z.number().describe(\"The strike price of the option contract.\").nullable().optional(),\n contract_type: z.string().describe(\"The type of contract: 'call', 'put', or 'other'.\").nullable().optional(),\n exercise_style: z.string().describe(\"The exercise style: 'american', 'european', or 'bermudan'.\").nullable().optional(),\n expiration_date: z.string().describe(\"The expiration date in YYYY-MM-DD format.\").nullable().optional(),\n primary_exchange: z.string().describe(\"The MIC code of the primary exchange for this contract.\").nullable().optional(),\n underlying_ticker: z.string().describe(\"The underlying stock ticker that the option relates to.\").nullable().optional(),\n shares_per_contract: z.number().describe(\"The number of shares per contract.\").nullable().optional(),\n additional_underlyings: z.array(PolygonListOptionsContracts_AdditionalUnderlyingSchema).describe(\"Additional underlyings or deliverables (e.g., from corporate actions).\").nullable().optional(),\n}).passthrough().describe(\"Options contract details.\");\nexport const PolygonListOptionsContractsOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonListOptionsContracts_OptionsContractSchema).describe(\"List of options contracts matching the filter criteria.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results. Use this for pagination.\").nullable().optional(),\n request_id: z.string().describe(\"A unique request identifier assigned by the server.\").nullable().optional(),\n}).passthrough().describe(\"Response containing a list of options contracts and pagination info.\");\n\nexport const polygonListOptionsContracts = action(\"POLYGON_LIST_OPTIONS_CONTRACTS\", {\n slug: \"polygon-list-options-contracts\",\n name: \"List Options Contracts\",\n description: \"Tool to list and filter options contracts by underlying ticker, type, expiration, strike, and more. Use when you need to enumerate an options chain or find specific contracts matching criteria.\",\n input: PolygonListOptionsContractsInput,\n output: PolygonListOptionsContractsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC9H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,C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