@keystrokehq/mx_technologies 0.1.0 → 0.1.2

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 (275) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/cancel-partner-account.cjs +3 -3
  4. package/dist/actions/cancel-partner-account.cjs.map +1 -1
  5. package/dist/actions/cancel-partner-account.d.cts +16 -3
  6. package/dist/actions/cancel-partner-account.d.cts.map +1 -1
  7. package/dist/actions/cancel-partner-account.d.mts +16 -3
  8. package/dist/actions/cancel-partner-account.d.mts.map +1 -1
  9. package/dist/actions/cancel-partner-account.mjs +3 -3
  10. package/dist/actions/cancel-partner-account.mjs.map +1 -1
  11. package/dist/actions/create-account.cjs.map +1 -1
  12. package/dist/actions/create-account.d.cts +68 -3
  13. package/dist/actions/create-account.d.cts.map +1 -1
  14. package/dist/actions/create-account.d.mts +68 -3
  15. package/dist/actions/create-account.d.mts.map +1 -1
  16. package/dist/actions/create-account.mjs.map +1 -1
  17. package/dist/actions/create-audience-api-credentials.cjs +2 -2
  18. package/dist/actions/create-audience-api-credentials.cjs.map +1 -1
  19. package/dist/actions/create-audience-api-credentials.d.cts +12 -3
  20. package/dist/actions/create-audience-api-credentials.d.cts.map +1 -1
  21. package/dist/actions/create-audience-api-credentials.d.mts +12 -3
  22. package/dist/actions/create-audience-api-credentials.d.mts.map +1 -1
  23. package/dist/actions/create-audience-api-credentials.mjs +2 -2
  24. package/dist/actions/create-audience-api-credentials.mjs.map +1 -1
  25. package/dist/actions/create-member.cjs +3 -3
  26. package/dist/actions/create-member.cjs.map +1 -1
  27. package/dist/actions/create-member.d.cts +54 -3
  28. package/dist/actions/create-member.d.cts.map +1 -1
  29. package/dist/actions/create-member.d.mts +54 -3
  30. package/dist/actions/create-member.d.mts.map +1 -1
  31. package/dist/actions/create-member.mjs +3 -3
  32. package/dist/actions/create-member.mjs.map +1 -1
  33. package/dist/actions/create-partner-account.cjs +2 -2
  34. package/dist/actions/create-partner-account.cjs.map +1 -1
  35. package/dist/actions/create-partner-account.d.cts +21 -3
  36. package/dist/actions/create-partner-account.d.cts.map +1 -1
  37. package/dist/actions/create-partner-account.d.mts +21 -3
  38. package/dist/actions/create-partner-account.d.mts.map +1 -1
  39. package/dist/actions/create-partner-account.mjs +2 -2
  40. package/dist/actions/create-partner-account.mjs.map +1 -1
  41. package/dist/actions/fetch-rewards.cjs.map +1 -1
  42. package/dist/actions/fetch-rewards.d.cts +29 -3
  43. package/dist/actions/fetch-rewards.d.cts.map +1 -1
  44. package/dist/actions/fetch-rewards.d.mts +29 -3
  45. package/dist/actions/fetch-rewards.d.mts.map +1 -1
  46. package/dist/actions/fetch-rewards.mjs.map +1 -1
  47. package/dist/actions/get-configurable-widget-url.cjs +1 -1
  48. package/dist/actions/get-configurable-widget-url.cjs.map +1 -1
  49. package/dist/actions/get-configurable-widget-url.d.cts +43 -3
  50. package/dist/actions/get-configurable-widget-url.d.cts.map +1 -1
  51. package/dist/actions/get-configurable-widget-url.d.mts +43 -3
  52. package/dist/actions/get-configurable-widget-url.d.mts.map +1 -1
  53. package/dist/actions/get-configurable-widget-url.mjs +1 -1
  54. package/dist/actions/get-configurable-widget-url.mjs.map +1 -1
  55. package/dist/actions/list-account-numbers-by-member.cjs +10 -10
  56. package/dist/actions/list-account-numbers-by-member.cjs.map +1 -1
  57. package/dist/actions/list-account-numbers-by-member.d.cts +34 -3
  58. package/dist/actions/list-account-numbers-by-member.d.cts.map +1 -1
  59. package/dist/actions/list-account-numbers-by-member.d.mts +34 -3
  60. package/dist/actions/list-account-numbers-by-member.d.mts.map +1 -1
  61. package/dist/actions/list-account-numbers-by-member.mjs +10 -10
  62. package/dist/actions/list-account-numbers-by-member.mjs.map +1 -1
  63. package/dist/actions/list-account-owners.cjs +8 -8
  64. package/dist/actions/list-account-owners.cjs.map +1 -1
  65. package/dist/actions/list-account-owners.d.cts +36 -3
  66. package/dist/actions/list-account-owners.d.cts.map +1 -1
  67. package/dist/actions/list-account-owners.d.mts +36 -3
  68. package/dist/actions/list-account-owners.d.mts.map +1 -1
  69. package/dist/actions/list-account-owners.mjs +8 -8
  70. package/dist/actions/list-account-owners.mjs.map +1 -1
  71. package/dist/actions/list-accounts.cjs +8 -8
  72. package/dist/actions/list-accounts.cjs.map +1 -1
  73. package/dist/actions/list-accounts.d.cts +44 -3
  74. package/dist/actions/list-accounts.d.cts.map +1 -1
  75. package/dist/actions/list-accounts.d.mts +44 -3
  76. package/dist/actions/list-accounts.d.mts.map +1 -1
  77. package/dist/actions/list-accounts.mjs +8 -8
  78. package/dist/actions/list-accounts.mjs.map +1 -1
  79. package/dist/actions/list-budgets.cjs +17 -17
  80. package/dist/actions/list-budgets.cjs.map +1 -1
  81. package/dist/actions/list-budgets.d.cts +36 -3
  82. package/dist/actions/list-budgets.d.cts.map +1 -1
  83. package/dist/actions/list-budgets.d.mts +36 -3
  84. package/dist/actions/list-budgets.d.mts.map +1 -1
  85. package/dist/actions/list-budgets.mjs +17 -17
  86. package/dist/actions/list-budgets.mjs.map +1 -1
  87. package/dist/actions/list-categories.cjs +8 -8
  88. package/dist/actions/list-categories.cjs.map +1 -1
  89. package/dist/actions/list-categories.d.cts +28 -3
  90. package/dist/actions/list-categories.d.cts.map +1 -1
  91. package/dist/actions/list-categories.d.mts +28 -3
  92. package/dist/actions/list-categories.d.mts.map +1 -1
  93. package/dist/actions/list-categories.mjs +8 -8
  94. package/dist/actions/list-categories.mjs.map +1 -1
  95. package/dist/actions/list-challenges.cjs +4 -4
  96. package/dist/actions/list-challenges.cjs.map +1 -1
  97. package/dist/actions/list-challenges.d.cts +29 -3
  98. package/dist/actions/list-challenges.d.cts.map +1 -1
  99. package/dist/actions/list-challenges.d.mts +29 -3
  100. package/dist/actions/list-challenges.d.mts.map +1 -1
  101. package/dist/actions/list-challenges.mjs +4 -4
  102. package/dist/actions/list-challenges.mjs.map +1 -1
  103. package/dist/actions/list-favorite-institutions.cjs +6 -6
  104. package/dist/actions/list-favorite-institutions.cjs.map +1 -1
  105. package/dist/actions/list-favorite-institutions.d.cts +35 -3
  106. package/dist/actions/list-favorite-institutions.d.cts.map +1 -1
  107. package/dist/actions/list-favorite-institutions.d.mts +35 -3
  108. package/dist/actions/list-favorite-institutions.d.mts.map +1 -1
  109. package/dist/actions/list-favorite-institutions.mjs +6 -6
  110. package/dist/actions/list-favorite-institutions.mjs.map +1 -1
  111. package/dist/actions/list-goals.cjs +4 -4
  112. package/dist/actions/list-goals.cjs.map +1 -1
  113. package/dist/actions/list-goals.d.cts +37 -3
  114. package/dist/actions/list-goals.d.cts.map +1 -1
  115. package/dist/actions/list-goals.d.mts +37 -3
  116. package/dist/actions/list-goals.d.mts.map +1 -1
  117. package/dist/actions/list-goals.mjs +4 -4
  118. package/dist/actions/list-goals.mjs.map +1 -1
  119. package/dist/actions/list-institution-credentials.cjs.map +1 -1
  120. package/dist/actions/list-institution-credentials.d.cts +25 -3
  121. package/dist/actions/list-institution-credentials.d.cts.map +1 -1
  122. package/dist/actions/list-institution-credentials.d.mts +25 -3
  123. package/dist/actions/list-institution-credentials.d.mts.map +1 -1
  124. package/dist/actions/list-institution-credentials.mjs.map +1 -1
  125. package/dist/actions/list-institutions.cjs +17 -17
  126. package/dist/actions/list-institutions.cjs.map +1 -1
  127. package/dist/actions/list-institutions.d.cts +45 -3
  128. package/dist/actions/list-institutions.d.cts.map +1 -1
  129. package/dist/actions/list-institutions.d.mts +45 -3
  130. package/dist/actions/list-institutions.d.mts.map +1 -1
  131. package/dist/actions/list-institutions.mjs +17 -17
  132. package/dist/actions/list-institutions.mjs.map +1 -1
  133. package/dist/actions/list-member-accounts.cjs +4 -4
  134. package/dist/actions/list-member-accounts.cjs.map +1 -1
  135. package/dist/actions/list-member-accounts.d.cts +57 -3
  136. package/dist/actions/list-member-accounts.d.cts.map +1 -1
  137. package/dist/actions/list-member-accounts.d.mts +57 -3
  138. package/dist/actions/list-member-accounts.d.mts.map +1 -1
  139. package/dist/actions/list-member-accounts.mjs +4 -4
  140. package/dist/actions/list-member-accounts.mjs.map +1 -1
  141. package/dist/actions/list-members.cjs +4 -4
  142. package/dist/actions/list-members.cjs.map +1 -1
  143. package/dist/actions/list-members.d.cts +47 -3
  144. package/dist/actions/list-members.d.cts.map +1 -1
  145. package/dist/actions/list-members.d.mts +47 -3
  146. package/dist/actions/list-members.d.mts.map +1 -1
  147. package/dist/actions/list-members.mjs +4 -4
  148. package/dist/actions/list-members.mjs.map +1 -1
  149. package/dist/actions/list-rewards.cjs +4 -4
  150. package/dist/actions/list-rewards.cjs.map +1 -1
  151. package/dist/actions/list-rewards.d.cts +32 -3
  152. package/dist/actions/list-rewards.d.cts.map +1 -1
  153. package/dist/actions/list-rewards.d.mts +32 -3
  154. package/dist/actions/list-rewards.d.mts.map +1 -1
  155. package/dist/actions/list-rewards.mjs +4 -4
  156. package/dist/actions/list-rewards.mjs.map +1 -1
  157. package/dist/actions/list-statements-by-member.cjs +4 -4
  158. package/dist/actions/list-statements-by-member.cjs.map +1 -1
  159. package/dist/actions/list-statements-by-member.d.cts +30 -3
  160. package/dist/actions/list-statements-by-member.d.cts.map +1 -1
  161. package/dist/actions/list-statements-by-member.d.mts +30 -3
  162. package/dist/actions/list-statements-by-member.d.mts.map +1 -1
  163. package/dist/actions/list-statements-by-member.mjs +4 -4
  164. package/dist/actions/list-statements-by-member.mjs.map +1 -1
  165. package/dist/actions/list-taggings.cjs +4 -4
  166. package/dist/actions/list-taggings.cjs.map +1 -1
  167. package/dist/actions/list-taggings.d.cts +25 -3
  168. package/dist/actions/list-taggings.d.cts.map +1 -1
  169. package/dist/actions/list-taggings.d.mts +25 -3
  170. package/dist/actions/list-taggings.d.mts.map +1 -1
  171. package/dist/actions/list-taggings.mjs +4 -4
  172. package/dist/actions/list-taggings.mjs.map +1 -1
  173. package/dist/actions/list-tags.cjs +4 -4
  174. package/dist/actions/list-tags.cjs.map +1 -1
  175. package/dist/actions/list-tags.d.cts +23 -3
  176. package/dist/actions/list-tags.d.cts.map +1 -1
  177. package/dist/actions/list-tags.d.mts +23 -3
  178. package/dist/actions/list-tags.d.mts.map +1 -1
  179. package/dist/actions/list-tags.mjs +4 -4
  180. package/dist/actions/list-tags.mjs.map +1 -1
  181. package/dist/actions/list-transactions-by-member.cjs +40 -40
  182. package/dist/actions/list-transactions-by-member.cjs.map +1 -1
  183. package/dist/actions/list-transactions-by-member.d.cts +108 -3
  184. package/dist/actions/list-transactions-by-member.d.cts.map +1 -1
  185. package/dist/actions/list-transactions-by-member.d.mts +108 -3
  186. package/dist/actions/list-transactions-by-member.d.mts.map +1 -1
  187. package/dist/actions/list-transactions-by-member.mjs +40 -40
  188. package/dist/actions/list-transactions-by-member.mjs.map +1 -1
  189. package/dist/actions/list-transactions.cjs +4 -4
  190. package/dist/actions/list-transactions.cjs.map +1 -1
  191. package/dist/actions/list-transactions.d.cts +107 -3
  192. package/dist/actions/list-transactions.d.cts.map +1 -1
  193. package/dist/actions/list-transactions.d.mts +107 -3
  194. package/dist/actions/list-transactions.d.mts.map +1 -1
  195. package/dist/actions/list-transactions.mjs +4 -4
  196. package/dist/actions/list-transactions.mjs.map +1 -1
  197. package/dist/actions/list-users.cjs +4 -4
  198. package/dist/actions/list-users.cjs.map +1 -1
  199. package/dist/actions/list-users.d.cts +43 -3
  200. package/dist/actions/list-users.d.cts.map +1 -1
  201. package/dist/actions/list-users.d.mts +43 -3
  202. package/dist/actions/list-users.d.mts.map +1 -1
  203. package/dist/actions/list-users.mjs +4 -4
  204. package/dist/actions/list-users.mjs.map +1 -1
  205. package/dist/actions/read-account.cjs +3 -3
  206. package/dist/actions/read-account.cjs.map +1 -1
  207. package/dist/actions/read-account.d.cts +52 -3
  208. package/dist/actions/read-account.d.cts.map +1 -1
  209. package/dist/actions/read-account.d.mts +52 -3
  210. package/dist/actions/read-account.d.mts.map +1 -1
  211. package/dist/actions/read-account.mjs +3 -3
  212. package/dist/actions/read-account.mjs.map +1 -1
  213. package/dist/actions/read-category.cjs +4 -4
  214. package/dist/actions/read-category.cjs.map +1 -1
  215. package/dist/actions/read-category.d.cts +16 -3
  216. package/dist/actions/read-category.d.cts.map +1 -1
  217. package/dist/actions/read-category.d.mts +16 -3
  218. package/dist/actions/read-category.d.mts.map +1 -1
  219. package/dist/actions/read-category.mjs +4 -4
  220. package/dist/actions/read-category.mjs.map +1 -1
  221. package/dist/actions/read-fdx-account.cjs.map +1 -1
  222. package/dist/actions/read-fdx-account.d.cts +30 -3
  223. package/dist/actions/read-fdx-account.d.cts.map +1 -1
  224. package/dist/actions/read-fdx-account.d.mts +30 -3
  225. package/dist/actions/read-fdx-account.d.mts.map +1 -1
  226. package/dist/actions/read-fdx-account.mjs.map +1 -1
  227. package/dist/actions/read-institution.cjs.map +1 -1
  228. package/dist/actions/read-institution.d.cts +26 -3
  229. package/dist/actions/read-institution.d.cts.map +1 -1
  230. package/dist/actions/read-institution.d.mts +26 -3
  231. package/dist/actions/read-institution.d.mts.map +1 -1
  232. package/dist/actions/read-institution.mjs.map +1 -1
  233. package/dist/actions/read-transaction-by-account.cjs.map +1 -1
  234. package/dist/actions/read-transaction-by-account.d.cts +91 -3
  235. package/dist/actions/read-transaction-by-account.d.cts.map +1 -1
  236. package/dist/actions/read-transaction-by-account.d.mts +91 -3
  237. package/dist/actions/read-transaction-by-account.d.mts.map +1 -1
  238. package/dist/actions/read-transaction-by-account.mjs.map +1 -1
  239. package/dist/actions/read-transaction-rule.cjs.map +1 -1
  240. package/dist/actions/read-transaction-rule.d.cts +19 -3
  241. package/dist/actions/read-transaction-rule.d.cts.map +1 -1
  242. package/dist/actions/read-transaction-rule.d.mts +19 -3
  243. package/dist/actions/read-transaction-rule.d.mts.map +1 -1
  244. package/dist/actions/read-transaction-rule.mjs.map +1 -1
  245. package/dist/actions/read-transaction.cjs.map +1 -1
  246. package/dist/actions/read-transaction.d.cts +55 -3
  247. package/dist/actions/read-transaction.d.cts.map +1 -1
  248. package/dist/actions/read-transaction.d.mts +55 -3
  249. package/dist/actions/read-transaction.d.mts.map +1 -1
  250. package/dist/actions/read-transaction.mjs.map +1 -1
  251. package/dist/actions/update-transaction-rules.cjs.map +1 -1
  252. package/dist/actions/update-transaction-rules.d.cts +29 -3
  253. package/dist/actions/update-transaction-rules.d.cts.map +1 -1
  254. package/dist/actions/update-transaction-rules.d.mts +29 -3
  255. package/dist/actions/update-transaction-rules.d.mts.map +1 -1
  256. package/dist/actions/update-transaction-rules.mjs.map +1 -1
  257. package/dist/actions/update-transaction.cjs.map +1 -1
  258. package/dist/actions/update-transaction.d.cts +74 -3
  259. package/dist/actions/update-transaction.d.cts.map +1 -1
  260. package/dist/actions/update-transaction.d.mts +74 -3
  261. package/dist/actions/update-transaction.d.mts.map +1 -1
  262. package/dist/actions/update-transaction.mjs.map +1 -1
  263. package/dist/actions/update-users-taggings.cjs.map +1 -1
  264. package/dist/actions/update-users-taggings.d.cts +23 -3
  265. package/dist/actions/update-users-taggings.d.cts.map +1 -1
  266. package/dist/actions/update-users-taggings.d.mts +23 -3
  267. package/dist/actions/update-users-taggings.d.mts.map +1 -1
  268. package/dist/actions/update-users-taggings.mjs.map +1 -1
  269. package/dist/catalog.cjs +13 -1
  270. package/dist/catalog.cjs.map +1 -1
  271. package/dist/catalog.d.cts +12 -0
  272. package/dist/catalog.d.mts +12 -0
  273. package/dist/catalog.mjs +13 -1
  274. package/dist/catalog.mjs.map +1 -1
  275. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"list-account-owners.mjs","names":[],"sources":["../../src/actions/list-account-owners.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountOwnersInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for paginated results (1-indexed). Defaults to 1 if not provided.\").optional(),\n user_guid: z.string().describe(\"MX-defined unique user identifier. Must start with 'USR-' prefix.\"),\n member_guid: z.string().describe(\"MX-defined unique member identifier. Must start with 'MBR-' or 'MEM-' prefix.\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to 25 if not provided.\").optional(),\n}).describe(\"Request model for listing account owners associated with a member.\");\nconst MxTechnologiesListAccountOwners_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});\nconst MxTechnologiesListAccountOwners_AccountOwnerSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"Owner's city.\").nullable().optional(),\n guid: z.string().describe(\"MX-defined unique identifier for the account owner.\"),\n email: z.string().describe(\"Owner's email address.\").nullable().optional(),\n phone: z.string().describe(\"Owner's phone number.\").nullable().optional(),\n state: z.string().describe(\"Owner's state or region.\").nullable().optional(),\n address: z.string().describe(\"Owner's street address.\").nullable().optional(),\n country: z.string().describe(\"Owner's country code.\").nullable().optional(),\n last_name: z.string().describe(\"Owner's last name.\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID associated with this owner.\"),\n first_name: z.string().describe(\"Owner's first name.\").nullable().optional(),\n owner_name: z.string().describe(\"Full owner name as reported by the institution.\").nullable().optional(),\n member_guid: z.string().describe(\"MX-defined member GUID associated with this owner.\"),\n postal_code: z.string().describe(\"Owner's postal or ZIP code.\").nullable().optional(),\n account_guid: z.string().describe(\"MX-defined account GUID tied to this owner.\"),\n}).describe(\"Account owner information as returned by the MX Platform API.\");\nexport const MxTechnologiesListAccountOwnersOutput: z.ZodTypeAny = z.object({\n pagination: MxTechnologiesListAccountOwners_PaginationSchema.nullable(),\n account_owners: z.array(MxTechnologiesListAccountOwners_AccountOwnerSchema).describe(\"List of account owner objects.\"),\n}).describe(\"Response model for listing account owners.\");\n\nexport const mxTechnologiesListAccountOwners = action(\"MX_TECHNOLOGIES_LIST_ACCOUNT_OWNERS\", {\n slug: \"mx_technologies-list-account-owners\",\n name: \"List account owners\",\n description: \"Tool to list account owners for a specific member. Returns identity information (name, address, contact details) for all account owners associated with the member's accounts. Requires user_guid and member_guid. Use this to retrieve account holder identity data for verification or compliance purposes.\",\n input: MxTechnologiesListAccountOwnersInput,\n output: MxTechnologiesListAccountOwnersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAChH,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,mDAAiE,EAAE,OAAO;CAC9E,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;AACD,MAAM,qDAAmE,EAAE,OAAO;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;AACjF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAM3E,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViE,EAAE,OAAO;EAC1E,YAAY,iDAAiD,SAAS;EACtE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,gCAAgC;CACvH,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-account-owners.mjs","names":[],"sources":["../../src/actions/list-account-owners.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountOwnersInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results (1-indexed). Defaults to 1 if not provided.\").optional(),\n user_guid: z.string().describe(\"MX-defined unique user identifier. Must start with 'USR-' prefix.\"),\n member_guid: z.string().describe(\"MX-defined unique member identifier. Must start with 'MBR-' or 'MEM-' prefix.\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to 25 if not provided.\").optional(),\n}).describe(\"Request model for listing account owners associated with a member.\");\nconst MxTechnologiesListAccountOwners_PaginationSchema = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n total_entries: z.number().int().describe(\"Total number of records available.\").nullable(),\n});\nconst MxTechnologiesListAccountOwners_AccountOwnerSchema = z.object({\n city: z.string().describe(\"Owner's city.\").nullable().optional(),\n guid: z.string().describe(\"MX-defined unique identifier for the account owner.\").nullable(),\n email: z.string().describe(\"Owner's email address.\").nullable().optional(),\n phone: z.string().describe(\"Owner's phone number.\").nullable().optional(),\n state: z.string().describe(\"Owner's state or region.\").nullable().optional(),\n address: z.string().describe(\"Owner's street address.\").nullable().optional(),\n country: z.string().describe(\"Owner's country code.\").nullable().optional(),\n last_name: z.string().describe(\"Owner's last name.\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID associated with this owner.\").nullable(),\n first_name: z.string().describe(\"Owner's first name.\").nullable().optional(),\n owner_name: z.string().describe(\"Full owner name as reported by the institution.\").nullable().optional(),\n member_guid: z.string().describe(\"MX-defined member GUID associated with this owner.\").nullable(),\n postal_code: z.string().describe(\"Owner's postal or ZIP code.\").nullable().optional(),\n account_guid: z.string().describe(\"MX-defined account GUID tied to this owner.\").nullable(),\n}).describe(\"Account owner information as returned by the MX Platform API.\");\nexport const MxTechnologiesListAccountOwnersOutput = z.object({\n pagination: MxTechnologiesListAccountOwners_PaginationSchema.nullable(),\n account_owners: z.array(MxTechnologiesListAccountOwners_AccountOwnerSchema).describe(\"List of account owner objects.\"),\n}).describe(\"Response model for listing account owners.\");\n\nexport const mxTechnologiesListAccountOwners = action(\"MX_TECHNOLOGIES_LIST_ACCOUNT_OWNERS\", {\n slug: \"mx_technologies-list-account-owners\",\n name: \"List account owners\",\n description: \"Tool to list account owners for a specific member. Returns identity information (name, address, contact details) for all account owners associated with the member's accounts. Requires user_guid and member_guid. Use this to retrieve account holder identity data for verification or compliance purposes.\",\n input: MxTechnologiesListAccountOwnersInput,\n output: MxTechnologiesListAccountOwnersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAChH,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,mDAAmD,EAAE,OAAO;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC1F,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBA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@ -10,27 +10,27 @@ const MxTechnologiesListAccountsInput = zod.z.object({
10
10
  member_is_managed_by_user: zod.z.boolean().describe("Only include accounts whose member is managed by the user.").optional()
11
11
  }).describe("Request parameters for listing all accounts under a specific user.");
