@keystrokehq/polygon_io 0.1.0

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 (514) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/get-all-tickers.cjs +52 -0
  7. package/dist/actions/get-all-tickers.cjs.map +1 -0
  8. package/dist/actions/get-all-tickers.d.cts +9 -0
  9. package/dist/actions/get-all-tickers.d.cts.map +1 -0
  10. package/dist/actions/get-all-tickers.d.mts +9 -0
  11. package/dist/actions/get-all-tickers.d.mts.map +1 -0
  12. package/dist/actions/get-all-tickers.mjs +51 -0
  13. package/dist/actions/get-all-tickers.mjs.map +1 -0
  14. package/dist/actions/get-condition-codes.cjs +41 -0
  15. package/dist/actions/get-condition-codes.cjs.map +1 -0
  16. package/dist/actions/get-condition-codes.d.cts +9 -0
  17. package/dist/actions/get-condition-codes.d.cts.map +1 -0
  18. package/dist/actions/get-condition-codes.d.mts +9 -0
  19. package/dist/actions/get-condition-codes.d.mts.map +1 -0
  20. package/dist/actions/get-condition-codes.mjs +40 -0
  21. package/dist/actions/get-condition-codes.mjs.map +1 -0
  22. package/dist/actions/get-crypto-ema.cjs +70 -0
  23. package/dist/actions/get-crypto-ema.cjs.map +1 -0
  24. package/dist/actions/get-crypto-ema.d.cts +9 -0
  25. package/dist/actions/get-crypto-ema.d.cts.map +1 -0
  26. package/dist/actions/get-crypto-ema.d.mts +9 -0
  27. package/dist/actions/get-crypto-ema.d.mts.map +1 -0
  28. package/dist/actions/get-crypto-ema.mjs +69 -0
  29. package/dist/actions/get-crypto-ema.mjs.map +1 -0
  30. package/dist/actions/get-crypto-macd.cjs +49 -0
  31. package/dist/actions/get-crypto-macd.cjs.map +1 -0
  32. package/dist/actions/get-crypto-macd.d.cts +9 -0
  33. package/dist/actions/get-crypto-macd.d.cts.map +1 -0
  34. package/dist/actions/get-crypto-macd.d.mts +9 -0
  35. package/dist/actions/get-crypto-macd.d.mts.map +1 -0
  36. package/dist/actions/get-crypto-macd.mjs +48 -0
  37. package/dist/actions/get-crypto-macd.mjs.map +1 -0
  38. package/dist/actions/get-crypto-open-close.cjs +37 -0
  39. package/dist/actions/get-crypto-open-close.cjs.map +1 -0
  40. package/dist/actions/get-crypto-open-close.d.cts +9 -0
  41. package/dist/actions/get-crypto-open-close.d.cts.map +1 -0
  42. package/dist/actions/get-crypto-open-close.d.mts +9 -0
  43. package/dist/actions/get-crypto-open-close.d.mts.map +1 -0
  44. package/dist/actions/get-crypto-open-close.mjs +36 -0
  45. package/dist/actions/get-crypto-open-close.mjs.map +1 -0
  46. package/dist/actions/get-crypto-rsi.cjs +57 -0
  47. package/dist/actions/get-crypto-rsi.cjs.map +1 -0
  48. package/dist/actions/get-crypto-rsi.d.cts +9 -0
  49. package/dist/actions/get-crypto-rsi.d.cts.map +1 -0
  50. package/dist/actions/get-crypto-rsi.d.mts +9 -0
  51. package/dist/actions/get-crypto-rsi.d.mts.map +1 -0
  52. package/dist/actions/get-crypto-rsi.mjs +56 -0
  53. package/dist/actions/get-crypto-rsi.mjs.map +1 -0
  54. package/dist/actions/get-crypto-sma.cjs +57 -0
  55. package/dist/actions/get-crypto-sma.cjs.map +1 -0
  56. package/dist/actions/get-crypto-sma.d.cts +9 -0
  57. package/dist/actions/get-crypto-sma.d.cts.map +1 -0
  58. package/dist/actions/get-crypto-sma.d.mts +9 -0
  59. package/dist/actions/get-crypto-sma.d.mts.map +1 -0
  60. package/dist/actions/get-crypto-sma.mjs +56 -0
  61. package/dist/actions/get-crypto-sma.mjs.map +1 -0
  62. package/dist/actions/get-daily-open-close.cjs +31 -0
  63. package/dist/actions/get-daily-open-close.cjs.map +1 -0
  64. package/dist/actions/get-daily-open-close.d.cts +9 -0
  65. package/dist/actions/get-daily-open-close.d.cts.map +1 -0
  66. package/dist/actions/get-daily-open-close.d.mts +9 -0
  67. package/dist/actions/get-daily-open-close.d.mts.map +1 -0
  68. package/dist/actions/get-daily-open-close.mjs +28 -0
  69. package/dist/actions/get-daily-open-close.mjs.map +1 -0
  70. package/dist/actions/get-dividends.cjs +58 -0
  71. package/dist/actions/get-dividends.cjs.map +1 -0
  72. package/dist/actions/get-dividends.d.cts +9 -0
  73. package/dist/actions/get-dividends.d.cts.map +1 -0
  74. package/dist/actions/get-dividends.d.mts +9 -0
  75. package/dist/actions/get-dividends.d.mts.map +1 -0
  76. package/dist/actions/get-dividends.mjs +57 -0
  77. package/dist/actions/get-dividends.mjs.map +1 -0
  78. package/dist/actions/get-economy-inflation2.cjs +40 -0
  79. package/dist/actions/get-economy-inflation2.cjs.map +1 -0
  80. package/dist/actions/get-economy-inflation2.d.cts +9 -0
  81. package/dist/actions/get-economy-inflation2.d.cts.map +1 -0
  82. package/dist/actions/get-economy-inflation2.d.mts +9 -0
  83. package/dist/actions/get-economy-inflation2.d.mts.map +1 -0
  84. package/dist/actions/get-economy-inflation2.mjs +39 -0
  85. package/dist/actions/get-economy-inflation2.mjs.map +1 -0
  86. package/dist/actions/get-ema.cjs +58 -0
  87. package/dist/actions/get-ema.cjs.map +1 -0
  88. package/dist/actions/get-ema.d.cts +9 -0
  89. package/dist/actions/get-ema.d.cts.map +1 -0
  90. package/dist/actions/get-ema.d.mts +9 -0
  91. package/dist/actions/get-ema.d.mts.map +1 -0
  92. package/dist/actions/get-ema.mjs +57 -0
  93. package/dist/actions/get-ema.mjs.map +1 -0
  94. package/dist/actions/get-filing-file.cjs +24 -0
  95. package/dist/actions/get-filing-file.cjs.map +1 -0
  96. package/dist/actions/get-filing-file.d.cts +9 -0
  97. package/dist/actions/get-filing-file.d.cts.map +1 -0
  98. package/dist/actions/get-filing-file.d.mts +9 -0
  99. package/dist/actions/get-filing-file.d.mts.map +1 -0
  100. package/dist/actions/get-filing-file.mjs +23 -0
  101. package/dist/actions/get-filing-file.mjs.map +1 -0
  102. package/dist/actions/get-filing.cjs +38 -0
  103. package/dist/actions/get-filing.cjs.map +1 -0
  104. package/dist/actions/get-filing.d.cts +9 -0
  105. package/dist/actions/get-filing.d.cts.map +1 -0
  106. package/dist/actions/get-filing.d.mts +9 -0
  107. package/dist/actions/get-filing.d.mts.map +1 -0
  108. package/dist/actions/get-filing.mjs +37 -0
  109. package/dist/actions/get-filing.mjs.map +1 -0
  110. package/dist/actions/get-forex-ema.cjs +63 -0
  111. package/dist/actions/get-forex-ema.cjs.map +1 -0
  112. package/dist/actions/get-forex-ema.d.cts +9 -0
  113. package/dist/actions/get-forex-ema.d.cts.map +1 -0
  114. package/dist/actions/get-forex-ema.d.mts +9 -0
  115. package/dist/actions/get-forex-ema.d.mts.map +1 -0
  116. package/dist/actions/get-forex-ema.mjs +62 -0
  117. package/dist/actions/get-forex-ema.mjs.map +1 -0
  118. package/dist/actions/get-forex-macd.cjs +53 -0
  119. package/dist/actions/get-forex-macd.cjs.map +1 -0
  120. package/dist/actions/get-forex-macd.d.cts +9 -0
  121. package/dist/actions/get-forex-macd.d.cts.map +1 -0
  122. package/dist/actions/get-forex-macd.d.mts +9 -0
  123. package/dist/actions/get-forex-macd.d.mts.map +1 -0
  124. package/dist/actions/get-forex-macd.mjs +52 -0
  125. package/dist/actions/get-forex-macd.mjs.map +1 -0
  126. package/dist/actions/get-forex-real-time-currency-conversion.cjs +36 -0
  127. package/dist/actions/get-forex-real-time-currency-conversion.cjs.map +1 -0
  128. package/dist/actions/get-forex-real-time-currency-conversion.d.cts +9 -0
  129. package/dist/actions/get-forex-real-time-currency-conversion.d.cts.map +1 -0
  130. package/dist/actions/get-forex-real-time-currency-conversion.d.mts +9 -0
  131. package/dist/actions/get-forex-real-time-currency-conversion.d.mts.map +1 -0
  132. package/dist/actions/get-forex-real-time-currency-conversion.mjs +35 -0
  133. package/dist/actions/get-forex-real-time-currency-conversion.mjs.map +1 -0
  134. package/dist/actions/get-forex-rsi.cjs +57 -0
  135. package/dist/actions/get-forex-rsi.cjs.map +1 -0
  136. package/dist/actions/get-forex-rsi.d.cts +9 -0
  137. package/dist/actions/get-forex-rsi.d.cts.map +1 -0
  138. package/dist/actions/get-forex-rsi.d.mts +9 -0
  139. package/dist/actions/get-forex-rsi.d.mts.map +1 -0
  140. package/dist/actions/get-forex-rsi.mjs +56 -0
  141. package/dist/actions/get-forex-rsi.mjs.map +1 -0
  142. package/dist/actions/get-forex-sma.cjs +70 -0
  143. package/dist/actions/get-forex-sma.cjs.map +1 -0
  144. package/dist/actions/get-forex-sma.d.cts +9 -0
  145. package/dist/actions/get-forex-sma.d.cts.map +1 -0
  146. package/dist/actions/get-forex-sma.d.mts +9 -0
  147. package/dist/actions/get-forex-sma.d.mts.map +1 -0
  148. package/dist/actions/get-forex-sma.mjs +69 -0
  149. package/dist/actions/get-forex-sma.mjs.map +1 -0
  150. package/dist/actions/get-futures-quotes.cjs +42 -0
  151. package/dist/actions/get-futures-quotes.cjs.map +1 -0
  152. package/dist/actions/get-futures-quotes.d.cts +9 -0
  153. package/dist/actions/get-futures-quotes.d.cts.map +1 -0
  154. package/dist/actions/get-futures-quotes.d.mts +9 -0
  155. package/dist/actions/get-futures-quotes.d.mts.map +1 -0
  156. package/dist/actions/get-futures-quotes.mjs +41 -0
  157. package/dist/actions/get-futures-quotes.mjs.map +1 -0
  158. package/dist/actions/get-grouped-daily.cjs +44 -0
  159. package/dist/actions/get-grouped-daily.cjs.map +1 -0
  160. package/dist/actions/get-grouped-daily.d.cts +9 -0
  161. package/dist/actions/get-grouped-daily.d.cts.map +1 -0
  162. package/dist/actions/get-grouped-daily.d.mts +9 -0
  163. package/dist/actions/get-grouped-daily.d.mts.map +1 -0
  164. package/dist/actions/get-grouped-daily.mjs +43 -0
  165. package/dist/actions/get-grouped-daily.mjs.map +1 -0
  166. package/dist/actions/get-historic-forex-ticks.cjs +33 -0
  167. package/dist/actions/get-historic-forex-ticks.cjs.map +1 -0
  168. package/dist/actions/get-historic-forex-ticks.d.cts +9 -0
  169. package/dist/actions/get-historic-forex-ticks.d.cts.map +1 -0
  170. package/dist/actions/get-historic-forex-ticks.d.mts +9 -0
  171. package/dist/actions/get-historic-forex-ticks.d.mts.map +1 -0
  172. package/dist/actions/get-historic-forex-ticks.mjs +32 -0
  173. package/dist/actions/get-historic-forex-ticks.mjs.map +1 -0
  174. package/dist/actions/get-inflation-expectations.cjs +41 -0
  175. package/dist/actions/get-inflation-expectations.cjs.map +1 -0
  176. package/dist/actions/get-inflation-expectations.d.cts +9 -0
  177. package/dist/actions/get-inflation-expectations.d.cts.map +1 -0
  178. package/dist/actions/get-inflation-expectations.d.mts +9 -0
  179. package/dist/actions/get-inflation-expectations.d.mts.map +1 -0
  180. package/dist/actions/get-inflation-expectations.mjs +40 -0
  181. package/dist/actions/get-inflation-expectations.mjs.map +1 -0
  182. package/dist/actions/get-ipo-data.cjs +40 -0
  183. package/dist/actions/get-ipo-data.cjs.map +1 -0
  184. package/dist/actions/get-ipo-data.d.cts +9 -0
  185. package/dist/actions/get-ipo-data.d.cts.map +1 -0
  186. package/dist/actions/get-ipo-data.d.mts +9 -0
  187. package/dist/actions/get-ipo-data.d.mts.map +1 -0
  188. package/dist/actions/get-ipo-data.mjs +39 -0
  189. package/dist/actions/get-ipo-data.mjs.map +1 -0
  190. package/dist/actions/get-labor-market.cjs +38 -0
  191. package/dist/actions/get-labor-market.cjs.map +1 -0
  192. package/dist/actions/get-labor-market.d.cts +9 -0
  193. package/dist/actions/get-labor-market.d.cts.map +1 -0
  194. package/dist/actions/get-labor-market.d.mts +9 -0
  195. package/dist/actions/get-labor-market.d.mts.map +1 -0
  196. package/dist/actions/get-labor-market.mjs +37 -0
  197. package/dist/actions/get-labor-market.mjs.map +1 -0
  198. package/dist/actions/get-macd.cjs +49 -0
  199. package/dist/actions/get-macd.cjs.map +1 -0
  200. package/dist/actions/get-macd.d.cts +9 -0
  201. package/dist/actions/get-macd.d.cts.map +1 -0
  202. package/dist/actions/get-macd.d.mts +9 -0
  203. package/dist/actions/get-macd.d.mts.map +1 -0
  204. package/dist/actions/get-macd.mjs +48 -0
  205. package/dist/actions/get-macd.mjs.map +1 -0
  206. package/dist/actions/get-market-holidays.cjs +24 -0
  207. package/dist/actions/get-market-holidays.cjs.map +1 -0
  208. package/dist/actions/get-market-holidays.d.cts +9 -0
  209. package/dist/actions/get-market-holidays.d.cts.map +1 -0
  210. package/dist/actions/get-market-holidays.d.mts +9 -0
  211. package/dist/actions/get-market-holidays.d.mts.map +1 -0
  212. package/dist/actions/get-market-holidays.mjs +23 -0
  213. package/dist/actions/get-market-holidays.mjs.map +1 -0
  214. package/dist/actions/get-market-status.cjs +24 -0
  215. package/dist/actions/get-market-status.cjs.map +1 -0
  216. package/dist/actions/get-market-status.d.cts +9 -0
  217. package/dist/actions/get-market-status.d.cts.map +1 -0
  218. package/dist/actions/get-market-status.d.mts +9 -0
  219. package/dist/actions/get-market-status.d.mts.map +1 -0
  220. package/dist/actions/get-market-status.mjs +21 -0
  221. package/dist/actions/get-market-status.mjs.map +1 -0
  222. package/dist/actions/get-news.cjs +48 -0
  223. package/dist/actions/get-news.cjs.map +1 -0
  224. package/dist/actions/get-news.d.cts +9 -0
  225. package/dist/actions/get-news.d.cts.map +1 -0
  226. package/dist/actions/get-news.d.mts +9 -0
  227. package/dist/actions/get-news.d.mts.map +1 -0
  228. package/dist/actions/get-news.mjs +47 -0
  229. package/dist/actions/get-news.mjs.map +1 -0
  230. package/dist/actions/get-options-contract-overview.cjs +41 -0
  231. package/dist/actions/get-options-contract-overview.cjs.map +1 -0
  232. package/dist/actions/get-options-contract-overview.d.cts +9 -0
  233. package/dist/actions/get-options-contract-overview.d.cts.map +1 -0
  234. package/dist/actions/get-options-contract-overview.d.mts +9 -0
  235. package/dist/actions/get-options-contract-overview.d.mts.map +1 -0
  236. package/dist/actions/get-options-contract-overview.mjs +40 -0
  237. package/dist/actions/get-options-contract-overview.mjs.map +1 -0
  238. package/dist/actions/get-options-ema.cjs +62 -0
  239. package/dist/actions/get-options-ema.cjs.map +1 -0
  240. package/dist/actions/get-options-ema.d.cts +9 -0
  241. package/dist/actions/get-options-ema.d.cts.map +1 -0
  242. package/dist/actions/get-options-ema.d.mts +9 -0
  243. package/dist/actions/get-options-ema.d.mts.map +1 -0
  244. package/dist/actions/get-options-ema.mjs +61 -0
  245. package/dist/actions/get-options-ema.mjs.map +1 -0
  246. package/dist/actions/get-options-macd.cjs +49 -0
  247. package/dist/actions/get-options-macd.cjs.map +1 -0
  248. package/dist/actions/get-options-macd.d.cts +9 -0
  249. package/dist/actions/get-options-macd.d.cts.map +1 -0
  250. package/dist/actions/get-options-macd.d.mts +9 -0
  251. package/dist/actions/get-options-macd.d.mts.map +1 -0
  252. package/dist/actions/get-options-macd.mjs +48 -0
  253. package/dist/actions/get-options-macd.mjs.map +1 -0
  254. package/dist/actions/get-options-rsi.cjs +57 -0
  255. package/dist/actions/get-options-rsi.cjs.map +1 -0
  256. package/dist/actions/get-options-rsi.d.cts +9 -0
  257. package/dist/actions/get-options-rsi.d.cts.map +1 -0
  258. package/dist/actions/get-options-rsi.d.mts +9 -0
  259. package/dist/actions/get-options-rsi.d.mts.map +1 -0
  260. package/dist/actions/get-options-rsi.mjs +56 -0
  261. package/dist/actions/get-options-rsi.mjs.map +1 -0
  262. package/dist/actions/get-options-sma.cjs +71 -0
  263. package/dist/actions/get-options-sma.cjs.map +1 -0
  264. package/dist/actions/get-options-sma.d.cts +9 -0
  265. package/dist/actions/get-options-sma.d.cts.map +1 -0
  266. package/dist/actions/get-options-sma.d.mts +9 -0
  267. package/dist/actions/get-options-sma.d.mts.map +1 -0
  268. package/dist/actions/get-options-sma.mjs +70 -0
  269. package/dist/actions/get-options-sma.mjs.map +1 -0
  270. package/dist/actions/get-related-companies.cjs +22 -0
  271. package/dist/actions/get-related-companies.cjs.map +1 -0
  272. package/dist/actions/get-related-companies.d.cts +9 -0
  273. package/dist/actions/get-related-companies.d.cts.map +1 -0
  274. package/dist/actions/get-related-companies.d.mts +9 -0
  275. package/dist/actions/get-related-companies.d.mts.map +1 -0
  276. package/dist/actions/get-related-companies.mjs +21 -0
  277. package/dist/actions/get-related-companies.mjs.map +1 -0
  278. package/dist/actions/get-rsi.cjs +45 -0
  279. package/dist/actions/get-rsi.cjs.map +1 -0
  280. package/dist/actions/get-rsi.d.cts +9 -0
  281. package/dist/actions/get-rsi.d.cts.map +1 -0
  282. package/dist/actions/get-rsi.d.mts +9 -0
  283. package/dist/actions/get-rsi.d.mts.map +1 -0
  284. package/dist/actions/get-rsi.mjs +44 -0
  285. package/dist/actions/get-rsi.mjs.map +1 -0
  286. package/dist/actions/get-sma.cjs +45 -0
  287. package/dist/actions/get-sma.cjs.map +1 -0
  288. package/dist/actions/get-sma.d.cts +9 -0
  289. package/dist/actions/get-sma.d.cts.map +1 -0
  290. package/dist/actions/get-sma.d.mts +9 -0
  291. package/dist/actions/get-sma.d.mts.map +1 -0
  292. package/dist/actions/get-sma.mjs +44 -0
  293. package/dist/actions/get-sma.mjs.map +1 -0
  294. package/dist/actions/get-splits.cjs +39 -0
  295. package/dist/actions/get-splits.cjs.map +1 -0
  296. package/dist/actions/get-splits.d.cts +9 -0
  297. package/dist/actions/get-splits.d.cts.map +1 -0
  298. package/dist/actions/get-splits.d.mts +9 -0
  299. package/dist/actions/get-splits.d.mts.map +1 -0
  300. package/dist/actions/get-splits.mjs +38 -0
  301. package/dist/actions/get-splits.mjs.map +1 -0
  302. package/dist/actions/get-stocks-custom-bars.cjs +50 -0
  303. package/dist/actions/get-stocks-custom-bars.cjs.map +1 -0
  304. package/dist/actions/get-stocks-custom-bars.d.cts +9 -0
  305. package/dist/actions/get-stocks-custom-bars.d.cts.map +1 -0
  306. package/dist/actions/get-stocks-custom-bars.d.mts +9 -0
  307. package/dist/actions/get-stocks-custom-bars.d.mts.map +1 -0
  308. package/dist/actions/get-stocks-custom-bars.mjs +49 -0
  309. package/dist/actions/get-stocks-custom-bars.mjs.map +1 -0
  310. package/dist/actions/get-stocks-daily-market-summary.cjs +39 -0
  311. package/dist/actions/get-stocks-daily-market-summary.cjs.map +1 -0
  312. package/dist/actions/get-stocks-daily-market-summary.d.cts +9 -0
  313. package/dist/actions/get-stocks-daily-market-summary.d.cts.map +1 -0
  314. package/dist/actions/get-stocks-daily-market-summary.d.mts +9 -0
  315. package/dist/actions/get-stocks-daily-market-summary.d.mts.map +1 -0
  316. package/dist/actions/get-stocks-daily-market-summary.mjs +38 -0
  317. package/dist/actions/get-stocks-daily-market-summary.mjs.map +1 -0
  318. package/dist/actions/get-stocks-filings-risk-factors.cjs +51 -0
  319. package/dist/actions/get-stocks-filings-risk-factors.cjs.map +1 -0
  320. package/dist/actions/get-stocks-filings-risk-factors.d.cts +9 -0
  321. package/dist/actions/get-stocks-filings-risk-factors.d.cts.map +1 -0
  322. package/dist/actions/get-stocks-filings-risk-factors.d.mts +9 -0
  323. package/dist/actions/get-stocks-filings-risk-factors.d.mts.map +1 -0
  324. package/dist/actions/get-stocks-filings-risk-factors.mjs +50 -0
  325. package/dist/actions/get-stocks-filings-risk-factors.mjs.map +1 -0
  326. package/dist/actions/get-stocks-filings-sections.cjs +57 -0
  327. package/dist/actions/get-stocks-filings-sections.cjs.map +1 -0
  328. package/dist/actions/get-stocks-filings-sections.d.cts +9 -0
  329. package/dist/actions/get-stocks-filings-sections.d.cts.map +1 -0
  330. package/dist/actions/get-stocks-filings-sections.d.mts +9 -0
  331. package/dist/actions/get-stocks-filings-sections.d.mts.map +1 -0
  332. package/dist/actions/get-stocks-filings-sections.mjs +56 -0
  333. package/dist/actions/get-stocks-filings-sections.mjs.map +1 -0
  334. package/dist/actions/get-stocks-free-float.cjs +41 -0
  335. package/dist/actions/get-stocks-free-float.cjs.map +1 -0
  336. package/dist/actions/get-stocks-free-float.d.cts +9 -0
  337. package/dist/actions/get-stocks-free-float.d.cts.map +1 -0
  338. package/dist/actions/get-stocks-free-float.d.mts +9 -0
  339. package/dist/actions/get-stocks-free-float.d.mts.map +1 -0
  340. package/dist/actions/get-stocks-free-float.mjs +40 -0
  341. package/dist/actions/get-stocks-free-float.mjs.map +1 -0
  342. package/dist/actions/get-stocks-full-market-snapshot.cjs +68 -0
  343. package/dist/actions/get-stocks-full-market-snapshot.cjs.map +1 -0
  344. package/dist/actions/get-stocks-full-market-snapshot.d.cts +9 -0
  345. package/dist/actions/get-stocks-full-market-snapshot.d.cts.map +1 -0
  346. package/dist/actions/get-stocks-full-market-snapshot.d.mts +9 -0
  347. package/dist/actions/get-stocks-full-market-snapshot.d.mts.map +1 -0
  348. package/dist/actions/get-stocks-full-market-snapshot.mjs +67 -0
  349. package/dist/actions/get-stocks-full-market-snapshot.mjs.map +1 -0
  350. package/dist/actions/get-stocks-income-statements.cjs +92 -0
  351. package/dist/actions/get-stocks-income-statements.cjs.map +1 -0
  352. package/dist/actions/get-stocks-income-statements.d.cts +9 -0
  353. package/dist/actions/get-stocks-income-statements.d.cts.map +1 -0
  354. package/dist/actions/get-stocks-income-statements.d.mts +9 -0
  355. package/dist/actions/get-stocks-income-statements.d.mts.map +1 -0
  356. package/dist/actions/get-stocks-income-statements.mjs +91 -0
  357. package/dist/actions/get-stocks-income-statements.mjs.map +1 -0
  358. package/dist/actions/get-stocks-previous-day-bar.cjs +38 -0
  359. package/dist/actions/get-stocks-previous-day-bar.cjs.map +1 -0
  360. package/dist/actions/get-stocks-previous-day-bar.d.cts +9 -0
  361. package/dist/actions/get-stocks-previous-day-bar.d.cts.map +1 -0
  362. package/dist/actions/get-stocks-previous-day-bar.d.mts +9 -0
  363. package/dist/actions/get-stocks-previous-day-bar.d.mts.map +1 -0
  364. package/dist/actions/get-stocks-previous-day-bar.mjs +37 -0
  365. package/dist/actions/get-stocks-previous-day-bar.mjs.map +1 -0
  366. package/dist/actions/get-stocks-risk-factor-taxonomies.cjs +54 -0
  367. package/dist/actions/get-stocks-risk-factor-taxonomies.cjs.map +1 -0
  368. package/dist/actions/get-stocks-risk-factor-taxonomies.d.cts +9 -0
  369. package/dist/actions/get-stocks-risk-factor-taxonomies.d.cts.map +1 -0
  370. package/dist/actions/get-stocks-risk-factor-taxonomies.d.mts +9 -0
  371. package/dist/actions/get-stocks-risk-factor-taxonomies.d.mts.map +1 -0
  372. package/dist/actions/get-stocks-risk-factor-taxonomies.mjs +53 -0
  373. package/dist/actions/get-stocks-risk-factor-taxonomies.mjs.map +1 -0
  374. package/dist/actions/get-stocks-v1-dividends.cjs +62 -0
  375. package/dist/actions/get-stocks-v1-dividends.cjs.map +1 -0
  376. package/dist/actions/get-stocks-v1-dividends.d.cts +9 -0
  377. package/dist/actions/get-stocks-v1-dividends.d.cts.map +1 -0
  378. package/dist/actions/get-stocks-v1-dividends.d.mts +9 -0
  379. package/dist/actions/get-stocks-v1-dividends.d.mts.map +1 -0
  380. package/dist/actions/get-stocks-v1-dividends.mjs +61 -0
  381. package/dist/actions/get-stocks-v1-dividends.mjs.map +1 -0
  382. package/dist/actions/get-stocks-v1-short-interest.cjs +55 -0
  383. package/dist/actions/get-stocks-v1-short-interest.cjs.map +1 -0
  384. package/dist/actions/get-stocks-v1-short-interest.d.cts +9 -0
  385. package/dist/actions/get-stocks-v1-short-interest.d.cts.map +1 -0
  386. package/dist/actions/get-stocks-v1-short-interest.d.mts +9 -0
  387. package/dist/actions/get-stocks-v1-short-interest.d.mts.map +1 -0
  388. package/dist/actions/get-stocks-v1-short-interest.mjs +54 -0
  389. package/dist/actions/get-stocks-v1-short-interest.mjs.map +1 -0
  390. package/dist/actions/get-stocks-v1-short-volume.cjs +65 -0
  391. package/dist/actions/get-stocks-v1-short-volume.cjs.map +1 -0
  392. package/dist/actions/get-stocks-v1-short-volume.d.cts +9 -0
  393. package/dist/actions/get-stocks-v1-short-volume.d.cts.map +1 -0
  394. package/dist/actions/get-stocks-v1-short-volume.d.mts +9 -0
  395. package/dist/actions/get-stocks-v1-short-volume.d.mts.map +1 -0
  396. package/dist/actions/get-stocks-v1-short-volume.mjs +64 -0
  397. package/dist/actions/get-stocks-v1-short-volume.mjs.map +1 -0
  398. package/dist/actions/get-stocks-v1-splits.cjs +50 -0
  399. package/dist/actions/get-stocks-v1-splits.cjs.map +1 -0
  400. package/dist/actions/get-stocks-v1-splits.d.cts +9 -0
  401. package/dist/actions/get-stocks-v1-splits.d.cts.map +1 -0
  402. package/dist/actions/get-stocks-v1-splits.d.mts +9 -0
  403. package/dist/actions/get-stocks-v1-splits.d.mts.map +1 -0
  404. package/dist/actions/get-stocks-v1-splits.mjs +49 -0
  405. package/dist/actions/get-stocks-v1-splits.mjs.map +1 -0
  406. package/dist/actions/get-ticker-events.cjs +33 -0
  407. package/dist/actions/get-ticker-events.cjs.map +1 -0
  408. package/dist/actions/get-ticker-events.d.cts +9 -0
  409. package/dist/actions/get-ticker-events.d.cts.map +1 -0
  410. package/dist/actions/get-ticker-events.d.mts +9 -0
  411. package/dist/actions/get-ticker-events.d.mts.map +1 -0
  412. package/dist/actions/get-ticker-events.mjs +32 -0
  413. package/dist/actions/get-ticker-events.mjs.map +1 -0
  414. package/dist/actions/get-ticker-overview.cjs +57 -0
  415. package/dist/actions/get-ticker-overview.cjs.map +1 -0
  416. package/dist/actions/get-ticker-overview.d.cts +9 -0
  417. package/dist/actions/get-ticker-overview.d.cts.map +1 -0
  418. package/dist/actions/get-ticker-overview.d.mts +9 -0
  419. package/dist/actions/get-ticker-overview.d.mts.map +1 -0
  420. package/dist/actions/get-ticker-overview.mjs +56 -0
  421. package/dist/actions/get-ticker-overview.mjs.map +1 -0
  422. package/dist/actions/get-ticker-types.cjs +24 -0
  423. package/dist/actions/get-ticker-types.cjs.map +1 -0
  424. package/dist/actions/get-ticker-types.d.cts +9 -0
  425. package/dist/actions/get-ticker-types.d.cts.map +1 -0
  426. package/dist/actions/get-ticker-types.d.mts +9 -0
  427. package/dist/actions/get-ticker-types.d.mts.map +1 -0
  428. package/dist/actions/get-ticker-types.mjs +23 -0
  429. package/dist/actions/get-ticker-types.mjs.map +1 -0
  430. package/dist/actions/get-treasury-yields.cjs +45 -0
  431. package/dist/actions/get-treasury-yields.cjs.map +1 -0
  432. package/dist/actions/get-treasury-yields.d.cts +9 -0
  433. package/dist/actions/get-treasury-yields.d.cts.map +1 -0
  434. package/dist/actions/get-treasury-yields.d.mts +9 -0
  435. package/dist/actions/get-treasury-yields.d.mts.map +1 -0
  436. package/dist/actions/get-treasury-yields.mjs +44 -0
  437. package/dist/actions/get-treasury-yields.mjs.map +1 -0
  438. package/dist/actions/index.cjs +121 -0
  439. package/dist/actions/index.d.cts +61 -0
  440. package/dist/actions/index.d.mts +61 -0
  441. package/dist/actions/index.mjs +61 -0
  442. package/dist/actions/list-exchanges.cjs +42 -0
  443. package/dist/actions/list-exchanges.cjs.map +1 -0
  444. package/dist/actions/list-exchanges.d.cts +9 -0
  445. package/dist/actions/list-exchanges.d.cts.map +1 -0
  446. package/dist/actions/list-exchanges.d.mts +9 -0
  447. package/dist/actions/list-exchanges.d.mts.map +1 -0
  448. package/dist/actions/list-exchanges.mjs +41 -0
  449. package/dist/actions/list-exchanges.mjs.map +1 -0
  450. package/dist/actions/list-filing-files.cjs +46 -0
  451. package/dist/actions/list-filing-files.cjs.map +1 -0
  452. package/dist/actions/list-filing-files.d.cts +9 -0
  453. package/dist/actions/list-filing-files.d.cts.map +1 -0
  454. package/dist/actions/list-filing-files.d.mts +9 -0
  455. package/dist/actions/list-filing-files.d.mts.map +1 -0
  456. package/dist/actions/list-filing-files.mjs +45 -0
  457. package/dist/actions/list-filing-files.mjs.map +1 -0
  458. package/dist/actions/list-filings.cjs +62 -0
  459. package/dist/actions/list-filings.cjs.map +1 -0
  460. package/dist/actions/list-filings.d.cts +9 -0
  461. package/dist/actions/list-filings.d.cts.map +1 -0
  462. package/dist/actions/list-filings.d.mts +9 -0
  463. package/dist/actions/list-filings.d.mts.map +1 -0
  464. package/dist/actions/list-filings.mjs +61 -0
  465. package/dist/actions/list-filings.mjs.map +1 -0
  466. package/dist/actions/list-options-contracts.cjs +57 -0
  467. package/dist/actions/list-options-contracts.cjs.map +1 -0
  468. package/dist/actions/list-options-contracts.d.cts +9 -0
  469. package/dist/actions/list-options-contracts.d.cts.map +1 -0
  470. package/dist/actions/list-options-contracts.d.mts +9 -0
  471. package/dist/actions/list-options-contracts.d.mts.map +1 -0
  472. package/dist/actions/list-options-contracts.mjs +56 -0
  473. package/dist/actions/list-options-contracts.mjs.map +1 -0
  474. package/dist/actions/polygon-last-quote-for-a-symbol.cjs +30 -0
  475. package/dist/actions/polygon-last-quote-for-a-symbol.cjs.map +1 -0
  476. package/dist/actions/polygon-last-quote-for-a-symbol.d.cts +9 -0
  477. package/dist/actions/polygon-last-quote-for-a-symbol.d.cts.map +1 -0
  478. package/dist/actions/polygon-last-quote-for-a-symbol.d.mts +9 -0
  479. package/dist/actions/polygon-last-quote-for-a-symbol.d.mts.map +1 -0
  480. package/dist/actions/polygon-last-quote-for-a-symbol.mjs +29 -0
  481. package/dist/actions/polygon-last-quote-for-a-symbol.mjs.map +1 -0
  482. package/dist/actions/polygon-last-trade-for-a-currency-pair.cjs +30 -0
  483. package/dist/actions/polygon-last-trade-for-a-currency-pair.cjs.map +1 -0
  484. package/dist/actions/polygon-last-trade-for-a-currency-pair.d.cts +9 -0
  485. package/dist/actions/polygon-last-trade-for-a-currency-pair.d.cts.map +1 -0
  486. package/dist/actions/polygon-last-trade-for-a-currency-pair.d.mts +9 -0
  487. package/dist/actions/polygon-last-trade-for-a-currency-pair.d.mts.map +1 -0
  488. package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs +29 -0
  489. package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs.map +1 -0
  490. package/dist/app.cjs +9 -0
  491. package/dist/app.cjs.map +1 -0
  492. package/dist/app.d.cts +5 -0
  493. package/dist/app.d.cts.map +1 -0
  494. package/dist/app.d.mts +5 -0
  495. package/dist/app.d.mts.map +1 -0
  496. package/dist/app.mjs +10 -0
  497. package/dist/app.mjs.map +1 -0
  498. package/dist/catalog.cjs +15 -0
  499. package/dist/catalog.cjs.map +1 -0
  500. package/dist/catalog.d.cts +14 -0
  501. package/dist/catalog.d.cts.map +1 -0
  502. package/dist/catalog.d.mts +14 -0
  503. package/dist/catalog.d.mts.map +1 -0
  504. package/dist/catalog.mjs +15 -0
  505. package/dist/catalog.mjs.map +1 -0
  506. package/dist/execute.cjs +18 -0
  507. package/dist/execute.cjs.map +1 -0
  508. package/dist/execute.mjs +18 -0
  509. package/dist/execute.mjs.map +1 -0
  510. package/dist/index.cjs +126 -0
  511. package/dist/index.d.cts +63 -0
  512. package/dist/index.d.mts +63 -0
  513. package/dist/index.mjs +64 -0
  514. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-exchanges.mjs","names":[],"sources":["../../src/actions/list-exchanges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoListExchangesInput: z.ZodTypeAny = z.object({\n locale: z.enum([\"us\", \"global\"]).describe(\"Enum for locale filter options.\").optional(),\n asset_class: z.enum([\"stocks\", \"options\", \"crypto\", \"fx\", \"futures\"]).describe(\"Enum for asset class filter options.\").optional(),\n}).describe(\"Request schema for listing all exchanges supported by Polygon.io.\");\nconst PolygonIoListExchanges_ExchangeSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the exchange.\"),\n mic: z.string().describe(\"Market Identifier Code (MIC) for the exchange.\").nullable().optional(),\n url: z.string().describe(\"Website URL of the exchange.\").nullable().optional(),\n name: z.string().describe(\"Name of the exchange.\"),\n type: z.string().describe(\"Type of the exchange.\"),\n locale: z.string().describe(\"Locale of the exchange (e.g., us, global).\"),\n acronym: z.string().describe(\"Acronym of the exchange.\").nullable().optional(),\n asset_class: z.string().describe(\"Asset class traded on this exchange (e.g., stocks, crypto).\"),\n operating_mic: z.string().describe(\"Operating Market Identifier Code for the exchange.\").nullable().optional(),\n participant_id: z.string().describe(\"Participant ID for the exchange.\").nullable().optional(),\n}).describe(\"An exchange entity that reports trades.\");\nexport const PolygonIoListExchangesOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Total number of exchanges returned in this response.\").nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'OK').\"),\n results: z.array(PolygonIoListExchanges_ExchangeSchema).describe(\"List of exchange objects containing exchange details.\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier assigned by the server for this request.\"),\n}).describe(\"Response schema containing exchange data.\");\n\nexport const polygonIoListExchanges = action(\"POLYGON_IO_LIST_EXCHANGES\", {\n slug: \"polygon_io-list-exchanges\",\n name: \"List Exchanges\",\n description: \"Tool to retrieve all exchanges supported by Polygon.io with details about asset class and locale. Use when you need to list available exchanges for filtering market data or understanding trading venues.\",\n input: PolygonIoListExchangesInput,\n output: PolygonIoListExchangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,QAAQ,EAAE,KAAK,CAAC,MAAM,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,KAAK;EAAC;EAAU;EAAW;EAAU;EAAM;CAAS,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAQrD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwD,EAAE,OAAO;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACjE,SAAS,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC9F,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -0,0 +1,46 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-filing-files.ts
4
+ const PolygonIoListFilingFilesInput = zod.z.object({
5
+ sort: zod.z.enum(["sequence", "filename"]).describe("Sort field used for ordering: 'sequence' or 'filename'. Defaults to 'sequence'.").optional(),
6
+ limit: zod.z.number().int().describe("Limit the number of results returned (1-1000). Defaults to 10.").optional(),
7
+ order: zod.z.enum(["asc", "desc"]).describe("Order results based on the sort field: 'asc' (ascending) or 'desc' (descending).").optional(),
8
+ filename: zod.z.string().describe("Query by exact file name.").optional(),
9
+ sequence: zod.z.number().int().describe("Query by exact file sequence number.").optional(),
10
+ filing_id: zod.z.string().describe("The filing ID to retrieve files for (e.g., '0001300514-21-000058'). This is required."),
11
+ "filename.gt": zod.z.string().describe("Filter for filenames strictly greater than this value (lexicographical).").optional(),
12
+ "filename.lt": zod.z.string().describe("Filter for filenames strictly less than this value (lexicographical).").optional(),
13
+ "sequence.gt": zod.z.number().int().describe("Filter for sequence numbers strictly greater than this value.").optional(),
14
+ "sequence.lt": zod.z.number().int().describe("Filter for sequence numbers strictly less than this value.").optional(),
15
+ "filename.gte": zod.z.string().describe("Filter for filenames greater than or equal to this value (lexicographical).").optional(),
16
+ "filename.lte": zod.z.string().describe("Filter for filenames less than or equal to this value (lexicographical).").optional(),
17
+ "sequence.gte": zod.z.number().int().describe("Filter for sequence numbers greater than or equal to this value.").optional(),
18
+ "sequence.lte": zod.z.number().int().describe("Filter for sequence numbers less than or equal to this value.").optional()
19
+ }).describe("Parameters to filter and paginate SEC filing files.");
20
+ const PolygonIoListFilingFiles_FilingFileSchema = zod.z.object({
21
+ id: zod.z.string().describe("Unique identifier for the file."),
22
+ type: zod.z.string().describe("MIME type or file type."),
23
+ filename: zod.z.string().describe("Name of the file."),
24
+ sequence: zod.z.number().int().describe("Sequence number of the file in the filing."),
25
+ size_bytes: zod.z.number().int().describe("Size of the file in bytes."),
26
+ source_url: zod.z.string().describe("URL where the file can be downloaded from the SEC."),
27
+ description: zod.z.string().describe("Description of the file.")
28
+ }).describe("File associated with an SEC filing.");
29
+ const PolygonIoListFilingFilesOutput = zod.z.object({
30
+ count: zod.z.number().int().describe("Number of results returned in this page."),
31
+ status: zod.z.string().describe("Response status (e.g., 'OK')."),
32
+ results: zod.z.array(PolygonIoListFilingFiles_FilingFileSchema).describe("List of filing files matching the filter criteria."),
33
+ next_url: zod.z.string().describe("URL to fetch the next page of results, if pagination applies.").nullable().optional(),
34
+ request_id: zod.z.string().describe("Unique identifier for this request.")
35
+ }).describe("Response containing a list of SEC filing files and pagination info.");
36
+ const polygonIoListFilingFiles = require_action.action("POLYGON_IO_LIST_FILING_FILES", {
37
+ slug: "polygon_io-list-filing-files",
38
+ name: "List Filing Files",
39
+ description: "Tool to retrieve files associated with an SEC filing by filing ID. Use when you need to list all documents, exhibits, and data files included in a specific SEC filing.",
40
+ input: PolygonIoListFilingFilesInput,
41
+ output: PolygonIoListFilingFilesOutput
42
+ });
43
+ //#endregion
44
+ exports.polygonIoListFilingFiles = polygonIoListFilingFiles;
45
+
46
+ //# sourceMappingURL=list-filing-files.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-filing-files.cjs","names":["z","action"],"sources":["../../src/actions/list-filing-files.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoListFilingFilesInput: z.ZodTypeAny = z.object({\n sort: z.enum([\"sequence\", \"filename\"]).describe(\"Sort field used for ordering: 'sequence' or 'filename'. Defaults to 'sequence'.\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned (1-1000). Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order results based on the sort field: 'asc' (ascending) or 'desc' (descending).\").optional(),\n filename: z.string().describe(\"Query by exact file name.\").optional(),\n sequence: z.number().int().describe(\"Query by exact file sequence number.\").optional(),\n filing_id: z.string().describe(\"The filing ID to retrieve files for (e.g., '0001300514-21-000058'). This is required.\"),\n \"filename.gt\": z.string().describe(\"Filter for filenames strictly greater than this value (lexicographical).\").optional(),\n \"filename.lt\": z.string().describe(\"Filter for filenames strictly less than this value (lexicographical).\").optional(),\n \"sequence.gt\": z.number().int().describe(\"Filter for sequence numbers strictly greater than this value.\").optional(),\n \"sequence.lt\": z.number().int().describe(\"Filter for sequence numbers strictly less than this value.\").optional(),\n \"filename.gte\": z.string().describe(\"Filter for filenames greater than or equal to this value (lexicographical).\").optional(),\n \"filename.lte\": z.string().describe(\"Filter for filenames less than or equal to this value (lexicographical).\").optional(),\n \"sequence.gte\": z.number().int().describe(\"Filter for sequence numbers greater than or equal to this value.\").optional(),\n \"sequence.lte\": z.number().int().describe(\"Filter for sequence numbers less than or equal to this value.\").optional(),\n}).describe(\"Parameters to filter and paginate SEC filing files.\");\nconst PolygonIoListFilingFiles_FilingFileSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the file.\"),\n type: z.string().describe(\"MIME type or file type.\"),\n filename: z.string().describe(\"Name of the file.\"),\n sequence: z.number().int().describe(\"Sequence number of the file in the filing.\"),\n size_bytes: z.number().int().describe(\"Size of the file in bytes.\"),\n source_url: z.string().describe(\"URL where the file can be downloaded from the SEC.\"),\n description: z.string().describe(\"Description of the file.\"),\n}).describe(\"File associated with an SEC filing.\");\nexport const PolygonIoListFilingFilesOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of results returned in this page.\"),\n status: z.string().describe(\"Response status (e.g., 'OK').\"),\n results: z.array(PolygonIoListFilingFiles_FilingFileSchema).describe(\"List of filing files matching the filter criteria.\"),\n next_url: z.string().describe(\"URL to fetch the next page of results, if pagination applies.\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for this request.\"),\n}).describe(\"Response containing a list of SEC filing files and pagination info.\");\n\nexport const polygonIoListFilingFiles = action(\"POLYGON_IO_LIST_FILING_FILES\", {\n slug: \"polygon_io-list-filing-files\",\n name: \"List Filing Files\",\n description: \"Tool to retrieve files associated with an SEC filing by filing ID. Use when you need to list all documents, exhibits, and data files included in a specific SEC filing.\",\n input: PolygonIoListFilingFilesInput,\n output: PolygonIoListFilingFilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,KAAK,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC5I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACrI,UAAUA,IAAAA,EAAE,O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4C;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AAC7D,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC3D,SAASA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oDAAoD;CACzH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACvE,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-filing-files.d.ts
4
+ declare const PolygonIoListFilingFilesInput: z.ZodTypeAny;
5
+ declare const PolygonIoListFilingFilesOutput: z.ZodTypeAny;
6
+ declare const polygonIoListFilingFiles: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoListFilingFiles };
9
+ //# sourceMappingURL=list-filing-files.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-filing-files.d.cts","names":[],"sources":["../../src/actions/list-filing-files.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAeoB;AAAA,cAUrD,8BAAA,EAAgC,CAAA,CAAE,UAMmC;AAAA,cAErE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-filing-files.d.ts
4
+ declare const PolygonIoListFilingFilesInput: z.ZodTypeAny;
5
+ declare const PolygonIoListFilingFilesOutput: z.ZodTypeAny;
6
+ declare const polygonIoListFilingFiles: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoListFilingFiles };
9
+ //# sourceMappingURL=list-filing-files.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-filing-files.d.mts","names":[],"sources":["../../src/actions/list-filing-files.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAeoB;AAAA,cAUrD,8BAAA,EAAgC,CAAA,CAAE,UAMmC;AAAA,cAErE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,45 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-filing-files.ts
4
+ const PolygonIoListFilingFilesInput = z.object({
5
+ sort: z.enum(["sequence", "filename"]).describe("Sort field used for ordering: 'sequence' or 'filename'. Defaults to 'sequence'.").optional(),
6
+ limit: z.number().int().describe("Limit the number of results returned (1-1000). Defaults to 10.").optional(),
7
+ order: z.enum(["asc", "desc"]).describe("Order results based on the sort field: 'asc' (ascending) or 'desc' (descending).").optional(),
8
+ filename: z.string().describe("Query by exact file name.").optional(),
9
+ sequence: z.number().int().describe("Query by exact file sequence number.").optional(),
10
+ filing_id: z.string().describe("The filing ID to retrieve files for (e.g., '0001300514-21-000058'). This is required."),
11
+ "filename.gt": z.string().describe("Filter for filenames strictly greater than this value (lexicographical).").optional(),
12
+ "filename.lt": z.string().describe("Filter for filenames strictly less than this value (lexicographical).").optional(),
13
+ "sequence.gt": z.number().int().describe("Filter for sequence numbers strictly greater than this value.").optional(),
14
+ "sequence.lt": z.number().int().describe("Filter for sequence numbers strictly less than this value.").optional(),
15
+ "filename.gte": z.string().describe("Filter for filenames greater than or equal to this value (lexicographical).").optional(),
16
+ "filename.lte": z.string().describe("Filter for filenames less than or equal to this value (lexicographical).").optional(),
17
+ "sequence.gte": z.number().int().describe("Filter for sequence numbers greater than or equal to this value.").optional(),
18
+ "sequence.lte": z.number().int().describe("Filter for sequence numbers less than or equal to this value.").optional()
19
+ }).describe("Parameters to filter and paginate SEC filing files.");
20
+ const PolygonIoListFilingFiles_FilingFileSchema = z.object({
21
+ id: z.string().describe("Unique identifier for the file."),
22
+ type: z.string().describe("MIME type or file type."),
23
+ filename: z.string().describe("Name of the file."),
24
+ sequence: z.number().int().describe("Sequence number of the file in the filing."),
25
+ size_bytes: z.number().int().describe("Size of the file in bytes."),
26
+ source_url: z.string().describe("URL where the file can be downloaded from the SEC."),
27
+ description: z.string().describe("Description of the file.")
28
+ }).describe("File associated with an SEC filing.");
29
+ const polygonIoListFilingFiles = action("POLYGON_IO_LIST_FILING_FILES", {
30
+ slug: "polygon_io-list-filing-files",
31
+ name: "List Filing Files",
32
+ description: "Tool to retrieve files associated with an SEC filing by filing ID. Use when you need to list all documents, exhibits, and data files included in a specific SEC filing.",
33
+ input: PolygonIoListFilingFilesInput,
34
+ output: z.object({
35
+ count: z.number().int().describe("Number of results returned in this page."),
36
+ status: z.string().describe("Response status (e.g., 'OK')."),
37
+ results: z.array(PolygonIoListFilingFiles_FilingFileSchema).describe("List of filing files matching the filter criteria."),
38
+ next_url: z.string().describe("URL to fetch the next page of results, if pagination applies.").nullable().optional(),
39
+ request_id: z.string().describe("Unique identifier for this request.")
40
+ }).describe("Response containing a list of SEC filing files and pagination info.")
41
+ });
42
+ //#endregion
43
+ export { polygonIoListFilingFiles };
44
+
45
+ //# sourceMappingURL=list-filing-files.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-filing-files.mjs","names":[],"sources":["../../src/actions/list-filing-files.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoListFilingFilesInput: z.ZodTypeAny = z.object({\n sort: z.enum([\"sequence\", \"filename\"]).describe(\"Sort field used for ordering: 'sequence' or 'filename'. Defaults to 'sequence'.\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned (1-1000). Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order results based on the sort field: 'asc' (ascending) or 'desc' (descending).\").optional(),\n filename: z.string().describe(\"Query by exact file name.\").optional(),\n sequence: z.number().int().describe(\"Query by exact file sequence number.\").optional(),\n filing_id: z.string().describe(\"The filing ID to retrieve files for (e.g., '0001300514-21-000058'). This is required.\"),\n \"filename.gt\": z.string().describe(\"Filter for filenames strictly greater than this value (lexicographical).\").optional(),\n \"filename.lt\": z.string().describe(\"Filter for filenames strictly less than this value (lexicographical).\").optional(),\n \"sequence.gt\": z.number().int().describe(\"Filter for sequence numbers strictly greater than this value.\").optional(),\n \"sequence.lt\": z.number().int().describe(\"Filter for sequence numbers strictly less than this value.\").optional(),\n \"filename.gte\": z.string().describe(\"Filter for filenames greater than or equal to this value (lexicographical).\").optional(),\n \"filename.lte\": z.string().describe(\"Filter for filenames less than or equal to this value (lexicographical).\").optional(),\n \"sequence.gte\": z.number().int().describe(\"Filter for sequence numbers greater than or equal to this value.\").optional(),\n \"sequence.lte\": z.number().int().describe(\"Filter for sequence numbers less than or equal to this value.\").optional(),\n}).describe(\"Parameters to filter and paginate SEC filing files.\");\nconst PolygonIoListFilingFiles_FilingFileSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the file.\"),\n type: z.string().describe(\"MIME type or file type.\"),\n filename: z.string().describe(\"Name of the file.\"),\n sequence: z.number().int().describe(\"Sequence number of the file in the filing.\"),\n size_bytes: z.number().int().describe(\"Size of the file in bytes.\"),\n source_url: z.string().describe(\"URL where the file can be downloaded from the SEC.\"),\n description: z.string().describe(\"Description of the file.\"),\n}).describe(\"File associated with an SEC filing.\");\nexport const PolygonIoListFilingFilesOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of results returned in this page.\"),\n status: z.string().describe(\"Response status (e.g., 'OK').\"),\n results: z.array(PolygonIoListFilingFiles_FilingFileSchema).describe(\"List of filing files matching the filter criteria.\"),\n next_url: z.string().describe(\"URL to fetch the next page of results, if pagination applies.\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for this request.\"),\n}).describe(\"Response containing a list of SEC filing files and pagination info.\");\n\nexport const polygonIoListFilingFiles = action(\"POLYGON_IO_LIST_FILING_FILES\", {\n slug: \"polygon_io-list-filing-files\",\n name: \"List Filing Files\",\n description: \"Tool to retrieve files associated with an SEC filing by filing ID. Use when you need to list all documents, exhibits, and data files included in a specific SEC filing.\",\n input: PolygonIoListFilingFilesInput,\n output: PolygonIoListFilingFilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,KAAK,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC5I,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACrI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,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AM;CACN,aAAa;CACb,OAAO;CACP,QAb0D,EAAE,OAAO;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC3D,SAAS,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oDAAoD;EACzH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACvE,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
@@ -0,0 +1,62 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-filings.ts
4
+ const PolygonIoListFilingsInput = zod.z.object({
5
+ sort: zod.z.enum(["filing_date", "period_of_report_date"]).describe("Enum for sort field.").optional(),
6
+ type: zod.z.enum(["10-K", "10-Q"]).describe("Enum for SEC filing types.").optional(),
7
+ limit: zod.z.number().int().describe("Limit the number of results returned, default is 10 and max is 1000").optional(),
8
+ order: zod.z.enum(["asc", "desc"]).describe("Enum for sort order.").optional(),
9
+ has_xbrl: zod.z.boolean().describe("Filter by XBRL availability: true for filings with XBRL instance file, false for filings without XBRL, omit to include both").optional(),
10
+ filing_date: zod.z.string().describe("Query by exact filing date in YYYYMMDD format").optional(),
11
+ "filing_date.gt": zod.z.string().describe("Filter for filing dates greater than this date in YYYYMMDD format").optional(),
12
+ "filing_date.lt": zod.z.string().describe("Filter for filing dates less than this date in YYYYMMDD format").optional(),
13
+ "filing_date.gte": zod.z.string().describe("Filter for filing dates greater than or equal to this date in YYYYMMDD format").optional(),
14
+ "filing_date.lte": zod.z.string().describe("Filter for filing dates less than or equal to this date in YYYYMMDD format").optional(),
15
+ period_of_report_date: zod.z.string().describe("Query by period of report date in YYYYMMDD format").optional(),
16
+ "period_of_report_date.gt": zod.z.string().describe("Filter for period of report dates greater than this date in YYYYMMDD format").optional(),
17
+ "period_of_report_date.lt": zod.z.string().describe("Filter for period of report dates less than this date in YYYYMMDD format").optional(),
18
+ "entities.company_data.cik": zod.z.string().describe("Filter by entity company CIK (Central Index Key)").optional(),
19
+ "entities.company_data.sic": zod.z.string().describe("Filter by entity company SIC (Standard Industrial Classification) code").optional(),
20
+ "period_of_report_date.gte": zod.z.string().describe("Filter for period of report dates greater than or equal to this date in YYYYMMDD format").optional(),
21
+ "period_of_report_date.lte": zod.z.string().describe("Filter for period of report dates less than or equal to this date in YYYYMMDD format").optional(),
22
+ "entities.company_data.name": zod.z.string().describe("Filter by entity company name").optional(),
23
+ "entities.company_data.ticker": zod.z.string().describe("Filter by entity company ticker symbol").optional(),
24
+ "entities.company_data.name.search": zod.z.string().describe("Search for company names containing this text (case-insensitive partial match)").optional()
25
+ }).describe("Parameters to filter and paginate SEC filings.");
26
+ const PolygonIoListFilings_CompanyDataSchema = zod.z.object({
27
+ cik: zod.z.string().describe("Central Index Key (CIK)").nullable().optional(),
28
+ sic: zod.z.string().describe("Standard Industrial Classification (SIC) code").nullable().optional(),
29
+ name: zod.z.string().describe("Company name").nullable().optional(),
30
+ ticker: zod.z.string().describe("Ticker symbol").nullable().optional()
31
+ }).describe("Company information for filing entities.");
32
+ const PolygonIoListFilings_EntitySchema = zod.z.object({ company_data: PolygonIoListFilings_CompanyDataSchema.nullable().optional() }).describe("Entity information for a filing.");
33
+ const PolygonIoListFilings_FilingSchema = zod.z.object({
34
+ id: zod.z.string().describe("Unique identifier for the filing"),
35
+ type: zod.z.string().describe("Filing type, e.g., '10-K' or '10-Q'"),
36
+ entities: zod.z.array(PolygonIoListFilings_EntitySchema).describe("List of entities associated with the filing").nullable().optional(),
37
+ source_url: zod.z.string().describe("URL to the source filing on SEC EDGAR"),
38
+ files_count: zod.z.number().int().describe("Number of files in the filing"),
39
+ filing_date: zod.z.string().describe("Date the filing was filed in YYYYMMDD format"),
40
+ download_url: zod.z.string().describe("URL to download the filing").nullable().optional(),
41
+ accession_number: zod.z.string().describe("SEC accession number for the filing"),
42
+ acceptance_datetime: zod.z.string().describe("Date and time the filing was accepted").nullable().optional(),
43
+ period_of_report_date: zod.z.string().describe("Period of report date in YYYYMMDD format")
44
+ }).describe("SEC filing information.");
45
+ const PolygonIoListFilingsOutput = zod.z.object({
46
+ count: zod.z.number().int().describe("Number of results returned in this response"),
47
+ status: zod.z.string().describe("Response status, e.g., 'OK'"),
48
+ results: zod.z.array(PolygonIoListFilings_FilingSchema).describe("List of SEC filing objects").nullable().optional(),
49
+ next_url: zod.z.string().describe("URL to fetch the next page of results, if available").nullable().optional(),
50
+ request_id: zod.z.string().describe("Unique identifier for the request")
51
+ }).describe("Response containing SEC filings.");
52
+ const polygonIoListFilings = require_action.action("POLYGON_IO_LIST_FILINGS", {
53
+ slug: "polygon_io-list-filings",
54
+ name: "List SEC Filings",
55
+ description: "Tool to retrieve SEC filings from the Polygon.io reference data API. Use when you need to search for 10-K, 10-Q, and other SEC filings by date, company, or filing type.",
56
+ input: PolygonIoListFilingsInput,
57
+ output: PolygonIoListFilingsOutput
58
+ });
59
+ //#endregion
60
+ exports.polygonIoListFilings = polygonIoListFilings;
61
+
62
+ //# sourceMappingURL=list-filings.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-filings.cjs","names":["z","action"],"sources":["../../src/actions/list-filings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoListFilingsInput: z.ZodTypeAny = z.object({\n sort: z.enum([\"filing_date\", \"period_of_report_date\"]).describe(\"Enum for sort field.\").optional(),\n type: z.enum([\"10-K\", \"10-Q\"]).describe(\"Enum for SEC filing types.\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned, default is 10 and max is 1000\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Enum for sort order.\").optional(),\n has_xbrl: z.boolean().describe(\"Filter by XBRL availability: true for filings with XBRL instance file, false for filings without XBRL, omit to include both\").optional(),\n filing_date: z.string().describe(\"Query by exact filing date in YYYYMMDD format\").optional(),\n \"filing_date.gt\": z.string().describe(\"Filter for filing dates greater than this date in YYYYMMDD format\").optional(),\n \"filing_date.lt\": z.string().describe(\"Filter for filing dates less than this date in YYYYMMDD format\").optional(),\n \"filing_date.gte\": z.string().describe(\"Filter for filing dates greater than or equal to this date in YYYYMMDD format\").optional(),\n \"filing_date.lte\": z.string().describe(\"Filter for filing dates less than or equal to this date in YYYYMMDD format\").optional(),\n period_of_report_date: z.string().describe(\"Query by period of report date in YYYYMMDD format\").optional(),\n \"period_of_report_date.gt\": z.string().describe(\"Filter for period of report dates greater than this date in YYYYMMDD format\").optional(),\n \"period_of_report_date.lt\": z.string().describe(\"Filter for period of report dates less than this date in YYYYMMDD format\").optional(),\n \"entities.company_data.cik\": z.string().describe(\"Filter by entity company CIK (Central Index Key)\").optional(),\n \"entities.company_data.sic\": z.string().describe(\"Filter by entity company SIC (Standard Industrial Classification) code\").optional(),\n \"period_of_report_date.gte\": z.string().describe(\"Filter for period of report dates greater than or equal to this date in YYYYMMDD format\").optional(),\n \"period_of_report_date.lte\": z.string().describe(\"Filter for period of report dates less than or equal to this date in YYYYMMDD format\").optional(),\n \"entities.company_data.name\": z.string().describe(\"Filter by entity company name\").optional(),\n \"entities.company_data.ticker\": z.string().describe(\"Filter by entity company ticker symbol\").optional(),\n \"entities.company_data.name.search\": z.string().describe(\"Search for company names containing this text (case-insensitive partial match)\").optional(),\n}).describe(\"Parameters to filter and paginate SEC filings.\");\nconst PolygonIoListFilings_CompanyDataSchema: z.ZodTypeAny = z.object({\n cik: z.string().describe(\"Central Index Key (CIK)\").nullable().optional(),\n sic: z.string().describe(\"Standard Industrial Classification (SIC) code\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n ticker: z.string().describe(\"Ticker symbol\").nullable().optional(),\n}).describe(\"Company information for filing entities.\");\nconst PolygonIoListFilings_EntitySchema: z.ZodTypeAny = z.object({\n company_data: PolygonIoListFilings_CompanyDataSchema.nullable().optional(),\n}).describe(\"Entity information for a filing.\");\nconst PolygonIoListFilings_FilingSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the filing\"),\n type: z.string().describe(\"Filing type, e.g., '10-K' or '10-Q'\"),\n entities: z.array(PolygonIoListFilings_EntitySchema).describe(\"List of entities associated with the filing\").nullable().optional(),\n source_url: z.string().describe(\"URL to the source filing on SEC EDGAR\"),\n files_count: z.number().int().describe(\"Number of files in the filing\"),\n filing_date: z.string().describe(\"Date the filing was filed in YYYYMMDD format\"),\n download_url: z.string().describe(\"URL to download the filing\").nullable().optional(),\n accession_number: z.string().describe(\"SEC accession number for the filing\"),\n acceptance_datetime: z.string().describe(\"Date and time the filing was accepted\").nullable().optional(),\n period_of_report_date: z.string().describe(\"Period of report date in YYYYMMDD format\"),\n}).describe(\"SEC filing information.\");\nexport const PolygonIoListFilingsOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of results returned in this response\"),\n status: z.string().describe(\"Response status, e.g., 'OK'\"),\n results: z.array(PolygonIoListFilings_FilingSchema).describe(\"List of SEC filing objects\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if available\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the request\"),\n}).describe(\"Response containing SEC filings.\");\n\nexport const polygonIoListFilings = action(\"POLYGON_IO_LIST_FILINGS\", {\n slug: \"polygon_io-list-filings\",\n name: \"List SEC Filings\",\n description: \"Tool to retrieve SEC filings from the Polygon.io reference data API. Use when you need to search for 10-K, 10-Q, and other SEC filings by date, company, or filing type.\",\n input: PolygonIoListFilingsInput,\n output: PolygonIoListFilingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,KAAK,CAAC,eAAe,uBAAuB,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAA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
+ declare const PolygonIoListFilingsOutput: z.ZodTypeAny;
6
+ declare const polygonIoListFilings: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoListFilings };
9
+ //# sourceMappingURL=list-filings.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-filings.d.cts","names":[],"sources":["../../src/actions/list-filings.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAqBmB;AAAA,cAsBhD,0BAAA,EAA4B,CAAA,CAAE,UAMI;AAAA,cAElC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-filings.d.ts
4
+ declare const PolygonIoListFilingsInput: z.ZodTypeAny;
5
+ declare const PolygonIoListFilingsOutput: z.ZodTypeAny;
6
+ declare const polygonIoListFilings: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoListFilings };
9
+ //# sourceMappingURL=list-filings.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-filings.d.mts","names":[],"sources":["../../src/actions/list-filings.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAqBmB;AAAA,cAsBhD,0BAAA,EAA4B,CAAA,CAAE,UAMI;AAAA,cAElC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,61 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-filings.ts
4
+ const PolygonIoListFilingsInput = z.object({
5
+ sort: z.enum(["filing_date", "period_of_report_date"]).describe("Enum for sort field.").optional(),
6
+ type: z.enum(["10-K", "10-Q"]).describe("Enum for SEC filing types.").optional(),
7
+ limit: z.number().int().describe("Limit the number of results returned, default is 10 and max is 1000").optional(),
8
+ order: z.enum(["asc", "desc"]).describe("Enum for sort order.").optional(),
9
+ has_xbrl: z.boolean().describe("Filter by XBRL availability: true for filings with XBRL instance file, false for filings without XBRL, omit to include both").optional(),
10
+ filing_date: z.string().describe("Query by exact filing date in YYYYMMDD format").optional(),
11
+ "filing_date.gt": z.string().describe("Filter for filing dates greater than this date in YYYYMMDD format").optional(),
12
+ "filing_date.lt": z.string().describe("Filter for filing dates less than this date in YYYYMMDD format").optional(),
13
+ "filing_date.gte": z.string().describe("Filter for filing dates greater than or equal to this date in YYYYMMDD format").optional(),
14
+ "filing_date.lte": z.string().describe("Filter for filing dates less than or equal to this date in YYYYMMDD format").optional(),
15
+ period_of_report_date: z.string().describe("Query by period of report date in YYYYMMDD format").optional(),
16
+ "period_of_report_date.gt": z.string().describe("Filter for period of report dates greater than this date in YYYYMMDD format").optional(),
17
+ "period_of_report_date.lt": z.string().describe("Filter for period of report dates less than this date in YYYYMMDD format").optional(),
18
+ "entities.company_data.cik": z.string().describe("Filter by entity company CIK (Central Index Key)").optional(),
19
+ "entities.company_data.sic": z.string().describe("Filter by entity company SIC (Standard Industrial Classification) code").optional(),
20
+ "period_of_report_date.gte": z.string().describe("Filter for period of report dates greater than or equal to this date in YYYYMMDD format").optional(),
21
+ "period_of_report_date.lte": z.string().describe("Filter for period of report dates less than or equal to this date in YYYYMMDD format").optional(),
22
+ "entities.company_data.name": z.string().describe("Filter by entity company name").optional(),
23
+ "entities.company_data.ticker": z.string().describe("Filter by entity company ticker symbol").optional(),
24
+ "entities.company_data.name.search": z.string().describe("Search for company names containing this text (case-insensitive partial match)").optional()
25
+ }).describe("Parameters to filter and paginate SEC filings.");
26
+ const PolygonIoListFilings_CompanyDataSchema = z.object({
27
+ cik: z.string().describe("Central Index Key (CIK)").nullable().optional(),
28
+ sic: z.string().describe("Standard Industrial Classification (SIC) code").nullable().optional(),
29
+ name: z.string().describe("Company name").nullable().optional(),
30
+ ticker: z.string().describe("Ticker symbol").nullable().optional()
31
+ }).describe("Company information for filing entities.");
32
+ const PolygonIoListFilings_EntitySchema = z.object({ company_data: PolygonIoListFilings_CompanyDataSchema.nullable().optional() }).describe("Entity information for a filing.");
33
+ const PolygonIoListFilings_FilingSchema = z.object({
34
+ id: z.string().describe("Unique identifier for the filing"),
35
+ type: z.string().describe("Filing type, e.g., '10-K' or '10-Q'"),
36
+ entities: z.array(PolygonIoListFilings_EntitySchema).describe("List of entities associated with the filing").nullable().optional(),
37
+ source_url: z.string().describe("URL to the source filing on SEC EDGAR"),
38
+ files_count: z.number().int().describe("Number of files in the filing"),
39
+ filing_date: z.string().describe("Date the filing was filed in YYYYMMDD format"),
40
+ download_url: z.string().describe("URL to download the filing").nullable().optional(),
41
+ accession_number: z.string().describe("SEC accession number for the filing"),
42
+ acceptance_datetime: z.string().describe("Date and time the filing was accepted").nullable().optional(),
43
+ period_of_report_date: z.string().describe("Period of report date in YYYYMMDD format")
44
+ }).describe("SEC filing information.");
45
+ const polygonIoListFilings = action("POLYGON_IO_LIST_FILINGS", {
46
+ slug: "polygon_io-list-filings",
47
+ name: "List SEC Filings",
48
+ description: "Tool to retrieve SEC filings from the Polygon.io reference data API. Use when you need to search for 10-K, 10-Q, and other SEC filings by date, company, or filing type.",
49
+ input: PolygonIoListFilingsInput,
50
+ output: z.object({
51
+ count: z.number().int().describe("Number of results returned in this response"),
52
+ status: z.string().describe("Response status, e.g., 'OK'"),
53
+ results: z.array(PolygonIoListFilings_FilingSchema).describe("List of SEC filing objects").nullable().optional(),
54
+ next_url: z.string().describe("URL to fetch the next page of results, if available").nullable().optional(),
55
+ request_id: z.string().describe("Unique identifier for the request")
56
+ }).describe("Response containing SEC filings.")
57
+ });
58
+ //#endregion
59
+ export { polygonIoListFilings };
60
+
61
+ //# sourceMappingURL=list-filings.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-filings.mjs","names":[],"sources":["../../src/actions/list-filings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoListFilingsInput: z.ZodTypeAny = z.object({\n sort: z.enum([\"filing_date\", \"period_of_report_date\"]).describe(\"Enum for sort field.\").optional(),\n type: z.enum([\"10-K\", \"10-Q\"]).describe(\"Enum for SEC filing types.\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned, default is 10 and max is 1000\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Enum for sort order.\").optional(),\n has_xbrl: z.boolean().describe(\"Filter by XBRL availability: true for filings with XBRL instance file, false for filings without XBRL, omit to include both\").optional(),\n filing_date: z.string().describe(\"Query by exact filing date in YYYYMMDD format\").optional(),\n \"filing_date.gt\": z.string().describe(\"Filter for filing dates greater than this date in YYYYMMDD format\").optional(),\n \"filing_date.lt\": z.string().describe(\"Filter for filing dates less than this date in YYYYMMDD format\").optional(),\n \"filing_date.gte\": z.string().describe(\"Filter for filing dates greater than or equal to this date in YYYYMMDD format\").optional(),\n \"filing_date.lte\": z.string().describe(\"Filter for filing dates less than or equal to this date in YYYYMMDD format\").optional(),\n period_of_report_date: z.string().describe(\"Query by period of report date in YYYYMMDD format\").optional(),\n \"period_of_report_date.gt\": z.string().describe(\"Filter for period of report dates greater than this date in YYYYMMDD format\").optional(),\n \"period_of_report_date.lt\": z.string().describe(\"Filter for period of report dates less than this date in YYYYMMDD format\").optional(),\n \"entities.company_data.cik\": z.string().describe(\"Filter by entity company CIK (Central Index Key)\").optional(),\n \"entities.company_data.sic\": z.string().describe(\"Filter by entity company SIC (Standard Industrial Classification) code\").optional(),\n \"period_of_report_date.gte\": z.string().describe(\"Filter for period of report dates greater than or equal to this date in YYYYMMDD format\").optional(),\n \"period_of_report_date.lte\": z.string().describe(\"Filter for period of report dates less than or equal to this date in YYYYMMDD format\").optional(),\n \"entities.company_data.name\": z.string().describe(\"Filter by entity company name\").optional(),\n \"entities.company_data.ticker\": z.string().describe(\"Filter by entity company ticker symbol\").optional(),\n \"entities.company_data.name.search\": z.string().describe(\"Search for company names containing this text (case-insensitive partial match)\").optional(),\n}).describe(\"Parameters to filter and paginate SEC filings.\");\nconst PolygonIoListFilings_CompanyDataSchema: z.ZodTypeAny = z.object({\n cik: z.string().describe(\"Central Index Key (CIK)\").nullable().optional(),\n sic: z.string().describe(\"Standard Industrial Classification (SIC) code\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n ticker: z.string().describe(\"Ticker symbol\").nullable().optional(),\n}).describe(\"Company information for filing entities.\");\nconst PolygonIoListFilings_EntitySchema: z.ZodTypeAny = z.object({\n company_data: PolygonIoListFilings_CompanyDataSchema.nullable().optional(),\n}).describe(\"Entity information for a filing.\");\nconst PolygonIoListFilings_FilingSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the filing\"),\n type: z.string().describe(\"Filing type, e.g., '10-K' or '10-Q'\"),\n entities: z.array(PolygonIoListFilings_EntitySchema).describe(\"List of entities associated with the filing\").nullable().optional(),\n source_url: z.string().describe(\"URL to the source filing on SEC EDGAR\"),\n files_count: z.number().int().describe(\"Number of files in the filing\"),\n filing_date: z.string().describe(\"Date the filing was filed in YYYYMMDD format\"),\n download_url: z.string().describe(\"URL to download the filing\").nullable().optional(),\n accession_number: z.string().describe(\"SEC accession number for the filing\"),\n acceptance_datetime: z.string().describe(\"Date and time the filing was accepted\").nullable().optional(),\n period_of_report_date: z.string().describe(\"Period of report date in YYYYMMDD format\"),\n}).describe(\"SEC filing information.\");\nexport const PolygonIoListFilingsOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of results returned in this response\"),\n status: z.string().describe(\"Response status, e.g., 'OK'\"),\n results: z.array(PolygonIoListFilings_FilingSchema).describe(\"List of SEC filing objects\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if available\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the request\"),\n}).describe(\"Response containing SEC filings.\");\n\nexport const polygonIoListFilings = action(\"POLYGON_IO_LIST_FILINGS\", {\n slug: \"polygon_io-list-filings\",\n name: \"List SEC Filings\",\n description: \"Tool to retrieve SEC filings from the Polygon.io reference data API. Use when you need to search for 10-K, 10-Q, and other SEC filings by date, company, or filing type.\",\n input: PolygonIoListFilingsInput,\n output: PolygonIoListFilingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,KAAK,CAAC,eAAe,uBAAuB,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,KAAK,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACvK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACpH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACjH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACjI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC9H,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,4BAA4B,EAAE,OAAO,CAAC,C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
+ let zod = require("zod");
3
+ //#region src/actions/list-options-contracts.ts
4
+ const PolygonIoListOptionsContractsInput = zod.z.object({
5
+ sort: zod.z.string().describe("Field name to sort by (e.g., 'expiration_date', 'strike_price', 'ticker').").optional(),
6
+ as_of: zod.z.string().describe("Specify a point in time for contracts as of this date (YYYY-MM-DD). Defaults to today.").optional(),
7
+ limit: zod.z.number().int().describe("Maximum number of results to return per page (1-1000). Defaults to 10.").optional(),
8
+ order: zod.z.enum(["asc", "desc"]).describe("Sort order direction: 'asc' (ascending) or 'desc' (descending).").optional(),
9
+ expired: zod.z.boolean().describe("Query expired contracts. Set to true to include expired contracts.").optional(),
10
+ strike_price: zod.z.number().describe("Filter by exact strike price value.").optional(),
11
+ contract_type: zod.z.enum(["call", "put"]).describe("Filter by contract type: 'call' or 'put'.").optional(),
12
+ expiration_date: zod.z.string().describe("Filter by exact expiration date in YYYY-MM-DD format.").optional(),
13
+ strike_price_gt: zod.z.number().describe("Filter for strike prices strictly greater than this value.").optional(),
14
+ strike_price_lt: zod.z.number().describe("Filter for strike prices strictly less than this value.").optional(),
15
+ strike_price_gte: zod.z.number().describe("Filter for strike prices greater than or equal to this value.").optional(),
16
+ strike_price_lte: zod.z.number().describe("Filter for strike prices less than or equal to this value.").optional(),
17
+ underlying_ticker: zod.z.string().describe("Query for contracts relating to an underlying stock ticker (e.g., 'AAPL', 'SPY').").optional(),
18
+ expiration_date_gt: zod.z.string().describe("Filter for expiration dates strictly greater than this date (YYYY-MM-DD).").optional(),
19
+ expiration_date_lt: zod.z.string().describe("Filter for expiration dates strictly less than this date (YYYY-MM-DD).").optional(),
20
+ expiration_date_gte: zod.z.string().describe("Filter for expiration dates greater than or equal to this date (YYYY-MM-DD).").optional(),
21
+ expiration_date_lte: zod.z.string().describe("Filter for expiration dates less than or equal to this date (YYYY-MM-DD).").optional()
22
+ }).describe("Parameters to filter and enumerate options contracts.");
23
+ const PolygonIoListOptionsContracts_AdditionalUnderlyingSchema = zod.z.object({
24
+ type: zod.z.string().describe("The type of additional underlying.").nullable().optional(),
25
+ amount: zod.z.number().describe("The amount of the additional underlying.").nullable().optional(),
26
+ underlying: zod.z.string().describe("The ticker symbol of the additional underlying.").nullable().optional()
27
+ }).describe("Additional underlyings or deliverables associated with an options contract.");
28
+ const PolygonIoListOptionsContracts_OptionsContractSchema = zod.z.object({
29
+ cfi: zod.z.string().describe("The ISO 10962 Classification of Financial Instruments code.").nullable().optional(),
30
+ ticker: zod.z.string().describe("The options contract ticker symbol.").nullable().optional(),
31
+ correction: zod.z.number().int().describe("The correction number for this option contract.").nullable().optional(),
32
+ strike_price: zod.z.number().describe("The strike price of the option contract.").nullable().optional(),
33
+ contract_type: zod.z.string().describe("The type of contract: 'call', 'put', or 'other'.").nullable().optional(),
34
+ exercise_style: zod.z.string().describe("The exercise style: 'american', 'european', or 'bermudan'.").nullable().optional(),
35
+ expiration_date: zod.z.string().describe("The expiration date in YYYY-MM-DD format.").nullable().optional(),
36
+ primary_exchange: zod.z.string().describe("The MIC code of the primary exchange for this contract.").nullable().optional(),
37
+ underlying_ticker: zod.z.string().describe("The underlying stock ticker that the option relates to.").nullable().optional(),
38
+ shares_per_contract: zod.z.number().describe("The number of shares per contract.").nullable().optional(),
39
+ additional_underlyings: zod.z.array(PolygonIoListOptionsContracts_AdditionalUnderlyingSchema).describe("Additional underlyings or deliverables (e.g., from corporate actions).").nullable().optional()
40
+ }).describe("Options contract details.");
41
+ const PolygonIoListOptionsContractsOutput = zod.z.object({
42
+ status: zod.z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
43
+ results: zod.z.array(PolygonIoListOptionsContracts_OptionsContractSchema).describe("List of options contracts matching the filter criteria.").nullable().optional(),
44
+ next_url: zod.z.string().describe("URL to fetch the next page of results. Use this for pagination.").nullable().optional(),
45
+ request_id: zod.z.string().describe("A unique request identifier assigned by the server.").nullable().optional()
46
+ }).describe("Response containing a list of options contracts and pagination info.");
47
+ const polygonIoListOptionsContracts = require_action.action("POLYGON_IO_LIST_OPTIONS_CONTRACTS", {
48
+ slug: "polygon_io-list-options-contracts",
49
+ name: "List Options Contracts",
50
+ description: "Tool to list and filter options contracts by underlying ticker, type, expiration, strike, and more. Use when you need to enumerate an options chain or find specific contracts matching criteria.",
51
+ input: PolygonIoListOptionsContractsInput,
52
+ output: PolygonIoListOptionsContractsOutput
53
+ });
54
+ //#endregion
55
+ exports.polygonIoListOptionsContracts = polygonIoListOptionsContracts;
56
+
57
+ //# sourceMappingURL=list-options-contracts.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-options-contracts.cjs","names":["z","action"],"sources":["../../src/actions/list-options-contracts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoListOptionsContractsInput: z.ZodTypeAny = z.object({\n sort: z.string().describe(\"Field name to sort by (e.g., 'expiration_date', 'strike_price', 'ticker').\").optional(),\n as_of: z.string().describe(\"Specify a point in time for contracts as of this date (YYYY-MM-DD). Defaults to today.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (1-1000). Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order direction: 'asc' (ascending) or 'desc' (descending).\").optional(),\n expired: z.boolean().describe(\"Query expired contracts. Set to true to include expired contracts.\").optional(),\n strike_price: z.number().describe(\"Filter by exact strike price value.\").optional(),\n contract_type: z.enum([\"call\", \"put\"]).describe(\"Filter by contract type: 'call' or 'put'.\").optional(),\n expiration_date: z.string().describe(\"Filter by exact expiration date in YYYY-MM-DD format.\").optional(),\n strike_price_gt: z.number().describe(\"Filter for strike prices strictly greater than this value.\").optional(),\n strike_price_lt: z.number().describe(\"Filter for strike prices strictly less than this value.\").optional(),\n strike_price_gte: z.number().describe(\"Filter for strike prices greater than or equal to this value.\").optional(),\n strike_price_lte: z.number().describe(\"Filter for strike prices less than or equal to this value.\").optional(),\n underlying_ticker: z.string().describe(\"Query for contracts relating to an underlying stock ticker (e.g., 'AAPL', 'SPY').\").optional(),\n expiration_date_gt: z.string().describe(\"Filter for expiration dates strictly greater than this date (YYYY-MM-DD).\").optional(),\n expiration_date_lt: z.string().describe(\"Filter for expiration dates strictly less than this date (YYYY-MM-DD).\").optional(),\n expiration_date_gte: z.string().describe(\"Filter for expiration dates greater than or equal to this date (YYYY-MM-DD).\").optional(),\n expiration_date_lte: z.string().describe(\"Filter for expiration dates less than or equal to this date (YYYY-MM-DD).\").optional(),\n}).describe(\"Parameters to filter and enumerate options contracts.\");\nconst PolygonIoListOptionsContracts_AdditionalUnderlyingSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"The type of additional underlying.\").nullable().optional(),\n amount: z.number().describe(\"The amount of the additional underlying.\").nullable().optional(),\n underlying: z.string().describe(\"The ticker symbol of the additional underlying.\").nullable().optional(),\n}).describe(\"Additional underlyings or deliverables associated with an options contract.\");\nconst PolygonIoListOptionsContracts_OptionsContractSchema: z.ZodTypeAny = z.object({\n cfi: z.string().describe(\"The ISO 10962 Classification of Financial Instruments code.\").nullable().optional(),\n ticker: z.string().describe(\"The options contract ticker symbol.\").nullable().optional(),\n correction: z.number().int().describe(\"The correction number for this option contract.\").nullable().optional(),\n strike_price: z.number().describe(\"The strike price of the option contract.\").nullable().optional(),\n contract_type: z.string().describe(\"The type of contract: 'call', 'put', or 'other'.\").nullable().optional(),\n exercise_style: z.string().describe(\"The exercise style: 'american', 'european', or 'bermudan'.\").nullable().optional(),\n expiration_date: z.string().describe(\"The expiration date in YYYY-MM-DD format.\").nullable().optional(),\n primary_exchange: z.string().describe(\"The MIC code of the primary exchange for this contract.\").nullable().optional(),\n underlying_ticker: z.string().describe(\"The underlying stock ticker that the option relates to.\").nullable().optional(),\n shares_per_contract: z.number().describe(\"The number of shares per contract.\").nullable().optional(),\n additional_underlyings: z.array(PolygonIoListOptionsContracts_AdditionalUnderlyingSchema).describe(\"Additional underlyings or deliverables (e.g., from corporate actions).\").nullable().optional(),\n}).describe(\"Options contract details.\");\nexport const PolygonIoListOptionsContractsOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonIoListOptionsContracts_OptionsContractSchema).describe(\"List of options contracts matching the filter criteria.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results. Use this for pagination.\").nullable().optional(),\n request_id: z.string().describe(\"A unique request identifier assigned by the server.\").nullable().optional(),\n}).describe(\"Response containing a list of options contracts and pagination info.\");\n\nexport const polygonIoListOptionsContracts = action(\"POLYGON_IO_LIST_OPTIONS_CONTRACTS\", {\n slug: \"polygon_io-list-options-contracts\",\n name: \"List Options Contracts\",\n description: \"Tool to list and filter options contracts by underlying ticker, type, expiration, strike, and more. Use when you need to enumerate an options chain or find specific contracts matching criteria.\",\n input: PolygonIoListOptionsContractsInput,\n output: PolygonIoListOptionsContractsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC9H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC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AAS;CACvG,SAASA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-options-contracts.d.ts
4
+ declare const PolygonIoListOptionsContractsInput: z.ZodTypeAny;
5
+ declare const PolygonIoListOptionsContractsOutput: z.ZodTypeAny;
6
+ declare const polygonIoListOptionsContracts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoListOptionsContracts };
9
+ //# sourceMappingURL=list-options-contracts.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-options-contracts.d.cts","names":[],"sources":["../../src/actions/list-options-contracts.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAkBiB;AAAA,cAmBvD,mCAAA,EAAqC,CAAA,CAAE,UAK+B;AAAA,cAEtE,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-options-contracts.d.ts
4
+ declare const PolygonIoListOptionsContractsInput: z.ZodTypeAny;
5
+ declare const PolygonIoListOptionsContractsOutput: z.ZodTypeAny;
6
+ declare const polygonIoListOptionsContracts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoListOptionsContracts };
9
+ //# sourceMappingURL=list-options-contracts.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-options-contracts.d.mts","names":[],"sources":["../../src/actions/list-options-contracts.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAkBiB;AAAA,cAmBvD,mCAAA,EAAqC,CAAA,CAAE,UAK+B;AAAA,cAEtE,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,56 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-options-contracts.ts
4
+ const PolygonIoListOptionsContractsInput = z.object({
5
+ sort: z.string().describe("Field name to sort by (e.g., 'expiration_date', 'strike_price', 'ticker').").optional(),
6
+ as_of: z.string().describe("Specify a point in time for contracts as of this date (YYYY-MM-DD). Defaults to today.").optional(),
7
+ limit: z.number().int().describe("Maximum number of results to return per page (1-1000). Defaults to 10.").optional(),
8
+ order: z.enum(["asc", "desc"]).describe("Sort order direction: 'asc' (ascending) or 'desc' (descending).").optional(),
9
+ expired: z.boolean().describe("Query expired contracts. Set to true to include expired contracts.").optional(),
10
+ strike_price: z.number().describe("Filter by exact strike price value.").optional(),
11
+ contract_type: z.enum(["call", "put"]).describe("Filter by contract type: 'call' or 'put'.").optional(),
12
+ expiration_date: z.string().describe("Filter by exact expiration date in YYYY-MM-DD format.").optional(),
13
+ strike_price_gt: z.number().describe("Filter for strike prices strictly greater than this value.").optional(),
14
+ strike_price_lt: z.number().describe("Filter for strike prices strictly less than this value.").optional(),
15
+ strike_price_gte: z.number().describe("Filter for strike prices greater than or equal to this value.").optional(),
16
+ strike_price_lte: z.number().describe("Filter for strike prices less than or equal to this value.").optional(),
17
+ underlying_ticker: z.string().describe("Query for contracts relating to an underlying stock ticker (e.g., 'AAPL', 'SPY').").optional(),
18
+ expiration_date_gt: z.string().describe("Filter for expiration dates strictly greater than this date (YYYY-MM-DD).").optional(),
19
+ expiration_date_lt: z.string().describe("Filter for expiration dates strictly less than this date (YYYY-MM-DD).").optional(),
20
+ expiration_date_gte: z.string().describe("Filter for expiration dates greater than or equal to this date (YYYY-MM-DD).").optional(),
21
+ expiration_date_lte: z.string().describe("Filter for expiration dates less than or equal to this date (YYYY-MM-DD).").optional()
22
+ }).describe("Parameters to filter and enumerate options contracts.");
23
+ const PolygonIoListOptionsContracts_AdditionalUnderlyingSchema = z.object({
24
+ type: z.string().describe("The type of additional underlying.").nullable().optional(),
25
+ amount: z.number().describe("The amount of the additional underlying.").nullable().optional(),
26
+ underlying: z.string().describe("The ticker symbol of the additional underlying.").nullable().optional()
27
+ }).describe("Additional underlyings or deliverables associated with an options contract.");
28
+ const PolygonIoListOptionsContracts_OptionsContractSchema = z.object({
29
+ cfi: z.string().describe("The ISO 10962 Classification of Financial Instruments code.").nullable().optional(),
30
+ ticker: z.string().describe("The options contract ticker symbol.").nullable().optional(),
31
+ correction: z.number().int().describe("The correction number for this option contract.").nullable().optional(),
32
+ strike_price: z.number().describe("The strike price of the option contract.").nullable().optional(),
33
+ contract_type: z.string().describe("The type of contract: 'call', 'put', or 'other'.").nullable().optional(),
34
+ exercise_style: z.string().describe("The exercise style: 'american', 'european', or 'bermudan'.").nullable().optional(),
35
+ expiration_date: z.string().describe("The expiration date in YYYY-MM-DD format.").nullable().optional(),
36
+ primary_exchange: z.string().describe("The MIC code of the primary exchange for this contract.").nullable().optional(),
37
+ underlying_ticker: z.string().describe("The underlying stock ticker that the option relates to.").nullable().optional(),
38
+ shares_per_contract: z.number().describe("The number of shares per contract.").nullable().optional(),
39
+ additional_underlyings: z.array(PolygonIoListOptionsContracts_AdditionalUnderlyingSchema).describe("Additional underlyings or deliverables (e.g., from corporate actions).").nullable().optional()
40
+ }).describe("Options contract details.");
41
+ const polygonIoListOptionsContracts = action("POLYGON_IO_LIST_OPTIONS_CONTRACTS", {
42
+ slug: "polygon_io-list-options-contracts",
43
+ name: "List Options Contracts",
44
+ description: "Tool to list and filter options contracts by underlying ticker, type, expiration, strike, and more. Use when you need to enumerate an options chain or find specific contracts matching criteria.",
45
+ input: PolygonIoListOptionsContractsInput,
46
+ output: z.object({
47
+ status: z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
48
+ results: z.array(PolygonIoListOptionsContracts_OptionsContractSchema).describe("List of options contracts matching the filter criteria.").nullable().optional(),
49
+ next_url: z.string().describe("URL to fetch the next page of results. Use this for pagination.").nullable().optional(),
50
+ request_id: z.string().describe("A unique request identifier assigned by the server.").nullable().optional()
51
+ }).describe("Response containing a list of options contracts and pagination info.")
52
+ });
53
+ //#endregion
54
+ export { polygonIoListOptionsContracts };
55
+
56
+ //# sourceMappingURL=list-options-contracts.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-options-contracts.mjs","names":[],"sources":["../../src/actions/list-options-contracts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoListOptionsContractsInput: z.ZodTypeAny = z.object({\n sort: z.string().describe(\"Field name to sort by (e.g., 'expiration_date', 'strike_price', 'ticker').\").optional(),\n as_of: z.string().describe(\"Specify a point in time for contracts as of this date (YYYY-MM-DD). Defaults to today.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return per page (1-1000). Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort order direction: 'asc' (ascending) or 'desc' (descending).\").optional(),\n expired: z.boolean().describe(\"Query expired contracts. Set to true to include expired contracts.\").optional(),\n strike_price: z.number().describe(\"Filter by exact strike price value.\").optional(),\n contract_type: z.enum([\"call\", \"put\"]).describe(\"Filter by contract type: 'call' or 'put'.\").optional(),\n expiration_date: z.string().describe(\"Filter by exact expiration date in YYYY-MM-DD format.\").optional(),\n strike_price_gt: z.number().describe(\"Filter for strike prices strictly greater than this value.\").optional(),\n strike_price_lt: z.number().describe(\"Filter for strike prices strictly less than this value.\").optional(),\n strike_price_gte: z.number().describe(\"Filter for strike prices greater than or equal to this value.\").optional(),\n strike_price_lte: z.number().describe(\"Filter for strike prices less than or equal to this value.\").optional(),\n underlying_ticker: z.string().describe(\"Query for contracts relating to an underlying stock ticker (e.g., 'AAPL', 'SPY').\").optional(),\n expiration_date_gt: z.string().describe(\"Filter for expiration dates strictly greater than this date (YYYY-MM-DD).\").optional(),\n expiration_date_lt: z.string().describe(\"Filter for expiration dates strictly less than this date (YYYY-MM-DD).\").optional(),\n expiration_date_gte: z.string().describe(\"Filter for expiration dates greater than or equal to this date (YYYY-MM-DD).\").optional(),\n expiration_date_lte: z.string().describe(\"Filter for expiration dates less than or equal to this date (YYYY-MM-DD).\").optional(),\n}).describe(\"Parameters to filter and enumerate options contracts.\");\nconst PolygonIoListOptionsContracts_AdditionalUnderlyingSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"The type of additional underlying.\").nullable().optional(),\n amount: z.number().describe(\"The amount of the additional underlying.\").nullable().optional(),\n underlying: z.string().describe(\"The ticker symbol of the additional underlying.\").nullable().optional(),\n}).describe(\"Additional underlyings or deliverables associated with an options contract.\");\nconst PolygonIoListOptionsContracts_OptionsContractSchema: z.ZodTypeAny = z.object({\n cfi: z.string().describe(\"The ISO 10962 Classification of Financial Instruments code.\").nullable().optional(),\n ticker: z.string().describe(\"The options contract ticker symbol.\").nullable().optional(),\n correction: z.number().int().describe(\"The correction number for this option contract.\").nullable().optional(),\n strike_price: z.number().describe(\"The strike price of the option contract.\").nullable().optional(),\n contract_type: z.string().describe(\"The type of contract: 'call', 'put', or 'other'.\").nullable().optional(),\n exercise_style: z.string().describe(\"The exercise style: 'american', 'european', or 'bermudan'.\").nullable().optional(),\n expiration_date: z.string().describe(\"The expiration date in YYYY-MM-DD format.\").nullable().optional(),\n primary_exchange: z.string().describe(\"The MIC code of the primary exchange for this contract.\").nullable().optional(),\n underlying_ticker: z.string().describe(\"The underlying stock ticker that the option relates to.\").nullable().optional(),\n shares_per_contract: z.number().describe(\"The number of shares per contract.\").nullable().optional(),\n additional_underlyings: z.array(PolygonIoListOptionsContracts_AdditionalUnderlyingSchema).describe(\"Additional underlyings or deliverables (e.g., from corporate actions).\").nullable().optional(),\n}).describe(\"Options contract details.\");\nexport const PolygonIoListOptionsContractsOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: z.array(PolygonIoListOptionsContracts_OptionsContractSchema).describe(\"List of options contracts matching the filter criteria.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results. Use this for pagination.\").nullable().optional(),\n request_id: z.string().describe(\"A unique request identifier assigned by the server.\").nullable().optional(),\n}).describe(\"Response containing a list of options contracts and pagination info.\");\n\nexport const polygonIoListOptionsContracts = action(\"POLYGON_IO_LIST_OPTIONS_CONTRACTS\", {\n slug: \"polygon_io-list-options-contracts\",\n name: \"List Options Contracts\",\n description: \"Tool to list and filter options contracts by underlying ticker, type, expiration, strike, and more. Use when you need to enumerate an options chain or find specific contracts matching criteria.\",\n input: PolygonIoListOptionsContractsInput,\n output: PolygonIoListOptionsContractsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC9H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpH,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpH,SAAS,E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