@keystrokehq/polymarket 0.0.16 → 0.1.2

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 (399) hide show
  1. package/README.md +14 -2
  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/cancel-all-open-orders.cjs +16 -0
  7. package/dist/actions/cancel-all-open-orders.cjs.map +1 -0
  8. package/dist/actions/cancel-all-open-orders.d.cts +15 -0
  9. package/dist/actions/cancel-all-open-orders.d.cts.map +1 -0
  10. package/dist/actions/cancel-all-open-orders.d.mts +15 -0
  11. package/dist/actions/cancel-all-open-orders.d.mts.map +1 -0
  12. package/dist/actions/cancel-all-open-orders.mjs +13 -0
  13. package/dist/actions/cancel-all-open-orders.mjs.map +1 -0
  14. package/dist/actions/cancel-multiple-orders.cjs +19 -0
  15. package/dist/actions/cancel-multiple-orders.cjs.map +1 -0
  16. package/dist/actions/cancel-multiple-orders.d.cts +21 -0
  17. package/dist/actions/cancel-multiple-orders.d.cts.map +1 -0
  18. package/dist/actions/cancel-multiple-orders.d.mts +21 -0
  19. package/dist/actions/cancel-multiple-orders.d.mts.map +1 -0
  20. package/dist/actions/cancel-multiple-orders.mjs +16 -0
  21. package/dist/actions/cancel-multiple-orders.mjs.map +1 -0
  22. package/dist/actions/cancel-order.cjs +19 -0
  23. package/dist/actions/cancel-order.cjs.map +1 -0
  24. package/dist/actions/cancel-order.d.cts +17 -0
  25. package/dist/actions/cancel-order.d.cts.map +1 -0
  26. package/dist/actions/cancel-order.d.mts +17 -0
  27. package/dist/actions/cancel-order.d.mts.map +1 -0
  28. package/dist/actions/cancel-order.mjs +16 -0
  29. package/dist/actions/cancel-order.mjs.map +1 -0
  30. package/dist/actions/close-position-order.cjs +29 -0
  31. package/dist/actions/close-position-order.cjs.map +1 -0
  32. package/dist/actions/close-position-order.d.cts +40 -0
  33. package/dist/actions/close-position-order.d.cts.map +1 -0
  34. package/dist/actions/close-position-order.d.mts +40 -0
  35. package/dist/actions/close-position-order.d.mts.map +1 -0
  36. package/dist/actions/close-position-order.mjs +26 -0
  37. package/dist/actions/close-position-order.mjs.map +1 -0
  38. package/dist/actions/create-multiple-orders.cjs +56 -0
  39. package/dist/actions/create-multiple-orders.cjs.map +1 -0
  40. package/dist/actions/create-multiple-orders.d.cts +96 -0
  41. package/dist/actions/create-multiple-orders.d.cts.map +1 -0
  42. package/dist/actions/create-multiple-orders.d.mts +96 -0
  43. package/dist/actions/create-multiple-orders.d.mts.map +1 -0
  44. package/dist/actions/create-multiple-orders.mjs +53 -0
  45. package/dist/actions/create-multiple-orders.mjs.map +1 -0
  46. package/dist/actions/create-order.cjs +56 -0
  47. package/dist/actions/create-order.cjs.map +1 -0
  48. package/dist/actions/create-order.d.cts +96 -0
  49. package/dist/actions/create-order.d.cts.map +1 -0
  50. package/dist/actions/create-order.d.mts +96 -0
  51. package/dist/actions/create-order.d.mts.map +1 -0
  52. package/dist/actions/create-order.mjs +53 -0
  53. package/dist/actions/create-order.mjs.map +1 -0
  54. package/dist/actions/get-account-balances.cjs +40 -0
  55. package/dist/actions/get-account-balances.cjs.map +1 -0
  56. package/dist/actions/get-account-balances.d.cts +33 -0
  57. package/dist/actions/get-account-balances.d.cts.map +1 -0
  58. package/dist/actions/get-account-balances.d.mts +33 -0
  59. package/dist/actions/get-account-balances.d.mts.map +1 -0
  60. package/dist/actions/get-account-balances.mjs +39 -0
  61. package/dist/actions/get-account-balances.mjs.map +1 -0
  62. package/dist/actions/get-activities.cjs +34 -0
  63. package/dist/actions/get-activities.cjs.map +1 -0
  64. package/dist/actions/get-activities.d.cts +36 -0
  65. package/dist/actions/get-activities.d.cts.map +1 -0
  66. package/dist/actions/get-activities.d.mts +36 -0
  67. package/dist/actions/get-activities.d.mts.map +1 -0
  68. package/dist/actions/get-activities.mjs +31 -0
  69. package/dist/actions/get-activities.mjs.map +1 -0
  70. package/dist/actions/get-event-by-id.cjs +16 -0
  71. package/dist/actions/get-event-by-id.cjs.map +1 -0
  72. package/dist/actions/get-event-by-id.d.cts +15 -0
  73. package/dist/actions/get-event-by-id.d.cts.map +1 -0
  74. package/dist/actions/get-event-by-id.d.mts +15 -0
  75. package/dist/actions/get-event-by-id.d.mts.map +1 -0
  76. package/dist/actions/get-event-by-id.mjs +13 -0
  77. package/dist/actions/get-event-by-id.mjs.map +1 -0
  78. package/dist/actions/get-event-by-slug.cjs +16 -0
  79. package/dist/actions/get-event-by-slug.cjs.map +1 -0
  80. package/dist/actions/get-event-by-slug.d.cts +15 -0
  81. package/dist/actions/get-event-by-slug.d.cts.map +1 -0
  82. package/dist/actions/get-event-by-slug.d.mts +15 -0
  83. package/dist/actions/get-event-by-slug.d.mts.map +1 -0
  84. package/dist/actions/get-event-by-slug.mjs +13 -0
  85. package/dist/actions/get-event-by-slug.mjs.map +1 -0
  86. package/dist/actions/get-league-by-slug.cjs +16 -0
  87. package/dist/actions/get-league-by-slug.cjs.map +1 -0
  88. package/dist/actions/get-league-by-slug.d.cts +15 -0
  89. package/dist/actions/get-league-by-slug.d.cts.map +1 -0
  90. package/dist/actions/get-league-by-slug.d.mts +15 -0
  91. package/dist/actions/get-league-by-slug.d.mts.map +1 -0
  92. package/dist/actions/get-league-by-slug.mjs +13 -0
  93. package/dist/actions/get-league-by-slug.mjs.map +1 -0
  94. package/dist/actions/get-market-bbo.cjs +16 -0
  95. package/dist/actions/get-market-bbo.cjs.map +1 -0
  96. package/dist/actions/get-market-bbo.d.cts +15 -0
  97. package/dist/actions/get-market-bbo.d.cts.map +1 -0
  98. package/dist/actions/get-market-bbo.d.mts +15 -0
  99. package/dist/actions/get-market-bbo.d.mts.map +1 -0
  100. package/dist/actions/get-market-bbo.mjs +13 -0
  101. package/dist/actions/get-market-bbo.mjs.map +1 -0
  102. package/dist/actions/get-market-book.cjs +16 -0
  103. package/dist/actions/get-market-book.cjs.map +1 -0
  104. package/dist/actions/get-market-book.d.cts +15 -0
  105. package/dist/actions/get-market-book.d.cts.map +1 -0
  106. package/dist/actions/get-market-book.d.mts +15 -0
  107. package/dist/actions/get-market-book.d.mts.map +1 -0
  108. package/dist/actions/get-market-book.mjs +13 -0
  109. package/dist/actions/get-market-book.mjs.map +1 -0
  110. package/dist/actions/get-market-by-id.cjs +16 -0
  111. package/dist/actions/get-market-by-id.cjs.map +1 -0
  112. package/dist/actions/get-market-by-id.d.cts +15 -0
  113. package/dist/actions/get-market-by-id.d.cts.map +1 -0
  114. package/dist/actions/get-market-by-id.d.mts +15 -0
  115. package/dist/actions/get-market-by-id.d.mts.map +1 -0
  116. package/dist/actions/get-market-by-id.mjs +13 -0
  117. package/dist/actions/get-market-by-id.mjs.map +1 -0
  118. package/dist/actions/get-market-by-slug.cjs +16 -0
  119. package/dist/actions/get-market-by-slug.cjs.map +1 -0
  120. package/dist/actions/get-market-by-slug.d.cts +15 -0
  121. package/dist/actions/get-market-by-slug.d.cts.map +1 -0
  122. package/dist/actions/get-market-by-slug.d.mts +15 -0
  123. package/dist/actions/get-market-by-slug.d.mts.map +1 -0
  124. package/dist/actions/get-market-by-slug.mjs +13 -0
  125. package/dist/actions/get-market-by-slug.mjs.map +1 -0
  126. package/dist/actions/get-market-settlement.cjs +19 -0
  127. package/dist/actions/get-market-settlement.cjs.map +1 -0
  128. package/dist/actions/get-market-settlement.d.cts +17 -0
  129. package/dist/actions/get-market-settlement.d.cts.map +1 -0
  130. package/dist/actions/get-market-settlement.d.mts +17 -0
  131. package/dist/actions/get-market-settlement.d.mts.map +1 -0
  132. package/dist/actions/get-market-settlement.mjs +16 -0
  133. package/dist/actions/get-market-settlement.mjs.map +1 -0
  134. package/dist/actions/get-markets-for-subject-by-slug.cjs +16 -0
  135. package/dist/actions/get-markets-for-subject-by-slug.cjs.map +1 -0
  136. package/dist/actions/get-markets-for-subject-by-slug.d.cts +15 -0
  137. package/dist/actions/get-markets-for-subject-by-slug.d.cts.map +1 -0
  138. package/dist/actions/get-markets-for-subject-by-slug.d.mts +15 -0
  139. package/dist/actions/get-markets-for-subject-by-slug.d.mts.map +1 -0
  140. package/dist/actions/get-markets-for-subject-by-slug.mjs +13 -0
  141. package/dist/actions/get-markets-for-subject-by-slug.mjs.map +1 -0
  142. package/dist/actions/get-markets-for-subject.cjs +16 -0
  143. package/dist/actions/get-markets-for-subject.cjs.map +1 -0
  144. package/dist/actions/get-markets-for-subject.d.cts +15 -0
  145. package/dist/actions/get-markets-for-subject.d.cts.map +1 -0
  146. package/dist/actions/get-markets-for-subject.d.mts +15 -0
  147. package/dist/actions/get-markets-for-subject.d.mts.map +1 -0
  148. package/dist/actions/get-markets-for-subject.mjs +13 -0
  149. package/dist/actions/get-markets-for-subject.mjs.map +1 -0
  150. package/dist/actions/get-open-orders.cjs +16 -0
  151. package/dist/actions/get-open-orders.cjs.map +1 -0
  152. package/dist/actions/get-open-orders.d.cts +15 -0
  153. package/dist/actions/get-open-orders.d.cts.map +1 -0
  154. package/dist/actions/get-open-orders.d.mts +15 -0
  155. package/dist/actions/get-open-orders.d.mts.map +1 -0
  156. package/dist/actions/get-open-orders.mjs +13 -0
  157. package/dist/actions/get-open-orders.mjs.map +1 -0
  158. package/dist/actions/get-order.cjs +16 -0
  159. package/dist/actions/get-order.cjs.map +1 -0
  160. package/dist/actions/get-order.d.cts +15 -0
  161. package/dist/actions/get-order.d.cts.map +1 -0
  162. package/dist/actions/get-order.d.mts +15 -0
  163. package/dist/actions/get-order.d.mts.map +1 -0
  164. package/dist/actions/get-order.mjs +13 -0
  165. package/dist/actions/get-order.mjs.map +1 -0
  166. package/dist/actions/get-series-by-id.cjs +16 -0
  167. package/dist/actions/get-series-by-id.cjs.map +1 -0
  168. package/dist/actions/get-series-by-id.d.cts +15 -0
  169. package/dist/actions/get-series-by-id.d.cts.map +1 -0
  170. package/dist/actions/get-series-by-id.d.mts +15 -0
  171. package/dist/actions/get-series-by-id.d.mts.map +1 -0
  172. package/dist/actions/get-series-by-id.mjs +13 -0
  173. package/dist/actions/get-series-by-id.mjs.map +1 -0
  174. package/dist/actions/get-sport-by-slug.cjs +16 -0
  175. package/dist/actions/get-sport-by-slug.cjs.map +1 -0
  176. package/dist/actions/get-sport-by-slug.d.cts +15 -0
  177. package/dist/actions/get-sport-by-slug.d.cts.map +1 -0
  178. package/dist/actions/get-sport-by-slug.d.mts +15 -0
  179. package/dist/actions/get-sport-by-slug.d.mts.map +1 -0
  180. package/dist/actions/get-sport-by-slug.mjs +13 -0
  181. package/dist/actions/get-sport-by-slug.mjs.map +1 -0
  182. package/dist/actions/get-subject-by-id.cjs +16 -0
  183. package/dist/actions/get-subject-by-id.cjs.map +1 -0
  184. package/dist/actions/get-subject-by-id.d.cts +15 -0
  185. package/dist/actions/get-subject-by-id.d.cts.map +1 -0
  186. package/dist/actions/get-subject-by-id.d.mts +15 -0
  187. package/dist/actions/get-subject-by-id.d.mts.map +1 -0
  188. package/dist/actions/get-subject-by-id.mjs +13 -0
  189. package/dist/actions/get-subject-by-id.mjs.map +1 -0
  190. package/dist/actions/get-subject-by-slug.cjs +16 -0
  191. package/dist/actions/get-subject-by-slug.cjs.map +1 -0
  192. package/dist/actions/get-subject-by-slug.d.cts +15 -0
  193. package/dist/actions/get-subject-by-slug.d.cts.map +1 -0
  194. package/dist/actions/get-subject-by-slug.d.mts +15 -0
  195. package/dist/actions/get-subject-by-slug.d.mts.map +1 -0
  196. package/dist/actions/get-subject-by-slug.mjs +13 -0
  197. package/dist/actions/get-subject-by-slug.mjs.map +1 -0
  198. package/dist/actions/get-tag-by-id.cjs +16 -0
  199. package/dist/actions/get-tag-by-id.cjs.map +1 -0
  200. package/dist/actions/get-tag-by-id.d.cts +15 -0
  201. package/dist/actions/get-tag-by-id.d.cts.map +1 -0
  202. package/dist/actions/get-tag-by-id.d.mts +15 -0
  203. package/dist/actions/get-tag-by-id.d.mts.map +1 -0
  204. package/dist/actions/get-tag-by-id.mjs +13 -0
  205. package/dist/actions/get-tag-by-id.mjs.map +1 -0
  206. package/dist/actions/get-tag-by-slug.cjs +16 -0
  207. package/dist/actions/get-tag-by-slug.cjs.map +1 -0
  208. package/dist/actions/get-tag-by-slug.d.cts +15 -0
  209. package/dist/actions/get-tag-by-slug.d.cts.map +1 -0
  210. package/dist/actions/get-tag-by-slug.d.mts +15 -0
  211. package/dist/actions/get-tag-by-slug.d.mts.map +1 -0
  212. package/dist/actions/get-tag-by-slug.mjs +13 -0
  213. package/dist/actions/get-tag-by-slug.mjs.map +1 -0
  214. package/dist/actions/get-user-positions.cjs +25 -0
  215. package/dist/actions/get-user-positions.cjs.map +1 -0
  216. package/dist/actions/get-user-positions.d.cts +22 -0
  217. package/dist/actions/get-user-positions.d.cts.map +1 -0
  218. package/dist/actions/get-user-positions.d.mts +22 -0
  219. package/dist/actions/get-user-positions.d.mts.map +1 -0
  220. package/dist/actions/get-user-positions.mjs +22 -0
  221. package/dist/actions/get-user-positions.mjs.map +1 -0
  222. package/dist/actions/index.cjs +89 -0
  223. package/dist/actions/index.d.cts +45 -0
  224. package/dist/actions/index.d.mts +45 -0
  225. package/dist/actions/index.mjs +45 -0
  226. package/dist/actions/list-events-for-league.cjs +23 -0
  227. package/dist/actions/list-events-for-league.cjs.map +1 -0
  228. package/dist/actions/list-events-for-league.d.cts +31 -0
  229. package/dist/actions/list-events-for-league.d.cts.map +1 -0
  230. package/dist/actions/list-events-for-league.d.mts +31 -0
  231. package/dist/actions/list-events-for-league.d.mts.map +1 -0
  232. package/dist/actions/list-events-for-league.mjs +20 -0
  233. package/dist/actions/list-events-for-league.mjs.map +1 -0
  234. package/dist/actions/list-events-for-series.cjs +23 -0
  235. package/dist/actions/list-events-for-series.cjs.map +1 -0
  236. package/dist/actions/list-events-for-series.d.cts +31 -0
  237. package/dist/actions/list-events-for-series.d.cts.map +1 -0
  238. package/dist/actions/list-events-for-series.d.mts +31 -0
  239. package/dist/actions/list-events-for-series.d.mts.map +1 -0
  240. package/dist/actions/list-events-for-series.mjs +20 -0
  241. package/dist/actions/list-events-for-series.mjs.map +1 -0
  242. package/dist/actions/list-events-for-sport.cjs +23 -0
  243. package/dist/actions/list-events-for-sport.cjs.map +1 -0
  244. package/dist/actions/list-events-for-sport.d.cts +31 -0
  245. package/dist/actions/list-events-for-sport.d.cts.map +1 -0
  246. package/dist/actions/list-events-for-sport.d.mts +31 -0
  247. package/dist/actions/list-events-for-sport.d.mts.map +1 -0
  248. package/dist/actions/list-events-for-sport.mjs +20 -0
  249. package/dist/actions/list-events-for-sport.mjs.map +1 -0
  250. package/dist/actions/list-events.cjs +32 -0
  251. package/dist/actions/list-events.cjs.map +1 -0
  252. package/dist/actions/list-events.d.cts +46 -0
  253. package/dist/actions/list-events.d.cts.map +1 -0
  254. package/dist/actions/list-events.d.mts +46 -0
  255. package/dist/actions/list-events.d.mts.map +1 -0
  256. package/dist/actions/list-events.mjs +29 -0
  257. package/dist/actions/list-events.mjs.map +1 -0
  258. package/dist/actions/list-featured-tags.cjs +16 -0
  259. package/dist/actions/list-featured-tags.cjs.map +1 -0
  260. package/dist/actions/list-featured-tags.d.cts +11 -0
  261. package/dist/actions/list-featured-tags.d.cts.map +1 -0
  262. package/dist/actions/list-featured-tags.d.mts +11 -0
  263. package/dist/actions/list-featured-tags.d.mts.map +1 -0
  264. package/dist/actions/list-featured-tags.mjs +13 -0
  265. package/dist/actions/list-featured-tags.mjs.map +1 -0
  266. package/dist/actions/list-leagues.cjs +19 -0
  267. package/dist/actions/list-leagues.cjs.map +1 -0
  268. package/dist/actions/list-leagues.d.cts +17 -0
  269. package/dist/actions/list-leagues.d.cts.map +1 -0
  270. package/dist/actions/list-leagues.d.mts +17 -0
  271. package/dist/actions/list-leagues.d.mts.map +1 -0
  272. package/dist/actions/list-leagues.mjs +16 -0
  273. package/dist/actions/list-leagues.mjs.map +1 -0
  274. package/dist/actions/list-markets.cjs +38 -0
  275. package/dist/actions/list-markets.cjs.map +1 -0
  276. package/dist/actions/list-markets.d.cts +51 -0
  277. package/dist/actions/list-markets.d.cts.map +1 -0
  278. package/dist/actions/list-markets.d.mts +51 -0
  279. package/dist/actions/list-markets.d.mts.map +1 -0
  280. package/dist/actions/list-markets.mjs +35 -0
  281. package/dist/actions/list-markets.mjs.map +1 -0
  282. package/dist/actions/list-series.cjs +24 -0
  283. package/dist/actions/list-series.cjs.map +1 -0
  284. package/dist/actions/list-series.d.cts +30 -0
  285. package/dist/actions/list-series.d.cts.map +1 -0
  286. package/dist/actions/list-series.d.mts +30 -0
  287. package/dist/actions/list-series.d.mts.map +1 -0
  288. package/dist/actions/list-series.mjs +21 -0
  289. package/dist/actions/list-series.mjs.map +1 -0
  290. package/dist/actions/list-sports-teams-for-provider.cjs +20 -0
  291. package/dist/actions/list-sports-teams-for-provider.cjs.map +1 -0
  292. package/dist/actions/list-sports-teams-for-provider.d.cts +22 -0
  293. package/dist/actions/list-sports-teams-for-provider.d.cts.map +1 -0
  294. package/dist/actions/list-sports-teams-for-provider.d.mts +22 -0
  295. package/dist/actions/list-sports-teams-for-provider.d.mts.map +1 -0
  296. package/dist/actions/list-sports-teams-for-provider.mjs +17 -0
  297. package/dist/actions/list-sports-teams-for-provider.mjs.map +1 -0
  298. package/dist/actions/list-sports-teams.cjs +25 -0
  299. package/dist/actions/list-sports-teams.cjs.map +1 -0
  300. package/dist/actions/list-sports-teams.d.cts +32 -0
  301. package/dist/actions/list-sports-teams.d.cts.map +1 -0
  302. package/dist/actions/list-sports-teams.d.mts +32 -0
  303. package/dist/actions/list-sports-teams.d.mts.map +1 -0
  304. package/dist/actions/list-sports-teams.mjs +22 -0
  305. package/dist/actions/list-sports-teams.mjs.map +1 -0
  306. package/dist/actions/list-sports.cjs +16 -0
  307. package/dist/actions/list-sports.cjs.map +1 -0
  308. package/dist/actions/list-sports.d.cts +11 -0
  309. package/dist/actions/list-sports.d.cts.map +1 -0
  310. package/dist/actions/list-sports.d.mts +11 -0
  311. package/dist/actions/list-sports.d.mts.map +1 -0
  312. package/dist/actions/list-sports.mjs +13 -0
  313. package/dist/actions/list-sports.mjs.map +1 -0
  314. package/dist/actions/list-subjects.cjs +21 -0
  315. package/dist/actions/list-subjects.cjs.map +1 -0
  316. package/dist/actions/list-subjects.d.cts +21 -0
  317. package/dist/actions/list-subjects.d.cts.map +1 -0
  318. package/dist/actions/list-subjects.d.mts +21 -0
  319. package/dist/actions/list-subjects.d.mts.map +1 -0
  320. package/dist/actions/list-subjects.mjs +18 -0
  321. package/dist/actions/list-subjects.mjs.map +1 -0
  322. package/dist/actions/list-tags.cjs +25 -0
  323. package/dist/actions/list-tags.cjs.map +1 -0
  324. package/dist/actions/list-tags.d.cts +32 -0
  325. package/dist/actions/list-tags.d.cts.map +1 -0
  326. package/dist/actions/list-tags.d.mts +32 -0
  327. package/dist/actions/list-tags.d.mts.map +1 -0
  328. package/dist/actions/list-tags.mjs +22 -0
  329. package/dist/actions/list-tags.mjs.map +1 -0
  330. package/dist/actions/modify-multiple-orders.cjs +33 -0
  331. package/dist/actions/modify-multiple-orders.cjs.map +1 -0
  332. package/dist/actions/modify-multiple-orders.d.cts +43 -0
  333. package/dist/actions/modify-multiple-orders.d.cts.map +1 -0
  334. package/dist/actions/modify-multiple-orders.d.mts +43 -0
  335. package/dist/actions/modify-multiple-orders.d.mts.map +1 -0
  336. package/dist/actions/modify-multiple-orders.mjs +30 -0
  337. package/dist/actions/modify-multiple-orders.mjs.map +1 -0
  338. package/dist/actions/modify-order.cjs +33 -0
  339. package/dist/actions/modify-order.cjs.map +1 -0
  340. package/dist/actions/modify-order.d.cts +39 -0
  341. package/dist/actions/modify-order.d.cts.map +1 -0
  342. package/dist/actions/modify-order.d.mts +39 -0
  343. package/dist/actions/modify-order.d.mts.map +1 -0
  344. package/dist/actions/modify-order.mjs +30 -0
  345. package/dist/actions/modify-order.mjs.map +1 -0
  346. package/dist/actions/preview-order.cjs +56 -0
  347. package/dist/actions/preview-order.cjs.map +1 -0
  348. package/dist/actions/preview-order.d.cts +96 -0
  349. package/dist/actions/preview-order.d.cts.map +1 -0
  350. package/dist/actions/preview-order.d.mts +96 -0
  351. package/dist/actions/preview-order.d.mts.map +1 -0
  352. package/dist/actions/preview-order.mjs +53 -0
  353. package/dist/actions/preview-order.mjs.map +1 -0
  354. package/dist/actions/search-markets-and-events.cjs +23 -0
  355. package/dist/actions/search-markets-and-events.cjs.map +1 -0
  356. package/dist/actions/search-markets-and-events.d.cts +25 -0
  357. package/dist/actions/search-markets-and-events.d.cts.map +1 -0
  358. package/dist/actions/search-markets-and-events.d.mts +25 -0
  359. package/dist/actions/search-markets-and-events.d.mts.map +1 -0
  360. package/dist/actions/search-markets-and-events.mjs +20 -0
  361. package/dist/actions/search-markets-and-events.mjs.map +1 -0
  362. package/dist/app.cjs +9 -0
  363. package/dist/app.cjs.map +1 -0
  364. package/dist/app.d.cts +5 -0
  365. package/dist/app.d.cts.map +1 -0
  366. package/dist/app.d.mts +5 -0
  367. package/dist/app.d.mts.map +1 -0
  368. package/dist/app.mjs +10 -0
  369. package/dist/app.mjs.map +1 -0
  370. package/dist/catalog.cjs +27 -0
  371. package/dist/catalog.cjs.map +1 -0
  372. package/dist/catalog.d.cts +26 -0
  373. package/dist/catalog.d.cts.map +1 -0
  374. package/dist/catalog.d.mts +26 -0
  375. package/dist/catalog.d.mts.map +1 -0
  376. package/dist/catalog.mjs +27 -0
  377. package/dist/catalog.mjs.map +1 -0
  378. package/dist/execute.cjs +18 -0
  379. package/dist/execute.cjs.map +1 -0
  380. package/dist/execute.mjs +18 -0
  381. package/dist/execute.mjs.map +1 -0
  382. package/dist/index.cjs +94 -0
  383. package/dist/index.d.cts +47 -0
  384. package/dist/index.d.mts +47 -4
  385. package/dist/index.mjs +48 -5
  386. package/package.json +31 -52
  387. package/LICENSE +0 -21
  388. package/dist/credential-sets/index.d.mts +0 -2
  389. package/dist/credential-sets/index.mjs +0 -3
  390. package/dist/data-g8Gt5cqR.mjs +0 -246
  391. package/dist/operations/index.d.mts +0 -2
  392. package/dist/operations/index.mjs +0 -3
  393. package/dist/polymarket.credential-set-jU6p-ps3.d.mts +0 -14
  394. package/dist/polymarket.credential-set-wbGYLp9q.mjs +0 -19
  395. package/dist/pricing-x-VWqR0L.d.mts +0 -309
  396. package/dist/schemas/index.d.mts +0 -2
  397. package/dist/schemas/index.mjs +0 -3
  398. package/dist/search-polymarket.operation-BW-S0mae.d.mts +0 -700
  399. package/dist/search-polymarket.operation-DPkjnHty.mjs +0 -624
