@keystrokehq/polygon_io 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (367) hide show
  1. package/dist/actions/get-all-tickers.cjs +2 -2
  2. package/dist/actions/get-all-tickers.cjs.map +1 -1
  3. package/dist/actions/get-all-tickers.d.cts +2 -2
  4. package/dist/actions/get-all-tickers.d.mts +2 -2
  5. package/dist/actions/get-all-tickers.mjs +2 -2
  6. package/dist/actions/get-all-tickers.mjs.map +1 -1
  7. package/dist/actions/get-condition-codes.cjs +2 -2
  8. package/dist/actions/get-condition-codes.cjs.map +1 -1
  9. package/dist/actions/get-condition-codes.d.cts +2 -2
  10. package/dist/actions/get-condition-codes.d.mts +2 -2
  11. package/dist/actions/get-condition-codes.mjs +2 -2
  12. package/dist/actions/get-condition-codes.mjs.map +1 -1
  13. package/dist/actions/get-crypto-ema.cjs +5 -5
  14. package/dist/actions/get-crypto-ema.cjs.map +1 -1
  15. package/dist/actions/get-crypto-ema.d.cts +5 -5
  16. package/dist/actions/get-crypto-ema.d.mts +5 -5
  17. package/dist/actions/get-crypto-ema.mjs +5 -5
  18. package/dist/actions/get-crypto-ema.mjs.map +1 -1
  19. package/dist/actions/get-crypto-macd.cjs +4 -4
  20. package/dist/actions/get-crypto-macd.cjs.map +1 -1
  21. package/dist/actions/get-crypto-macd.d.cts +4 -4
  22. package/dist/actions/get-crypto-macd.d.mts +4 -4
  23. package/dist/actions/get-crypto-macd.mjs +4 -4
  24. package/dist/actions/get-crypto-macd.mjs.map +1 -1
  25. package/dist/actions/get-crypto-open-close.cjs +2 -2
  26. package/dist/actions/get-crypto-open-close.cjs.map +1 -1
  27. package/dist/actions/get-crypto-open-close.d.cts +3 -3
  28. package/dist/actions/get-crypto-open-close.d.mts +3 -3
  29. package/dist/actions/get-crypto-open-close.mjs +2 -2
  30. package/dist/actions/get-crypto-open-close.mjs.map +1 -1
  31. package/dist/actions/get-crypto-rsi.cjs +4 -4
  32. package/dist/actions/get-crypto-rsi.cjs.map +1 -1
  33. package/dist/actions/get-crypto-rsi.d.cts +4 -4
  34. package/dist/actions/get-crypto-rsi.d.mts +4 -4
  35. package/dist/actions/get-crypto-rsi.mjs +4 -4
  36. package/dist/actions/get-crypto-rsi.mjs.map +1 -1
  37. package/dist/actions/get-crypto-sma.cjs +4 -4
  38. package/dist/actions/get-crypto-sma.cjs.map +1 -1
  39. package/dist/actions/get-crypto-sma.d.cts +4 -4
  40. package/dist/actions/get-crypto-sma.d.mts +4 -4
  41. package/dist/actions/get-crypto-sma.mjs +4 -4
  42. package/dist/actions/get-crypto-sma.mjs.map +1 -1
  43. package/dist/actions/get-daily-open-close.cjs +1 -1
  44. package/dist/actions/get-daily-open-close.cjs.map +1 -1
  45. package/dist/actions/get-daily-open-close.d.cts +1 -1
  46. package/dist/actions/get-daily-open-close.d.mts +1 -1
  47. package/dist/actions/get-daily-open-close.mjs +1 -1
  48. package/dist/actions/get-daily-open-close.mjs.map +1 -1
  49. package/dist/actions/get-dividends.cjs +2 -2
  50. package/dist/actions/get-dividends.cjs.map +1 -1
  51. package/dist/actions/get-dividends.d.cts +2 -2
  52. package/dist/actions/get-dividends.d.mts +2 -2
  53. package/dist/actions/get-dividends.mjs +2 -2
  54. package/dist/actions/get-dividends.mjs.map +1 -1
  55. package/dist/actions/get-economy-inflation2.cjs +2 -2
  56. package/dist/actions/get-economy-inflation2.cjs.map +1 -1
  57. package/dist/actions/get-economy-inflation2.d.cts +2 -2
  58. package/dist/actions/get-economy-inflation2.d.mts +2 -2
  59. package/dist/actions/get-economy-inflation2.mjs +2 -2
  60. package/dist/actions/get-economy-inflation2.mjs.map +1 -1
  61. package/dist/actions/get-ema.cjs +5 -5
  62. package/dist/actions/get-ema.cjs.map +1 -1
  63. package/dist/actions/get-ema.d.cts +5 -5
  64. package/dist/actions/get-ema.d.mts +5 -5
  65. package/dist/actions/get-ema.mjs +5 -5
  66. package/dist/actions/get-ema.mjs.map +1 -1
  67. package/dist/actions/get-filing-file.cjs +2 -2
  68. package/dist/actions/get-filing-file.cjs.map +1 -1
  69. package/dist/actions/get-filing-file.d.cts +2 -2
  70. package/dist/actions/get-filing-file.d.mts +2 -2
  71. package/dist/actions/get-filing-file.mjs +2 -2
  72. package/dist/actions/get-filing-file.mjs.map +1 -1
  73. package/dist/actions/get-filing.cjs +3 -3
  74. package/dist/actions/get-filing.cjs.map +1 -1
  75. package/dist/actions/get-filing.d.cts +3 -3
  76. package/dist/actions/get-filing.d.mts +3 -3
  77. package/dist/actions/get-filing.mjs +3 -3
  78. package/dist/actions/get-filing.mjs.map +1 -1
  79. package/dist/actions/get-forex-ema.cjs +5 -5
  80. package/dist/actions/get-forex-ema.cjs.map +1 -1
  81. package/dist/actions/get-forex-ema.d.cts +5 -5
  82. package/dist/actions/get-forex-ema.d.mts +5 -5
  83. package/dist/actions/get-forex-ema.mjs +5 -5
  84. package/dist/actions/get-forex-ema.mjs.map +1 -1
  85. package/dist/actions/get-forex-macd.cjs +4 -4
  86. package/dist/actions/get-forex-macd.cjs.map +1 -1
  87. package/dist/actions/get-forex-macd.d.cts +4 -4
  88. package/dist/actions/get-forex-macd.d.mts +4 -4
  89. package/dist/actions/get-forex-macd.mjs +4 -4
  90. package/dist/actions/get-forex-macd.mjs.map +1 -1
  91. package/dist/actions/get-forex-real-time-currency-conversion.cjs +2 -2
  92. package/dist/actions/get-forex-real-time-currency-conversion.cjs.map +1 -1
  93. package/dist/actions/get-forex-real-time-currency-conversion.d.cts +2 -2
  94. package/dist/actions/get-forex-real-time-currency-conversion.d.mts +2 -2
  95. package/dist/actions/get-forex-real-time-currency-conversion.mjs +2 -2
  96. package/dist/actions/get-forex-real-time-currency-conversion.mjs.map +1 -1
  97. package/dist/actions/get-forex-rsi.cjs +4 -4
  98. package/dist/actions/get-forex-rsi.cjs.map +1 -1
  99. package/dist/actions/get-forex-rsi.d.cts +4 -4
  100. package/dist/actions/get-forex-rsi.d.mts +4 -4
  101. package/dist/actions/get-forex-rsi.mjs +4 -4
  102. package/dist/actions/get-forex-rsi.mjs.map +1 -1
  103. package/dist/actions/get-forex-sma.cjs +5 -5
  104. package/dist/actions/get-forex-sma.cjs.map +1 -1
  105. package/dist/actions/get-forex-sma.d.cts +5 -5
  106. package/dist/actions/get-forex-sma.d.mts +5 -5
  107. package/dist/actions/get-forex-sma.mjs +5 -5
  108. package/dist/actions/get-forex-sma.mjs.map +1 -1
  109. package/dist/actions/get-futures-quotes.cjs +2 -2
  110. package/dist/actions/get-futures-quotes.cjs.map +1 -1
  111. package/dist/actions/get-futures-quotes.d.cts +2 -2
  112. package/dist/actions/get-futures-quotes.d.mts +2 -2
  113. package/dist/actions/get-futures-quotes.mjs +2 -2
  114. package/dist/actions/get-futures-quotes.mjs.map +1 -1
  115. package/dist/actions/get-grouped-daily.cjs +2 -2
  116. package/dist/actions/get-grouped-daily.cjs.map +1 -1
  117. package/dist/actions/get-grouped-daily.d.cts +2 -2
  118. package/dist/actions/get-grouped-daily.d.mts +2 -2
  119. package/dist/actions/get-grouped-daily.mjs +2 -2
  120. package/dist/actions/get-grouped-daily.mjs.map +1 -1
  121. package/dist/actions/get-historic-forex-ticks.cjs +2 -2
  122. package/dist/actions/get-historic-forex-ticks.cjs.map +1 -1
  123. package/dist/actions/get-historic-forex-ticks.d.cts +2 -2
  124. package/dist/actions/get-historic-forex-ticks.d.mts +2 -2
  125. package/dist/actions/get-historic-forex-ticks.mjs +2 -2
  126. package/dist/actions/get-historic-forex-ticks.mjs.map +1 -1
  127. package/dist/actions/get-inflation-expectations.cjs +2 -2
  128. package/dist/actions/get-inflation-expectations.cjs.map +1 -1
  129. package/dist/actions/get-inflation-expectations.d.cts +2 -2
  130. package/dist/actions/get-inflation-expectations.d.mts +2 -2
  131. package/dist/actions/get-inflation-expectations.mjs +2 -2
  132. package/dist/actions/get-inflation-expectations.mjs.map +1 -1
  133. package/dist/actions/get-ipo-data.cjs +2 -2
  134. package/dist/actions/get-ipo-data.cjs.map +1 -1
  135. package/dist/actions/get-ipo-data.d.cts +2 -2
  136. package/dist/actions/get-ipo-data.d.mts +2 -2
  137. package/dist/actions/get-ipo-data.mjs +2 -2
  138. package/dist/actions/get-ipo-data.mjs.map +1 -1
  139. package/dist/actions/get-labor-market.cjs +2 -2
  140. package/dist/actions/get-labor-market.cjs.map +1 -1
  141. package/dist/actions/get-labor-market.d.cts +2 -2
  142. package/dist/actions/get-labor-market.d.mts +2 -2
  143. package/dist/actions/get-labor-market.mjs +2 -2
  144. package/dist/actions/get-labor-market.mjs.map +1 -1
  145. package/dist/actions/get-macd.cjs +4 -4
  146. package/dist/actions/get-macd.cjs.map +1 -1
  147. package/dist/actions/get-macd.d.cts +4 -4
  148. package/dist/actions/get-macd.d.mts +4 -4
  149. package/dist/actions/get-macd.mjs +4 -4
  150. package/dist/actions/get-macd.mjs.map +1 -1
  151. package/dist/actions/get-market-holidays.cjs +2 -2
  152. package/dist/actions/get-market-holidays.cjs.map +1 -1
  153. package/dist/actions/get-market-holidays.d.cts +2 -2
  154. package/dist/actions/get-market-holidays.d.mts +2 -2
  155. package/dist/actions/get-market-holidays.mjs +2 -2
  156. package/dist/actions/get-market-holidays.mjs.map +1 -1
  157. package/dist/actions/get-market-status.cjs +4 -4
  158. package/dist/actions/get-market-status.cjs.map +1 -1
  159. package/dist/actions/get-market-status.d.cts +4 -4
  160. package/dist/actions/get-market-status.d.mts +4 -4
  161. package/dist/actions/get-market-status.mjs +4 -4
  162. package/dist/actions/get-market-status.mjs.map +1 -1
  163. package/dist/actions/get-news.cjs +3 -3
  164. package/dist/actions/get-news.cjs.map +1 -1
  165. package/dist/actions/get-news.d.cts +3 -3
  166. package/dist/actions/get-news.d.mts +3 -3
  167. package/dist/actions/get-news.mjs +3 -3
  168. package/dist/actions/get-news.mjs.map +1 -1
  169. package/dist/actions/get-options-contract-overview.cjs +3 -3
  170. package/dist/actions/get-options-contract-overview.cjs.map +1 -1
  171. package/dist/actions/get-options-contract-overview.d.cts +3 -3
  172. package/dist/actions/get-options-contract-overview.d.mts +3 -3
  173. package/dist/actions/get-options-contract-overview.mjs +3 -3
  174. package/dist/actions/get-options-contract-overview.mjs.map +1 -1
  175. package/dist/actions/get-options-ema.cjs +5 -5
  176. package/dist/actions/get-options-ema.cjs.map +1 -1
  177. package/dist/actions/get-options-ema.d.cts +5 -5
  178. package/dist/actions/get-options-ema.d.mts +5 -5
  179. package/dist/actions/get-options-ema.mjs +5 -5
  180. package/dist/actions/get-options-ema.mjs.map +1 -1
  181. package/dist/actions/get-options-macd.cjs +4 -4
  182. package/dist/actions/get-options-macd.cjs.map +1 -1
  183. package/dist/actions/get-options-macd.d.cts +4 -4
  184. package/dist/actions/get-options-macd.d.mts +4 -4
  185. package/dist/actions/get-options-macd.mjs +4 -4
  186. package/dist/actions/get-options-macd.mjs.map +1 -1
  187. package/dist/actions/get-options-rsi.cjs +4 -4
  188. package/dist/actions/get-options-rsi.cjs.map +1 -1
  189. package/dist/actions/get-options-rsi.d.cts +4 -4
  190. package/dist/actions/get-options-rsi.d.mts +4 -4
  191. package/dist/actions/get-options-rsi.mjs +4 -4
  192. package/dist/actions/get-options-rsi.mjs.map +1 -1
  193. package/dist/actions/get-options-sma.cjs +5 -5
  194. package/dist/actions/get-options-sma.cjs.map +1 -1
  195. package/dist/actions/get-options-sma.d.cts +5 -5
  196. package/dist/actions/get-options-sma.d.mts +5 -5
  197. package/dist/actions/get-options-sma.mjs +5 -5
  198. package/dist/actions/get-options-sma.mjs.map +1 -1
  199. package/dist/actions/get-related-companies.cjs +2 -2
  200. package/dist/actions/get-related-companies.cjs.map +1 -1
  201. package/dist/actions/get-related-companies.d.cts +2 -2
  202. package/dist/actions/get-related-companies.d.mts +2 -2
  203. package/dist/actions/get-related-companies.mjs +2 -2
  204. package/dist/actions/get-related-companies.mjs.map +1 -1
  205. package/dist/actions/get-rsi.cjs +4 -4
  206. package/dist/actions/get-rsi.cjs.map +1 -1
  207. package/dist/actions/get-rsi.d.cts +4 -4
  208. package/dist/actions/get-rsi.d.mts +4 -4
  209. package/dist/actions/get-rsi.mjs +4 -4
  210. package/dist/actions/get-rsi.mjs.map +1 -1
  211. package/dist/actions/get-sma.cjs +4 -4
  212. package/dist/actions/get-sma.cjs.map +1 -1
  213. package/dist/actions/get-sma.d.cts +4 -4
  214. package/dist/actions/get-sma.d.mts +4 -4
  215. package/dist/actions/get-sma.mjs +4 -4
  216. package/dist/actions/get-sma.mjs.map +1 -1
  217. package/dist/actions/get-splits.cjs +2 -2
  218. package/dist/actions/get-splits.cjs.map +1 -1
  219. package/dist/actions/get-splits.d.cts +2 -2
  220. package/dist/actions/get-splits.d.mts +2 -2
  221. package/dist/actions/get-splits.mjs +2 -2
  222. package/dist/actions/get-splits.mjs.map +1 -1
  223. package/dist/actions/get-stocks-custom-bars.cjs +2 -2
  224. package/dist/actions/get-stocks-custom-bars.cjs.map +1 -1
  225. package/dist/actions/get-stocks-custom-bars.d.cts +2 -2
  226. package/dist/actions/get-stocks-custom-bars.d.mts +2 -2
  227. package/dist/actions/get-stocks-custom-bars.mjs +2 -2
  228. package/dist/actions/get-stocks-custom-bars.mjs.map +1 -1
  229. package/dist/actions/get-stocks-daily-market-summary.cjs +2 -2
  230. package/dist/actions/get-stocks-daily-market-summary.cjs.map +1 -1
  231. package/dist/actions/get-stocks-daily-market-summary.d.cts +2 -2
  232. package/dist/actions/get-stocks-daily-market-summary.d.mts +2 -2
  233. package/dist/actions/get-stocks-daily-market-summary.mjs +2 -2
  234. package/dist/actions/get-stocks-daily-market-summary.mjs.map +1 -1
  235. package/dist/actions/get-stocks-filings-risk-factors.cjs +2 -2
  236. package/dist/actions/get-stocks-filings-risk-factors.cjs.map +1 -1
  237. package/dist/actions/get-stocks-filings-risk-factors.d.cts +2 -2
  238. package/dist/actions/get-stocks-filings-risk-factors.d.mts +2 -2
  239. package/dist/actions/get-stocks-filings-risk-factors.mjs +2 -2
  240. package/dist/actions/get-stocks-filings-risk-factors.mjs.map +1 -1
  241. package/dist/actions/get-stocks-filings-sections.cjs +2 -2
  242. package/dist/actions/get-stocks-filings-sections.cjs.map +1 -1
  243. package/dist/actions/get-stocks-filings-sections.d.cts +2 -2
  244. package/dist/actions/get-stocks-filings-sections.d.mts +2 -2
  245. package/dist/actions/get-stocks-filings-sections.mjs +2 -2
  246. package/dist/actions/get-stocks-filings-sections.mjs.map +1 -1
  247. package/dist/actions/get-stocks-free-float.cjs +2 -2
  248. package/dist/actions/get-stocks-free-float.cjs.map +1 -1
  249. package/dist/actions/get-stocks-free-float.d.cts +2 -2
  250. package/dist/actions/get-stocks-free-float.d.mts +2 -2
  251. package/dist/actions/get-stocks-free-float.mjs +2 -2
  252. package/dist/actions/get-stocks-free-float.mjs.map +1 -1
  253. package/dist/actions/get-stocks-full-market-snapshot.cjs +6 -6
  254. package/dist/actions/get-stocks-full-market-snapshot.cjs.map +1 -1
  255. package/dist/actions/get-stocks-full-market-snapshot.d.cts +7 -7
  256. package/dist/actions/get-stocks-full-market-snapshot.d.mts +7 -7
  257. package/dist/actions/get-stocks-full-market-snapshot.mjs +6 -6
  258. package/dist/actions/get-stocks-full-market-snapshot.mjs.map +1 -1
  259. package/dist/actions/get-stocks-income-statements.cjs +5 -5
  260. package/dist/actions/get-stocks-income-statements.cjs.map +1 -1
  261. package/dist/actions/get-stocks-income-statements.d.cts +26 -26
  262. package/dist/actions/get-stocks-income-statements.d.mts +26 -26
  263. package/dist/actions/get-stocks-income-statements.mjs +5 -5
  264. package/dist/actions/get-stocks-income-statements.mjs.map +1 -1
  265. package/dist/actions/get-stocks-previous-day-bar.cjs +2 -2
  266. package/dist/actions/get-stocks-previous-day-bar.cjs.map +1 -1
  267. package/dist/actions/get-stocks-previous-day-bar.d.cts +2 -2
  268. package/dist/actions/get-stocks-previous-day-bar.d.mts +2 -2
  269. package/dist/actions/get-stocks-previous-day-bar.mjs +2 -2
  270. package/dist/actions/get-stocks-previous-day-bar.mjs.map +1 -1
  271. package/dist/actions/get-stocks-risk-factor-taxonomies.cjs +2 -2
  272. package/dist/actions/get-stocks-risk-factor-taxonomies.cjs.map +1 -1
  273. package/dist/actions/get-stocks-risk-factor-taxonomies.d.cts +2 -2
  274. package/dist/actions/get-stocks-risk-factor-taxonomies.d.mts +2 -2
  275. package/dist/actions/get-stocks-risk-factor-taxonomies.mjs +2 -2
  276. package/dist/actions/get-stocks-risk-factor-taxonomies.mjs.map +1 -1
  277. package/dist/actions/get-stocks-v1-dividends.cjs +2 -2
  278. package/dist/actions/get-stocks-v1-dividends.cjs.map +1 -1
  279. package/dist/actions/get-stocks-v1-dividends.d.cts +2 -2
  280. package/dist/actions/get-stocks-v1-dividends.d.mts +2 -2
  281. package/dist/actions/get-stocks-v1-dividends.mjs +2 -2
  282. package/dist/actions/get-stocks-v1-dividends.mjs.map +1 -1
  283. package/dist/actions/get-stocks-v1-short-interest.cjs +2 -2
  284. package/dist/actions/get-stocks-v1-short-interest.cjs.map +1 -1
  285. package/dist/actions/get-stocks-v1-short-interest.d.cts +2 -2
  286. package/dist/actions/get-stocks-v1-short-interest.d.mts +2 -2
  287. package/dist/actions/get-stocks-v1-short-interest.mjs +2 -2
  288. package/dist/actions/get-stocks-v1-short-interest.mjs.map +1 -1
  289. package/dist/actions/get-stocks-v1-short-volume.cjs +2 -2
  290. package/dist/actions/get-stocks-v1-short-volume.cjs.map +1 -1
  291. package/dist/actions/get-stocks-v1-short-volume.d.cts +2 -2
  292. package/dist/actions/get-stocks-v1-short-volume.d.mts +2 -2
  293. package/dist/actions/get-stocks-v1-short-volume.mjs +2 -2
  294. package/dist/actions/get-stocks-v1-short-volume.mjs.map +1 -1
  295. package/dist/actions/get-stocks-v1-splits.cjs +2 -2
  296. package/dist/actions/get-stocks-v1-splits.cjs.map +1 -1
  297. package/dist/actions/get-stocks-v1-splits.d.cts +2 -2
  298. package/dist/actions/get-stocks-v1-splits.d.mts +2 -2
  299. package/dist/actions/get-stocks-v1-splits.mjs +2 -2
  300. package/dist/actions/get-stocks-v1-splits.mjs.map +1 -1
  301. package/dist/actions/get-ticker-events.cjs +4 -4
  302. package/dist/actions/get-ticker-events.cjs.map +1 -1
  303. package/dist/actions/get-ticker-events.d.cts +4 -4
  304. package/dist/actions/get-ticker-events.d.mts +4 -4
  305. package/dist/actions/get-ticker-events.mjs +4 -4
  306. package/dist/actions/get-ticker-events.mjs.map +1 -1
  307. package/dist/actions/get-ticker-overview.cjs +4 -4
  308. package/dist/actions/get-ticker-overview.cjs.map +1 -1
  309. package/dist/actions/get-ticker-overview.d.cts +4 -4
  310. package/dist/actions/get-ticker-overview.d.mts +4 -4
  311. package/dist/actions/get-ticker-overview.mjs +4 -4
  312. package/dist/actions/get-ticker-overview.mjs.map +1 -1
  313. package/dist/actions/get-ticker-types.cjs +2 -2
  314. package/dist/actions/get-ticker-types.cjs.map +1 -1
  315. package/dist/actions/get-ticker-types.d.cts +2 -2
  316. package/dist/actions/get-ticker-types.d.mts +2 -2
  317. package/dist/actions/get-ticker-types.mjs +2 -2
  318. package/dist/actions/get-ticker-types.mjs.map +1 -1
  319. package/dist/actions/get-treasury-yields.cjs +2 -2
  320. package/dist/actions/get-treasury-yields.cjs.map +1 -1
  321. package/dist/actions/get-treasury-yields.d.cts +2 -2
  322. package/dist/actions/get-treasury-yields.d.mts +2 -2
  323. package/dist/actions/get-treasury-yields.mjs +2 -2
  324. package/dist/actions/get-treasury-yields.mjs.map +1 -1
  325. package/dist/actions/list-exchanges.cjs +2 -2
  326. package/dist/actions/list-exchanges.cjs.map +1 -1
  327. package/dist/actions/list-exchanges.d.cts +2 -2
  328. package/dist/actions/list-exchanges.d.mts +2 -2
  329. package/dist/actions/list-exchanges.mjs +2 -2
  330. package/dist/actions/list-exchanges.mjs.map +1 -1
  331. package/dist/actions/list-filing-files.cjs +2 -2
  332. package/dist/actions/list-filing-files.cjs.map +1 -1
  333. package/dist/actions/list-filing-files.d.cts +2 -2
  334. package/dist/actions/list-filing-files.d.mts +2 -2
  335. package/dist/actions/list-filing-files.mjs +2 -2
  336. package/dist/actions/list-filing-files.mjs.map +1 -1
  337. package/dist/actions/list-filings.cjs +4 -4
  338. package/dist/actions/list-filings.cjs.map +1 -1
  339. package/dist/actions/list-filings.d.cts +4 -4
  340. package/dist/actions/list-filings.d.mts +4 -4
  341. package/dist/actions/list-filings.mjs +4 -4
  342. package/dist/actions/list-filings.mjs.map +1 -1
  343. package/dist/actions/list-options-contracts.cjs +3 -3
  344. package/dist/actions/list-options-contracts.cjs.map +1 -1
  345. package/dist/actions/list-options-contracts.d.cts +3 -3
  346. package/dist/actions/list-options-contracts.d.mts +3 -3
  347. package/dist/actions/list-options-contracts.mjs +3 -3
  348. package/dist/actions/list-options-contracts.mjs.map +1 -1
  349. package/dist/actions/polygon-last-quote-for-a-symbol.cjs +2 -2
  350. package/dist/actions/polygon-last-quote-for-a-symbol.cjs.map +1 -1
  351. package/dist/actions/polygon-last-quote-for-a-symbol.d.cts +2 -2
  352. package/dist/actions/polygon-last-quote-for-a-symbol.d.mts +2 -2
  353. package/dist/actions/polygon-last-quote-for-a-symbol.mjs +2 -2
  354. package/dist/actions/polygon-last-quote-for-a-symbol.mjs.map +1 -1
  355. package/dist/actions/polygon-last-trade-for-a-currency-pair.cjs +2 -2
  356. package/dist/actions/polygon-last-trade-for-a-currency-pair.cjs.map +1 -1
  357. package/dist/actions/polygon-last-trade-for-a-currency-pair.d.cts +2 -2
  358. package/dist/actions/polygon-last-trade-for-a-currency-pair.d.mts +2 -2
  359. package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs +2 -2
  360. package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs.map +1 -1
  361. package/dist/catalog.cjs +1 -1
  362. package/dist/catalog.cjs.map +1 -1
  363. package/dist/catalog.d.cts +1 -1
  364. package/dist/catalog.d.mts +1 -1
  365. package/dist/catalog.mjs +1 -1
  366. package/dist/catalog.mjs.map +1 -1
  367. package/package.json +1 -1
