@keystrokehq/mx_technologies 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) 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 +4 -4
  4. package/dist/actions/cancel-partner-account.cjs.map +1 -1
  5. package/dist/actions/cancel-partner-account.d.cts +16 -3
  6. package/dist/actions/cancel-partner-account.d.cts.map +1 -1
  7. package/dist/actions/cancel-partner-account.d.mts +16 -3
  8. package/dist/actions/cancel-partner-account.d.mts.map +1 -1
  9. package/dist/actions/cancel-partner-account.mjs +4 -4
  10. package/dist/actions/cancel-partner-account.mjs.map +1 -1
  11. package/dist/actions/create-account.cjs +2 -2
  12. package/dist/actions/create-account.cjs.map +1 -1
  13. package/dist/actions/create-account.d.cts +68 -3
  14. package/dist/actions/create-account.d.cts.map +1 -1
  15. package/dist/actions/create-account.d.mts +68 -3
  16. package/dist/actions/create-account.d.mts.map +1 -1
  17. package/dist/actions/create-account.mjs +2 -2
  18. package/dist/actions/create-account.mjs.map +1 -1
  19. package/dist/actions/create-audience-api-credentials.cjs +3 -3
  20. package/dist/actions/create-audience-api-credentials.cjs.map +1 -1
  21. package/dist/actions/create-audience-api-credentials.d.cts +12 -3
  22. package/dist/actions/create-audience-api-credentials.d.cts.map +1 -1
  23. package/dist/actions/create-audience-api-credentials.d.mts +12 -3
  24. package/dist/actions/create-audience-api-credentials.d.mts.map +1 -1
  25. package/dist/actions/create-audience-api-credentials.mjs +3 -3
  26. package/dist/actions/create-audience-api-credentials.mjs.map +1 -1
  27. package/dist/actions/create-member.cjs +6 -6
  28. package/dist/actions/create-member.cjs.map +1 -1
  29. package/dist/actions/create-member.d.cts +55 -3
  30. package/dist/actions/create-member.d.cts.map +1 -1
  31. package/dist/actions/create-member.d.mts +55 -3
  32. package/dist/actions/create-member.d.mts.map +1 -1
  33. package/dist/actions/create-member.mjs +6 -6
  34. package/dist/actions/create-member.mjs.map +1 -1
  35. package/dist/actions/create-partner-account.cjs +4 -4
  36. package/dist/actions/create-partner-account.cjs.map +1 -1
  37. package/dist/actions/create-partner-account.d.cts +21 -3
  38. package/dist/actions/create-partner-account.d.cts.map +1 -1
  39. package/dist/actions/create-partner-account.d.mts +21 -3
  40. package/dist/actions/create-partner-account.d.mts.map +1 -1
  41. package/dist/actions/create-partner-account.mjs +4 -4
  42. package/dist/actions/create-partner-account.mjs.map +1 -1
  43. package/dist/actions/fetch-rewards.cjs +2 -2
  44. package/dist/actions/fetch-rewards.cjs.map +1 -1
  45. package/dist/actions/fetch-rewards.d.cts +29 -3
  46. package/dist/actions/fetch-rewards.d.cts.map +1 -1
  47. package/dist/actions/fetch-rewards.d.mts +29 -3
  48. package/dist/actions/fetch-rewards.d.mts.map +1 -1
  49. package/dist/actions/fetch-rewards.mjs +2 -2
  50. package/dist/actions/fetch-rewards.mjs.map +1 -1
  51. package/dist/actions/get-configurable-widget-url.cjs +2 -2
  52. package/dist/actions/get-configurable-widget-url.cjs.map +1 -1
  53. package/dist/actions/get-configurable-widget-url.d.cts +43 -3
  54. package/dist/actions/get-configurable-widget-url.d.cts.map +1 -1
  55. package/dist/actions/get-configurable-widget-url.d.mts +43 -3
  56. package/dist/actions/get-configurable-widget-url.d.mts.map +1 -1
  57. package/dist/actions/get-configurable-widget-url.mjs +2 -2
  58. package/dist/actions/get-configurable-widget-url.mjs.map +1 -1
  59. package/dist/actions/list-account-numbers-by-member.cjs +13 -13
  60. package/dist/actions/list-account-numbers-by-member.cjs.map +1 -1
  61. package/dist/actions/list-account-numbers-by-member.d.cts +34 -3
  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 +34 -3
  64. package/dist/actions/list-account-numbers-by-member.d.mts.map +1 -1
  65. package/dist/actions/list-account-numbers-by-member.mjs +13 -13
  66. package/dist/actions/list-account-numbers-by-member.mjs.map +1 -1
  67. package/dist/actions/list-account-owners.cjs +11 -11
  68. package/dist/actions/list-account-owners.cjs.map +1 -1
  69. package/dist/actions/list-account-owners.d.cts +36 -3
  70. package/dist/actions/list-account-owners.d.cts.map +1 -1
  71. package/dist/actions/list-account-owners.d.mts +36 -3
  72. package/dist/actions/list-account-owners.d.mts.map +1 -1
  73. package/dist/actions/list-account-owners.mjs +11 -11
  74. package/dist/actions/list-account-owners.mjs.map +1 -1
  75. package/dist/actions/list-accounts.cjs +11 -11
  76. package/dist/actions/list-accounts.cjs.map +1 -1
  77. package/dist/actions/list-accounts.d.cts +44 -3
  78. package/dist/actions/list-accounts.d.cts.map +1 -1
  79. package/dist/actions/list-accounts.d.mts +44 -3
  80. package/dist/actions/list-accounts.d.mts.map +1 -1
  81. package/dist/actions/list-accounts.mjs +11 -11
  82. package/dist/actions/list-accounts.mjs.map +1 -1
  83. package/dist/actions/list-budgets.cjs +20 -20
  84. package/dist/actions/list-budgets.cjs.map +1 -1
  85. package/dist/actions/list-budgets.d.cts +36 -3
  86. package/dist/actions/list-budgets.d.cts.map +1 -1
  87. package/dist/actions/list-budgets.d.mts +36 -3
  88. package/dist/actions/list-budgets.d.mts.map +1 -1
  89. package/dist/actions/list-budgets.mjs +20 -20
  90. package/dist/actions/list-budgets.mjs.map +1 -1
  91. package/dist/actions/list-categories.cjs +11 -11
  92. package/dist/actions/list-categories.cjs.map +1 -1
  93. package/dist/actions/list-categories.d.cts +28 -3
  94. package/dist/actions/list-categories.d.cts.map +1 -1
  95. package/dist/actions/list-categories.d.mts +28 -3
  96. package/dist/actions/list-categories.d.mts.map +1 -1
  97. package/dist/actions/list-categories.mjs +11 -11
  98. package/dist/actions/list-categories.mjs.map +1 -1
  99. package/dist/actions/list-challenges.cjs +6 -6
  100. package/dist/actions/list-challenges.cjs.map +1 -1
  101. package/dist/actions/list-challenges.d.cts +29 -3
  102. package/dist/actions/list-challenges.d.cts.map +1 -1
  103. package/dist/actions/list-challenges.d.mts +29 -3
  104. package/dist/actions/list-challenges.d.mts.map +1 -1
  105. package/dist/actions/list-challenges.mjs +6 -6
  106. package/dist/actions/list-challenges.mjs.map +1 -1
  107. package/dist/actions/list-favorite-institutions.cjs +8 -8
  108. package/dist/actions/list-favorite-institutions.cjs.map +1 -1
  109. package/dist/actions/list-favorite-institutions.d.cts +35 -3
  110. package/dist/actions/list-favorite-institutions.d.cts.map +1 -1
  111. package/dist/actions/list-favorite-institutions.d.mts +35 -3
  112. package/dist/actions/list-favorite-institutions.d.mts.map +1 -1
  113. package/dist/actions/list-favorite-institutions.mjs +8 -8
  114. package/dist/actions/list-favorite-institutions.mjs.map +1 -1
  115. package/dist/actions/list-goals.cjs +6 -6
  116. package/dist/actions/list-goals.cjs.map +1 -1
  117. package/dist/actions/list-goals.d.cts +37 -3
  118. package/dist/actions/list-goals.d.cts.map +1 -1
  119. package/dist/actions/list-goals.d.mts +37 -3
  120. package/dist/actions/list-goals.d.mts.map +1 -1
  121. package/dist/actions/list-goals.mjs +6 -6
  122. package/dist/actions/list-goals.mjs.map +1 -1
  123. package/dist/actions/list-institution-credentials.cjs +3 -3
  124. package/dist/actions/list-institution-credentials.cjs.map +1 -1
  125. package/dist/actions/list-institution-credentials.d.cts +25 -3
  126. package/dist/actions/list-institution-credentials.d.cts.map +1 -1
  127. package/dist/actions/list-institution-credentials.d.mts +25 -3
  128. package/dist/actions/list-institution-credentials.d.mts.map +1 -1
  129. package/dist/actions/list-institution-credentials.mjs +3 -3
  130. package/dist/actions/list-institution-credentials.mjs.map +1 -1
  131. package/dist/actions/list-institutions.cjs +20 -20
  132. package/dist/actions/list-institutions.cjs.map +1 -1
  133. package/dist/actions/list-institutions.d.cts +45 -3
  134. package/dist/actions/list-institutions.d.cts.map +1 -1
  135. package/dist/actions/list-institutions.d.mts +45 -3
  136. package/dist/actions/list-institutions.d.mts.map +1 -1
  137. package/dist/actions/list-institutions.mjs +20 -20
  138. package/dist/actions/list-institutions.mjs.map +1 -1
  139. package/dist/actions/list-member-accounts.cjs +7 -7
  140. package/dist/actions/list-member-accounts.cjs.map +1 -1
  141. package/dist/actions/list-member-accounts.d.cts +57 -3
  142. package/dist/actions/list-member-accounts.d.cts.map +1 -1
  143. package/dist/actions/list-member-accounts.d.mts +57 -3
  144. package/dist/actions/list-member-accounts.d.mts.map +1 -1
  145. package/dist/actions/list-member-accounts.mjs +7 -7
  146. package/dist/actions/list-member-accounts.mjs.map +1 -1
  147. package/dist/actions/list-members.cjs +7 -7
  148. package/dist/actions/list-members.cjs.map +1 -1
  149. package/dist/actions/list-members.d.cts +47 -3
  150. package/dist/actions/list-members.d.cts.map +1 -1
  151. package/dist/actions/list-members.d.mts +47 -3
  152. package/dist/actions/list-members.d.mts.map +1 -1
  153. package/dist/actions/list-members.mjs +7 -7
  154. package/dist/actions/list-members.mjs.map +1 -1
  155. package/dist/actions/list-rewards.cjs +7 -7
  156. package/dist/actions/list-rewards.cjs.map +1 -1
  157. package/dist/actions/list-rewards.d.cts +32 -3
  158. package/dist/actions/list-rewards.d.cts.map +1 -1
  159. package/dist/actions/list-rewards.d.mts +32 -3
  160. package/dist/actions/list-rewards.d.mts.map +1 -1
  161. package/dist/actions/list-rewards.mjs +7 -7
  162. package/dist/actions/list-rewards.mjs.map +1 -1
  163. package/dist/actions/list-statements-by-member.cjs +7 -7
  164. package/dist/actions/list-statements-by-member.cjs.map +1 -1
  165. package/dist/actions/list-statements-by-member.d.cts +30 -3
  166. package/dist/actions/list-statements-by-member.d.cts.map +1 -1
  167. package/dist/actions/list-statements-by-member.d.mts +30 -3
  168. package/dist/actions/list-statements-by-member.d.mts.map +1 -1
  169. package/dist/actions/list-statements-by-member.mjs +7 -7
  170. package/dist/actions/list-statements-by-member.mjs.map +1 -1
  171. package/dist/actions/list-taggings.cjs +6 -6
  172. package/dist/actions/list-taggings.cjs.map +1 -1
  173. package/dist/actions/list-taggings.d.cts +25 -3
  174. package/dist/actions/list-taggings.d.cts.map +1 -1
  175. package/dist/actions/list-taggings.d.mts +25 -3
  176. package/dist/actions/list-taggings.d.mts.map +1 -1
  177. package/dist/actions/list-taggings.mjs +6 -6
  178. package/dist/actions/list-taggings.mjs.map +1 -1
  179. package/dist/actions/list-tags.cjs +4 -4
  180. package/dist/actions/list-tags.cjs.map +1 -1
  181. package/dist/actions/list-tags.d.cts +23 -3
  182. package/dist/actions/list-tags.d.cts.map +1 -1
  183. package/dist/actions/list-tags.d.mts +23 -3
  184. package/dist/actions/list-tags.d.mts.map +1 -1
  185. package/dist/actions/list-tags.mjs +4 -4
  186. package/dist/actions/list-tags.mjs.map +1 -1
  187. package/dist/actions/list-transactions-by-member.cjs +47 -47
  188. package/dist/actions/list-transactions-by-member.cjs.map +1 -1
  189. package/dist/actions/list-transactions-by-member.d.cts +108 -3
  190. package/dist/actions/list-transactions-by-member.d.cts.map +1 -1
  191. package/dist/actions/list-transactions-by-member.d.mts +108 -3
  192. package/dist/actions/list-transactions-by-member.d.mts.map +1 -1
  193. package/dist/actions/list-transactions-by-member.mjs +47 -47
  194. package/dist/actions/list-transactions-by-member.mjs.map +1 -1
  195. package/dist/actions/list-transactions.cjs +11 -11
  196. package/dist/actions/list-transactions.cjs.map +1 -1
  197. package/dist/actions/list-transactions.d.cts +107 -3
  198. package/dist/actions/list-transactions.d.cts.map +1 -1
  199. package/dist/actions/list-transactions.d.mts +107 -3
  200. package/dist/actions/list-transactions.d.mts.map +1 -1
  201. package/dist/actions/list-transactions.mjs +11 -11
  202. package/dist/actions/list-transactions.mjs.map +1 -1
  203. package/dist/actions/list-users.cjs +7 -7
  204. package/dist/actions/list-users.cjs.map +1 -1
  205. package/dist/actions/list-users.d.cts +43 -3
  206. package/dist/actions/list-users.d.cts.map +1 -1
  207. package/dist/actions/list-users.d.mts +43 -3
  208. package/dist/actions/list-users.d.mts.map +1 -1
  209. package/dist/actions/list-users.mjs +7 -7
  210. package/dist/actions/list-users.mjs.map +1 -1
  211. package/dist/actions/read-account.cjs +4 -4
  212. package/dist/actions/read-account.cjs.map +1 -1
  213. package/dist/actions/read-account.d.cts +52 -3
  214. package/dist/actions/read-account.d.cts.map +1 -1
  215. package/dist/actions/read-account.d.mts +52 -3
  216. package/dist/actions/read-account.d.mts.map +1 -1
  217. package/dist/actions/read-account.mjs +4 -4
  218. package/dist/actions/read-account.mjs.map +1 -1
  219. package/dist/actions/read-category.cjs +5 -5
  220. package/dist/actions/read-category.cjs.map +1 -1
  221. package/dist/actions/read-category.d.cts +16 -3
  222. package/dist/actions/read-category.d.cts.map +1 -1
  223. package/dist/actions/read-category.d.mts +16 -3
  224. package/dist/actions/read-category.d.mts.map +1 -1
  225. package/dist/actions/read-category.mjs +5 -5
  226. package/dist/actions/read-category.mjs.map +1 -1
  227. package/dist/actions/read-fdx-account.cjs.map +1 -1
  228. package/dist/actions/read-fdx-account.d.cts +30 -3
  229. package/dist/actions/read-fdx-account.d.cts.map +1 -1
  230. package/dist/actions/read-fdx-account.d.mts +30 -3
  231. package/dist/actions/read-fdx-account.d.mts.map +1 -1
  232. package/dist/actions/read-fdx-account.mjs.map +1 -1
  233. package/dist/actions/read-institution.cjs +1 -1
  234. package/dist/actions/read-institution.cjs.map +1 -1
  235. package/dist/actions/read-institution.d.cts +26 -3
  236. package/dist/actions/read-institution.d.cts.map +1 -1
  237. package/dist/actions/read-institution.d.mts +26 -3
  238. package/dist/actions/read-institution.d.mts.map +1 -1
  239. package/dist/actions/read-institution.mjs +1 -1
  240. package/dist/actions/read-institution.mjs.map +1 -1
  241. package/dist/actions/read-transaction-by-account.cjs +7 -7
  242. package/dist/actions/read-transaction-by-account.cjs.map +1 -1
  243. package/dist/actions/read-transaction-by-account.d.cts +91 -3
  244. package/dist/actions/read-transaction-by-account.d.cts.map +1 -1
  245. package/dist/actions/read-transaction-by-account.d.mts +91 -3
  246. package/dist/actions/read-transaction-by-account.d.mts.map +1 -1
  247. package/dist/actions/read-transaction-by-account.mjs +7 -7
  248. package/dist/actions/read-transaction-by-account.mjs.map +1 -1
  249. package/dist/actions/read-transaction-rule.cjs +2 -2
  250. package/dist/actions/read-transaction-rule.cjs.map +1 -1
  251. package/dist/actions/read-transaction-rule.d.cts +19 -3
  252. package/dist/actions/read-transaction-rule.d.cts.map +1 -1
  253. package/dist/actions/read-transaction-rule.d.mts +19 -3
  254. package/dist/actions/read-transaction-rule.d.mts.map +1 -1
  255. package/dist/actions/read-transaction-rule.mjs +2 -2
  256. package/dist/actions/read-transaction-rule.mjs.map +1 -1
  257. package/dist/actions/read-transaction.cjs +1 -1
  258. package/dist/actions/read-transaction.cjs.map +1 -1
  259. package/dist/actions/read-transaction.d.cts +55 -3
  260. package/dist/actions/read-transaction.d.cts.map +1 -1
  261. package/dist/actions/read-transaction.d.mts +55 -3
  262. package/dist/actions/read-transaction.d.mts.map +1 -1
  263. package/dist/actions/read-transaction.mjs +1 -1
  264. package/dist/actions/read-transaction.mjs.map +1 -1
  265. package/dist/actions/update-transaction-rules.cjs +2 -2
  266. package/dist/actions/update-transaction-rules.cjs.map +1 -1
  267. package/dist/actions/update-transaction-rules.d.cts +29 -3
  268. package/dist/actions/update-transaction-rules.d.cts.map +1 -1
  269. package/dist/actions/update-transaction-rules.d.mts +29 -3
  270. package/dist/actions/update-transaction-rules.d.mts.map +1 -1
  271. package/dist/actions/update-transaction-rules.mjs +2 -2
  272. package/dist/actions/update-transaction-rules.mjs.map +1 -1
  273. package/dist/actions/update-transaction.cjs +2 -2
  274. package/dist/actions/update-transaction.cjs.map +1 -1
  275. package/dist/actions/update-transaction.d.cts +74 -3
  276. package/dist/actions/update-transaction.d.cts.map +1 -1
  277. package/dist/actions/update-transaction.d.mts +74 -3
  278. package/dist/actions/update-transaction.d.mts.map +1 -1
  279. package/dist/actions/update-transaction.mjs +2 -2
  280. package/dist/actions/update-transaction.mjs.map +1 -1
  281. package/dist/actions/update-users-taggings.cjs +1 -1
  282. package/dist/actions/update-users-taggings.cjs.map +1 -1
  283. package/dist/actions/update-users-taggings.d.cts +23 -3
  284. package/dist/actions/update-users-taggings.d.cts.map +1 -1
  285. package/dist/actions/update-users-taggings.d.mts +23 -3
  286. package/dist/actions/update-users-taggings.d.mts.map +1 -1
  287. package/dist/actions/update-users-taggings.mjs +1 -1
  288. package/dist/actions/update-users-taggings.mjs.map +1 -1
  289. package/dist/catalog.cjs +13 -1
  290. package/dist/catalog.cjs.map +1 -1
  291. package/dist/catalog.d.cts +12 -0
  292. package/dist/catalog.d.mts +12 -0
  293. package/dist/catalog.mjs +13 -1
  294. package/dist/catalog.mjs.map +1 -1
  295. 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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 { 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 +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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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 { 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"}
@@ -7,11 +7,11 @@ const MxTechnologiesCancelPartnerAccountInput = zod.z.object({
7
7
  cancellation_reason: zod.z.string().describe("Optional free-text reason for the cancellation. Stored in the user's metadata field for auditability.").optional()
8
8
  }).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.");
9
9
  const MxTechnologiesCancelPartnerAccountOutput = zod.z.object({
10
- user_guid: zod.z.string().describe("The unique MX GUID of the disabled user."),
11
- is_disabled: zod.z.boolean().describe("Indicates the user is now disabled. Always true on successful cancellation."),
12
- effective_date: zod.z.string().describe("Date/time the user was disabled (ISO 8601)."),
10
+ user_guid: zod.z.string().describe("The unique MX GUID of the disabled user.").nullable(),
11
+ is_disabled: zod.z.boolean().describe("Indicates the user is now disabled. Always true on successful cancellation.").nullable(),
12
+ effective_date: zod.z.string().describe("Date/time the user was disabled (ISO 8601).").nullable(),
13
13
  cancellation_reason: zod.z.string().describe("The cancellation reason provided, if any.").nullable().optional()
14
- }).describe("Response model for disabling an MX user account.");
14
+ }).passthrough().describe("Response model for disabling an MX user account.");
15
15
  const mxTechnologiesCancelPartnerAccount = require_action.action("MX_TECHNOLOGIES_CANCEL_PARTNER_ACCOUNT", {
16
16
  slug: "mx_technologies-cancel-partner-account",
17
17
  name: "Disable MX User Account",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n user_guid: z.string().describe(\"The unique MX GUID of the disabled user.\"),\n is_disabled: z.boolean().describe(\"Indicates the user is now disabled. Always true on successful cancellation.\"),\n effective_date: z.string().describe(\"Date/time the user was disabled (ISO 8601).\"),\n cancellation_reason: z.string().describe(\"The cancellation reason provided, if any.\").nullable().optional(),\n}).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,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,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,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACzE,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E;CAC/G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACjF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,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 { 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,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/cancel-partner-account.d.ts
4
- declare const MxTechnologiesCancelPartnerAccountInput: z.ZodTypeAny;
5
- declare const MxTechnologiesCancelPartnerAccountOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesCancelPartnerAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesCancelPartnerAccountInput: z.ZodObject<{
5
+ effective_date: z.ZodOptional<z.ZodString>;
6
+ encoded_account_id: z.ZodString;
7
+ cancellation_reason: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const MxTechnologiesCancelPartnerAccountOutput: z.ZodObject<{
10
+ user_guid: z.ZodNullable<z.ZodString>;
11
+ is_disabled: z.ZodNullable<z.ZodBoolean>;
12
+ effective_date: z.ZodNullable<z.ZodString>;
13
+ cancellation_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, 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]>;
7
20
  //#endregion
8
21
  export { mxTechnologiesCancelPartnerAccount };
9
22
  //# 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,EAAyC,CAAA,CAAE,UAI0I;AAAA,cACrL,wCAAA,EAA0C,CAAA,CAAE,UAKM;AAAA,cAElD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/cancel-partner-account.d.ts
4
- declare const MxTechnologiesCancelPartnerAccountInput: z.ZodTypeAny;
5
- declare const MxTechnologiesCancelPartnerAccountOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesCancelPartnerAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesCancelPartnerAccountInput: z.ZodObject<{
5
+ effective_date: z.ZodOptional<z.ZodString>;
6
+ encoded_account_id: z.ZodString;
7
+ cancellation_reason: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const MxTechnologiesCancelPartnerAccountOutput: z.ZodObject<{
10
+ user_guid: z.ZodNullable<z.ZodString>;
11
+ is_disabled: z.ZodNullable<z.ZodBoolean>;
12
+ effective_date: z.ZodNullable<z.ZodString>;
13
+ cancellation_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ }, 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]>;
7
20
  //#endregion
8
21
  export { mxTechnologiesCancelPartnerAccount };
9
22
  //# 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,EAAyC,CAAA,CAAE,UAI0I;AAAA,cACrL,wCAAA,EAA0C,CAAA,CAAE,UAKM;AAAA,cAElD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -10,11 +10,11 @@ const mxTechnologiesCancelPartnerAccount = action("MX_TECHNOLOGIES_CANCEL_PARTNE
10
10
  cancellation_reason: z.string().describe("Optional free-text reason for the cancellation. Stored in the user's metadata field for auditability.").optional()
11
11
  }).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."),
12
12
  output: z.object({
13
- user_guid: z.string().describe("The unique MX GUID of the disabled user."),
14
- is_disabled: z.boolean().describe("Indicates the user is now disabled. Always true on successful cancellation."),
15
- effective_date: z.string().describe("Date/time the user was disabled (ISO 8601)."),
13
+ user_guid: z.string().describe("The unique MX GUID of the disabled user.").nullable(),
14
+ is_disabled: z.boolean().describe("Indicates the user is now disabled. Always true on successful cancellation.").nullable(),
15
+ effective_date: z.string().describe("Date/time the user was disabled (ISO 8601).").nullable(),
16
16
  cancellation_reason: z.string().describe("The cancellation reason provided, if any.").nullable().optional()
17
- }).describe("Response model for disabling an MX user account.")
17
+ }).passthrough().describe("Response model for disabling an MX user account.")
18
18
  });
