@keystrokehq/mx_technologies 0.1.0

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 (322) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/cancel-partner-account.cjs +25 -0
  7. package/dist/actions/cancel-partner-account.cjs.map +1 -0
  8. package/dist/actions/cancel-partner-account.d.cts +9 -0
  9. package/dist/actions/cancel-partner-account.d.cts.map +1 -0
  10. package/dist/actions/cancel-partner-account.d.mts +9 -0
  11. package/dist/actions/cancel-partner-account.d.mts.map +1 -0
  12. package/dist/actions/cancel-partner-account.mjs +22 -0
  13. package/dist/actions/cancel-partner-account.mjs.map +1 -0
  14. package/dist/actions/create-account.cjs +67 -0
  15. package/dist/actions/create-account.cjs.map +1 -0
  16. package/dist/actions/create-account.d.cts +9 -0
  17. package/dist/actions/create-account.d.cts.map +1 -0
  18. package/dist/actions/create-account.d.mts +9 -0
  19. package/dist/actions/create-account.d.mts.map +1 -0
  20. package/dist/actions/create-account.mjs +66 -0
  21. package/dist/actions/create-account.mjs.map +1 -0
  22. package/dist/actions/create-audience-api-credentials.cjs +22 -0
  23. package/dist/actions/create-audience-api-credentials.cjs.map +1 -0
  24. package/dist/actions/create-audience-api-credentials.d.cts +9 -0
  25. package/dist/actions/create-audience-api-credentials.d.cts.map +1 -0
  26. package/dist/actions/create-audience-api-credentials.d.mts +9 -0
  27. package/dist/actions/create-audience-api-credentials.d.mts.map +1 -0
  28. package/dist/actions/create-audience-api-credentials.mjs +19 -0
  29. package/dist/actions/create-audience-api-credentials.mjs.map +1 -0
  30. package/dist/actions/create-member.cjs +50 -0
  31. package/dist/actions/create-member.cjs.map +1 -0
  32. package/dist/actions/create-member.d.cts +9 -0
  33. package/dist/actions/create-member.d.cts.map +1 -0
  34. package/dist/actions/create-member.d.mts +9 -0
  35. package/dist/actions/create-member.d.mts.map +1 -0
  36. package/dist/actions/create-member.mjs +49 -0
  37. package/dist/actions/create-member.mjs.map +1 -0
  38. package/dist/actions/create-partner-account.cjs +28 -0
  39. package/dist/actions/create-partner-account.cjs.map +1 -0
  40. package/dist/actions/create-partner-account.d.cts +9 -0
  41. package/dist/actions/create-partner-account.d.cts.map +1 -0
  42. package/dist/actions/create-partner-account.d.mts +9 -0
  43. package/dist/actions/create-partner-account.d.mts.map +1 -0
  44. package/dist/actions/create-partner-account.mjs +27 -0
  45. package/dist/actions/create-partner-account.mjs.map +1 -0
  46. package/dist/actions/fetch-rewards.cjs +38 -0
  47. package/dist/actions/fetch-rewards.cjs.map +1 -0
  48. package/dist/actions/fetch-rewards.d.cts +9 -0
  49. package/dist/actions/fetch-rewards.d.cts.map +1 -0
  50. package/dist/actions/fetch-rewards.d.mts +9 -0
  51. package/dist/actions/fetch-rewards.d.mts.map +1 -0
  52. package/dist/actions/fetch-rewards.mjs +37 -0
  53. package/dist/actions/fetch-rewards.mjs.map +1 -0
  54. package/dist/actions/get-configurable-widget-url.cjs +38 -0
  55. package/dist/actions/get-configurable-widget-url.cjs.map +1 -0
  56. package/dist/actions/get-configurable-widget-url.d.cts +9 -0
  57. package/dist/actions/get-configurable-widget-url.d.cts.map +1 -0
  58. package/dist/actions/get-configurable-widget-url.d.mts +9 -0
  59. package/dist/actions/get-configurable-widget-url.d.mts.map +1 -0
  60. package/dist/actions/get-configurable-widget-url.mjs +35 -0
  61. package/dist/actions/get-configurable-widget-url.mjs.map +1 -0
  62. package/dist/actions/index.cjs +73 -0
  63. package/dist/actions/index.d.cts +37 -0
  64. package/dist/actions/index.d.mts +37 -0
  65. package/dist/actions/index.mjs +37 -0
  66. package/dist/actions/list-account-numbers-by-member.cjs +44 -0
  67. package/dist/actions/list-account-numbers-by-member.cjs.map +1 -0
  68. package/dist/actions/list-account-numbers-by-member.d.cts +9 -0
  69. package/dist/actions/list-account-numbers-by-member.d.cts.map +1 -0
  70. package/dist/actions/list-account-numbers-by-member.d.mts +9 -0
  71. package/dist/actions/list-account-numbers-by-member.d.mts.map +1 -0
  72. package/dist/actions/list-account-numbers-by-member.mjs +43 -0
  73. package/dist/actions/list-account-numbers-by-member.mjs.map +1 -0
  74. package/dist/actions/list-account-owners.cjs +46 -0
  75. package/dist/actions/list-account-owners.cjs.map +1 -0
  76. package/dist/actions/list-account-owners.d.cts +9 -0
  77. package/dist/actions/list-account-owners.d.cts.map +1 -0
  78. package/dist/actions/list-account-owners.d.mts +9 -0
  79. package/dist/actions/list-account-owners.d.mts.map +1 -0
  80. package/dist/actions/list-account-owners.mjs +45 -0
  81. package/dist/actions/list-account-owners.mjs.map +1 -0
  82. package/dist/actions/list-accounts.cjs +49 -0
  83. package/dist/actions/list-accounts.cjs.map +1 -0
  84. package/dist/actions/list-accounts.d.cts +9 -0
  85. package/dist/actions/list-accounts.d.cts.map +1 -0
  86. package/dist/actions/list-accounts.d.mts +9 -0
  87. package/dist/actions/list-accounts.d.mts.map +1 -0
  88. package/dist/actions/list-accounts.mjs +48 -0
  89. package/dist/actions/list-accounts.mjs.map +1 -0
  90. package/dist/actions/list-budgets.cjs +47 -0
  91. package/dist/actions/list-budgets.cjs.map +1 -0
  92. package/dist/actions/list-budgets.d.cts +9 -0
  93. package/dist/actions/list-budgets.d.cts.map +1 -0
  94. package/dist/actions/list-budgets.d.mts +9 -0
  95. package/dist/actions/list-budgets.d.mts.map +1 -0
  96. package/dist/actions/list-budgets.mjs +46 -0
  97. package/dist/actions/list-budgets.mjs.map +1 -0
  98. package/dist/actions/list-categories.cjs +39 -0
  99. package/dist/actions/list-categories.cjs.map +1 -0
  100. package/dist/actions/list-categories.d.cts +9 -0
  101. package/dist/actions/list-categories.d.cts.map +1 -0
  102. package/dist/actions/list-categories.d.mts +9 -0
  103. package/dist/actions/list-categories.d.mts.map +1 -0
  104. package/dist/actions/list-categories.mjs +38 -0
  105. package/dist/actions/list-categories.mjs.map +1 -0
  106. package/dist/actions/list-challenges.cjs +36 -0
  107. package/dist/actions/list-challenges.cjs.map +1 -0
  108. package/dist/actions/list-challenges.d.cts +9 -0
  109. package/dist/actions/list-challenges.d.cts.map +1 -0
  110. package/dist/actions/list-challenges.d.mts +9 -0
  111. package/dist/actions/list-challenges.d.mts.map +1 -0
  112. package/dist/actions/list-challenges.mjs +35 -0
  113. package/dist/actions/list-challenges.mjs.map +1 -0
  114. package/dist/actions/list-favorite-institutions.cjs +46 -0
  115. package/dist/actions/list-favorite-institutions.cjs.map +1 -0
  116. package/dist/actions/list-favorite-institutions.d.cts +9 -0
  117. package/dist/actions/list-favorite-institutions.d.cts.map +1 -0
  118. package/dist/actions/list-favorite-institutions.d.mts +9 -0
  119. package/dist/actions/list-favorite-institutions.d.mts.map +1 -0
  120. package/dist/actions/list-favorite-institutions.mjs +45 -0
  121. package/dist/actions/list-favorite-institutions.mjs.map +1 -0
  122. package/dist/actions/list-goals.cjs +48 -0
  123. package/dist/actions/list-goals.cjs.map +1 -0
  124. package/dist/actions/list-goals.d.cts +9 -0
  125. package/dist/actions/list-goals.d.cts.map +1 -0
  126. package/dist/actions/list-goals.d.mts +9 -0
  127. package/dist/actions/list-goals.d.mts.map +1 -0
  128. package/dist/actions/list-goals.mjs +47 -0
  129. package/dist/actions/list-goals.mjs.map +1 -0
  130. package/dist/actions/list-institution-credentials.cjs +36 -0
  131. package/dist/actions/list-institution-credentials.cjs.map +1 -0
  132. package/dist/actions/list-institution-credentials.d.cts +9 -0
  133. package/dist/actions/list-institution-credentials.d.cts.map +1 -0
  134. package/dist/actions/list-institution-credentials.d.mts +9 -0
  135. package/dist/actions/list-institution-credentials.d.mts.map +1 -0
  136. package/dist/actions/list-institution-credentials.mjs +35 -0
  137. package/dist/actions/list-institution-credentials.mjs.map +1 -0
  138. package/dist/actions/list-institutions.cjs +54 -0
  139. package/dist/actions/list-institutions.cjs.map +1 -0
  140. package/dist/actions/list-institutions.d.cts +9 -0
  141. package/dist/actions/list-institutions.d.cts.map +1 -0
  142. package/dist/actions/list-institutions.d.mts +9 -0
  143. package/dist/actions/list-institutions.d.mts.map +1 -0
  144. package/dist/actions/list-institutions.mjs +53 -0
  145. package/dist/actions/list-institutions.mjs.map +1 -0
  146. package/dist/actions/list-member-accounts.cjs +66 -0
  147. package/dist/actions/list-member-accounts.cjs.map +1 -0
  148. package/dist/actions/list-member-accounts.d.cts +9 -0
  149. package/dist/actions/list-member-accounts.d.cts.map +1 -0
  150. package/dist/actions/list-member-accounts.d.mts +9 -0
  151. package/dist/actions/list-member-accounts.d.mts.map +1 -0
  152. package/dist/actions/list-member-accounts.mjs +65 -0
  153. package/dist/actions/list-member-accounts.mjs.map +1 -0
  154. package/dist/actions/list-members.cjs +54 -0
  155. package/dist/actions/list-members.cjs.map +1 -0
  156. package/dist/actions/list-members.d.cts +9 -0
  157. package/dist/actions/list-members.d.cts.map +1 -0
  158. package/dist/actions/list-members.d.mts +9 -0
  159. package/dist/actions/list-members.d.mts.map +1 -0
  160. package/dist/actions/list-members.mjs +53 -0
  161. package/dist/actions/list-members.mjs.map +1 -0
  162. package/dist/actions/list-rewards.cjs +42 -0
  163. package/dist/actions/list-rewards.cjs.map +1 -0
  164. package/dist/actions/list-rewards.d.cts +9 -0
  165. package/dist/actions/list-rewards.d.cts.map +1 -0
  166. package/dist/actions/list-rewards.d.mts +9 -0
  167. package/dist/actions/list-rewards.d.mts.map +1 -0
  168. package/dist/actions/list-rewards.mjs +41 -0
  169. package/dist/actions/list-rewards.mjs.map +1 -0
  170. package/dist/actions/list-statements-by-member.cjs +40 -0
  171. package/dist/actions/list-statements-by-member.cjs.map +1 -0
  172. package/dist/actions/list-statements-by-member.d.cts +9 -0
  173. package/dist/actions/list-statements-by-member.d.cts.map +1 -0
  174. package/dist/actions/list-statements-by-member.d.mts +9 -0
  175. package/dist/actions/list-statements-by-member.d.mts.map +1 -0
  176. package/dist/actions/list-statements-by-member.mjs +39 -0
  177. package/dist/actions/list-statements-by-member.mjs.map +1 -0
  178. package/dist/actions/list-taggings.cjs +36 -0
  179. package/dist/actions/list-taggings.cjs.map +1 -0
  180. package/dist/actions/list-taggings.d.cts +9 -0
  181. package/dist/actions/list-taggings.d.cts.map +1 -0
  182. package/dist/actions/list-taggings.d.mts +9 -0
  183. package/dist/actions/list-taggings.d.mts.map +1 -0
  184. package/dist/actions/list-taggings.mjs +35 -0
  185. package/dist/actions/list-taggings.mjs.map +1 -0
  186. package/dist/actions/list-tags.cjs +34 -0
  187. package/dist/actions/list-tags.cjs.map +1 -0
  188. package/dist/actions/list-tags.d.cts +9 -0
  189. package/dist/actions/list-tags.d.cts.map +1 -0
  190. package/dist/actions/list-tags.d.mts +9 -0
  191. package/dist/actions/list-tags.d.mts.map +1 -0
  192. package/dist/actions/list-tags.mjs +33 -0
  193. package/dist/actions/list-tags.mjs.map +1 -0
  194. package/dist/actions/list-transactions-by-member.cjs +107 -0
  195. package/dist/actions/list-transactions-by-member.cjs.map +1 -0
  196. package/dist/actions/list-transactions-by-member.d.cts +9 -0
  197. package/dist/actions/list-transactions-by-member.d.cts.map +1 -0
  198. package/dist/actions/list-transactions-by-member.d.mts +9 -0
  199. package/dist/actions/list-transactions-by-member.d.mts.map +1 -0
  200. package/dist/actions/list-transactions-by-member.mjs +106 -0
  201. package/dist/actions/list-transactions-by-member.mjs.map +1 -0
  202. package/dist/actions/list-transactions.cjs +111 -0
  203. package/dist/actions/list-transactions.cjs.map +1 -0
  204. package/dist/actions/list-transactions.d.cts +9 -0
  205. package/dist/actions/list-transactions.d.cts.map +1 -0
  206. package/dist/actions/list-transactions.d.mts +9 -0
  207. package/dist/actions/list-transactions.d.mts.map +1 -0
  208. package/dist/actions/list-transactions.mjs +110 -0
  209. package/dist/actions/list-transactions.mjs.map +1 -0
  210. package/dist/actions/list-users.cjs +52 -0
  211. package/dist/actions/list-users.cjs.map +1 -0
  212. package/dist/actions/list-users.d.cts +9 -0
  213. package/dist/actions/list-users.d.cts.map +1 -0
  214. package/dist/actions/list-users.d.mts +9 -0
  215. package/dist/actions/list-users.d.mts.map +1 -0
  216. package/dist/actions/list-users.mjs +51 -0
  217. package/dist/actions/list-users.mjs.map +1 -0
  218. package/dist/actions/read-account.cjs +62 -0
  219. package/dist/actions/read-account.cjs.map +1 -0
  220. package/dist/actions/read-account.d.cts +9 -0
  221. package/dist/actions/read-account.d.cts.map +1 -0
  222. package/dist/actions/read-account.d.mts +9 -0
  223. package/dist/actions/read-account.d.mts.map +1 -0
  224. package/dist/actions/read-account.mjs +59 -0
  225. package/dist/actions/read-account.mjs.map +1 -0
  226. package/dist/actions/read-category.cjs +25 -0
  227. package/dist/actions/read-category.cjs.map +1 -0
  228. package/dist/actions/read-category.d.cts +9 -0
  229. package/dist/actions/read-category.d.cts.map +1 -0
  230. package/dist/actions/read-category.d.mts +9 -0
  231. package/dist/actions/read-category.d.mts.map +1 -0
  232. package/dist/actions/read-category.mjs +22 -0
  233. package/dist/actions/read-category.mjs.map +1 -0
  234. package/dist/actions/read-fdx-account.cjs +40 -0
  235. package/dist/actions/read-fdx-account.cjs.map +1 -0
  236. package/dist/actions/read-fdx-account.d.cts +9 -0
  237. package/dist/actions/read-fdx-account.d.cts.map +1 -0
  238. package/dist/actions/read-fdx-account.d.mts +9 -0
  239. package/dist/actions/read-fdx-account.d.mts.map +1 -0
  240. package/dist/actions/read-fdx-account.mjs +39 -0
  241. package/dist/actions/read-fdx-account.mjs.map +1 -0
  242. package/dist/actions/read-institution.cjs +35 -0
  243. package/dist/actions/read-institution.cjs.map +1 -0
  244. package/dist/actions/read-institution.d.cts +9 -0
  245. package/dist/actions/read-institution.d.cts.map +1 -0
  246. package/dist/actions/read-institution.d.mts +9 -0
  247. package/dist/actions/read-institution.d.mts.map +1 -0
  248. package/dist/actions/read-institution.mjs +32 -0
  249. package/dist/actions/read-institution.mjs.map +1 -0
  250. package/dist/actions/read-transaction-by-account.cjs +103 -0
  251. package/dist/actions/read-transaction-by-account.cjs.map +1 -0
  252. package/dist/actions/read-transaction-by-account.d.cts +9 -0
  253. package/dist/actions/read-transaction-by-account.d.cts.map +1 -0
  254. package/dist/actions/read-transaction-by-account.d.mts +9 -0
  255. package/dist/actions/read-transaction-by-account.d.mts.map +1 -0
  256. package/dist/actions/read-transaction-by-account.mjs +102 -0
  257. package/dist/actions/read-transaction-by-account.mjs.map +1 -0
  258. package/dist/actions/read-transaction-rule.cjs +28 -0
  259. package/dist/actions/read-transaction-rule.cjs.map +1 -0
  260. package/dist/actions/read-transaction-rule.d.cts +9 -0
  261. package/dist/actions/read-transaction-rule.d.cts.map +1 -0
  262. package/dist/actions/read-transaction-rule.d.mts +9 -0
  263. package/dist/actions/read-transaction-rule.d.mts.map +1 -0
  264. package/dist/actions/read-transaction-rule.mjs +27 -0
  265. package/dist/actions/read-transaction-rule.mjs.map +1 -0
  266. package/dist/actions/read-transaction.cjs +65 -0
  267. package/dist/actions/read-transaction.cjs.map +1 -0
  268. package/dist/actions/read-transaction.d.cts +9 -0
  269. package/dist/actions/read-transaction.d.cts.map +1 -0
  270. package/dist/actions/read-transaction.d.mts +9 -0
  271. package/dist/actions/read-transaction.d.mts.map +1 -0
  272. package/dist/actions/read-transaction.mjs +62 -0
  273. package/dist/actions/read-transaction.mjs.map +1 -0
  274. package/dist/actions/update-transaction-rules.cjs +33 -0
  275. package/dist/actions/update-transaction-rules.cjs.map +1 -0
  276. package/dist/actions/update-transaction-rules.d.cts +9 -0
  277. package/dist/actions/update-transaction-rules.d.cts.map +1 -0
  278. package/dist/actions/update-transaction-rules.d.mts +9 -0
  279. package/dist/actions/update-transaction-rules.d.mts.map +1 -0
  280. package/dist/actions/update-transaction-rules.mjs +32 -0
  281. package/dist/actions/update-transaction-rules.mjs.map +1 -0
  282. package/dist/actions/update-transaction.cjs +71 -0
  283. package/dist/actions/update-transaction.cjs.map +1 -0
  284. package/dist/actions/update-transaction.d.cts +9 -0
  285. package/dist/actions/update-transaction.d.cts.map +1 -0
  286. package/dist/actions/update-transaction.d.mts +9 -0
  287. package/dist/actions/update-transaction.d.mts.map +1 -0
  288. package/dist/actions/update-transaction.mjs +70 -0
  289. package/dist/actions/update-transaction.mjs.map +1 -0
  290. package/dist/actions/update-users-taggings.cjs +27 -0
  291. package/dist/actions/update-users-taggings.cjs.map +1 -0
  292. package/dist/actions/update-users-taggings.d.cts +9 -0
  293. package/dist/actions/update-users-taggings.d.cts.map +1 -0
  294. package/dist/actions/update-users-taggings.d.mts +9 -0
  295. package/dist/actions/update-users-taggings.d.mts.map +1 -0
  296. package/dist/actions/update-users-taggings.mjs +26 -0
  297. package/dist/actions/update-users-taggings.mjs.map +1 -0
  298. package/dist/app.cjs +9 -0
  299. package/dist/app.cjs.map +1 -0
  300. package/dist/app.d.cts +5 -0
  301. package/dist/app.d.cts.map +1 -0
  302. package/dist/app.d.mts +5 -0
  303. package/dist/app.d.mts.map +1 -0
  304. package/dist/app.mjs +10 -0
  305. package/dist/app.mjs.map +1 -0
  306. package/dist/catalog.cjs +15 -0
  307. package/dist/catalog.cjs.map +1 -0
  308. package/dist/catalog.d.cts +14 -0
  309. package/dist/catalog.d.cts.map +1 -0
  310. package/dist/catalog.d.mts +14 -0
  311. package/dist/catalog.d.mts.map +1 -0
  312. package/dist/catalog.mjs +15 -0
  313. package/dist/catalog.mjs.map +1 -0
  314. package/dist/execute.cjs +18 -0
  315. package/dist/execute.cjs.map +1 -0
  316. package/dist/execute.mjs +18 -0
  317. package/dist/execute.mjs.map +1 -0
  318. package/dist/index.cjs +78 -0
  319. package/dist/index.d.cts +39 -0
  320. package/dist/index.d.mts +39 -0
  321. package/dist/index.mjs +40 -0
  322. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-budgets.cjs","names":["z","action"],"sources":["../../src/actions/list-budgets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListBudgetsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for paginated results. Defaults to 1 if not specified.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user. Obtain this from the List Users endpoint.\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to 25 if not specified.\").optional(),\n}).describe(\"Request parameters for listing budgets for a user.\");\nconst MxTechnologiesListBudgets_BudgetSchema: z.ZodTypeAny = z.object({\n guid: z.string().describe(\"Unique MX-defined budget GUID (e.g., BGT-...).\"),\n name: z.string().describe(\"User-visible budget name matching the category (e.g., 'Food', 'Bills', 'Entertainment').\"),\n amount: z.number().describe(\"Target monthly spending limit set by the user for this category.\"),\n metadata: z.string().describe(\"Partner-defined freeform metadata string.\").nullable().optional(),\n revision: z.number().int().describe(\"Revision number for optimistic concurrency control.\"),\n user_guid: z.string().describe(\"MX-defined user GUID who owns this budget.\"),\n created_at: z.string().describe(\"Timestamp (ISO 8601) when the budget was created.\"),\n updated_at: z.string().describe(\"Timestamp (ISO 8601) when the budget was last updated.\"),\n is_exceeded: z.boolean().describe(\"True if spending has exceeded the budget amount.\"),\n parent_guid: z.string().describe(\"GUID of the parent budget if this is a sub-budget.\").nullable().optional(),\n is_off_track: z.boolean().describe(\"True if current spending rate suggests the budget will be exceeded.\"),\n category_guid: z.string().describe(\"MX-defined GUID of the category this budget applies to.\"),\n percent_spent: z.number().describe(\"Percentage of budget spent: (transaction_total / amount) * 100. Returns 0 if amount is 0.\"),\n transaction_total: z.number().describe(\"Cumulative amount of transactions under this budget for the current month.\"),\n projected_spending: z.number().describe(\"Projected total spending for this budget based on current spending patterns.\"),\n off_track_percentage: z.number().describe(\"Off-track percentage threshold (deprecated field).\").nullable().optional(),\n}).describe(\"Budget object representing a spending budget for a specific category.\");\nconst MxTechnologiesListBudgets_PaginationSchema: z.ZodTypeAny = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\"),\n total_pages: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page number.\"),\n total_entries: z.number().int().describe(\"Total number of budgets available.\"),\n}).describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListBudgetsOutput: z.ZodTypeAny = z.object({\n budgets: z.array(MxTechnologiesListBudgets_BudgetSchema).describe(\"List of budget objects for the user. Empty list if no budgets exist.\"),\n pagination: MxTechnologiesListBudgets_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing budgets.\");\n\nexport const mxTechnologiesListBudgets = action(\"MX_TECHNOLOGIES_LIST_BUDGETS\", {\n slug: \"mx_technologies-list-budgets\",\n name: \"List budgets\",\n description: \"List all budgets for a specific MX user. Budgets track spending limits for categories. Prerequisites: Obtain a valid user_guid from the List Users endpoint first. Note: Budgets are automatically generated based on transaction history or can be manually created. If a user has no budgets, an empty list is returned.\",\n input: MxTechnologiesListBudgetsInput,\n output: MxTechnologiesListBudgetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACvH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACpH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACxF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE;CACxG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC5F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CAC9H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CACnH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CACtH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AAC/E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,SAASA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sEAAsE;CACxI,YAAY,2CAA2C,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-budgets.d.ts
