@keystrokehq/polymarket 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/dist/actions/cancel-all-open-orders.cjs +1 -1
  2. package/dist/actions/cancel-all-open-orders.cjs.map +1 -1
  3. package/dist/actions/cancel-all-open-orders.d.cts +16 -2
  4. package/dist/actions/cancel-all-open-orders.d.mts +16 -2
  5. package/dist/actions/cancel-all-open-orders.mjs +1 -1
  6. package/dist/actions/cancel-all-open-orders.mjs.map +1 -1
  7. package/dist/actions/cancel-multiple-orders.cjs +2 -2
  8. package/dist/actions/cancel-multiple-orders.cjs.map +1 -1
  9. package/dist/actions/cancel-multiple-orders.d.cts +18 -3
  10. package/dist/actions/cancel-multiple-orders.d.mts +18 -3
  11. package/dist/actions/cancel-multiple-orders.mjs +2 -2
  12. package/dist/actions/cancel-multiple-orders.mjs.map +1 -1
  13. package/dist/actions/cancel-order.cjs +1 -1
  14. package/dist/actions/cancel-order.cjs.map +1 -1
  15. package/dist/actions/cancel-order.d.cts +16 -2
  16. package/dist/actions/cancel-order.d.mts +16 -2
  17. package/dist/actions/cancel-order.mjs +1 -1
  18. package/dist/actions/cancel-order.mjs.map +1 -1
  19. package/dist/actions/close-position-order.cjs +1 -1
  20. package/dist/actions/close-position-order.cjs.map +1 -1
  21. package/dist/actions/close-position-order.d.cts +16 -2
  22. package/dist/actions/close-position-order.d.mts +16 -2
  23. package/dist/actions/close-position-order.mjs +1 -1
  24. package/dist/actions/close-position-order.mjs.map +1 -1
  25. package/dist/actions/create-multiple-orders.cjs +2 -2
  26. package/dist/actions/create-multiple-orders.cjs.map +1 -1
  27. package/dist/actions/create-multiple-orders.d.cts +18 -3
  28. package/dist/actions/create-multiple-orders.d.mts +18 -3
  29. package/dist/actions/create-multiple-orders.mjs +2 -2
  30. package/dist/actions/create-multiple-orders.mjs.map +1 -1
  31. package/dist/actions/create-order.cjs +1 -1
  32. package/dist/actions/create-order.cjs.map +1 -1
  33. package/dist/actions/create-order.d.cts +16 -2
  34. package/dist/actions/create-order.d.mts +16 -2
  35. package/dist/actions/create-order.mjs +1 -1
  36. package/dist/actions/create-order.mjs.map +1 -1
  37. package/dist/actions/get-account-balances.cjs +3 -3
  38. package/dist/actions/get-account-balances.cjs.map +1 -1
  39. package/dist/actions/get-account-balances.d.cts +18 -4
  40. package/dist/actions/get-account-balances.d.cts.map +1 -1
  41. package/dist/actions/get-account-balances.d.mts +18 -4
  42. package/dist/actions/get-account-balances.d.mts.map +1 -1
  43. package/dist/actions/get-account-balances.mjs +3 -3
  44. package/dist/actions/get-account-balances.mjs.map +1 -1
  45. package/dist/actions/get-activities.cjs +1 -1
  46. package/dist/actions/get-activities.cjs.map +1 -1
  47. package/dist/actions/get-activities.d.cts +16 -2
  48. package/dist/actions/get-activities.d.mts +16 -2
  49. package/dist/actions/get-activities.mjs +1 -1
  50. package/dist/actions/get-activities.mjs.map +1 -1
  51. package/dist/actions/get-event-by-id.cjs +1 -1
  52. package/dist/actions/get-event-by-id.cjs.map +1 -1
  53. package/dist/actions/get-event-by-id.d.cts +16 -2
  54. package/dist/actions/get-event-by-id.d.mts +16 -2
  55. package/dist/actions/get-event-by-id.mjs +1 -1
  56. package/dist/actions/get-event-by-id.mjs.map +1 -1
  57. package/dist/actions/get-event-by-slug.cjs +1 -1
  58. package/dist/actions/get-event-by-slug.cjs.map +1 -1
  59. package/dist/actions/get-event-by-slug.d.cts +16 -2
  60. package/dist/actions/get-event-by-slug.d.mts +16 -2
  61. package/dist/actions/get-event-by-slug.mjs +1 -1
  62. package/dist/actions/get-event-by-slug.mjs.map +1 -1
  63. package/dist/actions/get-league-by-slug.cjs +1 -1
  64. package/dist/actions/get-league-by-slug.cjs.map +1 -1
  65. package/dist/actions/get-league-by-slug.d.cts +16 -2
  66. package/dist/actions/get-league-by-slug.d.mts +16 -2
  67. package/dist/actions/get-league-by-slug.mjs +1 -1
  68. package/dist/actions/get-league-by-slug.mjs.map +1 -1
  69. package/dist/actions/get-market-bbo.cjs +1 -1
  70. package/dist/actions/get-market-bbo.cjs.map +1 -1
  71. package/dist/actions/get-market-bbo.d.cts +16 -2
  72. package/dist/actions/get-market-bbo.d.mts +16 -2
  73. package/dist/actions/get-market-bbo.mjs +1 -1
  74. package/dist/actions/get-market-bbo.mjs.map +1 -1
  75. package/dist/actions/get-market-book.cjs +1 -1
  76. package/dist/actions/get-market-book.cjs.map +1 -1
  77. package/dist/actions/get-market-book.d.cts +16 -2
  78. package/dist/actions/get-market-book.d.mts +16 -2
  79. package/dist/actions/get-market-book.mjs +1 -1
  80. package/dist/actions/get-market-book.mjs.map +1 -1
  81. package/dist/actions/get-market-by-id.cjs +1 -1
  82. package/dist/actions/get-market-by-id.cjs.map +1 -1
  83. package/dist/actions/get-market-by-id.d.cts +16 -2
  84. package/dist/actions/get-market-by-id.d.mts +16 -2
  85. package/dist/actions/get-market-by-id.mjs +1 -1
  86. package/dist/actions/get-market-by-id.mjs.map +1 -1
  87. package/dist/actions/get-market-by-slug.cjs +1 -1
  88. package/dist/actions/get-market-by-slug.cjs.map +1 -1
  89. package/dist/actions/get-market-by-slug.d.cts +16 -2
  90. package/dist/actions/get-market-by-slug.d.mts +16 -2
  91. package/dist/actions/get-market-by-slug.mjs +1 -1
  92. package/dist/actions/get-market-by-slug.mjs.map +1 -1
  93. package/dist/actions/get-market-settlement.cjs +1 -1
  94. package/dist/actions/get-market-settlement.cjs.map +1 -1
  95. package/dist/actions/get-market-settlement.d.cts +16 -2
  96. package/dist/actions/get-market-settlement.d.mts +16 -2
  97. package/dist/actions/get-market-settlement.mjs +1 -1
  98. package/dist/actions/get-market-settlement.mjs.map +1 -1
  99. package/dist/actions/get-markets-for-subject-by-slug.cjs +1 -1
  100. package/dist/actions/get-markets-for-subject-by-slug.cjs.map +1 -1
  101. package/dist/actions/get-markets-for-subject-by-slug.d.cts +16 -2
  102. package/dist/actions/get-markets-for-subject-by-slug.d.mts +16 -2
  103. package/dist/actions/get-markets-for-subject-by-slug.mjs +1 -1
  104. package/dist/actions/get-markets-for-subject-by-slug.mjs.map +1 -1
  105. package/dist/actions/get-markets-for-subject.cjs +1 -1
  106. package/dist/actions/get-markets-for-subject.cjs.map +1 -1
  107. package/dist/actions/get-markets-for-subject.d.cts +16 -2
  108. package/dist/actions/get-markets-for-subject.d.mts +16 -2
  109. package/dist/actions/get-markets-for-subject.mjs +1 -1
  110. package/dist/actions/get-markets-for-subject.mjs.map +1 -1
  111. package/dist/actions/get-open-orders.cjs +1 -1
  112. package/dist/actions/get-open-orders.cjs.map +1 -1
  113. package/dist/actions/get-open-orders.d.cts +16 -2
  114. package/dist/actions/get-open-orders.d.mts +16 -2
  115. package/dist/actions/get-open-orders.mjs +1 -1
  116. package/dist/actions/get-open-orders.mjs.map +1 -1
  117. package/dist/actions/get-order.cjs +1 -1
  118. package/dist/actions/get-order.cjs.map +1 -1
  119. package/dist/actions/get-order.d.cts +16 -2
  120. package/dist/actions/get-order.d.mts +16 -2
  121. package/dist/actions/get-order.mjs +1 -1
  122. package/dist/actions/get-order.mjs.map +1 -1
  123. package/dist/actions/get-series-by-id.cjs +1 -1
  124. package/dist/actions/get-series-by-id.cjs.map +1 -1
  125. package/dist/actions/get-series-by-id.d.cts +16 -2
  126. package/dist/actions/get-series-by-id.d.mts +16 -2
  127. package/dist/actions/get-series-by-id.mjs +1 -1
  128. package/dist/actions/get-series-by-id.mjs.map +1 -1
  129. package/dist/actions/get-sport-by-slug.cjs +1 -1
  130. package/dist/actions/get-sport-by-slug.cjs.map +1 -1
  131. package/dist/actions/get-sport-by-slug.d.cts +16 -2
  132. package/dist/actions/get-sport-by-slug.d.mts +16 -2
  133. package/dist/actions/get-sport-by-slug.mjs +1 -1
  134. package/dist/actions/get-sport-by-slug.mjs.map +1 -1
  135. package/dist/actions/get-subject-by-id.cjs +1 -1
  136. package/dist/actions/get-subject-by-id.cjs.map +1 -1
  137. package/dist/actions/get-subject-by-id.d.cts +16 -2
  138. package/dist/actions/get-subject-by-id.d.mts +16 -2
  139. package/dist/actions/get-subject-by-id.mjs +1 -1
  140. package/dist/actions/get-subject-by-id.mjs.map +1 -1
  141. package/dist/actions/get-subject-by-slug.cjs +1 -1
  142. package/dist/actions/get-subject-by-slug.cjs.map +1 -1
  143. package/dist/actions/get-subject-by-slug.d.cts +16 -2
  144. package/dist/actions/get-subject-by-slug.d.mts +16 -2
  145. package/dist/actions/get-subject-by-slug.mjs +1 -1
  146. package/dist/actions/get-subject-by-slug.mjs.map +1 -1
  147. package/dist/actions/get-tag-by-id.cjs +1 -1
  148. package/dist/actions/get-tag-by-id.cjs.map +1 -1
  149. package/dist/actions/get-tag-by-id.d.cts +16 -2
  150. package/dist/actions/get-tag-by-id.d.mts +16 -2
  151. package/dist/actions/get-tag-by-id.mjs +1 -1
  152. package/dist/actions/get-tag-by-id.mjs.map +1 -1
  153. package/dist/actions/get-tag-by-slug.cjs +1 -1
  154. package/dist/actions/get-tag-by-slug.cjs.map +1 -1
  155. package/dist/actions/get-tag-by-slug.d.cts +16 -2
  156. package/dist/actions/get-tag-by-slug.d.mts +16 -2
  157. package/dist/actions/get-tag-by-slug.mjs +1 -1
  158. package/dist/actions/get-tag-by-slug.mjs.map +1 -1
  159. package/dist/actions/get-user-positions.cjs +1 -1
  160. package/dist/actions/get-user-positions.cjs.map +1 -1
  161. package/dist/actions/get-user-positions.d.cts +16 -2
  162. package/dist/actions/get-user-positions.d.mts +16 -2
  163. package/dist/actions/get-user-positions.mjs +1 -1
  164. package/dist/actions/get-user-positions.mjs.map +1 -1
  165. package/dist/actions/list-events-for-league.cjs +1 -1
  166. package/dist/actions/list-events-for-league.cjs.map +1 -1
  167. package/dist/actions/list-events-for-league.d.cts +16 -2
  168. package/dist/actions/list-events-for-league.d.mts +16 -2
  169. package/dist/actions/list-events-for-league.mjs +1 -1
  170. package/dist/actions/list-events-for-league.mjs.map +1 -1
  171. package/dist/actions/list-events-for-series.cjs +1 -1
  172. package/dist/actions/list-events-for-series.cjs.map +1 -1
  173. package/dist/actions/list-events-for-series.d.cts +16 -2
  174. package/dist/actions/list-events-for-series.d.mts +16 -2
  175. package/dist/actions/list-events-for-series.mjs +1 -1
  176. package/dist/actions/list-events-for-series.mjs.map +1 -1
  177. package/dist/actions/list-events-for-sport.cjs +1 -1
  178. package/dist/actions/list-events-for-sport.cjs.map +1 -1
  179. package/dist/actions/list-events-for-sport.d.cts +16 -2
  180. package/dist/actions/list-events-for-sport.d.mts +16 -2
  181. package/dist/actions/list-events-for-sport.mjs +1 -1
  182. package/dist/actions/list-events-for-sport.mjs.map +1 -1
  183. package/dist/actions/list-events.cjs +1 -1
  184. package/dist/actions/list-events.cjs.map +1 -1
  185. package/dist/actions/list-events.d.cts +16 -2
  186. package/dist/actions/list-events.d.mts +16 -2
  187. package/dist/actions/list-events.mjs +1 -1
  188. package/dist/actions/list-events.mjs.map +1 -1
  189. package/dist/actions/list-featured-tags.cjs +1 -1
  190. package/dist/actions/list-featured-tags.cjs.map +1 -1
  191. package/dist/actions/list-featured-tags.d.cts +16 -2
  192. package/dist/actions/list-featured-tags.d.cts.map +1 -1
  193. package/dist/actions/list-featured-tags.d.mts +16 -2
  194. package/dist/actions/list-featured-tags.d.mts.map +1 -1
  195. package/dist/actions/list-featured-tags.mjs +1 -1
  196. package/dist/actions/list-featured-tags.mjs.map +1 -1
  197. package/dist/actions/list-leagues.cjs +1 -1
  198. package/dist/actions/list-leagues.cjs.map +1 -1
  199. package/dist/actions/list-leagues.d.cts +16 -2
  200. package/dist/actions/list-leagues.d.mts +16 -2
  201. package/dist/actions/list-leagues.mjs +1 -1
  202. package/dist/actions/list-leagues.mjs.map +1 -1
  203. package/dist/actions/list-markets.cjs +1 -1
  204. package/dist/actions/list-markets.cjs.map +1 -1
  205. package/dist/actions/list-markets.d.cts +16 -2
  206. package/dist/actions/list-markets.d.mts +16 -2
  207. package/dist/actions/list-markets.mjs +1 -1
  208. package/dist/actions/list-markets.mjs.map +1 -1
  209. package/dist/actions/list-series.cjs +1 -1
  210. package/dist/actions/list-series.cjs.map +1 -1
  211. package/dist/actions/list-series.d.cts +16 -2
  212. package/dist/actions/list-series.d.mts +16 -2
  213. package/dist/actions/list-series.mjs +1 -1
  214. package/dist/actions/list-series.mjs.map +1 -1
  215. package/dist/actions/list-sports-teams-for-provider.cjs +1 -1
  216. package/dist/actions/list-sports-teams-for-provider.cjs.map +1 -1
  217. package/dist/actions/list-sports-teams-for-provider.d.cts +16 -2
  218. package/dist/actions/list-sports-teams-for-provider.d.mts +16 -2
  219. package/dist/actions/list-sports-teams-for-provider.mjs +1 -1
  220. package/dist/actions/list-sports-teams-for-provider.mjs.map +1 -1
  221. package/dist/actions/list-sports-teams.cjs +1 -1
  222. package/dist/actions/list-sports-teams.cjs.map +1 -1
  223. package/dist/actions/list-sports-teams.d.cts +16 -2
  224. package/dist/actions/list-sports-teams.d.mts +16 -2
  225. package/dist/actions/list-sports-teams.mjs +1 -1
  226. package/dist/actions/list-sports-teams.mjs.map +1 -1
  227. package/dist/actions/list-sports.cjs +1 -1
  228. package/dist/actions/list-sports.cjs.map +1 -1
  229. package/dist/actions/list-sports.d.cts +16 -2
  230. package/dist/actions/list-sports.d.cts.map +1 -1
  231. package/dist/actions/list-sports.d.mts +16 -2
  232. package/dist/actions/list-sports.d.mts.map +1 -1
  233. package/dist/actions/list-sports.mjs +1 -1
  234. package/dist/actions/list-sports.mjs.map +1 -1
  235. package/dist/actions/list-subjects.cjs +1 -1
  236. package/dist/actions/list-subjects.cjs.map +1 -1
  237. package/dist/actions/list-subjects.d.cts +16 -2
  238. package/dist/actions/list-subjects.d.mts +16 -2
  239. package/dist/actions/list-subjects.mjs +1 -1
  240. package/dist/actions/list-subjects.mjs.map +1 -1
  241. package/dist/actions/list-tags.cjs +1 -1
  242. package/dist/actions/list-tags.cjs.map +1 -1
  243. package/dist/actions/list-tags.d.cts +16 -2
  244. package/dist/actions/list-tags.d.mts +16 -2
  245. package/dist/actions/list-tags.mjs +1 -1
  246. package/dist/actions/list-tags.mjs.map +1 -1
  247. package/dist/actions/modify-multiple-orders.cjs +2 -2
  248. package/dist/actions/modify-multiple-orders.cjs.map +1 -1
  249. package/dist/actions/modify-multiple-orders.d.cts +18 -3
  250. package/dist/actions/modify-multiple-orders.d.mts +18 -3
  251. package/dist/actions/modify-multiple-orders.mjs +2 -2
  252. package/dist/actions/modify-multiple-orders.mjs.map +1 -1
  253. package/dist/actions/modify-order.cjs +1 -1
  254. package/dist/actions/modify-order.cjs.map +1 -1
  255. package/dist/actions/modify-order.d.cts +16 -2
  256. package/dist/actions/modify-order.d.mts +16 -2
  257. package/dist/actions/modify-order.mjs +1 -1
  258. package/dist/actions/modify-order.mjs.map +1 -1
  259. package/dist/actions/preview-order.cjs +1 -1
  260. package/dist/actions/preview-order.cjs.map +1 -1
  261. package/dist/actions/preview-order.d.cts +16 -2
  262. package/dist/actions/preview-order.d.mts +16 -2
  263. package/dist/actions/preview-order.mjs +1 -1
  264. package/dist/actions/preview-order.mjs.map +1 -1
  265. package/dist/actions/search-markets-and-events.cjs +1 -1
  266. package/dist/actions/search-markets-and-events.cjs.map +1 -1
  267. package/dist/actions/search-markets-and-events.d.cts +16 -2
  268. package/dist/actions/search-markets-and-events.d.mts +16 -2
  269. package/dist/actions/search-markets-and-events.mjs +1 -1
  270. package/dist/actions/search-markets-and-events.mjs.map +1 -1
  271. package/dist/app.cjs +8 -2
  272. package/dist/app.cjs.map +1 -1
  273. package/dist/app.d.cts +10 -1
  274. package/dist/app.d.cts.map +1 -1
  275. package/dist/app.d.mts +10 -1
  276. package/dist/app.d.mts.map +1 -1
  277. package/dist/app.mjs +6 -1
  278. package/dist/app.mjs.map +1 -1
  279. package/package.json +1 -1
