@keystrokehq/polygon_io 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/get-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-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-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 +2 -2
- package/dist/actions/get-crypto-open-close.cjs.map +1 -1
- package/dist/actions/get-crypto-open-close.d.cts +3 -3
- package/dist/actions/get-crypto-open-close.d.mts +3 -3
- package/dist/actions/get-crypto-open-close.mjs +2 -2
- package/dist/actions/get-crypto-open-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-daily-open-close.cjs +1 -1
- package/dist/actions/get-daily-open-close.cjs.map +1 -1
- package/dist/actions/get-daily-open-close.d.cts +1 -1
- package/dist/actions/get-daily-open-close.d.mts +1 -1
- package/dist/actions/get-daily-open-close.mjs +1 -1
- package/dist/actions/get-daily-open-close.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-inflation2.cjs +2 -2
- package/dist/actions/get-economy-inflation2.cjs.map +1 -1
- package/dist/actions/get-economy-inflation2.d.cts +2 -2
- package/dist/actions/get-economy-inflation2.d.mts +2 -2
- package/dist/actions/get-economy-inflation2.mjs +2 -2
- package/dist/actions/get-economy-inflation2.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 +2 -2
- package/dist/actions/get-filing-file.cjs.map +1 -1
- package/dist/actions/get-filing-file.d.cts +2 -2
- package/dist/actions/get-filing-file.d.mts +2 -2
- package/dist/actions/get-filing-file.mjs +2 -2
- 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-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-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-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-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-grouped-daily.cjs +2 -2
- package/dist/actions/get-grouped-daily.cjs.map +1 -1
- package/dist/actions/get-grouped-daily.d.cts +2 -2
- package/dist/actions/get-grouped-daily.d.mts +2 -2
- package/dist/actions/get-grouped-daily.mjs +2 -2
- package/dist/actions/get-grouped-daily.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-labor-market.cjs +2 -2
- package/dist/actions/get-labor-market.cjs.map +1 -1
- package/dist/actions/get-labor-market.d.cts +2 -2
- package/dist/actions/get-labor-market.d.mts +2 -2
- package/dist/actions/get-labor-market.mjs +2 -2
- package/dist/actions/get-labor-market.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-holidays.cjs +2 -2
- package/dist/actions/get-market-holidays.cjs.map +1 -1
- package/dist/actions/get-market-holidays.d.cts +2 -2
- package/dist/actions/get-market-holidays.d.mts +2 -2
- package/dist/actions/get-market-holidays.mjs +2 -2
- package/dist/actions/get-market-holidays.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-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-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-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-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-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-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-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-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-stocks-filings-risk-factors.cjs +2 -2
- package/dist/actions/get-stocks-filings-risk-factors.cjs.map +1 -1
- package/dist/actions/get-stocks-filings-risk-factors.d.cts +2 -2
- package/dist/actions/get-stocks-filings-risk-factors.d.mts +2 -2
- package/dist/actions/get-stocks-filings-risk-factors.mjs +2 -2
- package/dist/actions/get-stocks-filings-risk-factors.mjs.map +1 -1
- package/dist/actions/get-stocks-filings-sections.cjs +2 -2
- package/dist/actions/get-stocks-filings-sections.cjs.map +1 -1
- package/dist/actions/get-stocks-filings-sections.d.cts +2 -2
- package/dist/actions/get-stocks-filings-sections.d.mts +2 -2
- package/dist/actions/get-stocks-filings-sections.mjs +2 -2
- package/dist/actions/get-stocks-filings-sections.mjs.map +1 -1
- package/dist/actions/get-stocks-free-float.cjs +2 -2
- package/dist/actions/get-stocks-free-float.cjs.map +1 -1
- package/dist/actions/get-stocks-free-float.d.cts +2 -2
- package/dist/actions/get-stocks-free-float.d.mts +2 -2
- package/dist/actions/get-stocks-free-float.mjs +2 -2
- package/dist/actions/get-stocks-free-float.mjs.map +1 -1
- package/dist/actions/get-stocks-full-market-snapshot.cjs +6 -6
- package/dist/actions/get-stocks-full-market-snapshot.cjs.map +1 -1
- package/dist/actions/get-stocks-full-market-snapshot.d.cts +7 -7
- package/dist/actions/get-stocks-full-market-snapshot.d.mts +7 -7
- package/dist/actions/get-stocks-full-market-snapshot.mjs +6 -6
- package/dist/actions/get-stocks-full-market-snapshot.mjs.map +1 -1
- package/dist/actions/get-stocks-income-statements.cjs +5 -5
- package/dist/actions/get-stocks-income-statements.cjs.map +1 -1
- package/dist/actions/get-stocks-income-statements.d.cts +26 -26
- package/dist/actions/get-stocks-income-statements.d.mts +26 -26
- package/dist/actions/get-stocks-income-statements.mjs +5 -5
- package/dist/actions/get-stocks-income-statements.mjs.map +1 -1
- package/dist/actions/get-stocks-previous-day-bar.cjs +2 -2
- package/dist/actions/get-stocks-previous-day-bar.cjs.map +1 -1
- package/dist/actions/get-stocks-previous-day-bar.d.cts +2 -2
- package/dist/actions/get-stocks-previous-day-bar.d.mts +2 -2
- package/dist/actions/get-stocks-previous-day-bar.mjs +2 -2
- package/dist/actions/get-stocks-previous-day-bar.mjs.map +1 -1
- package/dist/actions/get-stocks-risk-factor-taxonomies.cjs +2 -2
- package/dist/actions/get-stocks-risk-factor-taxonomies.cjs.map +1 -1
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.cts +2 -2
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.mts +2 -2
- package/dist/actions/get-stocks-risk-factor-taxonomies.mjs +2 -2
- package/dist/actions/get-stocks-risk-factor-taxonomies.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-dividends.cjs +2 -2
- package/dist/actions/get-stocks-v1-dividends.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-dividends.d.cts +2 -2
- package/dist/actions/get-stocks-v1-dividends.d.mts +2 -2
- package/dist/actions/get-stocks-v1-dividends.mjs +2 -2
- package/dist/actions/get-stocks-v1-dividends.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-interest.cjs +2 -2
- package/dist/actions/get-stocks-v1-short-interest.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-interest.d.cts +2 -2
- package/dist/actions/get-stocks-v1-short-interest.d.mts +2 -2
- package/dist/actions/get-stocks-v1-short-interest.mjs +2 -2
- package/dist/actions/get-stocks-v1-short-interest.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-volume.cjs +2 -2
- package/dist/actions/get-stocks-v1-short-volume.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-volume.d.cts +2 -2
- package/dist/actions/get-stocks-v1-short-volume.d.mts +2 -2
- package/dist/actions/get-stocks-v1-short-volume.mjs +2 -2
- package/dist/actions/get-stocks-v1-short-volume.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-splits.cjs +2 -2
- package/dist/actions/get-stocks-v1-splits.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-splits.d.cts +2 -2
- package/dist/actions/get-stocks-v1-splits.d.mts +2 -2
- package/dist/actions/get-stocks-v1-splits.mjs +2 -2
- package/dist/actions/get-stocks-v1-splits.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-overview.cjs +4 -4
- package/dist/actions/get-ticker-overview.cjs.map +1 -1
- package/dist/actions/get-ticker-overview.d.cts +4 -4
- package/dist/actions/get-ticker-overview.d.mts +4 -4
- package/dist/actions/get-ticker-overview.mjs +4 -4
- package/dist/actions/get-ticker-overview.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/list-exchanges.cjs +2 -2
- package/dist/actions/list-exchanges.cjs.map +1 -1
- package/dist/actions/list-exchanges.d.cts +2 -2
- package/dist/actions/list-exchanges.d.mts +2 -2
- package/dist/actions/list-exchanges.mjs +2 -2
- package/dist/actions/list-exchanges.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-filings.cjs +4 -4
- package/dist/actions/list-filings.cjs.map +1 -1
- package/dist/actions/list-filings.d.cts +4 -4
- package/dist/actions/list-filings.d.mts +4 -4
- package/dist/actions/list-filings.mjs +4 -4
- package/dist/actions/list-filings.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/polygon-last-quote-for-a-symbol.cjs +2 -2
- package/dist/actions/polygon-last-quote-for-a-symbol.cjs.map +1 -1
- package/dist/actions/polygon-last-quote-for-a-symbol.d.cts +2 -2
- package/dist/actions/polygon-last-quote-for-a-symbol.d.mts +2 -2
- package/dist/actions/polygon-last-quote-for-a-symbol.mjs +2 -2
- package/dist/actions/polygon-last-quote-for-a-symbol.mjs.map +1 -1
- package/dist/actions/polygon-last-trade-for-a-currency-pair.cjs +2 -2
- package/dist/actions/polygon-last-trade-for-a-currency-pair.cjs.map +1 -1
- package/dist/actions/polygon-last-trade-for-a-currency-pair.d.cts +2 -2
- package/dist/actions/polygon-last-trade-for-a-currency-pair.d.mts +2 -2
- package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs +2 -2
- package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ const PolygonIoGetGroupedDaily_AggregateItemSchema = z.object({
|
|
|
22
22
|
v: z.number().describe("Trading volume of the symbol in the given time period").nullable(),
|
|
23
23
|
vw: z.number().describe("Volume weighted average price (VWAP)").nullable().optional(),
|
|
24
24
|
otc: z.boolean().describe("Whether this aggregate is for an OTC ticker. Field is omitted if false.").nullable().optional()
|
|
25
|
-
}).describe("Aggregate OHLCV data for a single ticker.");
|
|
25
|
+
}).passthrough().describe("Aggregate OHLCV data for a single ticker.");
|
|
26
26
|
const polygonIoGetGroupedDaily = action("POLYGON_IO_GET_GROUPED_DAILY", {
|
|
27
27
|
slug: "polygon_io-get-grouped-daily",
|
|
28
28
|
name: "Get Grouped Daily Market Summary",
|
|
@@ -35,7 +35,7 @@ const polygonIoGetGroupedDaily = action("POLYGON_IO_GET_GROUPED_DAILY", {
|
|
|
35
35
|
queryCount: z.number().int().describe("Number of aggregates used to generate the response").nullable(),
|
|
36
36
|
request_id: z.string().describe("Request ID assigned by the server").nullable(),
|
|
37
37
|
resultsCount: z.number().int().describe("Total number of results for this request").nullable()
|
|
38
|
-
}).describe("Response containing grouped daily bars for the entire market.")
|
|
38
|
+
}).passthrough().describe("Response containing grouped daily bars for the entire market.")
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { polygonIoGetGroupedDaily };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-grouped-daily.mjs","names":[],"sources":["../../src/actions/get-grouped-daily.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetGroupedDailyInput = z.object({\n date: z.string().describe(\"The date to get aggregate bars for in YYYY-MM-DD format (e.g., '2026-02-13').\"),\n locale: z.enum([\"us\", \"global\"]).describe(\"The locale of the aggregates. Specify 'us' for US market or 'global' for global markets.\"),\n market: z.enum([\"stocks\", \"crypto\", \"fx\"]).describe(\"The market type. Options are 'stocks', 'crypto', or 'fx'.\"),\n adjusted: z.boolean().default(true).describe(\"Whether results are adjusted for splits. Set to false for unadjusted results. Defaults to true.\").optional(),\n}).describe(\"Parameters for retrieving grouped daily OHLCV data for an entire market.\");\nconst PolygonIoGetGroupedDaily_AggregateItemSchema = z.object({\n T: z.string().describe(\"Ticker symbol / exchange symbol\").nullable(),\n c: z.number().describe(\"Close price for the symbol in the given time period\").nullable(),\n h: z.number().describe(\"Highest price for the symbol in the given time period\").nullable(),\n l: z.number().describe(\"Lowest price for the symbol in the given time period\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the aggregate window\").nullable().optional(),\n o: z.number().describe(\"Open price for the symbol in the given time period\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for the end of the aggregate window\").nullable(),\n v: z.number().describe(\"Trading volume of the symbol in the given time period\").nullable(),\n vw: z.number().describe(\"Volume weighted average price (VWAP)\").nullable().optional(),\n otc: z.boolean().describe(\"Whether this aggregate is for an OTC ticker. Field is omitted if false.\").nullable().optional(),\n}).describe(\"Aggregate OHLCV data for a single ticker.\");\nexport const PolygonIoGetGroupedDailyOutput = z.object({\n status: z.string().describe(\"Status of this request's response (e.g., 'OK')\").nullable(),\n results: z.array(PolygonIoGetGroupedDaily_AggregateItemSchema).describe(\"Array of aggregate data objects for each ticker. May be empty if no data is available for the given date.\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether this response was adjusted for splits\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate the response\").nullable(),\n request_id: z.string().describe(\"Request ID assigned by the server\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results for this request\").nullable(),\n}).describe(\"Response containing grouped daily bars for the entire market.\");\n\nexport const polygonIoGetGroupedDaily = action(\"POLYGON_IO_GET_GROUPED_DAILY\", {\n slug: \"polygon_io-get-grouped-daily\",\n name: \"Get Grouped Daily Market Summary\",\n description: \"Tool to retrieve daily OHLCV data for the entire market for a given date. Use when you need grouped daily aggregate bars for all tickers in a specific market (stocks, crypto, or fx) and locale.\",\n input: PolygonIoGetGroupedDailyInput,\n output: PolygonIoGetGroupedDailyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACzG,QAAQ,EAAE,KAAK,CAAC,MAAM,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F;CACpI,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAU;CAAI,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAC/G,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACvF,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzF,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACxF,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtF,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACxG,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"get-grouped-daily.mjs","names":[],"sources":["../../src/actions/get-grouped-daily.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetGroupedDailyInput = z.object({\n date: z.string().describe(\"The date to get aggregate bars for in YYYY-MM-DD format (e.g., '2026-02-13').\"),\n locale: z.enum([\"us\", \"global\"]).describe(\"The locale of the aggregates. Specify 'us' for US market or 'global' for global markets.\"),\n market: z.enum([\"stocks\", \"crypto\", \"fx\"]).describe(\"The market type. Options are 'stocks', 'crypto', or 'fx'.\"),\n adjusted: z.boolean().default(true).describe(\"Whether results are adjusted for splits. Set to false for unadjusted results. Defaults to true.\").optional(),\n}).describe(\"Parameters for retrieving grouped daily OHLCV data for an entire market.\");\nconst PolygonIoGetGroupedDaily_AggregateItemSchema = z.object({\n T: z.string().describe(\"Ticker symbol / exchange symbol\").nullable(),\n c: z.number().describe(\"Close price for the symbol in the given time period\").nullable(),\n h: z.number().describe(\"Highest price for the symbol in the given time period\").nullable(),\n l: z.number().describe(\"Lowest price for the symbol in the given time period\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the aggregate window\").nullable().optional(),\n o: z.number().describe(\"Open price for the symbol in the given time period\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for the end of the aggregate window\").nullable(),\n v: z.number().describe(\"Trading volume of the symbol in the given time period\").nullable(),\n vw: z.number().describe(\"Volume weighted average price (VWAP)\").nullable().optional(),\n otc: z.boolean().describe(\"Whether this aggregate is for an OTC ticker. Field is omitted if false.\").nullable().optional(),\n}).passthrough().describe(\"Aggregate OHLCV data for a single ticker.\");\nexport const PolygonIoGetGroupedDailyOutput = z.object({\n status: z.string().describe(\"Status of this request's response (e.g., 'OK')\").nullable(),\n results: z.array(PolygonIoGetGroupedDaily_AggregateItemSchema).describe(\"Array of aggregate data objects for each ticker. May be empty if no data is available for the given date.\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether this response was adjusted for splits\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate the response\").nullable(),\n request_id: z.string().describe(\"Request ID assigned by the server\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results for this request\").nullable(),\n}).passthrough().describe(\"Response containing grouped daily bars for the entire market.\");\n\nexport const polygonIoGetGroupedDaily = action(\"POLYGON_IO_GET_GROUPED_DAILY\", {\n slug: \"polygon_io-get-grouped-daily\",\n name: \"Get Grouped Daily Market Summary\",\n description: \"Tool to retrieve daily OHLCV data for the entire market for a given date. Use when you need grouped daily aggregate bars for all tickers in a specific market (stocks, crypto, or fx) and locale.\",\n input: PolygonIoGetGroupedDailyInput,\n output: PolygonIoGetGroupedDailyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACzG,QAAQ,EAAE,KAAK,CAAC,MAAM,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F;CACpI,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAU;CAAI,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAC/G,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACvF,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CA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/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
|
|
@@ -12,14 +12,14 @@ const PolygonIoGetHistoricForexTicks_ForexTickSchema = zod.z.object({
|
|
|
12
12
|
a: zod.z.number().int().describe("Ask price.").nullable().optional(),
|
|
13
13
|
b: zod.z.number().int().describe("Bid price.").nullable().optional(),
|
|
14
14
|
t: zod.z.number().int().describe("Trade timestamp in Unix milliseconds.").nullable().optional()
|
|
15
|
-
}).describe("Individual forex tick data.");
|
|
15
|
+
}).passthrough().describe("Individual forex tick data.");
|
|
16
16
|
const PolygonIoGetHistoricForexTicksOutput = zod.z.object({
|
|
17
17
|
day: zod.z.string().describe("The evaluated date from the request.").nullable().optional(),
|
|
18
18
|
ticks: zod.z.array(PolygonIoGetHistoricForexTicks_ForexTickSchema).describe("Collection of Forex tick objects.").nullable().optional(),
|
|
19
19
|
status: zod.z.string().describe("Request response status indicator.").nullable().optional(),
|
|
20
20
|
symbol: zod.z.string().describe("The currency pair evaluated from the request.").nullable().optional(),
|
|
21
21
|
msLatency: zod.z.number().int().describe("Query response latency measured in milliseconds.").nullable().optional()
|
|
22
|
-
}).describe("Response containing historic forex tick data.");
|
|
22
|
+
}).passthrough().describe("Response containing historic forex tick data.");
|
|
23
23
|
const polygonIoGetHistoricForexTicks = require_action.action("POLYGON_IO_GET_HISTORIC_FOREX_TICKS", {
|
|
24
24
|
slug: "polygon_io-get-historic-forex-ticks",
|
|
25
25
|
name: "Get Historic Forex Ticks",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-historic-forex-ticks.cjs","names":["z","action"],"sources":["../../src/actions/get-historic-forex-ticks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetHistoricForexTicksInput = z.object({\n date: z.string().describe(\"The specific day for which to retrieve historical tick data in YYYY-MM-DD or YYYY-M-D format (e.g., '2017-6-22', '2024-01-15').\"),\n limit: z.number().int().describe(\"Controls response size; defaults to 100, maximum of 10,000 entries.\").optional(),\n offset: z.number().int().describe(\"Pagination mechanism using timestamp offset to fetch the next set of results.\").optional(),\n to_currency: z.string().describe(\"The 'to' currency symbol (quote currency) in the pair (e.g., 'JPY', 'USD', 'EUR').\"),\n from_currency: z.string().describe(\"The 'from' currency symbol (base currency) in the pair (e.g., 'USD', 'EUR', 'GBP').\"),\n}).describe(\"Parameters for retrieving historic forex ticks for a currency pair.\");\nconst PolygonIoGetHistoricForexTicks_ForexTickSchema = z.object({\n a: z.number().int().describe(\"Ask price.\").nullable().optional(),\n b: z.number().int().describe(\"Bid price.\").nullable().optional(),\n t: z.number().int().describe(\"Trade timestamp in Unix milliseconds.\").nullable().optional(),\n}).describe(\"Individual forex tick data.\");\nexport const PolygonIoGetHistoricForexTicksOutput = z.object({\n day: z.string().describe(\"The evaluated date from the request.\").nullable().optional(),\n ticks: z.array(PolygonIoGetHistoricForexTicks_ForexTickSchema).describe(\"Collection of Forex tick objects.\").nullable().optional(),\n status: z.string().describe(\"Request response status indicator.\").nullable().optional(),\n symbol: z.string().describe(\"The currency pair evaluated from the request.\").nullable().optional(),\n msLatency: z.number().int().describe(\"Query response latency measured in milliseconds.\").nullable().optional(),\n}).describe(\"Response containing historic forex tick data.\");\n\nexport const polygonIoGetHistoricForexTicks = action(\"POLYGON_IO_GET_HISTORIC_FOREX_TICKS\", {\n slug: \"polygon_io-get-historic-forex-ticks\",\n name: \"Get Historic Forex Ticks\",\n description: \"Tool to get historic ticks for a currency pair on a specific date. Use when you need historical forex tick-level data (ask/bid prices with timestamps) for a given day.\",\n input: PolygonIoGetHistoricForexTicksInput,\n output: PolygonIoGetHistoricForexTicksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CAC3J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;AAC1H,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,6BAA6B;
|
|
1
|
+
{"version":3,"file":"get-historic-forex-ticks.cjs","names":["z","action"],"sources":["../../src/actions/get-historic-forex-ticks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetHistoricForexTicksInput = z.object({\n date: z.string().describe(\"The specific day for which to retrieve historical tick data in YYYY-MM-DD or YYYY-M-D format (e.g., '2017-6-22', '2024-01-15').\"),\n limit: z.number().int().describe(\"Controls response size; defaults to 100, maximum of 10,000 entries.\").optional(),\n offset: z.number().int().describe(\"Pagination mechanism using timestamp offset to fetch the next set of results.\").optional(),\n to_currency: z.string().describe(\"The 'to' currency symbol (quote currency) in the pair (e.g., 'JPY', 'USD', 'EUR').\"),\n from_currency: z.string().describe(\"The 'from' currency symbol (base currency) in the pair (e.g., 'USD', 'EUR', 'GBP').\"),\n}).describe(\"Parameters for retrieving historic forex ticks for a currency pair.\");\nconst PolygonIoGetHistoricForexTicks_ForexTickSchema = z.object({\n a: z.number().int().describe(\"Ask price.\").nullable().optional(),\n b: z.number().int().describe(\"Bid price.\").nullable().optional(),\n t: z.number().int().describe(\"Trade timestamp in Unix milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Individual forex tick data.\");\nexport const PolygonIoGetHistoricForexTicksOutput = z.object({\n day: z.string().describe(\"The evaluated date from the request.\").nullable().optional(),\n ticks: z.array(PolygonIoGetHistoricForexTicks_ForexTickSchema).describe(\"Collection of Forex tick objects.\").nullable().optional(),\n status: z.string().describe(\"Request response status indicator.\").nullable().optional(),\n symbol: z.string().describe(\"The currency pair evaluated from the request.\").nullable().optional(),\n msLatency: z.number().int().describe(\"Query response latency measured in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Response containing historic forex tick data.\");\n\nexport const polygonIoGetHistoricForexTicks = action(\"POLYGON_IO_GET_HISTORIC_FOREX_TICKS\", {\n slug: \"polygon_io-get-historic-forex-ticks\",\n name: \"Get Historic Forex Ticks\",\n description: \"Tool to get historic ticks for a currency pair on a specific date. Use when you need historical forex tick-level data (ask/bid prices with timestamps) for a given day.\",\n input: PolygonIoGetHistoricForexTicksInput,\n output: PolygonIoGetHistoricForexTicksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CAC3J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF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HistoricForexTicksOutput: z.ZodObject<{
|
|
|
14
14
|
a: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
b: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
t: 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
20
|
msLatency: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const polygonIoGetHistoricForexTicks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
date: string;
|
|
24
24
|
to_currency: string;
|
|
@@ -14,11 +14,11 @@ declare const PolygonIoGetHistoricForexTicksOutput: z.ZodObject<{
|
|
|
14
14
|
a: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
b: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
16
|
t: 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
20
|
msLatency: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const polygonIoGetHistoricForexTicks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
date: string;
|
|
24
24
|
to_currency: string;
|
|
@@ -12,7 +12,7 @@ const PolygonIoGetHistoricForexTicks_ForexTickSchema = z.object({
|
|
|
12
12
|
a: z.number().int().describe("Ask price.").nullable().optional(),
|
|
13
13
|
b: z.number().int().describe("Bid price.").nullable().optional(),
|
|
14
14
|
t: z.number().int().describe("Trade timestamp in Unix milliseconds.").nullable().optional()
|
|
15
|
-
}).describe("Individual forex tick data.");
|
|
15
|
+
}).passthrough().describe("Individual forex tick data.");
|
|
16
16
|
const polygonIoGetHistoricForexTicks = action("POLYGON_IO_GET_HISTORIC_FOREX_TICKS", {
|
|
17
17
|
slug: "polygon_io-get-historic-forex-ticks",
|
|
18
18
|
name: "Get Historic Forex Ticks",
|
|
@@ -24,7 +24,7 @@ const polygonIoGetHistoricForexTicks = action("POLYGON_IO_GET_HISTORIC_FOREX_TIC
|
|
|
24
24
|
status: z.string().describe("Request response status indicator.").nullable().optional(),
|
|
25
25
|
symbol: z.string().describe("The currency pair evaluated from the request.").nullable().optional(),
|
|
26
26
|
msLatency: z.number().int().describe("Query response latency measured in milliseconds.").nullable().optional()
|
|
27
|
-
}).describe("Response containing historic forex tick data.")
|
|
27
|
+
}).passthrough().describe("Response containing historic forex tick data.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { polygonIoGetHistoricForexTicks };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-historic-forex-ticks.mjs","names":[],"sources":["../../src/actions/get-historic-forex-ticks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetHistoricForexTicksInput = z.object({\n date: z.string().describe(\"The specific day for which to retrieve historical tick data in YYYY-MM-DD or YYYY-M-D format (e.g., '2017-6-22', '2024-01-15').\"),\n limit: z.number().int().describe(\"Controls response size; defaults to 100, maximum of 10,000 entries.\").optional(),\n offset: z.number().int().describe(\"Pagination mechanism using timestamp offset to fetch the next set of results.\").optional(),\n to_currency: z.string().describe(\"The 'to' currency symbol (quote currency) in the pair (e.g., 'JPY', 'USD', 'EUR').\"),\n from_currency: z.string().describe(\"The 'from' currency symbol (base currency) in the pair (e.g., 'USD', 'EUR', 'GBP').\"),\n}).describe(\"Parameters for retrieving historic forex ticks for a currency pair.\");\nconst PolygonIoGetHistoricForexTicks_ForexTickSchema = z.object({\n a: z.number().int().describe(\"Ask price.\").nullable().optional(),\n b: z.number().int().describe(\"Bid price.\").nullable().optional(),\n t: z.number().int().describe(\"Trade timestamp in Unix milliseconds.\").nullable().optional(),\n}).describe(\"Individual forex tick data.\");\nexport const PolygonIoGetHistoricForexTicksOutput = z.object({\n day: z.string().describe(\"The evaluated date from the request.\").nullable().optional(),\n ticks: z.array(PolygonIoGetHistoricForexTicks_ForexTickSchema).describe(\"Collection of Forex tick objects.\").nullable().optional(),\n status: z.string().describe(\"Request response status indicator.\").nullable().optional(),\n symbol: z.string().describe(\"The currency pair evaluated from the request.\").nullable().optional(),\n msLatency: z.number().int().describe(\"Query response latency measured in milliseconds.\").nullable().optional(),\n}).describe(\"Response containing historic forex tick data.\");\n\nexport const polygonIoGetHistoricForexTicks = action(\"POLYGON_IO_GET_HISTORIC_FOREX_TICKS\", {\n slug: \"polygon_io-get-historic-forex-ticks\",\n name: \"Get Historic Forex Ticks\",\n description: \"Tool to get historic ticks for a currency pair on a specific date. Use when you need historical forex tick-level data (ask/bid prices with timestamps) for a given day.\",\n input: PolygonIoGetHistoricForexTicksInput,\n output: PolygonIoGetHistoricForexTicksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CAC3J,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACrH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;AAC1H,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iDAAiD,EAAE,OAAO;CAC9D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,6BAA6B;
|
|
1
|
+
{"version":3,"file":"get-historic-forex-ticks.mjs","names":[],"sources":["../../src/actions/get-historic-forex-ticks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetHistoricForexTicksInput = z.object({\n date: z.string().describe(\"The specific day for which to retrieve historical tick data in YYYY-MM-DD or YYYY-M-D format (e.g., '2017-6-22', '2024-01-15').\"),\n limit: z.number().int().describe(\"Controls response size; defaults to 100, maximum of 10,000 entries.\").optional(),\n offset: z.number().int().describe(\"Pagination mechanism using timestamp offset to fetch the next set of results.\").optional(),\n to_currency: z.string().describe(\"The 'to' currency symbol (quote currency) in the pair (e.g., 'JPY', 'USD', 'EUR').\"),\n from_currency: z.string().describe(\"The 'from' currency symbol (base currency) in the pair (e.g., 'USD', 'EUR', 'GBP').\"),\n}).describe(\"Parameters for retrieving historic forex ticks for a currency pair.\");\nconst PolygonIoGetHistoricForexTicks_ForexTickSchema = z.object({\n a: z.number().int().describe(\"Ask price.\").nullable().optional(),\n b: z.number().int().describe(\"Bid price.\").nullable().optional(),\n t: z.number().int().describe(\"Trade timestamp in Unix milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Individual forex tick data.\");\nexport const PolygonIoGetHistoricForexTicksOutput = z.object({\n day: z.string().describe(\"The evaluated date from the request.\").nullable().optional(),\n ticks: z.array(PolygonIoGetHistoricForexTicks_ForexTickSchema).describe(\"Collection of Forex tick objects.\").nullable().optional(),\n status: z.string().describe(\"Request response status indicator.\").nullable().optional(),\n symbol: z.string().describe(\"The currency pair evaluated from the request.\").nullable().optional(),\n msLatency: z.number().int().describe(\"Query response latency measured in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Response containing historic forex tick data.\");\n\nexport const polygonIoGetHistoricForexTicks = action(\"POLYGON_IO_GET_HISTORIC_FOREX_TICKS\", {\n slug: \"polygon_io-get-historic-forex-ticks\",\n name: \"Get Historic Forex Ticks\",\n description: \"Tool to get historic ticks for a currency pair on a specific date. Use when you need historical forex tick-level data (ask/bid prices with timestamps) for a given day.\",\n input: PolygonIoGetHistoricForexTicksInput,\n output: PolygonIoGetHistoricForexTicksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CAC3J,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CACrH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;AAC1H,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iDAAiD,EAAE,OAAO;CAC9D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AASvD,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkD,EAAE,OAAO;EAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -20,14 +20,14 @@ const PolygonIoGetInflationExpectations_InflationExpectationSchema = zod.z.objec
|
|
|
20
20
|
model_30_year: zod.z.number().describe("Cleveland Fed's 30-year inflation expectation model estimate.").nullable().optional(),
|
|
21
21
|
market_10_year: zod.z.number().describe("10-year breakeven inflation rate derived from Treasury and TIPS yields.").nullable().optional(),
|
|
22
22
|
forward_years_5_to_10: zod.z.number().describe("5-Year, 5-Year Forward Inflation Expectation Rate based on forward yields.").nullable().optional()
|
|
23
|
-
}).describe("Represents a single inflation expectations data point.");
|
|
23
|
+
}).passthrough().describe("Represents a single inflation expectations data point.");
|
|
24
24
|
const PolygonIoGetInflationExpectationsOutput = zod.z.object({
|
|
25
25
|
count: zod.z.number().int().describe("Number of results returned in this response.").nullable().optional(),
|
|
26
26
|
status: zod.z.string().describe("Response status (e.g., 'OK').").nullable().optional(),
|
|
27
27
|
results: zod.z.array(PolygonIoGetInflationExpectations_InflationExpectationSchema).describe("List of inflation expectations data points.").nullable().optional(),
|
|
28
28
|
next_url: zod.z.string().describe("URL to fetch the next page of results, if any.").nullable().optional(),
|
|
29
29
|
request_id: zod.z.string().describe("Server-assigned request identifier.").nullable().optional()
|
|
30
|
-
}).describe("Response containing inflation expectations data from the Federal Reserve.");
|
|
30
|
+
}).passthrough().describe("Response containing inflation expectations data from the Federal Reserve.");
|
|
31
31
|
const polygonIoGetInflationExpectations = require_action.action("POLYGON_IO_GET_INFLATION_EXPECTATIONS", {
|
|
32
32
|
slug: "polygon_io-get-inflation-expectations",
|
|
33
33
|
name: "Get Inflation Expectations",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-inflation-expectations.cjs","names":["z","action"],"sources":["../../src/actions/get-inflation-expectations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetInflationExpectationsInput = z.object({\n date: z.string().describe(\"Filter by specific observation date (YYYY-MM-DD format).\").optional(),\n sort: z.string().describe(\"Comma-separated list of sort columns with .asc or .desc suffix (e.g., 'date.asc').\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return (1-50000). Default: 100.\").optional(),\n date_gt: z.string().describe(\"Filter for dates after this value (YYYY-MM-DD format).\").optional(),\n date_lt: z.string().describe(\"Filter for dates before this value (YYYY-MM-DD format).\").optional(),\n date_gte: z.string().describe(\"Filter for dates on or after this value (YYYY-MM-DD format).\").optional(),\n date_lte: z.string().describe(\"Filter for dates on or before this value (YYYY-MM-DD format).\").optional(),\n date_any_of: z.string().describe(\"Match any of the comma-separated date values (YYYY-MM-DD format).\").optional(),\n}).describe(\"Parameters to filter and paginate inflation expectations data from the Federal Reserve.\");\nconst PolygonIoGetInflationExpectations_InflationExpectationSchema = z.object({\n date: z.string().describe(\"Observation date (YYYY-MM-DD format).\").nullable(),\n model_1_year: z.number().describe(\"Cleveland Fed's 1-year inflation expectation model estimate.\").nullable().optional(),\n model_5_year: z.number().describe(\"Cleveland Fed's 5-year inflation expectation model estimate.\").nullable().optional(),\n market_5_year: z.number().describe(\"5-year breakeven inflation rate derived from Treasury and TIPS yields.\").nullable().optional(),\n model_10_year: z.number().describe(\"Cleveland Fed's 10-year inflation expectation model estimate.\").nullable().optional(),\n model_30_year: z.number().describe(\"Cleveland Fed's 30-year inflation expectation model estimate.\").nullable().optional(),\n market_10_year: z.number().describe(\"10-year breakeven inflation rate derived from Treasury and TIPS yields.\").nullable().optional(),\n forward_years_5_to_10: z.number().describe(\"5-Year, 5-Year Forward Inflation Expectation Rate based on forward yields.\").nullable().optional(),\n}).describe(\"Represents a single inflation expectations data point.\");\nexport const PolygonIoGetInflationExpectationsOutput = z.object({\n count: z.number().int().describe(\"Number of results returned in this response.\").nullable().optional(),\n status: z.string().describe(\"Response status (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonIoGetInflationExpectations_InflationExpectationSchema).describe(\"List of inflation expectations data points.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if any.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request identifier.\").nullable().optional(),\n}).describe(\"Response containing inflation expectations data from the Federal Reserve.\");\n\nexport const polygonIoGetInflationExpectations = action(\"POLYGON_IO_GET_INFLATION_EXPECTATIONS\", {\n slug: \"polygon_io-get-inflation-expectations\",\n name: \"Get Inflation Expectations\",\n description: \"Tool to retrieve inflation expectations data from the Federal Reserve, including market-based rates and Cleveland Fed model estimates. Use when analyzing inflation forecasts across different time horizons (1, 5, 10, and 30 years).\",\n input: PolygonIoGetInflationExpectationsInput,\n output: PolygonIoGetInflationExpectationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAA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,CAAC,SAAS;CACnI,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-inflation-expectations.cjs","names":["z","action"],"sources":["../../src/actions/get-inflation-expectations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetInflationExpectationsInput = z.object({\n date: z.string().describe(\"Filter by specific observation date (YYYY-MM-DD format).\").optional(),\n sort: z.string().describe(\"Comma-separated list of sort columns with .asc or .desc suffix (e.g., 'date.asc').\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return (1-50000). Default: 100.\").optional(),\n date_gt: z.string().describe(\"Filter for dates after this value (YYYY-MM-DD format).\").optional(),\n date_lt: z.string().describe(\"Filter for dates before this value (YYYY-MM-DD format).\").optional(),\n date_gte: z.string().describe(\"Filter for dates on or after this value (YYYY-MM-DD format).\").optional(),\n date_lte: z.string().describe(\"Filter for dates on or before this value (YYYY-MM-DD format).\").optional(),\n date_any_of: z.string().describe(\"Match any of the comma-separated date values (YYYY-MM-DD format).\").optional(),\n}).describe(\"Parameters to filter and paginate inflation expectations data from the Federal Reserve.\");\nconst PolygonIoGetInflationExpectations_InflationExpectationSchema = z.object({\n date: z.string().describe(\"Observation date (YYYY-MM-DD format).\").nullable(),\n model_1_year: z.number().describe(\"Cleveland Fed's 1-year inflation expectation model estimate.\").nullable().optional(),\n model_5_year: z.number().describe(\"Cleveland Fed's 5-year inflation expectation model estimate.\").nullable().optional(),\n market_5_year: z.number().describe(\"5-year breakeven inflation rate derived from Treasury and TIPS yields.\").nullable().optional(),\n model_10_year: z.number().describe(\"Cleveland Fed's 10-year inflation expectation model estimate.\").nullable().optional(),\n model_30_year: z.number().describe(\"Cleveland Fed's 30-year inflation expectation model estimate.\").nullable().optional(),\n market_10_year: z.number().describe(\"10-year breakeven inflation rate derived from Treasury and TIPS yields.\").nullable().optional(),\n forward_years_5_to_10: z.number().describe(\"5-Year, 5-Year Forward Inflation Expectation Rate based on forward yields.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single inflation expectations data point.\");\nexport const PolygonIoGetInflationExpectationsOutput = z.object({\n count: z.number().int().describe(\"Number of results returned in this response.\").nullable().optional(),\n status: z.string().describe(\"Response status (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonIoGetInflationExpectations_InflationExpectationSchema).describe(\"List of inflation expectations data points.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if any.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response containing inflation expectations data from the Federal Reserve.\");\n\nexport const polygonIoGetInflationExpectations = action(\"POLYGON_IO_GET_INFLATION_EXPECTATIONS\", {\n slug: \"polygon_io-get-inflation-expectations\",\n name: \"Get Inflation Expectations\",\n description: \"Tool to retrieve inflation expectations data from the Federal Reserve, including market-based rates and Cleveland Fed model estimates. Use when analyzing inflation forecasts across different time horizons (1, 5, 10, and 30 years).\",\n input: PolygonIoGetInflationExpectationsInput,\n output: PolygonIoGetInflationExpectationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACjG,UAAUA,IA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,SAAS,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,10 +23,10 @@ declare const PolygonIoGetInflationExpectationsOutput: z.ZodObject<{
|
|
|
23
23
|
model_30_year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
market_10_year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
forward_years_5_to_10: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const polygonIoGetInflationExpectations: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
date?: string | undefined;
|
|
32
32
|
sort?: string | undefined;
|
|
@@ -23,10 +23,10 @@ declare const PolygonIoGetInflationExpectationsOutput: z.ZodObject<{
|
|
|
23
23
|
model_30_year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
market_10_year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
forward_years_5_to_10: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const polygonIoGetInflationExpectations: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
date?: string | undefined;
|
|
32
32
|
sort?: string | undefined;
|
|
@@ -20,7 +20,7 @@ const PolygonIoGetInflationExpectations_InflationExpectationSchema = z.object({
|
|
|
20
20
|
model_30_year: z.number().describe("Cleveland Fed's 30-year inflation expectation model estimate.").nullable().optional(),
|
|
21
21
|
market_10_year: z.number().describe("10-year breakeven inflation rate derived from Treasury and TIPS yields.").nullable().optional(),
|
|
22
22
|
forward_years_5_to_10: z.number().describe("5-Year, 5-Year Forward Inflation Expectation Rate based on forward yields.").nullable().optional()
|
|
23
|
-
}).describe("Represents a single inflation expectations data point.");
|
|
23
|
+
}).passthrough().describe("Represents a single inflation expectations data point.");
|
|
24
24
|
const polygonIoGetInflationExpectations = action("POLYGON_IO_GET_INFLATION_EXPECTATIONS", {
|
|
25
25
|
slug: "polygon_io-get-inflation-expectations",
|
|
26
26
|
name: "Get Inflation Expectations",
|
|
@@ -32,7 +32,7 @@ const polygonIoGetInflationExpectations = action("POLYGON_IO_GET_INFLATION_EXPEC
|
|
|
32
32
|
results: z.array(PolygonIoGetInflationExpectations_InflationExpectationSchema).describe("List of inflation expectations data points.").nullable().optional(),
|
|
33
33
|
next_url: z.string().describe("URL to fetch the next page of results, if any.").nullable().optional(),
|
|
34
34
|
request_id: z.string().describe("Server-assigned request identifier.").nullable().optional()
|
|
35
|
-
}).describe("Response containing inflation expectations data from the Federal Reserve.")
|
|
35
|
+
}).passthrough().describe("Response containing inflation expectations data from the Federal Reserve.")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { polygonIoGetInflationExpectations };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-inflation-expectations.mjs","names":[],"sources":["../../src/actions/get-inflation-expectations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetInflationExpectationsInput = z.object({\n date: z.string().describe(\"Filter by specific observation date (YYYY-MM-DD format).\").optional(),\n sort: z.string().describe(\"Comma-separated list of sort columns with .asc or .desc suffix (e.g., 'date.asc').\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return (1-50000). Default: 100.\").optional(),\n date_gt: z.string().describe(\"Filter for dates after this value (YYYY-MM-DD format).\").optional(),\n date_lt: z.string().describe(\"Filter for dates before this value (YYYY-MM-DD format).\").optional(),\n date_gte: z.string().describe(\"Filter for dates on or after this value (YYYY-MM-DD format).\").optional(),\n date_lte: z.string().describe(\"Filter for dates on or before this value (YYYY-MM-DD format).\").optional(),\n date_any_of: z.string().describe(\"Match any of the comma-separated date values (YYYY-MM-DD format).\").optional(),\n}).describe(\"Parameters to filter and paginate inflation expectations data from the Federal Reserve.\");\nconst PolygonIoGetInflationExpectations_InflationExpectationSchema = z.object({\n date: z.string().describe(\"Observation date (YYYY-MM-DD format).\").nullable(),\n model_1_year: z.number().describe(\"Cleveland Fed's 1-year inflation expectation model estimate.\").nullable().optional(),\n model_5_year: z.number().describe(\"Cleveland Fed's 5-year inflation expectation model estimate.\").nullable().optional(),\n market_5_year: z.number().describe(\"5-year breakeven inflation rate derived from Treasury and TIPS yields.\").nullable().optional(),\n model_10_year: z.number().describe(\"Cleveland Fed's 10-year inflation expectation model estimate.\").nullable().optional(),\n model_30_year: z.number().describe(\"Cleveland Fed's 30-year inflation expectation model estimate.\").nullable().optional(),\n market_10_year: z.number().describe(\"10-year breakeven inflation rate derived from Treasury and TIPS yields.\").nullable().optional(),\n forward_years_5_to_10: z.number().describe(\"5-Year, 5-Year Forward Inflation Expectation Rate based on forward yields.\").nullable().optional(),\n}).describe(\"Represents a single inflation expectations data point.\");\nexport const PolygonIoGetInflationExpectationsOutput = z.object({\n count: z.number().int().describe(\"Number of results returned in this response.\").nullable().optional(),\n status: z.string().describe(\"Response status (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonIoGetInflationExpectations_InflationExpectationSchema).describe(\"List of inflation expectations data points.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if any.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request identifier.\").nullable().optional(),\n}).describe(\"Response containing inflation expectations data from the Federal Reserve.\");\n\nexport const polygonIoGetInflationExpectations = action(\"POLYGON_IO_GET_INFLATION_EXPECTATIONS\", {\n slug: \"polygon_io-get-inflation-expectations\",\n name: \"Get Inflation Expectations\",\n description: \"Tool to retrieve inflation expectations data from the Federal Reserve, including market-based rates and Cleveland Fed model estimates. Use when analyzing inflation forecasts across different time horizons (1, 5, 10, and 30 years).\",\n input: PolygonIoGetInflationExpectationsInput,\n output: PolygonIoGetInflationExpectationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,+DAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-inflation-expectations.mjs","names":[],"sources":["../../src/actions/get-inflation-expectations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetInflationExpectationsInput = z.object({\n date: z.string().describe(\"Filter by specific observation date (YYYY-MM-DD format).\").optional(),\n sort: z.string().describe(\"Comma-separated list of sort columns with .asc or .desc suffix (e.g., 'date.asc').\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return (1-50000). Default: 100.\").optional(),\n date_gt: z.string().describe(\"Filter for dates after this value (YYYY-MM-DD format).\").optional(),\n date_lt: z.string().describe(\"Filter for dates before this value (YYYY-MM-DD format).\").optional(),\n date_gte: z.string().describe(\"Filter for dates on or after this value (YYYY-MM-DD format).\").optional(),\n date_lte: z.string().describe(\"Filter for dates on or before this value (YYYY-MM-DD format).\").optional(),\n date_any_of: z.string().describe(\"Match any of the comma-separated date values (YYYY-MM-DD format).\").optional(),\n}).describe(\"Parameters to filter and paginate inflation expectations data from the Federal Reserve.\");\nconst PolygonIoGetInflationExpectations_InflationExpectationSchema = z.object({\n date: z.string().describe(\"Observation date (YYYY-MM-DD format).\").nullable(),\n model_1_year: z.number().describe(\"Cleveland Fed's 1-year inflation expectation model estimate.\").nullable().optional(),\n model_5_year: z.number().describe(\"Cleveland Fed's 5-year inflation expectation model estimate.\").nullable().optional(),\n market_5_year: z.number().describe(\"5-year breakeven inflation rate derived from Treasury and TIPS yields.\").nullable().optional(),\n model_10_year: z.number().describe(\"Cleveland Fed's 10-year inflation expectation model estimate.\").nullable().optional(),\n model_30_year: z.number().describe(\"Cleveland Fed's 30-year inflation expectation model estimate.\").nullable().optional(),\n market_10_year: z.number().describe(\"10-year breakeven inflation rate derived from Treasury and TIPS yields.\").nullable().optional(),\n forward_years_5_to_10: z.number().describe(\"5-Year, 5-Year Forward Inflation Expectation Rate based on forward yields.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single inflation expectations data point.\");\nexport const PolygonIoGetInflationExpectationsOutput = z.object({\n count: z.number().int().describe(\"Number of results returned in this response.\").nullable().optional(),\n status: z.string().describe(\"Response status (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonIoGetInflationExpectations_InflationExpectationSchema).describe(\"List of inflation expectations data points.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if any.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response containing inflation expectations data from the Federal Reserve.\");\n\nexport const polygonIoGetInflationExpectations = action(\"POLYGON_IO_GET_INFLATION_EXPECTATIONS\", {\n slug: \"polygon_io-get-inflation-expectations\",\n name: \"Get Inflation Expectations\",\n description: \"Tool to retrieve inflation expectations data from the Federal Reserve, including market-based rates and Cleveland Fed model estimates. Use when analyzing inflation forecasts across different time horizons (1, 5, 10, and 30 years).\",\n input: PolygonIoGetInflationExpectationsInput,\n output: PolygonIoGetInflationExpectationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,+DAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAA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_date: zod.z.string().describe("Alternative listing date field.").nullable().optional(),
|
|
21
21
|
listing_date: zod.z.string().describe("Date of listing (ISO 8601 format).").nullable().optional(),
|
|
22
22
|
primary_exchange: zod.z.string().describe("Primary exchange where listed.").nullable().optional()
|
|
23
|
-
}).describe("Represents a single IPO event with listing information.");
|
|
23
|
+
}).passthrough().describe("Represents a single IPO event with listing information.");
|
|
24
24
|
const PolygonIoGetIpoDataOutput = zod.z.object({
|
|
25
25
|
count: zod.z.number().int().describe("Number of results returned in this response.").nullable().optional(),
|
|
26
26
|
status: zod.z.string().describe("Status of the request (e.g., 'OK').").nullable().optional(),
|
|
27
27
|
results: zod.z.array(PolygonIoGetIpoData_IpoEventSchema).describe("List of IPO event objects.").nullable().optional(),
|
|
28
28
|
next_url: zod.z.string().describe("URL for next page of results if pagination is needed.").nullable().optional()
|
|
29
|
-
}).describe("Response containing IPO listing information.");
|
|
29
|
+
}).passthrough().describe("Response containing IPO listing information.");
|
|
30
30
|
const polygonIoGetIpoData = require_action.action("POLYGON_IO_GET_IPO_DATA", {
|
|
31
31
|
slug: "polygon_io-get-ipo-data",
|
|
32
32
|
name: "Get IPO Data",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ipo-data.cjs","names":["z","action"],"sources":["../../src/actions/get-ipo-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetIpoDataInput = z.object({\n isin: z.string().describe(\"Filter by ISIN (International Securities Identification Number).\").optional(),\n sort: z.string().describe(\"Field to sort by (e.g., 'listing_date', 'ticker'). Default: 'listing_date'.\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned (1-1000). Default: 10, Max: 1000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order direction: 'asc' for ascending or 'desc' for descending. Default: 'desc'.\").optional(),\n ticker: z.string().describe(\"Filter by ticker symbol.\").optional(),\n us_code: z.string().describe(\"Filter by US code (ISIN identifier).\").optional(),\n listing_date: z.string().describe(\"Filter by exact listing date (format: YYYY-MM-DD).\").optional(),\n listing_date_gte: z.string().describe(\"Filter for IPOs listed on or after this date (format: YYYY-MM-DD).\").optional(),\n listing_date_lte: z.string().describe(\"Filter for IPOs listed on or before this date (format: YYYY-MM-DD).\").optional(),\n}).describe(\"Parameters to filter and paginate IPO listing information.\");\nconst PolygonIoGetIpoData_IpoEventSchema = z.object({\n isin: z.string().describe(\"ISIN identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n ticker: z.string().describe(\"Ticker symbol of the IPO.\").nullable().optional(),\n us_code: z.string().describe(\"US code identifier.\").nullable().optional(),\n list_date: z.string().describe(\"Alternative listing date field.\").nullable().optional(),\n listing_date: z.string().describe(\"Date of listing (ISO 8601 format).\").nullable().optional(),\n primary_exchange: z.string().describe(\"Primary exchange where listed.\").nullable().optional(),\n}).describe(\"Represents a single IPO event with listing information.\");\nexport const PolygonIoGetIpoDataOutput = z.object({\n count: z.number().int().describe(\"Number of results returned in this response.\").nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonIoGetIpoData_IpoEventSchema).describe(\"List of IPO event objects.\").nullable().optional(),\n next_url: z.string().describe(\"URL for next page of results if pagination is needed.\").nullable().optional(),\n}).describe(\"Response containing IPO listing information.\");\n\nexport const polygonIoGetIpoData = action(\"POLYGON_IO_GET_IPO_DATA\", {\n slug: \"polygon_io-get-ipo-data\",\n name: \"Get IPO Data\",\n description: \"Tool to retrieve comprehensive information on Initial Public Offerings (IPOs), including upcoming and historical events. Use when analyzing IPO listing data by date range, ticker, or identifier.\",\n input: PolygonIoGetIpoDataInput,\n output: PolygonIoGetIpoDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE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AC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"get-ipo-data.cjs","names":["z","action"],"sources":["../../src/actions/get-ipo-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetIpoDataInput = z.object({\n isin: z.string().describe(\"Filter by ISIN (International Securities Identification Number).\").optional(),\n sort: z.string().describe(\"Field to sort by (e.g., 'listing_date', 'ticker'). Default: 'listing_date'.\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned (1-1000). Default: 10, Max: 1000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order direction: 'asc' for ascending or 'desc' for descending. Default: 'desc'.\").optional(),\n ticker: z.string().describe(\"Filter by ticker symbol.\").optional(),\n us_code: z.string().describe(\"Filter by US code (ISIN identifier).\").optional(),\n listing_date: z.string().describe(\"Filter by exact listing date (format: YYYY-MM-DD).\").optional(),\n listing_date_gte: z.string().describe(\"Filter for IPOs listed on or after this date (format: YYYY-MM-DD).\").optional(),\n listing_date_lte: z.string().describe(\"Filter for IPOs listed on or before this date (format: YYYY-MM-DD).\").optional(),\n}).describe(\"Parameters to filter and paginate IPO listing information.\");\nconst PolygonIoGetIpoData_IpoEventSchema = z.object({\n isin: z.string().describe(\"ISIN identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n ticker: z.string().describe(\"Ticker symbol of the IPO.\").nullable().optional(),\n us_code: z.string().describe(\"US code identifier.\").nullable().optional(),\n list_date: z.string().describe(\"Alternative listing date field.\").nullable().optional(),\n listing_date: z.string().describe(\"Date of listing (ISO 8601 format).\").nullable().optional(),\n primary_exchange: z.string().describe(\"Primary exchange where listed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single IPO event with listing information.\");\nexport const PolygonIoGetIpoDataOutput = z.object({\n count: z.number().int().describe(\"Number of results returned in this response.\").nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonIoGetIpoData_IpoEventSchema).describe(\"List of IPO event objects.\").nullable().optional(),\n next_url: z.string().describe(\"URL for next page of results if pagination is needed.\").nullable().optional(),\n}).passthrough().describe(\"Response containing IPO listing information.\");\n\nexport const polygonIoGetIpoData = action(\"POLYGON_IO_GET_IPO_DATA\", {\n slug: \"polygon_io-get-ipo-data\",\n name: \"Get IPO Data\",\n description: \"Tool to retrieve comprehensive information on Initial Public Offerings (IPOs), including upcoming and historical events. Use when analyzing IPO listing data by date range, ticker, or identifier.\",\n input: PolygonIoGetIpoDataInput,\n output: PolygonIoGetIpoDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAClH,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,sFAAsF,CAAC,CAAC,SAAS;CACzI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACjG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,o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AAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,sBAAsBC,eAAAA,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -26,9 +26,9 @@ declare const PolygonIoGetIpoDataOutput: z.ZodObject<{
|
|
|
26
26
|
list_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
listing_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
primary_exchange: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
30
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const polygonIoGetIpoData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
isin?: string | undefined;
|
|
34
34
|
sort?: string | undefined;
|
|
@@ -26,9 +26,9 @@ declare const PolygonIoGetIpoDataOutput: z.ZodObject<{
|
|
|
26
26
|
list_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
listing_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
primary_exchange: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
30
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const polygonIoGetIpoData: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
isin?: string | undefined;
|
|
34
34
|
sort?: string | undefined;
|
|
@@ -20,7 +20,7 @@ const PolygonIoGetIpoData_IpoEventSchema = z.object({
|
|
|
20
20
|
list_date: z.string().describe("Alternative listing date field.").nullable().optional(),
|
|
21
21
|
listing_date: z.string().describe("Date of listing (ISO 8601 format).").nullable().optional(),
|
|
22
22
|
primary_exchange: z.string().describe("Primary exchange where listed.").nullable().optional()
|
|
23
|
-
}).describe("Represents a single IPO event with listing information.");
|
|
23
|
+
}).passthrough().describe("Represents a single IPO event with listing information.");
|
|
24
24
|
const polygonIoGetIpoData = action("POLYGON_IO_GET_IPO_DATA", {
|
|
25
25
|
slug: "polygon_io-get-ipo-data",
|
|
26
26
|
name: "Get IPO Data",
|
|
@@ -31,7 +31,7 @@ const polygonIoGetIpoData = action("POLYGON_IO_GET_IPO_DATA", {
|
|
|
31
31
|
status: z.string().describe("Status of the request (e.g., 'OK').").nullable().optional(),
|
|
32
32
|
results: z.array(PolygonIoGetIpoData_IpoEventSchema).describe("List of IPO event objects.").nullable().optional(),
|
|
33
33
|
next_url: z.string().describe("URL for next page of results if pagination is needed.").nullable().optional()
|
|
34
|
-
}).describe("Response containing IPO listing information.")
|
|
34
|
+
}).passthrough().describe("Response containing IPO listing information.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { polygonIoGetIpoData };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ipo-data.mjs","names":[],"sources":["../../src/actions/get-ipo-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetIpoDataInput = z.object({\n isin: z.string().describe(\"Filter by ISIN (International Securities Identification Number).\").optional(),\n sort: z.string().describe(\"Field to sort by (e.g., 'listing_date', 'ticker'). Default: 'listing_date'.\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned (1-1000). Default: 10, Max: 1000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order direction: 'asc' for ascending or 'desc' for descending. Default: 'desc'.\").optional(),\n ticker: z.string().describe(\"Filter by ticker symbol.\").optional(),\n us_code: z.string().describe(\"Filter by US code (ISIN identifier).\").optional(),\n listing_date: z.string().describe(\"Filter by exact listing date (format: YYYY-MM-DD).\").optional(),\n listing_date_gte: z.string().describe(\"Filter for IPOs listed on or after this date (format: YYYY-MM-DD).\").optional(),\n listing_date_lte: z.string().describe(\"Filter for IPOs listed on or before this date (format: YYYY-MM-DD).\").optional(),\n}).describe(\"Parameters to filter and paginate IPO listing information.\");\nconst PolygonIoGetIpoData_IpoEventSchema = z.object({\n isin: z.string().describe(\"ISIN identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n ticker: z.string().describe(\"Ticker symbol of the IPO.\").nullable().optional(),\n us_code: z.string().describe(\"US code identifier.\").nullable().optional(),\n list_date: z.string().describe(\"Alternative listing date field.\").nullable().optional(),\n listing_date: z.string().describe(\"Date of listing (ISO 8601 format).\").nullable().optional(),\n primary_exchange: z.string().describe(\"Primary exchange where listed.\").nullable().optional(),\n}).describe(\"Represents a single IPO event with listing information.\");\nexport const PolygonIoGetIpoDataOutput = z.object({\n count: z.number().int().describe(\"Number of results returned in this response.\").nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonIoGetIpoData_IpoEventSchema).describe(\"List of IPO event objects.\").nullable().optional(),\n next_url: z.string().describe(\"URL for next page of results if pagination is needed.\").nullable().optional(),\n}).describe(\"Response containing IPO listing information.\");\n\nexport const polygonIoGetIpoData = action(\"POLYGON_IO_GET_IPO_DATA\", {\n slug: \"polygon_io-get-ipo-data\",\n name: \"Get IPO Data\",\n description: \"Tool to retrieve comprehensive information on Initial Public Offerings (IPOs), including upcoming and historical events. Use when analyzing IPO listing data by date range, ticker, or identifier.\",\n input: PolygonIoGetIpoDataInput,\n output: PolygonIoGetIpoDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C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AS,CAAC,CAAC,SAAS;CAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"get-ipo-data.mjs","names":[],"sources":["../../src/actions/get-ipo-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetIpoDataInput = z.object({\n isin: z.string().describe(\"Filter by ISIN (International Securities Identification Number).\").optional(),\n sort: z.string().describe(\"Field to sort by (e.g., 'listing_date', 'ticker'). Default: 'listing_date'.\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned (1-1000). Default: 10, Max: 1000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order direction: 'asc' for ascending or 'desc' for descending. Default: 'desc'.\").optional(),\n ticker: z.string().describe(\"Filter by ticker symbol.\").optional(),\n us_code: z.string().describe(\"Filter by US code (ISIN identifier).\").optional(),\n listing_date: z.string().describe(\"Filter by exact listing date (format: YYYY-MM-DD).\").optional(),\n listing_date_gte: z.string().describe(\"Filter for IPOs listed on or after this date (format: YYYY-MM-DD).\").optional(),\n listing_date_lte: z.string().describe(\"Filter for IPOs listed on or before this date (format: YYYY-MM-DD).\").optional(),\n}).describe(\"Parameters to filter and paginate IPO listing information.\");\nconst PolygonIoGetIpoData_IpoEventSchema = z.object({\n isin: z.string().describe(\"ISIN identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n ticker: z.string().describe(\"Ticker symbol of the IPO.\").nullable().optional(),\n us_code: z.string().describe(\"US code identifier.\").nullable().optional(),\n list_date: z.string().describe(\"Alternative listing date field.\").nullable().optional(),\n listing_date: z.string().describe(\"Date of listing (ISO 8601 format).\").nullable().optional(),\n primary_exchange: z.string().describe(\"Primary exchange where listed.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single IPO event with listing information.\");\nexport const PolygonIoGetIpoDataOutput = z.object({\n count: z.number().int().describe(\"Number of results returned in this response.\").nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonIoGetIpoData_IpoEventSchema).describe(\"List of IPO event objects.\").nullable().optional(),\n next_url: z.string().describe(\"URL for next page of results if pagination is needed.\").nullable().optional(),\n}).passthrough().describe(\"Response containing IPO listing information.\");\n\nexport const polygonIoGetIpoData = action(\"POLYGON_IO_GET_IPO_DATA\", {\n slug: \"polygon_io-get-ipo-data\",\n name: \"Get IPO Data\",\n description: \"Tool to retrieve comprehensive information on Initial Public Offerings (IPOs), including upcoming and historical events. Use when analyzing IPO listing data by date range, ticker, or identifier.\",\n input: PolygonIoGetIpoDataInput,\n output: PolygonIoGetIpoDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACzI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACrH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC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,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -17,14 +17,14 @@ const PolygonIoGetLaborMarket_LaborMarketResultSchema = zod.z.object({
|
|
|
17
17
|
unemployment_rate: zod.z.number().describe("Civilian unemployment rate as a percentage of the labor force").nullable().optional(),
|
|
18
18
|
avg_hourly_earnings: zod.z.number().describe("Average hourly earnings for private nonfarm employees, expressed in USD").nullable().optional(),
|
|
19
19
|
labor_force_participation_rate: zod.z.number().describe("Civilian labor force participation rate as a percentage of the civilian noninstitutional population").nullable().optional()
|
|
20
|
-
}).describe("Labor market observation data for a specific date.");
|
|
20
|
+
}).passthrough().describe("Labor market observation data for a specific date.");
|
|
21
21
|
const PolygonIoGetLaborMarketOutput = zod.z.object({
|
|
22
22
|
count: zod.z.number().int().describe("Number of results returned in this response").nullable().optional(),
|
|
23
23
|
status: zod.z.string().describe("Status of the response (e.g., 'OK')").nullable().optional(),
|
|
24
24
|
results: zod.z.array(PolygonIoGetLaborMarket_LaborMarketResultSchema).describe("Array containing labor market data observations").nullable().optional(),
|
|
25
25
|
next_url: zod.z.string().describe("If present, this value can be used to fetch the next page of results").nullable().optional(),
|
|
26
26
|
request_id: zod.z.string().describe("Unique identifier assigned by the server for this request").nullable().optional()
|
|
27
|
-
}).describe("Response containing labor market data and metadata.");
|
|
27
|
+
}).passthrough().describe("Response containing labor market data and metadata.");
|
|
28
28
|
const polygonIoGetLaborMarket = require_action.action("POLYGON_IO_GET_LABOR_MARKET", {
|
|
29
29
|
slug: "polygon_io-get-labor-market",
|
|
30
30
|
name: "Get Labor Market Data",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-labor-market.cjs","names":["z","action"],"sources":["../../src/actions/get-labor-market.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetLaborMarketInput = z.object({\n date: z.string().describe(\"Specific observation date in YYYY-MM-DD format. If not provided, returns recent observations.\").optional(),\n sort: z.string().describe(\"Sort order for results. Comma-separated columns with .asc/.desc direction suffix, e.g., 'date.asc' or 'date.desc'\").optional(),\n limit: z.number().int().describe(\"Maximum results to return. Defaults to 100, maximum is 50,000.\").optional(),\n \"date.gt\": z.string().describe(\"Filter for dates greater than the specified date in YYYY-MM-DD format\").optional(),\n \"date.lt\": z.string().describe(\"Filter for dates less than the specified date in YYYY-MM-DD format\").optional(),\n \"date.gte\": z.string().describe(\"Filter for dates greater than or equal to the specified date in YYYY-MM-DD format\").optional(),\n \"date.lte\": z.string().describe(\"Filter for dates less than or equal to the specified date in YYYY-MM-DD format\").optional(),\n \"date.any_of\": z.string().describe(\"Match multiple comma-separated dates, e.g., '2024-01-01,2024-02-01'\").optional(),\n}).describe(\"Parameters to retrieve labor market data including employment statistics.\");\nconst PolygonIoGetLaborMarket_LaborMarketResultSchema = z.object({\n date: z.string().describe(\"Observation date in YYYY-MM-DD format\").nullable().optional(),\n job_openings: z.number().describe(\"Total nonfarm job vacancies measured in thousands\").nullable().optional(),\n unemployment_rate: z.number().describe(\"Civilian unemployment rate as a percentage of the labor force\").nullable().optional(),\n avg_hourly_earnings: z.number().describe(\"Average hourly earnings for private nonfarm employees, expressed in USD\").nullable().optional(),\n labor_force_participation_rate: z.number().describe(\"Civilian labor force participation rate as a percentage of the civilian noninstitutional population\").nullable().optional(),\n}).describe(\"Labor market observation data for a specific date.\");\nexport const PolygonIoGetLaborMarketOutput = z.object({\n count: z.number().int().describe(\"Number of results returned in this response\").nullable().optional(),\n status: z.string().describe(\"Status of the response (e.g., 'OK')\").nullable().optional(),\n results: z.array(PolygonIoGetLaborMarket_LaborMarketResultSchema).describe(\"Array containing labor market data observations\").nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of results\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier assigned by the server for this request\").nullable().optional(),\n}).describe(\"Response containing labor market data and metadata.\");\n\nexport const polygonIoGetLaborMarket = action(\"POLYGON_IO_GET_LABOR_MARKET\", {\n slug: \"polygon_io-get-labor-market\",\n name: \"Get Labor Market Data\",\n description: \"Tool to retrieve labor market data including unemployment rate, labor force participation rate, average hourly earnings, and job openings. Use when analyzing employment trends, economic conditions, or workforce statistics.\",\n input: PolygonIoGetLaborMarketInput,\n output: PolygonIoGetLaborMarketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACpI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACxJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC3H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"get-labor-market.cjs","names":["z","action"],"sources":["../../src/actions/get-labor-market.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetLaborMarketInput = z.object({\n date: z.string().describe(\"Specific observation date in YYYY-MM-DD format. If not provided, returns recent observations.\").optional(),\n sort: z.string().describe(\"Sort order for results. Comma-separated columns with .asc/.desc direction suffix, e.g., 'date.asc' or 'date.desc'\").optional(),\n limit: z.number().int().describe(\"Maximum results to return. Defaults to 100, maximum is 50,000.\").optional(),\n \"date.gt\": z.string().describe(\"Filter for dates greater than the specified date in YYYY-MM-DD format\").optional(),\n \"date.lt\": z.string().describe(\"Filter for dates less than the specified date in YYYY-MM-DD format\").optional(),\n \"date.gte\": z.string().describe(\"Filter for dates greater than or equal to the specified date in YYYY-MM-DD format\").optional(),\n \"date.lte\": z.string().describe(\"Filter for dates less than or equal to the specified date in YYYY-MM-DD format\").optional(),\n \"date.any_of\": z.string().describe(\"Match multiple comma-separated dates, e.g., '2024-01-01,2024-02-01'\").optional(),\n}).describe(\"Parameters to retrieve labor market data including employment statistics.\");\nconst PolygonIoGetLaborMarket_LaborMarketResultSchema = z.object({\n date: z.string().describe(\"Observation date in YYYY-MM-DD format\").nullable().optional(),\n job_openings: z.number().describe(\"Total nonfarm job vacancies measured in thousands\").nullable().optional(),\n unemployment_rate: z.number().describe(\"Civilian unemployment rate as a percentage of the labor force\").nullable().optional(),\n avg_hourly_earnings: z.number().describe(\"Average hourly earnings for private nonfarm employees, expressed in USD\").nullable().optional(),\n labor_force_participation_rate: z.number().describe(\"Civilian labor force participation rate as a percentage of the civilian noninstitutional population\").nullable().optional(),\n}).passthrough().describe(\"Labor market observation data for a specific date.\");\nexport const PolygonIoGetLaborMarketOutput = z.object({\n count: z.number().int().describe(\"Number of results returned in this response\").nullable().optional(),\n status: z.string().describe(\"Status of the response (e.g., 'OK')\").nullable().optional(),\n results: z.array(PolygonIoGetLaborMarket_LaborMarketResultSchema).describe(\"Array containing labor market data observations\").nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of results\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier assigned by the server for this request\").nullable().optional(),\n}).passthrough().describe(\"Response containing labor market data and metadata.\");\n\nexport const polygonIoGetLaborMarket = action(\"POLYGON_IO_GET_LABOR_MARKET\", {\n slug: \"polygon_io-get-labor-market\",\n name: \"Get Labor Market Data\",\n description: \"Tool to retrieve labor market data including unemployment rate, labor force participation rate, average hourly earnings, and job openings. Use when analyzing employment trends, economic conditions, or workforce statistics.\",\n input: PolygonIoGetLaborMarketInput,\n output: PolygonIoGetLaborMarketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACpI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACxJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,YAAYA,IAAAA,EAA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AO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,10 +20,10 @@ declare const PolygonIoGetLaborMarketOutput: z.ZodObject<{
|
|
|
20
20
|
unemployment_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
avg_hourly_earnings: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
labor_force_participation_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const polygonIoGetLaborMarket: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
date?: string | undefined;
|
|
29
29
|
sort?: string | undefined;
|
|
@@ -20,10 +20,10 @@ declare const PolygonIoGetLaborMarketOutput: z.ZodObject<{
|
|
|
20
20
|
unemployment_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
avg_hourly_earnings: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
labor_force_participation_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const polygonIoGetLaborMarket: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
date?: string | undefined;
|
|
29
29
|
sort?: string | undefined;
|
|
@@ -17,7 +17,7 @@ const PolygonIoGetLaborMarket_LaborMarketResultSchema = z.object({
|
|
|
17
17
|
unemployment_rate: z.number().describe("Civilian unemployment rate as a percentage of the labor force").nullable().optional(),
|
|
18
18
|
avg_hourly_earnings: z.number().describe("Average hourly earnings for private nonfarm employees, expressed in USD").nullable().optional(),
|
|
19
19
|
labor_force_participation_rate: z.number().describe("Civilian labor force participation rate as a percentage of the civilian noninstitutional population").nullable().optional()
|
|
20
|
-
}).describe("Labor market observation data for a specific date.");
|
|
20
|
+
}).passthrough().describe("Labor market observation data for a specific date.");
|
|
21
21
|
const polygonIoGetLaborMarket = action("POLYGON_IO_GET_LABOR_MARKET", {
|
|
22
22
|
slug: "polygon_io-get-labor-market",
|
|
23
23
|
name: "Get Labor Market Data",
|
|
@@ -29,7 +29,7 @@ const polygonIoGetLaborMarket = action("POLYGON_IO_GET_LABOR_MARKET", {
|
|
|
29
29
|
results: z.array(PolygonIoGetLaborMarket_LaborMarketResultSchema).describe("Array containing labor market data observations").nullable().optional(),
|
|
30
30
|
next_url: z.string().describe("If present, this value can be used to fetch the next page of results").nullable().optional(),
|
|
31
31
|
request_id: z.string().describe("Unique identifier assigned by the server for this request").nullable().optional()
|
|
32
|
-
}).describe("Response containing labor market data and metadata.")
|
|
32
|
+
}).passthrough().describe("Response containing labor market data and metadata.")
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { polygonIoGetLaborMarket };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-labor-market.mjs","names":[],"sources":["../../src/actions/get-labor-market.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetLaborMarketInput = z.object({\n date: z.string().describe(\"Specific observation date in YYYY-MM-DD format. If not provided, returns recent observations.\").optional(),\n sort: z.string().describe(\"Sort order for results. Comma-separated columns with .asc/.desc direction suffix, e.g., 'date.asc' or 'date.desc'\").optional(),\n limit: z.number().int().describe(\"Maximum results to return. Defaults to 100, maximum is 50,000.\").optional(),\n \"date.gt\": z.string().describe(\"Filter for dates greater than the specified date in YYYY-MM-DD format\").optional(),\n \"date.lt\": z.string().describe(\"Filter for dates less than the specified date in YYYY-MM-DD format\").optional(),\n \"date.gte\": z.string().describe(\"Filter for dates greater than or equal to the specified date in YYYY-MM-DD format\").optional(),\n \"date.lte\": z.string().describe(\"Filter for dates less than or equal to the specified date in YYYY-MM-DD format\").optional(),\n \"date.any_of\": z.string().describe(\"Match multiple comma-separated dates, e.g., '2024-01-01,2024-02-01'\").optional(),\n}).describe(\"Parameters to retrieve labor market data including employment statistics.\");\nconst PolygonIoGetLaborMarket_LaborMarketResultSchema = z.object({\n date: z.string().describe(\"Observation date in YYYY-MM-DD format\").nullable().optional(),\n job_openings: z.number().describe(\"Total nonfarm job vacancies measured in thousands\").nullable().optional(),\n unemployment_rate: z.number().describe(\"Civilian unemployment rate as a percentage of the labor force\").nullable().optional(),\n avg_hourly_earnings: z.number().describe(\"Average hourly earnings for private nonfarm employees, expressed in USD\").nullable().optional(),\n labor_force_participation_rate: z.number().describe(\"Civilian labor force participation rate as a percentage of the civilian noninstitutional population\").nullable().optional(),\n}).describe(\"Labor market observation data for a specific date.\");\nexport const PolygonIoGetLaborMarketOutput = z.object({\n count: z.number().int().describe(\"Number of results returned in this response\").nullable().optional(),\n status: z.string().describe(\"Status of the response (e.g., 'OK')\").nullable().optional(),\n results: z.array(PolygonIoGetLaborMarket_LaborMarketResultSchema).describe(\"Array containing labor market data observations\").nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of results\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier assigned by the server for this request\").nullable().optional(),\n}).describe(\"Response containing labor market data and metadata.\");\n\nexport const polygonIoGetLaborMarket = action(\"POLYGON_IO_GET_LABOR_MARKET\", {\n slug: \"polygon_io-get-labor-market\",\n name: \"Get Labor Market Data\",\n description: \"Tool to retrieve labor market data including unemployment rate, labor force participation rate, average hourly earnings, and job openings. Use when analyzing employment trends, economic conditions, or workforce statistics.\",\n input: PolygonIoGetLaborMarketInput,\n output: PolygonIoGetLaborMarketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACpI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACxJ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC3H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,gCAAgC,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"get-labor-market.mjs","names":[],"sources":["../../src/actions/get-labor-market.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetLaborMarketInput = z.object({\n date: z.string().describe(\"Specific observation date in YYYY-MM-DD format. If not provided, returns recent observations.\").optional(),\n sort: z.string().describe(\"Sort order for results. Comma-separated columns with .asc/.desc direction suffix, e.g., 'date.asc' or 'date.desc'\").optional(),\n limit: z.number().int().describe(\"Maximum results to return. Defaults to 100, maximum is 50,000.\").optional(),\n \"date.gt\": z.string().describe(\"Filter for dates greater than the specified date in YYYY-MM-DD format\").optional(),\n \"date.lt\": z.string().describe(\"Filter for dates less than the specified date in YYYY-MM-DD format\").optional(),\n \"date.gte\": z.string().describe(\"Filter for dates greater than or equal to the specified date in YYYY-MM-DD format\").optional(),\n \"date.lte\": z.string().describe(\"Filter for dates less than or equal to the specified date in YYYY-MM-DD format\").optional(),\n \"date.any_of\": z.string().describe(\"Match multiple comma-separated dates, e.g., '2024-01-01,2024-02-01'\").optional(),\n}).describe(\"Parameters to retrieve labor market data including employment statistics.\");\nconst PolygonIoGetLaborMarket_LaborMarketResultSchema = z.object({\n date: z.string().describe(\"Observation date in YYYY-MM-DD format\").nullable().optional(),\n job_openings: z.number().describe(\"Total nonfarm job vacancies measured in thousands\").nullable().optional(),\n unemployment_rate: z.number().describe(\"Civilian unemployment rate as a percentage of the labor force\").nullable().optional(),\n avg_hourly_earnings: z.number().describe(\"Average hourly earnings for private nonfarm employees, expressed in USD\").nullable().optional(),\n labor_force_participation_rate: z.number().describe(\"Civilian labor force participation rate as a percentage of the civilian noninstitutional population\").nullable().optional(),\n}).passthrough().describe(\"Labor market observation data for a specific date.\");\nexport const PolygonIoGetLaborMarketOutput = z.object({\n count: z.number().int().describe(\"Number of results returned in this response\").nullable().optional(),\n status: z.string().describe(\"Status of the response (e.g., 'OK')\").nullable().optional(),\n results: z.array(PolygonIoGetLaborMarket_LaborMarketResultSchema).describe(\"Array containing labor market data observations\").nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of results\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier assigned by the server for this request\").nullable().optional(),\n}).passthrough().describe(\"Response containing labor market data and metadata.\");\n\nexport const polygonIoGetLaborMarket = action(\"POLYGON_IO_GET_LABOR_MARKET\", {\n slug: \"polygon_io-get-labor-market\",\n name: \"Get Labor Market Data\",\n description: \"Tool to retrieve labor market data including unemployment rate, labor force participation rate, average hourly earnings, and job openings. Use when analyzing employment trends, economic conditions, or workforce statistics.\",\n input: PolygonIoGetLaborMarketInput,\n output: PolygonIoGetLaborMarketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACpI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACxJ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC3H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,2EA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.object({
|
|
|
24
24
|
signal: zod.z.number().describe("The MACD signal line value at the timestamp.").nullable(),
|
|
25
25
|
histogram: zod.z.number().describe("The MACD histogram value at the timestamp.").nullable(),
|
|
26
26
|
timestamp: zod.z.number().int().describe("UNIX timestamp in milliseconds for the value.").nullable()
|
|
27
|
-
});
|
|
28
|
-
const PolygonIoGetMacd_UnderlyingSchema = zod.z.object({ url: zod.z.string().describe("URL to fetch the underlying aggregate bars used for MACD calculation.").nullable() });
|
|
27
|
+
}).passthrough();
|
|
28
|
+
const PolygonIoGetMacd_UnderlyingSchema = zod.z.object({ url: zod.z.string().describe("URL to fetch the underlying aggregate bars used for MACD calculation.").nullable() }).passthrough();
|
|
29
29
|
const PolygonIoGetMacd_MACDResultsSchema = zod.z.object({
|
|
30
30
|
values: zod.z.array(PolygonIoGetMacd_MACDValueSchema).describe("List of MACD values and related metrics.").nullable().optional(),
|
|
31
31
|
underlying: PolygonIoGetMacd_UnderlyingSchema.nullable().optional()
|
|
32
|
-
});
|
|
32
|
+
}).passthrough();
|
|
33
33
|
const PolygonIoGetMacdOutput = zod.z.object({
|
|
34
34
|
status: zod.z.string().describe("Status of the request (e.g., 'OK').").nullable().optional(),
|
|
35
35
|
results: PolygonIoGetMacd_MACDResultsSchema.nullable().optional(),
|
|
36
36
|
next_url: zod.z.string().describe("URL to fetch the next page of results, if available.").nullable().optional(),
|
|
37
37
|
request_id: zod.z.string().describe("Server-assigned request ID.").nullable().optional()
|
|
38
|
-
});
|
|
38
|
+
}).passthrough();
|
|
39
39
|
const polygonIoGetMacd = require_action.action("POLYGON_IO_GET_MACD", {
|
|
40
40
|
slug: "polygon_io-get-macd",
|
|
41
41
|
name: "Get MACD",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-macd.cjs","names":["z","action"],"sources":["../../src/actions/get-macd.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetMacdInput = z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of results to return (1-5000). Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order of results by timestamp. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether to use split-adjusted aggregates. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window (e.g., 'day').\"),\n timestamp: z.string().describe(\"Filter by timestamp (YYYY-MM-DD or millisecond timestamp).\").optional(),\n long_window: z.number().int().describe(\"The number of periods for the long EMA window (e.g., 26).\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price field to use for calculations. Defaults to 'close'.\").optional(),\n short_window: z.number().int().describe(\"The number of periods for the short EMA window (e.g., 12).\"),\n stock_ticker: z.string().describe(\"The case-sensitive ticker symbol for which to get MACD data (e.g., 'AAPL').\"),\n signal_window: z.number().int().describe(\"The number of periods for the signal line EMA window (e.g., 9).\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the underlying aggregates data. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for a stock ticker.\");\nconst PolygonIoGetMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD line value at the timestamp.\").nullable(),\n signal: z.number().describe(\"The MACD signal line value at the timestamp.\").nullable(),\n histogram: z.number().describe(\"The MACD histogram value at the timestamp.\").nullable(),\n timestamp: z.number().int().describe(\"UNIX timestamp in milliseconds for the value.\").nullable(),\n});\nconst PolygonIoGetMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to fetch the underlying aggregate bars used for MACD calculation.\").nullable(),\n});\nconst PolygonIoGetMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonIoGetMacd_MACDValueSchema).describe(\"List of MACD values and related metrics.\").nullable().optional(),\n underlying: PolygonIoGetMacd_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonIoGetMacdOutput = z.object({\n status: z.string().describe(\"Status of the request (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetMacd_MACDResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if available.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request ID.\").nullable().optional(),\n});\n\nexport const polygonIoGetMacd = action(\"POLYGON_IO_GET_MACD\", {\n slug: \"polygon_io-get-macd\",\n name: \"Get MACD\",\n description: \"Tool to retrieve the Moving Average Convergence/Divergence (MACD) for a stock ticker. Use when you need momentum analysis or signal generation over a specified timeframe.\",\n input: PolygonIoGetMacdInput,\n output: PolygonIoGetMacdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvH,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC3H,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACrH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAClG,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CAC/G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE;CAC1G,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACzG,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACjG,CAAC;
|
|
1
|
+
{"version":3,"file":"get-macd.cjs","names":["z","action"],"sources":["../../src/actions/get-macd.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetMacdInput = z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of results to return (1-5000). Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order of results by timestamp. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether to use split-adjusted aggregates. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window (e.g., 'day').\"),\n timestamp: z.string().describe(\"Filter by timestamp (YYYY-MM-DD or millisecond timestamp).\").optional(),\n long_window: z.number().int().describe(\"The number of periods for the long EMA window (e.g., 26).\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price field to use for calculations. Defaults to 'close'.\").optional(),\n short_window: z.number().int().describe(\"The number of periods for the short EMA window (e.g., 12).\"),\n stock_ticker: z.string().describe(\"The case-sensitive ticker symbol for which to get MACD data (e.g., 'AAPL').\"),\n signal_window: z.number().int().describe(\"The number of periods for the signal line EMA window (e.g., 9).\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the underlying aggregates data. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for a stock ticker.\");\nconst PolygonIoGetMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD line value at the timestamp.\").nullable(),\n signal: z.number().describe(\"The MACD signal line value at the timestamp.\").nullable(),\n histogram: z.number().describe(\"The MACD histogram value at the timestamp.\").nullable(),\n timestamp: z.number().int().describe(\"UNIX timestamp in milliseconds for the value.\").nullable(),\n}).passthrough();\nconst PolygonIoGetMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to fetch the underlying aggregate bars used for MACD calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonIoGetMacd_MACDValueSchema).describe(\"List of MACD values and related metrics.\").nullable().optional(),\n underlying: PolygonIoGetMacd_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetMacdOutput = z.object({\n status: z.string().describe(\"Status of the request (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetMacd_MACDResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if available.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request ID.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetMacd = action(\"POLYGON_IO_GET_MACD\", {\n slug: \"polygon_io-get-macd\",\n name: \"Get MACD\",\n description: \"Tool to retrieve the Moving Average Convergence/Divergence (MACD) for a stock ticker. Use when you need momentum analysis or signal generation over a specified timeframe.\",\n input: PolygonIoGetMacdInput,\n output: PolygonIoGetMacdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,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