@keystrokehq/polymarket_us 0.1.2 → 0.1.3

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 (265) 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 +1 -1
  4. package/dist/actions/cancel-all-open-orders.d.mts +1 -1
  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 +3 -2
  10. package/dist/actions/cancel-multiple-orders.d.mts +3 -2
  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 +1 -1
  16. package/dist/actions/cancel-order.d.mts +1 -1
  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 +1 -1
  22. package/dist/actions/close-position-order.d.mts +1 -1
  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 +3 -2
  28. package/dist/actions/create-multiple-orders.d.mts +3 -2
  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 +1 -1
  34. package/dist/actions/create-order.d.mts +1 -1
  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 +3 -3
  40. package/dist/actions/get-account-balances.d.mts +3 -3
  41. package/dist/actions/get-account-balances.mjs +3 -3
  42. package/dist/actions/get-account-balances.mjs.map +1 -1
  43. package/dist/actions/get-activities.cjs +1 -1
  44. package/dist/actions/get-activities.cjs.map +1 -1
  45. package/dist/actions/get-activities.d.cts +1 -1
  46. package/dist/actions/get-activities.d.mts +1 -1
  47. package/dist/actions/get-activities.mjs +1 -1
  48. package/dist/actions/get-activities.mjs.map +1 -1
  49. package/dist/actions/get-event-by-id.cjs +1 -1
  50. package/dist/actions/get-event-by-id.cjs.map +1 -1
  51. package/dist/actions/get-event-by-id.d.cts +1 -1
  52. package/dist/actions/get-event-by-id.d.mts +1 -1
  53. package/dist/actions/get-event-by-id.mjs +1 -1
  54. package/dist/actions/get-event-by-id.mjs.map +1 -1
  55. package/dist/actions/get-event-by-slug.cjs +1 -1
  56. package/dist/actions/get-event-by-slug.cjs.map +1 -1
  57. package/dist/actions/get-event-by-slug.d.cts +1 -1
  58. package/dist/actions/get-event-by-slug.d.mts +1 -1
  59. package/dist/actions/get-event-by-slug.mjs +1 -1
  60. package/dist/actions/get-event-by-slug.mjs.map +1 -1
  61. package/dist/actions/get-league-by-slug.cjs +1 -1
  62. package/dist/actions/get-league-by-slug.cjs.map +1 -1
  63. package/dist/actions/get-league-by-slug.d.cts +1 -1
  64. package/dist/actions/get-league-by-slug.d.mts +1 -1
  65. package/dist/actions/get-league-by-slug.mjs +1 -1
  66. package/dist/actions/get-league-by-slug.mjs.map +1 -1
  67. package/dist/actions/get-market-bbo.cjs +1 -1
  68. package/dist/actions/get-market-bbo.cjs.map +1 -1
  69. package/dist/actions/get-market-bbo.d.cts +1 -1
  70. package/dist/actions/get-market-bbo.d.mts +1 -1
  71. package/dist/actions/get-market-bbo.mjs +1 -1
  72. package/dist/actions/get-market-bbo.mjs.map +1 -1
  73. package/dist/actions/get-market-book.cjs +1 -1
  74. package/dist/actions/get-market-book.cjs.map +1 -1
  75. package/dist/actions/get-market-book.d.cts +1 -1
  76. package/dist/actions/get-market-book.d.mts +1 -1
  77. package/dist/actions/get-market-book.mjs +1 -1
  78. package/dist/actions/get-market-book.mjs.map +1 -1
  79. package/dist/actions/get-market-by-id.cjs +1 -1
  80. package/dist/actions/get-market-by-id.cjs.map +1 -1
  81. package/dist/actions/get-market-by-id.d.cts +1 -1
  82. package/dist/actions/get-market-by-id.d.mts +1 -1
  83. package/dist/actions/get-market-by-id.mjs +1 -1
  84. package/dist/actions/get-market-by-id.mjs.map +1 -1
  85. package/dist/actions/get-market-by-slug.cjs +1 -1
  86. package/dist/actions/get-market-by-slug.cjs.map +1 -1
  87. package/dist/actions/get-market-by-slug.d.cts +1 -1
  88. package/dist/actions/get-market-by-slug.d.mts +1 -1
  89. package/dist/actions/get-market-by-slug.mjs +1 -1
  90. package/dist/actions/get-market-by-slug.mjs.map +1 -1
  91. package/dist/actions/get-market-settlement.cjs +1 -1
  92. package/dist/actions/get-market-settlement.cjs.map +1 -1
  93. package/dist/actions/get-market-settlement.d.cts +1 -1
  94. package/dist/actions/get-market-settlement.d.mts +1 -1
  95. package/dist/actions/get-market-settlement.mjs +1 -1
  96. package/dist/actions/get-market-settlement.mjs.map +1 -1
  97. package/dist/actions/get-markets-for-subject-by-slug.cjs +1 -1
  98. package/dist/actions/get-markets-for-subject-by-slug.cjs.map +1 -1
  99. package/dist/actions/get-markets-for-subject-by-slug.d.cts +1 -1
  100. package/dist/actions/get-markets-for-subject-by-slug.d.mts +1 -1
  101. package/dist/actions/get-markets-for-subject-by-slug.mjs +1 -1
  102. package/dist/actions/get-markets-for-subject-by-slug.mjs.map +1 -1
  103. package/dist/actions/get-markets-for-subject.cjs +1 -1
  104. package/dist/actions/get-markets-for-subject.cjs.map +1 -1
  105. package/dist/actions/get-markets-for-subject.d.cts +1 -1
  106. package/dist/actions/get-markets-for-subject.d.mts +1 -1
  107. package/dist/actions/get-markets-for-subject.mjs +1 -1
  108. package/dist/actions/get-markets-for-subject.mjs.map +1 -1
  109. package/dist/actions/get-open-orders.cjs +1 -1
  110. package/dist/actions/get-open-orders.cjs.map +1 -1
  111. package/dist/actions/get-open-orders.d.cts +1 -1
  112. package/dist/actions/get-open-orders.d.mts +1 -1
  113. package/dist/actions/get-open-orders.mjs +1 -1
  114. package/dist/actions/get-open-orders.mjs.map +1 -1
  115. package/dist/actions/get-order.cjs +1 -1
  116. package/dist/actions/get-order.cjs.map +1 -1
  117. package/dist/actions/get-order.d.cts +1 -1
  118. package/dist/actions/get-order.d.mts +1 -1
  119. package/dist/actions/get-order.mjs +1 -1
  120. package/dist/actions/get-order.mjs.map +1 -1
  121. package/dist/actions/get-series-by-id.cjs +1 -1
  122. package/dist/actions/get-series-by-id.cjs.map +1 -1
  123. package/dist/actions/get-series-by-id.d.cts +1 -1
  124. package/dist/actions/get-series-by-id.d.mts +1 -1
  125. package/dist/actions/get-series-by-id.mjs +1 -1
  126. package/dist/actions/get-series-by-id.mjs.map +1 -1
  127. package/dist/actions/get-sport-by-slug.cjs +1 -1
  128. package/dist/actions/get-sport-by-slug.cjs.map +1 -1
  129. package/dist/actions/get-sport-by-slug.d.cts +1 -1
  130. package/dist/actions/get-sport-by-slug.d.mts +1 -1
  131. package/dist/actions/get-sport-by-slug.mjs +1 -1
  132. package/dist/actions/get-sport-by-slug.mjs.map +1 -1
  133. package/dist/actions/get-subject-by-id.cjs +1 -1
  134. package/dist/actions/get-subject-by-id.cjs.map +1 -1
  135. package/dist/actions/get-subject-by-id.d.cts +1 -1
  136. package/dist/actions/get-subject-by-id.d.mts +1 -1
  137. package/dist/actions/get-subject-by-id.mjs +1 -1
  138. package/dist/actions/get-subject-by-id.mjs.map +1 -1
  139. package/dist/actions/get-subject-by-slug.cjs +1 -1
  140. package/dist/actions/get-subject-by-slug.cjs.map +1 -1
  141. package/dist/actions/get-subject-by-slug.d.cts +1 -1
  142. package/dist/actions/get-subject-by-slug.d.mts +1 -1
  143. package/dist/actions/get-subject-by-slug.mjs +1 -1
  144. package/dist/actions/get-subject-by-slug.mjs.map +1 -1
  145. package/dist/actions/get-tag-by-id.cjs +1 -1
  146. package/dist/actions/get-tag-by-id.cjs.map +1 -1
  147. package/dist/actions/get-tag-by-id.d.cts +1 -1
  148. package/dist/actions/get-tag-by-id.d.mts +1 -1
  149. package/dist/actions/get-tag-by-id.mjs +1 -1
  150. package/dist/actions/get-tag-by-id.mjs.map +1 -1
  151. package/dist/actions/get-tag-by-slug.cjs +1 -1
  152. package/dist/actions/get-tag-by-slug.cjs.map +1 -1
  153. package/dist/actions/get-tag-by-slug.d.cts +1 -1
  154. package/dist/actions/get-tag-by-slug.d.mts +1 -1
  155. package/dist/actions/get-tag-by-slug.mjs +1 -1
  156. package/dist/actions/get-tag-by-slug.mjs.map +1 -1
  157. package/dist/actions/get-user-positions.cjs +1 -1
  158. package/dist/actions/get-user-positions.cjs.map +1 -1
  159. package/dist/actions/get-user-positions.d.cts +1 -1
  160. package/dist/actions/get-user-positions.d.mts +1 -1
  161. package/dist/actions/get-user-positions.mjs +1 -1
  162. package/dist/actions/get-user-positions.mjs.map +1 -1
  163. package/dist/actions/list-events-for-league.cjs +1 -1
  164. package/dist/actions/list-events-for-league.cjs.map +1 -1
  165. package/dist/actions/list-events-for-league.d.cts +1 -1
  166. package/dist/actions/list-events-for-league.d.mts +1 -1
  167. package/dist/actions/list-events-for-league.mjs +1 -1
  168. package/dist/actions/list-events-for-league.mjs.map +1 -1
  169. package/dist/actions/list-events-for-series.cjs +1 -1
  170. package/dist/actions/list-events-for-series.cjs.map +1 -1
  171. package/dist/actions/list-events-for-series.d.cts +1 -1
  172. package/dist/actions/list-events-for-series.d.mts +1 -1
  173. package/dist/actions/list-events-for-series.mjs +1 -1
  174. package/dist/actions/list-events-for-series.mjs.map +1 -1
  175. package/dist/actions/list-events-for-sport.cjs +1 -1
  176. package/dist/actions/list-events-for-sport.cjs.map +1 -1
  177. package/dist/actions/list-events-for-sport.d.cts +1 -1
  178. package/dist/actions/list-events-for-sport.d.mts +1 -1
  179. package/dist/actions/list-events-for-sport.mjs +1 -1
  180. package/dist/actions/list-events-for-sport.mjs.map +1 -1
  181. package/dist/actions/list-events.cjs +1 -1
  182. package/dist/actions/list-events.cjs.map +1 -1
  183. package/dist/actions/list-events.d.cts +1 -1
  184. package/dist/actions/list-events.d.mts +1 -1
  185. package/dist/actions/list-events.mjs +1 -1
  186. package/dist/actions/list-events.mjs.map +1 -1
  187. package/dist/actions/list-featured-tags.cjs +1 -1
  188. package/dist/actions/list-featured-tags.cjs.map +1 -1
  189. package/dist/actions/list-featured-tags.d.cts +1 -1
  190. package/dist/actions/list-featured-tags.d.mts +1 -1
  191. package/dist/actions/list-featured-tags.mjs +1 -1
  192. package/dist/actions/list-featured-tags.mjs.map +1 -1
  193. package/dist/actions/list-leagues.cjs +1 -1
  194. package/dist/actions/list-leagues.cjs.map +1 -1
  195. package/dist/actions/list-leagues.d.cts +1 -1
  196. package/dist/actions/list-leagues.d.mts +1 -1
  197. package/dist/actions/list-leagues.mjs +1 -1
  198. package/dist/actions/list-leagues.mjs.map +1 -1
  199. package/dist/actions/list-markets.cjs +1 -1
  200. package/dist/actions/list-markets.cjs.map +1 -1
  201. package/dist/actions/list-markets.d.cts +1 -1
  202. package/dist/actions/list-markets.d.mts +1 -1
  203. package/dist/actions/list-markets.mjs +1 -1
  204. package/dist/actions/list-markets.mjs.map +1 -1
  205. package/dist/actions/list-series.cjs +1 -1
  206. package/dist/actions/list-series.cjs.map +1 -1
  207. package/dist/actions/list-series.d.cts +1 -1
  208. package/dist/actions/list-series.d.mts +1 -1
  209. package/dist/actions/list-series.mjs +1 -1
  210. package/dist/actions/list-series.mjs.map +1 -1
  211. package/dist/actions/list-sports-teams-for-provider.cjs +1 -1
  212. package/dist/actions/list-sports-teams-for-provider.cjs.map +1 -1
  213. package/dist/actions/list-sports-teams-for-provider.d.cts +1 -1
  214. package/dist/actions/list-sports-teams-for-provider.d.mts +1 -1
  215. package/dist/actions/list-sports-teams-for-provider.mjs +1 -1
  216. package/dist/actions/list-sports-teams-for-provider.mjs.map +1 -1
  217. package/dist/actions/list-sports-teams.cjs +1 -1
  218. package/dist/actions/list-sports-teams.cjs.map +1 -1
  219. package/dist/actions/list-sports-teams.d.cts +1 -1
  220. package/dist/actions/list-sports-teams.d.mts +1 -1
  221. package/dist/actions/list-sports-teams.mjs +1 -1
  222. package/dist/actions/list-sports-teams.mjs.map +1 -1
  223. package/dist/actions/list-sports.cjs +1 -1
  224. package/dist/actions/list-sports.cjs.map +1 -1
  225. package/dist/actions/list-sports.d.cts +1 -1
  226. package/dist/actions/list-sports.d.mts +1 -1
  227. package/dist/actions/list-sports.mjs +1 -1
  228. package/dist/actions/list-sports.mjs.map +1 -1
  229. package/dist/actions/list-subjects.cjs +1 -1
  230. package/dist/actions/list-subjects.cjs.map +1 -1
  231. package/dist/actions/list-subjects.d.cts +1 -1
  232. package/dist/actions/list-subjects.d.mts +1 -1
  233. package/dist/actions/list-subjects.mjs +1 -1
  234. package/dist/actions/list-subjects.mjs.map +1 -1
  235. package/dist/actions/list-tags.cjs +1 -1
  236. package/dist/actions/list-tags.cjs.map +1 -1
  237. package/dist/actions/list-tags.d.cts +1 -1
  238. package/dist/actions/list-tags.d.mts +1 -1
  239. package/dist/actions/list-tags.mjs +1 -1
  240. package/dist/actions/list-tags.mjs.map +1 -1
  241. package/dist/actions/modify-multiple-orders.cjs +2 -2
  242. package/dist/actions/modify-multiple-orders.cjs.map +1 -1
  243. package/dist/actions/modify-multiple-orders.d.cts +3 -2
  244. package/dist/actions/modify-multiple-orders.d.mts +3 -2
  245. package/dist/actions/modify-multiple-orders.mjs +2 -2
  246. package/dist/actions/modify-multiple-orders.mjs.map +1 -1
  247. package/dist/actions/modify-order.cjs +1 -1
  248. package/dist/actions/modify-order.cjs.map +1 -1
  249. package/dist/actions/modify-order.d.cts +1 -1
  250. package/dist/actions/modify-order.d.mts +1 -1
  251. package/dist/actions/modify-order.mjs +1 -1
  252. package/dist/actions/modify-order.mjs.map +1 -1
  253. package/dist/actions/preview-order.cjs +1 -1
  254. package/dist/actions/preview-order.cjs.map +1 -1
  255. package/dist/actions/preview-order.d.cts +1 -1
  256. package/dist/actions/preview-order.d.mts +1 -1
  257. package/dist/actions/preview-order.mjs +1 -1
  258. package/dist/actions/preview-order.mjs.map +1 -1
  259. package/dist/actions/search-markets-and-events.cjs +1 -1
  260. package/dist/actions/search-markets-and-events.cjs.map +1 -1
  261. package/dist/actions/search-markets-and-events.d.cts +1 -1
  262. package/dist/actions/search-markets-and-events.d.mts +1 -1
  263. package/dist/actions/search-markets-and-events.mjs +1 -1
  264. package/dist/actions/search-markets-and-events.mjs.map +1 -1
  265. package/package.json +1 -1
