@keystrokehq/polymarket 0.1.4 → 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 -17
  6. package/dist/actions/cancel-all-open-orders.d.cts.map +1 -1
  7. package/dist/actions/cancel-all-open-orders.d.mts +3 -17
  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 -21
  14. package/dist/actions/cancel-multiple-orders.d.cts.map +1 -1
  15. package/dist/actions/cancel-multiple-orders.d.mts +3 -21
  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 -18
  22. package/dist/actions/cancel-order.d.cts.map +1 -1
  23. package/dist/actions/cancel-order.d.mts +3 -18
  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 -28
  30. package/dist/actions/close-position-order.d.cts.map +1 -1
  31. package/dist/actions/close-position-order.d.mts +3 -28
  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 -47
  38. package/dist/actions/create-multiple-orders.d.cts.map +1 -1
  39. package/dist/actions/create-multiple-orders.d.mts +3 -47
  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 -46
  46. package/dist/actions/create-order.d.cts.map +1 -1
  47. package/dist/actions/create-order.d.mts +3 -46
  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 -15
  54. package/dist/actions/get-account-balances.d.cts.map +1 -1
  55. package/dist/actions/get-account-balances.d.mts +3 -15
  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 -21
  62. package/dist/actions/get-activities.d.cts.map +1 -1
  63. package/dist/actions/get-activities.d.mts +3 -21
  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 -17
  70. package/dist/actions/get-event-by-id.d.cts.map +1 -1
  71. package/dist/actions/get-event-by-id.d.mts +3 -17
  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 -17
  78. package/dist/actions/get-event-by-slug.d.cts.map +1 -1
  79. package/dist/actions/get-event-by-slug.d.mts +3 -17
  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 -17
  86. package/dist/actions/get-league-by-slug.d.cts.map +1 -1
  87. package/dist/actions/get-league-by-slug.d.mts +3 -17
  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 -17
  94. package/dist/actions/get-market-bbo.d.cts.map +1 -1
  95. package/dist/actions/get-market-bbo.d.mts +3 -17
  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 -17
  102. package/dist/actions/get-market-book.d.cts.map +1 -1
  103. package/dist/actions/get-market-book.d.mts +3 -17
  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 -17
  110. package/dist/actions/get-market-by-id.d.cts.map +1 -1
  111. package/dist/actions/get-market-by-id.d.mts +3 -17
  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 -17
  118. package/dist/actions/get-market-by-slug.d.cts.map +1 -1
  119. package/dist/actions/get-market-by-slug.d.mts +3 -17
  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 -18
  126. package/dist/actions/get-market-settlement.d.cts.map +1 -1
  127. package/dist/actions/get-market-settlement.d.mts +3 -18
  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 -17
  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 -17
  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 -17
  142. package/dist/actions/get-markets-for-subject.d.cts.map +1 -1
  143. package/dist/actions/get-markets-for-subject.d.mts +3 -17
  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 -17
  150. package/dist/actions/get-open-orders.d.cts.map +1 -1
  151. package/dist/actions/get-open-orders.d.mts +3 -17
  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 -17
  158. package/dist/actions/get-order.d.cts.map +1 -1
  159. package/dist/actions/get-order.d.mts +3 -17
  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 -17
  166. package/dist/actions/get-series-by-id.d.cts.map +1 -1
  167. package/dist/actions/get-series-by-id.d.mts +3 -17
  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 -17
  174. package/dist/actions/get-sport-by-slug.d.cts.map +1 -1
  175. package/dist/actions/get-sport-by-slug.d.mts +3 -17
  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 -17
  182. package/dist/actions/get-subject-by-id.d.cts.map +1 -1
  183. package/dist/actions/get-subject-by-id.d.mts +3 -17
  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 -17
  190. package/dist/actions/get-subject-by-slug.d.cts.map +1 -1
  191. package/dist/actions/get-subject-by-slug.d.mts +3 -17
  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 -17
  198. package/dist/actions/get-tag-by-id.d.cts.map +1 -1
  199. package/dist/actions/get-tag-by-id.d.mts +3 -17
  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 -17
  206. package/dist/actions/get-tag-by-slug.d.cts.map +1 -1
  207. package/dist/actions/get-tag-by-slug.d.mts +3 -17
  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 -19
  214. package/dist/actions/get-user-positions.d.cts.map +1 -1
  215. package/dist/actions/get-user-positions.d.mts +3 -19
  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 -22
  222. package/dist/actions/list-events-for-league.d.cts.map +1 -1
  223. package/dist/actions/list-events-for-league.d.mts +3 -22
  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 -22
  230. package/dist/actions/list-events-for-series.d.cts.map +1 -1
  231. package/dist/actions/list-events-for-series.d.mts +3 -22
  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 -22
  238. package/dist/actions/list-events-for-sport.d.cts.map +1 -1
  239. package/dist/actions/list-events-for-sport.d.mts +3 -22
  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 -31
  246. package/dist/actions/list-events.d.cts.map +1 -1
  247. package/dist/actions/list-events.d.mts +3 -31
  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 -15
  254. package/dist/actions/list-featured-tags.d.cts.map +1 -1
  255. package/dist/actions/list-featured-tags.d.mts +3 -15
  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 -18
  262. package/dist/actions/list-leagues.d.cts.map +1 -1
  263. package/dist/actions/list-leagues.d.mts +3 -18
  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 -30
  270. package/dist/actions/list-markets.d.cts.map +1 -1
  271. package/dist/actions/list-markets.d.mts +3 -30
  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 -23
  278. package/dist/actions/list-series.d.cts.map +1 -1
  279. package/dist/actions/list-series.d.mts +3 -23
  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 -19
  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 -19
  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 -24
  294. package/dist/actions/list-sports-teams.d.cts.map +1 -1
  295. package/dist/actions/list-sports-teams.d.mts +3 -24
  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 -15
  302. package/dist/actions/list-sports.d.cts.map +1 -1
  303. package/dist/actions/list-sports.d.mts +3 -15
  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 -20
  310. package/dist/actions/list-subjects.d.cts.map +1 -1
  311. package/dist/actions/list-subjects.d.mts +3 -20
  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 -24
  318. package/dist/actions/list-tags.d.cts.map +1 -1
  319. package/dist/actions/list-tags.d.mts +3 -24
  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 -29
  326. package/dist/actions/modify-multiple-orders.d.cts.map +1 -1
  327. package/dist/actions/modify-multiple-orders.d.mts +3 -29
  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 -26
  334. package/dist/actions/modify-order.d.cts.map +1 -1
  335. package/dist/actions/modify-order.d.mts +3 -26
  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 -46
  342. package/dist/actions/preview-order.d.cts.map +1 -1
  343. package/dist/actions/preview-order.d.mts +3 -46
  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 -22
  350. package/dist/actions/search-markets-and-events.d.cts.map +1 -1
  351. package/dist/actions/search-markets-and-events.d.mts +3 -22
  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 +5 -4
  356. package/dist/app.cjs.map +1 -1
  357. package/dist/app.d.cts +4 -6
  358. package/dist/app.d.cts.map +1 -1
  359. package/dist/app.d.mts +4 -6
  360. package/dist/app.d.mts.map +1 -1
  361. package/dist/app.mjs +0 -1
  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 +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,23 +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<"polymarket", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- secret_key: z.ZodString;