@@ -0,0 +1,15 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-league-by-slug.d.ts
4
+ declare const PolymarketGetLeagueBySlugInput: z.ZodObject<{
5
+ slug: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PolymarketGetLeagueBySlugOutput: z.ZodObject<{
8
+ league: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strip>;
10
+ declare const polymarketGetLeagueBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ slug: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ //#endregion
14
+ export { polymarketGetLeagueBySlug };
15
+ //# sourceMappingURL=get-league-by-slug.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-league-by-slug.d.mts","names":[],"sources":["../../src/actions/get-league-by-slug.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const polymarketGetLeagueBySlug = action("POLYMARKET_GET_LEAGUE_BY_SLUG", {
4
+ slug: "polymarket-get-league-by-slug",
5
+ name: "Get League By Slug",
6
+ description: "Get a current Polymarket US v2 league by slug. Use List Leagues or Get Sport By Slug first if the slug is unknown. This is useful for confirming league metadata before listing events for a league such as \"nba\" or \"nfl\". This action does not require API key authentication.",
7
+ input: z.object({ slug: z.string().describe("Current v2 league slug from List Leagues or Get Sport By Slug, such as 'nba' or 'nfl'.") }),
8
+ output: z.object({ league: z.record(z.string(), z.unknown()).describe("League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.") })
9
+ });
10
+ //#endregion
11
+ export { polymarketGetLeagueBySlug };
12
+
13
+ //# sourceMappingURL=get-league-by-slug.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-league-by-slug.mjs","names":[],"sources":["../../src/actions/get-league-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetLeagueBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 league slug from List Leagues or Get Sport By Slug, such as 'nba' or 'nfl'.\"),\n});\nexport const PolymarketGetLeagueBySlugOutput = z.object({\n league: z.record(z.string(), z.unknown()).describe(\"League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.\"),\n});\n\nexport const polymarketGetLeagueBySlug = action(\"POLYMARKET_GET_LEAGUE_BY_SLUG\", {\n slug: \"polymarket-get-league-by-slug\",\n name: \"Get League By Slug\",\n description: \"Get a current Polymarket US v2 league by slug. Use List Leagues or Get Sport By Slug first if the slug is unknown. This is useful for confirming league metadata before listing events for a league such as \\\"nba\\\" or \\\"nfl\\\". This action does not require API key authentication.\",\n input: PolymarketGetLeagueBySlugInput,\n output: PolymarketGetLeagueBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EACpH,CASS;CACP,QAT6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH,EAC1K,CAOU;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-market-bbo.ts
4
+ const PolymarketGetMarketBboInput = zod.z.object({ slug: zod.z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") });
5
+ const PolymarketGetMarketBboOutput = zod.z.object({ bbo: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Best bid and offer for the market.") });
6
+ const polymarketGetMarketBbo = require_action.action("POLYMARKET_GET_MARKET_BBO", {
7
+ slug: "polymarket-get-market-bbo",
8
+ name: "Get Market BBO",
9
+ description: "Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
10
+ input: PolymarketGetMarketBboInput,
11
+ output: PolymarketGetMarketBboOutput
12
+ });
13
+ //#endregion
14
+ exports.polymarketGetMarketBbo = polymarketGetMarketBbo;
15
+
16
+ //# sourceMappingURL=get-market-bbo.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-bbo.cjs","names":["z","action"],"sources":["../../src/actions/get-market-bbo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketBboInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketGetMarketBboOutput = z.object({\n bbo: z.record(z.string(), z.unknown()).describe(\"Best bid and offer for the market.\"),\n});\n\nexport const polymarketGetMarketBbo = action(\"POLYMARKET_GET_MARKET_BBO\", {\n slug: \"polymarket-get-market-bbo\",\n name: \"Get Market BBO\",\n description: \"Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketGetMarketBboInput,\n output: PolymarketGetMarketBboOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,EACtF,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-market-bbo.d.ts
4
+ declare const PolymarketGetMarketBboInput: z.ZodObject<{
5
+ slug: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PolymarketGetMarketBboOutput: z.ZodObject<{
8
+ bbo: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strip>;
10
+ declare const polymarketGetMarketBbo: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ slug: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ //#endregion
14
+ export { polymarketGetMarketBbo };
15
+ //# sourceMappingURL=get-market-bbo.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-bbo.d.cts","names":[],"sources":["../../src/actions/get-market-bbo.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
@@ -0,0 +1,15 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-market-bbo.d.ts
4
+ declare const PolymarketGetMarketBboInput: z.ZodObject<{
5
+ slug: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PolymarketGetMarketBboOutput: z.ZodObject<{
8
+ bbo: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strip>;
10
+ declare const polymarketGetMarketBbo: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ slug: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ //#endregion
14
+ export { polymarketGetMarketBbo };
15
+ //# sourceMappingURL=get-market-bbo.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-bbo.d.mts","names":[],"sources":["../../src/actions/get-market-bbo.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const polymarketGetMarketBbo = action("POLYMARKET_GET_MARKET_BBO", {
4
+ slug: "polymarket-get-market-bbo",
5
+ name: "Get Market BBO",
6
+ description: "Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
7
+ input: z.object({ slug: z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") }),
8
+ output: z.object({ bbo: z.record(z.string(), z.unknown()).describe("Best bid and offer for the market.") })
9
+ });
10
+ //#endregion
11
+ export { polymarketGetMarketBbo };
12
+
13
+ //# sourceMappingURL=get-market-bbo.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-bbo.mjs","names":[],"sources":["../../src/actions/get-market-bbo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketBboInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketGetMarketBboOutput = z.object({\n bbo: z.record(z.string(), z.unknown()).describe(\"Best bid and offer for the market.\"),\n});\n\nexport const polymarketGetMarketBbo = action(\"POLYMARKET_GET_MARKET_BBO\", {\n slug: \"polymarket-get-market-bbo\",\n name: \"Get Market BBO\",\n description: \"Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketGetMarketBboInput,\n output: PolymarketGetMarketBboOutput,\n});\n"],"mappings":";;AAWA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyC,EAAE,OAAO,EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CASS;CACP,QAT0C,EAAE,OAAO,EACnD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,EACtF,CAOU;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-market-book.ts
4
+ const PolymarketGetMarketBookInput = zod.z.object({ slug: zod.z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") });
5
+ const PolymarketGetMarketBookOutput = zod.z.object({ book: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Order book for the market.") });
6
+ const polymarketGetMarketBook = require_action.action("POLYMARKET_GET_MARKET_BOOK", {
7
+ slug: "polymarket-get-market-book",
8
+ name: "Get Market Book",
9
+ description: "Get the public order book for one Polymarket US market by slug. Use this before quoting, previewing, or explaining an order when the agent needs depth beyond the top of book. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
10
+ input: PolymarketGetMarketBookInput,
11
+ output: PolymarketGetMarketBookOutput
12
+ });
13
+ //#endregion
14
+ exports.polymarketGetMarketBook = polymarketGetMarketBook;
15
+
16
+ //# sourceMappingURL=get-market-book.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-book.cjs","names":["z","action"],"sources":["../../src/actions/get-market-book.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketBookInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketGetMarketBookOutput = z.object({\n book: z.record(z.string(), z.unknown()).describe(\"Order book for the market.\"),\n});\n\nexport const polymarketGetMarketBook = action(\"POLYMARKET_GET_MARKET_BOOK\", {\n slug: \"polymarket-get-market-book\",\n name: \"Get Market Book\",\n description: \"Get the public order book for one Polymarket US market by slug. Use this before quoting, previewing, or explaining an order when the agent needs depth beyond the top of book. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketGetMarketBookInput,\n output: PolymarketGetMarketBookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EAC/E,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-market-book.d.ts
4
+ declare const PolymarketGetMarketBookInput: z.ZodObject<{
5
+ slug: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PolymarketGetMarketBookOutput: z.ZodObject<{
8
+ book: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strip>;
10
+ declare const polymarketGetMarketBook: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ slug: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ //#endregion
14
+ export { polymarketGetMarketBook };
15
+ //# sourceMappingURL=get-market-book.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-book.d.cts","names":[],"sources":["../../src/actions/get-market-book.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -0,0 +1,15 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-market-book.d.ts
4
+ declare const PolymarketGetMarketBookInput: z.ZodObject<{
5
+ slug: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PolymarketGetMarketBookOutput: z.ZodObject<{
8
+ book: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strip>;
10
+ declare const polymarketGetMarketBook: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ slug: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ //#endregion
14
+ export { polymarketGetMarketBook };
15
+ //# sourceMappingURL=get-market-book.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-book.d.mts","names":[],"sources":["../../src/actions/get-market-book.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const polymarketGetMarketBook = action("POLYMARKET_GET_MARKET_BOOK", {
4
+ slug: "polymarket-get-market-book",
5
+ name: "Get Market Book",
6
+ description: "Get the public order book for one Polymarket US market by slug. Use this before quoting, previewing, or explaining an order when the agent needs depth beyond the top of book. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
7
+ input: z.object({ slug: z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") }),
8
+ output: z.object({ book: z.record(z.string(), z.unknown()).describe("Order book for the market.") })
9
+ });
10
+ //#endregion
11
+ export { polymarketGetMarketBook };
12
+
13
+ //# sourceMappingURL=get-market-book.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-book.mjs","names":[],"sources":["../../src/actions/get-market-book.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketBookInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketGetMarketBookOutput = z.object({\n book: z.record(z.string(), z.unknown()).describe(\"Order book for the market.\"),\n});\n\nexport const polymarketGetMarketBook = action(\"POLYMARKET_GET_MARKET_BOOK\", {\n slug: \"polymarket-get-market-book\",\n name: \"Get Market Book\",\n description: \"Get the public order book for one Polymarket US market by slug. Use this before quoting, previewing, or explaining an order when the agent needs depth beyond the top of book. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketGetMarketBookInput,\n output: PolymarketGetMarketBookOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0C,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CASS;CACP,QAT2C,EAAE,OAAO,EACpD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EAC/E,CAOU;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-market-by-id.ts
4
+ const PolymarketGetMarketByIdInput = zod.z.object({ id: zod.z.number().int().describe("Numeric Polymarket US market ID from a discovery response. Do not pass a market slug.") });
5
+ const PolymarketGetMarketByIdOutput = zod.z.object({ market: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Market details.") });
6
+ const polymarketGetMarketById = require_action.action("POLYMARKET_GET_MARKET_BY_ID", {
7
+ slug: "polymarket-get-market-by-id",
8
+ name: "Get Market By ID",
9
+ description: "Get one Polymarket US market by numeric ID from the public gateway API. Use this after market discovery when the caller already has the integer market ID and needs full market metadata. Do not pass slugs here; use Get Market By Slug for slugs. For current pricing before an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.",
10
+ input: PolymarketGetMarketByIdInput,
11
+ output: PolymarketGetMarketByIdOutput
12
+ });
13
+ //#endregion
14
+ exports.polymarketGetMarketById = polymarketGetMarketById;
15
+
16
+ //# sourceMappingURL=get-market-by-id.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-market-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketByIdInput = z.object({\n id: z.number().int().describe(\"Numeric Polymarket US market ID from a discovery response. Do not pass a market slug.\"),\n});\nexport const PolymarketGetMarketByIdOutput = z.object({\n market: z.record(z.string(), z.unknown()).describe(\"Market details.\"),\n});\n\nexport const polymarketGetMarketById = action(\"POLYMARKET_GET_MARKET_BY_ID\", {\n slug: \"polymarket-get-market-by-id\",\n name: \"Get Market By ID\",\n description: \"Get one Polymarket US market by numeric ID from the public gateway API. Use this after market discovery when the caller already has the integer market ID and needs full market metadata. Do not pass slugs here; use Get Market By Slug for slugs. For current pricing before an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.\",\n input: PolymarketGetMarketByIdInput,\n output: PolymarketGetMarketByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,EACvH,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-market-by-id.d.ts
4
+ declare const PolymarketGetMarketByIdInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const PolymarketGetMarketByIdOutput: z.ZodObject<{
8
+ market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strip>;
10
+ declare const polymarketGetMarketById: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ id: number;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ //#endregion
14
+ export { polymarketGetMarketById };
15
+ //# sourceMappingURL=get-market-by-id.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-by-id.d.cts","names":[],"sources":["../../src/actions/get-market-by-id.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -0,0 +1,15 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-market-by-id.d.ts
4
+ declare const PolymarketGetMarketByIdInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const PolymarketGetMarketByIdOutput: z.ZodObject<{
8
+ market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strip>;
10
+ declare const polymarketGetMarketById: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ id: number;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ //#endregion
14
+ export { polymarketGetMarketById };
15
+ //# sourceMappingURL=get-market-by-id.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-by-id.d.mts","names":[],"sources":["../../src/actions/get-market-by-id.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const polymarketGetMarketById = action("POLYMARKET_GET_MARKET_BY_ID", {
4
+ slug: "polymarket-get-market-by-id",
5
+ name: "Get Market By ID",
6
+ description: "Get one Polymarket US market by numeric ID from the public gateway API. Use this after market discovery when the caller already has the integer market ID and needs full market metadata. Do not pass slugs here; use Get Market By Slug for slugs. For current pricing before an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.",
7
+ input: z.object({ id: z.number().int().describe("Numeric Polymarket US market ID from a discovery response. Do not pass a market slug.") }),
8
+ output: z.object({ market: z.record(z.string(), z.unknown()).describe("Market details.") })
9
+ });
10
+ //#endregion
11
+ export { polymarketGetMarketById };
12
+
13
+ //# sourceMappingURL=get-market-by-id.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-by-id.mjs","names":[],"sources":["../../src/actions/get-market-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketByIdInput = z.object({\n id: z.number().int().describe(\"Numeric Polymarket US market ID from a discovery response. Do not pass a market slug.\"),\n});\nexport const PolymarketGetMarketByIdOutput = z.object({\n market: z.record(z.string(), z.unknown()).describe(\"Market details.\"),\n});\n\nexport const polymarketGetMarketById = action(\"POLYMARKET_GET_MARKET_BY_ID\", {\n slug: \"polymarket-get-market-by-id\",\n name: \"Get Market By ID\",\n description: \"Get one Polymarket US market by numeric ID from the public gateway API. Use this after market discovery when the caller already has the integer market ID and needs full market metadata. Do not pass slugs here; use Get Market By Slug for slugs. For current pricing before an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.\",\n input: PolymarketGetMarketByIdInput,\n output: PolymarketGetMarketByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,EACvH,CASS;CACP,QAT2C,EAAE,OAAO,EACpD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAOU;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-market-by-slug.ts
4
+ const PolymarketGetMarketBySlugInput = zod.z.object({ slug: zod.z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") });
5
+ const PolymarketGetMarketBySlugOutput = zod.z.object({ market: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Market details.") });
6
+ const polymarketGetMarketBySlug = require_action.action("POLYMARKET_GET_MARKET_BY_SLUG", {
7
+ slug: "polymarket-get-market-by-slug",
8
+ name: "Get Market By Slug",
9
+ description: "Get one Polymarket US market by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket market URL. Do not pass numeric IDs here; use Get Market By ID for integer IDs. For current pricing before quoting, previewing, or placing an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.",
10
+ input: PolymarketGetMarketBySlugInput,
11
+ output: PolymarketGetMarketBySlugOutput
12
+ });
13
+ //#endregion
14
+ exports.polymarketGetMarketBySlug = polymarketGetMarketBySlug;
15
+
16
+ //# sourceMappingURL=get-market-by-slug.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-market-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketBySlugInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketGetMarketBySlugOutput = z.object({\n market: z.record(z.string(), z.unknown()).describe(\"Market details.\"),\n});\n\nexport const polymarketGetMarketBySlug = action(\"POLYMARKET_GET_MARKET_BY_SLUG\", {\n slug: \"polymarket-get-market-by-slug\",\n name: \"Get Market By Slug\",\n description: \"Get one Polymarket US market by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket market URL. Do not pass numeric IDs here; use Get Market By ID for integer IDs. For current pricing before quoting, previewing, or placing an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.\",\n input: PolymarketGetMarketBySlugInput,\n output: PolymarketGetMarketBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-market-by-slug.d.ts
4
+ declare const PolymarketGetMarketBySlugInput: z.ZodObject<{
5
+ slug: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PolymarketGetMarketBySlugOutput: z.ZodObject<{
8
+ market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strip>;
10
+ declare const polymarketGetMarketBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ slug: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ //#endregion
14
+ export { polymarketGetMarketBySlug };
15
+ //# sourceMappingURL=get-market-by-slug.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-by-slug.d.cts","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -0,0 +1,15 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-market-by-slug.d.ts
4
+ declare const PolymarketGetMarketBySlugInput: z.ZodObject<{
5
+ slug: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PolymarketGetMarketBySlugOutput: z.ZodObject<{
8
+ market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strip>;
10
+ declare const polymarketGetMarketBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ slug: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ //#endregion
14
+ export { polymarketGetMarketBySlug };
15
+ //# sourceMappingURL=get-market-by-slug.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-by-slug.d.mts","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const polymarketGetMarketBySlug = action("POLYMARKET_GET_MARKET_BY_SLUG", {
4
+ slug: "polymarket-get-market-by-slug",
5
+ name: "Get Market By Slug",
6
+ description: "Get one Polymarket US market by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket market URL. Do not pass numeric IDs here; use Get Market By ID for integer IDs. For current pricing before quoting, previewing, or placing an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.",
7
+ input: z.object({ slug: z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") }),
8
+ output: z.object({ market: z.record(z.string(), z.unknown()).describe("Market details.") })
9
+ });
10
+ //#endregion
11
+ export { polymarketGetMarketBySlug };
12
+
13
+ //# sourceMappingURL=get-market-by-slug.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-by-slug.mjs","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketBySlugInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n});\nexport const PolymarketGetMarketBySlugOutput = z.object({\n market: z.record(z.string(), z.unknown()).describe(\"Market details.\"),\n});\n\nexport const polymarketGetMarketBySlug = action(\"POLYMARKET_GET_MARKET_BY_SLUG\", {\n slug: \"polymarket-get-market-by-slug\",\n name: \"Get Market By Slug\",\n description: \"Get one Polymarket US market by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket market URL. Do not pass numeric IDs here; use Get Market By ID for integer IDs. For current pricing before quoting, previewing, or placing an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.\",\n input: PolymarketGetMarketBySlugInput,\n output: PolymarketGetMarketBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CASS;CACP,QAT6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAOU;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-market-settlement.ts
4
+ const PolymarketGetMarketSettlementInput = zod.z.object({
5
+ slug: zod.z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID."),
6
+ fromEp3: zod.z.boolean().describe("Whether to request settlement data from EP3. Leave unset unless the caller specifically needs the EP3 settlement source.").optional()
7
+ });
8
+ const PolymarketGetMarketSettlementOutput = zod.z.object({ settlement: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Market settlement details.") });
9
+ const polymarketGetMarketSettlement = require_action.action("POLYMARKET_GET_MARKET_SETTLEMENT", {
10
+ slug: "polymarket-get-market-settlement",
11
+ name: "Get Market Settlement",
12
+ description: "Get settlement information for one Polymarket US market by slug. Use this only for resolved, closed, or historical market workflows where the caller needs public resolution or settlement details. It is not useful for discovering current markets or preparing trades on active markets. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
13
+ input: PolymarketGetMarketSettlementInput,
14
+ output: PolymarketGetMarketSettlementOutput
15
+ });
16
+ //#endregion
17
+ exports.polymarketGetMarketSettlement = polymarketGetMarketSettlement;
18
+
19
+ //# sourceMappingURL=get-market-settlement.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-settlement.cjs","names":["z","action"],"sources":["../../src/actions/get-market-settlement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketSettlementInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n fromEp3: z.boolean().describe(\"Whether to request settlement data from EP3. Leave unset unless the caller specifically needs the EP3 settlement source.\").optional(),\n});\nexport const PolymarketGetMarketSettlementOutput = z.object({\n settlement: z.record(z.string(), z.unknown()).describe(\"Market settlement details.\"),\n});\n\nexport const polymarketGetMarketSettlement = action(\"POLYMARKET_GET_MARKET_SETTLEMENT\", {\n slug: \"polymarket-get-market-settlement\",\n name: \"Get Market Settlement\",\n description: \"Get settlement information for one Polymarket US market by slug. Use this only for resolved, closed, or historical market workflows where the caller needs public resolution or settlement details. It is not useful for discovering current markets or preparing trades on active markets. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketGetMarketSettlementInput,\n output: PolymarketGetMarketSettlementOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACjI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;AACrK,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EACrF,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-market-settlement.d.ts
4
+ declare const PolymarketGetMarketSettlementInput: z.ZodObject<{
5
+ slug: z.ZodString;
6
+ fromEp3: z.ZodOptional<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ declare const PolymarketGetMarketSettlementOutput: z.ZodObject<{
9
+ settlement: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10
+ }, z.core.$strip>;
11
+ declare const polymarketGetMarketSettlement: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ slug: string;
13
+ fromEp3?: boolean | undefined;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ //#endregion
16
+ export { polymarketGetMarketSettlement };
17
+ //# sourceMappingURL=get-market-settlement.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-settlement.d.cts","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA"}
@@ -0,0 +1,17 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-market-settlement.d.ts
4
+ declare const PolymarketGetMarketSettlementInput: z.ZodObject<{
5
+ slug: z.ZodString;
6
+ fromEp3: z.ZodOptional<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ declare const PolymarketGetMarketSettlementOutput: z.ZodObject<{
9
+ settlement: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10
+ }, z.core.$strip>;
11
+ declare const polymarketGetMarketSettlement: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ slug: string;
13
+ fromEp3?: boolean | undefined;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ //#endregion
16
+ export { polymarketGetMarketSettlement };
17
+ //# sourceMappingURL=get-market-settlement.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-settlement.d.mts","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const polymarketGetMarketSettlement = action("POLYMARKET_GET_MARKET_SETTLEMENT", {
4
+ slug: "polymarket-get-market-settlement",
5
+ name: "Get Market Settlement",
6
+ description: "Get settlement information for one Polymarket US market by slug. Use this only for resolved, closed, or historical market workflows where the caller needs public resolution or settlement details. It is not useful for discovering current markets or preparing trades on active markets. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
7
+ input: z.object({
8
+ slug: z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID."),
9
+ fromEp3: z.boolean().describe("Whether to request settlement data from EP3. Leave unset unless the caller specifically needs the EP3 settlement source.").optional()
10
+ }),
11
+ output: z.object({ settlement: z.record(z.string(), z.unknown()).describe("Market settlement details.") })
12
+ });
13
+ //#endregion
14
+ export { polymarketGetMarketSettlement };
15
+
16
+ //# sourceMappingURL=get-market-settlement.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-market-settlement.mjs","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketSettlementInput = z.object({\n slug: z.string().describe(\"Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.\"),\n fromEp3: z.boolean().describe(\"Whether to request settlement data from EP3. Leave unset unless the caller specifically needs the EP3 settlement source.\").optional(),\n});\nexport const PolymarketGetMarketSettlementOutput = z.object({\n settlement: z.record(z.string(), z.unknown()).describe(\"Market settlement details.\"),\n});\n\nexport const polymarketGetMarketSettlement = action(\"POLYMARKET_GET_MARKET_SETTLEMENT\", {\n slug: \"polymarket-get-market-settlement\",\n name: \"Get Market Settlement\",\n description: \"Get settlement information for one Polymarket US market by slug. Use this only for resolved, closed, or historical market workflows where the caller needs public resolution or settlement details. It is not useful for discovering current markets or preparing trades on active markets. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketGetMarketSettlementInput,\n output: PolymarketGetMarketSettlementOutput,\n});\n"],"mappings":";;AAYA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACjI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACrK,CASS;CACP,QATiD,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EACrF,CAOU;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-markets-for-subject-by-slug.ts
4
+ const PolymarketGetMarketsForSubjectBySlugInput = zod.z.object({ slug: zod.z.string().describe("URL-safe subject slug for the team, person, candidate, player, nominee, or entity whose markets should be discovered.") });
5
+ const PolymarketGetMarketsForSubjectBySlugOutput = zod.z.object({ markets: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.") });
6
+ const polymarketGetMarketsForSubjectBySlug = require_action.action("POLYMARKET_GET_MARKETS_FOR_SUBJECT_BY_SLUG", {
7
+ slug: "polymarket-get-markets-for-subject-by-slug",
8
+ name: "Get Markets For Subject By Slug",
9
+ description: "Discover Polymarket US markets associated with a subject slug. Use this action after List Subjects, Get Subject By Slug, or a Polymarket URL identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.",
10
+ input: PolymarketGetMarketsForSubjectBySlugInput,
11
+ output: PolymarketGetMarketsForSubjectBySlugOutput
12
+ });
13
+ //#endregion
14
+ exports.polymarketGetMarketsForSubjectBySlug = polymarketGetMarketsForSubjectBySlug;
15
+
16
+ //# sourceMappingURL=get-markets-for-subject-by-slug.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-markets-for-subject-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketsForSubjectBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe subject slug for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketGetMarketsForSubjectBySlugOutput = z.object({\n markets: z.record(z.string(), z.unknown()).describe(\"Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.\"),\n});\n\nexport const polymarketGetMarketsForSubjectBySlug = action(\"POLYMARKET_GET_MARKETS_FOR_SUBJECT_BY_SLUG\", {\n slug: \"polymarket-get-markets-for-subject-by-slug\",\n name: \"Get Markets For Subject By Slug\",\n description: \"Discover Polymarket US markets associated with a subject slug. Use this action after List Subjects, Get Subject By Slug, or a Polymarket URL identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketGetMarketsForSubjectBySlugInput,\n output: PolymarketGetMarketsForSubjectBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACnJ,CAAC;AACD,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAAC;AAED,MAAa,uCAAuCC,eAAAA,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-markets-for-subject-by-slug.d.ts
4
+ declare const PolymarketGetMarketsForSubjectBySlugInput: z.ZodObject<{
5
+ slug: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PolymarketGetMarketsForSubjectBySlugOutput: z.ZodObject<{
8
+ markets: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strip>;
10
+ declare const polymarketGetMarketsForSubjectBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ slug: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ //#endregion
14
+ export { polymarketGetMarketsForSubjectBySlug };
15
+ //# sourceMappingURL=get-markets-for-subject-by-slug.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-markets-for-subject-by-slug.d.cts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAGzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
@@ -0,0 +1,15 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-markets-for-subject-by-slug.d.ts
4
+ declare const PolymarketGetMarketsForSubjectBySlugInput: z.ZodObject<{
5
+ slug: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PolymarketGetMarketsForSubjectBySlugOutput: z.ZodObject<{
8
+ markets: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strip>;
10
+ declare const polymarketGetMarketsForSubjectBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ slug: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ //#endregion
14
+ export { polymarketGetMarketsForSubjectBySlug };
15
+ //# sourceMappingURL=get-markets-for-subject-by-slug.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-markets-for-subject-by-slug.d.mts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAGzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const polymarketGetMarketsForSubjectBySlug = action("POLYMARKET_GET_MARKETS_FOR_SUBJECT_BY_SLUG", {
4
+ slug: "polymarket-get-markets-for-subject-by-slug",
5
+ name: "Get Markets For Subject By Slug",
6
+ description: "Discover Polymarket US markets associated with a subject slug. Use this action after List Subjects, Get Subject By Slug, or a Polymarket URL identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.",
7
+ input: z.object({ slug: z.string().describe("URL-safe subject slug for the team, person, candidate, player, nominee, or entity whose markets should be discovered.") }),
8
+ output: z.object({ markets: z.record(z.string(), z.unknown()).describe("Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.") })
9
+ });
10
+ //#endregion
11
+ export { polymarketGetMarketsForSubjectBySlug };
12
+
13
+ //# sourceMappingURL=get-markets-for-subject-by-slug.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-markets-for-subject-by-slug.mjs","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketsForSubjectBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe subject slug for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketGetMarketsForSubjectBySlugOutput = z.object({\n markets: z.record(z.string(), z.unknown()).describe(\"Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.\"),\n});\n\nexport const polymarketGetMarketsForSubjectBySlug = action(\"POLYMARKET_GET_MARKETS_FOR_SUBJECT_BY_SLUG\", {\n slug: \"polymarket-get-markets-for-subject-by-slug\",\n name: \"Get Markets For Subject By Slug\",\n description: \"Discover Polymarket US markets associated with a subject slug. Use this action after List Subjects, Get Subject By Slug, or a Polymarket URL identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketGetMarketsForSubjectBySlugInput,\n output: PolymarketGetMarketsForSubjectBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,uCAAuC,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACnJ,CASS;CACP,QATwD,EAAE,OAAO,EACjE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAOU;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-markets-for-subject.ts
4
+ const PolymarketGetMarketsForSubjectInput = zod.z.object({ id: zod.z.number().int().describe("Numeric subject ID for the team, person, candidate, player, nominee, or entity whose markets should be discovered.") });
5
+ const PolymarketGetMarketsForSubjectOutput = zod.z.object({ markets: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.") });
6
+ const polymarketGetMarketsForSubject = require_action.action("POLYMARKET_GET_MARKETS_FOR_SUBJECT", {
7
+ slug: "polymarket-get-markets-for-subject",
8
+ name: "Get Markets For Subject",
9
+ description: "Discover Polymarket US markets associated with a subject ID. Use this action after List Subjects or Get Subject By ID identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.",
10
+ input: PolymarketGetMarketsForSubjectInput,
11
+ output: PolymarketGetMarketsForSubjectOutput
12
+ });
13
+ //#endregion
14
+ exports.polymarketGetMarketsForSubject = polymarketGetMarketsForSubject;
15
+
16
+ //# sourceMappingURL=get-markets-for-subject.cjs.map