12
12
  const MxTechnologiesListAccounts_AccountSchema = zod.z.object({
13
- guid: zod.z.string().describe("MX account GUID."),
13
+ guid: zod.z.string().describe("MX account GUID.").nullable(),
14
14
  name: zod.z.string().describe("Name of the account.").nullable().optional(),
15
15
  type: zod.z.string().describe("General account type.").nullable().optional(),
16
- balance: zod.z.number().describe("Current total balance of the account."),
16
+ balance: zod.z.number().describe("Current total balance of the account.").nullable(),
17
17
  subtype: zod.z.string().describe("Specific account subtype.").nullable().optional(),
18
18
  is_closed: zod.z.boolean().describe("Flag indicating if account is closed.").nullable().optional(),
19
19
  is_manual: zod.z.boolean().describe("Flag indicating if account was manually created.").nullable().optional(),
20
- user_guid: zod.z.string().describe("MX user GUID owning the account."),
20
+ user_guid: zod.z.string().describe("MX user GUID owning the account.").nullable(),
21
21
  created_at: zod.z.string().describe("ISO 8601 timestamp when account was created.").nullable().optional(),
22
22
  updated_at: zod.z.string().describe("ISO 8601 timestamp when account was last updated.").nullable().optional(),
23
23
  member_guid: zod.z.string().describe("MX member GUID owning the account.").nullable().optional(),
24
24
  currency_code: zod.z.string().describe("ISO 4217 currency code.").nullable().optional(),
25
25
  institution_guid: zod.z.string().describe("MX institution GUID linked to the account.").nullable().optional(),
26
- available_balance: zod.z.number().describe("Available balance for spending."),
26
+ available_balance: zod.z.number().describe("Available balance for spending.").nullable(),
27
27
  member_is_managed_by_user: zod.z.boolean().describe("Flag if account's member is managed by the user.").nullable().optional()
28
28
  });
