@keystrokehq/polymarket_us 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
@@ -6,10 +6,24 @@ declare const PolymarketUsGetSeriesByIdInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetSeriesByIdOutput: z.ZodObject<{
8
8
  series: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetSeriesById: 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_us", 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_us", 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 { polymarketUsGetSeriesById };
15
29
  //# sourceMappingURL=get-series-by-id.d.mts.map
@@ -5,7 +5,7 @@ const polymarketUsGetSeriesById = action("POLYMARKET_US_GET_SERIES_BY_ID", {
5
5
  name: "Get Series By ID",
6
6
  description: "Get a Polymarket US series by numeric ID. Series are recurring or grouped event collections. Use this action when an agent has a series ID and needs the slug, active status, recurrence, or other public metadata before fetching related events or markets. This action does not require API key authentication.",
7
7
  input: z.object({ id: z.number().int().describe("Numeric series ID returned by List Series or related event data.") }),
8
- output: z.object({ series: z.record(z.string(), z.unknown()).describe("Series metadata for a recurring or grouped event collection, including slug, active status, recurrence, and related metadata when returned.") })
8
+ output: z.object({ series: z.record(z.string(), z.unknown()).describe("Series metadata for a recurring or grouped event collection, including slug, active status, recurrence, and related metadata when returned.") }).passthrough()
9
9
  });
10
10
  //#endregion
11
11
  export { polymarketUsGetSeriesById };
@@ -1 +1 @@
1
- {"version":3,"file":"get-series-by-id.mjs","names":[],"sources":["../../src/actions/get-series-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSeriesByIdInput = z.object({\n id: z.number().int().describe(\"Numeric series ID returned by List Series or related event data.\"),\n});\nexport const PolymarketUsGetSeriesByIdOutput = z.object({\n series: z.record(z.string(), z.unknown()).describe(\"Series metadata for a recurring or grouped event collection, including slug, active status, recurrence, and related metadata when returned.\"),\n});\n\nexport const polymarketUsGetSeriesById = action(\"POLYMARKET_US_GET_SERIES_BY_ID\", {\n slug: \"polymarket_us-get-series-by-id\",\n name: \"Get Series By ID\",\n description: \"Get a Polymarket US series by numeric ID. Series are recurring or grouped event collections. Use this action when an agent has a series ID and needs the slug, active status, recurrence, or other public metadata before fetching related events or markets. This action does not require API key authentication.\",\n input: PolymarketUsGetSeriesByIdInput,\n output: PolymarketUsGetSeriesByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,EAClG,CASS;CACP,QAT6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,EAClM,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-series-by-id.mjs","names":[],"sources":["../../src/actions/get-series-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSeriesByIdInput = z.object({\n id: z.number().int().describe(\"Numeric series ID returned by List Series or related event data.\"),\n});\nexport const PolymarketUsGetSeriesByIdOutput = z.object({\n series: z.record(z.string(), z.unknown()).describe(\"Series metadata for a recurring or grouped event collection, including slug, active status, recurrence, and related metadata when returned.\"),\n}).passthrough();\n\nexport const polymarketUsGetSeriesById = action(\"POLYMARKET_US_GET_SERIES_BY_ID\", {\n slug: \"polymarket_us-get-series-by-id\",\n name: \"Get Series By ID\",\n description: \"Get a Polymarket US series by numeric ID. Series are recurring or grouped event collections. Use this action when an agent has a series ID and needs the slug, active status, recurrence, or other public metadata before fetching related events or markets. This action does not require API key authentication.\",\n input: PolymarketUsGetSeriesByIdInput,\n output: PolymarketUsGetSeriesByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,EAClG,CASS;CACP,QAT6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6IAA6I,EAClM,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-sport-by-slug.ts
4
4
  const PolymarketUsGetSportBySlugInput = zod.z.object({ slug: zod.z.string().describe("Current v2 sport slug from List Sports. Examples include 'football' and 'basketball'.") });
5
- const PolymarketUsGetSportBySlugOutput = zod.z.object({ sport: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Sport details with attached leagues. Use league slugs from this response with Get League By Slug or List Events For League.") });
5
+ const PolymarketUsGetSportBySlugOutput = zod.z.object({ sport: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Sport details with attached leagues. Use league slugs from this response with Get League By Slug or List Events For League.") }).passthrough();
6
6
  const polymarketUsGetSportBySlug = require_action.action("POLYMARKET_US_GET_SPORT_BY_SLUG", {
7
7
  slug: "polymarket_us-get-sport-by-slug",
8
8
  name: "Get Sport By Slug",
@@ -1 +1 @@
1
- {"version":3,"file":"get-sport-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-sport-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSportBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 sport slug from List Sports. Examples include 'football' and 'basketball'.\"),\n});\nexport const PolymarketUsGetSportBySlugOutput = z.object({\n sport: z.record(z.string(), z.unknown()).describe(\"Sport details with attached leagues. Use league slugs from this response with Get League By Slug or List Events For League.\"),\n});\n\nexport const polymarketUsGetSportBySlug = action(\"POLYMARKET_US_GET_SPORT_BY_SLUG\", {\n slug: \"polymarket_us-get-sport-by-slug\",\n name: \"Get Sport By Slug\",\n description: \"Get a current Polymarket US v2 sport by slug. Use List Sports first if the slug is unknown. The response includes the sport metadata and leagues attached to that sport, which helps agents move from broad sport browsing to league-specific event discovery. This action does not require API key authentication.\",\n input: PolymarketUsGetSportBySlugInput,\n output: PolymarketUsGetSportBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,EACnH,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,EACjL,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-sport-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-sport-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSportBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 sport slug from List Sports. Examples include 'football' and 'basketball'.\"),\n});\nexport const PolymarketUsGetSportBySlugOutput = z.object({\n sport: z.record(z.string(), z.unknown()).describe(\"Sport details with attached leagues. Use league slugs from this response with Get League By Slug or List Events For League.\"),\n}).passthrough();\n\nexport const polymarketUsGetSportBySlug = action(\"POLYMARKET_US_GET_SPORT_BY_SLUG\", {\n slug: \"polymarket_us-get-sport-by-slug\",\n name: \"Get Sport By Slug\",\n description: \"Get a current Polymarket US v2 sport by slug. Use List Sports first if the slug is unknown. The response includes the sport metadata and leagues attached to that sport, which helps agents move from broad sport browsing to league-specific event discovery. This action does not require API key authentication.\",\n input: PolymarketUsGetSportBySlugInput,\n output: PolymarketUsGetSportBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,EACnH,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,EACjL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,10 +6,24 @@ declare const PolymarketUsGetSportBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetSportBySlugOutput: z.ZodObject<{
8
8
  sport: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetSportBySlug: 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_us", 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_us", 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 { polymarketUsGetSportBySlug };
15
29
  //# sourceMappingURL=get-sport-by-slug.d.cts.map
@@ -6,10 +6,24 @@ declare const PolymarketUsGetSportBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetSportBySlugOutput: z.ZodObject<{
8
8
  sport: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetSportBySlug: 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_us", 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_us", 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 { polymarketUsGetSportBySlug };
15
29
  //# sourceMappingURL=get-sport-by-slug.d.mts.map
@@ -5,7 +5,7 @@ const polymarketUsGetSportBySlug = action("POLYMARKET_US_GET_SPORT_BY_SLUG", {
5
5
  name: "Get Sport By Slug",
6
6
  description: "Get a current Polymarket US v2 sport by slug. Use List Sports first if the slug is unknown. The response includes the sport metadata and leagues attached to that sport, which helps agents move from broad sport browsing to league-specific event discovery. This action does not require API key authentication.",
7
7
  input: z.object({ slug: z.string().describe("Current v2 sport slug from List Sports. Examples include 'football' and 'basketball'.") }),
8
- output: z.object({ sport: z.record(z.string(), z.unknown()).describe("Sport details with attached leagues. Use league slugs from this response with Get League By Slug or List Events For League.") })
8
+ output: z.object({ sport: z.record(z.string(), z.unknown()).describe("Sport details with attached leagues. Use league slugs from this response with Get League By Slug or List Events For League.") }).passthrough()
9
9
  });
10
10
  //#endregion
11
11
  export { polymarketUsGetSportBySlug };
@@ -1 +1 @@
1
- {"version":3,"file":"get-sport-by-slug.mjs","names":[],"sources":["../../src/actions/get-sport-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSportBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 sport slug from List Sports. Examples include 'football' and 'basketball'.\"),\n});\nexport const PolymarketUsGetSportBySlugOutput = z.object({\n sport: z.record(z.string(), z.unknown()).describe(\"Sport details with attached leagues. Use league slugs from this response with Get League By Slug or List Events For League.\"),\n});\n\nexport const polymarketUsGetSportBySlug = action(\"POLYMARKET_US_GET_SPORT_BY_SLUG\", {\n slug: \"polymarket_us-get-sport-by-slug\",\n name: \"Get Sport By Slug\",\n description: \"Get a current Polymarket US v2 sport by slug. Use List Sports first if the slug is unknown. The response includes the sport metadata and leagues attached to that sport, which helps agents move from broad sport browsing to league-specific event discovery. This action does not require API key authentication.\",\n input: PolymarketUsGetSportBySlugInput,\n output: PolymarketUsGetSportBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX6C,EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,EACnH,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,EACjL,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-sport-by-slug.mjs","names":[],"sources":["../../src/actions/get-sport-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSportBySlugInput = z.object({\n slug: z.string().describe(\"Current v2 sport slug from List Sports. Examples include 'football' and 'basketball'.\"),\n});\nexport const PolymarketUsGetSportBySlugOutput = z.object({\n sport: z.record(z.string(), z.unknown()).describe(\"Sport details with attached leagues. Use league slugs from this response with Get League By Slug or List Events For League.\"),\n}).passthrough();\n\nexport const polymarketUsGetSportBySlug = action(\"POLYMARKET_US_GET_SPORT_BY_SLUG\", {\n slug: \"polymarket_us-get-sport-by-slug\",\n name: \"Get Sport By Slug\",\n description: \"Get a current Polymarket US v2 sport by slug. Use List Sports first if the slug is unknown. The response includes the sport metadata and leagues attached to that sport, which helps agents move from broad sport browsing to league-specific event discovery. This action does not require API key authentication.\",\n input: PolymarketUsGetSportBySlugInput,\n output: PolymarketUsGetSportBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX6C,EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,EACnH,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,EACjL,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-subject-by-id.ts
4
4
  const PolymarketUsGetSubjectByIdInput = zod.z.object({ id: zod.z.number().int().describe("Numeric subject ID returned by List Subjects or a market response.") });
5
- const PolymarketUsGetSubjectByIdOutput = zod.z.object({ subject: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Subject metadata, including name, display name, slug, subject type, image, and styling fields.") });
5
+ const PolymarketUsGetSubjectByIdOutput = zod.z.object({ subject: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Subject metadata, including name, display name, slug, subject type, image, and styling fields.") }).passthrough();
6
6
  const polymarketUsGetSubjectById = require_action.action("POLYMARKET_US_GET_SUBJECT_BY_ID", {
7
7
  slug: "polymarket_us-get-subject-by-id",
8
8
  name: "Get Subject By ID",
@@ -1 +1 @@
1
- {"version":3,"file":"get-subject-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-subject-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSubjectByIdInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID returned by List Subjects or a market response.\"),\n});\nexport const PolymarketUsGetSubjectByIdOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including name, display name, slug, subject type, image, and styling fields.\"),\n});\n\nexport const polymarketUsGetSubjectById = action(\"POLYMARKET_US_GET_SUBJECT_BY_ID\", {\n slug: \"polymarket_us-get-subject-by-id\",\n name: \"Get Subject By ID\",\n description: \"Get a Polymarket US subject entity by numeric ID. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent already has a subject ID and needs its slug, type, or display metadata. This action does not require API key authentication.\",\n input: PolymarketUsGetSubjectByIdInput,\n output: PolymarketUsGetSubjectByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,EACpG,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,EACtJ,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-subject-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-subject-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSubjectByIdInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID returned by List Subjects or a market response.\"),\n});\nexport const PolymarketUsGetSubjectByIdOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including name, display name, slug, subject type, image, and styling fields.\"),\n}).passthrough();\n\nexport const polymarketUsGetSubjectById = action(\"POLYMARKET_US_GET_SUBJECT_BY_ID\", {\n slug: \"polymarket_us-get-subject-by-id\",\n name: \"Get Subject By ID\",\n description: \"Get a Polymarket US subject entity by numeric ID. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent already has a subject ID and needs its slug, type, or display metadata. This action does not require API key authentication.\",\n input: PolymarketUsGetSubjectByIdInput,\n output: PolymarketUsGetSubjectByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,EACpG,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,EACtJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,10 +6,24 @@ declare const PolymarketUsGetSubjectByIdInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetSubjectByIdOutput: z.ZodObject<{
8
8
  subject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetSubjectById: 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_us", 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_us", 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 { polymarketUsGetSubjectById };
15
29
  //# sourceMappingURL=get-subject-by-id.d.cts.map
@@ -6,10 +6,24 @@ declare const PolymarketUsGetSubjectByIdInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetSubjectByIdOutput: z.ZodObject<{
8
8
  subject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetSubjectById: 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_us", 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_us", 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 { polymarketUsGetSubjectById };
15
29
  //# sourceMappingURL=get-subject-by-id.d.mts.map
@@ -5,7 +5,7 @@ const polymarketUsGetSubjectById = action("POLYMARKET_US_GET_SUBJECT_BY_ID", {
5
5
  name: "Get Subject By ID",
6
6
  description: "Get a Polymarket US subject entity by numeric ID. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent already has a subject ID and needs its slug, type, or display metadata. This action does not require API key authentication.",
7
7
  input: z.object({ id: z.number().int().describe("Numeric subject ID returned by List Subjects or a market response.") }),
8
- output: z.object({ subject: z.record(z.string(), z.unknown()).describe("Subject metadata, including name, display name, slug, subject type, image, and styling fields.") })
8
+ output: z.object({ subject: z.record(z.string(), z.unknown()).describe("Subject metadata, including name, display name, slug, subject type, image, and styling fields.") }).passthrough()
9
9
  });
10
10
  //#endregion
11
11
  export { polymarketUsGetSubjectById };
@@ -1 +1 @@
1
- {"version":3,"file":"get-subject-by-id.mjs","names":[],"sources":["../../src/actions/get-subject-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSubjectByIdInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID returned by List Subjects or a market response.\"),\n});\nexport const PolymarketUsGetSubjectByIdOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including name, display name, slug, subject type, image, and styling fields.\"),\n});\n\nexport const polymarketUsGetSubjectById = action(\"POLYMARKET_US_GET_SUBJECT_BY_ID\", {\n slug: \"polymarket_us-get-subject-by-id\",\n name: \"Get Subject By ID\",\n description: \"Get a Polymarket US subject entity by numeric ID. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent already has a subject ID and needs its slug, type, or display metadata. This action does not require API key authentication.\",\n input: PolymarketUsGetSubjectByIdInput,\n output: PolymarketUsGetSubjectByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX6C,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,EACpG,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,EACtJ,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-subject-by-id.mjs","names":[],"sources":["../../src/actions/get-subject-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSubjectByIdInput = z.object({\n id: z.number().int().describe(\"Numeric subject ID returned by List Subjects or a market response.\"),\n});\nexport const PolymarketUsGetSubjectByIdOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including name, display name, slug, subject type, image, and styling fields.\"),\n}).passthrough();\n\nexport const polymarketUsGetSubjectById = action(\"POLYMARKET_US_GET_SUBJECT_BY_ID\", {\n slug: \"polymarket_us-get-subject-by-id\",\n name: \"Get Subject By ID\",\n description: \"Get a Polymarket US subject entity by numeric ID. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent already has a subject ID and needs its slug, type, or display metadata. This action does not require API key authentication.\",\n input: PolymarketUsGetSubjectByIdInput,\n output: PolymarketUsGetSubjectByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX6C,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,EACpG,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gGAAgG,EACtJ,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-subject-by-slug.ts
4
4
  const PolymarketUsGetSubjectBySlugInput = zod.z.object({ slug: zod.z.string().describe("URL-safe subject slug for a team, person, candidate, player, nominee, or other market entity.") });
5
- const PolymarketUsGetSubjectBySlugOutput = zod.z.object({ subject: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Subject metadata, including ID, name, display name, subject type, image, and styling fields.") });
5
+ const PolymarketUsGetSubjectBySlugOutput = zod.z.object({ subject: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Subject metadata, including ID, name, display name, subject type, image, and styling fields.") }).passthrough();
6
6
  const polymarketUsGetSubjectBySlug = require_action.action("POLYMARKET_US_GET_SUBJECT_BY_SLUG", {
7
7
  slug: "polymarket_us-get-subject-by-slug",
8
8
  name: "Get Subject By Slug",
@@ -1 +1 @@
1
- {"version":3,"file":"get-subject-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSubjectBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe subject slug for a team, person, candidate, player, nominee, or other market entity.\"),\n});\nexport const PolymarketUsGetSubjectBySlugOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including ID, name, display name, subject type, image, and styling fields.\"),\n});\n\nexport const polymarketUsGetSubjectBySlug = action(\"POLYMARKET_US_GET_SUBJECT_BY_SLUG\", {\n slug: \"polymarket_us-get-subject-by-slug\",\n name: \"Get Subject By Slug\",\n description: \"Get a Polymarket US subject entity by slug. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent has a subject slug from a URL or search result and needs the subject ID or display metadata. This action does not require API key authentication.\",\n input: PolymarketUsGetSubjectBySlugInput,\n output: PolymarketUsGetSubjectBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EAC3H,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,EACpJ,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-subject-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSubjectBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe subject slug for a team, person, candidate, player, nominee, or other market entity.\"),\n});\nexport const PolymarketUsGetSubjectBySlugOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including ID, name, display name, subject type, image, and styling fields.\"),\n}).passthrough();\n\nexport const polymarketUsGetSubjectBySlug = action(\"POLYMARKET_US_GET_SUBJECT_BY_SLUG\", {\n slug: \"polymarket_us-get-subject-by-slug\",\n name: \"Get Subject By Slug\",\n description: \"Get a Polymarket US subject entity by slug. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent has a subject slug from a URL or search result and needs the subject ID or display metadata. This action does not require API key authentication.\",\n input: PolymarketUsGetSubjectBySlugInput,\n output: PolymarketUsGetSubjectBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EAC3H,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,EACpJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,10 +6,24 @@ declare const PolymarketUsGetSubjectBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetSubjectBySlugOutput: z.ZodObject<{
8
8
  subject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetSubjectBySlug: 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_us", 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_us", 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 { polymarketUsGetSubjectBySlug };
15
29
  //# sourceMappingURL=get-subject-by-slug.d.cts.map
@@ -6,10 +6,24 @@ declare const PolymarketUsGetSubjectBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetSubjectBySlugOutput: z.ZodObject<{
8
8
  subject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetSubjectBySlug: 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_us", 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_us", 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 { polymarketUsGetSubjectBySlug };
15
29
  //# sourceMappingURL=get-subject-by-slug.d.mts.map
@@ -5,7 +5,7 @@ const polymarketUsGetSubjectBySlug = action("POLYMARKET_US_GET_SUBJECT_BY_SLUG",
5
5
  name: "Get Subject By Slug",
6
6
  description: "Get a Polymarket US subject entity by slug. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent has a subject slug from a URL or search result and needs the subject ID or display metadata. This action does not require API key authentication.",
7
7
  input: z.object({ slug: z.string().describe("URL-safe subject slug for a team, person, candidate, player, nominee, or other market entity.") }),
8
- output: z.object({ subject: z.record(z.string(), z.unknown()).describe("Subject metadata, including ID, name, display name, subject type, image, and styling fields.") })
8
+ output: z.object({ subject: z.record(z.string(), z.unknown()).describe("Subject metadata, including ID, name, display name, subject type, image, and styling fields.") }).passthrough()
9
9
  });
10
10
  //#endregion
11
11
  export { polymarketUsGetSubjectBySlug };
@@ -1 +1 @@
1
- {"version":3,"file":"get-subject-by-slug.mjs","names":[],"sources":["../../src/actions/get-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSubjectBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe subject slug for a team, person, candidate, player, nominee, or other market entity.\"),\n});\nexport const PolymarketUsGetSubjectBySlugOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including ID, name, display name, subject type, image, and styling fields.\"),\n});\n\nexport const polymarketUsGetSubjectBySlug = action(\"POLYMARKET_US_GET_SUBJECT_BY_SLUG\", {\n slug: \"polymarket_us-get-subject-by-slug\",\n name: \"Get Subject By Slug\",\n description: \"Get a Polymarket US subject entity by slug. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent has a subject slug from a URL or search result and needs the subject ID or display metadata. This action does not require API key authentication.\",\n input: PolymarketUsGetSubjectBySlugInput,\n output: PolymarketUsGetSubjectBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX+C,EAAE,OAAO,EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EAC3H,CASS;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,EACpJ,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-subject-by-slug.mjs","names":[],"sources":["../../src/actions/get-subject-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetSubjectBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe subject slug for a team, person, candidate, player, nominee, or other market entity.\"),\n});\nexport const PolymarketUsGetSubjectBySlugOutput = z.object({\n subject: z.record(z.string(), z.unknown()).describe(\"Subject metadata, including ID, name, display name, subject type, image, and styling fields.\"),\n}).passthrough();\n\nexport const polymarketUsGetSubjectBySlug = action(\"POLYMARKET_US_GET_SUBJECT_BY_SLUG\", {\n slug: \"polymarket_us-get-subject-by-slug\",\n name: \"Get Subject By Slug\",\n description: \"Get a Polymarket US subject entity by slug. Subjects represent teams, people, candidates, players, nominees, and other named entities attached to markets. Use this action when an agent has a subject slug from a URL or search result and needs the subject ID or display metadata. This action does not require API key authentication.\",\n input: PolymarketUsGetSubjectBySlugInput,\n output: PolymarketUsGetSubjectBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX+C,EAAE,OAAO,EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EAC3H,CASS;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,EACpJ,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-tag-by-id.ts
4
4
  const PolymarketUsGetTagByIdInput = zod.z.object({ id: zod.z.number().int().describe("Numeric tag ID returned by List Tags or another tag response.") });
5
- const PolymarketUsGetTagByIdOutput = zod.z.object({ tag: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.") });
5
+ const PolymarketUsGetTagByIdOutput = zod.z.object({ tag: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.") }).passthrough();
6
6
  const polymarketUsGetTagById = require_action.action("POLYMARKET_US_GET_TAG_BY_ID", {
7
7
  slug: "polymarket_us-get-tag-by-id",
8
8
  name: "Get Tag By ID",
@@ -1 +1 @@
1
- {"version":3,"file":"get-tag-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-tag-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetTagByIdInput = z.object({\n id: z.number().int().describe(\"Numeric tag ID returned by List Tags or another tag response.\"),\n});\nexport const PolymarketUsGetTagByIdOutput = z.object({\n tag: z.record(z.string(), z.unknown()).describe(\"Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.\"),\n});\n\nexport const polymarketUsGetTagById = action(\"POLYMARKET_US_GET_TAG_BY_ID\", {\n slug: \"polymarket_us-get-tag-by-id\",\n name: \"Get Tag By ID\",\n description: \"Get a Polymarket US topic, sport, or league tag by numeric ID. Use this action after List Tags or a market/event response returns a tag ID and the agent needs the tag label, slug, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.\",\n input: PolymarketUsGetTagByIdInput,\n output: PolymarketUsGetTagByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kHAAkH,EACpK,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,+BAA+B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-tag-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-tag-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetTagByIdInput = z.object({\n id: z.number().int().describe(\"Numeric tag ID returned by List Tags or another tag response.\"),\n});\nexport const PolymarketUsGetTagByIdOutput = z.object({\n tag: z.record(z.string(), z.unknown()).describe(\"Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.\"),\n}).passthrough();\n\nexport const polymarketUsGetTagById = action(\"POLYMARKET_US_GET_TAG_BY_ID\", {\n slug: \"polymarket_us-get-tag-by-id\",\n name: \"Get Tag By ID\",\n description: \"Get a Polymarket US topic, sport, or league tag by numeric ID. Use this action after List Tags or a market/event response returns a tag ID and the agent needs the tag label, slug, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.\",\n input: PolymarketUsGetTagByIdInput,\n output: PolymarketUsGetTagByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kHAAkH,EACpK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,+BAA+B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,10 +6,24 @@ declare const PolymarketUsGetTagByIdInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetTagByIdOutput: z.ZodObject<{
8
8
  tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetTagById: 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_us", 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_us", 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 { polymarketUsGetTagById };
15
29
  //# sourceMappingURL=get-tag-by-id.d.cts.map
@@ -6,10 +6,24 @@ declare const PolymarketUsGetTagByIdInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetTagByIdOutput: z.ZodObject<{
8
8
  tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetTagById: 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_us", 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_us", 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 { polymarketUsGetTagById };
15
29
  //# sourceMappingURL=get-tag-by-id.d.mts.map
@@ -5,7 +5,7 @@ const polymarketUsGetTagById = action("POLYMARKET_US_GET_TAG_BY_ID", {
5
5
  name: "Get Tag By ID",
6
6
  description: "Get a Polymarket US topic, sport, or league tag by numeric ID. Use this action after List Tags or a market/event response returns a tag ID and the agent needs the tag label, slug, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.",
7
7
  input: z.object({ id: z.number().int().describe("Numeric tag ID returned by List Tags or another tag response.") }),
8
- output: z.object({ tag: z.record(z.string(), z.unknown()).describe("Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.") })
8
+ output: z.object({ tag: z.record(z.string(), z.unknown()).describe("Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.") }).passthrough()
9
9
  });
10
10
  //#endregion
11
11
  export { polymarketUsGetTagById };
@@ -1 +1 @@
1
- {"version":3,"file":"get-tag-by-id.mjs","names":[],"sources":["../../src/actions/get-tag-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetTagByIdInput = z.object({\n id: z.number().int().describe(\"Numeric tag ID returned by List Tags or another tag response.\"),\n});\nexport const PolymarketUsGetTagByIdOutput = z.object({\n tag: z.record(z.string(), z.unknown()).describe(\"Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.\"),\n});\n\nexport const polymarketUsGetTagById = action(\"POLYMARKET_US_GET_TAG_BY_ID\", {\n slug: \"polymarket_us-get-tag-by-id\",\n name: \"Get Tag By ID\",\n description: \"Get a Polymarket US topic, sport, or league tag by numeric ID. Use this action after List Tags or a market/event response returns a tag ID and the agent needs the tag label, slug, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.\",\n input: PolymarketUsGetTagByIdInput,\n output: PolymarketUsGetTagByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,yBAAyB,OAAO,+BAA+B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CASS;CACP,QAT0C,EAAE,OAAO,EACnD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kHAAkH,EACpK,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-tag-by-id.mjs","names":[],"sources":["../../src/actions/get-tag-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetTagByIdInput = z.object({\n id: z.number().int().describe(\"Numeric tag ID returned by List Tags or another tag response.\"),\n});\nexport const PolymarketUsGetTagByIdOutput = z.object({\n tag: z.record(z.string(), z.unknown()).describe(\"Tag metadata, including label, slug, optional sport/league details, parent ID, and child subtags when available.\"),\n}).passthrough();\n\nexport const polymarketUsGetTagById = action(\"POLYMARKET_US_GET_TAG_BY_ID\", {\n slug: \"polymarket_us-get-tag-by-id\",\n name: \"Get Tag By ID\",\n description: \"Get a Polymarket US topic, sport, or league tag by numeric ID. Use this action after List Tags or a market/event response returns a tag ID and the agent needs the tag label, slug, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.\",\n input: PolymarketUsGetTagByIdInput,\n output: PolymarketUsGetTagByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,yBAAyB,OAAO,+BAA+B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CASS;CACP,QAT0C,EAAE,OAAO,EACnD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kHAAkH,EACpK,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-tag-by-slug.ts
4
4
  const PolymarketUsGetTagBySlugInput = zod.z.object({ slug: zod.z.string().describe("URL-safe tag slug for a topic, sport, or league filter.") });
5
- const PolymarketUsGetTagBySlugOutput = zod.z.object({ tag: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.") });
5
+ const PolymarketUsGetTagBySlugOutput = zod.z.object({ tag: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.") }).passthrough();
6
6
  const polymarketUsGetTagBySlug = require_action.action("POLYMARKET_US_GET_TAG_BY_SLUG", {
7
7
  slug: "polymarket_us-get-tag-by-slug",
8
8
  name: "Get Tag By Slug",
@@ -1 +1 @@
1
- {"version":3,"file":"get-tag-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-tag-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetTagBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe tag slug for a topic, sport, or league filter.\"),\n});\nexport const PolymarketUsGetTagBySlugOutput = z.object({\n tag: z.record(z.string(), z.unknown()).describe(\"Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.\"),\n});\n\nexport const polymarketUsGetTagBySlug = action(\"POLYMARKET_US_GET_TAG_BY_SLUG\", {\n slug: \"polymarket_us-get-tag-by-slug\",\n name: \"Get Tag By Slug\",\n description: \"Get a Polymarket US topic, sport, or league tag by slug. Use this action when an agent has a URL-safe tag slug, such as nba or sports, and needs the tag ID, label, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.\",\n input: PolymarketUsGetTagBySlugInput,\n output: PolymarketUsGetTagBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACrF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,EAClK,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-tag-by-slug.cjs","names":["z","action"],"sources":["../../src/actions/get-tag-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetTagBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe tag slug for a topic, sport, or league filter.\"),\n});\nexport const PolymarketUsGetTagBySlugOutput = z.object({\n tag: z.record(z.string(), z.unknown()).describe(\"Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.\"),\n}).passthrough();\n\nexport const polymarketUsGetTagBySlug = action(\"POLYMARKET_US_GET_TAG_BY_SLUG\", {\n slug: \"polymarket_us-get-tag-by-slug\",\n name: \"Get Tag By Slug\",\n description: \"Get a Polymarket US topic, sport, or league tag by slug. Use this action when an agent has a URL-safe tag slug, such as nba or sports, and needs the tag ID, label, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.\",\n input: PolymarketUsGetTagBySlugInput,\n output: PolymarketUsGetTagBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACrF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,EAClK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,10 +6,24 @@ declare const PolymarketUsGetTagBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetTagBySlugOutput: z.ZodObject<{
8
8
  tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetTagBySlug: 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_us", 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_us", 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 { polymarketUsGetTagBySlug };
15
29
  //# sourceMappingURL=get-tag-by-slug.d.cts.map
@@ -6,10 +6,24 @@ declare const PolymarketUsGetTagBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetTagBySlugOutput: z.ZodObject<{
8
8
  tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetTagBySlug: 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_us", 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_us", 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 { polymarketUsGetTagBySlug };
15
29
  //# sourceMappingURL=get-tag-by-slug.d.mts.map
@@ -5,7 +5,7 @@ const polymarketUsGetTagBySlug = action("POLYMARKET_US_GET_TAG_BY_SLUG", {
5
5
  name: "Get Tag By Slug",
6
6
  description: "Get a Polymarket US topic, sport, or league tag by slug. Use this action when an agent has a URL-safe tag slug, such as nba or sports, and needs the tag ID, label, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.",
7
7
  input: z.object({ slug: z.string().describe("URL-safe tag slug for a topic, sport, or league filter.") }),
8
- output: z.object({ tag: z.record(z.string(), z.unknown()).describe("Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.") })
8
+ output: z.object({ tag: z.record(z.string(), z.unknown()).describe("Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.") }).passthrough()
9
9
  });
10
10
  //#endregion
11
11
  export { polymarketUsGetTagBySlug };
@@ -1 +1 @@
1
- {"version":3,"file":"get-tag-by-slug.mjs","names":[],"sources":["../../src/actions/get-tag-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetTagBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe tag slug for a topic, sport, or league filter.\"),\n});\nexport const PolymarketUsGetTagBySlugOutput = z.object({\n tag: z.record(z.string(), z.unknown()).describe(\"Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.\"),\n});\n\nexport const polymarketUsGetTagBySlug = action(\"POLYMARKET_US_GET_TAG_BY_SLUG\", {\n slug: \"polymarket_us-get-tag-by-slug\",\n name: \"Get Tag By Slug\",\n description: \"Get a Polymarket US topic, sport, or league tag by slug. Use this action when an agent has a URL-safe tag slug, such as nba or sports, and needs the tag ID, label, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.\",\n input: PolymarketUsGetTagBySlugInput,\n output: PolymarketUsGetTagBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACrF,CASS;CACP,QAT4C,EAAE,OAAO,EACrD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,EAClK,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-tag-by-slug.mjs","names":[],"sources":["../../src/actions/get-tag-by-slug.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetTagBySlugInput = z.object({\n slug: z.string().describe(\"URL-safe tag slug for a topic, sport, or league filter.\"),\n});\nexport const PolymarketUsGetTagBySlugOutput = z.object({\n tag: z.record(z.string(), z.unknown()).describe(\"Tag metadata, including label, ID, optional sport/league details, parent ID, and child subtags when available.\"),\n}).passthrough();\n\nexport const polymarketUsGetTagBySlug = action(\"POLYMARKET_US_GET_TAG_BY_SLUG\", {\n slug: \"polymarket_us-get-tag-by-slug\",\n name: \"Get Tag By Slug\",\n description: \"Get a Polymarket US topic, sport, or league tag by slug. Use this action when an agent has a URL-safe tag slug, such as nba or sports, and needs the tag ID, label, hierarchy, or sport/league metadata for filtering or display. This action does not require API key authentication.\",\n input: PolymarketUsGetTagBySlugInput,\n output: PolymarketUsGetTagBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACrF,CASS;CACP,QAT4C,EAAE,OAAO,EACrD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,EAClK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -11,7 +11,7 @@ const PolymarketUsGetUserPositionsOutput = zod.z.object({
11
11
  positions: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Map of market slug to this authenticated account's position details."),
12
12
  nextCursor: zod.z.string().describe("Cursor for the next page, when another page exists.").nullable().optional(),
13
13
  availablePositions: zod.z.array(zod.z.string()).describe("Position quantities available to trade after accounting for open orders.").nullable().optional()
14
- });
14
+ }).passthrough();
15
15
  const polymarketUsGetUserPositions = require_action.action("POLYMARKET_US_GET_USER_POSITIONS", {
16
16
  slug: "polymarket_us-get-user-positions",
17
17
  name: "Get User Positions",
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-positions.cjs","names":["z","action"],"sources":["../../src/actions/get-user-positions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetUserPositionsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of account-specific positions to return per page. Use with cursor for pagination; omit cursor on the first request.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response's nextCursor field. Omit for the first page.\").optional(),\n market: z.string().describe(\"Optional market slug to filter the authenticated account's positions. When omitted, returns positions across all markets for the signed-in Polymarket US account.\").optional(),\n});\nexport const PolymarketUsGetUserPositionsOutput = z.object({\n eof: z.boolean().describe(\"Whether the current page is the last page.\").nullable(),\n positions: z.record(z.string(), z.unknown()).describe(\"Map of market slug to this authenticated account's position details.\"),\n nextCursor: z.string().describe(\"Cursor for the next page, when another page exists.\").nullable().optional(),\n availablePositions: z.array(z.string()).describe(\"Position quantities available to trade after accounting for open orders.\").nullable().optional(),\n});\n\nexport const polymarketUsGetUserPositions = action(\"POLYMARKET_US_GET_USER_POSITIONS\", {\n slug: \"polymarket_us-get-user-positions\",\n name: \"Get User Positions\",\n description: \"Get the authenticated user's Polymarket US trading positions across all markets or filtered by a specific market slug. Requires Polymarket US signed authentication and only returns positions for that account. Use this read-only action to verify API credentials and inspect current exposure.\",\n input: PolymarketUsGetUserPositionsInput,\n output: PolymarketUsGetUserPositionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAChL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;AAC5M,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE;CAC5H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-positions.cjs","names":["z","action"],"sources":["../../src/actions/get-user-positions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetUserPositionsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of account-specific positions to return per page. Use with cursor for pagination; omit cursor on the first request.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response's nextCursor field. Omit for the first page.\").optional(),\n market: z.string().describe(\"Optional market slug to filter the authenticated account's positions. When omitted, returns positions across all markets for the signed-in Polymarket US account.\").optional(),\n});\nexport const PolymarketUsGetUserPositionsOutput = z.object({\n eof: z.boolean().describe(\"Whether the current page is the last page.\").nullable(),\n positions: z.record(z.string(), z.unknown()).describe(\"Map of market slug to this authenticated account's position details.\"),\n nextCursor: z.string().describe(\"Cursor for the next page, when another page exists.\").nullable().optional(),\n availablePositions: z.array(z.string()).describe(\"Position quantities available to trade after accounting for open orders.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketUsGetUserPositions = action(\"POLYMARKET_US_GET_USER_POSITIONS\", {\n slug: \"polymarket_us-get-user-positions\",\n name: \"Get User Positions\",\n description: \"Get the authenticated user's Polymarket US trading positions across all markets or filtered by a specific market slug. Requires Polymarket US signed authentication and only returns positions for that account. Use this read-only action to verify API credentials and inspect current exposure.\",\n input: PolymarketUsGetUserPositionsInput,\n output: PolymarketUsGetUserPositionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAChL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;AAC5M,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE;CAC5H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}