@@ -11,7 +11,7 @@ const PolymarketUsGetAccountBalances_PendingWithdrawalSchema = zod.z.object({
11
11
  acknowledged: zod.z.boolean().describe("Acknowledgement status.").nullable().optional(),
12
12
  creationTime: zod.z.string().describe("Creation time.").nullable().optional(),
13
13
  destinationAccountName: zod.z.string().describe("Destination account name.").nullable().optional()
14
- });
14
+ }).passthrough();
15
15
  const PolymarketUsGetAccountBalances_UserBalanceSchema = zod.z.object({
16
16
  currency: zod.z.string().describe("Balance currency code, such as USD.").nullable().optional(),
17
17
  openOrders: zod.z.number().describe("Aggregate notional value reserved by this account's open orders.").nullable().optional(),
@@ -25,8 +25,8 @@ const PolymarketUsGetAccountBalances_UserBalanceSchema = zod.z.object({
25
25
  marginRequirement: zod.z.number().describe("Aggregate margin requirement for event instrument positions.").nullable().optional(),
26
26
  balanceReservation: zod.z.number().describe("Aggregate notional value of account balance reservations.").nullable().optional(),
27
27
  pendingWithdrawals: zod.z.array(PolymarketUsGetAccountBalances_PendingWithdrawalSchema).describe("Active pending withdrawals for this account.").nullable().optional()
28
- });
29
- const PolymarketUsGetAccountBalancesOutput = zod.z.object({ balances: zod.z.array(PolymarketUsGetAccountBalances_UserBalanceSchema).describe("Authenticated account balances by currency.").nullable().optional() });
28
+ }).passthrough();
29
+ const PolymarketUsGetAccountBalancesOutput = zod.z.object({ balances: zod.z.array(PolymarketUsGetAccountBalances_UserBalanceSchema).describe("Authenticated account balances by currency.").nullable().optional() }).passthrough();
30
30
  const polymarketUsGetAccountBalances = require_action.action("POLYMARKET_US_GET_ACCOUNT_BALANCES", {
31
31
  slug: "polymarket_us-get-account-balances",
32
32
  name: "Get Account Balances",
@@ -1 +1 @@
1
- {"version":3,"file":"get-account-balances.cjs","names":["z","action"],"sources":["../../src/actions/get-account-balances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetAccountBalancesInput = z.object({});\nconst PolymarketUsGetAccountBalances_PendingWithdrawalSchema = z.object({\n id: z.string().describe(\"Withdrawal ID.\").nullable().optional(),\n name: z.string().describe(\"Account name.\").nullable().optional(),\n bankId: z.string().describe(\"Recipient bank ID.\").nullable().optional(),\n balance: z.number().describe(\"Balance to withdraw.\").nullable().optional(),\n description: z.string().describe(\"Withdrawal description.\").nullable().optional(),\n acknowledged: z.boolean().describe(\"Acknowledgement status.\").nullable().optional(),\n creationTime: z.string().describe(\"Creation time.\").nullable().optional(),\n destinationAccountName: z.string().describe(\"Destination account name.\").nullable().optional(),\n});\nconst PolymarketUsGetAccountBalances_UserBalanceSchema = z.object({\n currency: z.string().describe(\"Balance currency code, such as USD.\").nullable().optional(),\n openOrders: z.number().describe(\"Aggregate notional value reserved by this account's open orders.\").nullable().optional(),\n buyingPower: z.number().describe(\"Unencumbered capital available for trading after accounting for security valuations and open orders.\").nullable().optional(),\n lastUpdated: z.string().describe(\"Timestamp of the last balance update.\").nullable().optional(),\n assetNotional: z.number().describe(\"Aggregate notional value of this account's securities.\").nullable().optional(),\n pendingCredit: z.number().describe(\"Aggregate value of pending credits for this account.\").nullable().optional(),\n assetAvailable: z.number().describe(\"Aggregate available collateral value of this account's assets.\").nullable().optional(),\n currentBalance: z.number().describe(\"Current fiat balance for this account and currency.\").nullable().optional(),\n unsettledFunds: z.number().describe(\"Unsettled funds not yet available to trade.\").nullable().optional(),\n marginRequirement: z.number().describe(\"Aggregate margin requirement for event instrument positions.\").nullable().optional(),\n balanceReservation: z.number().describe(\"Aggregate notional value of account balance reservations.\").nullable().optional(),\n pendingWithdrawals: z.array(PolymarketUsGetAccountBalances_PendingWithdrawalSchema).describe(\"Active pending withdrawals for this account.\").nullable().optional(),\n});\nexport const PolymarketUsGetAccountBalancesOutput = z.object({\n balances: z.array(PolymarketUsGetAccountBalances_UserBalanceSchema).describe(\"Authenticated account balances by currency.\").nullable().optional(),\n});\n\nexport const polymarketUsGetAccountBalances = action(\"POLYMARKET_US_GET_ACCOUNT_BALANCES\", {\n slug: \"polymarket_us-get-account-balances\",\n name: \"Get Account Balances\",\n description: \"Get the authenticated user's Polymarket US account balances. Use this read-only action to inspect buying power, balances, pending credits, and funds reserved by open orders before previewing or placing orders. Requires Polymarket US signed authentication and returns only the signed-in account's balances.\",\n input: PolymarketUsGetAccountBalancesInput,\n output: PolymarketUsGetAccountBalancesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC9D,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,oBAAoBA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC;AACD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,UAAUA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClJ,CAAC;AAED,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-account-balances.cjs","names":["z","action"],"sources":["../../src/actions/get-account-balances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetAccountBalancesInput = z.object({});\nconst PolymarketUsGetAccountBalances_PendingWithdrawalSchema = z.object({\n id: z.string().describe(\"Withdrawal ID.\").nullable().optional(),\n name: z.string().describe(\"Account name.\").nullable().optional(),\n bankId: z.string().describe(\"Recipient bank ID.\").nullable().optional(),\n balance: z.number().describe(\"Balance to withdraw.\").nullable().optional(),\n description: z.string().describe(\"Withdrawal description.\").nullable().optional(),\n acknowledged: z.boolean().describe(\"Acknowledgement status.\").nullable().optional(),\n creationTime: z.string().describe(\"Creation time.\").nullable().optional(),\n destinationAccountName: z.string().describe(\"Destination account name.\").nullable().optional(),\n}).passthrough();\nconst PolymarketUsGetAccountBalances_UserBalanceSchema = z.object({\n currency: z.string().describe(\"Balance currency code, such as USD.\").nullable().optional(),\n openOrders: z.number().describe(\"Aggregate notional value reserved by this account's open orders.\").nullable().optional(),\n buyingPower: z.number().describe(\"Unencumbered capital available for trading after accounting for security valuations and open orders.\").nullable().optional(),\n lastUpdated: z.string().describe(\"Timestamp of the last balance update.\").nullable().optional(),\n assetNotional: z.number().describe(\"Aggregate notional value of this account's securities.\").nullable().optional(),\n pendingCredit: z.number().describe(\"Aggregate value of pending credits for this account.\").nullable().optional(),\n assetAvailable: z.number().describe(\"Aggregate available collateral value of this account's assets.\").nullable().optional(),\n currentBalance: z.number().describe(\"Current fiat balance for this account and currency.\").nullable().optional(),\n unsettledFunds: z.number().describe(\"Unsettled funds not yet available to trade.\").nullable().optional(),\n marginRequirement: z.number().describe(\"Aggregate margin requirement for event instrument positions.\").nullable().optional(),\n balanceReservation: z.number().describe(\"Aggregate notional value of account balance reservations.\").nullable().optional(),\n pendingWithdrawals: z.array(PolymarketUsGetAccountBalances_PendingWithdrawalSchema).describe(\"Active pending withdrawals for this account.\").nullable().optional(),\n}).passthrough();\nexport const PolymarketUsGetAccountBalancesOutput = z.object({\n balances: z.array(PolymarketUsGetAccountBalances_UserBalanceSchema).describe(\"Authenticated account balances by currency.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketUsGetAccountBalances = action(\"POLYMARKET_US_GET_ACCOUNT_BALANCES\", {\n slug: \"polymarket_us-get-account-balances\",\n name: \"Get Account Balances\",\n description: \"Get the authenticated user's Polymarket US account balances. Use this read-only action to inspect buying power, balances, pending credits, and funds reserved by open orders before previewing or placing orders. Requires Polymarket US signed authentication and returns only the signed-in account's balances.\",\n input: PolymarketUsGetAccountBalancesInput,\n output: PolymarketUsGetAccountBalancesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC9D,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,oBAAoBA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,UAAUA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -24,9 +24,9 @@ declare const PolymarketUsGetAccountBalancesOutput: z.ZodObject<{
24
24
  acknowledged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
25
  creationTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  destinationAccountName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>>>>;
28
- }, z.core.$strip>>>>;
29
- }, z.core.$strip>;
27
+ }, z.core.$loose>>>>;
28
+ }, z.core.$loose>>>>;
29
+ }, z.core.$loose>;
30
30
  declare const polymarketUsGetAccountBalances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