18
- key_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- secret_key: z.ZodString;
25
- key_id: z.ZodString;
26
- }, z.core.$strip>>]>;
12
+ declare const polymarketGetMarketById: AppAction<typeof PolymarketGetMarketByIdInput, typeof PolymarketGetMarketByIdOutput, typeof polymarket.credential>;
27
13
  //#endregion
28
14
  export { polymarketGetMarketById };
29
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,23 +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<"polymarket", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- secret_key: z.ZodString;
18
- key_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- secret_key: z.ZodString;
25
- key_id: z.ZodString;
26
- }, z.core.$strip>>]>;
12
+ declare const polymarketGetMarketById: AppAction<typeof PolymarketGetMarketByIdInput, typeof PolymarketGetMarketByIdOutput, typeof polymarket.credential>;
27
13
  //#endregion
28
14
  export { polymarketGetMarketById };
29
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,23 +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<"polymarket", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- secret_key: z.ZodString;
18
- key_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- secret_key: z.ZodString;
25
- key_id: z.ZodString;
26
- }, z.core.$strip>>]>;
12
+ declare const polymarketGetMarketBySlug: AppAction<typeof PolymarketGetMarketBySlugInput, typeof PolymarketGetMarketBySlugOutput, typeof polymarket.credential>;
27
13
  //#endregion