@@ -24,7 +24,7 @@ const PolygonIoGetOptionsEmaInput = zod.z.object({
24
24
  const PolygonIoGetOptionsEma_EMAValueSchema = zod.z.object({
25
25
  value: zod.z.number().describe("The exponential moving average value for this period.").nullable(),
26
26
  timestamp: zod.z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
27
- });
27
+ }).passthrough();
28
28
  const PolygonIoGetOptionsEma_AggregateBarSchema = zod.z.object({
29
29
  c: zod.z.number().describe("The close price for the aggregate window.").nullable().optional(),
30
30
  h: zod.z.number().describe("The high price for the aggregate window.").nullable().optional(),
@@ -34,21 +34,21 @@ const PolygonIoGetOptionsEma_AggregateBarSchema = zod.z.object({
34
34
  t: zod.z.number().int().describe("The Unix millisecond timestamp for the end of the aggregate window.").nullable().optional(),
35
35
  v: zod.z.number().describe("The trading volume for the aggregate window.").nullable().optional(),
36
36
  vw: zod.z.number().describe("The volume weighted average price for the aggregate window.").nullable().optional()
37
- });
37
+ }).passthrough();
38
38
  const PolygonIoGetOptionsEma_UnderlyingDataSchema = zod.z.object({
39
39
  url: zod.z.string().describe("The URL which can be used to request the underlying aggregates used in this calculation.").nullable().optional(),
40
40
  aggregates: zod.z.array(PolygonIoGetOptionsEma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional()
41
- });
41
+ }).passthrough();
42
42
  const PolygonIoGetOptionsEma_EMAResultsSchema = zod.z.object({
43
43
  values: zod.z.array(PolygonIoGetOptionsEma_EMAValueSchema).describe("Array of EMA indicator calculation results.").nullable().optional(),
44
44
  underlying: PolygonIoGetOptionsEma_UnderlyingDataSchema.nullable().optional()
45
- });
45
+ }).passthrough();
46
46
  const PolygonIoGetOptionsEmaOutput = zod.z.object({
47
47
  status: zod.z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
48
48
  results: PolygonIoGetOptionsEma_EMAResultsSchema.nullable().optional(),
49
49
  next_url: zod.z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
50
50
  request_id: zod.z.string().describe("A request id assigned by the server.").nullable().optional()
51
- });
51
+ }).passthrough();
52
52
  const polygonIoGetOptionsEma = require_action.action("POLYGON_IO_GET_OPTIONS_EMA", {
53
53
  slug: "polygon_io-get-options-ema",
54
54
  name: "Get Options EMA",
@@ -1 +1 @@
1
- {"version":3,"file":"get-options-ema.cjs","names":["z","action"],"sources":["../../src/actions/get-options-ema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsEmaInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().describe(\"The window size used to calculate the exponential moving average (EMA). For example, a window size of 10 with daily aggregates would result in a 10 day moving average. Required parameter.\"),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the EMA are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window. Options: minute, hour, day, week, month, quarter, year. Required parameter.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the exponential moving average. Defaults to 'close'.\").optional(),\n \"timestamp.gt\": z.string().describe(\"Filter for timestamps greater than the specified value.\").optional(),\n \"timestamp.lt\": z.string().describe(\"Filter for timestamps less than the specified value.\").optional(),\n \"timestamp.gte\": z.string().describe(\"Filter for timestamps greater than or equal to the specified value.\").optional(),\n \"timestamp.lte\": z.string().describe(\"Filter for timestamps less than or equal to the specified value.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL250117C00250000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Exponential Moving Average (EMA) for an options ticker.\");\nconst PolygonIoGetOptionsEma_EMAValueSchema = z.object({\n value: z.number().describe(\"The exponential moving average value for this period.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n});\nconst PolygonIoGetOptionsEma_AggregateBarSchema = z.object({\n c: z.number().describe(\"The close price for the aggregate window.\").nullable().optional(),\n h: z.number().describe(\"The high price for the aggregate window.\").nullable().optional(),\n l: z.number().describe(\"The low price for the aggregate window.\").nullable().optional(),\n n: z.number().int().describe(\"The number of transactions in the aggregate window.\").nullable().optional(),\n o: z.number().describe(\"The open price for the aggregate window.\").nullable().optional(),\n t: z.number().int().describe(\"The Unix millisecond timestamp for the end of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The trading volume for the aggregate window.\").nullable().optional(),\n vw: z.number().describe(\"The volume weighted average price for the aggregate window.\").nullable().optional(),\n});\nconst PolygonIoGetOptionsEma_UnderlyingDataSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this calculation.\").nullable().optional(),\n aggregates: z.array(PolygonIoGetOptionsEma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n});\nconst PolygonIoGetOptionsEma_EMAResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsEma_EMAValueSchema).describe(\"Array of EMA indicator calculation results.\").nullable().optional(),\n underlying: PolygonIoGetOptionsEma_UnderlyingDataSchema.nullable().optional(),\n});\nexport const PolygonIoGetOptionsEmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsEma_EMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n});\n\nexport const polygonIoGetOptionsEma = action(\"POLYGON_IO_GET_OPTIONS_EMA\", {\n slug: \"polygon_io-get-options-ema\",\n name: \"Get Options EMA\",\n description: \"Tool to calculate Exponential Moving Average (EMA) technical indicator for an options ticker. Use when you need trend analysis or moving average calculations for options contracts.\",\n input: PolygonIoGetOptionsEmaInput,\n output: PolygonIoGetOptionsEmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3I,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACjN,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6LAA6L;CAC/N,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC5M,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACxG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACrH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,C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A,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,YAAYA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAY,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-options-ema.cjs","names":["z","action"],"sources":["../../src/actions/get-options-ema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsEmaInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().describe(\"The window size used to calculate the exponential moving average (EMA). For example, a window size of 10 with daily aggregates would result in a 10 day moving average. Required parameter.\"),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the EMA are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window. Options: minute, hour, day, week, month, quarter, year. Required parameter.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the exponential moving average. Defaults to 'close'.\").optional(),\n \"timestamp.gt\": z.string().describe(\"Filter for timestamps greater than the specified value.\").optional(),\n \"timestamp.lt\": z.string().describe(\"Filter for timestamps less than the specified value.\").optional(),\n \"timestamp.gte\": z.string().describe(\"Filter for timestamps greater than or equal to the specified value.\").optional(),\n \"timestamp.lte\": z.string().describe(\"Filter for timestamps less than or equal to the specified value.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL250117C00250000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Exponential Moving Average (EMA) for an options ticker.\");\nconst PolygonIoGetOptionsEma_EMAValueSchema = z.object({\n value: z.number().describe(\"The exponential moving average value for this period.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsEma_AggregateBarSchema = z.object({\n c: z.number().describe(\"The close price for the aggregate window.\").nullable().optional(),\n h: z.number().describe(\"The high price for the aggregate window.\").nullable().optional(),\n l: z.number().describe(\"The low price for the aggregate window.\").nullable().optional(),\n n: z.number().int().describe(\"The number of transactions in the aggregate window.\").nullable().optional(),\n o: z.number().describe(\"The open price for the aggregate window.\").nullable().optional(),\n t: z.number().int().describe(\"The Unix millisecond timestamp for the end of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The trading volume for the aggregate window.\").nullable().optional(),\n vw: z.number().describe(\"The volume weighted average price for the aggregate window.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetOptionsEma_UnderlyingDataSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this calculation.\").nullable().optional(),\n aggregates: z.array(PolygonIoGetOptionsEma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetOptionsEma_EMAResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsEma_EMAValueSchema).describe(\"Array of EMA indicator calculation results.\").nullable().optional(),\n underlying: PolygonIoGetOptionsEma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsEmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsEma_EMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetOptionsEma = action(\"POLYGON_IO_GET_OPTIONS_EMA\", {\n slug: \"polygon_io-get-options-ema\",\n name: \"Get Options EMA\",\n description: \"Tool to calculate Exponential Moving Average (EMA) technical indicator for an options ticker. Use when you need trend analysis or moving average calculations for options contracts.\",\n input: PolygonIoGetOptionsEmaInput,\n output: PolygonIoGetOptionsEmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,E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ACzI,YAAYA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAY,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -30,7 +30,7 @@ declare const PolygonIoGetOptionsEmaOutput: z.ZodObject<{
30
30
  values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
31
31
  value: z.ZodNullable<z.ZodNumber>;
32
32
  timestamp: z.ZodNullable<z.ZodNumber>;
33
- }, z.core.$strip>>>>;
33
+ }, z.core.$loose>>>>;
34
34
  underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
35
35
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  aggregates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -42,12 +42,12 @@ declare const PolygonIoGetOptionsEmaOutput: z.ZodObject<{
42
42
  t: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
43
  v: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
44
  vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
- }, z.core.$strip>>>>;
46
- }, z.core.$strip>>>;
47
- }, z.core.$strip>>>;
45
+ }, z.core.$loose>>>>;
46
+ }, z.core.$loose>>>;
47
+ }, z.core.$loose>>>;
48
48
  next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