29
29
  const MxTechnologiesListAccounts_PaginationSchema = zod.z.object({
30
- per_page: zod.z.number().int().describe("Number of records per page."),
31
- total_pages: zod.z.number().int().describe("Total number of pages available."),
32
- current_page: zod.z.number().int().describe("Current page number."),
33
- total_entries: zod.z.number().int().describe("Total number of entries available.")
30
+ per_page: zod.z.number().int().describe("Number of records per page.").nullable(),
31
+ total_pages: zod.z.number().int().describe("Total number of pages available.").nullable(),
32
+ current_page: zod.z.number().int().describe("Current page number.").nullable(),
33
+ total_entries: zod.z.number().int().describe("Total number of entries available.").nullable()
34
34
  });
35
35
  const MxTechnologiesListAccountsOutput = zod.z.object({
36
36
  accounts: zod.z.array(MxTechnologiesListAccounts_AccountSchema).describe("List of account objects."),
@@ -1 +1 @@
1
- {"version":3,"file":"list-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number of results to return (1-based).\").optional(),\n use_case: z.array(z.enum([\"PFM\", \"MONEY_MOVEMENT\"])).describe(\"Filter accounts by member use cases: 'PFM' and/or 'MONEY_MOVEMENT'.\").optional(),\n is_manual: z.boolean().describe(\"Only include accounts that were manually created.\").optional(),\n user_guid: z.string().describe(\"MX user GUID (must start with 'USR-').\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to MX default of 25.\").optional(),\n member_is_managed_by_user: z.boolean().describe(\"Only include accounts whose member is managed by the user.\").optional(),\n}).describe(\"Request parameters for listing all accounts under a specific user.\");\nconst MxTechnologiesListAccounts_AccountSchema: z.ZodTypeAny = z.object({\n guid: z.string().describe(\"MX account GUID.\"),\n name: z.string().describe(\"Name of the account.\").nullable().optional(),\n type: z.string().describe(\"General account type.\").nullable().optional(),\n balance: z.number().describe(\"Current total balance of the account.\"),\n subtype: z.string().describe(\"Specific account subtype.\").nullable().optional(),\n is_closed: z.boolean().describe(\"Flag indicating if account is closed.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Flag indicating if account was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"MX user GUID owning the account.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when account was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when account was last updated.\").nullable().optional(),\n member_guid: z.string().describe(\"MX member GUID owning the account.\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code.\").nullable().optional(),\n institution_guid: z.string().describe(\"MX institution GUID linked to the account.\").nullable().optional(),\n available_balance: z.number().describe(\"Available balance for spending.\"),\n member_is_managed_by_user: z.boolean().describe(\"Flag if account's member is managed by the user.\").nullable().optional(),\n});\nconst MxTechnologiesListAccounts_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});\nexport const MxTechnologiesListAccountsOutput: z.ZodTypeAny = z.object({\n accounts: z.array(MxTechnologiesListAccounts_AccountSchema).describe(\"List of account objects.\"),\n pagination: MxTechnologiesListAccounts_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing user accounts.\");\n\nexport const mxTechnologiesListAccounts = action(\"MX_TECHNOLOGIES_LIST_ACCOUNTS\", {\n slug: \"mx_technologies-list-accounts\",\n name: \"List accounts\",\n description: \"Tool to list all accounts for a user. Use after confirming the user GUID.\",\n input: MxTechnologiesListAccountsInput,\n output: MxTechnologiesListAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,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,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACxE,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC;AACD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,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;AACD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,UAAUA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0BAA0B;CAC/F,YAAY,4CAA4C,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountsInput = z.object({\n page: z.number().int().describe(\"Page number of results to return (1-based).\").optional(),\n use_case: z.array(z.enum([\"PFM\", \"MONEY_MOVEMENT\"])).describe(\"Filter accounts by member use cases: 'PFM' and/or 'MONEY_MOVEMENT'.\").optional(),\n is_manual: z.boolean().describe(\"Only include accounts that were manually created.\").optional(),\n user_guid: z.string().describe(\"MX user GUID (must start with 'USR-').\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to MX default of 25.\").optional(),\n member_is_managed_by_user: z.boolean().describe(\"Only include accounts whose member is managed by the user.\").optional(),\n}).describe(\"Request parameters for listing all accounts under a specific user.\");\nconst MxTechnologiesListAccounts_AccountSchema = z.object({\n guid: z.string().describe(\"MX account GUID.\").nullable(),\n name: z.string().describe(\"Name of the account.\").nullable().optional(),\n type: z.string().describe(\"General account type.\").nullable().optional(),\n balance: z.number().describe(\"Current total balance of the account.\").nullable(),\n subtype: z.string().describe(\"Specific account subtype.\").nullable().optional(),\n is_closed: z.boolean().describe(\"Flag indicating if account is closed.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Flag indicating if account was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"MX user GUID owning the account.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when account was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when account was last updated.\").nullable().optional(),\n member_guid: z.string().describe(\"MX member GUID owning the account.\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code.\").nullable().optional(),\n institution_guid: z.string().describe(\"MX institution GUID linked to the account.\").nullable().optional(),\n available_balance: z.number().describe(\"Available balance for spending.\").nullable(),\n member_is_managed_by_user: z.boolean().describe(\"Flag if account's member is managed by the user.\").nullable().optional(),\n});\nconst MxTechnologiesListAccounts_PaginationSchema = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n total_entries: z.number().int().describe(\"Total number of entries available.\").nullable(),\n});\nexport const MxTechnologiesListAccountsOutput = z.object({\n accounts: z.array(MxTechnologiesListAccounts_AccountSchema).describe(\"List of account objects.\"),\n pagination: MxTechnologiesListAccounts_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing user accounts.\");\n\nexport const mxTechnologiesListAccounts = action(\"MX_TECHNOLOGIES_LIST_ACCOUNTS\", {\n slug: \"mx_technologies-list-accounts\",\n name: \"List accounts\",\n description: \"Tool to list all accounts for a user. Use after confirming the user GUID.\",\n input: MxTechnologiesListAccountsInput,\n output: MxTechnologiesListAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC5H,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAA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E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC1F,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0BAA0B;CAC/F,YAAY,4CAA4C,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,50 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-accounts.d.ts
4
- declare const MxTechnologiesListAccountsInput: z.ZodTypeAny;
5
- declare const MxTechnologiesListAccountsOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesListAccountsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ use_case: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7
+ PFM: "PFM";
8
+ MONEY_MOVEMENT: "MONEY_MOVEMENT";
9
+ }>>>;
10
+ is_manual: z.ZodOptional<z.ZodBoolean>;
11
+ user_guid: z.ZodString;
12
+ records_per_page: z.ZodOptional<z.ZodNumber>;
13
+ member_is_managed_by_user: z.ZodOptional<z.ZodBoolean>;
14
+ }, z.core.$strip>;
15
+ declare const MxTechnologiesListAccountsOutput: z.ZodObject<{
16
+ accounts: z.ZodArray<z.ZodObject<{
17
+ guid: z.ZodNullable<z.ZodString>;
18
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ balance: z.ZodNullable<z.ZodNumber>;
21
+ subtype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ is_closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ is_manual: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ user_guid: z.ZodNullable<z.ZodString>;
25
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ member_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ institution_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ available_balance: z.ZodNullable<z.ZodNumber>;
31
+ member_is_managed_by_user: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
+ }, z.core.$strip>>;
33
+ pagination: z.ZodNullable<z.ZodObject<{
34
+ per_page: z.ZodNullable<z.ZodNumber>;
35
+ total_pages: z.ZodNullable<z.ZodNumber>;
36
+ current_page: z.ZodNullable<z.ZodNumber>;
37
+ total_entries: z.ZodNullable<z.ZodNumber>;
38
+ }, z.core.$strip>>;
39
+ }, z.core.$strip>;
40
+ declare const mxTechnologiesListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
41
+ user_guid: string;
42
+ page?: number | undefined;
43
+ use_case?: ("PFM" | "MONEY_MOVEMENT")[] | undefined;
44
+ is_manual?: boolean | undefined;
45
+ records_per_page?: number | undefined;
46
+ member_is_managed_by_user?: boolean | undefined;
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
48
  //#endregion
8
49
  export { mxTechnologiesListAccounts };
9
50
  //# sourceMappingURL=list-accounts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-accounts.d.cts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAOiC;AAAA,cAwBpE,gCAAA,EAAkC,CAAA,CAAE,UAGQ;AAAA,cAE5C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-accounts.d.cts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cA+B/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,50 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-accounts.d.ts
4
- declare const MxTechnologiesListAccountsInput: z.ZodTypeAny;
5
- declare const MxTechnologiesListAccountsOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesListAccountsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ use_case: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7
+ PFM: "PFM";
8
+ MONEY_MOVEMENT: "MONEY_MOVEMENT";
9
+ }>>>;
10
+ is_manual: z.ZodOptional<z.ZodBoolean>;
11
+ user_guid: z.ZodString;
12
+ records_per_page: z.ZodOptional<z.ZodNumber>;
13
+ member_is_managed_by_user: z.ZodOptional<z.ZodBoolean>;
14
+ }, z.core.$strip>;
15
+ declare const MxTechnologiesListAccountsOutput: z.ZodObject<{
16
+ accounts: z.ZodArray<z.ZodObject<{
17
+ guid: z.ZodNullable<z.ZodString>;
18
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ balance: z.ZodNullable<z.ZodNumber>;
21
+ subtype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ is_closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ is_manual: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ user_guid: z.ZodNullable<z.ZodString>;
25
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ member_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ institution_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ available_balance: z.ZodNullable<z.ZodNumber>;
31
+ member_is_managed_by_user: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
+ }, z.core.$strip>>;
33
+ pagination: z.ZodNullable<z.ZodObject<{
34
+ per_page: z.ZodNullable<z.ZodNumber>;
35
+ total_pages: z.ZodNullable<z.ZodNumber>;
36
+ current_page: z.ZodNullable<z.ZodNumber>;
37
+ total_entries: z.ZodNullable<z.ZodNumber>;
38
+ }, z.core.$strip>>;
39
+ }, z.core.$strip>;
40
+ declare const mxTechnologiesListAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
41
+ user_guid: string;
42
+ page?: number | undefined;
43
+ use_case?: ("PFM" | "MONEY_MOVEMENT")[] | undefined;
44
+ is_manual?: boolean | undefined;
45
+ records_per_page?: number | undefined;
46
+ member_is_managed_by_user?: boolean | undefined;
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
48
  //#endregion