19
19
  //#endregion
20
20
  export { mxTechnologiesCancelPartnerAccount };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n user_guid: z.string().describe(\"The unique MX GUID of the disabled user.\"),\n is_disabled: z.boolean().describe(\"Indicates the user is now disabled. Always true on successful cancellation.\"),\n effective_date: z.string().describe(\"Date/time the user was disabled (ISO 8601).\"),\n cancellation_reason: z.string().describe(\"The cancellation reason provided, if any.\").nullable().optional(),\n}).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,OAhBmE,EAAE,OAAO;EAC5E,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,QAZoE,EAAE,OAAO;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACzE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E;EAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACjF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
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"}
@@ -52,8 +52,8 @@ const MxTechnologiesCreateAccount_AccountDetailSchema = zod.z.object({
52
52
  institution_guid: zod.z.string().describe("MX institution GUID, if linked by aggregation").nullable().optional(),
53
53
  available_balance: zod.z.number().describe("Available funds for use, excludes holds").nullable().optional(),
54
54
  day_payment_is_due: zod.z.number().int().describe("Day of month when payment is due (1-31)").nullable().optional()
55
- }).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.");
56
- const MxTechnologiesCreateAccountOutput = zod.z.object({ account: MxTechnologiesCreateAccount_AccountDetailSchema.nullable() }).describe("Response schema for a newly created account.");
55
+ }).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.");
56
+ const MxTechnologiesCreateAccountOutput = zod.z.object({ account: MxTechnologiesCreateAccount_AccountDetailSchema.nullable() }).passthrough().describe("Response schema for a newly created account.");
57
57
  const mxTechnologiesCreateAccount = require_action.action("MX_TECHNOLOGIES_CREATE_ACCOUNT", {
58
58
  slug: "mx_technologies-create-account",
59
59
  name: "Create account",
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).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.ZodTypeAny = z.object({\n account: MxTechnologiesCreateAccount_AccountDetailSchema.nullable(),\n}).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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C,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,uJAAuJ;AACnK,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,SAAS,gDAAgD,SAAS,EACpE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,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 { 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;GA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S,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAAuJ;AACjL,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAAS,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,9 +1,74 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-account.d.ts
4
- declare const MxTechnologiesCreateAccountInput: z.ZodTypeAny;
5
- declare const MxTechnologiesCreateAccountOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesCreateAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesCreateAccountInput: z.ZodObject<{
5
+ account: z.ZodObject<{
6
+ name: z.ZodString;
7
+ type: z.ZodOptional<z.ZodEnum<{
8
+ CHECKING: "CHECKING";
9
+ SAVINGS: "SAVINGS";
10
+ CREDIT_CARD: "CREDIT_CARD";
11
+ LOAN: "LOAN";
12
+ INVESTMENT: "INVESTMENT";
13
+ }>>;
14
+ balance: z.ZodOptional<z.ZodNumber>;
15
+ subtype: z.ZodOptional<z.ZodString>;
16
+ metadata: z.ZodOptional<z.ZodString>;
17
+ currency_code: z.ZodOptional<z.ZodString>;
18
+ account_number: z.ZodOptional<z.ZodString>;
19
+ routing_number: z.ZodOptional<z.ZodString>;
20
+ available_balance: z.ZodOptional<z.ZodNumber>;
21
+ }, z.core.$strip>;
22
+ user_guid: z.ZodString;
23
+ }, z.core.$strip>;
24
+ declare const MxTechnologiesCreateAccountOutput: z.ZodObject<{
25
+ account: z.ZodNullable<z.ZodObject<{
26
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ apr: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ apy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ balance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ subtype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ is_closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ is_hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
+ is_manual: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
39
+ user_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ member_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ credit_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ last_payment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ interest_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
+ account_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ payment_due_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ routing_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ last_payment_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ minimum_payment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
52
+ available_credit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
53
+ institution_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ available_balance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55
+ day_payment_is_due: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
+ }, z.core.$loose>>;
57
+ }, 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]>;
7
72
  //#endregion
8
73
  export { mxTechnologiesCreateAccount };
9
74
  //# 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,EAAkC,CAAA,CAAE,UAa+B;AAAA,cAiCnE,iCAAA,EAAmC,CAAA,CAAE,UAES;AAAA,cAE9C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,74 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-account.d.ts
4
- declare const MxTechnologiesCreateAccountInput: z.ZodTypeAny;
5
- declare const MxTechnologiesCreateAccountOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesCreateAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesCreateAccountInput: z.ZodObject<{
5
+ account: z.ZodObject<{
6
+ name: z.ZodString;
7
+ type: z.ZodOptional<z.ZodEnum<{
8
+ CHECKING: "CHECKING";
9
+ SAVINGS: "SAVINGS";
10
+ CREDIT_CARD: "CREDIT_CARD";
11
+ LOAN: "LOAN";
12
+ INVESTMENT: "INVESTMENT";
13
+ }>>;
14
+ balance: z.ZodOptional<z.ZodNumber>;
15
+ subtype: z.ZodOptional<z.ZodString>;
16
+ metadata: z.ZodOptional<z.ZodString>;
17
+ currency_code: z.ZodOptional<z.ZodString>;
18
+ account_number: z.ZodOptional<z.ZodString>;
19
+ routing_number: z.ZodOptional<z.ZodString>;
20
+ available_balance: z.ZodOptional<z.ZodNumber>;
21
+ }, z.core.$strip>;
22
+ user_guid: z.ZodString;
23
+ }, z.core.$strip>;
24
+ declare const MxTechnologiesCreateAccountOutput: z.ZodObject<{
25
+ account: z.ZodNullable<z.ZodObject<{
26
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ apr: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ apy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ balance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ subtype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ is_closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ is_hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
+ is_manual: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
39
+ user_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ member_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ credit_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ last_payment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ interest_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
+ account_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ payment_due_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ routing_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ last_payment_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ minimum_payment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
52
+ available_credit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
53
+ institution_guid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ available_balance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55
+ day_payment_is_due: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
+ }, z.core.$loose>>;
57
+ }, 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]>;
7
72
  //#endregion