49
  request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
- }, z.core.$strip>;
50
+ }, z.core.$loose>;
51
51
  declare const polygonIoGetOptionsEma: import("@keystrokehq/action").WorkflowActionDefinition<{
52
52
  window: number;
53
53
  timespan: string;
@@ -30,7 +30,7 @@ declare const PolygonIoGetOptionsEmaOutput: z.ZodObject<{
30
30
  values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
31
31
  value: z.ZodNullable<z.ZodNumber>;
32
32
  timestamp: z.ZodNullable<z.ZodNumber>;
33
- }, z.core.$strip>>>>;
33
+ }, z.core.$loose>>>>;
34
34
  underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
35
35
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  aggregates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -42,12 +42,12 @@ declare const PolygonIoGetOptionsEmaOutput: z.ZodObject<{
42
42
  t: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
43
  v: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
44
  vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
- }, z.core.$strip>>>>;
46
- }, z.core.$strip>>>;
47
- }, z.core.$strip>>>;
45
+ }, z.core.$loose>>>>;
46
+ }, z.core.$loose>>>;
47
+ }, z.core.$loose>>>;
48
48
  next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
49
  request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
- }, z.core.$strip>;
50
+ }, z.core.$loose>;
51
51
  declare const polygonIoGetOptionsEma: import("@keystrokehq/action").WorkflowActionDefinition<{
52
52
  window: number;
53
53
  timespan: string;
@@ -24,7 +24,7 @@ const PolygonIoGetOptionsEmaInput = z.object({
24
24
  const PolygonIoGetOptionsEma_EMAValueSchema = z.object({
25
25
  value: z.number().describe("The exponential moving average value for this period.").nullable(),
26
26
  timestamp: z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
27
- });
27
+ }).passthrough();
28
28
  const PolygonIoGetOptionsEma_AggregateBarSchema = z.object({
29
29
  c: z.number().describe("The close price for the aggregate window.").nullable().optional(),
30
30
  h: z.number().describe("The high price for the aggregate window.").nullable().optional(),
@@ -34,15 +34,15 @@ const PolygonIoGetOptionsEma_AggregateBarSchema = z.object({
34
34
  t: z.number().int().describe("The Unix millisecond timestamp for the end of the aggregate window.").nullable().optional(),
35
35
  v: z.number().describe("The trading volume for the aggregate window.").nullable().optional(),
36
36
  vw: z.number().describe("The volume weighted average price for the aggregate window.").nullable().optional()
37
- });
37
+ }).passthrough();
38
38
  const PolygonIoGetOptionsEma_UnderlyingDataSchema = z.object({
39
39
  url: z.string().describe("The URL which can be used to request the underlying aggregates used in this calculation.").nullable().optional(),
40
40
  aggregates: z.array(PolygonIoGetOptionsEma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional()
41
- });
41
+ }).passthrough();
42
42
  const PolygonIoGetOptionsEma_EMAResultsSchema = z.object({
43
43
  values: z.array(PolygonIoGetOptionsEma_EMAValueSchema).describe("Array of EMA indicator calculation results.").nullable().optional(),
44
44
  underlying: PolygonIoGetOptionsEma_UnderlyingDataSchema.nullable().optional()
45
- });
45
+ }).passthrough();
46
46
  const polygonIoGetOptionsEma = action("POLYGON_IO_GET_OPTIONS_EMA", {
47
47
  slug: "polygon_io-get-options-ema",
48
48
  name: "Get Options EMA",
@@ -53,7 +53,7 @@ const polygonIoGetOptionsEma = action("POLYGON_IO_GET_OPTIONS_EMA", {
53
53
  results: PolygonIoGetOptionsEma_EMAResultsSchema.nullable().optional(),
54
54
  next_url: z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
55
55
  request_id: z.string().describe("A request id assigned by the server.").nullable().optional()
56
- })
56
+ }).passthrough()
57
57
  });
