@keystrokehq/polymarket 0.1.3 → 0.1.5

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 (365) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/cancel-all-open-orders.cjs +1 -0
  4. package/dist/actions/cancel-all-open-orders.cjs.map +1 -1
  5. package/dist/actions/cancel-all-open-orders.d.cts +3 -3
  6. package/dist/actions/cancel-all-open-orders.d.cts.map +1 -1
  7. package/dist/actions/cancel-all-open-orders.d.mts +3 -3
  8. package/dist/actions/cancel-all-open-orders.d.mts.map +1 -1
  9. package/dist/actions/cancel-all-open-orders.mjs +1 -0
  10. package/dist/actions/cancel-all-open-orders.mjs.map +1 -1
  11. package/dist/actions/cancel-multiple-orders.cjs +1 -0
  12. package/dist/actions/cancel-multiple-orders.cjs.map +1 -1
  13. package/dist/actions/cancel-multiple-orders.d.cts +3 -7
  14. package/dist/actions/cancel-multiple-orders.d.cts.map +1 -1
  15. package/dist/actions/cancel-multiple-orders.d.mts +3 -7
  16. package/dist/actions/cancel-multiple-orders.d.mts.map +1 -1
  17. package/dist/actions/cancel-multiple-orders.mjs +1 -0
  18. package/dist/actions/cancel-multiple-orders.mjs.map +1 -1
  19. package/dist/actions/cancel-order.cjs +1 -0
  20. package/dist/actions/cancel-order.cjs.map +1 -1
  21. package/dist/actions/cancel-order.d.cts +3 -4
  22. package/dist/actions/cancel-order.d.cts.map +1 -1
  23. package/dist/actions/cancel-order.d.mts +3 -4
  24. package/dist/actions/cancel-order.d.mts.map +1 -1
  25. package/dist/actions/cancel-order.mjs +1 -0
  26. package/dist/actions/cancel-order.mjs.map +1 -1
  27. package/dist/actions/close-position-order.cjs +1 -0
  28. package/dist/actions/close-position-order.cjs.map +1 -1
  29. package/dist/actions/close-position-order.d.cts +3 -14
  30. package/dist/actions/close-position-order.d.cts.map +1 -1
  31. package/dist/actions/close-position-order.d.mts +3 -14
  32. package/dist/actions/close-position-order.d.mts.map +1 -1
  33. package/dist/actions/close-position-order.mjs +1 -0
  34. package/dist/actions/close-position-order.mjs.map +1 -1
  35. package/dist/actions/create-multiple-orders.cjs +1 -0
  36. package/dist/actions/create-multiple-orders.cjs.map +1 -1
  37. package/dist/actions/create-multiple-orders.d.cts +3 -33
  38. package/dist/actions/create-multiple-orders.d.cts.map +1 -1
  39. package/dist/actions/create-multiple-orders.d.mts +3 -33
  40. package/dist/actions/create-multiple-orders.d.mts.map +1 -1
  41. package/dist/actions/create-multiple-orders.mjs +1 -0
  42. package/dist/actions/create-multiple-orders.mjs.map +1 -1
  43. package/dist/actions/create-order.cjs +1 -0
  44. package/dist/actions/create-order.cjs.map +1 -1
  45. package/dist/actions/create-order.d.cts +3 -32
  46. package/dist/actions/create-order.d.cts.map +1 -1
  47. package/dist/actions/create-order.d.mts +3 -32
  48. package/dist/actions/create-order.d.mts.map +1 -1
  49. package/dist/actions/create-order.mjs +1 -0
  50. package/dist/actions/create-order.mjs.map +1 -1
  51. package/dist/actions/get-account-balances.cjs +1 -0
  52. package/dist/actions/get-account-balances.cjs.map +1 -1
  53. package/dist/actions/get-account-balances.d.cts +3 -1
  54. package/dist/actions/get-account-balances.d.cts.map +1 -1
  55. package/dist/actions/get-account-balances.d.mts +3 -1
  56. package/dist/actions/get-account-balances.d.mts.map +1 -1
  57. package/dist/actions/get-account-balances.mjs +1 -0
  58. package/dist/actions/get-account-balances.mjs.map +1 -1
  59. package/dist/actions/get-activities.cjs +1 -0
  60. package/dist/actions/get-activities.cjs.map +1 -1
  61. package/dist/actions/get-activities.d.cts +3 -7
  62. package/dist/actions/get-activities.d.cts.map +1 -1
  63. package/dist/actions/get-activities.d.mts +3 -7
  64. package/dist/actions/get-activities.d.mts.map +1 -1
  65. package/dist/actions/get-activities.mjs +1 -0
  66. package/dist/actions/get-activities.mjs.map +1 -1
  67. package/dist/actions/get-event-by-id.cjs +1 -0
  68. package/dist/actions/get-event-by-id.cjs.map +1 -1
  69. package/dist/actions/get-event-by-id.d.cts +3 -3
  70. package/dist/actions/get-event-by-id.d.cts.map +1 -1
  71. package/dist/actions/get-event-by-id.d.mts +3 -3
  72. package/dist/actions/get-event-by-id.d.mts.map +1 -1
  73. package/dist/actions/get-event-by-id.mjs +1 -0
  74. package/dist/actions/get-event-by-id.mjs.map +1 -1
  75. package/dist/actions/get-event-by-slug.cjs +1 -0
  76. package/dist/actions/get-event-by-slug.cjs.map +1 -1
  77. package/dist/actions/get-event-by-slug.d.cts +3 -3
  78. package/dist/actions/get-event-by-slug.d.cts.map +1 -1
  79. package/dist/actions/get-event-by-slug.d.mts +3 -3
  80. package/dist/actions/get-event-by-slug.d.mts.map +1 -1
  81. package/dist/actions/get-event-by-slug.mjs +1 -0
  82. package/dist/actions/get-event-by-slug.mjs.map +1 -1
  83. package/dist/actions/get-league-by-slug.cjs +1 -0
  84. package/dist/actions/get-league-by-slug.cjs.map +1 -1
  85. package/dist/actions/get-league-by-slug.d.cts +3 -3
  86. package/dist/actions/get-league-by-slug.d.cts.map +1 -1
  87. package/dist/actions/get-league-by-slug.d.mts +3 -3
  88. package/dist/actions/get-league-by-slug.d.mts.map +1 -1
  89. package/dist/actions/get-league-by-slug.mjs +1 -0
  90. package/dist/actions/get-league-by-slug.mjs.map +1 -1
  91. package/dist/actions/get-market-bbo.cjs +1 -0
  92. package/dist/actions/get-market-bbo.cjs.map +1 -1
  93. package/dist/actions/get-market-bbo.d.cts +3 -3
  94. package/dist/actions/get-market-bbo.d.cts.map +1 -1
  95. package/dist/actions/get-market-bbo.d.mts +3 -3
  96. package/dist/actions/get-market-bbo.d.mts.map +1 -1
  97. package/dist/actions/get-market-bbo.mjs +1 -0
  98. package/dist/actions/get-market-bbo.mjs.map +1 -1
  99. package/dist/actions/get-market-book.cjs +1 -0
  100. package/dist/actions/get-market-book.cjs.map +1 -1
  101. package/dist/actions/get-market-book.d.cts +3 -3
  102. package/dist/actions/get-market-book.d.cts.map +1 -1
  103. package/dist/actions/get-market-book.d.mts +3 -3
  104. package/dist/actions/get-market-book.d.mts.map +1 -1
  105. package/dist/actions/get-market-book.mjs +1 -0
  106. package/dist/actions/get-market-book.mjs.map +1 -1
  107. package/dist/actions/get-market-by-id.cjs +1 -0
  108. package/dist/actions/get-market-by-id.cjs.map +1 -1
  109. package/dist/actions/get-market-by-id.d.cts +3 -3
  110. package/dist/actions/get-market-by-id.d.cts.map +1 -1
  111. package/dist/actions/get-market-by-id.d.mts +3 -3
  112. package/dist/actions/get-market-by-id.d.mts.map +1 -1
  113. package/dist/actions/get-market-by-id.mjs +1 -0
  114. package/dist/actions/get-market-by-id.mjs.map +1 -1
  115. package/dist/actions/get-market-by-slug.cjs +1 -0
  116. package/dist/actions/get-market-by-slug.cjs.map +1 -1
  117. package/dist/actions/get-market-by-slug.d.cts +3 -3
  118. package/dist/actions/get-market-by-slug.d.cts.map +1 -1
  119. package/dist/actions/get-market-by-slug.d.mts +3 -3
  120. package/dist/actions/get-market-by-slug.d.mts.map +1 -1
  121. package/dist/actions/get-market-by-slug.mjs +1 -0
  122. package/dist/actions/get-market-by-slug.mjs.map +1 -1
  123. package/dist/actions/get-market-settlement.cjs +1 -0
  124. package/dist/actions/get-market-settlement.cjs.map +1 -1
  125. package/dist/actions/get-market-settlement.d.cts +3 -4
  126. package/dist/actions/get-market-settlement.d.cts.map +1 -1
  127. package/dist/actions/get-market-settlement.d.mts +3 -4
  128. package/dist/actions/get-market-settlement.d.mts.map +1 -1
  129. package/dist/actions/get-market-settlement.mjs +1 -0
  130. package/dist/actions/get-market-settlement.mjs.map +1 -1
  131. package/dist/actions/get-markets-for-subject-by-slug.cjs +1 -0
  132. package/dist/actions/get-markets-for-subject-by-slug.cjs.map +1 -1
  133. package/dist/actions/get-markets-for-subject-by-slug.d.cts +3 -3
  134. package/dist/actions/get-markets-for-subject-by-slug.d.cts.map +1 -1
  135. package/dist/actions/get-markets-for-subject-by-slug.d.mts +3 -3
  136. package/dist/actions/get-markets-for-subject-by-slug.d.mts.map +1 -1
  137. package/dist/actions/get-markets-for-subject-by-slug.mjs +1 -0
  138. package/dist/actions/get-markets-for-subject-by-slug.mjs.map +1 -1
  139. package/dist/actions/get-markets-for-subject.cjs +1 -0
  140. package/dist/actions/get-markets-for-subject.cjs.map +1 -1
  141. package/dist/actions/get-markets-for-subject.d.cts +3 -3
  142. package/dist/actions/get-markets-for-subject.d.cts.map +1 -1
  143. package/dist/actions/get-markets-for-subject.d.mts +3 -3
  144. package/dist/actions/get-markets-for-subject.d.mts.map +1 -1
  145. package/dist/actions/get-markets-for-subject.mjs +1 -0
  146. package/dist/actions/get-markets-for-subject.mjs.map +1 -1
  147. package/dist/actions/get-open-orders.cjs +1 -0
  148. package/dist/actions/get-open-orders.cjs.map +1 -1
  149. package/dist/actions/get-open-orders.d.cts +3 -3
  150. package/dist/actions/get-open-orders.d.cts.map +1 -1
  151. package/dist/actions/get-open-orders.d.mts +3 -3
  152. package/dist/actions/get-open-orders.d.mts.map +1 -1
  153. package/dist/actions/get-open-orders.mjs +1 -0
  154. package/dist/actions/get-open-orders.mjs.map +1 -1
  155. package/dist/actions/get-order.cjs +1 -0
  156. package/dist/actions/get-order.cjs.map +1 -1
  157. package/dist/actions/get-order.d.cts +3 -3
  158. package/dist/actions/get-order.d.cts.map +1 -1
  159. package/dist/actions/get-order.d.mts +3 -3
  160. package/dist/actions/get-order.d.mts.map +1 -1
  161. package/dist/actions/get-order.mjs +1 -0
  162. package/dist/actions/get-order.mjs.map +1 -1
  163. package/dist/actions/get-series-by-id.cjs +1 -0
  164. package/dist/actions/get-series-by-id.cjs.map +1 -1
  165. package/dist/actions/get-series-by-id.d.cts +3 -3
  166. package/dist/actions/get-series-by-id.d.cts.map +1 -1
  167. package/dist/actions/get-series-by-id.d.mts +3 -3
  168. package/dist/actions/get-series-by-id.d.mts.map +1 -1
  169. package/dist/actions/get-series-by-id.mjs +1 -0
  170. package/dist/actions/get-series-by-id.mjs.map +1 -1
  171. package/dist/actions/get-sport-by-slug.cjs +1 -0
  172. package/dist/actions/get-sport-by-slug.cjs.map +1 -1
  173. package/dist/actions/get-sport-by-slug.d.cts +3 -3
  174. package/dist/actions/get-sport-by-slug.d.cts.map +1 -1
  175. package/dist/actions/get-sport-by-slug.d.mts +3 -3
  176. package/dist/actions/get-sport-by-slug.d.mts.map +1 -1
  177. package/dist/actions/get-sport-by-slug.mjs +1 -0
  178. package/dist/actions/get-sport-by-slug.mjs.map +1 -1
  179. package/dist/actions/get-subject-by-id.cjs +1 -0
  180. package/dist/actions/get-subject-by-id.cjs.map +1 -1
  181. package/dist/actions/get-subject-by-id.d.cts +3 -3
  182. package/dist/actions/get-subject-by-id.d.cts.map +1 -1
  183. package/dist/actions/get-subject-by-id.d.mts +3 -3
  184. package/dist/actions/get-subject-by-id.d.mts.map +1 -1
  185. package/dist/actions/get-subject-by-id.mjs +1 -0
  186. package/dist/actions/get-subject-by-id.mjs.map +1 -1
  187. package/dist/actions/get-subject-by-slug.cjs +1 -0
  188. package/dist/actions/get-subject-by-slug.cjs.map +1 -1
  189. package/dist/actions/get-subject-by-slug.d.cts +3 -3
  190. package/dist/actions/get-subject-by-slug.d.cts.map +1 -1
  191. package/dist/actions/get-subject-by-slug.d.mts +3 -3
  192. package/dist/actions/get-subject-by-slug.d.mts.map +1 -1
  193. package/dist/actions/get-subject-by-slug.mjs +1 -0
  194. package/dist/actions/get-subject-by-slug.mjs.map +1 -1
  195. package/dist/actions/get-tag-by-id.cjs +1 -0
  196. package/dist/actions/get-tag-by-id.cjs.map +1 -1
  197. package/dist/actions/get-tag-by-id.d.cts +3 -3
  198. package/dist/actions/get-tag-by-id.d.cts.map +1 -1
  199. package/dist/actions/get-tag-by-id.d.mts +3 -3
  200. package/dist/actions/get-tag-by-id.d.mts.map +1 -1
  201. package/dist/actions/get-tag-by-id.mjs +1 -0
  202. package/dist/actions/get-tag-by-id.mjs.map +1 -1
  203. package/dist/actions/get-tag-by-slug.cjs +1 -0
  204. package/dist/actions/get-tag-by-slug.cjs.map +1 -1
  205. package/dist/actions/get-tag-by-slug.d.cts +3 -3
  206. package/dist/actions/get-tag-by-slug.d.cts.map +1 -1
  207. package/dist/actions/get-tag-by-slug.d.mts +3 -3
  208. package/dist/actions/get-tag-by-slug.d.mts.map +1 -1
  209. package/dist/actions/get-tag-by-slug.mjs +1 -0
  210. package/dist/actions/get-tag-by-slug.mjs.map +1 -1
  211. package/dist/actions/get-user-positions.cjs +1 -0
  212. package/dist/actions/get-user-positions.cjs.map +1 -1
  213. package/dist/actions/get-user-positions.d.cts +3 -5
  214. package/dist/actions/get-user-positions.d.cts.map +1 -1
  215. package/dist/actions/get-user-positions.d.mts +3 -5
  216. package/dist/actions/get-user-positions.d.mts.map +1 -1
  217. package/dist/actions/get-user-positions.mjs +1 -0
  218. package/dist/actions/get-user-positions.mjs.map +1 -1
  219. package/dist/actions/list-events-for-league.cjs +1 -0
  220. package/dist/actions/list-events-for-league.cjs.map +1 -1
  221. package/dist/actions/list-events-for-league.d.cts +3 -8
  222. package/dist/actions/list-events-for-league.d.cts.map +1 -1
  223. package/dist/actions/list-events-for-league.d.mts +3 -8
  224. package/dist/actions/list-events-for-league.d.mts.map +1 -1
  225. package/dist/actions/list-events-for-league.mjs +1 -0
  226. package/dist/actions/list-events-for-league.mjs.map +1 -1
  227. package/dist/actions/list-events-for-series.cjs +1 -0
  228. package/dist/actions/list-events-for-series.cjs.map +1 -1
  229. package/dist/actions/list-events-for-series.d.cts +3 -8
  230. package/dist/actions/list-events-for-series.d.cts.map +1 -1
  231. package/dist/actions/list-events-for-series.d.mts +3 -8
  232. package/dist/actions/list-events-for-series.d.mts.map +1 -1
  233. package/dist/actions/list-events-for-series.mjs +1 -0
  234. package/dist/actions/list-events-for-series.mjs.map +1 -1
  235. package/dist/actions/list-events-for-sport.cjs +1 -0
  236. package/dist/actions/list-events-for-sport.cjs.map +1 -1
  237. package/dist/actions/list-events-for-sport.d.cts +3 -8
  238. package/dist/actions/list-events-for-sport.d.cts.map +1 -1
  239. package/dist/actions/list-events-for-sport.d.mts +3 -8
  240. package/dist/actions/list-events-for-sport.d.mts.map +1 -1
  241. package/dist/actions/list-events-for-sport.mjs +1 -0
  242. package/dist/actions/list-events-for-sport.mjs.map +1 -1
  243. package/dist/actions/list-events.cjs +1 -0
  244. package/dist/actions/list-events.cjs.map +1 -1
  245. package/dist/actions/list-events.d.cts +3 -17
  246. package/dist/actions/list-events.d.cts.map +1 -1
  247. package/dist/actions/list-events.d.mts +3 -17
  248. package/dist/actions/list-events.d.mts.map +1 -1
  249. package/dist/actions/list-events.mjs +1 -0
  250. package/dist/actions/list-events.mjs.map +1 -1
  251. package/dist/actions/list-featured-tags.cjs +1 -0
  252. package/dist/actions/list-featured-tags.cjs.map +1 -1
  253. package/dist/actions/list-featured-tags.d.cts +3 -1
  254. package/dist/actions/list-featured-tags.d.cts.map +1 -1
  255. package/dist/actions/list-featured-tags.d.mts +3 -1
  256. package/dist/actions/list-featured-tags.d.mts.map +1 -1
  257. package/dist/actions/list-featured-tags.mjs +1 -0
  258. package/dist/actions/list-featured-tags.mjs.map +1 -1
  259. package/dist/actions/list-leagues.cjs +1 -0
  260. package/dist/actions/list-leagues.cjs.map +1 -1
  261. package/dist/actions/list-leagues.d.cts +3 -4
  262. package/dist/actions/list-leagues.d.cts.map +1 -1
  263. package/dist/actions/list-leagues.d.mts +3 -4
  264. package/dist/actions/list-leagues.d.mts.map +1 -1
  265. package/dist/actions/list-leagues.mjs +1 -0
  266. package/dist/actions/list-leagues.mjs.map +1 -1
  267. package/dist/actions/list-markets.cjs +1 -0
  268. package/dist/actions/list-markets.cjs.map +1 -1
  269. package/dist/actions/list-markets.d.cts +3 -16
  270. package/dist/actions/list-markets.d.cts.map +1 -1
  271. package/dist/actions/list-markets.d.mts +3 -16
  272. package/dist/actions/list-markets.d.mts.map +1 -1
  273. package/dist/actions/list-markets.mjs +1 -0
  274. package/dist/actions/list-markets.mjs.map +1 -1
  275. package/dist/actions/list-series.cjs +1 -0
  276. package/dist/actions/list-series.cjs.map +1 -1
  277. package/dist/actions/list-series.d.cts +3 -9
  278. package/dist/actions/list-series.d.cts.map +1 -1
  279. package/dist/actions/list-series.d.mts +3 -9
  280. package/dist/actions/list-series.d.mts.map +1 -1
  281. package/dist/actions/list-series.mjs +1 -0
  282. package/dist/actions/list-series.mjs.map +1 -1
  283. package/dist/actions/list-sports-teams-for-provider.cjs +1 -0
  284. package/dist/actions/list-sports-teams-for-provider.cjs.map +1 -1
  285. package/dist/actions/list-sports-teams-for-provider.d.cts +3 -5
  286. package/dist/actions/list-sports-teams-for-provider.d.cts.map +1 -1
  287. package/dist/actions/list-sports-teams-for-provider.d.mts +3 -5
  288. package/dist/actions/list-sports-teams-for-provider.d.mts.map +1 -1
  289. package/dist/actions/list-sports-teams-for-provider.mjs +1 -0
  290. package/dist/actions/list-sports-teams-for-provider.mjs.map +1 -1
  291. package/dist/actions/list-sports-teams.cjs +1 -0
  292. package/dist/actions/list-sports-teams.cjs.map +1 -1
  293. package/dist/actions/list-sports-teams.d.cts +3 -10
  294. package/dist/actions/list-sports-teams.d.cts.map +1 -1
  295. package/dist/actions/list-sports-teams.d.mts +3 -10
  296. package/dist/actions/list-sports-teams.d.mts.map +1 -1
  297. package/dist/actions/list-sports-teams.mjs +1 -0
  298. package/dist/actions/list-sports-teams.mjs.map +1 -1
  299. package/dist/actions/list-sports.cjs +1 -0
  300. package/dist/actions/list-sports.cjs.map +1 -1
  301. package/dist/actions/list-sports.d.cts +3 -1
  302. package/dist/actions/list-sports.d.cts.map +1 -1
  303. package/dist/actions/list-sports.d.mts +3 -1
  304. package/dist/actions/list-sports.d.mts.map +1 -1
  305. package/dist/actions/list-sports.mjs +1 -0
  306. package/dist/actions/list-sports.mjs.map +1 -1
  307. package/dist/actions/list-subjects.cjs +1 -0
  308. package/dist/actions/list-subjects.cjs.map +1 -1
  309. package/dist/actions/list-subjects.d.cts +3 -6
  310. package/dist/actions/list-subjects.d.cts.map +1 -1
  311. package/dist/actions/list-subjects.d.mts +3 -6
  312. package/dist/actions/list-subjects.d.mts.map +1 -1
  313. package/dist/actions/list-subjects.mjs +1 -0
  314. package/dist/actions/list-subjects.mjs.map +1 -1
  315. package/dist/actions/list-tags.cjs +1 -0
  316. package/dist/actions/list-tags.cjs.map +1 -1
  317. package/dist/actions/list-tags.d.cts +3 -10
  318. package/dist/actions/list-tags.d.cts.map +1 -1
  319. package/dist/actions/list-tags.d.mts +3 -10
  320. package/dist/actions/list-tags.d.mts.map +1 -1
  321. package/dist/actions/list-tags.mjs +1 -0
  322. package/dist/actions/list-tags.mjs.map +1 -1
  323. package/dist/actions/modify-multiple-orders.cjs +1 -0
  324. package/dist/actions/modify-multiple-orders.cjs.map +1 -1
  325. package/dist/actions/modify-multiple-orders.d.cts +3 -15
  326. package/dist/actions/modify-multiple-orders.d.cts.map +1 -1
  327. package/dist/actions/modify-multiple-orders.d.mts +3 -15
  328. package/dist/actions/modify-multiple-orders.d.mts.map +1 -1
  329. package/dist/actions/modify-multiple-orders.mjs +1 -0
  330. package/dist/actions/modify-multiple-orders.mjs.map +1 -1
  331. package/dist/actions/modify-order.cjs +1 -0
  332. package/dist/actions/modify-order.cjs.map +1 -1
  333. package/dist/actions/modify-order.d.cts +3 -12
  334. package/dist/actions/modify-order.d.cts.map +1 -1
  335. package/dist/actions/modify-order.d.mts +3 -12
  336. package/dist/actions/modify-order.d.mts.map +1 -1
  337. package/dist/actions/modify-order.mjs +1 -0
  338. package/dist/actions/modify-order.mjs.map +1 -1
  339. package/dist/actions/preview-order.cjs +1 -0
  340. package/dist/actions/preview-order.cjs.map +1 -1
  341. package/dist/actions/preview-order.d.cts +3 -32
  342. package/dist/actions/preview-order.d.cts.map +1 -1
  343. package/dist/actions/preview-order.d.mts +3 -32
  344. package/dist/actions/preview-order.d.mts.map +1 -1
  345. package/dist/actions/preview-order.mjs +1 -0
  346. package/dist/actions/preview-order.mjs.map +1 -1
  347. package/dist/actions/search-markets-and-events.cjs +1 -0
  348. package/dist/actions/search-markets-and-events.cjs.map +1 -1
  349. package/dist/actions/search-markets-and-events.d.cts +3 -8
  350. package/dist/actions/search-markets-and-events.d.cts.map +1 -1
  351. package/dist/actions/search-markets-and-events.d.mts +3 -8
  352. package/dist/actions/search-markets-and-events.d.mts.map +1 -1
  353. package/dist/actions/search-markets-and-events.mjs +1 -0
  354. package/dist/actions/search-markets-and-events.mjs.map +1 -1
  355. package/dist/app.cjs +9 -2
  356. package/dist/app.cjs.map +1 -1
  357. package/dist/app.d.cts +8 -1
  358. package/dist/app.d.cts.map +1 -1
  359. package/dist/app.d.mts +8 -1
  360. package/dist/app.d.mts.map +1 -1
  361. package/dist/app.mjs +6 -2
  362. package/dist/app.mjs.map +1 -1
  363. package/dist/index.d.cts +1 -1
  364. package/dist/index.d.mts +1 -1
  365. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-event-by-slug.d.ts