31
  //#endregion
32
32
  export { polymarketUsGetAccountBalances };
@@ -24,9 +24,9 @@ declare const PolymarketUsGetAccountBalancesOutput: z.ZodObject<{
24
24
  acknowledged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
25
  creationTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  destinationAccountName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>>>>;
28
- }, z.core.$strip>>>>;
29
- }, z.core.$strip>;
27
+ }, z.core.$loose>>>>;
28
+ }, z.core.$loose>>>>;
29
+ }, z.core.$loose>;
30
30
  declare const polymarketUsGetAccountBalances: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
31
  //#endregion
32
32
  export { polymarketUsGetAccountBalances };
@@ -11,7 +11,7 @@ const PolymarketUsGetAccountBalances_PendingWithdrawalSchema = z.object({
11
11
  acknowledged: z.boolean().describe("Acknowledgement status.").nullable().optional(),
12
12
  creationTime: z.string().describe("Creation time.").nullable().optional(),
13
13
  destinationAccountName: z.string().describe("Destination account name.").nullable().optional()
14
- });
14
+ }).passthrough();
15
15
  const PolymarketUsGetAccountBalances_UserBalanceSchema = z.object({
16
16
  currency: z.string().describe("Balance currency code, such as USD.").nullable().optional(),
17
17
  openOrders: z.number().describe("Aggregate notional value reserved by this account's open orders.").nullable().optional(),
@@ -25,13 +25,13 @@ const PolymarketUsGetAccountBalances_UserBalanceSchema = z.object({
25
25
  marginRequirement: z.number().describe("Aggregate margin requirement for event instrument positions.").nullable().optional(),
26
26
  balanceReservation: z.number().describe("Aggregate notional value of account balance reservations.").nullable().optional(),
27
27
  pendingWithdrawals: z.array(PolymarketUsGetAccountBalances_PendingWithdrawalSchema).describe("Active pending withdrawals for this account.").nullable().optional()
28
- });
28
+ }).passthrough();
29
29
  const polymarketUsGetAccountBalances = action("POLYMARKET_US_GET_ACCOUNT_BALANCES", {
30
30
  slug: "polymarket_us-get-account-balances",
31
31
  name: "Get Account Balances",
32
32
  description: "Get the authenticated user's Polymarket US account balances. Use this read-only action to inspect buying power, balances, pending credits, and funds reserved by open orders before previewing or placing orders. Requires Polymarket US signed authentication and returns only the signed-in account's balances.",
33
33
  input: PolymarketUsGetAccountBalancesInput,
34
- output: z.object({ balances: z.array(PolymarketUsGetAccountBalances_UserBalanceSchema).describe("Authenticated account balances by currency.").nullable().optional() })
34
+ output: z.object({ balances: z.array(PolymarketUsGetAccountBalances_UserBalanceSchema).describe("Authenticated account balances by currency.").nullable().optional() }).passthrough()
35
35
  });