58
58
  //#endregion
59
59
  export { polygonIoGetOptionsEma };
@@ -1 +1 @@
1
- {"version":3,"file":"get-options-ema.mjs","names":[],"sources":["../../src/actions/get-options-ema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsEmaInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().describe(\"The window size used to calculate the exponential moving average (EMA). For example, a window size of 10 with daily aggregates would result in a 10 day moving average. Required parameter.\"),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the EMA are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window. Options: minute, hour, day, week, month, quarter, year. Required parameter.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the exponential moving average. Defaults to 'close'.\").optional(),\n \"timestamp.gt\": z.string().describe(\"Filter for timestamps greater than the specified value.\").optional(),\n \"timestamp.lt\": z.string().describe(\"Filter for timestamps less than the specified value.\").optional(),\n \"timestamp.gte\": z.string().describe(\"Filter for timestamps greater than or equal to the specified value.\").optional(),\n \"timestamp.lte\": z.string().describe(\"Filter for timestamps less than or equal to the specified value.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL250117C00250000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Exponential Moving Average (EMA) for an options ticker.\");\nconst PolygonIoGetOptionsEma_EMAValueSchema = z.object({\n value: z.number().describe(\"The exponential moving average value for this period.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n});\nconst PolygonIoGetOptionsEma_AggregateBarSchema = z.object({\n c: z.number().describe(\"The close price for the aggregate window.\").nullable().optional(),\n h: z.number().describe(\"The high price for the aggregate window.\").nullable().optional(),\n l: z.number().describe(\"The low price for the aggregate window.\").nullable().optional(),\n n: z.number().int().describe(\"The number of transactions in the aggregate window.\").nullable().optional(),\n o: z.number().describe(\"The open price for the aggregate window.\").nullable().optional(),\n t: z.number().int().describe(\"The Unix millisecond timestamp for the end of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The trading volume for the aggregate window.\").nullable().optional(),\n vw: z.number().describe(\"The volume weighted average price for the aggregate window.\").nullable().optional(),\n});\nconst PolygonIoGetOptionsEma_UnderlyingDataSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this calculation.\").nullable().optional(),\n aggregates: z.array(PolygonIoGetOptionsEma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n});\nconst PolygonIoGetOptionsEma_EMAResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsEma_EMAValueSchema).describe(\"Array of EMA indicator calculation results.\").nullable().optional(),\n underlying: PolygonIoGetOptionsEma_UnderlyingDataSchema.nullable().optional(),\n});\nexport const PolygonIoGetOptionsEmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsEma_EMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n});\n\nexport const polygonIoGetOptionsEma = action(\"POLYGON_IO_GET_OPTIONS_EMA\", {\n slug: \"polygon_io-get-options-ema\",\n name: \"Get Options EMA\",\n description: \"Tool to calculate Exponential Moving Average (EMA) technical indicator for an options ticker. Use when you need trend analysis or moving average calculations for options contracts.\",\n input: PolygonIoGetOptionsEmaInput,\n output: PolygonIoGetOptionsEmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3I,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACjN,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6LAA6L;CAC/N,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,aAAa,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC5M,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACxG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC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I,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,YAAY,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAY,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC;AAQD,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-options-ema.mjs","names":[],"sources":["../../src/actions/get-options-ema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsEmaInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().describe(\"The window size used to calculate the exponential moving average (EMA). For example, a window size of 10 with daily aggregates would result in a 10 day moving average. Required parameter.\"),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the EMA are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window. Options: minute, hour, day, week, month, quarter, year. Required parameter.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the exponential moving average. Defaults to 'close'.\").optional(),\n \"timestamp.gt\": z.string().describe(\"Filter for timestamps greater than the specified value.\").optional(),\n \"timestamp.lt\": z.string().describe(\"Filter for timestamps less than the specified value.\").optional(),\n \"timestamp.gte\": z.string().describe(\"Filter for timestamps greater than or equal to the specified value.\").optional(),\n \"timestamp.lte\": z.string().describe(\"Filter for timestamps less than or equal to the specified value.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL250117C00250000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Exponential Moving Average (EMA) for an options ticker.\");\nconst PolygonIoGetOptionsEma_EMAValueSchema = z.object({\n value: z.number().describe(\"The exponential moving average value for this period.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsEma_AggregateBarSchema = z.object({\n c: z.number().describe(\"The close price for the aggregate window.\").nullable().optional(),\n h: z.number().describe(\"The high price for the aggregate window.\").nullable().optional(),\n l: z.number().describe(\"The low price for the aggregate window.\").nullable().optional(),\n n: z.number().int().describe(\"The number of transactions in the aggregate window.\").nullable().optional(),\n o: z.number().describe(\"The open price for the aggregate window.\").nullable().optional(),\n t: z.number().int().describe(\"The Unix millisecond timestamp for the end of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The trading volume for the aggregate window.\").nullable().optional(),\n vw: z.number().describe(\"The volume weighted average price for the aggregate window.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetOptionsEma_UnderlyingDataSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this calculation.\").nullable().optional(),\n aggregates: z.array(PolygonIoGetOptionsEma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetOptionsEma_EMAResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsEma_EMAValueSchema).describe(\"Array of EMA indicator calculation results.\").nullable().optional(),\n underlying: PolygonIoGetOptionsEma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsEmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsEma_EMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetOptionsEma = action(\"POLYGON_IO_GET_OPTIONS_EMA\", {\n slug: \"polygon_io-get-options-ema\",\n name: \"Get Options EMA\",\n description: \"Tool to calculate Exponential Moving Average (EMA) technical indicator for an options ticker. Use when you need trend analysis or moving average calculations for options contracts.\",\n input: PolygonIoGetOptionsEmaInput,\n output: PolygonIoGetOptionsEmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3I,OAAO,EAAE,KA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a,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -24,18 +24,18 @@ const PolygonIoGetOptionsMacd_MACDValueSchema = zod.z.object({
24
24
  signal: zod.z.number().describe("The signal line value (EMA of the MACD line).").nullable(),
25
25
  histogram: zod.z.number().describe("The MACD histogram value (difference between MACD line and signal line, indicating momentum strength and direction).").nullable(),
26
26
  timestamp: zod.z.number().int().describe("Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
27
- });
28
- const PolygonIoGetOptionsMacd_UnderlyingSchema = zod.z.object({ url: zod.z.string().describe("URL to access the aggregate data used for calculations.").nullable() });
27
+ }).passthrough();
28
+ const PolygonIoGetOptionsMacd_UnderlyingSchema = zod.z.object({ url: zod.z.string().describe("URL to access the aggregate data used for calculations.").nullable() }).passthrough();
29
29
  const PolygonIoGetOptionsMacd_MACDResultsSchema = zod.z.object({
30
30
  values: zod.z.array(PolygonIoGetOptionsMacd_MACDValueSchema).describe("Array of MACD indicator data points.").nullable().optional(),
31
31
  underlying: PolygonIoGetOptionsMacd_UnderlyingSchema.nullable().optional()
32
- });
32
+ }).passthrough();
33
33
  const PolygonIoGetOptionsMacdOutput = zod.z.object({
34
34
  status: zod.z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
35
35
  results: PolygonIoGetOptionsMacd_MACDResultsSchema.nullable().optional(),
36
36
  next_url: zod.z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
37
37
  request_id: zod.z.string().describe("A request ID assigned by the server for tracking.").nullable().optional()
38
- });
38
+ }).passthrough();
39
39
  const polygonIoGetOptionsMacd = require_action.action("POLYGON_IO_GET_OPTIONS_MACD", {
40
40
  slug: "polygon_io-get-options-macd",
41
41
  name: "Get Options MACD",
@@ -1 +1 @@
1
- {"version":3,"file":"get-options-macd.cjs","names":["z","action"],"sources":["../../src/actions/get-options-macd.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsMacdInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"Order of results by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the MACD are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window. Options: minute, hour, day, week, month, quarter, year. Required parameter.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with format YYYY-MM-DD or a millisecond timestamp. Required parameter.\"),\n long_window: z.number().int().describe(\"The long window size (number of periods) used to calculate MACD data. Traditional value: 26. Required parameter.\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate MACD. Options: open, high, low, close. Defaults to 'close'.\").optional(),\n short_window: z.number().int().describe(\"The short window size (number of periods) used to calculate MACD data. Traditional value: 12. Required parameter.\"),\n signal_window: z.number().int().describe(\"The window size (number of periods) used to calculate the MACD signal line. Traditional value: 9. Required parameter.\"),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL251219C00150000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for an options ticker.\");\nconst PolygonIoGetOptionsMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD line value (difference between short EMA and long EMA).\").nullable(),\n signal: z.number().describe(\"The signal line value (EMA of the MACD line).\").nullable(),\n histogram: z.number().describe(\"The MACD histogram value (difference between MACD line and signal line, indicating momentum strength and direction).\").nullable(),\n timestamp: z.number().int().describe(\"Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n});\nconst PolygonIoGetOptionsMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to access the aggregate data used for calculations.\").nullable(),\n});\nconst PolygonIoGetOptionsMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsMacd_MACDValueSchema).describe(\"Array of MACD indicator data points.\").nullable().optional(),\n underlying: PolygonIoGetOptionsMacd_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonIoGetOptionsMacdOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsMacd_MACDResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request ID assigned by the server for tracking.\").nullable().optional(),\n});\n\nexport const polygonIoGetOptionsMacd = action(\"POLYGON_IO_GET_OPTIONS_MACD\", {\n slug: \"polygon_io-get-options-macd\",\n name: \"Get Options MACD\",\n description: \"Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for an options ticker. Use when you need momentum analysis, trend identification, or trading signal generation for options contracts.\",\n input: PolygonIoGetOptionsMacdInput,\n output: PolygonIoGetOptionsMacdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAA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AS,sHAAsH,CAAC,CAAC,SAAS;CAChK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAChI,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO,EACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,EAC/F,CAAC;AACD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,YAAY,yCAAyC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAAS,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-options-macd.cjs","names":["z","action"],"sources":["../../src/actions/get-options-macd.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsMacdInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"Order of results by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the MACD are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window. Options: minute, hour, day, week, month, quarter, year. Required parameter.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with format YYYY-MM-DD or a millisecond timestamp. Required parameter.\"),\n long_window: z.number().int().describe(\"The long window size (number of periods) used to calculate MACD data. Traditional value: 26. Required parameter.\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate MACD. Options: open, high, low, close. Defaults to 'close'.\").optional(),\n short_window: z.number().int().describe(\"The short window size (number of periods) used to calculate MACD data. Traditional value: 12. Required parameter.\"),\n signal_window: z.number().int().describe(\"The window size (number of periods) used to calculate the MACD signal line. Traditional value: 9. Required parameter.\"),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL251219C00150000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for an options ticker.\");\nconst PolygonIoGetOptionsMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD line value (difference between short EMA and long EMA).\").nullable(),\n signal: z.number().describe(\"The signal line value (EMA of the MACD line).\").nullable(),\n histogram: z.number().describe(\"The MACD histogram value (difference between MACD line and signal line, indicating momentum strength and direction).\").nullable(),\n timestamp: z.number().int().describe(\"Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to access the aggregate data used for calculations.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsMacd_MACDValueSchema).describe(\"Array of MACD indicator data points.\").nullable().optional(),\n underlying: PolygonIoGetOptionsMacd_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsMacdOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsMacd_MACDResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request ID assigned by the server for tracking.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetOptionsMacd = action(\"POLYGON_IO_GET_OPTIONS_MACD\", {\n slug: \"polygon_io-get-options-macd\",\n name: \"Get Options MACD\",\n description: \"Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for an options ticker. Use when you need momentum analysis, trend identification, or trading signal generation for options contracts.\",\n input: PolygonIoGetOptionsMacdInput,\n output: PolygonIoGetOptionsMacdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3I,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAChL,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC7J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACzI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH;CACzJ,aAA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AC3E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAAS,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -30,14 +30,14 @@ declare const PolygonIoGetOptionsMacdOutput: z.ZodObject<{
30
30
  signal: z.ZodNullable<z.ZodNumber>;
31
31
  histogram: z.ZodNullable<z.ZodNumber>;
32
32
  timestamp: z.ZodNullable<z.ZodNumber>;
33
- }, z.core.$strip>>>>;
33
+ }, z.core.$loose>>>>;
34
34
  underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
35
35
  url: z.ZodNullable<z.ZodString>;
36
- }, z.core.$strip>>>;
37
- }, z.core.$strip>>>;
36
+ }, z.core.$loose>>>;
37
+ }, z.core.$loose>>>;
38
38
  next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