@@ -7,9 +9,7 @@ declare const PolymarketGetEventBySlugInput: z.ZodObject<{
7
9
  declare const PolymarketGetEventBySlugOutput: z.ZodObject<{
8
10
  event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
10
- declare const polymarketGetEventBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- slug: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const polymarketGetEventBySlug: AppAction<typeof PolymarketGetEventBySlugInput, typeof PolymarketGetEventBySlugOutput, typeof polymarket.credential>;
13
13
  //#endregion
14
14
  export { polymarketGetEventBySlug };
15
15
  //# sourceMappingURL=get-event-by-slug.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-event-by-slug.d.mts","names":[],"sources":["../../src/actions/get-event-by-slug.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-event-by-slug.d.mts","names":[],"sources":["../../src/actions/get-event-by-slug.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const polymarketGetEventBySlug = action("POLYMARKET_GET_EVENT_BY_SLUG", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-event-by-slug.mjs","names":[],"sources":["../../src/actions/get-event-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetEventBySlugInput = z.object({\n slug: z.string().describe(\"Event slug from a Polymarket US event URL or discovery response. Do not pass the numeric event ID.\"),\n});\nexport const PolymarketGetEventBySlugOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketGetEventBySlug = action(\"POLYMARKET_GET_EVENT_BY_SLUG\", {\n slug: \"polymarket-get-event-by-slug\",\n name: \"Get Event By Slug\",\n description: \"Get one Polymarket US event by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket event URL. Do not pass numeric IDs here; use Get Event By ID for integer IDs. This read-only action does not require API key authentication.\",\n input: PolymarketGetEventBySlugInput,\n output: PolymarketGetEventBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAChI,CASS;CACP,QAT4C,EAAE,OAAO,EACrD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAAgB,EACpE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-event-by-slug.mjs","names":[],"sources":["../../src/actions/get-event-by-slug.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\n\nexport const PolymarketGetEventBySlugInput = z.object({\n slug: z.string().describe(\"Event slug from a Polymarket US event URL or discovery response. Do not pass the numeric event ID.\"),\n});\nexport const PolymarketGetEventBySlugOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketGetEventBySlug: AppAction<\n typeof PolymarketGetEventBySlugInput,\n typeof PolymarketGetEventBySlugOutput,\n typeof polymarket.credential\n> = action(\"POLYMARKET_GET_EVENT_BY_SLUG\", {\n slug: \"polymarket-get-event-by-slug\",\n name: \"Get Event By Slug\",\n description: \"Get one Polymarket US event by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket event URL. Do not pass numeric IDs here; use Get Event By ID for integer IDs. This read-only action does not require API key authentication.\",\n input: PolymarketGetEventBySlugInput,\n output: PolymarketGetEventBySlugOutput,\n});\n"],"mappings":";;;AAaA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2C,EAAE,OAAO,EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAChI,CAaS;CACP,QAb4C,EAAE,OAAO,EACrD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAAgB,EACpE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-league-by-slug.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-league-by-slug.cjs","names":["z","action"],"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}).passthrough();\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":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EACpH,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH,EAC1K,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-league-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-league-by-slug.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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}).passthrough();\n\nexport const polymarketGetLeagueBySlug: AppAction<\n typeof PolymarketGetLeagueBySlugInput,\n typeof PolymarketGetLeagueBySlugOutput,\n typeof polymarket.credential\n> = 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":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EACpH,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH,EAC1K,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-league-by-slug.d.ts
@@ -7,9 +9,7 @@ declare const PolymarketGetLeagueBySlugInput: z.ZodObject<{
7
9
  declare const PolymarketGetLeagueBySlugOutput: z.ZodObject<{
8
10
  league: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
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]>;
12
+ declare const polymarketGetLeagueBySlug: AppAction<typeof PolymarketGetLeagueBySlugInput, typeof PolymarketGetLeagueBySlugOutput, typeof polymarket.credential>;
13
13
  //#endregion
14
14
  export { polymarketGetLeagueBySlug };
15
15
  //# sourceMappingURL=get-league-by-slug.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-league-by-slug.d.cts","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"}
1
+ {"version":3,"file":"get-league-by-slug.d.cts","names":[],"sources":["../../src/actions/get-league-by-slug.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-league-by-slug.d.ts
@@ -7,9 +9,7 @@ declare const PolymarketGetLeagueBySlugInput: z.ZodObject<{
7
9
  declare const PolymarketGetLeagueBySlugOutput: z.ZodObject<{
8
10
  league: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
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]>;
12
+ declare const polymarketGetLeagueBySlug: AppAction<typeof PolymarketGetLeagueBySlugInput, typeof PolymarketGetLeagueBySlugOutput, typeof polymarket.credential>;
13
13
  //#endregion
14
14
  export { polymarketGetLeagueBySlug };
15
15
  //# sourceMappingURL=get-league-by-slug.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-league-by-slug.d.mts","names":[],"sources":["../../src/actions/get-league-by-slug.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const polymarketGetLeagueBySlug = action("POLYMARKET_GET_LEAGUE_BY_SLUG", {
@@ -1 +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}).passthrough();\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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-league-by-slug.mjs","names":[],"sources":["../../src/actions/get-league-by-slug.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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}).passthrough();\n\nexport const polymarketGetLeagueBySlug: AppAction<\n typeof PolymarketGetLeagueBySlugInput,\n typeof PolymarketGetLeagueBySlugOutput,\n typeof polymarket.credential\n> = 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":";;;AAaA,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EACpH,CAaS;CACP,QAb6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH,EAC1K,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-market-bbo.ts
@@ -1 +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}).passthrough();\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,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-market-bbo.cjs","names":["z","action"],"sources":["../../src/actions/get-market-bbo.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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}).passthrough();\n\nexport const polymarketGetMarketBbo: AppAction<\n typeof PolymarketGetMarketBboInput,\n typeof PolymarketGetMarketBboOutput,\n typeof polymarket.credential\n> = 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":";;;;AAMA,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,CAAC,CAAC,YAAY;AAEf,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-market-bbo.d.ts
@@ -7,9 +9,7 @@ declare const PolymarketGetMarketBboInput: z.ZodObject<{
7
9
  declare const PolymarketGetMarketBboOutput: z.ZodObject<{
8
10
  bbo: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
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]>;
12
+ declare const polymarketGetMarketBbo: AppAction<typeof PolymarketGetMarketBboInput, typeof PolymarketGetMarketBboOutput, typeof polymarket.credential>;
13
13
  //#endregion
14
14
  export { polymarketGetMarketBbo };
15
15
  //# sourceMappingURL=get-market-bbo.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-market-bbo.d.cts","names":[],"sources":["../../src/actions/get-market-bbo.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-market-bbo.d.ts
@@ -7,9 +9,7 @@ declare const PolymarketGetMarketBboInput: z.ZodObject<{
7
9
  declare const PolymarketGetMarketBboOutput: z.ZodObject<{
8
10
  bbo: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
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]>;
12
+ declare const polymarketGetMarketBbo: AppAction<typeof PolymarketGetMarketBboInput, typeof PolymarketGetMarketBboOutput, typeof polymarket.credential>;
13
13
  //#endregion
14
14
  export { polymarketGetMarketBbo };
15
15
  //# sourceMappingURL=get-market-bbo.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-market-bbo.d.mts","names":[],"sources":["../../src/actions/get-market-bbo.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const polymarketGetMarketBbo = action("POLYMARKET_GET_MARKET_BBO", {
@@ -1 +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}).passthrough();\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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-market-bbo.mjs","names":[],"sources":["../../src/actions/get-market-bbo.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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}).passthrough();\n\nexport const polymarketGetMarketBbo: AppAction<\n typeof PolymarketGetMarketBboInput,\n typeof PolymarketGetMarketBboOutput,\n typeof polymarket.credential\n> = 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":";;;AAaA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyC,EAAE,OAAO,EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAaS;CACP,QAb0C,EAAE,OAAO,EACnD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,EACtF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-market-book.ts
@@ -1 +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}).passthrough();\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,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-market-book.cjs","names":["z","action"],"sources":["../../src/actions/get-market-book.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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}).passthrough();\n\nexport const polymarketGetMarketBook: AppAction<\n typeof PolymarketGetMarketBookInput,\n typeof PolymarketGetMarketBookOutput,\n typeof polymarket.credential\n> = 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":";;;;AAMA,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,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-market-book.d.ts
@@ -7,9 +9,7 @@ declare const PolymarketGetMarketBookInput: z.ZodObject<{
7
9
  declare const PolymarketGetMarketBookOutput: z.ZodObject<{
8
10
  book: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
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]>;
12
+ declare const polymarketGetMarketBook: AppAction<typeof PolymarketGetMarketBookInput, typeof PolymarketGetMarketBookOutput, typeof polymarket.credential>;
13
13
  //#endregion
14
14
  export { polymarketGetMarketBook };
15
15
  //# sourceMappingURL=get-market-book.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-market-book.d.cts","names":[],"sources":["../../src/actions/get-market-book.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-market-book.d.ts
@@ -7,9 +9,7 @@ declare const PolymarketGetMarketBookInput: z.ZodObject<{
7
9
  declare const PolymarketGetMarketBookOutput: z.ZodObject<{
8
10
  book: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
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]>;
12
+ declare const polymarketGetMarketBook: AppAction<typeof PolymarketGetMarketBookInput, typeof PolymarketGetMarketBookOutput, typeof polymarket.credential>;
13
13
  //#endregion
14
14
  export { polymarketGetMarketBook };
15
15
  //# sourceMappingURL=get-market-book.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-market-book.d.mts","names":[],"sources":["../../src/actions/get-market-book.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const polymarketGetMarketBook = action("POLYMARKET_GET_MARKET_BOOK", {
@@ -1 +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}).passthrough();\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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-market-book.mjs","names":[],"sources":["../../src/actions/get-market-book.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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}).passthrough();\n\nexport const polymarketGetMarketBook: AppAction<\n typeof PolymarketGetMarketBookInput,\n typeof PolymarketGetMarketBookOutput,\n typeof polymarket.credential\n> = 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":";;;AAaA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAaS;CACP,QAb2C,EAAE,OAAO,EACpD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EAC/E,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-market-by-id.ts
@@ -1 +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}).passthrough();\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,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-market-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-market-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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}).passthrough();\n\nexport const polymarketGetMarketById: AppAction<\n typeof PolymarketGetMarketByIdInput,\n typeof PolymarketGetMarketByIdOutput,\n typeof polymarket.credential\n> = 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":";;;;AAMA,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,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-market-by-id.d.ts
@@ -7,9 +9,7 @@ declare const PolymarketGetMarketByIdInput: z.ZodObject<{
7
9
  declare const PolymarketGetMarketByIdOutput: z.ZodObject<{
8
10
  market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
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]>;
12
+ declare const polymarketGetMarketById: AppAction<typeof PolymarketGetMarketByIdInput, typeof PolymarketGetMarketByIdOutput, typeof polymarket.credential>;
13
13
  //#endregion
14
14
  export { polymarketGetMarketById };
15
15
  //# sourceMappingURL=get-market-by-id.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-market-by-id.d.cts","names":[],"sources":["../../src/actions/get-market-by-id.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-market-by-id.d.ts
@@ -7,9 +9,7 @@ declare const PolymarketGetMarketByIdInput: z.ZodObject<{
7
9
  declare const PolymarketGetMarketByIdOutput: z.ZodObject<{
8
10
  market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
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]>;
12
+ declare const polymarketGetMarketById: AppAction<typeof PolymarketGetMarketByIdInput, typeof PolymarketGetMarketByIdOutput, typeof polymarket.credential>;
13
13
  //#endregion
14
14
  export { polymarketGetMarketById };
15
15
  //# sourceMappingURL=get-market-by-id.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-market-by-id.d.mts","names":[],"sources":["../../src/actions/get-market-by-id.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const polymarketGetMarketById = action("POLYMARKET_GET_MARKET_BY_ID", {
@@ -1 +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}).passthrough();\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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-market-by-id.mjs","names":[],"sources":["../../src/actions/get-market-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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}).passthrough();\n\nexport const polymarketGetMarketById: AppAction<\n typeof PolymarketGetMarketByIdInput,\n typeof PolymarketGetMarketByIdOutput,\n typeof polymarket.credential\n> = 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":";;;AAaA,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,EACvH,CAaS;CACP,QAb2C,EAAE,OAAO,EACpD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-market-by-slug.ts
@@ -1 +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}).passthrough();\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,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-market-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-market-by-slug.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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}).passthrough();\n\nexport const polymarketGetMarketBySlug: AppAction<\n typeof PolymarketGetMarketBySlugInput,\n typeof PolymarketGetMarketBySlugOutput,\n typeof polymarket.credential\n> = 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":";;;;AAMA,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,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-market-by-slug.d.ts
@@ -7,9 +9,7 @@ declare const PolymarketGetMarketBySlugInput: z.ZodObject<{
7
9
  declare const PolymarketGetMarketBySlugOutput: z.ZodObject<{
8
10
  market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
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]>;
12
+ declare const polymarketGetMarketBySlug: AppAction<typeof PolymarketGetMarketBySlugInput, typeof PolymarketGetMarketBySlugOutput, typeof polymarket.credential>;
13
13
  //#endregion
14
14
  export { polymarketGetMarketBySlug };
15
15
  //# sourceMappingURL=get-market-by-slug.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-market-by-slug.d.cts","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-market-by-slug.d.ts
@@ -7,9 +9,7 @@ declare const PolymarketGetMarketBySlugInput: z.ZodObject<{
7
9
  declare const PolymarketGetMarketBySlugOutput: z.ZodObject<{
8
10
  market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
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]>;
12
+ declare const polymarketGetMarketBySlug: AppAction<typeof PolymarketGetMarketBySlugInput, typeof PolymarketGetMarketBySlugOutput, typeof polymarket.credential>;
13
13
  //#endregion
14
14
  export { polymarketGetMarketBySlug };
15
15
  //# sourceMappingURL=get-market-by-slug.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-market-by-slug.d.mts","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const polymarketGetMarketBySlug = action("POLYMARKET_GET_MARKET_BY_SLUG", {
@@ -1 +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}).passthrough();\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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-market-by-slug.mjs","names":[],"sources":["../../src/actions/get-market-by-slug.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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}).passthrough();\n\nexport const polymarketGetMarketBySlug: AppAction<\n typeof PolymarketGetMarketBySlugInput,\n typeof PolymarketGetMarketBySlugOutput,\n typeof polymarket.credential\n> = 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":";;;AAaA,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAaS;CACP,QAb6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-market-settlement.ts
@@ -1 +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}).passthrough();\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,CAAC,CAAC,YAAY;AAEf,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-market-settlement.cjs","names":["z","action"],"sources":["../../src/actions/get-market-settlement.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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}).passthrough();\n\nexport const polymarketGetMarketSettlement: AppAction<\n typeof PolymarketGetMarketSettlementInput,\n typeof PolymarketGetMarketSettlementOutput,\n typeof polymarket.credential\n> = 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":";;;;AAMA,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,CAAC,CAAC,YAAY;AAEf,MAAa,gCAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-market-settlement.d.ts
@@ -8,10 +10,7 @@ declare const PolymarketGetMarketSettlementInput: z.ZodObject<{
8
10
  declare const PolymarketGetMarketSettlementOutput: z.ZodObject<{
9
11
  settlement: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10
12
  }, z.core.$loose>;
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]>;
13
+ declare const polymarketGetMarketSettlement: AppAction<typeof PolymarketGetMarketSettlementInput, typeof PolymarketGetMarketSettlementOutput, typeof polymarket.credential>;
15
14
  //#endregion