36
36
  //#endregion
37
37
  export { polymarketUsGetAccountBalances };
@@ -1 +1 @@
1
- {"version":3,"file":"get-account-balances.mjs","names":[],"sources":["../../src/actions/get-account-balances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetAccountBalancesInput = z.object({});\nconst PolymarketUsGetAccountBalances_PendingWithdrawalSchema = z.object({\n id: z.string().describe(\"Withdrawal ID.\").nullable().optional(),\n name: z.string().describe(\"Account name.\").nullable().optional(),\n bankId: z.string().describe(\"Recipient bank ID.\").nullable().optional(),\n balance: z.number().describe(\"Balance to withdraw.\").nullable().optional(),\n description: z.string().describe(\"Withdrawal description.\").nullable().optional(),\n acknowledged: z.boolean().describe(\"Acknowledgement status.\").nullable().optional(),\n creationTime: z.string().describe(\"Creation time.\").nullable().optional(),\n destinationAccountName: z.string().describe(\"Destination account name.\").nullable().optional(),\n});\nconst PolymarketUsGetAccountBalances_UserBalanceSchema = z.object({\n currency: z.string().describe(\"Balance currency code, such as USD.\").nullable().optional(),\n openOrders: z.number().describe(\"Aggregate notional value reserved by this account's open orders.\").nullable().optional(),\n buyingPower: z.number().describe(\"Unencumbered capital available for trading after accounting for security valuations and open orders.\").nullable().optional(),\n lastUpdated: z.string().describe(\"Timestamp of the last balance update.\").nullable().optional(),\n assetNotional: z.number().describe(\"Aggregate notional value of this account's securities.\").nullable().optional(),\n pendingCredit: z.number().describe(\"Aggregate value of pending credits for this account.\").nullable().optional(),\n assetAvailable: z.number().describe(\"Aggregate available collateral value of this account's assets.\").nullable().optional(),\n currentBalance: z.number().describe(\"Current fiat balance for this account and currency.\").nullable().optional(),\n unsettledFunds: z.number().describe(\"Unsettled funds not yet available to trade.\").nullable().optional(),\n marginRequirement: z.number().describe(\"Aggregate margin requirement for event instrument positions.\").nullable().optional(),\n balanceReservation: z.number().describe(\"Aggregate notional value of account balance reservations.\").nullable().optional(),\n pendingWithdrawals: z.array(PolymarketUsGetAccountBalances_PendingWithdrawalSchema).describe(\"Active pending withdrawals for this account.\").nullable().optional(),\n});\nexport const PolymarketUsGetAccountBalancesOutput = z.object({\n balances: z.array(PolymarketUsGetAccountBalances_UserBalanceSchema).describe(\"Authenticated account balances by currency.\").nullable().optional(),\n});\n\nexport const polymarketUsGetAccountBalances = action(\"POLYMARKET_US_GET_ACCOUNT_BALANCES\", {\n slug: \"polymarket_us-get-account-balances\",\n name: \"Get Account Balances\",\n description: \"Get the authenticated user's Polymarket US account balances. Use this read-only action to inspect buying power, balances, pending credits, and funds reserved by open orders before previewing or placing orders. Requires Polymarket US signed authentication and returns only the signed-in account's balances.\",\n input: PolymarketUsGetAccountBalancesInput,\n output: PolymarketUsGetAccountBalancesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,CAAC,CAAC;AAC9D,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,oBAAoB,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC;AAKD,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,UAAU,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClJ,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-account-balances.mjs","names":[],"sources":["../../src/actions/get-account-balances.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetAccountBalancesInput = z.object({});\nconst PolymarketUsGetAccountBalances_PendingWithdrawalSchema = z.object({\n id: z.string().describe(\"Withdrawal ID.\").nullable().optional(),\n name: z.string().describe(\"Account name.\").nullable().optional(),\n bankId: z.string().describe(\"Recipient bank ID.\").nullable().optional(),\n balance: z.number().describe(\"Balance to withdraw.\").nullable().optional(),\n description: z.string().describe(\"Withdrawal description.\").nullable().optional(),\n acknowledged: z.boolean().describe(\"Acknowledgement status.\").nullable().optional(),\n creationTime: z.string().describe(\"Creation time.\").nullable().optional(),\n destinationAccountName: z.string().describe(\"Destination account name.\").nullable().optional(),\n}).passthrough();\nconst PolymarketUsGetAccountBalances_UserBalanceSchema = z.object({\n currency: z.string().describe(\"Balance currency code, such as USD.\").nullable().optional(),\n openOrders: z.number().describe(\"Aggregate notional value reserved by this account's open orders.\").nullable().optional(),\n buyingPower: z.number().describe(\"Unencumbered capital available for trading after accounting for security valuations and open orders.\").nullable().optional(),\n lastUpdated: z.string().describe(\"Timestamp of the last balance update.\").nullable().optional(),\n assetNotional: z.number().describe(\"Aggregate notional value of this account's securities.\").nullable().optional(),\n pendingCredit: z.number().describe(\"Aggregate value of pending credits for this account.\").nullable().optional(),\n assetAvailable: z.number().describe(\"Aggregate available collateral value of this account's assets.\").nullable().optional(),\n currentBalance: z.number().describe(\"Current fiat balance for this account and currency.\").nullable().optional(),\n unsettledFunds: z.number().describe(\"Unsettled funds not yet available to trade.\").nullable().optional(),\n marginRequirement: z.number().describe(\"Aggregate margin requirement for event instrument positions.\").nullable().optional(),\n balanceReservation: z.number().describe(\"Aggregate notional value of account balance reservations.\").nullable().optional(),\n pendingWithdrawals: z.array(PolymarketUsGetAccountBalances_PendingWithdrawalSchema).describe(\"Active pending withdrawals for this account.\").nullable().optional(),\n}).passthrough();\nexport const PolymarketUsGetAccountBalancesOutput = z.object({\n balances: z.array(PolymarketUsGetAccountBalances_UserBalanceSchema).describe(\"Authenticated account balances by currency.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketUsGetAccountBalances = action(\"POLYMARKET_US_GET_ACCOUNT_BALANCES\", {\n slug: \"polymarket_us-get-account-balances\",\n name: \"Get Account Balances\",\n description: \"Get the authenticated user's Polymarket US account balances. Use this read-only action to inspect buying power, balances, pending credits, and funds reserved by open orders before previewing or placing orders. Requires Polymarket US signed authentication and returns only the signed-in account's balances.\",\n input: PolymarketUsGetAccountBalancesInput,\n output: PolymarketUsGetAccountBalancesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,CAAC,CAAC;AAC9D,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmD,EAAE,OAAO;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,oBAAoB,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,UAAU,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -20,7 +20,7 @@ const PolymarketUsGetActivitiesOutput = zod.z.object({
20
20
  eof: zod.z.boolean().describe("Whether this is the final page.").nullable().optional(),
21
21
  activities: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Authenticated account activities matching the requested filters.").nullable().optional(),
22
22
  nextCursor: zod.z.string().describe("Next page cursor.").nullable().optional()
23
- });
23
+ }).passthrough();
24
24
  const polymarketUsGetActivities = require_action.action("POLYMARKET_US_GET_ACTIVITIES", {
25
25
  slug: "polymarket_us-get-activities",
26
26
  name: "Get Activities",
@@ -1 +1 @@
1
- {"version":3,"file":"get-activities.cjs","names":["z","action"],"sources":["../../src/actions/get-activities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetActivitiesInput = z.object({\n limit: z.number().int().default(25).describe(\"Maximum account activities to return per page. Use with cursor for pagination; omit cursor on the first request.\").optional(),\n types: z.array(z.enum([\"ACTIVITY_TYPE_TRADE\", \"ACTIVITY_TYPE_POSITION_RESOLUTION\", \"ACTIVITY_TYPE_ACCOUNT_DEPOSIT\", \"ACTIVITY_TYPE_ACCOUNT_ADVANCED_DEPOSIT\", \"ACTIVITY_TYPE_ACCOUNT_WITHDRAWAL\", \"ACTIVITY_TYPE_REFERRAL_BONUS\", \"ACTIVITY_TYPE_TRANSFER\"])).describe(\"Activity types to include. Use ACTIVITY_TYPE_TRADE for executions, ACTIVITY_TYPE_POSITION_RESOLUTION for settlements, and account deposit/withdrawal types for cash movements.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous nextCursor field. Omit for the first page.\").optional(),\n sortOrder: z.enum([\"SORT_ORDER_DESCENDING\", \"SORT_ORDER_ASCENDING\"]).describe(\"Activity timestamp sort order. DESCENDING returns newest first and is the API default; ASCENDING returns oldest first.\").optional(),\n marketSlug: z.string().describe(\"Market slug to filter account activities by. Only trades and resolutions tied to that market are returned; account-level deposits and withdrawals may not match a marketSlug.\").optional(),\n});\nexport const PolymarketUsGetActivitiesOutput = z.object({\n eof: z.boolean().describe(\"Whether this is the final page.\").nullable().optional(),\n activities: z.array(z.record(z.string(), z.unknown())).describe(\"Authenticated account activities matching the requested filters.\").nullable().optional(),\n nextCursor: z.string().describe(\"Next page cursor.\").nullable().optional(),\n});\n\nexport const polymarketUsGetActivities = action(\"POLYMARKET_US_GET_ACTIVITIES\", {\n slug: \"polymarket_us-get-activities\",\n name: \"Get Activities\",\n description: \"Get authenticated Polymarket US portfolio activities such as trades, resolutions, deposits, withdrawals, referral bonuses, and transfers. Requires Polymarket US signed authentication and returns activity only for that account. Use type filters and sortOrder carefully when paging through history.\",\n input: PolymarketUsGetActivitiesInput,\n output: PolymarketUsGetActivitiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC1K,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAuB;EAAqC;EAAiC;EAA0C;EAAoC;EAAgC;CAAwB,CAAC,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;CAClc,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,KAAK,CAAC,yBAAyB,sBAAsB,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACjN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;AAC5N,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-activities.cjs","names":["z","action"],"sources":["../../src/actions/get-activities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetActivitiesInput = z.object({\n limit: z.number().int().default(25).describe(\"Maximum account activities to return per page. Use with cursor for pagination; omit cursor on the first request.\").optional(),\n types: z.array(z.enum([\"ACTIVITY_TYPE_TRADE\", \"ACTIVITY_TYPE_POSITION_RESOLUTION\", \"ACTIVITY_TYPE_ACCOUNT_DEPOSIT\", \"ACTIVITY_TYPE_ACCOUNT_ADVANCED_DEPOSIT\", \"ACTIVITY_TYPE_ACCOUNT_WITHDRAWAL\", \"ACTIVITY_TYPE_REFERRAL_BONUS\", \"ACTIVITY_TYPE_TRANSFER\"])).describe(\"Activity types to include. Use ACTIVITY_TYPE_TRADE for executions, ACTIVITY_TYPE_POSITION_RESOLUTION for settlements, and account deposit/withdrawal types for cash movements.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous nextCursor field. Omit for the first page.\").optional(),\n sortOrder: z.enum([\"SORT_ORDER_DESCENDING\", \"SORT_ORDER_ASCENDING\"]).describe(\"Activity timestamp sort order. DESCENDING returns newest first and is the API default; ASCENDING returns oldest first.\").optional(),\n marketSlug: z.string().describe(\"Market slug to filter account activities by. Only trades and resolutions tied to that market are returned; account-level deposits and withdrawals may not match a marketSlug.\").optional(),\n});\nexport const PolymarketUsGetActivitiesOutput = z.object({\n eof: z.boolean().describe(\"Whether this is the final page.\").nullable().optional(),\n activities: z.array(z.record(z.string(), z.unknown())).describe(\"Authenticated account activities matching the requested filters.\").nullable().optional(),\n nextCursor: z.string().describe(\"Next page cursor.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketUsGetActivities = action(\"POLYMARKET_US_GET_ACTIVITIES\", {\n slug: \"polymarket_us-get-activities\",\n name: \"Get Activities\",\n description: \"Get authenticated Polymarket US portfolio activities such as trades, resolutions, deposits, withdrawals, referral bonuses, and transfers. Requires Polymarket US signed authentication and returns activity only for that account. Use type filters and sortOrder carefully when paging through history.\",\n input: PolymarketUsGetActivitiesInput,\n output: PolymarketUsGetActivitiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC1K,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAuB;EAAqC;EAAiC;EAA0C;EAAoC;EAAgC;CAAwB,CAAC,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;CAClc,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,KAAK,CAAC,yBAAyB,sBAAsB,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACjN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;AAC5N,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -23,7 +23,7 @@ declare const PolymarketUsGetActivitiesOutput: z.ZodObject<{
23
23
  eof: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
24
  activities: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
25
25
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const polymarketUsGetActivities: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  limit?: number | undefined;
29
29
  types?: ("ACTIVITY_TYPE_TRADE" | "ACTIVITY_TYPE_POSITION_RESOLUTION" | "ACTIVITY_TYPE_ACCOUNT_DEPOSIT" | "ACTIVITY_TYPE_ACCOUNT_ADVANCED_DEPOSIT" | "ACTIVITY_TYPE_ACCOUNT_WITHDRAWAL" | "ACTIVITY_TYPE_REFERRAL_BONUS" | "ACTIVITY_TYPE_TRANSFER")[] | undefined;
@@ -23,7 +23,7 @@ declare const PolymarketUsGetActivitiesOutput: z.ZodObject<{
23
23
  eof: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
24
  activities: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
25
25
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const polymarketUsGetActivities: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  limit?: number | undefined;
29
29
  types?: ("ACTIVITY_TYPE_TRADE" | "ACTIVITY_TYPE_POSITION_RESOLUTION" | "ACTIVITY_TYPE_ACCOUNT_DEPOSIT" | "ACTIVITY_TYPE_ACCOUNT_ADVANCED_DEPOSIT" | "ACTIVITY_TYPE_ACCOUNT_WITHDRAWAL" | "ACTIVITY_TYPE_REFERRAL_BONUS" | "ACTIVITY_TYPE_TRANSFER")[] | undefined;
@@ -23,7 +23,7 @@ const polymarketUsGetActivities = action("POLYMARKET_US_GET_ACTIVITIES", {
23
23
  eof: z.boolean().describe("Whether this is the final page.").nullable().optional(),
24
24
  activities: z.array(z.record(z.string(), z.unknown())).describe("Authenticated account activities matching the requested filters.").nullable().optional(),
25
25
  nextCursor: z.string().describe("Next page cursor.").nullable().optional()
26
- })
26
+ }).passthrough()
27
27
  });
28
28
  //#endregion
29
29
  export { polymarketUsGetActivities };
@@ -1 +1 @@
1
- {"version":3,"file":"get-activities.mjs","names":[],"sources":["../../src/actions/get-activities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetActivitiesInput = z.object({\n limit: z.number().int().default(25).describe(\"Maximum account activities to return per page. Use with cursor for pagination; omit cursor on the first request.\").optional(),\n types: z.array(z.enum([\"ACTIVITY_TYPE_TRADE\", \"ACTIVITY_TYPE_POSITION_RESOLUTION\", \"ACTIVITY_TYPE_ACCOUNT_DEPOSIT\", \"ACTIVITY_TYPE_ACCOUNT_ADVANCED_DEPOSIT\", \"ACTIVITY_TYPE_ACCOUNT_WITHDRAWAL\", \"ACTIVITY_TYPE_REFERRAL_BONUS\", \"ACTIVITY_TYPE_TRANSFER\"])).describe(\"Activity types to include. Use ACTIVITY_TYPE_TRADE for executions, ACTIVITY_TYPE_POSITION_RESOLUTION for settlements, and account deposit/withdrawal types for cash movements.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous nextCursor field. Omit for the first page.\").optional(),\n sortOrder: z.enum([\"SORT_ORDER_DESCENDING\", \"SORT_ORDER_ASCENDING\"]).describe(\"Activity timestamp sort order. DESCENDING returns newest first and is the API default; ASCENDING returns oldest first.\").optional(),\n marketSlug: z.string().describe(\"Market slug to filter account activities by. Only trades and resolutions tied to that market are returned; account-level deposits and withdrawals may not match a marketSlug.\").optional(),\n});\nexport const PolymarketUsGetActivitiesOutput = z.object({\n eof: z.boolean().describe(\"Whether this is the final page.\").nullable().optional(),\n activities: z.array(z.record(z.string(), z.unknown())).describe(\"Authenticated account activities matching the requested filters.\").nullable().optional(),\n nextCursor: z.string().describe(\"Next page cursor.\").nullable().optional(),\n});\n\nexport const polymarketUsGetActivities = action(\"POLYMARKET_US_GET_ACTIVITIES\", {\n slug: \"polymarket_us-get-activities\",\n name: \"Get Activities\",\n description: \"Get authenticated Polymarket US portfolio activities such as trades, resolutions, deposits, withdrawals, referral bonuses, and transfers. Requires Polymarket US signed authentication and returns activity only for that account. Use type filters and sortOrder carefully when paging through history.\",\n input: PolymarketUsGetActivitiesInput,\n output: PolymarketUsGetActivitiesOutput,\n});\n"],"mappings":";;AAiBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC1K,OAAO,EAAE,MAAM,EAAE,KAAK;GAAC;GAAuB;GAAqC;GAAiC;GAA0C;GAAoC;GAAgC;EAAwB,CAAC,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;EAClc,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,KAAK,CAAC,yBAAyB,sBAAsB,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EACjN,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAC5N,CAWS;CACP,QAX6C,EAAE,OAAO;EACtD,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-activities.mjs","names":[],"sources":["../../src/actions/get-activities.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetActivitiesInput = z.object({\n limit: z.number().int().default(25).describe(\"Maximum account activities to return per page. Use with cursor for pagination; omit cursor on the first request.\").optional(),\n types: z.array(z.enum([\"ACTIVITY_TYPE_TRADE\", \"ACTIVITY_TYPE_POSITION_RESOLUTION\", \"ACTIVITY_TYPE_ACCOUNT_DEPOSIT\", \"ACTIVITY_TYPE_ACCOUNT_ADVANCED_DEPOSIT\", \"ACTIVITY_TYPE_ACCOUNT_WITHDRAWAL\", \"ACTIVITY_TYPE_REFERRAL_BONUS\", \"ACTIVITY_TYPE_TRANSFER\"])).describe(\"Activity types to include. Use ACTIVITY_TYPE_TRADE for executions, ACTIVITY_TYPE_POSITION_RESOLUTION for settlements, and account deposit/withdrawal types for cash movements.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous nextCursor field. Omit for the first page.\").optional(),\n sortOrder: z.enum([\"SORT_ORDER_DESCENDING\", \"SORT_ORDER_ASCENDING\"]).describe(\"Activity timestamp sort order. DESCENDING returns newest first and is the API default; ASCENDING returns oldest first.\").optional(),\n marketSlug: z.string().describe(\"Market slug to filter account activities by. Only trades and resolutions tied to that market are returned; account-level deposits and withdrawals may not match a marketSlug.\").optional(),\n});\nexport const PolymarketUsGetActivitiesOutput = z.object({\n eof: z.boolean().describe(\"Whether this is the final page.\").nullable().optional(),\n activities: z.array(z.record(z.string(), z.unknown())).describe(\"Authenticated account activities matching the requested filters.\").nullable().optional(),\n nextCursor: z.string().describe(\"Next page cursor.\").nullable().optional(),\n}).passthrough();\n\nexport const polymarketUsGetActivities = action(\"POLYMARKET_US_GET_ACTIVITIES\", {\n slug: \"polymarket_us-get-activities\",\n name: \"Get Activities\",\n description: \"Get authenticated Polymarket US portfolio activities such as trades, resolutions, deposits, withdrawals, referral bonuses, and transfers. Requires Polymarket US signed authentication and returns activity only for that account. Use type filters and sortOrder carefully when paging through history.\",\n input: PolymarketUsGetActivitiesInput,\n output: PolymarketUsGetActivitiesOutput,\n});\n"],"mappings":";;AAiBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC1K,OAAO,EAAE,MAAM,EAAE,KAAK;GAAC;GAAuB;GAAqC;GAAiC;GAA0C;GAAoC;GAAgC;EAAwB,CAAC,CAAC,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;EAClc,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,KAAK,CAAC,yBAAyB,sBAAsB,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EACjN,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAC5N,CAWS;CACP,QAX6C,EAAE,OAAO;EACtD,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,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-id.ts
4
4
  const PolymarketUsGetEventByIdInput = zod.z.object({ id: zod.z.number().int().describe("Numeric Polymarket US event ID from a discovery response. Do not pass an event slug.") });
5
- const PolymarketUsGetEventByIdOutput = zod.z.object({ event: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Event details.") });
5
+ const PolymarketUsGetEventByIdOutput = zod.z.object({ event: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Event details.") }).passthrough();
6
6
  const polymarketUsGetEventById = require_action.action("POLYMARKET_US_GET_EVENT_BY_ID", {
7
7
  slug: "polymarket_us-get-event-by-id",
8
8
  name: "Get Event By ID",
@@ -1 +1 @@
1
- {"version":3,"file":"get-event-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-event-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetEventByIdInput = 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 PolymarketUsGetEventByIdOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n});\n\nexport const polymarketUsGetEventById = action(\"POLYMARKET_US_GET_EVENT_BY_ID\", {\n slug: \"polymarket_us-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: PolymarketUsGetEventByIdInput,\n output: PolymarketUsGetEventByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,EACtH,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,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-event-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-event-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetEventByIdInput = 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 PolymarketUsGetEventByIdOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketUsGetEventById = action(\"POLYMARKET_US_GET_EVENT_BY_ID\", {\n slug: \"polymarket_us-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: PolymarketUsGetEventByIdInput,\n output: PolymarketUsGetEventByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,EACtH,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,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const PolymarketUsGetEventByIdInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetEventByIdOutput: z.ZodObject<{
8
8
  event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetEventById: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  id: number;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const PolymarketUsGetEventByIdInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetEventByIdOutput: z.ZodObject<{
8
8
  event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetEventById: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  id: number;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const polymarketUsGetEventById = action("POLYMARKET_US_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 { polymarketUsGetEventById };
@@ -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 PolymarketUsGetEventByIdInput = 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 PolymarketUsGetEventByIdOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n});\n\nexport const polymarketUsGetEventById = action(\"POLYMARKET_US_GET_EVENT_BY_ID\", {\n slug: \"polymarket_us-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: PolymarketUsGetEventByIdInput,\n output: PolymarketUsGetEventByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,EACtH,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-id.mjs","names":[],"sources":["../../src/actions/get-event-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolymarketUsGetEventByIdInput = 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 PolymarketUsGetEventByIdOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketUsGetEventById = action(\"POLYMARKET_US_GET_EVENT_BY_ID\", {\n slug: \"polymarket_us-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: PolymarketUsGetEventByIdInput,\n output: PolymarketUsGetEventByIdOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,EACtH,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-event-by-slug.ts
4
4
  const PolymarketUsGetEventBySlugInput = 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 PolymarketUsGetEventBySlugOutput = zod.z.object({ event: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Event details.") });
5
+ const PolymarketUsGetEventBySlugOutput = zod.z.object({ event: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Event details.") }).passthrough();
6
6
  const polymarketUsGetEventBySlug = require_action.action("POLYMARKET_US_GET_EVENT_BY_SLUG", {
7
7
  slug: "polymarket_us-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 PolymarketUsGetEventBySlugInput = 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 PolymarketUsGetEventBySlugOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n});\n\nexport const polymarketUsGetEventBySlug = action(\"POLYMARKET_US_GET_EVENT_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetEventBySlugInput,\n output: PolymarketUsGetEventBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAChI,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAAgB,EACpE,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,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 PolymarketUsGetEventBySlugInput = 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 PolymarketUsGetEventBySlugOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketUsGetEventBySlug = action(\"POLYMARKET_US_GET_EVENT_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetEventBySlugInput,\n output: PolymarketUsGetEventBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EAChI,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAAgB,EACpE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const PolymarketUsGetEventBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetEventBySlugOutput: z.ZodObject<{
8
8
  event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetEventBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const PolymarketUsGetEventBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetEventBySlugOutput: z.ZodObject<{
8
8
  event: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetEventBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const polymarketUsGetEventBySlug = action("POLYMARKET_US_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 { polymarketUsGetEventBySlug };
@@ -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 PolymarketUsGetEventBySlugInput = 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 PolymarketUsGetEventBySlugOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n});\n\nexport const polymarketUsGetEventBySlug = action(\"POLYMARKET_US_GET_EVENT_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetEventBySlugInput,\n output: PolymarketUsGetEventBySlugOutput,\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,oGAAoG,EAChI,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,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 PolymarketUsGetEventBySlugInput = 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 PolymarketUsGetEventBySlugOutput = z.object({\n event: z.record(z.string(), z.unknown()).describe(\"Event details.\"),\n}).passthrough();\n\nexport const polymarketUsGetEventBySlug = action(\"POLYMARKET_US_GET_EVENT_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetEventBySlugInput,\n output: PolymarketUsGetEventBySlugOutput,\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,oGAAoG,EAChI,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,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 PolymarketUsGetLeagueBySlugInput = 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 PolymarketUsGetLeagueBySlugOutput = 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 PolymarketUsGetLeagueBySlugOutput = 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 polymarketUsGetLeagueBySlug = require_action.action("POLYMARKET_US_GET_LEAGUE_BY_SLUG", {
7
7
  slug: "polymarket_us-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 PolymarketUsGetLeagueBySlugInput = 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 PolymarketUsGetLeagueBySlugOutput = 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 polymarketUsGetLeagueBySlug = action(\"POLYMARKET_US_GET_LEAGUE_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetLeagueBySlugInput,\n output: PolymarketUsGetLeagueBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EACpH,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH,EAC1K,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,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 PolymarketUsGetLeagueBySlugInput = 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 PolymarketUsGetLeagueBySlugOutput = 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 polymarketUsGetLeagueBySlug = action(\"POLYMARKET_US_GET_LEAGUE_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetLeagueBySlugInput,\n output: PolymarketUsGetLeagueBySlugOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EACpH,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH,EAC1K,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const PolymarketUsGetLeagueBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetLeagueBySlugOutput: z.ZodObject<{
8
8
  league: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetLeagueBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const PolymarketUsGetLeagueBySlugInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetLeagueBySlugOutput: z.ZodObject<{
8
8
  league: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetLeagueBySlug: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const polymarketUsGetLeagueBySlug = action("POLYMARKET_US_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 { polymarketUsGetLeagueBySlug };
@@ -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 PolymarketUsGetLeagueBySlugInput = 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 PolymarketUsGetLeagueBySlugOutput = 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 polymarketUsGetLeagueBySlug = action(\"POLYMARKET_US_GET_LEAGUE_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetLeagueBySlugInput,\n output: PolymarketUsGetLeagueBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EACpH,CASS;CACP,QAT+C,EAAE,OAAO,EACxD,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 PolymarketUsGetLeagueBySlugInput = 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 PolymarketUsGetLeagueBySlugOutput = 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 polymarketUsGetLeagueBySlug = action(\"POLYMARKET_US_GET_LEAGUE_BY_SLUG\", {\n slug: \"polymarket_us-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: PolymarketUsGetLeagueBySlugInput,\n output: PolymarketUsGetLeagueBySlugOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EACpH,CASS;CACP,QAT+C,EAAE,OAAO,EACxD,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 PolymarketUsGetMarketBboInput = 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 PolymarketUsGetMarketBboOutput = zod.z.object({ bbo: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Best bid and offer for the market.") });
5
+ const PolymarketUsGetMarketBboOutput = 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 polymarketUsGetMarketBbo = require_action.action("POLYMARKET_US_GET_MARKET_BBO", {
7
7
  slug: "polymarket_us-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 PolymarketUsGetMarketBboInput = 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 PolymarketUsGetMarketBboOutput = z.object({\n bbo: z.record(z.string(), z.unknown()).describe(\"Best bid and offer for the market.\"),\n});\n\nexport const polymarketUsGetMarketBbo = action(\"POLYMARKET_US_GET_MARKET_BBO\", {\n slug: \"polymarket_us-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: PolymarketUsGetMarketBboInput,\n output: PolymarketUsGetMarketBboOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,EACtF,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,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 PolymarketUsGetMarketBboInput = 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 PolymarketUsGetMarketBboOutput = z.object({\n bbo: z.record(z.string(), z.unknown()).describe(\"Best bid and offer for the market.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketBbo = action(\"POLYMARKET_US_GET_MARKET_BBO\", {\n slug: \"polymarket_us-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: PolymarketUsGetMarketBboInput,\n output: PolymarketUsGetMarketBboOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,EACtF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const PolymarketUsGetMarketBboInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetMarketBboOutput: z.ZodObject<{
8
8
  bbo: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetMarketBbo: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const PolymarketUsGetMarketBboInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetMarketBboOutput: z.ZodObject<{
8
8
  bbo: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetMarketBbo: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const polymarketUsGetMarketBbo = action("POLYMARKET_US_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 { polymarketUsGetMarketBbo };
@@ -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 PolymarketUsGetMarketBboInput = 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 PolymarketUsGetMarketBboOutput = z.object({\n bbo: z.record(z.string(), z.unknown()).describe(\"Best bid and offer for the market.\"),\n});\n\nexport const polymarketUsGetMarketBbo = action(\"POLYMARKET_US_GET_MARKET_BBO\", {\n slug: \"polymarket_us-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: PolymarketUsGetMarketBboInput,\n output: PolymarketUsGetMarketBboOutput,\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,uGAAuG,EACnI,CASS;CACP,QAT4C,EAAE,OAAO,EACrD,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 PolymarketUsGetMarketBboInput = 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 PolymarketUsGetMarketBboOutput = z.object({\n bbo: z.record(z.string(), z.unknown()).describe(\"Best bid and offer for the market.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketBbo = action(\"POLYMARKET_US_GET_MARKET_BBO\", {\n slug: \"polymarket_us-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: PolymarketUsGetMarketBboInput,\n output: PolymarketUsGetMarketBboOutput,\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,uGAAuG,EACnI,CASS;CACP,QAT4C,EAAE,OAAO,EACrD,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 PolymarketUsGetMarketBookInput = 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 PolymarketUsGetMarketBookOutput = zod.z.object({ book: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Order book for the market.") });
5
+ const PolymarketUsGetMarketBookOutput = zod.z.object({ book: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Order book for the market.") }).passthrough();
6
6
  const polymarketUsGetMarketBook = require_action.action("POLYMARKET_US_GET_MARKET_BOOK", {
7
7
  slug: "polymarket_us-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 PolymarketUsGetMarketBookInput = 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 PolymarketUsGetMarketBookOutput = z.object({\n book: z.record(z.string(), z.unknown()).describe(\"Order book for the market.\"),\n});\n\nexport const polymarketUsGetMarketBook = action(\"POLYMARKET_US_GET_MARKET_BOOK\", {\n slug: \"polymarket_us-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: PolymarketUsGetMarketBookInput,\n output: PolymarketUsGetMarketBookOutput,\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,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EAC/E,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-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 PolymarketUsGetMarketBookInput = 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 PolymarketUsGetMarketBookOutput = z.object({\n book: z.record(z.string(), z.unknown()).describe(\"Order book for the market.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketBook = action(\"POLYMARKET_US_GET_MARKET_BOOK\", {\n slug: \"polymarket_us-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: PolymarketUsGetMarketBookInput,\n output: PolymarketUsGetMarketBookOutput,\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,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,EAC/E,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const PolymarketUsGetMarketBookInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetMarketBookOutput: z.ZodObject<{
8
8
  book: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetMarketBook: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const PolymarketUsGetMarketBookInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetMarketBookOutput: z.ZodObject<{
8
8
  book: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetMarketBook: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  slug: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const polymarketUsGetMarketBook = action("POLYMARKET_US_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 { polymarketUsGetMarketBook };
@@ -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 PolymarketUsGetMarketBookInput = 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 PolymarketUsGetMarketBookOutput = z.object({\n book: z.record(z.string(), z.unknown()).describe(\"Order book for the market.\"),\n});\n\nexport const polymarketUsGetMarketBook = action(\"POLYMARKET_US_GET_MARKET_BOOK\", {\n slug: \"polymarket_us-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: PolymarketUsGetMarketBookInput,\n output: PolymarketUsGetMarketBookOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CASS;CACP,QAT6C,EAAE,OAAO,EACtD,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 PolymarketUsGetMarketBookInput = 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 PolymarketUsGetMarketBookOutput = z.object({\n book: z.record(z.string(), z.unknown()).describe(\"Order book for the market.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketBook = action(\"POLYMARKET_US_GET_MARKET_BOOK\", {\n slug: \"polymarket_us-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: PolymarketUsGetMarketBookInput,\n output: PolymarketUsGetMarketBookOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACnI,CASS;CACP,QAT6C,EAAE,OAAO,EACtD,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 PolymarketUsGetMarketByIdInput = 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 PolymarketUsGetMarketByIdOutput = zod.z.object({ market: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Market details.") });
5
+ const PolymarketUsGetMarketByIdOutput = zod.z.object({ market: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Market details.") }).passthrough();
6
6
  const polymarketUsGetMarketById = require_action.action("POLYMARKET_US_GET_MARKET_BY_ID", {
7
7
  slug: "polymarket_us-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 PolymarketUsGetMarketByIdInput = 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 PolymarketUsGetMarketByIdOutput = z.object({\n market: z.record(z.string(), z.unknown()).describe(\"Market details.\"),\n});\n\nexport const polymarketUsGetMarketById = action(\"POLYMARKET_US_GET_MARKET_BY_ID\", {\n slug: \"polymarket_us-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: PolymarketUsGetMarketByIdInput,\n output: PolymarketUsGetMarketByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,EACvH,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,kCAAkC;CAChF,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 PolymarketUsGetMarketByIdInput = 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 PolymarketUsGetMarketByIdOutput = z.object({\n market: z.record(z.string(), z.unknown()).describe(\"Market details.\"),\n}).passthrough();\n\nexport const polymarketUsGetMarketById = action(\"POLYMARKET_US_GET_MARKET_BY_ID\", {\n slug: \"polymarket_us-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: PolymarketUsGetMarketByIdInput,\n output: PolymarketUsGetMarketByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,EACvH,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,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const PolymarketUsGetMarketByIdInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const PolymarketUsGetMarketByIdOutput: z.ZodObject<{
8
8
  market: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const polymarketUsGetMarketById: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  id: number;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;