8
73
  export { mxTechnologiesCreateAccount };
9
74
  //# 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,EAAkC,CAAA,CAAE,UAa+B;AAAA,cAiCnE,iCAAA,EAAmC,CAAA,CAAE,UAES;AAAA,cAE9C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -52,13 +52,13 @@ const MxTechnologiesCreateAccount_AccountDetailSchema = z.object({
52
52
  institution_guid: z.string().describe("MX institution GUID, if linked by aggregation").nullable().optional(),
53
53
  available_balance: z.number().describe("Available funds for use, excludes holds").nullable().optional(),
54
54
  day_payment_is_due: z.number().int().describe("Day of month when payment is due (1-31)").nullable().optional()
55
- }).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.");
55
+ }).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.");
56
56
  const mxTechnologiesCreateAccount = action("MX_TECHNOLOGIES_CREATE_ACCOUNT", {
57
57
  slug: "mx_technologies-create-account",
58
58
  name: "Create account",
59
59
  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).",
60
60
  input: MxTechnologiesCreateAccountInput,
61
- output: z.object({ account: MxTechnologiesCreateAccount_AccountDetailSchema.nullable() }).describe("Response schema for a newly created account.")
61
+ output: z.object({ account: MxTechnologiesCreateAccount_AccountDetailSchema.nullable() }).passthrough().describe("Response schema for a newly created account.")
62
62
  });