28
14
  export { polymarketGetMarketBySlug };
29
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,23 +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<"polymarket", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- secret_key: z.ZodString;
18
- key_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- secret_key: z.ZodString;
25
- key_id: z.ZodString;
26
- }, z.core.$strip>>]>;
12
+ declare const polymarketGetMarketBySlug: AppAction<typeof PolymarketGetMarketBySlugInput, typeof PolymarketGetMarketBySlugOutput, typeof polymarket.credential>;
27
13
  //#endregion
28
14
  export { polymarketGetMarketBySlug };
29
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,24 +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<"polymarket", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- secret_key: z.ZodString;
20
- key_id: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- secret_key: z.ZodString;
27
- key_id: z.ZodString;
28
- }, z.core.$strip>>]>;
13
+ declare const polymarketGetMarketSettlement: AppAction<typeof PolymarketGetMarketSettlementInput, typeof PolymarketGetMarketSettlementOutput, typeof polymarket.credential>;
29
14
  //#endregion
30
15
  export { polymarketGetMarketSettlement };
31
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,24 +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<"polymarket", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- secret_key: z.ZodString;
20
- key_id: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- secret_key: z.ZodString;
27
- key_id: z.ZodString;
28
- }, z.core.$strip>>]>;
13
+ declare const polymarketGetMarketSettlement: AppAction<typeof PolymarketGetMarketSettlementInput, typeof PolymarketGetMarketSettlementOutput, typeof polymarket.credential>;
29
14
  //#endregion
30
15
  export { polymarketGetMarketSettlement };
31
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,23 +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<"polymarket", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- secret_key: z.ZodString;
18
- key_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- secret_key: z.ZodString;
25
- key_id: z.ZodString;
26
- }, z.core.$strip>>]>;
12
+ declare const polymarketGetMarketsForSubjectBySlug: AppAction<typeof PolymarketGetMarketsForSubjectBySlugInput, typeof PolymarketGetMarketsForSubjectBySlugOutput, typeof polymarket.credential>;
27
13
  //#endregion
28
14
  export { polymarketGetMarketsForSubjectBySlug };
29
15
  //# sourceMappingURL=get-markets-for-subject-by-slug.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-markets-for-subject-by-slug.d.cts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAGzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"get-markets-for-subject-by-slug.d.cts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAGzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAI1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,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-markets-for-subject-by-slug.d.ts
@@ -7,23 +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<"polymarket", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- secret_key: z.ZodString;
18
- key_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- secret_key: z.ZodString;
25
- key_id: z.ZodString;
26
- }, z.core.$strip>>]>;
12
+ declare const polymarketGetMarketsForSubjectBySlug: AppAction<typeof PolymarketGetMarketsForSubjectBySlugInput, typeof PolymarketGetMarketsForSubjectBySlugOutput, typeof polymarket.credential>;
27
13
  //#endregion
28
14
  export { polymarketGetMarketsForSubjectBySlug };