8
49
  export { mxTechnologiesListAccounts };
9
50
  //# sourceMappingURL=list-accounts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-accounts.d.mts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAOiC;AAAA,cAwBpE,gCAAA,EAAkC,CAAA,CAAE,UAGQ;AAAA,cAE5C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-accounts.d.mts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cA+B/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
@@ -10,27 +10,27 @@ const MxTechnologiesListAccountsInput = z.object({
10
10
  member_is_managed_by_user: z.boolean().describe("Only include accounts whose member is managed by the user.").optional()
11
11
  }).describe("Request parameters for listing all accounts under a specific user.");
12
12
  const MxTechnologiesListAccounts_AccountSchema = z.object({
13
- guid: z.string().describe("MX account GUID."),
13
+ guid: z.string().describe("MX account GUID.").nullable(),
14
14
  name: z.string().describe("Name of the account.").nullable().optional(),
15
15
  type: z.string().describe("General account type.").nullable().optional(),
16
- balance: z.number().describe("Current total balance of the account."),
16
+ balance: z.number().describe("Current total balance of the account.").nullable(),
17
17
  subtype: z.string().describe("Specific account subtype.").nullable().optional(),
18
18
  is_closed: z.boolean().describe("Flag indicating if account is closed.").nullable().optional(),
19
19
  is_manual: z.boolean().describe("Flag indicating if account was manually created.").nullable().optional(),
20
- user_guid: z.string().describe("MX user GUID owning the account."),
20
+ user_guid: z.string().describe("MX user GUID owning the account.").nullable(),
21
21
  created_at: z.string().describe("ISO 8601 timestamp when account was created.").nullable().optional(),
22
22
  updated_at: z.string().describe("ISO 8601 timestamp when account was last updated.").nullable().optional(),
23
23
  member_guid: z.string().describe("MX member GUID owning the account.").nullable().optional(),
24
24
  currency_code: z.string().describe("ISO 4217 currency code.").nullable().optional(),
25
25
  institution_guid: z.string().describe("MX institution GUID linked to the account.").nullable().optional(),
26
- available_balance: z.number().describe("Available balance for spending."),
26
+ available_balance: z.number().describe("Available balance for spending.").nullable(),
27
27
  member_is_managed_by_user: z.boolean().describe("Flag if account's member is managed by the user.").nullable().optional()
28
28
  });