- }, z.core.$strip>;
40
+ }, z.core.$loose>;
41
41
  declare const polygonIoGetOptionsMacd: import("@keystrokehq/action").WorkflowActionDefinition<{
42
42
  timespan: string;
43
43
  timestamp: string;
@@ -30,14 +30,14 @@ declare const PolygonIoGetOptionsMacdOutput: z.ZodObject<{
30
30
  signal: z.ZodNullable<z.ZodNumber>;
31
31
  histogram: z.ZodNullable<z.ZodNumber>;
32
32
  timestamp: z.ZodNullable<z.ZodNumber>;
33
- }, z.core.$strip>>>>;
33
+ }, z.core.$loose>>>>;
34
34
  underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
35
35
  url: z.ZodNullable<z.ZodString>;
36
- }, z.core.$strip>>>;
37
- }, z.core.$strip>>>;
36
+ }, z.core.$loose>>>;
37
+ }, z.core.$loose>>>;
38
38
  next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
- }, z.core.$strip>;
40
+ }, z.core.$loose>;
41
41
  declare const polygonIoGetOptionsMacd: import("@keystrokehq/action").WorkflowActionDefinition<{
42
42
  timespan: string;
43
43
  timestamp: string;
@@ -24,12 +24,12 @@ const PolygonIoGetOptionsMacd_MACDValueSchema = z.object({
24
24
  signal: z.number().describe("The signal line value (EMA of the MACD line).").nullable(),
25
25
  histogram: z.number().describe("The MACD histogram value (difference between MACD line and signal line, indicating momentum strength and direction).").nullable(),
26
26
  timestamp: z.number().int().describe("Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
27
- });
28
- const PolygonIoGetOptionsMacd_UnderlyingSchema = z.object({ url: z.string().describe("URL to access the aggregate data used for calculations.").nullable() });
27
+ }).passthrough();
28
+ const PolygonIoGetOptionsMacd_UnderlyingSchema = z.object({ url: z.string().describe("URL to access the aggregate data used for calculations.").nullable() }).passthrough();
29
29
  const PolygonIoGetOptionsMacd_MACDResultsSchema = z.object({
30
30
  values: z.array(PolygonIoGetOptionsMacd_MACDValueSchema).describe("Array of MACD indicator data points.").nullable().optional(),
31
31
  underlying: PolygonIoGetOptionsMacd_UnderlyingSchema.nullable().optional()
32
- });
32
+ }).passthrough();
33
33
  const polygonIoGetOptionsMacd = action("POLYGON_IO_GET_OPTIONS_MACD", {
34
34
  slug: "polygon_io-get-options-macd",
35
35
  name: "Get Options MACD",
@@ -40,7 +40,7 @@ const polygonIoGetOptionsMacd = action("POLYGON_IO_GET_OPTIONS_MACD", {
40
40
  results: PolygonIoGetOptionsMacd_MACDResultsSchema.nullable().optional(),
41
41
  next_url: z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
42
42
  request_id: z.string().describe("A request ID assigned by the server for tracking.").nullable().optional()
43
- })
43
+ }).passthrough()
44
44
  });