29
15
  //# sourceMappingURL=get-markets-for-subject-by-slug.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-markets-for-subject-by-slug.d.mts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAGzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"get-markets-for-subject-by-slug.d.mts","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;cAGzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAI1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,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 polymarketGetMarketsForSubjectBySlug = action("POLYMARKET_GET_MARKETS_FOR_SUBJECT_BY_SLUG", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-markets-for-subject-by-slug.mjs","names":[],"sources":["../../src/actions/get-markets-for-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketsForSubjectBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe subject slug for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketGetMarketsForSubjectBySlugOutput = z.object({\n markets: z.record(z.string(), z.unknown()).describe(\"Markets associated with the subject, including market questions, slugs, status fields, prices, sides, tags, and embedded subject data.\"),\n}).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":";;AAWA,MAAa,uCAAuC,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACnJ,CASS;CACP,QATwD,EAAE,OAAO,EACjE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-markets-for-subject-by-slug.mjs","names":[],"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":";;;AAaA,MAAa,uCAIT,OAAO,8CAA8C;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EACnJ,CAaS;CACP,QAbwD,EAAE,OAAO,EACjE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,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.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-markets-for-subject.cjs","names":["z","action"],"sources":["../../src/actions/get-markets-for-subject.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketsForSubjectInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketGetMarketsForSubjectOutput = 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 polymarketGetMarketsForSubject = action(\"POLYMARKET_GET_MARKETS_FOR_SUBJECT\", {\n slug: \"polymarket-get-markets-for-subject\",\n name: \"Get Markets For Subject\",\n description: \"Discover Polymarket US markets associated with a subject ID. Use this action after List Subjects or Get Subject By ID identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketGetMarketsForSubjectInput,\n output: PolymarketGetMarketsForSubjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,EACpJ,CAAC;AACD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-markets-for-subject.cjs","names":["z","action"],"sources":["../../src/actions/get-markets-for-subject.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 PolymarketGetMarketsForSubjectInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketGetMarketsForSubjectOutput = 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 polymarketGetMarketsForSubject: AppAction<\n typeof PolymarketGetMarketsForSubjectInput,\n typeof PolymarketGetMarketsForSubjectOutput,\n typeof polymarket.credential\n> = action(\"POLYMARKET_GET_MARKETS_FOR_SUBJECT\", {\n slug: \"polymarket-get-markets-for-subject\",\n name: \"Get Markets For Subject\",\n description: \"Discover Polymarket US markets associated with a subject ID. Use this action after List Subjects or Get Subject By ID identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketGetMarketsForSubjectInput,\n output: PolymarketGetMarketsForSubjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,EACpJ,CAAC;AACD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,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.d.ts
@@ -7,23 +9,7 @@ declare const PolymarketGetMarketsForSubjectInput: z.ZodObject<{
7
9
  declare const PolymarketGetMarketsForSubjectOutput: z.ZodObject<{
8
10
  markets: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
10
- declare const polymarketGetMarketsForSubject: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"polymarket", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- secret_key: z.ZodString;
18
- key_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- secret_key: z.ZodString;
25
- key_id: z.ZodString;
26
- }, z.core.$strip>>]>;
12
+ declare const polymarketGetMarketsForSubject: AppAction<typeof PolymarketGetMarketsForSubjectInput, typeof PolymarketGetMarketsForSubjectOutput, typeof polymarket.credential>;
27
13
  //#endregion
28
14
  export { polymarketGetMarketsForSubject };
29
15
  //# sourceMappingURL=get-markets-for-subject.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-markets-for-subject.d.cts","names":[],"sources":["../../src/actions/get-markets-for-subject.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"get-markets-for-subject.d.cts","names":[],"sources":["../../src/actions/get-markets-for-subject.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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-markets-for-subject.d.ts
@@ -7,23 +9,7 @@ declare const PolymarketGetMarketsForSubjectInput: z.ZodObject<{
7
9
  declare const PolymarketGetMarketsForSubjectOutput: z.ZodObject<{
8
10
  markets: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
11
  }, z.core.$loose>;
10
- declare const polymarketGetMarketsForSubject: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"polymarket", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- secret_key: z.ZodString;
18
- key_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polymarket", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- secret_key: z.ZodString;
25
- key_id: z.ZodString;
26
- }, z.core.$strip>>]>;
12
+ declare const polymarketGetMarketsForSubject: AppAction<typeof PolymarketGetMarketsForSubjectInput, typeof PolymarketGetMarketsForSubjectOutput, typeof polymarket.credential>;
27
13
  //#endregion
28
14
  export { polymarketGetMarketsForSubject };