63
63
  //#endregion
64
64
  export { mxTechnologiesCreateAccount };
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).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.ZodTypeAny = z.object({\n account: MxTechnologiesCreateAccount_AccountDetailSchema.nullable(),\n}).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,mCAAiD,EAAE,OAAO;CACrE,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,S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C,SAAS;CAC1F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,iBAAiB,EAAE,OAAO,CAAC,CAAC,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,SAAS,uJAAuJ;AAKnK,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,SAAS,gDAAgD,SAAS,EACpE,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
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,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;EACvI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,+FAA+F;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC7G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,KAAK,EAA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AAE,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,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,gDAAgD,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -6,9 +6,9 @@ const MxTechnologiesCreateAudienceApiCredentialsInput = zod.z.object({
6
6
  client_secret: zod.z.string().describe("Audience API credential client secret (optional; falls back to env)").optional()
7
7
  }).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).");
8
8
  const MxTechnologiesCreateAudienceApiCredentialsOutput = zod.z.object({
9
- client_id: zod.z.string().describe("Audience API credential client ID"),
10
- client_secret: zod.z.string().describe("Audience API credential client secret")
11
- }).describe("Response model with Audience API client credentials.");
9
+ client_id: zod.z.string().describe("Audience API credential client ID").nullable(),
10
+ client_secret: zod.z.string().describe("Audience API credential client secret").nullable()
11
+ }).passthrough().describe("Response model with Audience API client credentials.");
12
12
  const mxTechnologiesCreateAudienceApiCredentials = require_action.action("MX_TECHNOLOGIES_CREATE_AUDIENCE_API_CREDENTIALS", {
13
13
  slug: "mx_technologies-create-audience-api-credentials",
14
14
  name: "Retrieve Audience API Credentials",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n client_id: z.string().describe(\"Audience API credential client ID\"),\n client_secret: z.string().describe(\"Audience API credential client secret\"),\n}).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,kDAAgEA,IAAAA,EAAE,OAAO;CACpF,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,mDAAiEA,IAAAA,EAAE,OAAO;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAClE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC5E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,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 { 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,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-audience-api-credentials.d.ts
4
- declare const MxTechnologiesCreateAudienceApiCredentialsInput: z.ZodTypeAny;
5
- declare const MxTechnologiesCreateAudienceApiCredentialsOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesCreateAudienceApiCredentials: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesCreateAudienceApiCredentialsInput: z.ZodObject<{
5
+ client_id: z.ZodOptional<z.ZodString>;
6
+ client_secret: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const MxTechnologiesCreateAudienceApiCredentialsOutput: z.ZodObject<{
9
+ client_id: z.ZodNullable<z.ZodString>;
10
+ client_secret: z.ZodNullable<z.ZodString>;
11
+ }, 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]>;
7
16
  //#endregion
8
17
  export { mxTechnologiesCreateAudienceApiCredentials };
9
18
  //# 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,EAAiD,CAAA,CAAE,UAGoR;AAAA,cACvU,gDAAA,EAAkD,CAAA,CAAE,UAGE;AAAA,cAEtD,0CAAA,gCAA0C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-audience-api-credentials.d.ts
4
- declare const MxTechnologiesCreateAudienceApiCredentialsInput: z.ZodTypeAny;
5
- declare const MxTechnologiesCreateAudienceApiCredentialsOutput: z.ZodTypeAny;
6
- declare const mxTechnologiesCreateAudienceApiCredentials: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MxTechnologiesCreateAudienceApiCredentialsInput: z.ZodObject<{
5
+ client_id: z.ZodOptional<z.ZodString>;
6
+ client_secret: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const MxTechnologiesCreateAudienceApiCredentialsOutput: z.ZodObject<{
9
+ client_id: z.ZodNullable<z.ZodString>;
10
+ client_secret: z.ZodNullable<z.ZodString>;
11
+ }, 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]>;
7
16
  //#endregion
8
17
  export { mxTechnologiesCreateAudienceApiCredentials };
9
18
  //# 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,EAAiD,CAAA,CAAE,UAGoR;AAAA,cACvU,gDAAA,EAAkD,CAAA,CAAE,UAGE;AAAA,cAEtD,0CAAA,gCAA0C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -9,9 +9,9 @@ const mxTechnologiesCreateAudienceApiCredentials = action("MX_TECHNOLOGIES_CREAT
9
9
  client_secret: z.string().describe("Audience API credential client secret (optional; falls back to env)").optional()
10
10
  }).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)."),
11
11
  output: z.object({
12
- client_id: z.string().describe("Audience API credential client ID"),
13
- client_secret: z.string().describe("Audience API credential client secret")
14
- }).describe("Response model with Audience API client credentials.")
12
+ client_id: z.string().describe("Audience API credential client ID").nullable(),
13
+ client_secret: z.string().describe("Audience API credential client secret").nullable()
14
+ }).passthrough().describe("Response model with Audience API client credentials.")
15
15
  });
16
16
  //#endregion
17
17
  export { mxTechnologiesCreateAudienceApiCredentials };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n client_id: z.string().describe(\"Audience API credential client ID\"),\n client_secret: z.string().describe(\"Audience API credential client secret\"),\n}).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,OAb2E,EAAE,OAAO;EACpF,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,QAV4E,EAAE,OAAO;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAClE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC5E,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
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"}