16
15
  export { polymarketGetMarketSettlement };
17
16
  //# sourceMappingURL=get-market-settlement.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-market-settlement.d.cts","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-market-settlement.d.ts
@@ -8,10 +10,7 @@ declare const PolymarketGetMarketSettlementInput: z.ZodObject<{
8
10
  declare const PolymarketGetMarketSettlementOutput: z.ZodObject<{
9
11
  settlement: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10
12
  }, z.core.$loose>;
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]>;
13
+ declare const polymarketGetMarketSettlement: AppAction<typeof PolymarketGetMarketSettlementInput, typeof PolymarketGetMarketSettlementOutput, typeof polymarket.credential>;
15
14
  //#endregion
16
15
  export { polymarketGetMarketSettlement };
17
16
  //# sourceMappingURL=get-market-settlement.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"get-market-settlement.d.mts","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const polymarketGetMarketSettlement = action("POLYMARKET_GET_MARKET_SETTLEMENT", {
@@ -1 +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}).passthrough();\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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-market-settlement.mjs","names":[],"sources":["../../src/actions/get-market-settlement.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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}).passthrough();\n\nexport const polymarketGetMarketSettlement: AppAction<\n typeof PolymarketGetMarketSettlementInput,\n typeof PolymarketGetMarketSettlementOutput,\n typeof polymarket.credential\n> = 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":";;;AAcA,MAAa,gCAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACjI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACrK,CAaS;CACP,QAbiD,EAAE,OAAO,EAC1D,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EACrF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-markets-for-subject-by-slug.ts
@@ -1 +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}).passthrough();\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,CAAC,CAAC,YAAY;AAEf,MAAa,uCAAuCC,eAAAA,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polymarket } from \"../app\";\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}).passthrough();\n\nexport const polymarketGetMarketsForSubjectBySlug: AppAction<\n typeof PolymarketGetMarketsForSubjectBySlugInput,\n typeof PolymarketGetMarketsForSubjectBySlugOutput,\n typeof polymarket.credential\n> = 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":";;;;AAMA,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,CAAC,CAAC,YAAY;AAEf,MAAa,uCAITC,eAAAA,OAAO,8CAA8C;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { polymarket } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-markets-for-subject-by-slug.d.ts
@@ -7,9 +9,7 @@ declare const PolymarketGetMarketsForSubjectBySlugInput: z.ZodObject<{
7
9
  declare const PolymarketGetMarketsForSubjectBySlugOutput: z.ZodObject<{
8
10
  markets: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
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]>;
12
+ declare const polymarketGetMarketsForSubjectBySlug: AppAction<typeof PolymarketGetMarketsForSubjectBySlugInput, typeof PolymarketGetMarketsForSubjectBySlugOutput, typeof polymarket.credential>;
13
13
  //#endregion
14
14
  export { polymarketGetMarketsForSubjectBySlug };
15
15
  //# sourceMappingURL=get-markets-for-subject-by-slug.d.cts.map