29
29
  const MxTechnologiesListAccounts_PaginationSchema = z.object({
30
- per_page: z.number().int().describe("Number of records per page."),
31
- total_pages: z.number().int().describe("Total number of pages available."),
32
- current_page: z.number().int().describe("Current page number."),
33
- total_entries: z.number().int().describe("Total number of entries available.")
30
+ per_page: z.number().int().describe("Number of records per page.").nullable(),
31
+ total_pages: z.number().int().describe("Total number of pages available.").nullable(),
32
+ current_page: z.number().int().describe("Current page number.").nullable(),
33
+ total_entries: z.number().int().describe("Total number of entries available.").nullable()
34
34
  });
35
35
  const mxTechnologiesListAccounts = action("MX_TECHNOLOGIES_LIST_ACCOUNTS", {
36
36
  slug: "mx_technologies-list-accounts",
@@ -1 +1 @@
1
- {"version":3,"file":"list-accounts.mjs","names":[],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number of results to return (1-based).\").optional(),\n use_case: z.array(z.enum([\"PFM\", \"MONEY_MOVEMENT\"])).describe(\"Filter accounts by member use cases: 'PFM' and/or 'MONEY_MOVEMENT'.\").optional(),\n is_manual: z.boolean().describe(\"Only include accounts that were manually created.\").optional(),\n user_guid: z.string().describe(\"MX user GUID (must start with 'USR-').\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to MX default of 25.\").optional(),\n member_is_managed_by_user: z.boolean().describe(\"Only include accounts whose member is managed by the user.\").optional(),\n}).describe(\"Request parameters for listing all accounts under a specific user.\");\nconst MxTechnologiesListAccounts_AccountSchema: z.ZodTypeAny = z.object({\n guid: z.string().describe(\"MX account GUID.\"),\n name: z.string().describe(\"Name of the account.\").nullable().optional(),\n type: z.string().describe(\"General account type.\").nullable().optional(),\n balance: z.number().describe(\"Current total balance of the account.\"),\n subtype: z.string().describe(\"Specific account subtype.\").nullable().optional(),\n is_closed: z.boolean().describe(\"Flag indicating if account is closed.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Flag indicating if account was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"MX user GUID owning the account.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when account was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when account was last updated.\").nullable().optional(),\n member_guid: z.string().describe(\"MX member GUID owning the account.\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code.\").nullable().optional(),\n institution_guid: z.string().describe(\"MX institution GUID linked to the account.\").nullable().optional(),\n available_balance: z.number().describe(\"Available balance for spending.\"),\n member_is_managed_by_user: z.boolean().describe(\"Flag if account's member is managed by the user.\").nullable().optional(),\n});\nconst MxTechnologiesListAccounts_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});\nexport const MxTechnologiesListAccountsOutput: z.ZodTypeAny = z.object({\n accounts: z.array(MxTechnologiesListAccounts_AccountSchema).describe(\"List of account objects.\"),\n pagination: MxTechnologiesListAccounts_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing user accounts.\");\n\nexport const mxTechnologiesListAccounts = action(\"MX_TECHNOLOGIES_LIST_ACCOUNTS\", {\n slug: \"mx_technologies-list-accounts\",\n name: \"List accounts\",\n description: \"Tool to list all accounts for a user. Use after confirming the user GUID.\",\n input: MxTechnologiesListAccountsInput,\n output: MxTechnologiesListAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OA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AAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACxE,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC;AACD,MAAM,8CAA4D,EAAE,OAAO;CACzE,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;AAMD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4D,EAAE,OAAO;EACrE,UAAU,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0BAA0B;EAC/F,YAAY,4CAA4C,SAAS;CACnE,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-accounts.mjs","names":[],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesListAccountsInput = z.object({\n page: z.number().int().describe(\"Page number of results to return (1-based).\").optional(),\n use_case: z.array(z.enum([\"PFM\", \"MONEY_MOVEMENT\"])).describe(\"Filter accounts by member use cases: 'PFM' and/or 'MONEY_MOVEMENT'.\").optional(),\n is_manual: z.boolean().describe(\"Only include accounts that were manually created.\").optional(),\n user_guid: z.string().describe(\"MX user GUID (must start with 'USR-').\"),\n records_per_page: z.number().int().describe(\"Number of records per page (10-1000). Defaults to MX default of 25.\").optional(),\n member_is_managed_by_user: z.boolean().describe(\"Only include accounts whose member is managed by the user.\").optional(),\n}).describe(\"Request parameters for listing all accounts under a specific user.\");\nconst MxTechnologiesListAccounts_AccountSchema = z.object({\n guid: z.string().describe(\"MX account GUID.\").nullable(),\n name: z.string().describe(\"Name of the account.\").nullable().optional(),\n type: z.string().describe(\"General account type.\").nullable().optional(),\n balance: z.number().describe(\"Current total balance of the account.\").nullable(),\n subtype: z.string().describe(\"Specific account subtype.\").nullable().optional(),\n is_closed: z.boolean().describe(\"Flag indicating if account is closed.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Flag indicating if account was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"MX user GUID owning the account.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when account was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when account was last updated.\").nullable().optional(),\n member_guid: z.string().describe(\"MX member GUID owning the account.\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code.\").nullable().optional(),\n institution_guid: z.string().describe(\"MX institution GUID linked to the account.\").nullable().optional(),\n available_balance: z.number().describe(\"Available balance for spending.\").nullable(),\n member_is_managed_by_user: z.boolean().describe(\"Flag if account's member is managed by the user.\").nullable().optional(),\n});\nconst MxTechnologiesListAccounts_PaginationSchema = z.object({\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n total_entries: z.number().int().describe(\"Total number of entries available.\").nullable(),\n});\nexport const MxTechnologiesListAccountsOutput = z.object({\n accounts: z.array(MxTechnologiesListAccounts_AccountSchema).describe(\"List of account objects.\"),\n pagination: MxTechnologiesListAccounts_PaginationSchema.nullable(),\n}).describe(\"Response schema for listing user accounts.\");\n\nexport const mxTechnologiesListAccounts = action(\"MX_TECHNOLOGIES_LIST_ACCOUNTS\", {\n slug: \"mx_technologies-list-accounts\",\n name: \"List accounts\",\n description: \"Tool to list all accounts for a user. Use after confirming the user GUID.\",\n input: MxTechnologiesListAccountsInput,\n output: MxTechnologiesListAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9I,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC5H,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAA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AAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC1F,CAAC;AAMD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,UAAU,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0BAA0B;EAC/F,YAAY,4CAA4C,SAAS;CACnE,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -7,28 +7,28 @@ const MxTechnologiesListBudgetsInput = zod.z.object({
7
7
  records_per_page: zod.z.number().int().describe("Number of records per page (10-1000). Defaults to 25 if not specified.").optional()
8
8
  }).describe("Request parameters for listing budgets for a user.");
9
9
  const MxTechnologiesListBudgets_BudgetSchema = zod.z.object({
10
- guid: zod.z.string().describe("Unique MX-defined budget GUID (e.g., BGT-...)."),
11
- name: zod.z.string().describe("User-visible budget name matching the category (e.g., 'Food', 'Bills', 'Entertainment')."),
12
- amount: zod.z.number().describe("Target monthly spending limit set by the user for this category."),
10
+ guid: zod.z.string().describe("Unique MX-defined budget GUID (e.g., BGT-...).").nullable(),
11
+ name: zod.z.string().describe("User-visible budget name matching the category (e.g., 'Food', 'Bills', 'Entertainment').").nullable(),
12
+ amount: zod.z.number().describe("Target monthly spending limit set by the user for this category.").nullable(),
13
13
  metadata: zod.z.string().describe("Partner-defined freeform metadata string.").nullable().optional(),
14
- revision: zod.z.number().int().describe("Revision number for optimistic concurrency control."),
15
- user_guid: zod.z.string().describe("MX-defined user GUID who owns this budget."),
16
- created_at: zod.z.string().describe("Timestamp (ISO 8601) when the budget was created."),
17
- updated_at: zod.z.string().describe("Timestamp (ISO 8601) when the budget was last updated."),
18
- is_exceeded: zod.z.boolean().describe("True if spending has exceeded the budget amount."),
14
+ revision: zod.z.number().int().describe("Revision number for optimistic concurrency control.").nullable(),
15
+ user_guid: zod.z.string().describe("MX-defined user GUID who owns this budget.").nullable(),
16
+ created_at: zod.z.string().describe("Timestamp (ISO 8601) when the budget was created.").nullable(),
17
+ updated_at: zod.z.string().describe("Timestamp (ISO 8601) when the budget was last updated.").nullable(),
18
+ is_exceeded: zod.z.boolean().describe("True if spending has exceeded the budget amount.").nullable(),
19
19
  parent_guid: zod.z.string().describe("GUID of the parent budget if this is a sub-budget.").nullable().optional(),
20
- is_off_track: zod.z.boolean().describe("True if current spending rate suggests the budget will be exceeded."),
21
- category_guid: zod.z.string().describe("MX-defined GUID of the category this budget applies to."),
22
- percent_spent: zod.z.number().describe("Percentage of budget spent: (transaction_total / amount) * 100. Returns 0 if amount is 0."),
23
- transaction_total: zod.z.number().describe("Cumulative amount of transactions under this budget for the current month."),
24
- projected_spending: zod.z.number().describe("Projected total spending for this budget based on current spending patterns."),
20
+ is_off_track: zod.z.boolean().describe("True if current spending rate suggests the budget will be exceeded.").nullable(),
21
+ category_guid: zod.z.string().describe("MX-defined GUID of the category this budget applies to.").nullable(),
22
+ percent_spent: zod.z.number().describe("Percentage of budget spent: (transaction_total / amount) * 100. Returns 0 if amount is 0.").nullable(),
23
+ transaction_total: zod.z.number().describe("Cumulative amount of transactions under this budget for the current month.").nullable(),
24
+ projected_spending: zod.z.number().describe("Projected total spending for this budget based on current spending patterns.").nullable(),
25
25
  off_track_percentage: zod.z.number().describe("Off-track percentage threshold (deprecated field).").nullable().optional()
26
26
  }).describe("Budget object representing a spending budget for a specific category.");
27
27
  const MxTechnologiesListBudgets_PaginationSchema = zod.z.object({
28
- per_page: zod.z.number().int().describe("Number of records per page."),
29
- total_pages: zod.z.number().int().describe("Total number of pages available."),
30
- current_page: zod.z.number().int().describe("Current page number."),
31
- total_entries: zod.z.number().int().describe("Total number of budgets available.")
28
+ per_page: zod.z.number().int().describe("Number of records per page.").nullable(),
29
+ total_pages: zod.z.number().int().describe("Total number of pages available.").nullable(),
30
+ current_page: zod.z.number().int().describe("Current page number.").nullable(),
31
+ total_entries: zod.z.number().int().describe("Total number of budgets available.").nullable()
32
32
  }).describe("Pagination details for list responses.");
33
33
  const MxTechnologiesListBudgetsOutput = zod.z.object({
34
34
  budgets: zod.z.array(MxTechnologiesListBudgets_BudgetSchema).describe("List of budget objects for the user. Empty list if no budgets exist."),
@@ -1 +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,SA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,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"}
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.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.object({\n guid: z.string().describe(\"Unique MX-defined budget GUID (e.g., BGT-...).\").nullable(),\n name: z.string().describe(\"User-visible budget name matching the category (e.g., 'Food', 'Bills', 'Entertainment').\").nullable(),\n amount: z.number().describe(\"Target monthly spending limit set by the user for this category.\").nullable(),\n metadata: z.string().describe(\"Partner-defined freeform metadata string.\").nullable().optional(),\n revision: z.number().int().describe(\"Revision number for optimistic concurrency control.\").nullable(),\n user_guid: z.string().describe(\"MX-defined user GUID who owns this budget.\").nullable(),\n created_at: z.string().describe(\"Timestamp (ISO 8601) when the budget was created.\").nullable(),\n updated_at: z.string().describe(\"Timestamp (ISO 8601) when the budget was last updated.\").nullable(),\n is_exceeded: z.boolean().describe(\"True if spending has exceeded the budget amount.\").nullable(),\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.\").nullable(),\n category_guid: z.string().describe(\"MX-defined GUID of the category this budget applies to.\").nullable(),\n percent_spent: z.number().describe(\"Percentage of budget spent: (transaction_total / amount) * 100. Returns 0 if amount is 0.\").nullable(),\n transaction_total: z.number().describe(\"Cumulative amount of transactions under this budget for the current month.\").nullable(),\n projected_spending: z.number().describe(\"Projected total spending for this budget based on current spending patterns.\").nullable(),\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.object({\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n total_entries: z.number().int().describe(\"Total number of budgets available.\").nullable(),\n}).describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListBudgetsOutput = 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,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,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,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzG,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,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC/F,a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CAAC,SAAS,sCAAsC;AAElD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,42 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const MxTechnologiesListBudgetsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ user_guid: z.ZodString;
7
+ records_per_page: z.ZodOptional<z.ZodNumber>;
8
+ }, z.core.$strip>;
9
+ declare const MxTechnologiesListBudgetsOutput: z.ZodObject<{
10
+ budgets: z.ZodArray<z.ZodObject<{
11
+ guid: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ amount: z.ZodNullable<z.ZodNumber>;
14
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ revision: z.ZodNullable<z.ZodNumber>;
16
+ user_guid: z.ZodNullable<z.ZodString>;
17
+ created_at: z.ZodNullable<z.ZodString>;
18
+ updated_at: z.ZodNullable<z.ZodString>;
19
+ is_exceeded: z.ZodNullable<z.ZodBoolean>;
20
+ parent_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ is_off_track: z.ZodNullable<z.ZodBoolean>;
22
+ category_guid: z.ZodNullable<z.ZodString>;
23
+ percent_spent: z.ZodNullable<z.ZodNumber>;
24
+ transaction_total: z.ZodNullable<z.ZodNumber>;
25
+ projected_spending: z.ZodNullable<z.ZodNumber>;
26
+ off_track_percentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ }, z.core.$strip>>;
28
+ pagination: z.ZodNullable<z.ZodObject<{
29
+ per_page: z.ZodNullable<z.ZodNumber>;
30
+ total_pages: z.ZodNullable<z.ZodNumber>;
31
+ current_page: z.ZodNullable<z.ZodNumber>;
32
+ total_entries: z.ZodNullable<z.ZodNumber>;
33
+ }, z.core.$strip>>;
34
+ }, z.core.$strip>;
35
+ declare const mxTechnologiesListBudgets: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ user_guid: string;
37
+ page?: number | undefined;
38
+ records_per_page?: number | undefined;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
40
  //#endregion
8
41
  export { mxTechnologiesListBudgets };
9
42
  //# sourceMappingURL=list-budgets.d.cts.map
@@ -1 +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"}
1
+ {"version":3,"file":"list-budgets.d.cts","names":[],"sources":["../../src/actions/list-budgets.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cA6B9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,42 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const MxTechnologiesListBudgetsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ user_guid: z.ZodString;
7
+ records_per_page: z.ZodOptional<z.ZodNumber>;
8
+ }, z.core.$strip>;
9
+ declare const MxTechnologiesListBudgetsOutput: z.ZodObject<{
10
+ budgets: z.ZodArray<z.ZodObject<{
11
+ guid: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ amount: z.ZodNullable<z.ZodNumber>;
14
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ revision: z.ZodNullable<z.ZodNumber>;
16
+ user_guid: z.ZodNullable<z.ZodString>;
17
+ created_at: z.ZodNullable<z.ZodString>;
18
+ updated_at: z.ZodNullable<z.ZodString>;
19
+ is_exceeded: z.ZodNullable<z.ZodBoolean>;
20
+ parent_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ is_off_track: z.ZodNullable<z.ZodBoolean>;
22
+ category_guid: z.ZodNullable<z.ZodString>;
23
+ percent_spent: z.ZodNullable<z.ZodNumber>;
24
+ transaction_total: z.ZodNullable<z.ZodNumber>;
25
+ projected_spending: z.ZodNullable<z.ZodNumber>;
26
+ off_track_percentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ }, z.core.$strip>>;
28
+ pagination: z.ZodNullable<z.ZodObject<{
29
+ per_page: z.ZodNullable<z.ZodNumber>;
30
+ total_pages: z.ZodNullable<z.ZodNumber>;
31
+ current_page: z.ZodNullable<z.ZodNumber>;
32
+ total_entries: z.ZodNullable<z.ZodNumber>;
33
+ }, z.core.$strip>>;
34
+ }, z.core.$strip>;
35
+ declare const mxTechnologiesListBudgets: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ user_guid: string;
37
+ page?: number | undefined;
38
+ records_per_page?: number | undefined;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
40
  //#endregion
8
41
  export { mxTechnologiesListBudgets };
9
42
  //# sourceMappingURL=list-budgets.d.mts.map
@@ -1 +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"}
1
+ {"version":3,"file":"list-budgets.d.mts","names":[],"sources":["../../src/actions/list-budgets.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cA6B9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -7,28 +7,28 @@ const MxTechnologiesListBudgetsInput = z.object({
7
7
  records_per_page: z.number().int().describe("Number of records per page (10-1000). Defaults to 25 if not specified.").optional()
8
8
  }).describe("Request parameters for listing budgets for a user.");
9
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."),
10
+ guid: z.string().describe("Unique MX-defined budget GUID (e.g., BGT-...).").nullable(),
11
+ name: z.string().describe("User-visible budget name matching the category (e.g., 'Food', 'Bills', 'Entertainment').").nullable(),
12
+ amount: z.number().describe("Target monthly spending limit set by the user for this category.").nullable(),
13
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."),
14
+ revision: z.number().int().describe("Revision number for optimistic concurrency control.").nullable(),
15
+ user_guid: z.string().describe("MX-defined user GUID who owns this budget.").nullable(),
16
+ created_at: z.string().describe("Timestamp (ISO 8601) when the budget was created.").nullable(),
17
+ updated_at: z.string().describe("Timestamp (ISO 8601) when the budget was last updated.").nullable(),
18
+ is_exceeded: z.boolean().describe("True if spending has exceeded the budget amount.").nullable(),
19
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."),
20
+ is_off_track: z.boolean().describe("True if current spending rate suggests the budget will be exceeded.").nullable(),
21
+ category_guid: z.string().describe("MX-defined GUID of the category this budget applies to.").nullable(),
22
+ percent_spent: z.number().describe("Percentage of budget spent: (transaction_total / amount) * 100. Returns 0 if amount is 0.").nullable(),
23
+ transaction_total: z.number().describe("Cumulative amount of transactions under this budget for the current month.").nullable(),
24
+ projected_spending: z.number().describe("Projected total spending for this budget based on current spending patterns.").nullable(),
25
25
  off_track_percentage: z.number().describe("Off-track percentage threshold (deprecated field).").nullable().optional()
26
26
  }).describe("Budget object representing a spending budget for a specific category.");
27
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.")
28
+ per_page: z.number().int().describe("Number of records per page.").nullable(),
29
+ total_pages: z.number().int().describe("Total number of pages available.").nullable(),
30
+ current_page: z.number().int().describe("Current page number.").nullable(),
31
+ total_entries: z.number().int().describe("Total number of budgets available.").nullable()
32
32
  }).describe("Pagination details for list responses.");
33
33
  const mxTechnologiesListBudgets = action("MX_TECHNOLOGIES_LIST_BUDGETS", {
34
34
  slug: "mx_technologies-list-budgets",
@@ -1 +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,S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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"}
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.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.object({\n guid: z.string().describe(\"Unique MX-defined budget GUID (e.g., BGT-...).\").nullable(),\n name: z.string().describe(\"User-visible budget name matching the category (e.g., 'Food', 'Bills', 'Entertainment').\").nullable(),\n amount: z.number().describe(\"Target monthly spending limit set by the user for this category.\").nullable(),\n metadata: z.string().describe(\"Partner-defined freeform metadata string.\").nullable().optional(),\n revision: z.number().int().describe(\"Revision number for optimistic concurrency control.\").nullable(),\n user_guid: z.string().describe(\"MX-defined user GUID who owns this budget.\").nullable(),\n created_at: z.string().describe(\"Timestamp (ISO 8601) when the budget was created.\").nullable(),\n updated_at: z.string().describe(\"Timestamp (ISO 8601) when the budget was last updated.\").nullable(),\n is_exceeded: z.boolean().describe(\"True if spending has exceeded the budget amount.\").nullable(),\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.\").nullable(),\n category_guid: z.string().describe(\"MX-defined GUID of the category this budget applies to.\").nullable(),\n percent_spent: z.number().describe(\"Percentage of budget spent: (transaction_total / amount) * 100. Returns 0 if amount is 0.\").nullable(),\n transaction_total: z.number().describe(\"Cumulative amount of transactions under this budget for the current month.\").nullable(),\n projected_spending: z.number().describe(\"Projected total spending for this budget based on current spending patterns.\").nullable(),\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.object({\n per_page: z.number().int().describe(\"Number of records per page.\").nullable(),\n total_pages: z.number().int().describe(\"Total number of pages available.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n total_entries: z.number().int().describe(\"Total number of budgets available.\").nullable(),\n}).describe(\"Pagination details for list responses.\");\nexport const MxTechnologiesListBudgetsOutput = 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,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SA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AC,SAAS;CAC9H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACjI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,SAAS,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sEAAsE;EACxI,YAAY,2CAA2C,SAAS;CAClE,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
@@ -7,20 +7,20 @@ const MxTechnologiesListCategoriesInput = zod.z.object({
7
7
  records_per_page: zod.z.number().int().default(25).describe("Number of records per page (10-1000). Defaults to 25.").optional()
8
8
  }).describe("Request parameters for listing categories associated with a user.");
9
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."),
10
+ guid: zod.z.string().describe("The unique identifier (GUID) of the category.").nullable(),
11
+ name: zod.z.string().describe("The name of the category.").nullable(),
12
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."),
13
+ is_income: zod.z.boolean().describe("Whether this category represents income.").nullable(),
14
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."),
15
+ is_default: zod.z.boolean().describe("Whether this is a default MX category.").nullable(),
16
16
  updated_at: zod.z.string().describe("ISO 8601 timestamp when custom category was last updated (null for defaults).").nullable().optional(),
17
17
  parent_guid: zod.z.string().describe("GUID of the parent category, if this is a sub-category.").nullable().optional()
18
18
  }).describe("Category object as returned by MX.");
19
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.")
20
+ per_page: zod.z.number().int().describe("Number of records per page.").nullable(),
21
+ total_pages: zod.z.number().int().describe("Total number of pages available.").nullable(),
22
+ current_page: zod.z.number().int().describe("Current page number.").nullable(),
23
+ total_entries: zod.z.number().int().describe("Total number of entries available.").nullable()
24
24
  }).describe("Pagination details for list responses.");
25
25
  const MxTechnologiesListCategoriesOutput = zod.z.object({
26
26
  categories: zod.z.array(MxTechnologiesListCategories_CategorySchema).describe("List of this user's default and custom categories."),