45
45
  //#endregion
46
46
  export { polygonIoGetOptionsMacd };
@@ -1 +1 @@
1
- {"version":3,"file":"get-options-macd.mjs","names":[],"sources":["../../src/actions/get-options-macd.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsMacdInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"Order of results by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the MACD are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window. Options: minute, hour, day, week, month, quarter, year. Required parameter.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with format YYYY-MM-DD or a millisecond timestamp. Required parameter.\"),\n long_window: z.number().int().describe(\"The long window size (number of periods) used to calculate MACD data. Traditional value: 26. Required parameter.\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate MACD. Options: open, high, low, close. Defaults to 'close'.\").optional(),\n short_window: z.number().int().describe(\"The short window size (number of periods) used to calculate MACD data. Traditional value: 12. Required parameter.\"),\n signal_window: z.number().int().describe(\"The window size (number of periods) used to calculate the MACD signal line. Traditional value: 9. Required parameter.\"),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL251219C00150000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for an options ticker.\");\nconst PolygonIoGetOptionsMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD line value (difference between short EMA and long EMA).\").nullable(),\n signal: z.number().describe(\"The signal line value (EMA of the MACD line).\").nullable(),\n histogram: z.number().describe(\"The MACD histogram value (difference between MACD line and signal line, indicating momentum strength and direction).\").nullable(),\n timestamp: z.number().int().describe(\"Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n});\nconst PolygonIoGetOptionsMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to access the aggregate data used for calculations.\").nullable(),\n});\nconst PolygonIoGetOptionsMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsMacd_MACDValueSchema).describe(\"Array of MACD indicator data points.\").nullable().optional(),\n underlying: PolygonIoGetOptionsMacd_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonIoGetOptionsMacdOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsMacd_MACDResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request ID assigned by the server for tracking.\").nullable().optional(),\n});\n\nexport const polygonIoGetOptionsMacd = action(\"POLYGON_IO_GET_OPTIONS_MACD\", {\n slug: \"polygon_io-get-options-macd\",\n name: \"Get Options MACD\",\n description: \"Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for an options ticker. Use when you need momentum analysis, trend identification, or trading signal generation for options contracts.\",\n input: PolygonIoGetOptionsMacdInput,\n output: PolygonIoGetOptionsMacdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CA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AACD,MAAM,2CAA2C,EAAE,OAAO,EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,EAC/F,CAAC;AACD,MAAM,4CAA4C,EAAE,OAAO;CACzD,QAAQ,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,YAAY,yCAAyC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC;AAQD,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-options-macd.mjs","names":[],"sources":["../../src/actions/get-options-macd.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsMacdInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"Order of results by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the MACD are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window. Options: minute, hour, day, week, month, quarter, year. Required parameter.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with format YYYY-MM-DD or a millisecond timestamp. Required parameter.\"),\n long_window: z.number().int().describe(\"The long window size (number of periods) used to calculate MACD data. Traditional value: 26. Required parameter.\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate MACD. Options: open, high, low, close. Defaults to 'close'.\").optional(),\n short_window: z.number().int().describe(\"The short window size (number of periods) used to calculate MACD data. Traditional value: 12. Required parameter.\"),\n signal_window: z.number().int().describe(\"The window size (number of periods) used to calculate the MACD signal line. Traditional value: 9. Required parameter.\"),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL251219C00150000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for an options ticker.\");\nconst PolygonIoGetOptionsMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD line value (difference between short EMA and long EMA).\").nullable(),\n signal: z.number().describe(\"The signal line value (EMA of the MACD line).\").nullable(),\n histogram: z.number().describe(\"The MACD histogram value (difference between MACD line and signal line, indicating momentum strength and direction).\").nullable(),\n timestamp: z.number().int().describe(\"Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to access the aggregate data used for calculations.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsMacd_MACDValueSchema).describe(\"Array of MACD indicator data points.\").nullable().optional(),\n underlying: PolygonIoGetOptionsMacd_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsMacdOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsMacd_MACDResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request ID assigned by the server for tracking.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetOptionsMacd = action(\"POLYGON_IO_GET_OPTIONS_MACD\", {\n slug: \"polygon_io-get-options-macd\",\n name: \"Get Options MACD\",\n description: \"Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for an options ticker. Use when you need momentum analysis, trend identification, or trading signal generation for options contracts.\",\n input: PolygonIoGetOptionsMacdInput,\n output: PolygonIoGetOptionsMacdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3I,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAChL,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC7J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACzI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH;CACzJ,aAAa,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACnN,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mHAAmH;CAC3J,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uHAAuH;CAChK,gBAAgB,EAAE,OAAO,CAA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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -32,18 +32,18 @@ const PolygonIoGetOptionsRsiInput = zod.z.object({
32
32
  const PolygonIoGetOptionsRsi_RSIValueSchema = zod.z.object({
33
33
  value: zod.z.number().describe("The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.").nullable(),
34
34
  timestamp: zod.z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
35
- });
36
- const PolygonIoGetOptionsRsi_UnderlyingSchema = zod.z.object({ url: zod.z.string().describe("The URL which can be used to request the underlying aggregates used in this request.").nullable() });
35
+ }).passthrough();
36
+ const PolygonIoGetOptionsRsi_UnderlyingSchema = zod.z.object({ url: zod.z.string().describe("The URL which can be used to request the underlying aggregates used in this request.").nullable() }).passthrough();
37
37
  const PolygonIoGetOptionsRsi_RSIResultsSchema = zod.z.object({
38
38
  values: zod.z.array(PolygonIoGetOptionsRsi_RSIValueSchema).describe("An array of RSI value objects with timestamps and indicator values.").nullable().optional(),
39
39
  underlying: PolygonIoGetOptionsRsi_UnderlyingSchema.nullable().optional()
40
- });
40
+ }).passthrough();
41
41
  const PolygonIoGetOptionsRsiOutput = zod.z.object({
42
42
  status: zod.z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
43
43
  results: PolygonIoGetOptionsRsi_RSIResultsSchema.nullable().optional(),
44
44
  next_url: zod.z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
45
45
  request_id: zod.z.string().describe("A request ID assigned by the server.").nullable().optional()
46
- });
46
+ }).passthrough();
47
47
  const polygonIoGetOptionsRsi = require_action.action("POLYGON_IO_GET_OPTIONS_RSI", {
48
48
  slug: "polygon_io-get-options-rsi",
49
49
  name: "Get Options RSI",
@@ -1 +1 @@
1
- {"version":3,"file":"get-options-rsi.cjs","names":["z","action"],"sources":["../../src/actions/get-options-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of base aggregates queried to create the aggregate results. Default: 5000. Max: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(14).describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation. Defaults to 14.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the RSI are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"The size of the aggregate time window. Required parameter to define the period for RSI calculation.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the RSI. Defaults to 'close'.\").optional(),\n timestamp_gt: z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_gte: z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL250117C00250000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Relative Strength Index (RSI) for an options ticker.\");\nconst PolygonIoGetOptionsRsi_RSIValueSchema = z.object({\n value: z.number().describe(\"The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n});\nconst PolygonIoGetOptionsRsi_UnderlyingSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable(),\n});\nconst PolygonIoGetOptionsRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetOptionsRsi_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonIoGetOptionsRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsRsi_RSIResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request ID assigned by the server.\").nullable().optional(),\n});\n\nexport const polygonIoGetOptionsRsi = action(\"POLYGON_IO_GET_OPTIONS_RSI\", {\n slug: \"polygon_io-get-options-rsi\",\n name: \"Get Options RSI\",\n description: \"Tool to calculate Relative Strength Index (RSI) technical indicator for an options ticker. Use when you need momentum analysis or want to identify overbought/oversold conditions for options contracts.\",\n input: PolygonIoGetOptionsRsiInput,\n output: PolygonIoGetOptionsRsiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACnK,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8IAA8I,C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AAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AACpI,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO,EACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,EAC5H,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-options-rsi.cjs","names":["z","action"],"sources":["../../src/actions/get-options-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of base aggregates queried to create the aggregate results. Default: 5000. Max: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(14).describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation. Defaults to 14.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the RSI are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"The size of the aggregate time window. Required parameter to define the period for RSI calculation.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the RSI. Defaults to 'close'.\").optional(),\n timestamp_gt: z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_gte: z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL250117C00250000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Relative Strength Index (RSI) for an options ticker.\");\nconst PolygonIoGetOptionsRsi_RSIValueSchema = z.object({\n value: z.number().describe(\"The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsRsi_UnderlyingSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetOptionsRsi_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsRsi_RSIResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request ID assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetOptionsRsi = action(\"POLYGON_IO_GET_OPTIONS_RSI\", {\n slug: \"polygon_io-get-options-rsi\",\n name: \"Get Options RSI\",\n description: \"Tool to calculate Relative Strength Index (RSI) technical indicator for an options ticker. Use when you need momentum analysis or want to identify overbought/oversold conditions for options contracts.\",\n input: PolygonIoGetOptionsRsiInput,\n output: PolygonIoGetOptionsRsiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACnK,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACjN,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAC1L,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,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AsF,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -38,14 +38,14 @@ declare const PolygonIoGetOptionsRsiOutput: z.ZodObject<{
38
38
  values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
39
39
  value: z.ZodNullable<z.ZodNumber>;
40
40
  timestamp: z.ZodNullable<z.ZodNumber>;
41
- }, z.core.$strip>>>>;
41
+ }, z.core.$loose>>>>;
42
42
  underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
43
  url: z.ZodNullable<z.ZodString>;
44
- }, z.core.$strip>>>;
45
- }, z.core.$strip>>>;
44
+ }, z.core.$loose>>>;
45
+ }, z.core.$loose>>>;
46
46
  next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