@@ -5,7 +5,7 @@ const polymarketGetEventById = action("POLYMARKET_GET_EVENT_BY_ID", {
5
5
  name: "Get Event By ID",
6
6
  description: "Get one Polymarket US event by numeric ID from the public gateway API. Use this after discovery when the caller already has the integer event ID and needs full event details or associated market references. Do not pass slugs here; use Get Event By Slug for slugs. This read-only action does not require API key authentication.",
7
7
  input: z.object({ id: z.number().int().describe("Numeric Polymarket US event ID from a discovery response. Do not pass an event slug.") }),
8
- output: z.object({ event: z.record(z.string(), z.unknown()).describe("Event details.") })
8
+ output: z.object({ event: z.record(z.string(), z.unknown()).describe("Event details.") }).passthrough()
9
9
  });
10
10
  //#endregion
11
11
  export { polymarketGetEventById };
@@ -1 +1 @@
1
- {"version":3,"file":"get-event-by-id.mjs","names":[],"sources":["../../src/actions/get-event-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetEventByIdInput = z.object({\n id: z.number().int().describe(\"Numeric Polymarket US event ID from a discovery response. Do not pass an event slug.\"),\n});\nexport const PolymarketGetEventByIdOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n});\n\nexport const polymarketGetEventById = action(\"POLYMARKET_GET_EVENT_BY_ID\", {\n slug: \"polymarket-get-event-by-id\",\n name: \"Get Event By ID\",\n description: \"Get one Polymarket US event by numeric ID from the public gateway API. Use this after discovery when the caller already has the integer event ID and needs full event details or associated market references. Do not pass slugs here; use Get Event By Slug for slugs. This read-only action does not require API key authentication.\",\n input: PolymarketGetEventByIdInput,\n output: PolymarketGetEventByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,EACtH,CASS;CACP,QAT0C,EAAE,OAAO,EACnD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAAgB,EACpE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-event-by-id.mjs","names":[],"sources":["../../src/actions/get-event-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketGetEventByIdInput = z.object({\n id: z.number().int().describe(\"Numeric Polymarket US event ID from a discovery response. Do not pass an event slug.\"),\n});\nexport const PolymarketGetEventByIdOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketGetEventById = action(\"POLYMARKET_GET_EVENT_BY_ID\", {\n slug: \"polymarket-get-event-by-id\",\n name: \"Get Event By ID\",\n description: \"Get one Polymarket US event by numeric ID from the public gateway API. Use this after discovery when the caller already has the integer event ID and needs full event details or associated market references. Do not pass slugs here; use Get Event By Slug for slugs. This read-only action does not require API key authentication.\",\n input: PolymarketGetEventByIdInput,\n output: PolymarketGetEventByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,EACtH,CASS;CACP,QAT0C,EAAE,OAAO,EACnD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAAgB,EACpE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-event-by-slug.ts
4
4
  const PolymarketGetEventBySlugInput = zod.z.object({ slug: zod.z.string().describe("Event slug from a Polymarket US event URL or discovery response. Do not pass the numeric event ID.") });
5
- const PolymarketGetEventBySlugOutput = zod.z.object({ event: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Event details.") });
5
+ const PolymarketGetEventBySlugOutput = zod.z.object({ event: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Event details.") }).passthrough();
6
6
  const polymarketGetEventBySlug = require_action.action("POLYMARKET_GET_EVENT_BY_SLUG", {
7
7
  slug: "polymarket-get-event-by-slug",
8
8
  name: "Get Event By Slug",
@@ -1 +1 @@
1
- {"version":3,"file":"get-event-by-slug.cjs","names":["z","action"],"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});\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":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAChI,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAAgB,EACpE,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-event-by-slug.cjs","names":["z","action"],"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":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAChI,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAAgB,EACpE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,10 +6,24 @@ declare const PolymarketGetEventBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketGetEventBySlugOutput: z.ZodObject<{
8
8
  event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketGetEventBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
13
27
  //#endregion
14
28
  export { polymarketGetEventBySlug };
15
29
  //# sourceMappingURL=get-event-by-slug.d.cts.map
@@ -6,10 +6,24 @@ declare const PolymarketGetEventBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketGetEventBySlugOutput: z.ZodObject<{
8
8
  event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketGetEventBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
13
27
  //#endregion
14
28
  export { polymarketGetEventBySlug };
15
29
  //# sourceMappingURL=get-event-by-slug.d.mts.map
@@ -5,7 +5,7 @@ const polymarketGetEventBySlug = action("POLYMARKET_GET_EVENT_BY_SLUG", {
5
5
  name: "Get Event By Slug",
6
6
  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.",
7
7
  input: z.object({ slug: z.string().describe("Event slug from a Polymarket US event URL or discovery response. Do not pass the numeric event ID.") }),
8
- output: z.object({ event: z.record(z.string(), z.unknown()).describe("Event details.") })
8
+ output: z.object({ event: z.record(z.string(), z.unknown()).describe("Event details.") }).passthrough()
9
9
  });
10
10
  //#endregion
11
11
  export { polymarketGetEventBySlug };
@@ -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});\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,CAOU;AACV,CAAC"}
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"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-league-by-slug.ts
4
4
  const PolymarketGetLeagueBySlugInput = zod.z.object({ slug: zod.z.string().describe("Current v2 league slug from List Leagues or Get Sport By Slug, such as 'nba' or 'nfl'.") });
5
- const PolymarketGetLeagueBySlugOutput = zod.z.object({ league: zod.z.record(zod.z.string(), zod.z.unknown()).describe("League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.") });
5
+ const PolymarketGetLeagueBySlugOutput = zod.z.object({ league: zod.z.record(zod.z.string(), zod.z.unknown()).describe("League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.") }).passthrough();
6
6
  const polymarketGetLeagueBySlug = require_action.action("POLYMARKET_GET_LEAGUE_BY_SLUG", {
7
7
  slug: "polymarket-get-league-by-slug",
8
8
  name: "Get League By Slug",
@@ -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});\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;AAED,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 { 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"}
@@ -6,10 +6,24 @@ declare const PolymarketGetLeagueBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketGetLeagueBySlugOutput: z.ZodObject<{
8
8
  league: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketGetLeagueBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
13
27
  //#endregion
14
28
  export { polymarketGetLeagueBySlug };
15
29
  //# sourceMappingURL=get-league-by-slug.d.cts.map
@@ -6,10 +6,24 @@ declare const PolymarketGetLeagueBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketGetLeagueBySlugOutput: z.ZodObject<{
8
8
  league: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketGetLeagueBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
13
27
  //#endregion
14
28
  export { polymarketGetLeagueBySlug };
15
29
  //# sourceMappingURL=get-league-by-slug.d.mts.map
@@ -5,7 +5,7 @@ const polymarketGetLeagueBySlug = action("POLYMARKET_GET_LEAGUE_BY_SLUG", {
5
5
  name: "Get League By Slug",
6
6
  description: "Get a current Polymarket US v2 league by slug. Use List Leagues or Get Sport By Slug first if the slug is unknown. This is useful for confirming league metadata before listing events for a league such as \"nba\" or \"nfl\". This action does not require API key authentication.",
7
7
  input: z.object({ slug: z.string().describe("Current v2 league slug from List Leagues or Get Sport By Slug, such as 'nba' or 'nfl'.") }),
8
- output: z.object({ league: z.record(z.string(), z.unknown()).describe("League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.") })
8
+ output: z.object({ league: z.record(z.string(), z.unknown()).describe("League metadata for the requested v2 slug. Use the same slug with List Events For League to retrieve active events.") }).passthrough()
9
9
  });
10
10
  //#endregion
11
11
  export { polymarketGetLeagueBySlug };
@@ -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});\n\nexport const polymarketGetLeagueBySlug = action(\"POLYMARKET_GET_LEAGUE_BY_SLUG\", {\n slug: \"polymarket-get-league-by-slug\",\n name: \"Get League By Slug\",\n description: \"Get a current Polymarket US v2 league by slug. Use List Leagues or Get Sport By Slug first if the slug is unknown. This is useful for confirming league metadata before listing events for a league such as \\\"nba\\\" or \\\"nfl\\\". This action does not require API key authentication.\",\n input: PolymarketGetLeagueBySlugInput,\n output: PolymarketGetLeagueBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EACpH,CASS;CACP,QAT6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH,EAC1K,CAOU;AACV,CAAC"}
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"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-market-bbo.ts
4
4
  const PolymarketGetMarketBboInput = zod.z.object({ slug: zod.z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") });
5
- const PolymarketGetMarketBboOutput = zod.z.object({ bbo: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Best bid and offer for the market.") });
5
+ const PolymarketGetMarketBboOutput = zod.z.object({ bbo: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Best bid and offer for the market.") }).passthrough();
6
6
  const polymarketGetMarketBbo = require_action.action("POLYMARKET_GET_MARKET_BBO", {
7
7
  slug: "polymarket-get-market-bbo",
8
8
  name: "Get Market BBO",
@@ -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});\n\nexport const polymarketGetMarketBbo = action(\"POLYMARKET_GET_MARKET_BBO\", {\n slug: \"polymarket-get-market-bbo\",\n name: \"Get Market BBO\",\n description: \"Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketGetMarketBboInput,\n output: PolymarketGetMarketBboOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,EACtF,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -6,10 +6,24 @@ declare const PolymarketGetMarketBboInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketGetMarketBboOutput: z.ZodObject<{
8
8
  bbo: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketGetMarketBbo: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
13
27
  //#endregion
14
28
  export { polymarketGetMarketBbo };
15
29
  //# sourceMappingURL=get-market-bbo.d.cts.map
@@ -6,10 +6,24 @@ declare const PolymarketGetMarketBboInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketGetMarketBboOutput: z.ZodObject<{
8
8
  bbo: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketGetMarketBbo: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
13
27
  //#endregion
14
28
  export { polymarketGetMarketBbo };
15
29
  //# sourceMappingURL=get-market-bbo.d.mts.map
@@ -5,7 +5,7 @@ const polymarketGetMarketBbo = action("POLYMARKET_GET_MARKET_BBO", {
5
5
  name: "Get Market BBO",
6
6
  description: "Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
7
7
  input: z.object({ slug: z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") }),
8
- output: z.object({ bbo: z.record(z.string(), z.unknown()).describe("Best bid and offer for the market.") })
8
+ output: z.object({ bbo: z.record(z.string(), z.unknown()).describe("Best bid and offer for the market.") }).passthrough()
9
9
  });
10
10
  //#endregion
11
11
  export { polymarketGetMarketBbo };
@@ -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});\n\nexport const polymarketGetMarketBbo = action(\"POLYMARKET_GET_MARKET_BBO\", {\n slug: \"polymarket-get-market-bbo\",\n name: \"Get Market BBO\",\n description: \"Get the best bid and offer for one Polymarket US market by slug. Use this lightweight top-of-book read before quoting, previewing, or explaining an order. If the agent needs depth or slippage context, use Get Market Book instead. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketGetMarketBboInput,\n output: PolymarketGetMarketBboOutput,\n});\n"],"mappings":";;AAWA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyC,EAAE,OAAO,EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CASS;CACP,QAT0C,EAAE,OAAO,EACnD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,EACtF,CAOU;AACV,CAAC"}
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"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-market-book.ts
4
4
  const PolymarketGetMarketBookInput = zod.z.object({ slug: zod.z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") });
5
- const PolymarketGetMarketBookOutput = zod.z.object({ book: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Order book for the market.") });
5
+ const PolymarketGetMarketBookOutput = zod.z.object({ book: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Order book for the market.") }).passthrough();
6
6
  const polymarketGetMarketBook = require_action.action("POLYMARKET_GET_MARKET_BOOK", {
7
7
  slug: "polymarket-get-market-book",
8
8
  name: "Get Market Book",
@@ -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});\n\nexport const polymarketGetMarketBook = action(\"POLYMARKET_GET_MARKET_BOOK\", {\n slug: \"polymarket-get-market-book\",\n name: \"Get Market Book\",\n description: \"Get the public order book for one Polymarket US market by slug. Use this before quoting, previewing, or explaining an order when the agent needs depth beyond the top of book. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketGetMarketBookInput,\n output: PolymarketGetMarketBookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EAC/E,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -6,10 +6,24 @@ declare const PolymarketGetMarketBookInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketGetMarketBookOutput: z.ZodObject<{
8
8
  book: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketGetMarketBook: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
13
27
  //#endregion
14
28
  export { polymarketGetMarketBook };
15
29
  //# sourceMappingURL=get-market-book.d.cts.map
@@ -6,10 +6,24 @@ declare const PolymarketGetMarketBookInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketGetMarketBookOutput: z.ZodObject<{
8
8
  book: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketGetMarketBook: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
13
27
  //#endregion
14
28
  export { polymarketGetMarketBook };
15
29
  //# sourceMappingURL=get-market-book.d.mts.map
@@ -5,7 +5,7 @@ const polymarketGetMarketBook = action("POLYMARKET_GET_MARKET_BOOK", {
5
5
  name: "Get Market Book",
6
6
  description: "Get the public order book for one Polymarket US market by slug. Use this before quoting, previewing, or explaining an order when the agent needs depth beyond the top of book. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.",
7
7
  input: z.object({ slug: z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") }),
8
- output: z.object({ book: z.record(z.string(), z.unknown()).describe("Order book for the market.") })
8
+ output: z.object({ book: z.record(z.string(), z.unknown()).describe("Order book for the market.") }).passthrough()
9
9
  });
10
10
  //#endregion
11
11
  export { polymarketGetMarketBook };
@@ -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});\n\nexport const polymarketGetMarketBook = action(\"POLYMARKET_GET_MARKET_BOOK\", {\n slug: \"polymarket-get-market-book\",\n name: \"Get Market Book\",\n description: \"Get the public order book for one Polymarket US market by slug. Use this before quoting, previewing, or explaining an order when the agent needs depth beyond the top of book. The response is market data, not an order placement or order preview. This endpoint requires the market slug, not the numeric market ID, and does not require API key authentication.\",\n input: PolymarketGetMarketBookInput,\n output: PolymarketGetMarketBookOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0C,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CASS;CACP,QAT2C,EAAE,OAAO,EACpD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EAC/E,CAOU;AACV,CAAC"}
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"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-market-by-id.ts
4
4
  const PolymarketGetMarketByIdInput = zod.z.object({ id: zod.z.number().int().describe("Numeric Polymarket US market ID from a discovery response. Do not pass a market slug.") });
5
- const PolymarketGetMarketByIdOutput = zod.z.object({ market: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Market details.") });
5
+ const PolymarketGetMarketByIdOutput = zod.z.object({ market: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Market details.") }).passthrough();
6
6
  const polymarketGetMarketById = require_action.action("POLYMARKET_GET_MARKET_BY_ID", {
7
7
  slug: "polymarket-get-market-by-id",
8
8
  name: "Get Market By ID",
@@ -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});\n\nexport const polymarketGetMarketById = action(\"POLYMARKET_GET_MARKET_BY_ID\", {\n slug: \"polymarket-get-market-by-id\",\n name: \"Get Market By ID\",\n description: \"Get one Polymarket US market by numeric ID from the public gateway API. Use this after market discovery when the caller already has the integer market ID and needs full market metadata. Do not pass slugs here; use Get Market By Slug for slugs. For current pricing before an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.\",\n input: PolymarketGetMarketByIdInput,\n output: PolymarketGetMarketByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,EACvH,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -6,10 +6,24 @@ declare const PolymarketGetMarketByIdInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketGetMarketByIdOutput: z.ZodObject<{
8
8
  market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketGetMarketById: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
13
27
  //#endregion
14
28
  export { polymarketGetMarketById };
15
29
  //# sourceMappingURL=get-market-by-id.d.cts.map
@@ -6,10 +6,24 @@ declare const PolymarketGetMarketByIdInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketGetMarketByIdOutput: z.ZodObject<{
8
8
  market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketGetMarketById: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
13
27
  //#endregion
14
28
  export { polymarketGetMarketById };
15
29
  //# sourceMappingURL=get-market-by-id.d.mts.map
@@ -5,7 +5,7 @@ const polymarketGetMarketById = action("POLYMARKET_GET_MARKET_BY_ID", {
5
5
  name: "Get Market By ID",
6
6
  description: "Get one Polymarket US market by numeric ID from the public gateway API. Use this after market discovery when the caller already has the integer market ID and needs full market metadata. Do not pass slugs here; use Get Market By Slug for slugs. For current pricing before an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.",
7
7
  input: z.object({ id: z.number().int().describe("Numeric Polymarket US market ID from a discovery response. Do not pass a market slug.") }),
8
- output: z.object({ market: z.record(z.string(), z.unknown()).describe("Market details.") })
8
+ output: z.object({ market: z.record(z.string(), z.unknown()).describe("Market details.") }).passthrough()
9
9
  });
10
10
  //#endregion
11
11
  export { polymarketGetMarketById };
@@ -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});\n\nexport const polymarketGetMarketById = action(\"POLYMARKET_GET_MARKET_BY_ID\", {\n slug: \"polymarket-get-market-by-id\",\n name: \"Get Market By ID\",\n description: \"Get one Polymarket US market by numeric ID from the public gateway API. Use this after market discovery when the caller already has the integer market ID and needs full market metadata. Do not pass slugs here; use Get Market By Slug for slugs. For current pricing before an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.\",\n input: PolymarketGetMarketByIdInput,\n output: PolymarketGetMarketByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,EACvH,CASS;CACP,QAT2C,EAAE,OAAO,EACpD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAOU;AACV,CAAC"}
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"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-market-by-slug.ts
4
4
  const PolymarketGetMarketBySlugInput = zod.z.object({ slug: zod.z.string().describe("Market slug from a Polymarket US market URL or discovery response. Do not pass the numeric market ID.") });
5
- const PolymarketGetMarketBySlugOutput = zod.z.object({ market: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Market details.") });
5
+ const PolymarketGetMarketBySlugOutput = zod.z.object({ market: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Market details.") }).passthrough();
6
6
  const polymarketGetMarketBySlug = require_action.action("POLYMARKET_GET_MARKET_BY_SLUG", {
7
7
  slug: "polymarket-get-market-by-slug",
8
8
  name: "Get Market By Slug",
@@ -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});\n\nexport const polymarketGetMarketBySlug = action(\"POLYMARKET_GET_MARKET_BY_SLUG\", {\n slug: \"polymarket-get-market-by-slug\",\n name: \"Get Market By Slug\",\n description: \"Get one Polymarket US market by slug from the public gateway API. Use this after search/list discovery or when parsing a Polymarket market URL. Do not pass numeric IDs here; use Get Market By ID for integer IDs. For current pricing before quoting, previewing, or placing an order, follow with Get Market BBO or Get Market Book. This read-only action does not require API key authentication.\",\n input: PolymarketGetMarketBySlugInput,\n output: PolymarketGetMarketBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,EACtE,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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"}
@@ -6,10 +6,24 @@ declare const PolymarketGetMarketBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketGetMarketBySlugOutput: z.ZodObject<{
8
8
  market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketGetMarketBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
13
27
  //#endregion
14
28
  export { polymarketGetMarketBySlug };
15
29
  //# sourceMappingURL=get-market-by-slug.d.cts.map
@@ -6,10 +6,24 @@ declare const PolymarketGetMarketBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketGetMarketBySlugOutput: z.ZodObject<{
8
8
  market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketGetMarketBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
13
27
  //#endregion
14
28
  export { polymarketGetMarketBySlug };
15
29
  //# sourceMappingURL=get-market-by-slug.d.mts.map