4
+ declare const MxTechnologiesListBudgetsInput: z.ZodTypeAny;
5
+ declare const MxTechnologiesListBudgetsOutput: z.ZodTypeAny;
6
+ declare const mxTechnologiesListBudgets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxTechnologiesListBudgets };
9
+ //# sourceMappingURL=list-budgets.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-budgets.d.cts","names":[],"sources":["../../src/actions/list-budgets.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIkB;AAAA,cAyBpD,+BAAA,EAAiC,CAAA,CAAE,UAGG;AAAA,cAEtC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-budgets.d.ts
4
+ declare const MxTechnologiesListBudgetsInput: z.ZodTypeAny;
5
+ declare const MxTechnologiesListBudgetsOutput: z.ZodTypeAny;
6
+ declare const mxTechnologiesListBudgets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxTechnologiesListBudgets };
9
+ //# sourceMappingURL=list-budgets.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-budgets.d.mts","names":[],"sources":["../../src/actions/list-budgets.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIkB;AAAA,cAyBpD,+BAAA,EAAiC,CAAA,CAAE,UAGG;AAAA,cAEtC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,46 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-budgets.ts
4
+ const MxTechnologiesListBudgetsInput = z.object({
5
+ page: z.number().int().describe("Page number for paginated results. Defaults to 1 if not specified.").optional(),
6
+ user_guid: z.string().describe("The unique identifier (GUID) of the MX user. Obtain this from the List Users endpoint."),
7
+ records_per_page: z.number().int().describe("Number of records per page (10-1000). Defaults to 25 if not specified.").optional()
8
+ }).describe("Request parameters for listing budgets for a user.");
9
+ const MxTechnologiesListBudgets_BudgetSchema = z.object({
10
+ guid: z.string().describe("Unique MX-defined budget GUID (e.g., BGT-...)."),
11
+ name: z.string().describe("User-visible budget name matching the category (e.g., 'Food', 'Bills', 'Entertainment')."),
12
+ amount: z.number().describe("Target monthly spending limit set by the user for this category."),
13
+ metadata: z.string().describe("Partner-defined freeform metadata string.").nullable().optional(),
14
+ revision: z.number().int().describe("Revision number for optimistic concurrency control."),
15
+ user_guid: z.string().describe("MX-defined user GUID who owns this budget."),
16
+ created_at: z.string().describe("Timestamp (ISO 8601) when the budget was created."),
17
+ updated_at: z.string().describe("Timestamp (ISO 8601) when the budget was last updated."),
18
+ is_exceeded: z.boolean().describe("True if spending has exceeded the budget amount."),
19
+ parent_guid: z.string().describe("GUID of the parent budget if this is a sub-budget.").nullable().optional(),
20
+ is_off_track: z.boolean().describe("True if current spending rate suggests the budget will be exceeded."),
21
+ category_guid: z.string().describe("MX-defined GUID of the category this budget applies to."),
22
+ percent_spent: z.number().describe("Percentage of budget spent: (transaction_total / amount) * 100. Returns 0 if amount is 0."),
23
+ transaction_total: z.number().describe("Cumulative amount of transactions under this budget for the current month."),
24
+ projected_spending: z.number().describe("Projected total spending for this budget based on current spending patterns."),
25
+ off_track_percentage: z.number().describe("Off-track percentage threshold (deprecated field).").nullable().optional()
26
+ }).describe("Budget object representing a spending budget for a specific category.");
27
+ const MxTechnologiesListBudgets_PaginationSchema = z.object({
28
+ per_page: z.number().int().describe("Number of records per page."),
29
+ total_pages: z.number().int().describe("Total number of pages available."),
30
+ current_page: z.number().int().describe("Current page number."),
31
+ total_entries: z.number().int().describe("Total number of budgets available.")
32
+ }).describe("Pagination details for list responses.");
33
+ const mxTechnologiesListBudgets = action("MX_TECHNOLOGIES_LIST_BUDGETS", {
34
+ slug: "mx_technologies-list-budgets",
35
+ name: "List budgets",
36
+ description: "List all budgets for a specific MX user. Budgets track spending limits for categories. Prerequisites: Obtain a valid user_guid from the List Users endpoint first. Note: Budgets are automatically generated based on transaction history or can be manually created. If a user has no budgets, an empty list is returned.",
37
+ input: MxTechnologiesListBudgetsInput,
38
+ output: z.object({
39
+ budgets: z.array(MxTechnologiesListBudgets_BudgetSchema).describe("List of budget objects for the user. Empty list if no budgets exist."),
40
+ pagination: MxTechnologiesListBudgets_PaginationSchema.nullable()
41
+ }).describe("Response schema for listing budgets.")
42
+ });
43
+ //#endregion
44
+ export { mxTechnologiesListBudgets };
45
+
46
+ //# sourceMappingURL=list-budgets.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-budgets.mjs","names":[],"sources":["../../src/actions/list-budgets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListBudgetsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for paginated results. Defaults to 1 if not specified.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user. Obtain this from the List Users endpoint.\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to 25 if not specified.\").optional(),\n}).describe(\"Request parameters for listing budgets for a user.\");\nconst MxTechnologiesListBudgets_BudgetSchema: z.ZodTypeAny = z.object({\n guid: z.string().describe(\"Unique MX-defined budget GUID (e.g., BGT-...).\"),\n name: z.string().describe(\"User-visible budget name matching the category (e.g., 'Food', 'Bills', 'Entertainment').\"),\n amount: z.number().describe(\"Target monthly spending limit set by the user for this category.\"),\n metadata: z.string().describe(\"Partner-defined freeform metadata string.\").nullable().optional(),\n revision: z.number().int().describe(\"Revision number for optimistic concurrency control.\"),\n user_guid: z.string().describe(\"MX-defined user GUID who owns this budget.\"),\n created_at: z.string().describe(\"Timestamp (ISO 8601) when the budget was created.\"),\n updated_at: z.string().describe(\"Timestamp (ISO 8601) when the budget was last updated.\"),\n is_exceeded: z.boolean().describe(\"True if spending has exceeded the budget amount.\"),\n parent_guid: z.string().describe(\"GUID of the parent budget if this is a sub-budget.\").nullable().optional(),\n is_off_track: z.boolean().describe(\"True if current spending rate suggests the budget will be exceeded.\"),\n category_guid: z.string().describe(\"MX-defined GUID of the category this budget applies to.\"),\n percent_spent: z.number().describe(\"Percentage of budget spent: (transaction_total / amount) * 100. Returns 0 if amount is 0.\"),\n transaction_total: z.number().describe(\"Cumulative amount of transactions under this budget for the current month.\"),\n projected_spending: z.number().describe(\"Projected total spending for this budget based on current spending patterns.\"),\n off_track_percentage: z.number().describe(\"Off-track percentage threshold (deprecated field).\").nullable().optional(),\n}).describe(\"Budget object representing a spending budget for a specific category.\");\nconst MxTechnologiesListBudgets_PaginationSchema: z.ZodTypeAny = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\"),\n total_pages: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page number.\"),\n total_entries: z.number().int().describe(\"Total number of budgets available.\"),\n}).describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListBudgetsOutput: z.ZodTypeAny = z.object({\n budgets: z.array(MxTechnologiesListBudgets_BudgetSchema).describe(\"List of budget objects for the user. Empty list if no budgets exist.\"),\n pagination: MxTechnologiesListBudgets_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing budgets.\");\n\nexport const mxTechnologiesListBudgets = action(\"MX_TECHNOLOGIES_LIST_BUDGETS\", {\n slug: \"mx_technologies-list-budgets\",\n name: \"List budgets\",\n description: \"List all budgets for a specific MX user. Budgets track spending limits for categories. Prerequisites: Obtain a valid user_guid from the List Users endpoint first. Note: Budgets are automatically generated based on transaction history or can be manually created. If a user has no budgets, an empty list is returned.\",\n input: MxTechnologiesListBudgetsInput,\n output: MxTechnologiesListBudgetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACvH,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yCAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACpH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACxF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CAC9H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CACnH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CACtH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA2D,EAAE,OAAO;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AAC/E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2D,EAAE,OAAO;EACpE,SAAS,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sEAAsE;EACxI,YAAY,2CAA2C,SAAS;CAClE,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
@@ -0,0 +1,39 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-categories.ts
4
+ const MxTechnologiesListCategoriesInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number of results to return. Must be >= 1.").optional(),
6
+ user_guid: zod.z.string().describe("The unique identifier (GUID) of the MX user."),
7
+ records_per_page: zod.z.number().int().default(25).describe("Number of records per page (10-1000). Defaults to 25.").optional()
8
+ }).describe("Request parameters for listing categories associated with a user.");
9
+ const MxTechnologiesListCategories_CategorySchema = zod.z.object({
10
+ guid: zod.z.string().describe("The unique identifier (GUID) of the category."),
11
+ name: zod.z.string().describe("The name of the category."),
12
+ metadata: zod.z.string().describe("Client-specific meta information for the category. Null for default categories.").nullable().optional(),
13
+ is_income: zod.z.boolean().describe("Whether this category represents income."),
14
+ created_at: zod.z.string().describe("ISO 8601 timestamp when custom category was created (null for defaults).").nullable().optional(),
15
+ is_default: zod.z.boolean().describe("Whether this is a default MX category."),
16
+ updated_at: zod.z.string().describe("ISO 8601 timestamp when custom category was last updated (null for defaults).").nullable().optional(),
17
+ parent_guid: zod.z.string().describe("GUID of the parent category, if this is a sub-category.").nullable().optional()
18
+ }).describe("Category object as returned by MX.");
19
+ const MxTechnologiesListCategories_PaginationSchema = zod.z.object({
20
+ per_page: zod.z.number().int().describe("Number of records per page."),
21
+ total_pages: zod.z.number().int().describe("Total number of pages available."),
22
+ current_page: zod.z.number().int().describe("Current page number."),
23
+ total_entries: zod.z.number().int().describe("Total number of entries available.")
24
+ }).describe("Pagination details for list responses.");
25
+ const MxTechnologiesListCategoriesOutput = zod.z.object({
26
+ categories: zod.z.array(MxTechnologiesListCategories_CategorySchema).describe("List of this user's default and custom categories."),
27
+ pagination: MxTechnologiesListCategories_PaginationSchema.nullable()
28
+ }).describe("Response schema for listing categories.");
29
+ const mxTechnologiesListCategories = require_action.action("MX_TECHNOLOGIES_LIST_CATEGORIES", {
30
+ slug: "mx_technologies-list-categories",
31
+ name: "List categories",
32
+ description: "Tool to list all categories for a user. Use when you need to fetch both default and custom categories for a given user GUID.",
33
+ input: MxTechnologiesListCategoriesInput,
34
+ output: MxTechnologiesListCategoriesOutput
35
+ });
36
+ //#endregion
37
+ exports.mxTechnologiesListCategories = mxTechnologiesListCategories;
38
+
39
+ //# sourceMappingURL=list-categories.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-categories.cjs","names":["z","action"],"sources":["../../src/actions/list-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListCategoriesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number of results to return. Must be >= 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user.\"),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page (10-1000). Defaults to 25.\").optional(),\n}).describe(\"Request parameters for listing categories associated with a user.\");\nconst MxTechnologiesListCategories_CategorySchema: z.ZodTypeAny = z.object({\n guid: z.string().describe(\"The unique identifier (GUID) of the category.\"),\n name: z.string().describe(\"The name of the category.\"),\n metadata: z.string().describe(\"Client-specific meta information for the category. Null for default categories.\").nullable().optional(),\n is_income: z.boolean().describe(\"Whether this category represents income.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when custom category was created (null for defaults).\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is a default MX category.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when custom category was last updated (null for defaults).\").nullable().optional(),\n parent_guid: z.string().describe(\"GUID of the parent category, if this is a sub-category.\").nullable().optional(),\n}).describe(\"Category object as returned by MX.\");\nconst MxTechnologiesListCategories_PaginationSchema: z.ZodTypeAny = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\"),\n total_pages: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page number.\"),\n total_entries: z.number().int().describe(\"Total number of entries available.\"),\n}).describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListCategoriesOutput: z.ZodTypeAny = z.object({\n categories: z.array(MxTechnologiesListCategories_CategorySchema).describe(\"List of this user's default and custom categories.\"),\n pagination: MxTechnologiesListCategories_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing categories.\");\n\nexport const mxTechnologiesListCategories = action(\"MX_TECHNOLOGIES_LIST_CATEGORIES\", {\n slug: \"mx_technologies-list-categories\",\n name: \"List categories\",\n description: \"Tool to list all categories for a user. Use when you need to fetch both default and custom categories for a given user GUID.\",\n input: MxTechnologiesListCategoriesInput,\n output: MxTechnologiesListCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AAC/E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,YAAYA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,oDAAoD;CAC9H,YAAY,8CAA8C,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-categories.d.ts
4
+ declare const MxTechnologiesListCategoriesInput: z.ZodTypeAny;
5
+ declare const MxTechnologiesListCategoriesOutput: z.ZodTypeAny;
6
+ declare const mxTechnologiesListCategories: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxTechnologiesListCategories };
9
+ //# sourceMappingURL=list-categories.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-categories.d.cts","names":[],"sources":["../../src/actions/list-categories.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAI8B;AAAA,cAiBnE,kCAAA,EAAoC,CAAA,CAAE,UAGG;AAAA,cAEzC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-categories.d.ts
4
+ declare const MxTechnologiesListCategoriesInput: z.ZodTypeAny;
5
+ declare const MxTechnologiesListCategoriesOutput: z.ZodTypeAny;
6
+ declare const mxTechnologiesListCategories: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxTechnologiesListCategories };
9
+ //# sourceMappingURL=list-categories.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-categories.d.mts","names":[],"sources":["../../src/actions/list-categories.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAI8B;AAAA,cAiBnE,kCAAA,EAAoC,CAAA,CAAE,UAGG;AAAA,cAEzC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,38 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-categories.ts
4
+ const MxTechnologiesListCategoriesInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number of results to return. Must be >= 1.").optional(),
6
+ user_guid: z.string().describe("The unique identifier (GUID) of the MX user."),
7
+ records_per_page: z.number().int().default(25).describe("Number of records per page (10-1000). Defaults to 25.").optional()
8
+ }).describe("Request parameters for listing categories associated with a user.");
9
+ const MxTechnologiesListCategories_CategorySchema = z.object({
10
+ guid: z.string().describe("The unique identifier (GUID) of the category."),
11
+ name: z.string().describe("The name of the category."),
12
+ metadata: z.string().describe("Client-specific meta information for the category. Null for default categories.").nullable().optional(),
13
+ is_income: z.boolean().describe("Whether this category represents income."),
14
+ created_at: z.string().describe("ISO 8601 timestamp when custom category was created (null for defaults).").nullable().optional(),
15
+ is_default: z.boolean().describe("Whether this is a default MX category."),
16
+ updated_at: z.string().describe("ISO 8601 timestamp when custom category was last updated (null for defaults).").nullable().optional(),
17
+ parent_guid: z.string().describe("GUID of the parent category, if this is a sub-category.").nullable().optional()
18
+ }).describe("Category object as returned by MX.");
19
+ const MxTechnologiesListCategories_PaginationSchema = z.object({
20
+ per_page: z.number().int().describe("Number of records per page."),
21
+ total_pages: z.number().int().describe("Total number of pages available."),
22
+ current_page: z.number().int().describe("Current page number."),
23
+ total_entries: z.number().int().describe("Total number of entries available.")
24
+ }).describe("Pagination details for list responses.");
25
+ const mxTechnologiesListCategories = action("MX_TECHNOLOGIES_LIST_CATEGORIES", {
26
+ slug: "mx_technologies-list-categories",
27
+ name: "List categories",
28
+ description: "Tool to list all categories for a user. Use when you need to fetch both default and custom categories for a given user GUID.",
29
+ input: MxTechnologiesListCategoriesInput,
30
+ output: z.object({
31
+ categories: z.array(MxTechnologiesListCategories_CategorySchema).describe("List of this user's default and custom categories."),
32
+ pagination: MxTechnologiesListCategories_PaginationSchema.nullable()
33
+ }).describe("Response schema for listing categories.")
34
+ });
35
+ //#endregion
36
+ export { mxTechnologiesListCategories };
37
+
38
+ //# sourceMappingURL=list-categories.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-categories.mjs","names":[],"sources":["../../src/actions/list-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListCategoriesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number of results to return. Must be >= 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) of the MX user.\"),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page (10-1000). Defaults to 25.\").optional(),\n}).describe(\"Request parameters for listing categories associated with a user.\");\nconst MxTechnologiesListCategories_CategorySchema: z.ZodTypeAny = z.object({\n guid: z.string().describe(\"The unique identifier (GUID) of the category.\"),\n name: z.string().describe(\"The name of the category.\"),\n metadata: z.string().describe(\"Client-specific meta information for the category. Null for default categories.\").nullable().optional(),\n is_income: z.boolean().describe(\"Whether this category represents income.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when custom category was created (null for defaults).\").nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is a default MX category.\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when custom category was last updated (null for defaults).\").nullable().optional(),\n parent_guid: z.string().describe(\"GUID of the parent category, if this is a sub-category.\").nullable().optional(),\n}).describe(\"Category object as returned by MX.\");\nconst MxTechnologiesListCategories_PaginationSchema: z.ZodTypeAny = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\"),\n total_pages: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page number.\"),\n total_entries: z.number().int().describe(\"Total number of entries available.\"),\n}).describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListCategoriesOutput: z.ZodTypeAny = z.object({\n categories: z.array(MxTechnologiesListCategories_CategorySchema).describe(\"List of this user's default and custom categories.\"),\n pagination: MxTechnologiesListCategories_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing categories.\");\n\nexport const mxTechnologiesListCategories = action(\"MX_TECHNOLOGIES_LIST_CATEGORIES\", {\n slug: \"mx_technologies-list-categories\",\n name: \"List categories\",\n description: \"Tool to list all categories for a user. Use when you need to fetch both default and custom categories for a given user GUID.\",\n input: MxTechnologiesListCategoriesInput,\n output: MxTechnologiesListCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,8CAA4D,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,gDAA8D,EAAE,OAAO;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AAC/E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8D,EAAE,OAAO;EACvE,YAAY,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,oDAAoD;EAC9H,YAAY,8CAA8C,SAAS;CACrE,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -0,0 +1,36 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-challenges.ts
4
+ const MxTechnologiesListChallengesInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for paginated results, must be >= 1.").optional(),
6
+ user_guid: zod.z.string().describe("The unique identifier (GUID) for the MX user (prefix 'USR-')."),
7
+ member_guid: zod.z.string().describe("The unique identifier (GUID) for the member."),
8
+ records_per_page: zod.z.number().int().default(25).describe("Number of records per page; valid range 10–1000 (default 25).").optional()
9
+ }).describe("Request parameters for listing MFA challenges for a specific member.");
10
+ const MxTechnologiesListChallenges_ChallengeSchema = zod.z.object({
11
+ guid: zod.z.string().describe("Globally unique identifier for the challenge."),
12
+ type: zod.z.enum([
13
+ "TEXT",
14
+ "OPTIONS",
15
+ "TOKEN",
16
+ "IMAGE_DATA",
17
+ "IMAGE_OPTIONS"
18
+ ]).describe("Type of challenge; controls which conditional fields are present."),
19
+ label: zod.z.string().describe("Human-readable prompt presented to the user."),
20
+ options: zod.z.array(zod.z.string()).describe("List of selectable responses when type is 'OPTIONS'.").nullable().optional(),
21
+ field_name: zod.z.string().describe("Non-unique key identifying this challenge field."),
22
+ image_data: zod.z.string().describe("Base64-encoded image when type is 'IMAGE_DATA'.").nullable().optional(),
23
+ image_options: zod.z.array(zod.z.string()).describe("List of encoded images when type is 'IMAGE_OPTIONS'.").nullable().optional()
24
+ }).describe("A single MFA challenge prompt returned by the MX Platform.\n\nConditional fields appear only for certain types:\n - options: when type == 'OPTIONS'\n - image_data: when type == 'IMAGE_DATA'\n - image_options: when type == 'IMAGE_OPTIONS'");
25
+ const MxTechnologiesListChallengesOutput = zod.z.object({ challenges: zod.z.array(MxTechnologiesListChallenges_ChallengeSchema).describe("List of challenge objects to present to the end user.") }).describe("Response schema for listing MFA challenges.");
26
+ const mxTechnologiesListChallenges = require_action.action("MX_TECHNOLOGIES_LIST_CHALLENGES", {
27
+ slug: "mx_technologies-list-challenges",
28
+ name: "List challenges",
29
+ description: "Tool to list MFA challenges for a member. Use when the member is in CHALLENGED state to retrieve prompts to answer.",
30
+ input: MxTechnologiesListChallengesInput,
31
+ output: MxTechnologiesListChallengesOutput
32
+ });
33
+ //#endregion
34
+ exports.mxTechnologiesListChallenges = mxTechnologiesListChallenges;
35
+
36
+ //# sourceMappingURL=list-challenges.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-challenges.cjs","names":["z","action"],"sources":["../../src/actions/list-challenges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListChallengesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results, must be >= 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) for the MX user (prefix 'USR-').\"),\n member_guid: z.string().describe(\"The unique identifier (GUID) for the member.\"),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page; valid range 10–1000 (default 25).\").optional(),\n}).describe(\"Request parameters for listing MFA challenges for a specific member.\");\nconst MxTechnologiesListChallenges_ChallengeSchema: z.ZodTypeAny = z.object({\n guid: z.string().describe(\"Globally unique identifier for the challenge.\"),\n type: z.enum([\"TEXT\", \"OPTIONS\", \"TOKEN\", \"IMAGE_DATA\", \"IMAGE_OPTIONS\"]).describe(\"Type of challenge; controls which conditional fields are present.\"),\n label: z.string().describe(\"Human-readable prompt presented to the user.\"),\n options: z.array(z.string()).describe(\"List of selectable responses when type is 'OPTIONS'.\").nullable().optional(),\n field_name: z.string().describe(\"Non-unique key identifying this challenge field.\"),\n image_data: z.string().describe(\"Base64-encoded image when type is 'IMAGE_DATA'.\").nullable().optional(),\n image_options: z.array(z.string()).describe(\"List of encoded images when type is 'IMAGE_OPTIONS'.\").nullable().optional(),\n}).describe(\"A single MFA challenge prompt returned by the MX Platform.\\n\\nConditional fields appear only for certain types:\\n - options: when type == 'OPTIONS'\\n - image_data: when type == 'IMAGE_DATA'\\n - image_options: when type == 'IMAGE_OPTIONS'\");\nexport const MxTechnologiesListChallengesOutput: z.ZodTypeAny = z.object({\n challenges: z.array(MxTechnologiesListChallenges_ChallengeSchema).describe(\"List of challenge objects to present to the end user.\"),\n}).describe(\"Response schema for listing MFA challenges.\");\n\nexport const mxTechnologiesListChallenges = action(\"MX_TECHNOLOGIES_LIST_CHALLENGES\", {\n slug: \"mx_technologies-list-challenges\",\n name: \"List challenges\",\n description: \"Tool to list MFA challenges for a member. Use when the member is in CHALLENGED state to retrieve prompts to answer.\",\n input: MxTechnologiesListChallengesInput,\n output: MxTechnologiesListChallengesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAS;EAAc;CAAe,CAAC,CAAC,CAAC,SAAS,mEAAmE;CACtJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACzE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,kPAAkP;AAC9P,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,YAAYA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,uDAAuD,EACpI,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-challenges.d.ts
4
+ declare const MxTechnologiesListChallengesInput: z.ZodTypeAny;
5
+ declare const MxTechnologiesListChallengesOutput: z.ZodTypeAny;
6
+ declare const mxTechnologiesListChallenges: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxTechnologiesListChallenges };
9
+ //# sourceMappingURL=list-challenges.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-challenges.d.cts","names":[],"sources":["../../src/actions/list-challenges.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAKiC;AAAA,cAUtE,kCAAA,EAAoC,CAAA,CAAE,UAEO;AAAA,cAE7C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-challenges.d.ts
4
+ declare const MxTechnologiesListChallengesInput: z.ZodTypeAny;
5
+ declare const MxTechnologiesListChallengesOutput: z.ZodTypeAny;
6
+ declare const mxTechnologiesListChallenges: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxTechnologiesListChallenges };
9
+ //# sourceMappingURL=list-challenges.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-challenges.d.mts","names":[],"sources":["../../src/actions/list-challenges.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAKiC;AAAA,cAUtE,kCAAA,EAAoC,CAAA,CAAE,UAEO;AAAA,cAE7C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,35 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-challenges.ts
4
+ const MxTechnologiesListChallengesInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for paginated results, must be >= 1.").optional(),
6
+ user_guid: z.string().describe("The unique identifier (GUID) for the MX user (prefix 'USR-')."),
7
+ member_guid: z.string().describe("The unique identifier (GUID) for the member."),
8
+ records_per_page: z.number().int().default(25).describe("Number of records per page; valid range 10–1000 (default 25).").optional()
9
+ }).describe("Request parameters for listing MFA challenges for a specific member.");
10
+ const MxTechnologiesListChallenges_ChallengeSchema = z.object({
11
+ guid: z.string().describe("Globally unique identifier for the challenge."),
12
+ type: z.enum([
13
+ "TEXT",
14
+ "OPTIONS",
15
+ "TOKEN",
16
+ "IMAGE_DATA",
17
+ "IMAGE_OPTIONS"
18
+ ]).describe("Type of challenge; controls which conditional fields are present."),
19
+ label: z.string().describe("Human-readable prompt presented to the user."),
20
+ options: z.array(z.string()).describe("List of selectable responses when type is 'OPTIONS'.").nullable().optional(),
21
+ field_name: z.string().describe("Non-unique key identifying this challenge field."),
22
+ image_data: z.string().describe("Base64-encoded image when type is 'IMAGE_DATA'.").nullable().optional(),
23
+ image_options: z.array(z.string()).describe("List of encoded images when type is 'IMAGE_OPTIONS'.").nullable().optional()
24
+ }).describe("A single MFA challenge prompt returned by the MX Platform.\n\nConditional fields appear only for certain types:\n - options: when type == 'OPTIONS'\n - image_data: when type == 'IMAGE_DATA'\n - image_options: when type == 'IMAGE_OPTIONS'");
25
+ const mxTechnologiesListChallenges = action("MX_TECHNOLOGIES_LIST_CHALLENGES", {
26
+ slug: "mx_technologies-list-challenges",
27
+ name: "List challenges",
28
+ description: "Tool to list MFA challenges for a member. Use when the member is in CHALLENGED state to retrieve prompts to answer.",
29
+ input: MxTechnologiesListChallengesInput,
30
+ output: z.object({ challenges: z.array(MxTechnologiesListChallenges_ChallengeSchema).describe("List of challenge objects to present to the end user.") }).describe("Response schema for listing MFA challenges.")
31
+ });
32
+ //#endregion
33
+ export { mxTechnologiesListChallenges };
34
+
35
+ //# sourceMappingURL=list-challenges.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-challenges.mjs","names":[],"sources":["../../src/actions/list-challenges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListChallengesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for paginated results, must be >= 1.\").optional(),\n user_guid: z.string().describe(\"The unique identifier (GUID) for the MX user (prefix 'USR-').\"),\n member_guid: z.string().describe(\"The unique identifier (GUID) for the member.\"),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page; valid range 10–1000 (default 25).\").optional(),\n}).describe(\"Request parameters for listing MFA challenges for a specific member.\");\nconst MxTechnologiesListChallenges_ChallengeSchema: z.ZodTypeAny = z.object({\n guid: z.string().describe(\"Globally unique identifier for the challenge.\"),\n type: z.enum([\"TEXT\", \"OPTIONS\", \"TOKEN\", \"IMAGE_DATA\", \"IMAGE_OPTIONS\"]).describe(\"Type of challenge; controls which conditional fields are present.\"),\n label: z.string().describe(\"Human-readable prompt presented to the user.\"),\n options: z.array(z.string()).describe(\"List of selectable responses when type is 'OPTIONS'.\").nullable().optional(),\n field_name: z.string().describe(\"Non-unique key identifying this challenge field.\"),\n image_data: z.string().describe(\"Base64-encoded image when type is 'IMAGE_DATA'.\").nullable().optional(),\n image_options: z.array(z.string()).describe(\"List of encoded images when type is 'IMAGE_OPTIONS'.\").nullable().optional(),\n}).describe(\"A single MFA challenge prompt returned by the MX Platform.\\n\\nConditional fields appear only for certain types:\\n - options: when type == 'OPTIONS'\\n - image_data: when type == 'IMAGE_DATA'\\n - image_options: when type == 'IMAGE_OPTIONS'\");\nexport const MxTechnologiesListChallengesOutput: z.ZodTypeAny = z.object({\n challenges: z.array(MxTechnologiesListChallenges_ChallengeSchema).describe(\"List of challenge objects to present to the end user.\"),\n}).describe(\"Response schema for listing MFA challenges.\");\n\nexport const mxTechnologiesListChallenges = action(\"MX_TECHNOLOGIES_LIST_CHALLENGES\", {\n slug: \"mx_technologies-list-challenges\",\n name: \"List challenges\",\n description: \"Tool to list MFA challenges for a member. Use when the member is in CHALLENGED state to retrieve prompts to answer.\",\n input: MxTechnologiesListChallengesInput,\n output: MxTechnologiesListChallengesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC/E,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+CAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAS;EAAc;CAAe,CAAC,CAAC,CAAC,SAAS,mEAAmE;CACtJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACzE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,kPAAkP;AAK9P,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,YAAY,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,uDAAuD,EACpI,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -0,0 +1,46 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-favorite-institutions.ts
4
+ const MxTechnologiesListFavoriteInstitutionsInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number for pagination. Must be >= 1. Defaults to 1.").optional(),
6
+ iso_country_code: zod.z.array(zod.z.string()).describe("Filter institutions by ISO country codes. Supported values: 'US' (United States), 'CA' (Canada), 'MX' (Mexico).").optional(),
7
+ records_per_page: zod.z.number().int().default(25).describe("Number of records per page. Valid range: 10-1000. Defaults to 25.").optional()
8
+ }).describe("Request parameters for listing partner favorite institutions.");
9
+ const MxTechnologiesListFavoriteInstitutions_PaginationSchema = zod.z.object({
10
+ per_page: zod.z.number().int().describe("Number of records per page."),
11
+ total_pages: zod.z.number().int().describe("Total number of pages available."),
12
+ current_page: zod.z.number().int().describe("Current page number."),
13
+ total_entries: zod.z.number().int().describe("Total number of records available.")
14
+ }).describe("Pagination details for list responses.");
15
+ const MxTechnologiesListFavoriteInstitutions_InstitutionSchema = zod.z.object({
16
+ url: zod.z.string().describe("URL of the institution's login page.").nullable().optional(),
17
+ code: zod.z.string().describe("Unique MX-defined institution code (e.g., 'chase', 'wells_fargo')."),
18
+ guid: zod.z.string().describe("Unique MX GUID for the institution (e.g., 'INS-123456').").nullable().optional(),
19
+ name: zod.z.string().describe("Display name of the financial institution."),
20
+ is_hidden: zod.z.boolean().describe("Whether the institution is hidden from end users.").nullable().optional(),
21
+ small_logo_url: zod.z.string().describe("URL to the small-sized logo image of the institution.").nullable().optional(),
22
+ supports_oauth: zod.z.boolean().describe("Whether the institution supports OAuth-based connections.").nullable().optional(),
23
+ medium_logo_url: zod.z.string().describe("URL to the medium-sized logo image of the institution.").nullable().optional(),
24
+ iso_country_code: zod.z.string().describe("ISO country code where institution operates (US, CA, MX).").nullable().optional(),
25
+ is_disabled_by_client: zod.z.boolean().describe("Whether the institution is disabled for this partner's account.").nullable().optional(),
26
+ supports_tax_document: zod.z.boolean().describe("Whether institution supports tax document retrieval.").nullable().optional(),
27
+ supports_account_statement: zod.z.boolean().describe("Whether institution supports account statements.").nullable().optional(),
28
+ supports_transaction_history: zod.z.boolean().describe("Whether institution supports transaction history retrieval.").nullable().optional(),
29
+ supports_account_verification: zod.z.boolean().describe("Whether institution supports account verification.").nullable().optional(),
30
+ supports_account_identification: zod.z.boolean().describe("Whether institution supports account identification.").nullable().optional()
31
+ }).passthrough().describe("Institution object representing a financial institution in MX's database.");
32
+ const MxTechnologiesListFavoriteInstitutionsOutput = zod.z.object({
33
+ pagination: MxTechnologiesListFavoriteInstitutions_PaginationSchema.nullable(),
34
+ institutions: zod.z.array(MxTechnologiesListFavoriteInstitutions_InstitutionSchema).describe("List of favorite institution objects.")
35
+ }).describe("Response schema for listing favorite institutions.");
36
+ const mxTechnologiesListFavoriteInstitutions = require_action.action("MX_TECHNOLOGIES_LIST_FAVORITE_INSTITUTIONS", {
37
+ slug: "mx_technologies-list-favorite-institutions",
38
+ name: "List favorite institutions",
39
+ description: "List the partner's favorite financial institutions, sorted by popularity. Use this tool to retrieve institutions that have been pre-configured as favorites for the partner account. Results are paginated and can be filtered by country. Note: Favorite institutions must be configured by MX - contact MX support to set up favorites.",
40
+ input: MxTechnologiesListFavoriteInstitutionsInput,
41
+ output: MxTechnologiesListFavoriteInstitutionsOutput
42
+ });
43
+ //#endregion
44
+ exports.mxTechnologiesListFavoriteInstitutions = mxTechnologiesListFavoriteInstitutions;
45
+
46
+ //# sourceMappingURL=list-favorite-institutions.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-favorite-institutions.cjs","names":["z","action"],"sources":["../../src/actions/list-favorite-institutions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListFavoriteInstitutionsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be >= 1. Defaults to 1.\").optional(),\n iso_country_code: z.array(z.string()).describe(\"Filter institutions by ISO country codes. Supported values: 'US' (United States), 'CA' (Canada), 'MX' (Mexico).\").optional(),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page. Valid range: 10-1000. Defaults to 25.\").optional(),\n}).describe(\"Request parameters for listing partner favorite institutions.\");\nconst MxTechnologiesListFavoriteInstitutions_PaginationSchema: z.ZodTypeAny = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\"),\n total_pages: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page number.\"),\n total_entries: z.number().int().describe(\"Total number of records available.\"),\n}).describe(\"Pagination details for list responses.\");\nconst MxTechnologiesListFavoriteInstitutions_InstitutionSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the institution's login page.\").nullable().optional(),\n code: z.string().describe(\"Unique MX-defined institution code (e.g., 'chase', 'wells_fargo').\"),\n guid: z.string().describe(\"Unique MX GUID for the institution (e.g., 'INS-123456').\").nullable().optional(),\n name: z.string().describe(\"Display name of the financial institution.\"),\n is_hidden: z.boolean().describe(\"Whether the institution is hidden from end users.\").nullable().optional(),\n small_logo_url: z.string().describe(\"URL to the small-sized logo image of the institution.\").nullable().optional(),\n supports_oauth: z.boolean().describe(\"Whether the institution supports OAuth-based connections.\").nullable().optional(),\n medium_logo_url: z.string().describe(\"URL to the medium-sized logo image of the institution.\").nullable().optional(),\n iso_country_code: z.string().describe(\"ISO country code where institution operates (US, CA, MX).\").nullable().optional(),\n is_disabled_by_client: z.boolean().describe(\"Whether the institution is disabled for this partner's account.\").nullable().optional(),\n supports_tax_document: z.boolean().describe(\"Whether institution supports tax document retrieval.\").nullable().optional(),\n supports_account_statement: z.boolean().describe(\"Whether institution supports account statements.\").nullable().optional(),\n supports_transaction_history: z.boolean().describe(\"Whether institution supports transaction history retrieval.\").nullable().optional(),\n supports_account_verification: z.boolean().describe(\"Whether institution supports account verification.\").nullable().optional(),\n supports_account_identification: z.boolean().describe(\"Whether institution supports account identification.\").nullable().optional(),\n}).passthrough().describe(\"Institution object representing a financial institution in MX's database.\");\nexport const MxTechnologiesListFavoriteInstitutionsOutput: z.ZodTypeAny = z.object({\n pagination: MxTechnologiesListFavoriteInstitutions_PaginationSchema.nullable(),\n institutions: z.array(MxTechnologiesListFavoriteInstitutions_InstitutionSchema).describe(\"List of favorite institution objects.\"),\n}).describe(\"Response schema for listing favorite institutions.\");\n\nexport const mxTechnologiesListFavoriteInstitutions = action(\"MX_TECHNOLOGIES_LIST_FAVORITE_INSTITUTIONS\", {\n slug: \"mx_technologies-list-favorite-institutions\",\n name: \"List favorite institutions\",\n description: \"List the partner's favorite financial institutions, sorted by popularity. Use this tool to retrieve institutions that have been pre-configured as favorites for the partner account. Results are paginated and can be filtered by country. Note: Favorite institutions must be configured by MX - contact MX support to set up favorites.\",\n input: MxTechnologiesListFavoriteInstitutionsInput,\n output: MxTechnologiesListFavoriteInstitutionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChH,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC3K,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,0DAAwEA,IAAAA,EAAE,OAAO;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AAC/E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,2DAAyEA,IAAAA,EAAE,OAAO;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,4BAA4BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,8BAA8BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,+BAA+BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,iCAAiCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AACrG,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,YAAY,wDAAwD,SAAS;CAC7E,cAAcA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,uCAAuC;AAClI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,yCAAyCC,eAAAA,OAAO,8CAA8C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-favorite-institutions.d.ts
4
+ declare const MxTechnologiesListFavoriteInstitutionsInput: z.ZodTypeAny;
5
+ declare const MxTechnologiesListFavoriteInstitutionsOutput: z.ZodTypeAny;
6
+ declare const mxTechnologiesListFavoriteInstitutions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxTechnologiesListFavoriteInstitutions };
9
+ //# sourceMappingURL=list-favorite-institutions.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-favorite-institutions.d.cts","names":[],"sources":["../../src/actions/list-favorite-institutions.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAIgB;AAAA,cAwB/D,4CAAA,EAA8C,CAAA,CAAE,UAGI;AAAA,cAEpD,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-favorite-institutions.d.ts
4
+ declare const MxTechnologiesListFavoriteInstitutionsInput: z.ZodTypeAny;
5
+ declare const MxTechnologiesListFavoriteInstitutionsOutput: z.ZodTypeAny;
6
+ declare const mxTechnologiesListFavoriteInstitutions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mxTechnologiesListFavoriteInstitutions };
9
+ //# sourceMappingURL=list-favorite-institutions.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-favorite-institutions.d.mts","names":[],"sources":["../../src/actions/list-favorite-institutions.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAIgB;AAAA,cAwB/D,4CAAA,EAA8C,CAAA,CAAE,UAGI;AAAA,cAEpD,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,45 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-favorite-institutions.ts
4
+ const MxTechnologiesListFavoriteInstitutionsInput = z.object({
5
+ page: z.number().int().default(1).describe("Page number for pagination. Must be >= 1. Defaults to 1.").optional(),
6
+ iso_country_code: z.array(z.string()).describe("Filter institutions by ISO country codes. Supported values: 'US' (United States), 'CA' (Canada), 'MX' (Mexico).").optional(),
7
+ records_per_page: z.number().int().default(25).describe("Number of records per page. Valid range: 10-1000. Defaults to 25.").optional()
8
+ }).describe("Request parameters for listing partner favorite institutions.");
9
+ const MxTechnologiesListFavoriteInstitutions_PaginationSchema = z.object({
10
+ per_page: z.number().int().describe("Number of records per page."),
11
+ total_pages: z.number().int().describe("Total number of pages available."),
12
+ current_page: z.number().int().describe("Current page number."),
13
+ total_entries: z.number().int().describe("Total number of records available.")
14
+ }).describe("Pagination details for list responses.");
15
+ const MxTechnologiesListFavoriteInstitutions_InstitutionSchema = z.object({
16
+ url: z.string().describe("URL of the institution's login page.").nullable().optional(),
17
+ code: z.string().describe("Unique MX-defined institution code (e.g., 'chase', 'wells_fargo')."),
18
+ guid: z.string().describe("Unique MX GUID for the institution (e.g., 'INS-123456').").nullable().optional(),
19
+ name: z.string().describe("Display name of the financial institution."),
20
+ is_hidden: z.boolean().describe("Whether the institution is hidden from end users.").nullable().optional(),
21
+ small_logo_url: z.string().describe("URL to the small-sized logo image of the institution.").nullable().optional(),
22
+ supports_oauth: z.boolean().describe("Whether the institution supports OAuth-based connections.").nullable().optional(),
23
+ medium_logo_url: z.string().describe("URL to the medium-sized logo image of the institution.").nullable().optional(),
24
+ iso_country_code: z.string().describe("ISO country code where institution operates (US, CA, MX).").nullable().optional(),
25
+ is_disabled_by_client: z.boolean().describe("Whether the institution is disabled for this partner's account.").nullable().optional(),
26
+ supports_tax_document: z.boolean().describe("Whether institution supports tax document retrieval.").nullable().optional(),
27
+ supports_account_statement: z.boolean().describe("Whether institution supports account statements.").nullable().optional(),
28
+ supports_transaction_history: z.boolean().describe("Whether institution supports transaction history retrieval.").nullable().optional(),
29
+ supports_account_verification: z.boolean().describe("Whether institution supports account verification.").nullable().optional(),
30
+ supports_account_identification: z.boolean().describe("Whether institution supports account identification.").nullable().optional()
31
+ }).passthrough().describe("Institution object representing a financial institution in MX's database.");
32
+ const mxTechnologiesListFavoriteInstitutions = action("MX_TECHNOLOGIES_LIST_FAVORITE_INSTITUTIONS", {
33
+ slug: "mx_technologies-list-favorite-institutions",
34
+ name: "List favorite institutions",
35
+ description: "List the partner's favorite financial institutions, sorted by popularity. Use this tool to retrieve institutions that have been pre-configured as favorites for the partner account. Results are paginated and can be filtered by country. Note: Favorite institutions must be configured by MX - contact MX support to set up favorites.",
36
+ input: MxTechnologiesListFavoriteInstitutionsInput,
37
+ output: z.object({
38
+ pagination: MxTechnologiesListFavoriteInstitutions_PaginationSchema.nullable(),
39
+ institutions: z.array(MxTechnologiesListFavoriteInstitutions_InstitutionSchema).describe("List of favorite institution objects.")
40
+ }).describe("Response schema for listing favorite institutions.")
41
+ });
42
+ //#endregion
43
+ export { mxTechnologiesListFavoriteInstitutions };
44
+
45
+ //# sourceMappingURL=list-favorite-institutions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-favorite-institutions.mjs","names":[],"sources":["../../src/actions/list-favorite-institutions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListFavoriteInstitutionsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be >= 1. Defaults to 1.\").optional(),\n iso_country_code: z.array(z.string()).describe(\"Filter institutions by ISO country codes. Supported values: 'US' (United States), 'CA' (Canada), 'MX' (Mexico).\").optional(),\n records_per_page: z.number().int().default(25).describe(\"Number of records per page. Valid range: 10-1000. Defaults to 25.\").optional(),\n}).describe(\"Request parameters for listing partner favorite institutions.\");\nconst MxTechnologiesListFavoriteInstitutions_PaginationSchema: z.ZodTypeAny = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\"),\n total_pages: z.number().int().describe(\"Total number of pages available.\"),\n current_page: z.number().int().describe(\"Current page number.\"),\n total_entries: z.number().int().describe(\"Total number of records available.\"),\n}).describe(\"Pagination details for list responses.\");\nconst MxTechnologiesListFavoriteInstitutions_InstitutionSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the institution's login page.\").nullable().optional(),\n code: z.string().describe(\"Unique MX-defined institution code (e.g., 'chase', 'wells_fargo').\"),\n guid: z.string().describe(\"Unique MX GUID for the institution (e.g., 'INS-123456').\").nullable().optional(),\n name: z.string().describe(\"Display name of the financial institution.\"),\n is_hidden: z.boolean().describe(\"Whether the institution is hidden from end users.\").nullable().optional(),\n small_logo_url: z.string().describe(\"URL to the small-sized logo image of the institution.\").nullable().optional(),\n supports_oauth: z.boolean().describe(\"Whether the institution supports OAuth-based connections.\").nullable().optional(),\n medium_logo_url: z.string().describe(\"URL to the medium-sized logo image of the institution.\").nullable().optional(),\n iso_country_code: z.string().describe(\"ISO country code where institution operates (US, CA, MX).\").nullable().optional(),\n is_disabled_by_client: z.boolean().describe(\"Whether the institution is disabled for this partner's account.\").nullable().optional(),\n supports_tax_document: z.boolean().describe(\"Whether institution supports tax document retrieval.\").nullable().optional(),\n supports_account_statement: z.boolean().describe(\"Whether institution supports account statements.\").nullable().optional(),\n supports_transaction_history: z.boolean().describe(\"Whether institution supports transaction history retrieval.\").nullable().optional(),\n supports_account_verification: z.boolean().describe(\"Whether institution supports account verification.\").nullable().optional(),\n supports_account_identification: z.boolean().describe(\"Whether institution supports account identification.\").nullable().optional(),\n}).passthrough().describe(\"Institution object representing a financial institution in MX's database.\");\nexport const MxTechnologiesListFavoriteInstitutionsOutput: z.ZodTypeAny = z.object({\n pagination: MxTechnologiesListFavoriteInstitutions_PaginationSchema.nullable(),\n institutions: z.array(MxTechnologiesListFavoriteInstitutions_InstitutionSchema).describe(\"List of favorite institution objects.\"),\n}).describe(\"Response schema for listing favorite institutions.\");\n\nexport const mxTechnologiesListFavoriteInstitutions = action(\"MX_TECHNOLOGIES_LIST_FAVORITE_INSTITUTIONS\", {\n slug: \"mx_technologies-list-favorite-institutions\",\n name: \"List favorite institutions\",\n description: \"List the partner's favorite financial institutions, sorted by popularity. Use this tool to retrieve institutions that have been pre-configured as favorites for the partner account. Results are paginated and can be filtered by country. Note: Favorite institutions must be configured by MX - contact MX support to set up favorites.\",\n input: MxTechnologiesListFavoriteInstitutionsInput,\n output: MxTechnologiesListFavoriteInstitutionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4D,EAAE,OAAO;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChH,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC3K,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,0DAAwE,EAAE,OAAO;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AAC/E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,2DAAyE,EAAE,OAAO;CACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,4BAA4B,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,8BAA8B,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,+BAA+B,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,iCAAiC,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAMrG,MAAa,yCAAyC,OAAO,8CAA8C;CACzG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwE,EAAE,OAAO;EACjF,YAAY,wDAAwD,SAAS;EAC7E,cAAc,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,uCAAuC;CAClI,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
@@ -0,0 +1,48 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-goals.ts
4
+ const MxTechnologiesListGoalsInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("Page number of results to return. Must be >= 1. Defaults to 1.").optional(),
6
+ user_guid: zod.z.string().describe("The unique identifier (GUID) of the MX user (e.g., 'USR-...')."),
7
+ records_per_page: zod.z.number().int().default(25).describe("Number of records per page (10-1000). Defaults to 25.").optional()
8
+ }).describe("Request parameters for listing goals for a user.");
9
+ const MxTechnologiesListGoals_GoalSchema = zod.z.object({
10
+ guid: zod.z.string().describe("MX-defined goal GUID (e.g., 'GOL-...').").nullable().optional(),
11
+ name: zod.z.string().describe("User-defined name for the goal.").nullable().optional(),
12
+ metadata: zod.z.string().describe("Partner-defined freeform metadata (recommended to use JSON format).").nullable().optional(),
13
+ position: zod.z.number().int().describe("Priority position of the goal.").nullable().optional(),
14
+ user_guid: zod.z.string().describe("MX-defined user GUID (e.g., 'USR-...').").nullable().optional(),
15
+ created_at: zod.z.string().describe("Timestamp (ISO 8601) when the goal was created.").nullable().optional(),
16
+ updated_at: zod.z.string().describe("Timestamp (ISO 8601) when the goal was last updated.").nullable().optional(),
17
+ is_complete: zod.z.boolean().describe("Whether the goal has been completed.").nullable().optional(),
18
+ account_guid: zod.z.string().describe("GUID of the account linked to this goal.").nullable().optional(),
19
+ target_amount: zod.z.number().describe("Target amount to achieve for the goal.").nullable().optional(),
20
+ current_amount: zod.z.number().describe("Current amount saved toward the goal.").nullable().optional(),
21
+ goal_type_name: zod.z.string().describe("Type/category of the goal (e.g., 'Emergency Fund', 'Vacation').").nullable().optional(),
22
+ has_been_spent: zod.z.boolean().describe("Whether the goal amount has been spent.").nullable().optional(),
23
+ meta_type_name: zod.z.string().describe("Meta type classification for the goal.").nullable().optional(),
24
+ track_type_name: zod.z.string().describe("Tracking type for the goal progress.").nullable().optional(),
25
+ targeted_to_complete_at: zod.z.string().describe("Target completion date (ISO 8601) set by the user.").nullable().optional(),
26
+ projected_to_complete_at: zod.z.string().describe("Projected completion date (ISO 8601) based on saving rate.").nullable().optional()
27
+ }).passthrough().describe("Goal object representing a user's financial goal.");
28
+ const MxTechnologiesListGoals_PaginationSchema = zod.z.object({
29
+ per_page: zod.z.number().int().describe("Number of records per page."),
30
+ total_pages: zod.z.number().int().describe("Total number of pages available."),
31
+ current_page: zod.z.number().int().describe("Current page number."),
32
+ total_entries: zod.z.number().int().describe("Total number of entries available.")
33
+ }).describe("Pagination details for list responses.");
34
+ const MxTechnologiesListGoalsOutput = zod.z.object({
35
+ goals: zod.z.array(MxTechnologiesListGoals_GoalSchema).describe("List of goal objects for the user."),
36
+ pagination: MxTechnologiesListGoals_PaginationSchema.nullable()
37
+ }).describe("Response schema for listing goals.");
38
+ const mxTechnologiesListGoals = require_action.action("MX_TECHNOLOGIES_LIST_GOALS", {
39
+ slug: "mx_technologies-list-goals",
40
+ name: "List goals",
41
+ description: "List all financial goals for a specific MX user. Use this to retrieve a paginated list of the user's savings goals, including target amounts, progress, and completion dates. Requires a valid user GUID obtained from the LIST_USERS action.",
42
+ input: MxTechnologiesListGoalsInput,
43
+ output: MxTechnologiesListGoalsOutput
44
+ });
45
+ //#endregion
46
+ exports.mxTechnologiesListGoals = mxTechnologiesListGoals;
47
+
48
+ //# sourceMappingURL=list-goals.cjs.map