- }, z.core.$strip>;
48
+ }, z.core.$loose>;
49
49
  declare const polygonIoGetOptionsRsi: import("@keystrokehq/action").WorkflowActionDefinition<{
50
50
  timespan: "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
51
51
  options_ticker: string;
@@ -38,14 +38,14 @@ declare const PolygonIoGetOptionsRsiOutput: z.ZodObject<{
38
38
  values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
39
39
  value: z.ZodNullable<z.ZodNumber>;
40
40
  timestamp: z.ZodNullable<z.ZodNumber>;
41
- }, z.core.$strip>>>>;
41
+ }, z.core.$loose>>>>;
42
42
  underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
43
  url: z.ZodNullable<z.ZodString>;
44
- }, z.core.$strip>>>;
45
- }, z.core.$strip>>>;
44
+ }, z.core.$loose>>>;
45
+ }, z.core.$loose>>>;
46
46
  next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
47
  request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
- }, z.core.$strip>;
48
+ }, z.core.$loose>;
49
49
  declare const polygonIoGetOptionsRsi: import("@keystrokehq/action").WorkflowActionDefinition<{
50
50
  timespan: "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
51
51
  options_ticker: string;
@@ -32,12 +32,12 @@ const PolygonIoGetOptionsRsiInput = z.object({
32
32
  const PolygonIoGetOptionsRsi_RSIValueSchema = z.object({
33
33
  value: z.number().describe("The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.").nullable(),
34
34
  timestamp: z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
35
- });
36
- const PolygonIoGetOptionsRsi_UnderlyingSchema = z.object({ url: z.string().describe("The URL which can be used to request the underlying aggregates used in this request.").nullable() });
35
+ }).passthrough();
36
+ const PolygonIoGetOptionsRsi_UnderlyingSchema = z.object({ url: z.string().describe("The URL which can be used to request the underlying aggregates used in this request.").nullable() }).passthrough();
37
37
  const PolygonIoGetOptionsRsi_RSIResultsSchema = z.object({
38
38
  values: z.array(PolygonIoGetOptionsRsi_RSIValueSchema).describe("An array of RSI value objects with timestamps and indicator values.").nullable().optional(),
39
39
  underlying: PolygonIoGetOptionsRsi_UnderlyingSchema.nullable().optional()
40
- });
40
+ }).passthrough();
41
41
  const polygonIoGetOptionsRsi = action("POLYGON_IO_GET_OPTIONS_RSI", {
42
42
  slug: "polygon_io-get-options-rsi",
43
43
  name: "Get Options RSI",
@@ -48,7 +48,7 @@ const polygonIoGetOptionsRsi = action("POLYGON_IO_GET_OPTIONS_RSI", {
48
48
  results: PolygonIoGetOptionsRsi_RSIResultsSchema.nullable().optional(),
49
49
  next_url: z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
50
50
  request_id: z.string().describe("A request ID assigned by the server.").nullable().optional()
51
- })
51
+ }).passthrough()
52
52
  });
