@keystrokehq/mx_technologies 0.1.3 → 0.1.5

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 (301) 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 +1 -0
  4. package/dist/actions/cancel-partner-account.cjs.map +1 -1
  5. package/dist/actions/cancel-partner-account.d.cts +3 -5
  6. package/dist/actions/cancel-partner-account.d.cts.map +1 -1
  7. package/dist/actions/cancel-partner-account.d.mts +3 -5
  8. package/dist/actions/cancel-partner-account.d.mts.map +1 -1
  9. package/dist/actions/cancel-partner-account.mjs +1 -0
  10. package/dist/actions/cancel-partner-account.mjs.map +1 -1
  11. package/dist/actions/create-account.cjs +1 -0
  12. package/dist/actions/create-account.cjs.map +1 -1
  13. package/dist/actions/create-account.d.cts +3 -14
  14. package/dist/actions/create-account.d.cts.map +1 -1
  15. package/dist/actions/create-account.d.mts +3 -14
  16. package/dist/actions/create-account.d.mts.map +1 -1
  17. package/dist/actions/create-account.mjs +1 -0
  18. package/dist/actions/create-account.mjs.map +1 -1
  19. package/dist/actions/create-audience-api-credentials.cjs +1 -0
  20. package/dist/actions/create-audience-api-credentials.cjs.map +1 -1
  21. package/dist/actions/create-audience-api-credentials.d.cts +3 -4
  22. package/dist/actions/create-audience-api-credentials.d.cts.map +1 -1
  23. package/dist/actions/create-audience-api-credentials.d.mts +3 -4
  24. package/dist/actions/create-audience-api-credentials.d.mts.map +1 -1
  25. package/dist/actions/create-audience-api-credentials.mjs +1 -0
  26. package/dist/actions/create-audience-api-credentials.mjs.map +1 -1
  27. package/dist/actions/create-member.cjs +1 -0
  28. package/dist/actions/create-member.cjs.map +1 -1
  29. package/dist/actions/create-member.d.cts +3 -18
  30. package/dist/actions/create-member.d.cts.map +1 -1
  31. package/dist/actions/create-member.d.mts +3 -18
  32. package/dist/actions/create-member.d.mts.map +1 -1
  33. package/dist/actions/create-member.mjs +1 -0
  34. package/dist/actions/create-member.mjs.map +1 -1
  35. package/dist/actions/create-partner-account.cjs +1 -0
  36. package/dist/actions/create-partner-account.cjs.map +1 -1
  37. package/dist/actions/create-partner-account.d.cts +3 -6
  38. package/dist/actions/create-partner-account.d.cts.map +1 -1
  39. package/dist/actions/create-partner-account.d.mts +3 -6
  40. package/dist/actions/create-partner-account.d.mts.map +1 -1
  41. package/dist/actions/create-partner-account.mjs +1 -0
  42. package/dist/actions/create-partner-account.mjs.map +1 -1
  43. package/dist/actions/fetch-rewards.cjs +1 -0
  44. package/dist/actions/fetch-rewards.cjs.map +1 -1
  45. package/dist/actions/fetch-rewards.d.cts +3 -4
  46. package/dist/actions/fetch-rewards.d.cts.map +1 -1
  47. package/dist/actions/fetch-rewards.d.mts +3 -4
  48. package/dist/actions/fetch-rewards.d.mts.map +1 -1
  49. package/dist/actions/fetch-rewards.mjs +1 -0
  50. package/dist/actions/fetch-rewards.mjs.map +1 -1
  51. package/dist/actions/get-configurable-widget-url.cjs +1 -0
  52. package/dist/actions/get-configurable-widget-url.cjs.map +1 -1
  53. package/dist/actions/get-configurable-widget-url.d.cts +3 -19
  54. package/dist/actions/get-configurable-widget-url.d.cts.map +1 -1
  55. package/dist/actions/get-configurable-widget-url.d.mts +3 -19
  56. package/dist/actions/get-configurable-widget-url.d.mts.map +1 -1
  57. package/dist/actions/get-configurable-widget-url.mjs +1 -0
  58. package/dist/actions/get-configurable-widget-url.mjs.map +1 -1
  59. package/dist/actions/list-account-numbers-by-member.cjs +1 -0
  60. package/dist/actions/list-account-numbers-by-member.cjs.map +1 -1
  61. package/dist/actions/list-account-numbers-by-member.d.cts +3 -6
  62. package/dist/actions/list-account-numbers-by-member.d.cts.map +1 -1
  63. package/dist/actions/list-account-numbers-by-member.d.mts +3 -6
  64. package/dist/actions/list-account-numbers-by-member.d.mts.map +1 -1
  65. package/dist/actions/list-account-numbers-by-member.mjs +1 -0
  66. package/dist/actions/list-account-numbers-by-member.mjs.map +1 -1
  67. package/dist/actions/list-account-owners.cjs +1 -0
  68. package/dist/actions/list-account-owners.cjs.map +1 -1
  69. package/dist/actions/list-account-owners.d.cts +3 -6
  70. package/dist/actions/list-account-owners.d.cts.map +1 -1
  71. package/dist/actions/list-account-owners.d.mts +3 -6
  72. package/dist/actions/list-account-owners.d.mts.map +1 -1
  73. package/dist/actions/list-account-owners.mjs +1 -0
  74. package/dist/actions/list-account-owners.mjs.map +1 -1
  75. package/dist/actions/list-accounts.cjs +1 -0
  76. package/dist/actions/list-accounts.cjs.map +1 -1
  77. package/dist/actions/list-accounts.d.cts +3 -8
  78. package/dist/actions/list-accounts.d.cts.map +1 -1
  79. package/dist/actions/list-accounts.d.mts +3 -8
  80. package/dist/actions/list-accounts.d.mts.map +1 -1
  81. package/dist/actions/list-accounts.mjs +1 -0
  82. package/dist/actions/list-accounts.mjs.map +1 -1
  83. package/dist/actions/list-budgets.cjs +1 -0
  84. package/dist/actions/list-budgets.cjs.map +1 -1
  85. package/dist/actions/list-budgets.d.cts +3 -5
  86. package/dist/actions/list-budgets.d.cts.map +1 -1
  87. package/dist/actions/list-budgets.d.mts +3 -5
  88. package/dist/actions/list-budgets.d.mts.map +1 -1
  89. package/dist/actions/list-budgets.mjs +1 -0
  90. package/dist/actions/list-budgets.mjs.map +1 -1
  91. package/dist/actions/list-categories.cjs +1 -0
  92. package/dist/actions/list-categories.cjs.map +1 -1
  93. package/dist/actions/list-categories.d.cts +3 -5
  94. package/dist/actions/list-categories.d.cts.map +1 -1
  95. package/dist/actions/list-categories.d.mts +3 -5
  96. package/dist/actions/list-categories.d.mts.map +1 -1
  97. package/dist/actions/list-categories.mjs +1 -0
  98. package/dist/actions/list-categories.mjs.map +1 -1
  99. package/dist/actions/list-challenges.cjs +1 -0
  100. package/dist/actions/list-challenges.cjs.map +1 -1
  101. package/dist/actions/list-challenges.d.cts +3 -6
  102. package/dist/actions/list-challenges.d.cts.map +1 -1
  103. package/dist/actions/list-challenges.d.mts +3 -6
  104. package/dist/actions/list-challenges.d.mts.map +1 -1
  105. package/dist/actions/list-challenges.mjs +1 -0
  106. package/dist/actions/list-challenges.mjs.map +1 -1
  107. package/dist/actions/list-favorite-institutions.cjs +1 -0
  108. package/dist/actions/list-favorite-institutions.cjs.map +1 -1
  109. package/dist/actions/list-favorite-institutions.d.cts +3 -5
  110. package/dist/actions/list-favorite-institutions.d.cts.map +1 -1
  111. package/dist/actions/list-favorite-institutions.d.mts +3 -5
  112. package/dist/actions/list-favorite-institutions.d.mts.map +1 -1
  113. package/dist/actions/list-favorite-institutions.mjs +1 -0
  114. package/dist/actions/list-favorite-institutions.mjs.map +1 -1
  115. package/dist/actions/list-goals.cjs +1 -0
  116. package/dist/actions/list-goals.cjs.map +1 -1
  117. package/dist/actions/list-goals.d.cts +3 -5
  118. package/dist/actions/list-goals.d.cts.map +1 -1
  119. package/dist/actions/list-goals.d.mts +3 -5
  120. package/dist/actions/list-goals.d.mts.map +1 -1
  121. package/dist/actions/list-goals.mjs +1 -0
  122. package/dist/actions/list-goals.mjs.map +1 -1
  123. package/dist/actions/list-institution-credentials.cjs +1 -0
  124. package/dist/actions/list-institution-credentials.cjs.map +1 -1
  125. package/dist/actions/list-institution-credentials.d.cts +3 -5
  126. package/dist/actions/list-institution-credentials.d.cts.map +1 -1
  127. package/dist/actions/list-institution-credentials.d.mts +3 -5
  128. package/dist/actions/list-institution-credentials.d.mts.map +1 -1
  129. package/dist/actions/list-institution-credentials.mjs +1 -0
  130. package/dist/actions/list-institution-credentials.mjs.map +1 -1
  131. package/dist/actions/list-institutions.cjs +1 -0
  132. package/dist/actions/list-institutions.cjs.map +1 -1
  133. package/dist/actions/list-institutions.d.cts +3 -7
  134. package/dist/actions/list-institutions.d.cts.map +1 -1
  135. package/dist/actions/list-institutions.d.mts +3 -7
  136. package/dist/actions/list-institutions.d.mts.map +1 -1
  137. package/dist/actions/list-institutions.mjs +1 -0
  138. package/dist/actions/list-institutions.mjs.map +1 -1
  139. package/dist/actions/list-member-accounts.cjs +1 -0
  140. package/dist/actions/list-member-accounts.cjs.map +1 -1
  141. package/dist/actions/list-member-accounts.d.cts +3 -7
  142. package/dist/actions/list-member-accounts.d.cts.map +1 -1
  143. package/dist/actions/list-member-accounts.d.mts +3 -7
  144. package/dist/actions/list-member-accounts.d.mts.map +1 -1
  145. package/dist/actions/list-member-accounts.mjs +1 -0
  146. package/dist/actions/list-member-accounts.mjs.map +1 -1
  147. package/dist/actions/list-members.cjs +1 -0
  148. package/dist/actions/list-members.cjs.map +1 -1
  149. package/dist/actions/list-members.d.cts +3 -6
  150. package/dist/actions/list-members.d.cts.map +1 -1
  151. package/dist/actions/list-members.d.mts +3 -6
  152. package/dist/actions/list-members.d.mts.map +1 -1
  153. package/dist/actions/list-members.mjs +1 -0
  154. package/dist/actions/list-members.mjs.map +1 -1
  155. package/dist/actions/list-rewards.cjs +1 -0
  156. package/dist/actions/list-rewards.cjs.map +1 -1
  157. package/dist/actions/list-rewards.d.cts +3 -6
  158. package/dist/actions/list-rewards.d.cts.map +1 -1
  159. package/dist/actions/list-rewards.d.mts +3 -6
  160. package/dist/actions/list-rewards.d.mts.map +1 -1
  161. package/dist/actions/list-rewards.mjs +1 -0
  162. package/dist/actions/list-rewards.mjs.map +1 -1
  163. package/dist/actions/list-statements-by-member.cjs +1 -0
  164. package/dist/actions/list-statements-by-member.cjs.map +1 -1
  165. package/dist/actions/list-statements-by-member.d.cts +3 -6
  166. package/dist/actions/list-statements-by-member.d.cts.map +1 -1
  167. package/dist/actions/list-statements-by-member.d.mts +3 -6
  168. package/dist/actions/list-statements-by-member.d.mts.map +1 -1
  169. package/dist/actions/list-statements-by-member.mjs +1 -0
  170. package/dist/actions/list-statements-by-member.mjs.map +1 -1
  171. package/dist/actions/list-taggings.cjs +1 -0
  172. package/dist/actions/list-taggings.cjs.map +1 -1
  173. package/dist/actions/list-taggings.d.cts +3 -5
  174. package/dist/actions/list-taggings.d.cts.map +1 -1
  175. package/dist/actions/list-taggings.d.mts +3 -5
  176. package/dist/actions/list-taggings.d.mts.map +1 -1
  177. package/dist/actions/list-taggings.mjs +1 -0
  178. package/dist/actions/list-taggings.mjs.map +1 -1
  179. package/dist/actions/list-tags.cjs +1 -0
  180. package/dist/actions/list-tags.cjs.map +1 -1
  181. package/dist/actions/list-tags.d.cts +3 -5
  182. package/dist/actions/list-tags.d.cts.map +1 -1
  183. package/dist/actions/list-tags.d.mts +3 -5
  184. package/dist/actions/list-tags.d.mts.map +1 -1
  185. package/dist/actions/list-tags.mjs +1 -0
  186. package/dist/actions/list-tags.mjs.map +1 -1
  187. package/dist/actions/list-transactions-by-member.cjs +1 -0
  188. package/dist/actions/list-transactions-by-member.cjs.map +1 -1
  189. package/dist/actions/list-transactions-by-member.d.cts +3 -15
  190. package/dist/actions/list-transactions-by-member.d.cts.map +1 -1
  191. package/dist/actions/list-transactions-by-member.d.mts +3 -15
  192. package/dist/actions/list-transactions-by-member.d.mts.map +1 -1
  193. package/dist/actions/list-transactions-by-member.mjs +1 -0
  194. package/dist/actions/list-transactions-by-member.mjs.map +1 -1
  195. package/dist/actions/list-transactions.cjs +1 -0
  196. package/dist/actions/list-transactions.cjs.map +1 -1
  197. package/dist/actions/list-transactions.d.cts +3 -13
  198. package/dist/actions/list-transactions.d.cts.map +1 -1
  199. package/dist/actions/list-transactions.d.mts +3 -13
  200. package/dist/actions/list-transactions.d.mts.map +1 -1
  201. package/dist/actions/list-transactions.mjs +1 -0
  202. package/dist/actions/list-transactions.mjs.map +1 -1
  203. package/dist/actions/list-users.cjs +1 -0
  204. package/dist/actions/list-users.cjs.map +1 -1
  205. package/dist/actions/list-users.d.cts +3 -7
  206. package/dist/actions/list-users.d.cts.map +1 -1
  207. package/dist/actions/list-users.d.mts +3 -7
  208. package/dist/actions/list-users.d.mts.map +1 -1
  209. package/dist/actions/list-users.mjs +1 -0
  210. package/dist/actions/list-users.mjs.map +1 -1
  211. package/dist/actions/read-account.cjs +1 -0
  212. package/dist/actions/read-account.cjs.map +1 -1
  213. package/dist/actions/read-account.d.cts +3 -4
  214. package/dist/actions/read-account.d.cts.map +1 -1
  215. package/dist/actions/read-account.d.mts +3 -4
  216. package/dist/actions/read-account.d.mts.map +1 -1
  217. package/dist/actions/read-account.mjs +1 -0
  218. package/dist/actions/read-account.mjs.map +1 -1
  219. package/dist/actions/read-category.cjs +1 -0
  220. package/dist/actions/read-category.cjs.map +1 -1
  221. package/dist/actions/read-category.d.cts +3 -3
  222. package/dist/actions/read-category.d.cts.map +1 -1
  223. package/dist/actions/read-category.d.mts +3 -3
  224. package/dist/actions/read-category.d.mts.map +1 -1
  225. package/dist/actions/read-category.mjs +1 -0
  226. package/dist/actions/read-category.mjs.map +1 -1
  227. package/dist/actions/read-fdx-account.cjs +1 -0
  228. package/dist/actions/read-fdx-account.cjs.map +1 -1
  229. package/dist/actions/read-fdx-account.d.cts +3 -3
  230. package/dist/actions/read-fdx-account.d.cts.map +1 -1
  231. package/dist/actions/read-fdx-account.d.mts +3 -3
  232. package/dist/actions/read-fdx-account.d.mts.map +1 -1
  233. package/dist/actions/read-fdx-account.mjs +1 -0
  234. package/dist/actions/read-fdx-account.mjs.map +1 -1
  235. package/dist/actions/read-institution.cjs +1 -0
  236. package/dist/actions/read-institution.cjs.map +1 -1
  237. package/dist/actions/read-institution.d.cts +3 -3
  238. package/dist/actions/read-institution.d.cts.map +1 -1
  239. package/dist/actions/read-institution.d.mts +3 -3
  240. package/dist/actions/read-institution.d.mts.map +1 -1
  241. package/dist/actions/read-institution.mjs +1 -0
  242. package/dist/actions/read-institution.mjs.map +1 -1
  243. package/dist/actions/read-transaction-by-account.cjs +1 -0
  244. package/dist/actions/read-transaction-by-account.cjs.map +1 -1
  245. package/dist/actions/read-transaction-by-account.d.cts +3 -8
  246. package/dist/actions/read-transaction-by-account.d.cts.map +1 -1
  247. package/dist/actions/read-transaction-by-account.d.mts +3 -8
  248. package/dist/actions/read-transaction-by-account.d.mts.map +1 -1
  249. package/dist/actions/read-transaction-by-account.mjs +1 -0
  250. package/dist/actions/read-transaction-by-account.mjs.map +1 -1
  251. package/dist/actions/read-transaction-rule.cjs +1 -0
  252. package/dist/actions/read-transaction-rule.cjs.map +1 -1
  253. package/dist/actions/read-transaction-rule.d.cts +3 -4
  254. package/dist/actions/read-transaction-rule.d.cts.map +1 -1
  255. package/dist/actions/read-transaction-rule.d.mts +3 -4
  256. package/dist/actions/read-transaction-rule.d.mts.map +1 -1
  257. package/dist/actions/read-transaction-rule.mjs +1 -0
  258. package/dist/actions/read-transaction-rule.mjs.map +1 -1
  259. package/dist/actions/read-transaction.cjs +1 -0
  260. package/dist/actions/read-transaction.cjs.map +1 -1
  261. package/dist/actions/read-transaction.d.cts +3 -4
  262. package/dist/actions/read-transaction.d.cts.map +1 -1
  263. package/dist/actions/read-transaction.d.mts +3 -4
  264. package/dist/actions/read-transaction.d.mts.map +1 -1
  265. package/dist/actions/read-transaction.mjs +1 -0
  266. package/dist/actions/read-transaction.mjs.map +1 -1
  267. package/dist/actions/update-transaction-rules.cjs +1 -0
  268. package/dist/actions/update-transaction-rules.cjs.map +1 -1
  269. package/dist/actions/update-transaction-rules.d.cts +3 -9
  270. package/dist/actions/update-transaction-rules.d.cts.map +1 -1
  271. package/dist/actions/update-transaction-rules.d.mts +3 -9
  272. package/dist/actions/update-transaction-rules.d.mts.map +1 -1
  273. package/dist/actions/update-transaction-rules.mjs +1 -0
  274. package/dist/actions/update-transaction-rules.mjs.map +1 -1
  275. package/dist/actions/update-transaction.cjs +1 -0
  276. package/dist/actions/update-transaction.cjs.map +1 -1
  277. package/dist/actions/update-transaction.d.cts +3 -10
  278. package/dist/actions/update-transaction.d.cts.map +1 -1
  279. package/dist/actions/update-transaction.d.mts +3 -10
  280. package/dist/actions/update-transaction.d.mts.map +1 -1
  281. package/dist/actions/update-transaction.mjs +1 -0
  282. package/dist/actions/update-transaction.mjs.map +1 -1
  283. package/dist/actions/update-users-taggings.cjs +1 -0
  284. package/dist/actions/update-users-taggings.cjs.map +1 -1
  285. package/dist/actions/update-users-taggings.d.cts +3 -7
  286. package/dist/actions/update-users-taggings.d.cts.map +1 -1
  287. package/dist/actions/update-users-taggings.d.mts +3 -7
  288. package/dist/actions/update-users-taggings.d.mts.map +1 -1
  289. package/dist/actions/update-users-taggings.mjs +1 -0
  290. package/dist/actions/update-users-taggings.mjs.map +1 -1
  291. package/dist/app.cjs +9 -2
  292. package/dist/app.cjs.map +1 -1
  293. package/dist/app.d.cts +8 -1
  294. package/dist/app.d.cts.map +1 -1
  295. package/dist/app.d.mts +8 -1
  296. package/dist/app.d.mts.map +1 -1
  297. package/dist/app.mjs +6 -2
  298. package/dist/app.mjs.map +1 -1
  299. package/dist/index.d.cts +1 -1
  300. package/dist/index.d.mts +1 -1
  301. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["mxTechnologies","executeMxTechnologiesTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mxTechnologies } from \"./app\";\nimport { executeMxTechnologiesTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return mxTechnologies.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeMxTechnologiesTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["mxTechnologies","executeMxTechnologiesTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { mxTechnologies } from \"./app\";\nimport { executeMxTechnologiesTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof mxTechnologies.credential> {\n return mxTechnologies.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMxTechnologiesTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,OAAOA,YAAAA,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mxTechnologies } from \"./app\";\nimport { executeMxTechnologiesTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return mxTechnologies.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeMxTechnologiesTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { mxTechnologies } from \"./app\";\nimport { executeMxTechnologiesTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof mxTechnologies.credential> {\n return mxTechnologies.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMxTechnologiesTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,OAAO,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/cancel-partner-account.ts
@@ -1 +1 @@
1
- {"version":3,"file":"cancel-partner-account.cjs","names":["z","action"],"sources":["../../src/actions/cancel-partner-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCancelPartnerAccountInput = z.object({\n effective_date: z.string().describe(\"Optional timestamp in ISO 8601 format to record when the cancellation takes effect. Stored in metadata for auditability. Defaults to current time if not provided.\").optional(),\n encoded_account_id: z.string().describe(\"The MX user GUID to disable. Format: USR-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n cancellation_reason: z.string().describe(\"Optional free-text reason for the cancellation. Stored in the user's metadata field for auditability.\").optional(),\n}).describe(\"Request model for disabling an MX user account.\\nDisabling a user prevents their accounts and transactions from being updated\\nand restricts access to their data until re-enabled.\");\nexport const MxTechnologiesCancelPartnerAccountOutput = z.object({\n user_guid: z.string().describe(\"The unique MX GUID of the disabled user.\").nullable(),\n is_disabled: z.boolean().describe(\"Indicates the user is now disabled. Always true on successful cancellation.\").nullable(),\n effective_date: z.string().describe(\"Date/time the user was disabled (ISO 8601).\").nullable(),\n cancellation_reason: z.string().describe(\"The cancellation reason provided, if any.\").nullable().optional(),\n}).passthrough().describe(\"Response model for disabling an MX user account.\");\n\nexport const mxTechnologiesCancelPartnerAccount = action(\"MX_TECHNOLOGIES_CANCEL_PARTNER_ACCOUNT\", {\n slug: \"mx_technologies-cancel-partner-account\",\n name: \"Disable MX User Account\",\n description: \"Disables an MX user account, preventing background updates to accounts and transactions and restricting data access. The user can be re-enabled later via the update user endpoint. Uses MX Platform API: PUT /users/{user_guid} with is_disabled=true.\",\n input: MxTechnologiesCancelPartnerAccountInput,\n output: MxTechnologiesCancelPartnerAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACnN,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACvH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,qLAAqL;AACjM,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"cancel-partner-account.cjs","names":["z","action"],"sources":["../../src/actions/cancel-partner-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesCancelPartnerAccountInput = z.object({\n effective_date: z.string().describe(\"Optional timestamp in ISO 8601 format to record when the cancellation takes effect. Stored in metadata for auditability. Defaults to current time if not provided.\").optional(),\n encoded_account_id: z.string().describe(\"The MX user GUID to disable. Format: USR-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n cancellation_reason: z.string().describe(\"Optional free-text reason for the cancellation. Stored in the user's metadata field for auditability.\").optional(),\n}).describe(\"Request model for disabling an MX user account.\\nDisabling a user prevents their accounts and transactions from being updated\\nand restricts access to their data until re-enabled.\");\nexport const MxTechnologiesCancelPartnerAccountOutput = z.object({\n user_guid: z.string().describe(\"The unique MX GUID of the disabled user.\").nullable(),\n is_disabled: z.boolean().describe(\"Indicates the user is now disabled. Always true on successful cancellation.\").nullable(),\n effective_date: z.string().describe(\"Date/time the user was disabled (ISO 8601).\").nullable(),\n cancellation_reason: z.string().describe(\"The cancellation reason provided, if any.\").nullable().optional(),\n}).passthrough().describe(\"Response model for disabling an MX user account.\");\n\nexport const mxTechnologiesCancelPartnerAccount: AppAction<\n typeof MxTechnologiesCancelPartnerAccountInput,\n typeof MxTechnologiesCancelPartnerAccountOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_CANCEL_PARTNER_ACCOUNT\", {\n slug: \"mx_technologies-cancel-partner-account\",\n name: \"Disable MX User Account\",\n description: \"Disables an MX user account, preventing background updates to accounts and transactions and restricting data access. The user can be re-enabled later via the update user endpoint. Uses MX Platform API: PUT /users/{user_guid} with is_disabled=true.\",\n input: MxTechnologiesCancelPartnerAccountInput,\n output: MxTechnologiesCancelPartnerAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CACnN,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACvH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,qLAAqL;AACjM,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,qCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mxTechnologies } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/cancel-partner-account.d.ts
@@ -12,11 +14,7 @@ declare const MxTechnologiesCancelPartnerAccountOutput: z.ZodObject<{
12
14
  effective_date: z.ZodNullable<z.ZodString>;
13
15
  cancellation_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const mxTechnologiesCancelPartnerAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- encoded_account_id: string;
17
- effective_date?: string | undefined;
18
- cancellation_reason?: string | undefined;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const mxTechnologiesCancelPartnerAccount: AppAction<typeof MxTechnologiesCancelPartnerAccountInput, typeof MxTechnologiesCancelPartnerAccountOutput, typeof mxTechnologies.credential>;
20
18
  //#endregion
21
19
  export { mxTechnologiesCancelPartnerAccount };
22
20
  //# sourceMappingURL=cancel-partner-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cancel-partner-account.d.cts","names":[],"sources":["../../src/actions/cancel-partner-account.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAKvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;cAOxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"cancel-partner-account.d.cts","names":[],"sources":["../../src/actions/cancel-partner-account.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAKvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;cAOxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mxTechnologies } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/cancel-partner-account.d.ts
@@ -12,11 +14,7 @@ declare const MxTechnologiesCancelPartnerAccountOutput: z.ZodObject<{
12
14
  effective_date: z.ZodNullable<z.ZodString>;
13
15
  cancellation_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const mxTechnologiesCancelPartnerAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- encoded_account_id: string;
17
- effective_date?: string | undefined;
18
- cancellation_reason?: string | undefined;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const mxTechnologiesCancelPartnerAccount: AppAction<typeof MxTechnologiesCancelPartnerAccountInput, typeof MxTechnologiesCancelPartnerAccountOutput, typeof mxTechnologies.credential>;
20
18
  //#endregion
21
19
  export { mxTechnologiesCancelPartnerAccount };
22
20
  //# sourceMappingURL=cancel-partner-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cancel-partner-account.d.mts","names":[],"sources":["../../src/actions/cancel-partner-account.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAKvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;cAOxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"cancel-partner-account.d.mts","names":[],"sources":["../../src/actions/cancel-partner-account.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAKvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;cAOxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const mxTechnologiesCancelPartnerAccount = action("MX_TECHNOLOGIES_CANCEL_PARTNER_ACCOUNT", {
@@ -1 +1 @@
1
- {"version":3,"file":"cancel-partner-account.mjs","names":[],"sources":["../../src/actions/cancel-partner-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCancelPartnerAccountInput = z.object({\n effective_date: z.string().describe(\"Optional timestamp in ISO 8601 format to record when the cancellation takes effect. Stored in metadata for auditability. Defaults to current time if not provided.\").optional(),\n encoded_account_id: z.string().describe(\"The MX user GUID to disable. Format: USR-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n cancellation_reason: z.string().describe(\"Optional free-text reason for the cancellation. Stored in the user's metadata field for auditability.\").optional(),\n}).describe(\"Request model for disabling an MX user account.\\nDisabling a user prevents their accounts and transactions from being updated\\nand restricts access to their data until re-enabled.\");\nexport const MxTechnologiesCancelPartnerAccountOutput = z.object({\n user_guid: z.string().describe(\"The unique MX GUID of the disabled user.\").nullable(),\n is_disabled: z.boolean().describe(\"Indicates the user is now disabled. Always true on successful cancellation.\").nullable(),\n effective_date: z.string().describe(\"Date/time the user was disabled (ISO 8601).\").nullable(),\n cancellation_reason: z.string().describe(\"The cancellation reason provided, if any.\").nullable().optional(),\n}).passthrough().describe(\"Response model for disabling an MX user account.\");\n\nexport const mxTechnologiesCancelPartnerAccount = action(\"MX_TECHNOLOGIES_CANCEL_PARTNER_ACCOUNT\", {\n slug: \"mx_technologies-cancel-partner-account\",\n name: \"Disable MX User Account\",\n description: \"Disables an MX user account, preventing background updates to accounts and transactions and restricting data access. The user can be re-enabled later via the update user endpoint. Uses MX Platform API: PUT /users/{user_guid} with is_disabled=true.\",\n input: MxTechnologiesCancelPartnerAccountInput,\n output: MxTechnologiesCancelPartnerAccountOutput,\n});\n"],"mappings":";;AAgBA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqD,EAAE,OAAO;EAC9D,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;EACnN,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;EACvH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,qLAYH;CACP,QAZsD,EAAE,OAAO;EAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC1H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC5F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"cancel-partner-account.mjs","names":[],"sources":["../../src/actions/cancel-partner-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesCancelPartnerAccountInput = z.object({\n effective_date: z.string().describe(\"Optional timestamp in ISO 8601 format to record when the cancellation takes effect. Stored in metadata for auditability. Defaults to current time if not provided.\").optional(),\n encoded_account_id: z.string().describe(\"The MX user GUID to disable. Format: USR-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n cancellation_reason: z.string().describe(\"Optional free-text reason for the cancellation. Stored in the user's metadata field for auditability.\").optional(),\n}).describe(\"Request model for disabling an MX user account.\\nDisabling a user prevents their accounts and transactions from being updated\\nand restricts access to their data until re-enabled.\");\nexport const MxTechnologiesCancelPartnerAccountOutput = z.object({\n user_guid: z.string().describe(\"The unique MX GUID of the disabled user.\").nullable(),\n is_disabled: z.boolean().describe(\"Indicates the user is now disabled. Always true on successful cancellation.\").nullable(),\n effective_date: z.string().describe(\"Date/time the user was disabled (ISO 8601).\").nullable(),\n cancellation_reason: z.string().describe(\"The cancellation reason provided, if any.\").nullable().optional(),\n}).passthrough().describe(\"Response model for disabling an MX user account.\");\n\nexport const mxTechnologiesCancelPartnerAccount: AppAction<\n typeof MxTechnologiesCancelPartnerAccountInput,\n typeof MxTechnologiesCancelPartnerAccountOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_CANCEL_PARTNER_ACCOUNT\", {\n slug: \"mx_technologies-cancel-partner-account\",\n name: \"Disable MX User Account\",\n description: \"Disables an MX user account, preventing background updates to accounts and transactions and restricting data access. The user can be re-enabled later via the update user endpoint. Uses MX Platform API: PUT /users/{user_guid} with is_disabled=true.\",\n input: MxTechnologiesCancelPartnerAccountInput,\n output: MxTechnologiesCancelPartnerAccountOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,qCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBqD,EAAE,OAAO;EAC9D,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;EACnN,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;EACvH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC7J,CAAC,CAAC,CAAC,SAAS,qLAgBH;CACP,QAhBsD,EAAE,OAAO;EAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC1H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC5F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-account.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-account.cjs","names":["z","action"],"sources":["../../src/actions/create-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreateAccountInput = z.object({\n account: z.object({\n name: z.string().describe(\"Required. Human-readable name for the account (e.g., 'My Savings Account', 'Chase Checking')\"),\n type: z.enum([\"CHECKING\", \"SAVINGS\", \"CREDIT_CARD\", \"LOAN\", \"INVESTMENT\"]).describe(\"Account type. One of: CHECKING, SAVINGS, CREDIT_CARD, LOAN, INVESTMENT. Optional for manual accounts.\").optional(),\n balance: z.number().describe(\"Current ledger balance in the account's currency. Must be >= 0.\").optional(),\n subtype: z.string().describe(\"Further subdivision of type (e.g., 'PERSONAL_CHECKING', 'MONEY_MARKET'). May not be supported in all environments.\").optional(),\n metadata: z.string().describe(\"Freeform metadata field for storing custom data (e.g., JSON string).\").optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR', 'GBP'). Must be exactly 3 characters.\").optional(),\n account_number: z.string().describe(\"Account number (can be full or masked, e.g., '****1234'). May not be supported in all environments.\").optional(),\n routing_number: z.string().describe(\"Bank routing number (9 digits for US banks). May not be supported in all environments.\").optional(),\n available_balance: z.number().describe(\"Available funds for use (excludes pending transactions/holds). Must be >= 0.\").optional(),\n}).describe(\"Fields for creating a manual account. Only 'name' is required; all other fields are optional.\"),\n user_guid: z.string().describe(\"GUID of the user under which to create the account, must start with 'USR-'\"),\n}).describe(\"Request schema to create a manual account under a specified user.\");\nconst MxTechnologiesCreateAccount_AccountDetailSchema = z.object({\n id: z.string().describe(\"Partner-defined identifier for the account\").nullable().optional(),\n apr: z.number().describe(\"Annual percentage rate associated with the account\").nullable().optional(),\n apy: z.number().describe(\"Annual percentage yield associated with the account\").nullable().optional(),\n guid: z.string().describe(\"MX-defined unique account identifier (e.g., 'ACT-abc123')\").nullable().optional(),\n name: z.string().describe(\"Human-readable account name\").nullable().optional(),\n type: z.string().describe(\"High-level account type (e.g., 'CHECKING', 'SAVINGS', 'CREDIT_CARD', 'LOAN', 'INVESTMENT')\").nullable().optional(),\n balance: z.number().describe(\"Current ledger balance\").nullable().optional(),\n subtype: z.string().describe(\"Account subtype (e.g., 'PERSONAL_CHECKING')\").nullable().optional(),\n metadata: z.string().describe(\"Freeform metadata field\").nullable().optional(),\n nickname: z.string().describe(\"User-defined nickname for the account\").nullable().optional(),\n is_closed: z.boolean().describe(\"Whether the account is closed\").nullable().optional(),\n is_hidden: z.boolean().describe(\"Whether the account is hidden from views\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether this is a manual (non-aggregated) account\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID for this account\").nullable().optional(),\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, if linked by aggregation\").nullable().optional(),\n credit_limit: z.number().describe(\"Credit limit for credit accounts\").nullable().optional(),\n last_payment: z.number().describe(\"Amount of the last payment\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD')\").nullable().optional(),\n interest_rate: z.number().describe(\"Interest rate associated with the account\").nullable().optional(),\n account_number: z.string().describe(\"Account number (may be masked)\").nullable().optional(),\n payment_due_at: z.string().describe(\"ISO 8601 timestamp when payment is due\").nullable().optional(),\n routing_number: z.string().describe(\"Bank routing number\").nullable().optional(),\n last_payment_at: z.string().describe(\"ISO 8601 timestamp of last payment\").nullable().optional(),\n minimum_payment: z.number().describe(\"Minimum payment amount due\").nullable().optional(),\n available_credit: z.number().describe(\"Available credit for credit accounts\").nullable().optional(),\n institution_guid: z.string().describe(\"MX institution GUID, if linked by aggregation\").nullable().optional(),\n available_balance: z.number().describe(\"Available funds for use, excludes holds\").nullable().optional(),\n day_payment_is_due: z.number().int().describe(\"Day of month when payment is due (1-31)\").nullable().optional(),\n}).passthrough().describe(\"Detailed account information returned by the MX API.\\nNote: Many fields may be null for manual accounts since they only apply to aggregated accounts.\");\nexport const MxTechnologiesCreateAccountOutput = z.object({\n account: MxTechnologiesCreateAccount_AccountDetailSchema.nullable(),\n}).passthrough().describe(\"Response schema for a newly created account.\");\n\nexport const mxTechnologiesCreateAccount = action(\"MX_TECHNOLOGIES_CREATE_ACCOUNT\", {\n slug: \"mx_technologies-create-account\",\n name: \"Create account\",\n description: \"Creates a manual account for a specified user in MX Platform. Use this tool when you need to: - Add an external/off-platform account that isn't aggregated through MX - Create a test account for development purposes - Track accounts from institutions not supported by MX aggregation Note: Manual accounts do not aggregate data from financial institutions. They are created under the special 'Manual Institution' member and require manual updates for balance and transaction information. Requires: A valid user_guid (obtained from List Users or Create User).\",\n input: MxTechnologiesCreateAccountInput,\n output: MxTechnologiesCreateAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO;EAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;EACxH,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAY;GAAW;GAAe;GAAQ;EAAY,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EACtM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEA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gDAAgD,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-account.cjs","names":["z","action"],"sources":["../../src/actions/create-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesCreateAccountInput = z.object({\n account: z.object({\n name: z.string().describe(\"Required. Human-readable name for the account (e.g., 'My Savings Account', 'Chase Checking')\"),\n type: z.enum([\"CHECKING\", \"SAVINGS\", \"CREDIT_CARD\", \"LOAN\", \"INVESTMENT\"]).describe(\"Account type. One of: CHECKING, SAVINGS, CREDIT_CARD, LOAN, INVESTMENT. Optional for manual accounts.\").optional(),\n balance: z.number().describe(\"Current ledger balance in the account's currency. Must be >= 0.\").optional(),\n subtype: z.string().describe(\"Further subdivision of type (e.g., 'PERSONAL_CHECKING', 'MONEY_MARKET'). May not be supported in all environments.\").optional(),\n metadata: z.string().describe(\"Freeform metadata field for storing custom data (e.g., JSON string).\").optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR', 'GBP'). Must be exactly 3 characters.\").optional(),\n account_number: z.string().describe(\"Account number (can be full or masked, e.g., '****1234'). May not be supported in all environments.\").optional(),\n routing_number: z.string().describe(\"Bank routing number (9 digits for US banks). May not be supported in all environments.\").optional(),\n available_balance: z.number().describe(\"Available funds for use (excludes pending transactions/holds). Must be >= 0.\").optional(),\n}).describe(\"Fields for creating a manual account. Only 'name' is required; all other fields are optional.\"),\n user_guid: z.string().describe(\"GUID of the user under which to create the account, must start with 'USR-'\"),\n}).describe(\"Request schema to create a manual account under a specified user.\");\nconst MxTechnologiesCreateAccount_AccountDetailSchema = z.object({\n id: z.string().describe(\"Partner-defined identifier for the account\").nullable().optional(),\n apr: z.number().describe(\"Annual percentage rate associated with the account\").nullable().optional(),\n apy: z.number().describe(\"Annual percentage yield associated with the account\").nullable().optional(),\n guid: z.string().describe(\"MX-defined unique account identifier (e.g., 'ACT-abc123')\").nullable().optional(),\n name: z.string().describe(\"Human-readable account name\").nullable().optional(),\n type: z.string().describe(\"High-level account type (e.g., 'CHECKING', 'SAVINGS', 'CREDIT_CARD', 'LOAN', 'INVESTMENT')\").nullable().optional(),\n balance: z.number().describe(\"Current ledger balance\").nullable().optional(),\n subtype: z.string().describe(\"Account subtype (e.g., 'PERSONAL_CHECKING')\").nullable().optional(),\n metadata: z.string().describe(\"Freeform metadata field\").nullable().optional(),\n nickname: z.string().describe(\"User-defined nickname for the account\").nullable().optional(),\n is_closed: z.boolean().describe(\"Whether the account is closed\").nullable().optional(),\n is_hidden: z.boolean().describe(\"Whether the account is hidden from views\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether this is a manual (non-aggregated) account\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID for this account\").nullable().optional(),\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, if linked by aggregation\").nullable().optional(),\n credit_limit: z.number().describe(\"Credit limit for credit accounts\").nullable().optional(),\n last_payment: z.number().describe(\"Amount of the last payment\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD')\").nullable().optional(),\n interest_rate: z.number().describe(\"Interest rate associated with the account\").nullable().optional(),\n account_number: z.string().describe(\"Account number (may be masked)\").nullable().optional(),\n payment_due_at: z.string().describe(\"ISO 8601 timestamp when payment is due\").nullable().optional(),\n routing_number: z.string().describe(\"Bank routing number\").nullable().optional(),\n last_payment_at: z.string().describe(\"ISO 8601 timestamp of last payment\").nullable().optional(),\n minimum_payment: z.number().describe(\"Minimum payment amount due\").nullable().optional(),\n available_credit: z.number().describe(\"Available credit for credit accounts\").nullable().optional(),\n institution_guid: z.string().describe(\"MX institution GUID, if linked by aggregation\").nullable().optional(),\n available_balance: z.number().describe(\"Available funds for use, excludes holds\").nullable().optional(),\n day_payment_is_due: z.number().int().describe(\"Day of month when payment is due (1-31)\").nullable().optional(),\n}).passthrough().describe(\"Detailed account information returned by the MX API.\\nNote: Many fields may be null for manual accounts since they only apply to aggregated accounts.\");\nexport const MxTechnologiesCreateAccountOutput = z.object({\n account: MxTechnologiesCreateAccount_AccountDetailSchema.nullable(),\n}).passthrough().describe(\"Response schema for a newly created account.\");\n\nexport const mxTechnologiesCreateAccount: AppAction<\n typeof MxTechnologiesCreateAccountInput,\n typeof MxTechnologiesCreateAccountOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_CREATE_ACCOUNT\", {\n slug: \"mx_technologies-create-account\",\n name: \"Create account\",\n description: \"Creates a manual account for a specified user in MX Platform. Use this tool when you need to: - Add an external/off-platform account that isn't aggregated through MX - Create a test account for development purposes - Track accounts from institutions not supported by MX aggregation Note: Manual accounts do not aggregate data from financial institutions. They are created under the special 'Manual Institution' member and require manual updates for balance and transaction information. Requires: A valid user_guid (obtained from List Users or Create User).\",\n input: MxTechnologiesCreateAccountInput,\n output: MxTechnologiesCreateAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO;EAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;EACxH,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAY;GAAW;GAAe;GAAQ;EAAY,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EACtM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,o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ExE,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mxTechnologies } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-account.d.ts
@@ -55,20 +57,7 @@ declare const MxTechnologiesCreateAccountOutput: z.ZodObject<{
55
57
  day_payment_is_due: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
58
  }, z.core.$loose>>;
57
59
  }, z.core.$loose>;
58
- declare const mxTechnologiesCreateAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
59
- account: {
60
- name: string;
61
- type?: "CHECKING" | "SAVINGS" | "CREDIT_CARD" | "LOAN" | "INVESTMENT" | undefined;
62
- balance?: number | undefined;
63
- subtype?: string | undefined;
64
- metadata?: string | undefined;
65
- currency_code?: string | undefined;
66
- account_number?: string | undefined;
67
- routing_number?: string | undefined;
68
- available_balance?: number | undefined;
69
- };
70
- user_guid: string;
71
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
60
+ declare const mxTechnologiesCreateAccount: AppAction<typeof MxTechnologiesCreateAccountInput, typeof MxTechnologiesCreateAccountOutput, typeof mxTechnologies.credential>;
72
61
  //#endregion
73
62
  export { mxTechnologiesCreateAccount };
74
63
  //# sourceMappingURL=create-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-account.d.cts","names":[],"sources":["../../src/actions/create-account.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cA8ChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"create-account.d.cts","names":[],"sources":["../../src/actions/create-account.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cA8ChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mxTechnologies } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-account.d.ts
@@ -55,20 +57,7 @@ declare const MxTechnologiesCreateAccountOutput: z.ZodObject<{
55
57
  day_payment_is_due: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
58
  }, z.core.$loose>>;
57
59
  }, z.core.$loose>;
58
- declare const mxTechnologiesCreateAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
59
- account: {
60
- name: string;
61
- type?: "CHECKING" | "SAVINGS" | "CREDIT_CARD" | "LOAN" | "INVESTMENT" | undefined;
62
- balance?: number | undefined;
63
- subtype?: string | undefined;
64
- metadata?: string | undefined;
65
- currency_code?: string | undefined;
66
- account_number?: string | undefined;
67
- routing_number?: string | undefined;
68
- available_balance?: number | undefined;
69
- };
70
- user_guid: string;
71
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
60
+ declare const mxTechnologiesCreateAccount: AppAction<typeof MxTechnologiesCreateAccountInput, typeof MxTechnologiesCreateAccountOutput, typeof mxTechnologies.credential>;
72
61
  //#endregion
73
62
  export { mxTechnologiesCreateAccount };
74
63
  //# sourceMappingURL=create-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-account.d.mts","names":[],"sources":["../../src/actions/create-account.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cA8ChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"create-account.d.mts","names":[],"sources":["../../src/actions/create-account.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cA8ChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-account.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-account.mjs","names":[],"sources":["../../src/actions/create-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreateAccountInput = z.object({\n account: z.object({\n name: z.string().describe(\"Required. Human-readable name for the account (e.g., 'My Savings Account', 'Chase Checking')\"),\n type: z.enum([\"CHECKING\", \"SAVINGS\", \"CREDIT_CARD\", \"LOAN\", \"INVESTMENT\"]).describe(\"Account type. One of: CHECKING, SAVINGS, CREDIT_CARD, LOAN, INVESTMENT. Optional for manual accounts.\").optional(),\n balance: z.number().describe(\"Current ledger balance in the account's currency. Must be >= 0.\").optional(),\n subtype: z.string().describe(\"Further subdivision of type (e.g., 'PERSONAL_CHECKING', 'MONEY_MARKET'). May not be supported in all environments.\").optional(),\n metadata: z.string().describe(\"Freeform metadata field for storing custom data (e.g., JSON string).\").optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR', 'GBP'). Must be exactly 3 characters.\").optional(),\n account_number: z.string().describe(\"Account number (can be full or masked, e.g., '****1234'). May not be supported in all environments.\").optional(),\n routing_number: z.string().describe(\"Bank routing number (9 digits for US banks). May not be supported in all environments.\").optional(),\n available_balance: z.number().describe(\"Available funds for use (excludes pending transactions/holds). Must be >= 0.\").optional(),\n}).describe(\"Fields for creating a manual account. Only 'name' is required; all other fields are optional.\"),\n user_guid: z.string().describe(\"GUID of the user under which to create the account, must start with 'USR-'\"),\n}).describe(\"Request schema to create a manual account under a specified user.\");\nconst MxTechnologiesCreateAccount_AccountDetailSchema = z.object({\n id: z.string().describe(\"Partner-defined identifier for the account\").nullable().optional(),\n apr: z.number().describe(\"Annual percentage rate associated with the account\").nullable().optional(),\n apy: z.number().describe(\"Annual percentage yield associated with the account\").nullable().optional(),\n guid: z.string().describe(\"MX-defined unique account identifier (e.g., 'ACT-abc123')\").nullable().optional(),\n name: z.string().describe(\"Human-readable account name\").nullable().optional(),\n type: z.string().describe(\"High-level account type (e.g., 'CHECKING', 'SAVINGS', 'CREDIT_CARD', 'LOAN', 'INVESTMENT')\").nullable().optional(),\n balance: z.number().describe(\"Current ledger balance\").nullable().optional(),\n subtype: z.string().describe(\"Account subtype (e.g., 'PERSONAL_CHECKING')\").nullable().optional(),\n metadata: z.string().describe(\"Freeform metadata field\").nullable().optional(),\n nickname: z.string().describe(\"User-defined nickname for the account\").nullable().optional(),\n is_closed: z.boolean().describe(\"Whether the account is closed\").nullable().optional(),\n is_hidden: z.boolean().describe(\"Whether the account is hidden from views\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether this is a manual (non-aggregated) account\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID for this account\").nullable().optional(),\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, if linked by aggregation\").nullable().optional(),\n credit_limit: z.number().describe(\"Credit limit for credit accounts\").nullable().optional(),\n last_payment: z.number().describe(\"Amount of the last payment\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD')\").nullable().optional(),\n interest_rate: z.number().describe(\"Interest rate associated with the account\").nullable().optional(),\n account_number: z.string().describe(\"Account number (may be masked)\").nullable().optional(),\n payment_due_at: z.string().describe(\"ISO 8601 timestamp when payment is due\").nullable().optional(),\n routing_number: z.string().describe(\"Bank routing number\").nullable().optional(),\n last_payment_at: z.string().describe(\"ISO 8601 timestamp of last payment\").nullable().optional(),\n minimum_payment: z.number().describe(\"Minimum payment amount due\").nullable().optional(),\n available_credit: z.number().describe(\"Available credit for credit accounts\").nullable().optional(),\n institution_guid: z.string().describe(\"MX institution GUID, if linked by aggregation\").nullable().optional(),\n available_balance: z.number().describe(\"Available funds for use, excludes holds\").nullable().optional(),\n day_payment_is_due: z.number().int().describe(\"Day of month when payment is due (1-31)\").nullable().optional(),\n}).passthrough().describe(\"Detailed account information returned by the MX API.\\nNote: Many fields may be null for manual accounts since they only apply to aggregated accounts.\");\nexport const MxTechnologiesCreateAccountOutput = z.object({\n account: MxTechnologiesCreateAccount_AccountDetailSchema.nullable(),\n}).passthrough().describe(\"Response schema for a newly created account.\");\n\nexport const mxTechnologiesCreateAccount = action(\"MX_TECHNOLOGIES_CREATE_ACCOUNT\", {\n slug: \"mx_technologies-create-account\",\n name: \"Create account\",\n description: \"Creates a manual account for a specified user in MX Platform. Use this tool when you need to: - Add an external/off-platform account that isn't aggregated through MX - Create a test account for development purposes - Track accounts from institutions not supported by MX aggregation Note: Manual accounts do not aggregate data from financial institutions. They are created under the special 'Manual Institution' member and require manual updates for balance and transaction information. Requires: A valid user_guid (obtained from List Users or Create User).\",\n input: MxTechnologiesCreateAccountInput,\n output: MxTechnologiesCreateAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO;EAClB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;EACxH,MAAM,EAAE,KAAK;GAAC;GAAY;GAAW;GAAe;GAAQ;EAAY,CAA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from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesCreateAccountInput = z.object({\n account: z.object({\n name: z.string().describe(\"Required. Human-readable name for the account (e.g., 'My Savings Account', 'Chase Checking')\"),\n type: z.enum([\"CHECKING\", \"SAVINGS\", \"CREDIT_CARD\", \"LOAN\", \"INVESTMENT\"]).describe(\"Account type. One of: CHECKING, SAVINGS, CREDIT_CARD, LOAN, INVESTMENT. Optional for manual accounts.\").optional(),\n balance: z.number().describe(\"Current ledger balance in the account's currency. Must be >= 0.\").optional(),\n subtype: z.string().describe(\"Further subdivision of type (e.g., 'PERSONAL_CHECKING', 'MONEY_MARKET'). May not be supported in all environments.\").optional(),\n metadata: z.string().describe(\"Freeform metadata field for storing custom data (e.g., JSON string).\").optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD', 'EUR', 'GBP'). Must be exactly 3 characters.\").optional(),\n account_number: z.string().describe(\"Account number (can be full or masked, e.g., '****1234'). May not be supported in all environments.\").optional(),\n routing_number: z.string().describe(\"Bank routing number (9 digits for US banks). May not be supported in all environments.\").optional(),\n available_balance: z.number().describe(\"Available funds for use (excludes pending transactions/holds). Must be >= 0.\").optional(),\n}).describe(\"Fields for creating a manual account. Only 'name' is required; all other fields are optional.\"),\n user_guid: z.string().describe(\"GUID of the user under which to create the account, must start with 'USR-'\"),\n}).describe(\"Request schema to create a manual account under a specified user.\");\nconst MxTechnologiesCreateAccount_AccountDetailSchema = z.object({\n id: z.string().describe(\"Partner-defined identifier for the account\").nullable().optional(),\n apr: z.number().describe(\"Annual percentage rate associated with the account\").nullable().optional(),\n apy: z.number().describe(\"Annual percentage yield associated with the account\").nullable().optional(),\n guid: z.string().describe(\"MX-defined unique account identifier (e.g., 'ACT-abc123')\").nullable().optional(),\n name: z.string().describe(\"Human-readable account name\").nullable().optional(),\n type: z.string().describe(\"High-level account type (e.g., 'CHECKING', 'SAVINGS', 'CREDIT_CARD', 'LOAN', 'INVESTMENT')\").nullable().optional(),\n balance: z.number().describe(\"Current ledger balance\").nullable().optional(),\n subtype: z.string().describe(\"Account subtype (e.g., 'PERSONAL_CHECKING')\").nullable().optional(),\n metadata: z.string().describe(\"Freeform metadata field\").nullable().optional(),\n nickname: z.string().describe(\"User-defined nickname for the account\").nullable().optional(),\n is_closed: z.boolean().describe(\"Whether the account is closed\").nullable().optional(),\n is_hidden: z.boolean().describe(\"Whether the account is hidden from views\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether this is a manual (non-aggregated) account\").nullable().optional(),\n user_guid: z.string().describe(\"MX-defined user GUID for this account\").nullable().optional(),\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, if linked by aggregation\").nullable().optional(),\n credit_limit: z.number().describe(\"Credit limit for credit accounts\").nullable().optional(),\n last_payment: z.number().describe(\"Amount of the last payment\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD')\").nullable().optional(),\n interest_rate: z.number().describe(\"Interest rate associated with the account\").nullable().optional(),\n account_number: z.string().describe(\"Account number (may be masked)\").nullable().optional(),\n payment_due_at: z.string().describe(\"ISO 8601 timestamp when payment is due\").nullable().optional(),\n routing_number: z.string().describe(\"Bank routing number\").nullable().optional(),\n last_payment_at: z.string().describe(\"ISO 8601 timestamp of last payment\").nullable().optional(),\n minimum_payment: z.number().describe(\"Minimum payment amount due\").nullable().optional(),\n available_credit: z.number().describe(\"Available credit for credit accounts\").nullable().optional(),\n institution_guid: z.string().describe(\"MX institution GUID, if linked by aggregation\").nullable().optional(),\n available_balance: z.number().describe(\"Available funds for use, excludes holds\").nullable().optional(),\n day_payment_is_due: z.number().int().describe(\"Day of month when payment is due (1-31)\").nullable().optional(),\n}).passthrough().describe(\"Detailed account information returned by the MX API.\\nNote: Many fields may be null for manual accounts since they only apply to aggregated accounts.\");\nexport const MxTechnologiesCreateAccountOutput = z.object({\n account: MxTechnologiesCreateAccount_AccountDetailSchema.nullable(),\n}).passthrough().describe(\"Response schema for a newly created account.\");\n\nexport const mxTechnologiesCreateAccount: AppAction<\n typeof MxTechnologiesCreateAccountInput,\n typeof MxTechnologiesCreateAccountOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_CREATE_ACCOUNT\", {\n slug: \"mx_technologies-create-account\",\n name: \"Create account\",\n description: \"Creates a manual account for a specified user in MX Platform. Use this tool when you need to: - Add an external/off-platform account that isn't aggregated through MX - Create a test account for development purposes - Track accounts from institutions not supported by MX aggregation Note: Manual accounts do not aggregate data from financial institutions. They are created under the special 'Manual Institution' member and require manual updates for balance and transaction information. Requires: A valid user_guid (obtained from List Users or Create User).\",\n input: MxTechnologiesCreateAccountInput,\n output: MxTechnologiesCreateAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO;EAClB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;EACxH,MAAM,EAAE,KAAK;GAAC;GAAY;GAAW;GAAe;GAAQ;EAAY,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EACtM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC5J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC/G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACjI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACpJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACv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SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAAuJ;AAKjL,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,SAAS,gDAAgD,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-audience-api-credentials.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-audience-api-credentials.cjs","names":["z","action"],"sources":["../../src/actions/create-audience-api-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreateAudienceApiCredentialsInput = z.object({\n client_id: z.string().describe(\"Audience API credential client ID (optional; falls back to env)\").optional(),\n client_secret: z.string().describe(\"Audience API credential client secret (optional; falls back to env)\").optional(),\n}).describe(\"Request model for retrieving Audience API credentials.\\n\\nThis tool first attempts to use the provided client_id and client_secret.\\nIf they are not provided, it falls back to environment variables:\\nMX_AUDIENCE_CLIENT_ID and MX_AUDIENCE_CLIENT_SECRET.\\nAs a final fallback, it will also look in metadata extras (if present).\");\nexport const MxTechnologiesCreateAudienceApiCredentialsOutput = z.object({\n client_id: z.string().describe(\"Audience API credential client ID\").nullable(),\n client_secret: z.string().describe(\"Audience API credential client secret\").nullable(),\n}).passthrough().describe(\"Response model with Audience API client credentials.\");\n\nexport const mxTechnologiesCreateAudienceApiCredentials = action(\"MX_TECHNOLOGIES_CREATE_AUDIENCE_API_CREDENTIALS\", {\n slug: \"mx_technologies-create-audience-api-credentials\",\n name: \"Retrieve Audience API Credentials\",\n description: \"Tool to retrieve Audience API credentials. Use when obtaining client_id and client_secret for Audience Service authentication before generating an access token. Credentials must be created in the Partner Dashboard (Partner Administrator → Authentication → Audience API Key). The tool prefers explicitly provided values, then falls back to environment variables.\",\n input: MxTechnologiesCreateAudienceApiCredentialsInput,\n output: MxTechnologiesCreateAudienceApiCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,uUAAuU;AACnV,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-audience-api-credentials.cjs","names":["z","action"],"sources":["../../src/actions/create-audience-api-credentials.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesCreateAudienceApiCredentialsInput = z.object({\n client_id: z.string().describe(\"Audience API credential client ID (optional; falls back to env)\").optional(),\n client_secret: z.string().describe(\"Audience API credential client secret (optional; falls back to env)\").optional(),\n}).describe(\"Request model for retrieving Audience API credentials.\\n\\nThis tool first attempts to use the provided client_id and client_secret.\\nIf they are not provided, it falls back to environment variables:\\nMX_AUDIENCE_CLIENT_ID and MX_AUDIENCE_CLIENT_SECRET.\\nAs a final fallback, it will also look in metadata extras (if present).\");\nexport const MxTechnologiesCreateAudienceApiCredentialsOutput = z.object({\n client_id: z.string().describe(\"Audience API credential client ID\").nullable(),\n client_secret: z.string().describe(\"Audience API credential client secret\").nullable(),\n}).passthrough().describe(\"Response model with Audience API client credentials.\");\n\nexport const mxTechnologiesCreateAudienceApiCredentials: AppAction<\n typeof MxTechnologiesCreateAudienceApiCredentialsInput,\n typeof MxTechnologiesCreateAudienceApiCredentialsOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_CREATE_AUDIENCE_API_CREDENTIALS\", {\n slug: \"mx_technologies-create-audience-api-credentials\",\n name: \"Retrieve Audience API Credentials\",\n description: \"Tool to retrieve Audience API credentials. Use when obtaining client_id and client_secret for Audience Service authentication before generating an access token. Credentials must be created in the Partner Dashboard (Partner Administrator → Authentication → Audience API Key). The tool prefers explicitly provided values, then falls back to environment variables.\",\n input: MxTechnologiesCreateAudienceApiCredentialsInput,\n output: MxTechnologiesCreateAudienceApiCredentialsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,uUAAuU;AACnV,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,6CAITC,eAAAA,OAAO,mDAAmD;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mxTechnologies } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-audience-api-credentials.d.ts
@@ -9,10 +11,7 @@ declare const MxTechnologiesCreateAudienceApiCredentialsOutput: z.ZodObject<{
9
11
  client_id: z.ZodNullable<z.ZodString>;
10
12
  client_secret: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>;
12
- declare const mxTechnologiesCreateAudienceApiCredentials: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- client_id?: string | undefined;
14
- client_secret?: string | undefined;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const mxTechnologiesCreateAudienceApiCredentials: AppAction<typeof MxTechnologiesCreateAudienceApiCredentialsInput, typeof MxTechnologiesCreateAudienceApiCredentialsOutput, typeof mxTechnologies.credential>;
16
15
  //#endregion
17
16
  export { mxTechnologiesCreateAudienceApiCredentials };
18
17
  //# sourceMappingURL=create-audience-api-credentials.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-audience-api-credentials.d.cts","names":[],"sources":["../../src/actions/create-audience-api-credentials.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;cAI/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;cAKhD,0CAAA,gCAA0C,wBAAA"}
1
+ {"version":3,"file":"create-audience-api-credentials.d.cts","names":[],"sources":["../../src/actions/create-audience-api-credentials.ts"],"mappings":";;;;;cAMa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;cAI/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;cAKhD,0CAAA,EAA4C,SAAA,QAChD,+CAAA,SACA,gDAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mxTechnologies } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-audience-api-credentials.d.ts
@@ -9,10 +11,7 @@ declare const MxTechnologiesCreateAudienceApiCredentialsOutput: z.ZodObject<{
9
11
  client_id: z.ZodNullable<z.ZodString>;
10
12
  client_secret: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>;
12
- declare const mxTechnologiesCreateAudienceApiCredentials: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- client_id?: string | undefined;
14
- client_secret?: string | undefined;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const mxTechnologiesCreateAudienceApiCredentials: AppAction<typeof MxTechnologiesCreateAudienceApiCredentialsInput, typeof MxTechnologiesCreateAudienceApiCredentialsOutput, typeof mxTechnologies.credential>;
16
15
  //#endregion
17
16
  export { mxTechnologiesCreateAudienceApiCredentials };
18
17
  //# sourceMappingURL=create-audience-api-credentials.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-audience-api-credentials.d.mts","names":[],"sources":["../../src/actions/create-audience-api-credentials.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;cAI/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;cAKhD,0CAAA,gCAA0C,wBAAA"}
1
+ {"version":3,"file":"create-audience-api-credentials.d.mts","names":[],"sources":["../../src/actions/create-audience-api-credentials.ts"],"mappings":";;;;;cAMa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;cAI/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;cAKhD,0CAAA,EAA4C,SAAA,QAChD,+CAAA,SACA,gDAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const mxTechnologiesCreateAudienceApiCredentials = action("MX_TECHNOLOGIES_CREATE_AUDIENCE_API_CREDENTIALS", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-audience-api-credentials.mjs","names":[],"sources":["../../src/actions/create-audience-api-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreateAudienceApiCredentialsInput = z.object({\n client_id: z.string().describe(\"Audience API credential client ID (optional; falls back to env)\").optional(),\n client_secret: z.string().describe(\"Audience API credential client secret (optional; falls back to env)\").optional(),\n}).describe(\"Request model for retrieving Audience API credentials.\\n\\nThis tool first attempts to use the provided client_id and client_secret.\\nIf they are not provided, it falls back to environment variables:\\nMX_AUDIENCE_CLIENT_ID and MX_AUDIENCE_CLIENT_SECRET.\\nAs a final fallback, it will also look in metadata extras (if present).\");\nexport const MxTechnologiesCreateAudienceApiCredentialsOutput = z.object({\n client_id: z.string().describe(\"Audience API credential client ID\").nullable(),\n client_secret: z.string().describe(\"Audience API credential client secret\").nullable(),\n}).passthrough().describe(\"Response model with Audience API client credentials.\");\n\nexport const mxTechnologiesCreateAudienceApiCredentials = action(\"MX_TECHNOLOGIES_CREATE_AUDIENCE_API_CREDENTIALS\", {\n slug: \"mx_technologies-create-audience-api-credentials\",\n name: \"Retrieve Audience API Credentials\",\n description: \"Tool to retrieve Audience API credentials. Use when obtaining client_id and client_secret for Audience Service authentication before generating an access token. Credentials must be created in the Partner Dashboard (Partner Administrator → Authentication → Audience API Key). The tool prefers explicitly provided values, then falls back to environment variables.\",\n input: MxTechnologiesCreateAudienceApiCredentialsInput,\n output: MxTechnologiesCreateAudienceApiCredentialsOutput,\n});\n"],"mappings":";;AAaA,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6D,EAAE,OAAO;EACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,uUAUH;CACP,QAV8D,EAAE,OAAO;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-audience-api-credentials.mjs","names":[],"sources":["../../src/actions/create-audience-api-credentials.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesCreateAudienceApiCredentialsInput = z.object({\n client_id: z.string().describe(\"Audience API credential client ID (optional; falls back to env)\").optional(),\n client_secret: z.string().describe(\"Audience API credential client secret (optional; falls back to env)\").optional(),\n}).describe(\"Request model for retrieving Audience API credentials.\\n\\nThis tool first attempts to use the provided client_id and client_secret.\\nIf they are not provided, it falls back to environment variables:\\nMX_AUDIENCE_CLIENT_ID and MX_AUDIENCE_CLIENT_SECRET.\\nAs a final fallback, it will also look in metadata extras (if present).\");\nexport const MxTechnologiesCreateAudienceApiCredentialsOutput = z.object({\n client_id: z.string().describe(\"Audience API credential client ID\").nullable(),\n client_secret: z.string().describe(\"Audience API credential client secret\").nullable(),\n}).passthrough().describe(\"Response model with Audience API client credentials.\");\n\nexport const mxTechnologiesCreateAudienceApiCredentials: AppAction<\n typeof MxTechnologiesCreateAudienceApiCredentialsInput,\n typeof MxTechnologiesCreateAudienceApiCredentialsOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_CREATE_AUDIENCE_API_CREDENTIALS\", {\n slug: \"mx_technologies-create-audience-api-credentials\",\n name: \"Retrieve Audience API Credentials\",\n description: \"Tool to retrieve Audience API credentials. Use when obtaining client_id and client_secret for Audience Service authentication before generating an access token. Credentials must be created in the Partner Dashboard (Partner Administrator → Authentication → Audience API Key). The tool prefers explicitly provided values, then falls back to environment variables.\",\n input: MxTechnologiesCreateAudienceApiCredentialsInput,\n output: MxTechnologiesCreateAudienceApiCredentialsOutput,\n});\n"],"mappings":";;;AAeA,MAAa,6CAIT,OAAO,mDAAmD;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6D,EAAE,OAAO;EACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,uUAcH;CACP,QAd8D,EAAE,OAAO;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-member.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-member.cjs","names":["z","action"],"sources":["../../src/actions/create-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreateMemberInput = z.object({\n member: z.object({\n id: z.string().describe(\"Partner-defined unique identifier for the member. If not provided, MX generates one.\").optional(),\n is_oauth: z.boolean().describe(\"Set to true for OAuth-based connections. When true, credentials are not required and oauth_window_uri will be returned.\").optional(),\n metadata: z.string().describe(\"Free-form string metadata to store with the member (max 256 characters).\").optional(),\n credentials: z.array(z.object({\n guid: z.string().describe(\"Credential GUID obtained from the List Institution Credentials endpoint (e.g., 'CRD-1ec152cd-e628-ac04-c4f0-f09a32b7c982').\"),\n value: z.string().describe(\"End-user's credential value (e.g., username or password). For MX Bank test institution, use 'mxuser' for LOGIN and 'password' for PASSWORD.\"),\n}).passthrough().describe(\"Institution credential for non-OAuth member connections.\")).describe(\"List of credential objects for non-OAuth members. Each credential has a 'guid' (from List Institution Credentials) and 'value' (user input). Required unless is_oauth=true.\").optional(),\n institution_code: z.string().describe(\"MX institution code identifying the financial institution (e.g., 'mxbank' for test, or real codes like 'chase', 'wells_fargo'). Obtain from List Institutions endpoint.\"),\n skip_aggregation: z.boolean().describe(\"If true, skip the automatic aggregation that normally starts when member is created.\").optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"If true, disable background aggregation for this member.\").optional(),\n}).describe(\"Member creation payload containing institution_code and credentials (for non-OAuth) or is_oauth flag (for OAuth flows).\"),\n user_guid: z.string().describe(\"The MX user GUID prefixed with 'USR-' (e.g., 'USR-fa7537f3-48aa-a683-a02a-b18940482f54'). Obtain from List Users or Create User endpoints.\"),\n x_callback_payload: z.string().describe(\"Base64-encoded payload to echo in member webhooks (max 1024 characters). Sent as X-CALLBACK-PAYLOAD header.\").optional(),\n client_redirect_url: z.string().describe(\"URL for OAuth redirect after authentication completes. Required for OAuth members.\").optional(),\n}).describe(\"Request schema for creating a member (connection between user and financial institution).\");\nconst MxTechnologiesCreateMember_MemberResponseSchema = z.object({\n id: z.string().describe(\"Partner-defined member identifier, if provided during creation.\").nullable().optional(),\n guid: z.string().describe(\"MX-generated unique identifier for the member (e.g., 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b').\").nullable(),\n name: z.string().describe(\"Name of the member/institution connection.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user ID, if available.\").nullable().optional(),\n is_oauth: z.boolean().describe(\"Whether this is an OAuth-based connection.\").nullable().optional(),\n metadata: z.string().describe(\"Free-form metadata stored with the member.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether the member was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"GUID of the user this member belongs to.\").nullable(),\n aggregated_at: z.string().describe(\"ISO 8601 timestamp of last aggregation attempt.\").nullable().optional(),\n institution_code: z.string().describe(\"Code of the connected financial institution.\").nullable(),\n oauth_window_uri: z.string().describe(\"URI for OAuth authentication window. Present only for OAuth members.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status code (e.g., 'CONNECTED', 'CHALLENGED', 'DENIED').\").nullable().optional(),\n is_managed_by_user: z.boolean().describe(\"Whether the member is managed by the user.\").nullable().optional(),\n is_being_aggregated: z.boolean().describe(\"Whether the member is currently being aggregated.\").nullable().optional(),\n successfully_aggregated_at: z.string().describe(\"ISO 8601 timestamp of last successful aggregation.\").nullable().optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"Whether background aggregation is disabled for this member.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a member object returned by the MX API.\");\nexport const MxTechnologiesCreateMemberOutput = z.object({\n member: MxTechnologiesCreateMember_MemberResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for CREATE_MEMBER action containing the newly created member.\");\n\nexport const mxTechnologiesCreateMember = action(\"MX_TECHNOLOGIES_CREATE_MEMBER\", {\n slug: \"mx_technologies-create-member\",\n name: \"Create member\",\n description: \"Create a member to connect a user to a financial institution. A member represents the relationship between an MX user and a financial institution. For non-OAuth institutions, provide credentials obtained from List Institution Credentials. For OAuth institutions, set is_oauth=true and use the returned oauth_window_uri. Prerequisites: - user_guid from List Users or Create User - institution_code from List Institutions - credentials from List Institution Credentials (for non-OAuth) Test credentials for MX Bank (mxbank): username='mxuser', password='password'\",\n input: MxTechnologiesCreateMemberInput,\n output: MxTechnologiesCreateMemberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO;EACjB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACzH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EACnK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACnH,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GAC9B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;GACvJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;EAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;EACtR,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK;EAC/M,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACxI,oCAAoCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,SAAS,yHAAyH;CACnI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CAC3K,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAChK,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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AA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,oCAAoCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,QAAQ,gDAAgD,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AAEzG,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-member.cjs","names":["z","action"],"sources":["../../src/actions/create-member.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesCreateMemberInput = z.object({\n member: z.object({\n id: z.string().describe(\"Partner-defined unique identifier for the member. If not provided, MX generates one.\").optional(),\n is_oauth: z.boolean().describe(\"Set to true for OAuth-based connections. When true, credentials are not required and oauth_window_uri will be returned.\").optional(),\n metadata: z.string().describe(\"Free-form string metadata to store with the member (max 256 characters).\").optional(),\n credentials: z.array(z.object({\n guid: z.string().describe(\"Credential GUID obtained from the List Institution Credentials endpoint (e.g., 'CRD-1ec152cd-e628-ac04-c4f0-f09a32b7c982').\"),\n value: z.string().describe(\"End-user's credential value (e.g., username or password). For MX Bank test institution, use 'mxuser' for LOGIN and 'password' for PASSWORD.\"),\n}).passthrough().describe(\"Institution credential for non-OAuth member connections.\")).describe(\"List of credential objects for non-OAuth members. Each credential has a 'guid' (from List Institution Credentials) and 'value' (user input). Required unless is_oauth=true.\").optional(),\n institution_code: z.string().describe(\"MX institution code identifying the financial institution (e.g., 'mxbank' for test, or real codes like 'chase', 'wells_fargo'). Obtain from List Institutions endpoint.\"),\n skip_aggregation: z.boolean().describe(\"If true, skip the automatic aggregation that normally starts when member is created.\").optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"If true, disable background aggregation for this member.\").optional(),\n}).describe(\"Member creation payload containing institution_code and credentials (for non-OAuth) or is_oauth flag (for OAuth flows).\"),\n user_guid: z.string().describe(\"The MX user GUID prefixed with 'USR-' (e.g., 'USR-fa7537f3-48aa-a683-a02a-b18940482f54'). Obtain from List Users or Create User endpoints.\"),\n x_callback_payload: z.string().describe(\"Base64-encoded payload to echo in member webhooks (max 1024 characters). Sent as X-CALLBACK-PAYLOAD header.\").optional(),\n client_redirect_url: z.string().describe(\"URL for OAuth redirect after authentication completes. Required for OAuth members.\").optional(),\n}).describe(\"Request schema for creating a member (connection between user and financial institution).\");\nconst MxTechnologiesCreateMember_MemberResponseSchema = z.object({\n id: z.string().describe(\"Partner-defined member identifier, if provided during creation.\").nullable().optional(),\n guid: z.string().describe(\"MX-generated unique identifier for the member (e.g., 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b').\").nullable(),\n name: z.string().describe(\"Name of the member/institution connection.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user ID, if available.\").nullable().optional(),\n is_oauth: z.boolean().describe(\"Whether this is an OAuth-based connection.\").nullable().optional(),\n metadata: z.string().describe(\"Free-form metadata stored with the member.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether the member was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"GUID of the user this member belongs to.\").nullable(),\n aggregated_at: z.string().describe(\"ISO 8601 timestamp of last aggregation attempt.\").nullable().optional(),\n institution_code: z.string().describe(\"Code of the connected financial institution.\").nullable(),\n oauth_window_uri: z.string().describe(\"URI for OAuth authentication window. Present only for OAuth members.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status code (e.g., 'CONNECTED', 'CHALLENGED', 'DENIED').\").nullable().optional(),\n is_managed_by_user: z.boolean().describe(\"Whether the member is managed by the user.\").nullable().optional(),\n is_being_aggregated: z.boolean().describe(\"Whether the member is currently being aggregated.\").nullable().optional(),\n successfully_aggregated_at: z.string().describe(\"ISO 8601 timestamp of last successful aggregation.\").nullable().optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"Whether background aggregation is disabled for this member.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a member object returned by the MX API.\");\nexport const MxTechnologiesCreateMemberOutput = z.object({\n member: MxTechnologiesCreateMember_MemberResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for CREATE_MEMBER action containing the newly created member.\");\n\nexport const mxTechnologiesCreateMember: AppAction<\n typeof MxTechnologiesCreateMemberInput,\n typeof MxTechnologiesCreateMemberOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_CREATE_MEMBER\", {\n slug: \"mx_technologies-create-member\",\n name: \"Create member\",\n description: \"Create a member to connect a user to a financial institution. A member represents the relationship between an MX user and a financial institution. For non-OAuth institutions, provide credentials obtained from List Institution Credentials. For OAuth institutions, set is_oauth=true and use the returned oauth_window_uri. Prerequisites: - user_guid from List Users or Create User - institution_code from List Institutions - credentials from List Institution Credentials (for non-OAuth) Test credentials for MX Bank (mxbank): username='mxuser', password='password'\",\n input: MxTechnologiesCreateMemberInput,\n output: MxTechnologiesCreateMemberOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO;EACjB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACzH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,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,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,QAAQ,gDAAgD,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AAEzG,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mxTechnologies } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-member.d.ts
@@ -38,24 +40,7 @@ declare const MxTechnologiesCreateMemberOutput: z.ZodObject<{
38
40
  background_aggregation_is_disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
39
41
  }, z.core.$loose>>;
40
42
  }, z.core.$loose>;
41
- declare const mxTechnologiesCreateMember: import("@keystrokehq/action").WorkflowActionDefinition<{
42
- member: {
43
- institution_code: string;
44
- id?: string | undefined;
45
- is_oauth?: boolean | undefined;
46
- metadata?: string | undefined;
47
- credentials?: {
48
- [x: string]: unknown;
49
- guid: string;
50
- value: string;
51
- }[] | undefined;
52
- skip_aggregation?: boolean | undefined;
53
- background_aggregation_is_disabled?: boolean | undefined;
54
- };
55
- user_guid: string;
56
- x_callback_payload?: string | undefined;
57
- client_redirect_url?: string | undefined;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
+ declare const mxTechnologiesCreateMember: AppAction<typeof MxTechnologiesCreateMemberInput, typeof MxTechnologiesCreateMemberOutput, typeof mxTechnologies.credential>;
59
44
  //#endregion
60
45
  export { mxTechnologiesCreateMember };
61
46
  //# sourceMappingURL=create-member.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-member.d.cts","names":[],"sources":["../../src/actions/create-member.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAmC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"create-member.d.cts","names":[],"sources":["../../src/actions/create-member.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAmC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mxTechnologies } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-member.d.ts
@@ -38,24 +40,7 @@ declare const MxTechnologiesCreateMemberOutput: z.ZodObject<{
38
40
  background_aggregation_is_disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
39
41
  }, z.core.$loose>>;
40
42
  }, z.core.$loose>;
41
- declare const mxTechnologiesCreateMember: import("@keystrokehq/action").WorkflowActionDefinition<{
42
- member: {
43
- institution_code: string;
44
- id?: string | undefined;
45
- is_oauth?: boolean | undefined;
46
- metadata?: string | undefined;
47
- credentials?: {
48
- [x: string]: unknown;
49
- guid: string;
50
- value: string;
51
- }[] | undefined;
52
- skip_aggregation?: boolean | undefined;
53
- background_aggregation_is_disabled?: boolean | undefined;
54
- };
55
- user_guid: string;
56
- x_callback_payload?: string | undefined;
57
- client_redirect_url?: string | undefined;
58
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
+ declare const mxTechnologiesCreateMember: AppAction<typeof MxTechnologiesCreateMemberInput, typeof MxTechnologiesCreateMemberOutput, typeof mxTechnologies.credential>;
59
44
  //#endregion
60
45
  export { mxTechnologiesCreateMember };
61
46
  //# sourceMappingURL=create-member.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-member.d.mts","names":[],"sources":["../../src/actions/create-member.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAmC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"create-member.d.mts","names":[],"sources":["../../src/actions/create-member.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAmC/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-member.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-member.mjs","names":[],"sources":["../../src/actions/create-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MxTechnologiesCreateMemberInput = z.object({\n member: z.object({\n id: z.string().describe(\"Partner-defined unique identifier for the member. If not provided, MX generates one.\").optional(),\n is_oauth: z.boolean().describe(\"Set to true for OAuth-based connections. When true, credentials are not required and oauth_window_uri will be returned.\").optional(),\n metadata: z.string().describe(\"Free-form string metadata to store with the member (max 256 characters).\").optional(),\n credentials: z.array(z.object({\n guid: z.string().describe(\"Credential GUID obtained from the List Institution Credentials endpoint (e.g., 'CRD-1ec152cd-e628-ac04-c4f0-f09a32b7c982').\"),\n value: z.string().describe(\"End-user's credential value (e.g., username or password). For MX Bank test institution, use 'mxuser' for LOGIN and 'password' for PASSWORD.\"),\n}).passthrough().describe(\"Institution credential for non-OAuth member connections.\")).describe(\"List of credential objects for non-OAuth members. Each credential has a 'guid' (from List Institution Credentials) and 'value' (user input). Required unless is_oauth=true.\").optional(),\n institution_code: z.string().describe(\"MX institution code identifying the financial institution (e.g., 'mxbank' for test, or real codes like 'chase', 'wells_fargo'). Obtain from List Institutions endpoint.\"),\n skip_aggregation: z.boolean().describe(\"If true, skip the automatic aggregation that normally starts when member is created.\").optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"If true, disable background aggregation for this member.\").optional(),\n}).describe(\"Member creation payload containing institution_code and credentials (for non-OAuth) or is_oauth flag (for OAuth flows).\"),\n user_guid: z.string().describe(\"The MX user GUID prefixed with 'USR-' (e.g., 'USR-fa7537f3-48aa-a683-a02a-b18940482f54'). Obtain from List Users or Create User endpoints.\"),\n x_callback_payload: z.string().describe(\"Base64-encoded payload to echo in member webhooks (max 1024 characters). Sent as X-CALLBACK-PAYLOAD header.\").optional(),\n client_redirect_url: z.string().describe(\"URL for OAuth redirect after authentication completes. Required for OAuth members.\").optional(),\n}).describe(\"Request schema for creating a member (connection between user and financial institution).\");\nconst MxTechnologiesCreateMember_MemberResponseSchema = z.object({\n id: z.string().describe(\"Partner-defined member identifier, if provided during creation.\").nullable().optional(),\n guid: z.string().describe(\"MX-generated unique identifier for the member (e.g., 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b').\").nullable(),\n name: z.string().describe(\"Name of the member/institution connection.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user ID, if available.\").nullable().optional(),\n is_oauth: z.boolean().describe(\"Whether this is an OAuth-based connection.\").nullable().optional(),\n metadata: z.string().describe(\"Free-form metadata stored with the member.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether the member was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"GUID of the user this member belongs to.\").nullable(),\n aggregated_at: z.string().describe(\"ISO 8601 timestamp of last aggregation attempt.\").nullable().optional(),\n institution_code: z.string().describe(\"Code of the connected financial institution.\").nullable(),\n oauth_window_uri: z.string().describe(\"URI for OAuth authentication window. Present only for OAuth members.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status code (e.g., 'CONNECTED', 'CHALLENGED', 'DENIED').\").nullable().optional(),\n is_managed_by_user: z.boolean().describe(\"Whether the member is managed by the user.\").nullable().optional(),\n is_being_aggregated: z.boolean().describe(\"Whether the member is currently being aggregated.\").nullable().optional(),\n successfully_aggregated_at: z.string().describe(\"ISO 8601 timestamp of last successful aggregation.\").nullable().optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"Whether background aggregation is disabled for this member.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a member object returned by the MX API.\");\nexport const MxTechnologiesCreateMemberOutput = z.object({\n member: MxTechnologiesCreateMember_MemberResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for CREATE_MEMBER action containing the newly created member.\");\n\nexport const mxTechnologiesCreateMember = action(\"MX_TECHNOLOGIES_CREATE_MEMBER\", {\n slug: \"mx_technologies-create-member\",\n name: \"Create member\",\n description: \"Create a member to connect a user to a financial institution. A member represents the relationship between an MX user and a financial institution. For non-OAuth institutions, provide credentials obtained from List Institution Credentials. For OAuth institutions, set is_oauth=true and use the returned oauth_window_uri. Prerequisites: - user_guid from List Users or Create User - institution_code from List Institutions - credentials from List Institution Credentials (for non-OAuth) Test credentials for MX Bank (mxbank): username='mxuser', password='password'\",\n input: MxTechnologiesCreateMemberInput,\n output: MxTechnologiesCreateMemberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO;EACjB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACzH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EACnK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACnH,aAAa,EAAE,MAAM,EAAE,OAAO;GAC9B,MAAM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Q,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC/F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,oCAAoC,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAKvF,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,QAAQ,gDAAgD,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-member.mjs","names":[],"sources":["../../src/actions/create-member.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mxTechnologies } from \"../app\";\n\nexport const MxTechnologiesCreateMemberInput = z.object({\n member: z.object({\n id: z.string().describe(\"Partner-defined unique identifier for the member. If not provided, MX generates one.\").optional(),\n is_oauth: z.boolean().describe(\"Set to true for OAuth-based connections. When true, credentials are not required and oauth_window_uri will be returned.\").optional(),\n metadata: z.string().describe(\"Free-form string metadata to store with the member (max 256 characters).\").optional(),\n credentials: z.array(z.object({\n guid: z.string().describe(\"Credential GUID obtained from the List Institution Credentials endpoint (e.g., 'CRD-1ec152cd-e628-ac04-c4f0-f09a32b7c982').\"),\n value: z.string().describe(\"End-user's credential value (e.g., username or password). For MX Bank test institution, use 'mxuser' for LOGIN and 'password' for PASSWORD.\"),\n}).passthrough().describe(\"Institution credential for non-OAuth member connections.\")).describe(\"List of credential objects for non-OAuth members. Each credential has a 'guid' (from List Institution Credentials) and 'value' (user input). Required unless is_oauth=true.\").optional(),\n institution_code: z.string().describe(\"MX institution code identifying the financial institution (e.g., 'mxbank' for test, or real codes like 'chase', 'wells_fargo'). Obtain from List Institutions endpoint.\"),\n skip_aggregation: z.boolean().describe(\"If true, skip the automatic aggregation that normally starts when member is created.\").optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"If true, disable background aggregation for this member.\").optional(),\n}).describe(\"Member creation payload containing institution_code and credentials (for non-OAuth) or is_oauth flag (for OAuth flows).\"),\n user_guid: z.string().describe(\"The MX user GUID prefixed with 'USR-' (e.g., 'USR-fa7537f3-48aa-a683-a02a-b18940482f54'). Obtain from List Users or Create User endpoints.\"),\n x_callback_payload: z.string().describe(\"Base64-encoded payload to echo in member webhooks (max 1024 characters). Sent as X-CALLBACK-PAYLOAD header.\").optional(),\n client_redirect_url: z.string().describe(\"URL for OAuth redirect after authentication completes. Required for OAuth members.\").optional(),\n}).describe(\"Request schema for creating a member (connection between user and financial institution).\");\nconst MxTechnologiesCreateMember_MemberResponseSchema = z.object({\n id: z.string().describe(\"Partner-defined member identifier, if provided during creation.\").nullable().optional(),\n guid: z.string().describe(\"MX-generated unique identifier for the member (e.g., 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b').\").nullable(),\n name: z.string().describe(\"Name of the member/institution connection.\").nullable().optional(),\n user_id: z.string().describe(\"Partner-defined user ID, if available.\").nullable().optional(),\n is_oauth: z.boolean().describe(\"Whether this is an OAuth-based connection.\").nullable().optional(),\n metadata: z.string().describe(\"Free-form metadata stored with the member.\").nullable().optional(),\n is_manual: z.boolean().describe(\"Whether the member was manually created.\").nullable().optional(),\n user_guid: z.string().describe(\"GUID of the user this member belongs to.\").nullable(),\n aggregated_at: z.string().describe(\"ISO 8601 timestamp of last aggregation attempt.\").nullable().optional(),\n institution_code: z.string().describe(\"Code of the connected financial institution.\").nullable(),\n oauth_window_uri: z.string().describe(\"URI for OAuth authentication window. Present only for OAuth members.\").nullable().optional(),\n connection_status: z.string().describe(\"Current connection status code (e.g., 'CONNECTED', 'CHALLENGED', 'DENIED').\").nullable().optional(),\n is_managed_by_user: z.boolean().describe(\"Whether the member is managed by the user.\").nullable().optional(),\n is_being_aggregated: z.boolean().describe(\"Whether the member is currently being aggregated.\").nullable().optional(),\n successfully_aggregated_at: z.string().describe(\"ISO 8601 timestamp of last successful aggregation.\").nullable().optional(),\n background_aggregation_is_disabled: z.boolean().describe(\"Whether background aggregation is disabled for this member.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a member object returned by the MX API.\");\nexport const MxTechnologiesCreateMemberOutput = z.object({\n member: MxTechnologiesCreateMember_MemberResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for CREATE_MEMBER action containing the newly created member.\");\n\nexport const mxTechnologiesCreateMember: AppAction<\n typeof MxTechnologiesCreateMemberInput,\n typeof MxTechnologiesCreateMemberOutput,\n typeof mxTechnologies.credential\n> = action(\"MX_TECHNOLOGIES_CREATE_MEMBER\", {\n slug: \"mx_technologies-create-member\",\n name: \"Create member\",\n description: \"Create a member to connect a user to a financial institution. A member represents the relationship between an MX user and a financial institution. For non-OAuth institutions, provide credentials obtained from List Institution Credentials. For OAuth institutions, set is_oauth=true and use the returned oauth_window_uri. Prerequisites: - user_guid from List Users or Create User - institution_code from List Institutions - credentials from List Institution Credentials (for non-OAuth) Test credentials for MX Bank (mxbank): username='mxuser', password='password'\",\n input: MxTechnologiesCreateMemberInput,\n output: MxTechnologiesCreateMemberOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO;EACjB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACzH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EACnK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACnH,aAAa,EAAE,MAAM,EAAE,OAAO;GAC9B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;GACvJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;EAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;EACtR,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK;EAC/M,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACxI,oCAAoC,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,SAAS,yHAAyH;CACnI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CAC3K,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAChK,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,kDAAkD,E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C,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,oCAAoC,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAKvF,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO,EACvD,QAAQ,gDAAgD,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-partner-account.ts