29
15
  //# sourceMappingURL=get-markets-for-subject.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-markets-for-subject.d.mts","names":[],"sources":["../../src/actions/get-markets-for-subject.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"get-markets-for-subject.d.mts","names":[],"sources":["../../src/actions/get-markets-for-subject.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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 polymarketGetMarketsForSubject = action("POLYMARKET_GET_MARKETS_FOR_SUBJECT", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-markets-for-subject.mjs","names":[],"sources":["../../src/actions/get-markets-for-subject.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetMarketsForSubjectInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketGetMarketsForSubjectOutput = 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 polymarketGetMarketsForSubject = action(\"POLYMARKET_GET_MARKETS_FOR_SUBJECT\", {\n slug: \"polymarket-get-markets-for-subject\",\n name: \"Get Markets For Subject\",\n description: \"Discover Polymarket US markets associated with a subject ID. Use this action after List Subjects or Get Subject By ID identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketGetMarketsForSubjectInput,\n output: PolymarketGetMarketsForSubjectOutput,\n});\n"],"mappings":";;AAWA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXiD,EAAE,OAAO,EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,EACpJ,CASS;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-markets-for-subject.mjs","names":[],"sources":["../../src/actions/get-markets-for-subject.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 PolymarketGetMarketsForSubjectInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID for the team, person, candidate, player, nominee, or entity whose markets should be discovered.\"),\n});\nexport const PolymarketGetMarketsForSubjectOutput = 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 polymarketGetMarketsForSubject: AppAction<\n typeof PolymarketGetMarketsForSubjectInput,\n typeof PolymarketGetMarketsForSubjectOutput,\n typeof polymarket.credential\n> = action(\"POLYMARKET_GET_MARKETS_FOR_SUBJECT\", {\n slug: \"polymarket-get-markets-for-subject\",\n name: \"Get Markets For Subject\",\n description: \"Discover Polymarket US markets associated with a subject ID. Use this action after List Subjects or Get Subject By ID identifies the team, person, candidate, player, nominee, or other entity the user cares about. This is a market discovery tool, not a subject metadata lookup. This action does not require API key authentication.\",\n input: PolymarketGetMarketsForSubjectInput,\n output: PolymarketGetMarketsForSubjectOutput,\n});\n"],"mappings":";;;AAaA,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfiD,EAAE,OAAO,EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,EACpJ,CAaS;CACP,QAbkD,EAAE,OAAO,EAC3D,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAC9L,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-open-orders.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-open-orders.cjs","names":["z","action"],"sources":["../../src/actions/get-open-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetOpenOrdersInput = z.object({\n slugs: z.array(z.string()).describe(\"Optional market slugs to filter this authenticated account's open orders. Pass multiple slugs to restrict results to those markets; omit to return open orders across all markets.\").optional(),\n});\nexport const PolymarketGetOpenOrdersOutput = z.object({\n orders: z.array(z.record(z.string(), z.unknown())).describe(\"Open orders for the authenticated Polymarket US account.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketGetOpenOrders = action(\"POLYMARKET_GET_OPEN_ORDERS\", {\n slug: \"polymarket-get-open-orders\",\n name: \"Get Open Orders\",\n description: \"Get all open orders for the authenticated Polymarket US user. Use this read-only action before modifying or canceling orders, or to inspect live order exposure. Requires signed authentication, supports optional market slug filters, and does not place, modify, or cancel orders.\",\n input: PolymarketGetOpenOrdersInput,\n output: PolymarketGetOpenOrdersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS,EACrO,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,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-open-orders.cjs","names":["z","action"],"sources":["../../src/actions/get-open-orders.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 PolymarketGetOpenOrdersInput = z.object({\n slugs: z.array(z.string()).describe(\"Optional market slugs to filter this authenticated account's open orders. Pass multiple slugs to restrict results to those markets; omit to return open orders across all markets.\").optional(),\n});\nexport const PolymarketGetOpenOrdersOutput = z.object({\n orders: z.array(z.record(z.string(), z.unknown())).describe(\"Open orders for the authenticated Polymarket US account.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketGetOpenOrders: AppAction<\n typeof PolymarketGetOpenOrdersInput,\n typeof PolymarketGetOpenOrdersOutput,\n typeof polymarket.credential\n> = action(\"POLYMARKET_GET_OPEN_ORDERS\", {\n slug: \"polymarket-get-open-orders\",\n name: \"Get Open Orders\",\n description: \"Get all open orders for the authenticated Polymarket US user. Use this read-only action before modifying or canceling orders, or to inspect live order exposure. Requires signed authentication, supports optional market slug filters, and does not place, modify, or cancel orders.\",\n input: PolymarketGetOpenOrdersInput,\n output: PolymarketGetOpenOrdersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS,EACrO,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}