53
53
  //#endregion
54
54
  export { polygonIoGetOptionsRsi };
@@ -1 +1 @@
1
- {"version":3,"file":"get-options-rsi.mjs","names":[],"sources":["../../src/actions/get-options-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of base aggregates queried to create the aggregate results. Default: 5000. Max: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(14).describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation. Defaults to 14.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the RSI are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"The size of the aggregate time window. Required parameter to define the period for RSI calculation.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the RSI. Defaults to 'close'.\").optional(),\n timestamp_gt: z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_gte: z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL250117C00250000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Relative Strength Index (RSI) for an options ticker.\");\nconst PolygonIoGetOptionsRsi_RSIValueSchema = z.object({\n value: z.number().describe(\"The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n});\nconst PolygonIoGetOptionsRsi_UnderlyingSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable(),\n});\nconst PolygonIoGetOptionsRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetOptionsRsi_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonIoGetOptionsRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsRsi_RSIResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request ID assigned by the server.\").nullable().optional(),\n});\n\nexport const polygonIoGetOptionsRsi = action(\"POLYGON_IO_GET_OPTIONS_RSI\", {\n slug: \"polygon_io-get-options-rsi\",\n name: \"Get Options RSI\",\n description: \"Tool to calculate Relative Strength Index (RSI) technical indicator for an options ticker. Use when you need momentum analysis or want to identify overbought/oversold conditions for options contracts.\",\n input: PolygonIoGetOptionsRsiInput,\n output: PolygonIoGetOptionsRsiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACnK,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACjN,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAC1L,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5J,UAAU,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;EAAS;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,qGAAqG;CAC9L,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,aAAa,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACr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,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-options-rsi.mjs","names":[],"sources":["../../src/actions/get-options-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of base aggregates queried to create the aggregate results. Default: 5000. Max: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(14).describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation. Defaults to 14.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the RSI are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"The size of the aggregate time window. Required parameter to define the period for RSI calculation.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the RSI. Defaults to 'close'.\").optional(),\n timestamp_gt: z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_gte: z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL250117C00250000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Relative Strength Index (RSI) for an options ticker.\");\nconst PolygonIoGetOptionsRsi_RSIValueSchema = z.object({\n value: z.number().describe(\"The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsRsi_UnderlyingSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetOptionsRsi_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsRsi_RSIResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request ID assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetOptionsRsi = action(\"POLYGON_IO_GET_OPTIONS_RSI\", {\n slug: \"polygon_io-get-options-rsi\",\n name: \"Get Options RSI\",\n description: \"Tool to calculate Relative Strength Index (RSI) technical indicator for an options ticker. Use when you need momentum analysis or want to identify overbought/oversold conditions for options contracts.\",\n input: PolygonIoGetOptionsRsiInput,\n output: PolygonIoGetOptionsRsiOutput,\n});\n"],"mapp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AAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,wCAAwC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACtM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0CAA0C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AAQf,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -33,7 +33,7 @@ const PolygonIoGetOptionsSmaInput = zod.z.object({
33
33
  const PolygonIoGetOptionsSma_SMAValueSchema = zod.z.object({
34
34
  value: zod.z.number().describe("The simple moving average value for this period.").nullable(),
35
35
  timestamp: zod.z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
36
- });
36
+ }).passthrough();
37
37
  const PolygonIoGetOptionsSma_AggregateBarSchema = zod.z.object({
38
38
  c: zod.z.number().describe("The close price for the aggregate window.").nullable().optional(),
39
39
  h: zod.z.number().describe("The high price for the aggregate window.").nullable().optional(),
@@ -43,21 +43,21 @@ const PolygonIoGetOptionsSma_AggregateBarSchema = zod.z.object({
43
43
  t: zod.z.number().int().describe("The Unix millisecond timestamp for the end of the aggregate window.").nullable().optional(),
44
44
  v: zod.z.number().describe("The trading volume for the aggregate window.").nullable().optional(),
45
45
  vw: zod.z.number().describe("The volume weighted average price for the aggregate window.").nullable().optional()
46
- });
46
+ }).passthrough();
47
47
  const PolygonIoGetOptionsSma_UnderlyingDataSchema = zod.z.object({
48
48
  url: zod.z.string().describe("The URL which can be used to request the underlying aggregates used in this calculation.").nullable().optional(),
49
49
  aggregates: zod.z.array(PolygonIoGetOptionsSma_AggregateBarSchema).describe("Array of aggregate objects containing OHLCV price and volume data.").nullable().optional()
50
- });
50
+ }).passthrough();
51
51
  const PolygonIoGetOptionsSma_SMAResultsSchema = zod.z.object({
52
52
  values: zod.z.array(PolygonIoGetOptionsSma_SMAValueSchema).describe("Array of SMA indicator calculation results.").nullable().optional(),
53
53
  underlying: PolygonIoGetOptionsSma_UnderlyingDataSchema.nullable().optional()
54
- });
54
+ }).passthrough();
55
55
  const PolygonIoGetOptionsSmaOutput = zod.z.object({
56
56
  status: zod.z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
57
57
  results: PolygonIoGetOptionsSma_SMAResultsSchema.nullable().optional(),
58
58
  next_url: zod.z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
59
59
  request_id: zod.z.string().describe("A request id assigned by the server.").nullable().optional()
60
- });
60
+ }).passthrough();
61
61
  const polygonIoGetOptionsSma = require_action.action("POLYGON_IO_GET_OPTIONS_SMA", {
62
62
  slug: "polygon_io-get-options-sma",
63
63
  name: "Get Options SMA",